Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-30 23:59:03.453786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
  port_id : 29790658
  datou_current_id : 4285944
in upload_from_sqlite, uploading in 29790658
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30122025/23/07/image_30122025_23_07_34_9673.jpg', '/home/pi/Desktop/images/30122025/23/07/image_30122025_23_07_44_9513.jpg', '/home/pi/Desktop/images/30122025/23/07/image_30122025_23_07_54_10662.jpg', '/home/pi/Desktop/images/30122025/23/07/image_30122025_23_08_04_9542.jpg', '/home/pi/Desktop/images/30122025/23/08/image_30122025_23_08_15_10679.jpg', '/home/pi/Desktop/images/30122025/23/08/image_30122025_23_08_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4285944&datou=0
/home/pi/Desktop/images/30122025/23/07/image_30122025_23_07_34_9673.jpg
/home/pi/Desktop/images/30122025/23/07/image_30122025_23_07_44_9513.jpg
/home/pi/Desktop/images/30122025/23/07/image_30122025_23_07_54_10662.jpg
/home/pi/Desktop/images/30122025/23/07/image_30122025_23_08_04_9542.jpg
/home/pi/Desktop/images/30122025/23/08/image_30122025_23_08_15_10679.jpg
/home/pi/Desktop/images/30122025/23/08/image_30122025_23_08_24_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401800648","1401800630","1401800499","1401800591","1401800585","1401800495"],"photo_ids_order":["1401800495","1401800499","1401800585","1401800591","1401800630","1401800648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/361b78c40d70abbb7ffa4181a8dc2e3d.jpg","text":"TemporaryFile(/tmp/multipartBody1513834298743745387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135605150,"filename":"image_30122025_23_08_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/847252960a736e5bc180185bf05a4fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7747842629523596080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135605150,"filename":"image_30122025_23_08_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb731b66bd2a8a36c1ce45a0ed84f375.jpg","text":"TemporaryFile(/tmp/multipartBody8604645752281467806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135605150,"filename":"image_30122025_23_07_44_9513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a74462db7d2476e1d1b6e51fa0c551d5.jpg","text":"TemporaryFile(/tmp/multipartBody6686458852751691784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135605150,"filename":"image_30122025_23_08_04_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8607b55d6d0269a48f8b6b4341b86b8d.jpg","text":"TemporaryFile(/tmp/multipartBody8190411396177371991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135605150,"filename":"image_30122025_23_07_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd8761daa1045fd9ab068ead4565bd32.jpg","text":"TemporaryFile(/tmp/multipartBody8380333868456420567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135605150,"filename":"image_30122025_23_07_34_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401800585","file1":"1401800499","file0":"1401800495","file4":"1401800630","file5":"1401800648","file3":"1401800591"},"map_files_photo_id_array":[{"photo_id":"1401800648","filename":"file5"},{"photo_id":"1401800585","filename":"file2"},{"photo_id":"1401800630","filename":"file4"},{"photo_id":"1401800499","filename":"file1"},{"photo_id":"1401800495","filename":"file0"},{"photo_id":"1401800591","filename":"file3"}],"portfolio_id":29790658,"hashtag_by_photo_ids":[{"1401800648":["hashtag1","hashtag2"]},{"1401800630":["hashtag1","hashtag2"]},{"1401800499":["hashtag1","hashtag2"]},{"1401800591":["hashtag1","hashtag2"]},{"1401800585":["hashtag1","hashtag2"]},{"1401800495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29790658 used, photo_id : ArrayBuffer(1401800648, 1401800630, 1401800499, 1401800591, 1401800585, 1401800495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11129951477051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:00:02.959095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
  port_id : 29790658
  datou_current_id : 4285944
in upload_from_sqlite, uploading in 29790658
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30122025/23/08/image_30122025_23_08_45_10641.jpg', '/home/pi/Desktop/images/30122025/23/08/image_30122025_23_08_54_9562.jpg', '/home/pi/Desktop/images/30122025/23/08/image_30122025_23_09_04_9625.jpg', '/home/pi/Desktop/images/30122025/23/09/image_30122025_23_09_14_10676.jpg', '/home/pi/Desktop/images/30122025/23/09/image_30122025_23_09_24_9630.jpg', '/home/pi/Desktop/images/30122025/23/09/image_30122025_23_09_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4285944&datou=0
/home/pi/Desktop/images/30122025/23/08/image_30122025_23_08_45_10641.jpg
/home/pi/Desktop/images/30122025/23/08/image_30122025_23_08_54_9562.jpg
/home/pi/Desktop/images/30122025/23/08/image_30122025_23_09_04_9625.jpg
/home/pi/Desktop/images/30122025/23/09/image_30122025_23_09_14_10676.jpg
/home/pi/Desktop/images/30122025/23/09/image_30122025_23_09_24_9630.jpg
/home/pi/Desktop/images/30122025/23/09/image_30122025_23_09_34_9609.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.1913461685180664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:00:12.553594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_06_2672.jpg', '/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_13_2673.jpg', '/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_15_2653.jpg', '/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_25_2557.jpg', '/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_37_3560.jpg', '/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_43_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_06_2672.jpg
/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_13_2673.jpg
/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_15_2653.jpg
/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_25_2557.jpg
/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_37_3560.jpg
/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_43_2780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401800789","1401800921","1401800837","1401800959","1401801006","1401800879"],"photo_ids_order":["1401800789","1401800837","1401800879","1401800921","1401800959","1401801006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84a88ca8b2aea73811a9b1fbaf3d3832.jpg","text":"TemporaryFile(/tmp/multipartBody6847620887820712716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135674310,"filename":"image_02112025_19_36_06_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4145f43b40e644d8866586e8f582f2e0.jpg","text":"TemporaryFile(/tmp/multipartBody7559231614821751896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135674310,"filename":"image_02112025_19_36_25_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e12139f57626f98e3a287fa45c04d231.jpg","text":"TemporaryFile(/tmp/multipartBody5002779850716079015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135674310,"filename":"image_02112025_19_36_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/107ca7b2c09eef6b71e4430da0c8fba3.jpg","text":"TemporaryFile(/tmp/multipartBody7769498776664726140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135674310,"filename":"image_02112025_19_36_37_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/998e2084d967d97c7ff5adf9f9359ef6.jpg","text":"TemporaryFile(/tmp/multipartBody8910119274168912105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135674310,"filename":"image_02112025_19_36_43_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff7164a10000d3d3beaf965e81c02fca.jpg","text":"TemporaryFile(/tmp/multipartBody120639410237130075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135674310,"filename":"image_02112025_19_36_15_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401800879","file1":"1401800837","file0":"1401800789","file4":"1401800959","file5":"1401801006","file3":"1401800921"},"map_files_photo_id_array":[{"photo_id":"1401801006","filename":"file5"},{"photo_id":"1401800879","filename":"file2"},{"photo_id":"1401800959","filename":"file4"},{"photo_id":"1401800837","filename":"file1"},{"photo_id":"1401800789","filename":"file0"},{"photo_id":"1401800921","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401800789":["hashtag1","hashtag2"]},{"1401800921":["hashtag1","hashtag2"]},{"1401800837":["hashtag1","hashtag2"]},{"1401800959":["hashtag1","hashtag2"]},{"1401801006":["hashtag1","hashtag2"]},{"1401800879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401800789, 1401800921, 1401800837, 1401800959, 1401801006, 1401800879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24233889579773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:01:03.493231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_31122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29831294, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1767135723000}
4219
4291930
4219
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30122025/23/59/image_31122025_00_00_04_9238.jpg', '/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_15_10833.jpg', '/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_24_9651.jpg', '/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_34_9633.jpg', '/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_44_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/30122025/23/59/image_31122025_00_00_04_9238.jpg
/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_15_10833.jpg
/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_24_9651.jpg
/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_34_9633.jpg
/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_44_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401801271","1401801393","1401801345","1401801432","1401801473"],"photo_ids_order":["1401801271","1401801345","1401801393","1401801432","1401801473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6db165af320f4239f74d8ebddd090186.jpg","text":"TemporaryFile(/tmp/multipartBody1778784237712768901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135725019,"filename":"image_31122025_00_00_04_9238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/242651dd6e96c29b3618c304923b5ccf.jpg","text":"TemporaryFile(/tmp/multipartBody8691617219903089633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135725019,"filename":"image_31122025_00_00_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/001c92222c11c839c6f305a76a6cb54a.jpg","text":"TemporaryFile(/tmp/multipartBody1252685799183437276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135725019,"filename":"image_31122025_00_00_15_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29f0776c9f49ed6e4a0c5d8e704067e0.jpg","text":"TemporaryFile(/tmp/multipartBody4747625121529784506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135725019,"filename":"image_31122025_00_00_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2335b4890b17a0ab98d4bf75eba3401c.jpg","text":"TemporaryFile(/tmp/multipartBody3598889499757536779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135725019,"filename":"image_31122025_00_00_44_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401801393","file1":"1401801345","file0":"1401801271","file4":"1401801473","file3":"1401801432"},"map_files_photo_id_array":[{"photo_id":"1401801393","filename":"file2"},{"photo_id":"1401801473","filename":"file4"},{"photo_id":"1401801345","filename":"file1"},{"photo_id":"1401801271","filename":"file0"},{"photo_id":"1401801432","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401801271":["hashtag1","hashtag2"]},{"1401801393":["hashtag1","hashtag2"]},{"1401801345":["hashtag1","hashtag2"]},{"1401801432":["hashtag1","hashtag2"]},{"1401801473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401801271, 1401801393, 1401801345, 1401801432, 1401801473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.475754737854004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:01:42.799769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_49_2807.jpg', '/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_58_3730.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_07_3695.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_21_2704.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_24_2657.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_33_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_49_2807.jpg
/home/pi/Desktop/images/02112025/19/36/image_02112025_19_36_58_3730.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_07_3695.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_21_2704.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_24_2657.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_33_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401801796","1401801940","1401802017","1401801662","1401801866","1401801728"],"photo_ids_order":["1401801662","1401801728","1401801796","1401801866","1401801940","1401802017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ad54057d4b4c00022cd106daec45b25.jpg","text":"TemporaryFile(/tmp/multipartBody6280515251851070299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135764730,"filename":"image_02112025_19_37_07_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a9c5e4e7afe66f37ab293330d343074.jpg","text":"TemporaryFile(/tmp/multipartBody4237948366061517552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135764730,"filename":"image_02112025_19_37_24_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5176a4cbc6c41cec9e9aac0900a3213c.jpg","text":"TemporaryFile(/tmp/multipartBody1106862530249043856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135764730,"filename":"image_02112025_19_37_33_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a825e51904c2c18fd88f4e3e8cd31844.jpg","text":"TemporaryFile(/tmp/multipartBody2004422196841068113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135764730,"filename":"image_02112025_19_36_49_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f755a77bac1e10a60195e9972bdc0138.jpg","text":"TemporaryFile(/tmp/multipartBody3124737809532184499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135764730,"filename":"image_02112025_19_37_21_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe0b5ea5ef777dfb250344d3e8b2fb09.jpg","text":"TemporaryFile(/tmp/multipartBody1726171978292115559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135764730,"filename":"image_02112025_19_36_58_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401801796","file1":"1401801728","file0":"1401801662","file4":"1401801940","file5":"1401802017","file3":"1401801866"},"map_files_photo_id_array":[{"photo_id":"1401802017","filename":"file5"},{"photo_id":"1401801796","filename":"file2"},{"photo_id":"1401801940","filename":"file4"},{"photo_id":"1401801728","filename":"file1"},{"photo_id":"1401801662","filename":"file0"},{"photo_id":"1401801866","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401801796":["hashtag1","hashtag2"]},{"1401801940":["hashtag1","hashtag2"]},{"1401802017":["hashtag1","hashtag2"]},{"1401801662":["hashtag1","hashtag2"]},{"1401801866":["hashtag1","hashtag2"]},{"1401801728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401801796, 1401801940, 1401802017, 1401801662, 1401801866, 1401801728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59130883216858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:02:21.961767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_54_10665.jpg', '/home/pi/Desktop/images/31122025/00/00/image_31122025_00_01_04_9789.jpg', '/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_14_9734.jpg', '/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_24_9753.jpg', '/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_34_10634.jpg', '/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_44_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/00/image_31122025_00_00_54_10665.jpg
/home/pi/Desktop/images/31122025/00/00/image_31122025_00_01_04_9789.jpg
/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_14_9734.jpg
/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_24_9753.jpg
/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_34_10634.jpg
/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_44_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401802470","1401802341","1401802257","1401802179","1401802415","1401802301"],"photo_ids_order":["1401802179","1401802257","1401802301","1401802341","1401802415","1401802470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/934449373427969c16f3ab3441b3547f.jpg","text":"TemporaryFile(/tmp/multipartBody1632155841916262466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135802553,"filename":"image_31122025_00_01_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d8bc054cdd057eaa7a034e244266207.jpg","text":"TemporaryFile(/tmp/multipartBody3136431569832733467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135802553,"filename":"image_31122025_00_01_24_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4e507929209395d65c8e84054104a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4031036727879741349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135802553,"filename":"image_31122025_00_01_04_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7cac31269949b6bf6a81930fa1f954a.jpg","text":"TemporaryFile(/tmp/multipartBody4931524924579999332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135802553,"filename":"image_31122025_00_00_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47e28aceb2ad83e531e1b9e749e2ffbb.jpg","text":"TemporaryFile(/tmp/multipartBody1239637917383901277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135802553,"filename":"image_31122025_00_01_34_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b0264d4e92a69f789957c4c9dd842ed.jpg","text":"TemporaryFile(/tmp/multipartBody4236316687726115588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135802553,"filename":"image_31122025_00_01_14_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401802301","file1":"1401802257","file0":"1401802179","file4":"1401802415","file5":"1401802470","file3":"1401802341"},"map_files_photo_id_array":[{"photo_id":"1401802470","filename":"file5"},{"photo_id":"1401802301","filename":"file2"},{"photo_id":"1401802415","filename":"file4"},{"photo_id":"1401802257","filename":"file1"},{"photo_id":"1401802179","filename":"file0"},{"photo_id":"1401802341","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401802470":["hashtag1","hashtag2"]},{"1401802341":["hashtag1","hashtag2"]},{"1401802257":["hashtag1","hashtag2"]},{"1401802179":["hashtag1","hashtag2"]},{"1401802415":["hashtag1","hashtag2"]},{"1401802301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401802470, 1401802341, 1401802257, 1401802179, 1401802415, 1401802301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.052863121032715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:03:03.029069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_54_9829.jpg', '/home/pi/Desktop/images/31122025/00/01/image_31122025_00_02_04_10569.jpg', '/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_14_9671.jpg', '/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_25_10594.jpg', '/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_34_9536.jpg', '/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_44_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/01/image_31122025_00_01_54_9829.jpg
/home/pi/Desktop/images/31122025/00/01/image_31122025_00_02_04_10569.jpg
/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_14_9671.jpg
/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_25_10594.jpg
/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_34_9536.jpg
/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_44_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401802825","1401802787","1401802862","1401802904","1401802712","1401802750"],"photo_ids_order":["1401802712","1401802750","1401802787","1401802825","1401802862","1401802904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/099e7867ea9c6ee0d2ebe98ca7690729.jpg","text":"TemporaryFile(/tmp/multipartBody3819589447202262992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135843683,"filename":"image_31122025_00_02_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79ec2c02fde549fab3d664a8a8843099.jpg","text":"TemporaryFile(/tmp/multipartBody3469102682351799543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135843683,"filename":"image_31122025_00_02_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb5c86f787cc14ef2b7a43a8a1432e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6047241086737017314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135843683,"filename":"image_31122025_00_02_34_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/011c2f97f10fd65d6922b9317127e245.jpg","text":"TemporaryFile(/tmp/multipartBody7404043634558584647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135843683,"filename":"image_31122025_00_02_44_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d46c577b35816b0a4fcc2a619af175e1.jpg","text":"TemporaryFile(/tmp/multipartBody6371861186984021540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135843683,"filename":"image_31122025_00_01_54_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/033d2733f7c3e9c70ea3e601f07ca944.jpg","text":"TemporaryFile(/tmp/multipartBody4925311432499344465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135843683,"filename":"image_31122025_00_02_04_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401802787","file1":"1401802750","file0":"1401802712","file4":"1401802862","file5":"1401802904","file3":"1401802825"},"map_files_photo_id_array":[{"photo_id":"1401802904","filename":"file5"},{"photo_id":"1401802787","filename":"file2"},{"photo_id":"1401802862","filename":"file4"},{"photo_id":"1401802750","filename":"file1"},{"photo_id":"1401802712","filename":"file0"},{"photo_id":"1401802825","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401802825":["hashtag1","hashtag2"]},{"1401802787":["hashtag1","hashtag2"]},{"1401802862":["hashtag1","hashtag2"]},{"1401802904":["hashtag1","hashtag2"]},{"1401802712":["hashtag1","hashtag2"]},{"1401802750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401802825, 1401802787, 1401802862, 1401802904, 1401802712, 1401802750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.621214389801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:03:42.221904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_37_3623.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_39_2802.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_46_3806.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_48_2633.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_51_2795.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_54_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_37_3623.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_39_2802.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_46_3806.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_48_2633.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_51_2795.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_54_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401803128","1401803122","1401803130","1401803046","1401803126","1401803083"],"photo_ids_order":["1401803046","1401803083","1401803122","1401803126","1401803128","1401803130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a03ee1fdce40023865d2770eab6d9333.jpg","text":"TemporaryFile(/tmp/multipartBody40309012784682191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135884105,"filename":"image_02112025_19_37_51_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc4509a7b5600c7f4a77e1675d6ba3f5.jpg","text":"TemporaryFile(/tmp/multipartBody2034996628219858365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135884105,"filename":"image_02112025_19_37_46_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9053fd6e64b0f9a38af9645950d848b.jpg","text":"TemporaryFile(/tmp/multipartBody4302296482950589660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135884105,"filename":"image_02112025_19_37_54_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18c3478501cea20eb1ef32f75d40eeaf.jpg","text":"TemporaryFile(/tmp/multipartBody4468674217039866434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135884105,"filename":"image_02112025_19_37_37_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3acfc0d079be2a74306fe9f29b7776e9.jpg","text":"TemporaryFile(/tmp/multipartBody2564697171928129128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135884105,"filename":"image_02112025_19_37_48_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d507126a47d38b2cb23b0940b039e38.jpg","text":"TemporaryFile(/tmp/multipartBody6137519900256642083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135884105,"filename":"image_02112025_19_37_39_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401803122","file1":"1401803083","file0":"1401803046","file4":"1401803128","file5":"1401803130","file3":"1401803126"},"map_files_photo_id_array":[{"photo_id":"1401803130","filename":"file5"},{"photo_id":"1401803122","filename":"file2"},{"photo_id":"1401803128","filename":"file4"},{"photo_id":"1401803083","filename":"file1"},{"photo_id":"1401803046","filename":"file0"},{"photo_id":"1401803126","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401803128":["hashtag1","hashtag2"]},{"1401803122":["hashtag1","hashtag2"]},{"1401803130":["hashtag1","hashtag2"]},{"1401803046":["hashtag1","hashtag2"]},{"1401803126":["hashtag1","hashtag2"]},{"1401803083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401803128, 1401803122, 1401803130, 1401803046, 1401803126, 1401803083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.962915658950806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:04:22.365901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_54_9860.jpg', '/home/pi/Desktop/images/31122025/00/02/image_31122025_00_03_04_9911.jpg', '/home/pi/Desktop/images/31122025/00/03/image_31122025_00_03_24_9672.jpg', '/home/pi/Desktop/images/31122025/00/03/image_31122025_00_03_34_9663.jpg', '/home/pi/Desktop/images/31122025/00/03/image_31122025_00_03_44_10535.jpg', '/home/pi/Desktop/images/31122025/00/03/image_31122025_00_03_54_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/02/image_31122025_00_02_54_9860.jpg
/home/pi/Desktop/images/31122025/00/02/image_31122025_00_03_04_9911.jpg
/home/pi/Desktop/images/31122025/00/03/image_31122025_00_03_24_9672.jpg
/home/pi/Desktop/images/31122025/00/03/image_31122025_00_03_34_9663.jpg
/home/pi/Desktop/images/31122025/00/03/image_31122025_00_03_44_10535.jpg
/home/pi/Desktop/images/31122025/00/03/image_31122025_00_03_54_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401803592","1401803298","1401803538","1401803220","1401803455","1401803377"],"photo_ids_order":["1401803220","1401803298","1401803377","1401803455","1401803538","1401803592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39285778a298ed588c90501970260ad4.jpg","text":"TemporaryFile(/tmp/multipartBody67915289542823389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135922960,"filename":"image_31122025_00_03_54_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/040bcce69a00e96e6f18e44f18d3924b.jpg","text":"TemporaryFile(/tmp/multipartBody8409805977844309088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135922960,"filename":"image_31122025_00_03_04_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/789b81a3c7d9bbbe8387cac9fca33185.jpg","text":"TemporaryFile(/tmp/multipartBody3224801946226010050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135922960,"filename":"image_31122025_00_03_44_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/948036b0d9e2828bb45777bb34a8a031.jpg","text":"TemporaryFile(/tmp/multipartBody2306137831454768287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135922960,"filename":"image_31122025_00_02_54_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aad9187e1a978dec364247d7cf3649fb.jpg","text":"TemporaryFile(/tmp/multipartBody2556447183666156096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135922960,"filename":"image_31122025_00_03_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28e9a8e7deb1704ff2eddfdbc939811a.jpg","text":"TemporaryFile(/tmp/multipartBody4252959678859925632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135922960,"filename":"image_31122025_00_03_24_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401803377","file1":"1401803298","file0":"1401803220","file4":"1401803538","file5":"1401803592","file3":"1401803455"},"map_files_photo_id_array":[{"photo_id":"1401803592","filename":"file5"},{"photo_id":"1401803377","filename":"file2"},{"photo_id":"1401803538","filename":"file4"},{"photo_id":"1401803298","filename":"file1"},{"photo_id":"1401803220","filename":"file0"},{"photo_id":"1401803455","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401803592":["hashtag1","hashtag2"]},{"1401803298":["hashtag1","hashtag2"]},{"1401803538":["hashtag1","hashtag2"]},{"1401803220":["hashtag1","hashtag2"]},{"1401803455":["hashtag1","hashtag2"]},{"1401803377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401803592, 1401803298, 1401803538, 1401803220, 1401803455, 1401803377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44639229774475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:05:03.255168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/03/image_31122025_00_04_04_9775.jpg', '/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_15_10630.jpg', '/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_24_9724.jpg', '/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_34_9620.jpg', '/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_45_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/03/image_31122025_00_04_04_9775.jpg
/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_15_10630.jpg
/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_24_9724.jpg
/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_34_9620.jpg
/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_45_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401803820","1401803823","1401803876","1401803831","1401803801"],"photo_ids_order":["1401803801","1401803820","1401803823","1401803831","1401803876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f1abae402b9c230ae71f7ae2b2a7590.jpg","text":"TemporaryFile(/tmp/multipartBody7239683080512340591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135963881,"filename":"image_31122025_00_04_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c9850251f58f7792be680d790508120.jpg","text":"TemporaryFile(/tmp/multipartBody5993891282521767890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135963881,"filename":"image_31122025_00_04_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0349d29405399feb12a9b4c21195f98f.jpg","text":"TemporaryFile(/tmp/multipartBody153673901648638325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135963881,"filename":"image_31122025_00_04_45_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/220d1957084117e5f7bffa2619e67237.jpg","text":"TemporaryFile(/tmp/multipartBody599136845218525351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135963881,"filename":"image_31122025_00_04_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfa34b012b4c1a261c1739174ecbdfa8.jpg","text":"TemporaryFile(/tmp/multipartBody3131615128594276385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767135963881,"filename":"image_31122025_00_04_04_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401803823","file1":"1401803820","file0":"1401803801","file4":"1401803876","file3":"1401803831"},"map_files_photo_id_array":[{"photo_id":"1401803823","filename":"file2"},{"photo_id":"1401803876","filename":"file4"},{"photo_id":"1401803820","filename":"file1"},{"photo_id":"1401803801","filename":"file0"},{"photo_id":"1401803831","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401803820":["hashtag1","hashtag2"]},{"1401803823":["hashtag1","hashtag2"]},{"1401803876":["hashtag1","hashtag2"]},{"1401803831":["hashtag1","hashtag2"]},{"1401803801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401803820, 1401803823, 1401803876, 1401803831, 1401803801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.945226907730103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:05:42.479257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_58_3575.jpg', '/home/pi/Desktop/images/02112025/19/37/image_02112025_19_38_00_2732.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_04_3656.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_07_2608.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_30_2643.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_34_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_37_58_3575.jpg
/home/pi/Desktop/images/02112025/19/37/image_02112025_19_38_00_2732.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_04_3656.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_07_2608.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_30_2643.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_34_3733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401804291","1401804254","1401804182","1401804218","1401804145","1401804096"],"photo_ids_order":["1401804096","1401804145","1401804182","1401804218","1401804254","1401804291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aae11b1891cac5009194f3ca608b471f.jpg","text":"TemporaryFile(/tmp/multipartBody2689154724271891041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136004373,"filename":"image_02112025_19_38_34_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/584eea3d92da24e4c0b47423efeb09e0.jpg","text":"TemporaryFile(/tmp/multipartBody7307515553207682014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136004373,"filename":"image_02112025_19_38_30_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1796bcee7bc665a5a311f87b65821738.jpg","text":"TemporaryFile(/tmp/multipartBody5643027282841746088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136004373,"filename":"image_02112025_19_38_04_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/050b7614b19c931b606b7a2c40739b49.jpg","text":"TemporaryFile(/tmp/multipartBody2772749230216699403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136004373,"filename":"image_02112025_19_38_07_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afe69764058af341fa3f42795e71259d.jpg","text":"TemporaryFile(/tmp/multipartBody92901019954960211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136004373,"filename":"image_02112025_19_38_00_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/625902060b24eb44a9f9b6bd3f9ce7cc.jpg","text":"TemporaryFile(/tmp/multipartBody8408553927242560835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136004373,"filename":"image_02112025_19_37_58_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401804182","file1":"1401804145","file0":"1401804096","file4":"1401804254","file5":"1401804291","file3":"1401804218"},"map_files_photo_id_array":[{"photo_id":"1401804291","filename":"file5"},{"photo_id":"1401804182","filename":"file2"},{"photo_id":"1401804254","filename":"file4"},{"photo_id":"1401804145","filename":"file1"},{"photo_id":"1401804096","filename":"file0"},{"photo_id":"1401804218","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401804291":["hashtag1","hashtag2"]},{"1401804254":["hashtag1","hashtag2"]},{"1401804182":["hashtag1","hashtag2"]},{"1401804218":["hashtag1","hashtag2"]},{"1401804145":["hashtag1","hashtag2"]},{"1401804096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401804291, 1401804254, 1401804182, 1401804218, 1401804145, 1401804096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.403109312057495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:06:22.677605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_54_9628.jpg', '/home/pi/Desktop/images/31122025/00/04/image_31122025_00_05_04_9742.jpg', '/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_15_10592.jpg', '/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_24_9715.jpg', '/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_34_9689.jpg', '/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_45_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/04/image_31122025_00_04_54_9628.jpg
/home/pi/Desktop/images/31122025/00/04/image_31122025_00_05_04_9742.jpg
/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_15_10592.jpg
/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_24_9715.jpg
/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_34_9689.jpg
/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_45_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401804438","1401804434","1401804425","1401804445","1401804430","1401804442"],"photo_ids_order":["1401804425","1401804430","1401804434","1401804438","1401804442","1401804445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a3cda7dc73b76b91de3b9aadf2a44f7.jpg","text":"TemporaryFile(/tmp/multipartBody1286774773148252199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136043268,"filename":"image_31122025_00_05_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/033411c8a12eaaabe3696c510a9dd1d6.jpg","text":"TemporaryFile(/tmp/multipartBody275410134823991683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136043268,"filename":"image_31122025_00_05_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4e64523465d474135494cc7c4be41d3.jpg","text":"TemporaryFile(/tmp/multipartBody7548019725361800852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136043268,"filename":"image_31122025_00_04_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/934c9b11881d107767680992b3a31981.jpg","text":"TemporaryFile(/tmp/multipartBody7215572318883597110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136043268,"filename":"image_31122025_00_05_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b79867c948d8c5451df4d2ba9410c74.jpg","text":"TemporaryFile(/tmp/multipartBody8139203650646329274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136043268,"filename":"image_31122025_00_05_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e55822b6cd3e28f8b710229adf7fb56.jpg","text":"TemporaryFile(/tmp/multipartBody2926338550934416612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136043268,"filename":"image_31122025_00_05_34_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401804434","file1":"1401804430","file0":"1401804425","file4":"1401804442","file5":"1401804445","file3":"1401804438"},"map_files_photo_id_array":[{"photo_id":"1401804445","filename":"file5"},{"photo_id":"1401804434","filename":"file2"},{"photo_id":"1401804442","filename":"file4"},{"photo_id":"1401804430","filename":"file1"},{"photo_id":"1401804425","filename":"file0"},{"photo_id":"1401804438","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401804438":["hashtag1","hashtag2"]},{"1401804434":["hashtag1","hashtag2"]},{"1401804425":["hashtag1","hashtag2"]},{"1401804445":["hashtag1","hashtag2"]},{"1401804430":["hashtag1","hashtag2"]},{"1401804442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401804438, 1401804434, 1401804425, 1401804445, 1401804430, 1401804442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.427279472351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:07:03.505966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_54_9650.jpg', '/home/pi/Desktop/images/31122025/00/05/image_31122025_00_06_04_9691.jpg', '/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_15_10637.jpg', '/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_24_9610.jpg', '/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_34_9705.jpg', '/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_45_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/05/image_31122025_00_05_54_9650.jpg
/home/pi/Desktop/images/31122025/00/05/image_31122025_00_06_04_9691.jpg
/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_15_10637.jpg
/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_24_9610.jpg
/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_34_9705.jpg
/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_45_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401804636","1401804599","1401804626","1401804527","1401804565","1401804622"],"photo_ids_order":["1401804527","1401804565","1401804599","1401804622","1401804626","1401804636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/464719252a61f4ea4ff6581966fe1e87.jpg","text":"TemporaryFile(/tmp/multipartBody8159101935509949506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136084151,"filename":"image_31122025_00_06_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53340f0c4af4ce99606bd7ee1a12dd9b.jpg","text":"TemporaryFile(/tmp/multipartBody8640358790639431268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136084151,"filename":"image_31122025_00_06_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/788af5e04bac66fba32cea27a278d14f.jpg","text":"TemporaryFile(/tmp/multipartBody6752381196025361506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136084151,"filename":"image_31122025_00_06_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79219317be911a3f5fbccf477b56898b.jpg","text":"TemporaryFile(/tmp/multipartBody7376868639217924921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136084151,"filename":"image_31122025_00_05_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbef9de6c34807aad39c0fa6314ec021.jpg","text":"TemporaryFile(/tmp/multipartBody4929903726054917486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136084151,"filename":"image_31122025_00_06_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4718bd51b62c8e7e69cca51db8b431c4.jpg","text":"TemporaryFile(/tmp/multipartBody2262561290192472989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136084151,"filename":"image_31122025_00_06_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401804599","file1":"1401804565","file0":"1401804527","file4":"1401804626","file5":"1401804636","file3":"1401804622"},"map_files_photo_id_array":[{"photo_id":"1401804636","filename":"file5"},{"photo_id":"1401804599","filename":"file2"},{"photo_id":"1401804626","filename":"file4"},{"photo_id":"1401804565","filename":"file1"},{"photo_id":"1401804527","filename":"file0"},{"photo_id":"1401804622","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401804636":["hashtag1","hashtag2"]},{"1401804599":["hashtag1","hashtag2"]},{"1401804626":["hashtag1","hashtag2"]},{"1401804527":["hashtag1","hashtag2"]},{"1401804565":["hashtag1","hashtag2"]},{"1401804622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401804636, 1401804599, 1401804626, 1401804527, 1401804565, 1401804622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90770626068115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:07:42.897333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_36_2626.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_39_2699.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_45_2700.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_48_2823.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_52_3578.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_54_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_36_2626.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_39_2699.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_45_2700.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_48_2823.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_52_3578.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_54_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401804933","1401804896","1401804779","1401804994","1401804856","1401804817"],"photo_ids_order":["1401804779","1401804817","1401804856","1401804896","1401804933","1401804994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0ed8ae639018b56e006c480491abfe9.jpg","text":"TemporaryFile(/tmp/multipartBody1328497650324167794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136124775,"filename":"image_02112025_19_38_52_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e464811891e8860cd91ca8ce550d613.jpg","text":"TemporaryFile(/tmp/multipartBody2089041260821233857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136124775,"filename":"image_02112025_19_38_48_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8edff713bba29732aa04619164fce2f6.jpg","text":"TemporaryFile(/tmp/multipartBody4177257459806537027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136124775,"filename":"image_02112025_19_38_36_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66e9003bfff06a66243361b7e3bde2b8.jpg","text":"TemporaryFile(/tmp/multipartBody3879476103742331244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136124775,"filename":"image_02112025_19_38_54_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/152b5010da6bff56b3e6d244c9755dba.jpg","text":"TemporaryFile(/tmp/multipartBody3396501073017708016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136124775,"filename":"image_02112025_19_38_45_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf76940b7dab38c27457ed17940b4eaf.jpg","text":"TemporaryFile(/tmp/multipartBody150079839672626780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136124775,"filename":"image_02112025_19_38_39_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401804856","file1":"1401804817","file0":"1401804779","file4":"1401804933","file5":"1401804994","file3":"1401804896"},"map_files_photo_id_array":[{"photo_id":"1401804994","filename":"file5"},{"photo_id":"1401804856","filename":"file2"},{"photo_id":"1401804933","filename":"file4"},{"photo_id":"1401804817","filename":"file1"},{"photo_id":"1401804779","filename":"file0"},{"photo_id":"1401804896","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401804933":["hashtag1","hashtag2"]},{"1401804896":["hashtag1","hashtag2"]},{"1401804779":["hashtag1","hashtag2"]},{"1401804994":["hashtag1","hashtag2"]},{"1401804856":["hashtag1","hashtag2"]},{"1401804817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401804933, 1401804896, 1401804779, 1401804994, 1401804856, 1401804817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64479041099548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:08:32.081321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_57_2683.jpg', '/home/pi/Desktop/images/02112025/19/38/image_02112025_19_39_01_3711.jpg', '/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_04_2672.jpg', '/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_28_3744.jpg', '/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_30_2657.jpg', '/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_37_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_38_57_2683.jpg
/home/pi/Desktop/images/02112025/19/38/image_02112025_19_39_01_3711.jpg
/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_04_2672.jpg
/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_28_3744.jpg
/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_30_2657.jpg
/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_37_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805104","1401805145","1401805147","1401805141","1401805143","1401805137"],"photo_ids_order":["1401805104","1401805137","1401805141","1401805143","1401805145","1401805147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de74eb548d9bcb705136801f858fe4e2.jpg","text":"TemporaryFile(/tmp/multipartBody1990925835853772694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136173963,"filename":"image_02112025_19_38_57_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb6cb836d96c1746e8d90665a48b6bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6233249072923675815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136173963,"filename":"image_02112025_19_39_30_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8590749d2cb1e6aed1ae9dadf173bc52.jpg","text":"TemporaryFile(/tmp/multipartBody243099611828362766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136173963,"filename":"image_02112025_19_39_37_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f1b51920cf6d1ce88bbf6bd023e8708.jpg","text":"TemporaryFile(/tmp/multipartBody2932656856696428308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136173963,"filename":"image_02112025_19_39_04_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffb3baf3b0942356e5e6702858ea7702.jpg","text":"TemporaryFile(/tmp/multipartBody2536718873438608034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136173963,"filename":"image_02112025_19_39_28_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69440cb378e844ad9b31b3f10b01c37d.jpg","text":"TemporaryFile(/tmp/multipartBody1397614776799351926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136173963,"filename":"image_02112025_19_39_01_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805141","file1":"1401805137","file0":"1401805104","file4":"1401805145","file5":"1401805147","file3":"1401805143"},"map_files_photo_id_array":[{"photo_id":"1401805147","filename":"file5"},{"photo_id":"1401805141","filename":"file2"},{"photo_id":"1401805145","filename":"file4"},{"photo_id":"1401805137","filename":"file1"},{"photo_id":"1401805104","filename":"file0"},{"photo_id":"1401805143","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805104":["hashtag1","hashtag2"]},{"1401805145":["hashtag1","hashtag2"]},{"1401805147":["hashtag1","hashtag2"]},{"1401805141":["hashtag1","hashtag2"]},{"1401805143":["hashtag1","hashtag2"]},{"1401805137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805104, 1401805145, 1401805147, 1401805141, 1401805143, 1401805137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43470478057861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:09:12.697509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_54_2798.jpg', '/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_57_2859.jpg', '/home/pi/Desktop/images/02112025/19/39/image_02112025_19_40_00_2902.jpg', '/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_13_3571.jpg', '/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_18_2739.jpg', '/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_25_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_54_2798.jpg
/home/pi/Desktop/images/02112025/19/39/image_02112025_19_39_57_2859.jpg
/home/pi/Desktop/images/02112025/19/39/image_02112025_19_40_00_2902.jpg
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_13_3571.jpg
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_18_2739.jpg
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_25_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805184","1401805181","1401805169","1401805177","1401805186","1401805173"],"photo_ids_order":["1401805169","1401805173","1401805177","1401805181","1401805184","1401805186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df927473b15b7123eb893bd62756fea7.jpg","text":"TemporaryFile(/tmp/multipartBody1515305673389258453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136214456,"filename":"image_02112025_19_40_18_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c01a839f26d0308b2a9523796a99a9a.jpg","text":"TemporaryFile(/tmp/multipartBody7633725727957305850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136214456,"filename":"image_02112025_19_40_13_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/862511a8692d30ee8bf1d8d24329ed25.jpg","text":"TemporaryFile(/tmp/multipartBody5756933984519312801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136214456,"filename":"image_02112025_19_39_54_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d5a9ccbc76e744e37a08aef5f3e31b1.jpg","text":"TemporaryFile(/tmp/multipartBody3494303744413457387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136214456,"filename":"image_02112025_19_40_00_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e2d9a5b396728ecadad0aed1f2c3303.jpg","text":"TemporaryFile(/tmp/multipartBody6621343306431402471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136214456,"filename":"image_02112025_19_40_25_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1128923115e3bec27131c249d08ff868.jpg","text":"TemporaryFile(/tmp/multipartBody1798781265115752584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136214456,"filename":"image_02112025_19_39_57_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805177","file1":"1401805173","file0":"1401805169","file4":"1401805184","file5":"1401805186","file3":"1401805181"},"map_files_photo_id_array":[{"photo_id":"1401805186","filename":"file5"},{"photo_id":"1401805177","filename":"file2"},{"photo_id":"1401805184","filename":"file4"},{"photo_id":"1401805173","filename":"file1"},{"photo_id":"1401805169","filename":"file0"},{"photo_id":"1401805181","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805184":["hashtag1","hashtag2"]},{"1401805181":["hashtag1","hashtag2"]},{"1401805169":["hashtag1","hashtag2"]},{"1401805177":["hashtag1","hashtag2"]},{"1401805186":["hashtag1","hashtag2"]},{"1401805173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805184, 1401805181, 1401805169, 1401805177, 1401805186, 1401805173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14784479141235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:10:02.470481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_54_9784.jpg', '/home/pi/Desktop/images/31122025/00/06/image_31122025_00_07_04_9685.jpg', '/home/pi/Desktop/images/31122025/00/07/image_31122025_00_07_24_10660.jpg', '/home/pi/Desktop/images/31122025/00/07/image_31122025_00_07_45_10623.jpg', '/home/pi/Desktop/images/31122025/00/07/image_31122025_00_07_54_9742.jpg', '/home/pi/Desktop/images/31122025/00/07/image_31122025_00_08_04_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/06/image_31122025_00_06_54_9784.jpg
/home/pi/Desktop/images/31122025/00/06/image_31122025_00_07_04_9685.jpg
/home/pi/Desktop/images/31122025/00/07/image_31122025_00_07_24_10660.jpg
/home/pi/Desktop/images/31122025/00/07/image_31122025_00_07_45_10623.jpg
/home/pi/Desktop/images/31122025/00/07/image_31122025_00_07_54_9742.jpg
/home/pi/Desktop/images/31122025/00/07/image_31122025_00_08_04_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805202","1401805211","1401805205","1401805208","1401805198","1401805213"],"photo_ids_order":["1401805198","1401805202","1401805205","1401805208","1401805211","1401805213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1648ff901ce55458b3206f6b8b628bb.jpg","text":"TemporaryFile(/tmp/multipartBody9035021342616416347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136263076,"filename":"image_31122025_00_07_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aecf5363b0705631565b7585e4f75651.jpg","text":"TemporaryFile(/tmp/multipartBody2841362392073781239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136263076,"filename":"image_31122025_00_07_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe315b5ed37766e6cc6af0b488c29de8.jpg","text":"TemporaryFile(/tmp/multipartBody1711652291864244599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136263076,"filename":"image_31122025_00_07_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fc7d5ed07ce9d9d6d23443b5576432a.jpg","text":"TemporaryFile(/tmp/multipartBody6146826111895694504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136263076,"filename":"image_31122025_00_07_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/318eb908cfdf8f2436770f83e9564283.jpg","text":"TemporaryFile(/tmp/multipartBody7916682968232021091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136263076,"filename":"image_31122025_00_06_54_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9d7b62cdd3d36d396d8239ef9e3a9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2782501424486102794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136263076,"filename":"image_31122025_00_08_04_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805205","file1":"1401805202","file0":"1401805198","file4":"1401805211","file5":"1401805213","file3":"1401805208"},"map_files_photo_id_array":[{"photo_id":"1401805213","filename":"file5"},{"photo_id":"1401805205","filename":"file2"},{"photo_id":"1401805211","filename":"file4"},{"photo_id":"1401805202","filename":"file1"},{"photo_id":"1401805198","filename":"file0"},{"photo_id":"1401805208","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805202":["hashtag1","hashtag2"]},{"1401805211":["hashtag1","hashtag2"]},{"1401805205":["hashtag1","hashtag2"]},{"1401805208":["hashtag1","hashtag2"]},{"1401805198":["hashtag1","hashtag2"]},{"1401805213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805202, 1401805211, 1401805205, 1401805208, 1401805198, 1401805213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35252070426941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:10:42.036622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_31_6779.jpg', '/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_35_1748.jpg', '/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_39_2599.jpg', '/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_45_2764.jpg', '/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_51_2676.jpg', '/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_55_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_31_6779.jpg
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_35_1748.jpg
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_39_2599.jpg
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_45_2764.jpg
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_51_2676.jpg
/home/pi/Desktop/images/02112025/19/40/image_02112025_19_40_55_3744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805283","1401805232","1401805325","1401805381","1401805228","1401805395"],"photo_ids_order":["1401805228","1401805232","1401805283","1401805325","1401805381","1401805395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fa835cff882c6f5dd16bc72bbb406ab.jpg","text":"TemporaryFile(/tmp/multipartBody7375037676440036368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136303977,"filename":"image_02112025_19_40_39_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2010e720d6c0f357334641ae09067355.jpg","text":"TemporaryFile(/tmp/multipartBody2131526361522383566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136303977,"filename":"image_02112025_19_40_35_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cc4597175cfbd87df1508a95bc9dd3c.jpg","text":"TemporaryFile(/tmp/multipartBody2080039878148604719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136303977,"filename":"image_02112025_19_40_45_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07973c26664768acb006eee4893a057d.jpg","text":"TemporaryFile(/tmp/multipartBody4021459462458710069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136303977,"filename":"image_02112025_19_40_51_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb1df6880548540faa90f6e9a4a27506.jpg","text":"TemporaryFile(/tmp/multipartBody594225450778866974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136303977,"filename":"image_02112025_19_40_31_6779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82c8cbb7a8e17a1ed72dc356ba596f64.jpg","text":"TemporaryFile(/tmp/multipartBody199295225998936184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136303977,"filename":"image_02112025_19_40_55_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805283","file1":"1401805232","file0":"1401805228","file4":"1401805381","file5":"1401805395","file3":"1401805325"},"map_files_photo_id_array":[{"photo_id":"1401805395","filename":"file5"},{"photo_id":"1401805283","filename":"file2"},{"photo_id":"1401805381","filename":"file4"},{"photo_id":"1401805232","filename":"file1"},{"photo_id":"1401805228","filename":"file0"},{"photo_id":"1401805325","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805283":["hashtag1","hashtag2"]},{"1401805232":["hashtag1","hashtag2"]},{"1401805325":["hashtag1","hashtag2"]},{"1401805381":["hashtag1","hashtag2"]},{"1401805228":["hashtag1","hashtag2"]},{"1401805395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805283, 1401805232, 1401805325, 1401805381, 1401805228, 1401805395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29091501235962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:11:32.205103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_16_3697.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_18_2731.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_21_2667.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_24_2711.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_34_3664.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_39_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_16_3697.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_18_2731.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_21_2667.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_24_2711.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_34_3664.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_39_2757.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8500475883483887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:11:42.305631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_16_3697.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_18_2731.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_21_2667.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_24_2711.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_34_3664.jpg', '/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_39_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_16_3697.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_18_2731.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_21_2667.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_24_2711.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_34_3664.jpg
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_39_2757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805514","1401805510","1401805504","1401805513","1401805507","1401805515"],"photo_ids_order":["1401805504","1401805507","1401805510","1401805513","1401805514","1401805515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85e4cbd980c58642324cfef07fac1f0c.jpg","text":"TemporaryFile(/tmp/multipartBody529812065692410325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136364078,"filename":"image_02112025_19_41_34_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92d2140581ea3f566fa05d9318e1051a.jpg","text":"TemporaryFile(/tmp/multipartBody310793282028730049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136364078,"filename":"image_02112025_19_41_21_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cca4f4fb5e7ba19c5a95dd9688d75601.jpg","text":"TemporaryFile(/tmp/multipartBody6383416416942090120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136364078,"filename":"image_02112025_19_41_16_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b071ceeb8f2cf327b895f61b02a40ee.jpg","text":"TemporaryFile(/tmp/multipartBody8512835818044516116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136364078,"filename":"image_02112025_19_41_24_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62babb67b2db4e072d787397207b1054.jpg","text":"TemporaryFile(/tmp/multipartBody6790654009526583283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136364078,"filename":"image_02112025_19_41_18_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65803c33ca395cac398ad042807d3374.jpg","text":"TemporaryFile(/tmp/multipartBody5352555969071640152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136364078,"filename":"image_02112025_19_41_39_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805510","file1":"1401805507","file0":"1401805504","file4":"1401805514","file5":"1401805515","file3":"1401805513"},"map_files_photo_id_array":[{"photo_id":"1401805515","filename":"file5"},{"photo_id":"1401805510","filename":"file2"},{"photo_id":"1401805514","filename":"file4"},{"photo_id":"1401805507","filename":"file1"},{"photo_id":"1401805504","filename":"file0"},{"photo_id":"1401805513","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805514":["hashtag1","hashtag2"]},{"1401805510":["hashtag1","hashtag2"]},{"1401805504":["hashtag1","hashtag2"]},{"1401805513":["hashtag1","hashtag2"]},{"1401805507":["hashtag1","hashtag2"]},{"1401805515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805514, 1401805510, 1401805504, 1401805513, 1401805507, 1401805515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.661540508270264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:12:22.457764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_15_10737.jpg', '/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_24_9747.jpg', '/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_34_9829.jpg', '/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_44_9582.jpg', '/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_54_10536.jpg', '/home/pi/Desktop/images/31122025/00/08/image_31122025_00_09_04_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_15_10737.jpg
/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_24_9747.jpg
/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_34_9829.jpg
/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_44_9582.jpg
/home/pi/Desktop/images/31122025/00/08/image_31122025_00_08_54_10536.jpg
/home/pi/Desktop/images/31122025/00/08/image_31122025_00_09_04_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805530","1401805524","1401805559","1401805552","1401805561","1401805555"],"photo_ids_order":["1401805524","1401805530","1401805552","1401805555","1401805559","1401805561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c62c91e264b4a8e4216a39f27bb5baf.jpg","text":"TemporaryFile(/tmp/multipartBody5501003552482238580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136403051,"filename":"image_31122025_00_08_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82ea6f8d7e4c25294d3615a69cce4d28.jpg","text":"TemporaryFile(/tmp/multipartBody6848577016709983797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136403051,"filename":"image_31122025_00_08_15_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36b9e77d9037c9e30b06f7aa31d53717.jpg","text":"TemporaryFile(/tmp/multipartBody3188952842089809842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136403051,"filename":"image_31122025_00_08_54_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdccd601f916ff2ed6925c65cc939e22.jpg","text":"TemporaryFile(/tmp/multipartBody6349253077186512646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136403051,"filename":"image_31122025_00_08_34_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c12c92c2cfdbe395f0fe7a888c325c11.jpg","text":"TemporaryFile(/tmp/multipartBody3620708037400410254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136403051,"filename":"image_31122025_00_09_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94a410c8198ecf7e98479943ee9f819b.jpg","text":"TemporaryFile(/tmp/multipartBody2879444471172148574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136403051,"filename":"image_31122025_00_08_44_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805552","file1":"1401805530","file0":"1401805524","file4":"1401805559","file5":"1401805561","file3":"1401805555"},"map_files_photo_id_array":[{"photo_id":"1401805561","filename":"file5"},{"photo_id":"1401805552","filename":"file2"},{"photo_id":"1401805559","filename":"file4"},{"photo_id":"1401805530","filename":"file1"},{"photo_id":"1401805524","filename":"file0"},{"photo_id":"1401805555","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805530":["hashtag1","hashtag2"]},{"1401805524":["hashtag1","hashtag2"]},{"1401805559":["hashtag1","hashtag2"]},{"1401805552":["hashtag1","hashtag2"]},{"1401805561":["hashtag1","hashtag2"]},{"1401805555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805530, 1401805524, 1401805559, 1401805552, 1401805561, 1401805555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9620418548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:13:03.378055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/09/image_31122025_00_09_15_10569.jpg', '/home/pi/Desktop/images/31122025/00/09/image_31122025_00_09_34_9787.jpg', '/home/pi/Desktop/images/31122025/00/09/image_31122025_00_09_55_10731.jpg', '/home/pi/Desktop/images/31122025/00/09/image_31122025_00_10_04_9601.jpg', '/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_14_9809.jpg', '/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_24_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/09/image_31122025_00_09_15_10569.jpg
/home/pi/Desktop/images/31122025/00/09/image_31122025_00_09_34_9787.jpg
/home/pi/Desktop/images/31122025/00/09/image_31122025_00_09_55_10731.jpg
/home/pi/Desktop/images/31122025/00/09/image_31122025_00_10_04_9601.jpg
/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_14_9809.jpg
/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_24_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805586","1401805583","1401805571","1401805567","1401805581","1401805578"],"photo_ids_order":["1401805567","1401805571","1401805578","1401805581","1401805583","1401805586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93c5c831b9cfab57bbcad8657f33d7c3.jpg","text":"TemporaryFile(/tmp/multipartBody2147418653515184662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136444035,"filename":"image_31122025_00_10_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4ce0ad5f79ef8ade3d4a0ed0526c404.jpg","text":"TemporaryFile(/tmp/multipartBody7178866971579875504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136444035,"filename":"image_31122025_00_10_14_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d384dbefe7fd4617fe5e91ed41ba0b9.jpg","text":"TemporaryFile(/tmp/multipartBody3728814674801677162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136444035,"filename":"image_31122025_00_09_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc604c1172e6b69d8b25bd9ef5b1473f.jpg","text":"TemporaryFile(/tmp/multipartBody5442972566901218658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136444035,"filename":"image_31122025_00_09_15_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a84919394c3f53e850604da49d3116ac.jpg","text":"TemporaryFile(/tmp/multipartBody6545957007618749833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136444035,"filename":"image_31122025_00_10_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e56f6f6e3738c827e867f21ae147f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody1245482048094155874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136444035,"filename":"image_31122025_00_09_55_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805578","file1":"1401805571","file0":"1401805567","file4":"1401805583","file5":"1401805586","file3":"1401805581"},"map_files_photo_id_array":[{"photo_id":"1401805586","filename":"file5"},{"photo_id":"1401805578","filename":"file2"},{"photo_id":"1401805583","filename":"file4"},{"photo_id":"1401805571","filename":"file1"},{"photo_id":"1401805567","filename":"file0"},{"photo_id":"1401805581","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805586":["hashtag1","hashtag2"]},{"1401805583":["hashtag1","hashtag2"]},{"1401805571":["hashtag1","hashtag2"]},{"1401805567":["hashtag1","hashtag2"]},{"1401805581":["hashtag1","hashtag2"]},{"1401805578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805586, 1401805583, 1401805571, 1401805567, 1401805581, 1401805578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.485270261764526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:13:42.700065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_42_2731.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_09_2687.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_12_3839.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_18_2730.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_24_3689.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_33_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/41/image_02112025_19_41_42_2731.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_09_2687.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_12_3839.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_18_2730.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_24_3689.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_33_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805598","1401805604","1401805601","1401805594","1401805606","1401805609"],"photo_ids_order":["1401805594","1401805598","1401805601","1401805604","1401805606","1401805609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ef9a2e1b763da57c1021d05423d68b7.jpg","text":"TemporaryFile(/tmp/multipartBody8140405106047249806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136484642,"filename":"image_02112025_19_42_09_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42ad7f5a3924dc3bcba85112b3050870.jpg","text":"TemporaryFile(/tmp/multipartBody1448042290936917526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136484642,"filename":"image_02112025_19_42_18_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9998e2b5eaa5273ed32dd68d9bd0b80c.jpg","text":"TemporaryFile(/tmp/multipartBody5067359788462175750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136484642,"filename":"image_02112025_19_42_12_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39330900fb05e41e011e5c7e1df47ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7284939099446405970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136484642,"filename":"image_02112025_19_41_42_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73fd2500317b955a49a9f79a14367004.jpg","text":"TemporaryFile(/tmp/multipartBody8175730795597523044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136484642,"filename":"image_02112025_19_42_24_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdbbb340a7c47f0c8919689e850b2088.jpg","text":"TemporaryFile(/tmp/multipartBody2416977823970589663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136484642,"filename":"image_02112025_19_42_33_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805601","file1":"1401805598","file0":"1401805594","file4":"1401805606","file5":"1401805609","file3":"1401805604"},"map_files_photo_id_array":[{"photo_id":"1401805609","filename":"file5"},{"photo_id":"1401805601","filename":"file2"},{"photo_id":"1401805606","filename":"file4"},{"photo_id":"1401805598","filename":"file1"},{"photo_id":"1401805594","filename":"file0"},{"photo_id":"1401805604","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805598":["hashtag1","hashtag2"]},{"1401805604":["hashtag1","hashtag2"]},{"1401805601":["hashtag1","hashtag2"]},{"1401805594":["hashtag1","hashtag2"]},{"1401805606":["hashtag1","hashtag2"]},{"1401805609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805598, 1401805604, 1401805601, 1401805594, 1401805606, 1401805609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05844473838806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:14:21.944302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_34_10615.jpg', '/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_44_9604.jpg', '/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_54_9738.jpg', '/home/pi/Desktop/images/31122025/00/10/image_31122025_00_11_04_10729.jpg', '/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_14_9618.jpg', '/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_24_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_34_10615.jpg
/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_44_9604.jpg
/home/pi/Desktop/images/31122025/00/10/image_31122025_00_10_54_9738.jpg
/home/pi/Desktop/images/31122025/00/10/image_31122025_00_11_04_10729.jpg
/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_14_9618.jpg
/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_24_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805623","1401805619","1401805616","1401805627","1401805638","1401805629"],"photo_ids_order":["1401805616","1401805619","1401805623","1401805627","1401805629","1401805638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bfca26ef1af88065e3826d7d28f3913.jpg","text":"TemporaryFile(/tmp/multipartBody4586420496174352966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136522567,"filename":"image_31122025_00_10_54_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/716a39ff59a25d5c3b786533e7f07641.jpg","text":"TemporaryFile(/tmp/multipartBody525741924403360443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136522567,"filename":"image_31122025_00_10_44_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/433ecf47c9dca87b2b28ef0de69393eb.jpg","text":"TemporaryFile(/tmp/multipartBody3279391435143092710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136522567,"filename":"image_31122025_00_10_34_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0faabaf52034c5cb126ea80cffef61b.jpg","text":"TemporaryFile(/tmp/multipartBody8009607819662781279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136522567,"filename":"image_31122025_00_11_04_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68d7860008afac7e6eb956cca41ad2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5473561696668777957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136522567,"filename":"image_31122025_00_11_24_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03d4c9a2c37c972211250f2d4478969c.jpg","text":"TemporaryFile(/tmp/multipartBody4171557968217375392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136522567,"filename":"image_31122025_00_11_14_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805623","file1":"1401805619","file0":"1401805616","file4":"1401805629","file5":"1401805638","file3":"1401805627"},"map_files_photo_id_array":[{"photo_id":"1401805638","filename":"file5"},{"photo_id":"1401805623","filename":"file2"},{"photo_id":"1401805629","filename":"file4"},{"photo_id":"1401805619","filename":"file1"},{"photo_id":"1401805616","filename":"file0"},{"photo_id":"1401805627","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805623":["hashtag1","hashtag2"]},{"1401805619":["hashtag1","hashtag2"]},{"1401805616":["hashtag1","hashtag2"]},{"1401805627":["hashtag1","hashtag2"]},{"1401805638":["hashtag1","hashtag2"]},{"1401805629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805623, 1401805619, 1401805616, 1401805627, 1401805638, 1401805629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.592649936676025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:15:02.609960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_35_10762.jpg', '/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_44_9632.jpg', '/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_54_9536.jpg', '/home/pi/Desktop/images/31122025/00/11/image_31122025_00_12_05_10802.jpg', '/home/pi/Desktop/images/31122025/00/12/image_31122025_00_12_24_9638.jpg', '/home/pi/Desktop/images/31122025/00/12/image_31122025_00_12_44_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_35_10762.jpg
/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_44_9632.jpg
/home/pi/Desktop/images/31122025/00/11/image_31122025_00_11_54_9536.jpg
/home/pi/Desktop/images/31122025/00/11/image_31122025_00_12_05_10802.jpg
/home/pi/Desktop/images/31122025/00/12/image_31122025_00_12_24_9638.jpg
/home/pi/Desktop/images/31122025/00/12/image_31122025_00_12_44_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805672","1401805675","1401805669","1401805663","1401805662","1401805665"],"photo_ids_order":["1401805662","1401805663","1401805665","1401805669","1401805672","1401805675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80f80f3ba6a7bc19ee4d50c29154ac2b.jpg","text":"TemporaryFile(/tmp/multipartBody5261121806517887275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136563298,"filename":"image_31122025_00_12_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55c436290f2c300e7cebb93d2e18b43c.jpg","text":"TemporaryFile(/tmp/multipartBody2652794378578962762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136563298,"filename":"image_31122025_00_12_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f1e6564033130be7d66e5cd108b0012.jpg","text":"TemporaryFile(/tmp/multipartBody120928907539458692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136563298,"filename":"image_31122025_00_12_05_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b114f608f5632ad03b1ed647b23db10.jpg","text":"TemporaryFile(/tmp/multipartBody8237643789705381926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136563298,"filename":"image_31122025_00_11_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/008d9cf15f7998379d576d734bc82293.jpg","text":"TemporaryFile(/tmp/multipartBody7228176473136367338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136563298,"filename":"image_31122025_00_11_35_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/706d3c386c65c3bb5f834fb836e711ce.jpg","text":"TemporaryFile(/tmp/multipartBody6321016138316294732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136563298,"filename":"image_31122025_00_11_54_9536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805665","file1":"1401805663","file0":"1401805662","file4":"1401805672","file5":"1401805675","file3":"1401805669"},"map_files_photo_id_array":[{"photo_id":"1401805675","filename":"file5"},{"photo_id":"1401805665","filename":"file2"},{"photo_id":"1401805672","filename":"file4"},{"photo_id":"1401805663","filename":"file1"},{"photo_id":"1401805662","filename":"file0"},{"photo_id":"1401805669","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805672":["hashtag1","hashtag2"]},{"1401805675":["hashtag1","hashtag2"]},{"1401805669":["hashtag1","hashtag2"]},{"1401805663":["hashtag1","hashtag2"]},{"1401805662":["hashtag1","hashtag2"]},{"1401805665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805672, 1401805675, 1401805669, 1401805663, 1401805662, 1401805665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.377092599868774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:15:42.042367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_36_3536.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_39_2585.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_42_3637.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_51_3726.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_54_2783.jpg', '/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_57_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_36_3536.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_39_2585.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_42_3637.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_51_3726.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_54_2783.jpg
/home/pi/Desktop/images/02112025/19/42/image_02112025_19_42_57_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805691","1401805688","1401805684","1401805687","1401805689","1401805686"],"photo_ids_order":["1401805684","1401805686","1401805687","1401805688","1401805689","1401805691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcbdfebd00dcfef9e944a9e0ac71f520.jpg","text":"TemporaryFile(/tmp/multipartBody2311186514733626097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136603937,"filename":"image_02112025_19_42_57_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03db3b7a402b3602d6143d31769fb85c.jpg","text":"TemporaryFile(/tmp/multipartBody1702075267001226708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136603937,"filename":"image_02112025_19_42_51_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3763f6b143ca3e98a4607baeb4b8f78.jpg","text":"TemporaryFile(/tmp/multipartBody5109261371641715827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136603937,"filename":"image_02112025_19_42_36_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e46cfc4f4629048bbc831f022ff9211a.jpg","text":"TemporaryFile(/tmp/multipartBody4203576849165108161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136603937,"filename":"image_02112025_19_42_42_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91ae1dfe53a28f99985aabe9ec101d50.jpg","text":"TemporaryFile(/tmp/multipartBody270602364549862865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136603937,"filename":"image_02112025_19_42_54_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/513d06ade91cf21e19c1308b24ce8654.jpg","text":"TemporaryFile(/tmp/multipartBody7824695063747410143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136603937,"filename":"image_02112025_19_42_39_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805687","file1":"1401805686","file0":"1401805684","file4":"1401805689","file5":"1401805691","file3":"1401805688"},"map_files_photo_id_array":[{"photo_id":"1401805691","filename":"file5"},{"photo_id":"1401805687","filename":"file2"},{"photo_id":"1401805689","filename":"file4"},{"photo_id":"1401805686","filename":"file1"},{"photo_id":"1401805684","filename":"file0"},{"photo_id":"1401805688","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805691":["hashtag1","hashtag2"]},{"1401805688":["hashtag1","hashtag2"]},{"1401805684":["hashtag1","hashtag2"]},{"1401805687":["hashtag1","hashtag2"]},{"1401805689":["hashtag1","hashtag2"]},{"1401805686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805691, 1401805688, 1401805684, 1401805687, 1401805689, 1401805686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43694448471069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:16:22.197748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/12/image_31122025_00_12_54_9581.jpg', '/home/pi/Desktop/images/31122025/00/12/image_31122025_00_13_05_10746.jpg', '/home/pi/Desktop/images/31122025/00/13/image_31122025_00_13_14_9560.jpg', '/home/pi/Desktop/images/31122025/00/13/image_31122025_00_13_34_10557.jpg', '/home/pi/Desktop/images/31122025/00/13/image_31122025_00_13_54_9714.jpg', '/home/pi/Desktop/images/31122025/00/13/image_31122025_00_14_05_10815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/12/image_31122025_00_12_54_9581.jpg
/home/pi/Desktop/images/31122025/00/12/image_31122025_00_13_05_10746.jpg
/home/pi/Desktop/images/31122025/00/13/image_31122025_00_13_14_9560.jpg
/home/pi/Desktop/images/31122025/00/13/image_31122025_00_13_34_10557.jpg
/home/pi/Desktop/images/31122025/00/13/image_31122025_00_13_54_9714.jpg
/home/pi/Desktop/images/31122025/00/13/image_31122025_00_14_05_10815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805724","1401805703","1401805706","1401805709","1401805714","1401805707"],"photo_ids_order":["1401805703","1401805706","1401805707","1401805709","1401805714","1401805724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e5288c28d7338891409762088271a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3815056970703210379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136642788,"filename":"image_31122025_00_14_05_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0adf9cd49d9c062acf4459051d1ee677.jpg","text":"TemporaryFile(/tmp/multipartBody5741427818988631996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136642788,"filename":"image_31122025_00_12_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5082e4eac33f3a471c5fc1ca766ff56a.jpg","text":"TemporaryFile(/tmp/multipartBody6741935519905745467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136642788,"filename":"image_31122025_00_13_05_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/960873969262afb9b7a3819830837804.jpg","text":"TemporaryFile(/tmp/multipartBody173501254002499890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136642788,"filename":"image_31122025_00_13_34_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fea9103fb5a9fbda6e2459cd56bce5a6.jpg","text":"TemporaryFile(/tmp/multipartBody8075284170958014906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136642788,"filename":"image_31122025_00_13_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7f53cd9c9503b478c2576720b7913bb.jpg","text":"TemporaryFile(/tmp/multipartBody5380763581180735166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136642788,"filename":"image_31122025_00_13_14_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805707","file1":"1401805706","file0":"1401805703","file4":"1401805714","file5":"1401805724","file3":"1401805709"},"map_files_photo_id_array":[{"photo_id":"1401805724","filename":"file5"},{"photo_id":"1401805707","filename":"file2"},{"photo_id":"1401805714","filename":"file4"},{"photo_id":"1401805706","filename":"file1"},{"photo_id":"1401805703","filename":"file0"},{"photo_id":"1401805709","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805724":["hashtag1","hashtag2"]},{"1401805703":["hashtag1","hashtag2"]},{"1401805706":["hashtag1","hashtag2"]},{"1401805709":["hashtag1","hashtag2"]},{"1401805714":["hashtag1","hashtag2"]},{"1401805707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805724, 1401805703, 1401805706, 1401805709, 1401805714, 1401805707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61626720428467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:17:03.125502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_14_9677.jpg', '/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_24_9591.jpg', '/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_34_10516.jpg', '/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_44_9635.jpg', '/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_54_9766.jpg', '/home/pi/Desktop/images/31122025/00/14/image_31122025_00_15_05_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_14_9677.jpg
/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_24_9591.jpg
/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_34_10516.jpg
/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_44_9635.jpg
/home/pi/Desktop/images/31122025/00/14/image_31122025_00_14_54_9766.jpg
/home/pi/Desktop/images/31122025/00/14/image_31122025_00_15_05_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805748","1401805750","1401805741","1401805735","1401805744","1401805737"],"photo_ids_order":["1401805735","1401805737","1401805741","1401805744","1401805748","1401805750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/738435602ac66b9a1ac871fb9e185d4a.jpg","text":"TemporaryFile(/tmp/multipartBody1431147919878668842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136683784,"filename":"image_31122025_00_14_54_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/232d0de8852ace951343a00962d06e90.jpg","text":"TemporaryFile(/tmp/multipartBody7788002167333660948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136683784,"filename":"image_31122025_00_15_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4ecaffa486a715a4da4d166849150a1.jpg","text":"TemporaryFile(/tmp/multipartBody3986122959037289131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136683784,"filename":"image_31122025_00_14_34_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd5958de3156cc92ebe9e6cab9e29dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2672900510656128776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136683784,"filename":"image_31122025_00_14_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f3a281ac965dc42370946d0de15f702.jpg","text":"TemporaryFile(/tmp/multipartBody5111631982510406972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136683784,"filename":"image_31122025_00_14_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f81272e86b76aa8f9d8e3ce1cdd94cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6010466325571451184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136683784,"filename":"image_31122025_00_14_24_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805741","file1":"1401805737","file0":"1401805735","file4":"1401805748","file5":"1401805750","file3":"1401805744"},"map_files_photo_id_array":[{"photo_id":"1401805750","filename":"file5"},{"photo_id":"1401805741","filename":"file2"},{"photo_id":"1401805748","filename":"file4"},{"photo_id":"1401805737","filename":"file1"},{"photo_id":"1401805735","filename":"file0"},{"photo_id":"1401805744","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805748":["hashtag1","hashtag2"]},{"1401805750":["hashtag1","hashtag2"]},{"1401805741":["hashtag1","hashtag2"]},{"1401805735":["hashtag1","hashtag2"]},{"1401805744":["hashtag1","hashtag2"]},{"1401805737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805748, 1401805750, 1401805741, 1401805735, 1401805744, 1401805737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37950587272644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:17:42.412927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_03_3725.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_06_2785.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_18_2641.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_21_3705.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_30_3573.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_42_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_03_3725.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_06_2785.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_18_2641.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_21_3705.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_30_3573.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_42_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805766","1401805760","1401805765","1401805762","1401805764","1401805758"],"photo_ids_order":["1401805758","1401805760","1401805762","1401805764","1401805765","1401805766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e26205ac6ab154ccfacffd0a691f951.jpg","text":"TemporaryFile(/tmp/multipartBody4324548981116229272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136724341,"filename":"image_02112025_19_43_42_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86f153ff0bfe177b2c058bf0ef907b46.jpg","text":"TemporaryFile(/tmp/multipartBody5987195138256947656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136724341,"filename":"image_02112025_19_43_06_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ec6d871e16ea979a1a05995d04fa6a4.jpg","text":"TemporaryFile(/tmp/multipartBody8985512975124489660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136724341,"filename":"image_02112025_19_43_30_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/029db5d292ea1a35f86ab38658aec5ff.jpg","text":"TemporaryFile(/tmp/multipartBody6209125152928032541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136724341,"filename":"image_02112025_19_43_18_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e845943835204e3529b8af0db9918b06.jpg","text":"TemporaryFile(/tmp/multipartBody8749025549711214532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136724341,"filename":"image_02112025_19_43_21_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fffa79779be0857a9fc1228db9ae4d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4327535183225312711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136724341,"filename":"image_02112025_19_43_03_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805762","file1":"1401805760","file0":"1401805758","file4":"1401805765","file5":"1401805766","file3":"1401805764"},"map_files_photo_id_array":[{"photo_id":"1401805766","filename":"file5"},{"photo_id":"1401805762","filename":"file2"},{"photo_id":"1401805765","filename":"file4"},{"photo_id":"1401805760","filename":"file1"},{"photo_id":"1401805758","filename":"file0"},{"photo_id":"1401805764","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805766":["hashtag1","hashtag2"]},{"1401805760":["hashtag1","hashtag2"]},{"1401805765":["hashtag1","hashtag2"]},{"1401805762":["hashtag1","hashtag2"]},{"1401805764":["hashtag1","hashtag2"]},{"1401805758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805766, 1401805760, 1401805765, 1401805762, 1401805764, 1401805758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53553128242493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:18:22.672818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/15/image_31122025_00_15_14_9562.jpg', '/home/pi/Desktop/images/31122025/00/15/image_31122025_00_15_35_10810.jpg', '/home/pi/Desktop/images/31122025/00/15/image_31122025_00_15_44_9719.jpg', '/home/pi/Desktop/images/31122025/00/15/image_31122025_00_15_54_9700.jpg', '/home/pi/Desktop/images/31122025/00/15/image_31122025_00_16_05_10648.jpg', '/home/pi/Desktop/images/31122025/00/16/image_31122025_00_16_14_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/15/image_31122025_00_15_14_9562.jpg
/home/pi/Desktop/images/31122025/00/15/image_31122025_00_15_35_10810.jpg
/home/pi/Desktop/images/31122025/00/15/image_31122025_00_15_44_9719.jpg
/home/pi/Desktop/images/31122025/00/15/image_31122025_00_15_54_9700.jpg
/home/pi/Desktop/images/31122025/00/15/image_31122025_00_16_05_10648.jpg
/home/pi/Desktop/images/31122025/00/16/image_31122025_00_16_14_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805790","1401805793","1401805787","1401805778","1401805802","1401805783"],"photo_ids_order":["1401805778","1401805783","1401805787","1401805790","1401805793","1401805802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4d303941a9368188a6baa77221aa75a.jpg","text":"TemporaryFile(/tmp/multipartBody988067504740028305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136763269,"filename":"image_31122025_00_15_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dfcecfaf69592764c605e0b87117b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1191035840896969833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136763269,"filename":"image_31122025_00_16_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6926cebe2e40a82687cec3e1df482240.jpg","text":"TemporaryFile(/tmp/multipartBody2679120838890620287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136763269,"filename":"image_31122025_00_15_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3ad2cb92c64f2dd6b0b86ef86a2b7ea.jpg","text":"TemporaryFile(/tmp/multipartBody6763376347466984854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136763269,"filename":"image_31122025_00_15_14_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a53f0c274443a9adb8648b4ecd06ba6.jpg","text":"TemporaryFile(/tmp/multipartBody575510270909905754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136763269,"filename":"image_31122025_00_16_14_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/864aa0b3dbc6170fc37dbff94213e086.jpg","text":"TemporaryFile(/tmp/multipartBody2146450830023410234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136763269,"filename":"image_31122025_00_15_35_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805787","file1":"1401805783","file0":"1401805778","file4":"1401805793","file5":"1401805802","file3":"1401805790"},"map_files_photo_id_array":[{"photo_id":"1401805802","filename":"file5"},{"photo_id":"1401805787","filename":"file2"},{"photo_id":"1401805793","filename":"file4"},{"photo_id":"1401805783","filename":"file1"},{"photo_id":"1401805778","filename":"file0"},{"photo_id":"1401805790","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805790":["hashtag1","hashtag2"]},{"1401805793":["hashtag1","hashtag2"]},{"1401805787":["hashtag1","hashtag2"]},{"1401805778":["hashtag1","hashtag2"]},{"1401805802":["hashtag1","hashtag2"]},{"1401805783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805790, 1401805793, 1401805787, 1401805778, 1401805802, 1401805783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9758186340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:19:03.710664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/16/image_31122025_00_16_24_9774.jpg', '/home/pi/Desktop/images/31122025/00/16/image_31122025_00_16_44_9617.jpg', '/home/pi/Desktop/images/31122025/00/16/image_31122025_00_16_54_9641.jpg', '/home/pi/Desktop/images/31122025/00/16/image_31122025_00_17_04_9815.jpg', '/home/pi/Desktop/images/31122025/00/17/image_31122025_00_17_14_10117.jpg', '/home/pi/Desktop/images/31122025/00/17/image_31122025_00_17_24_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/16/image_31122025_00_16_24_9774.jpg
/home/pi/Desktop/images/31122025/00/16/image_31122025_00_16_44_9617.jpg
/home/pi/Desktop/images/31122025/00/16/image_31122025_00_16_54_9641.jpg
/home/pi/Desktop/images/31122025/00/16/image_31122025_00_17_04_9815.jpg
/home/pi/Desktop/images/31122025/00/17/image_31122025_00_17_14_10117.jpg
/home/pi/Desktop/images/31122025/00/17/image_31122025_00_17_24_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805821","1401805815","1401805829","1401805832","1401805825","1401805818"],"photo_ids_order":["1401805815","1401805818","1401805821","1401805825","1401805829","1401805832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d560ba0b4b89ea9809c64aeae5760d6.jpg","text":"TemporaryFile(/tmp/multipartBody110566167477810756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136804464,"filename":"image_31122025_00_16_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a47ee28948bce5377e051085013a0d2.jpg","text":"TemporaryFile(/tmp/multipartBody1748554379397363968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136804464,"filename":"image_31122025_00_16_24_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3434c22d82dc215c8d30f53d1dd88b37.jpg","text":"TemporaryFile(/tmp/multipartBody5867629519291870257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136804464,"filename":"image_31122025_00_17_14_10117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a379077134efffb47d7f92af09e4387.jpg","text":"TemporaryFile(/tmp/multipartBody785930945281402914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136804464,"filename":"image_31122025_00_17_24_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63013447d02410ed021c3ef9e9efadef.jpg","text":"TemporaryFile(/tmp/multipartBody1712283593696694376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136804464,"filename":"image_31122025_00_17_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2c7975f64e6104087d9eea2caf80bd5.jpg","text":"TemporaryFile(/tmp/multipartBody8110144540023213942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136804464,"filename":"image_31122025_00_16_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805821","file1":"1401805818","file0":"1401805815","file4":"1401805829","file5":"1401805832","file3":"1401805825"},"map_files_photo_id_array":[{"photo_id":"1401805832","filename":"file5"},{"photo_id":"1401805821","filename":"file2"},{"photo_id":"1401805829","filename":"file4"},{"photo_id":"1401805818","filename":"file1"},{"photo_id":"1401805815","filename":"file0"},{"photo_id":"1401805825","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805821":["hashtag1","hashtag2"]},{"1401805815":["hashtag1","hashtag2"]},{"1401805829":["hashtag1","hashtag2"]},{"1401805832":["hashtag1","hashtag2"]},{"1401805825":["hashtag1","hashtag2"]},{"1401805818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805821, 1401805815, 1401805829, 1401805832, 1401805825, 1401805818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.825843811035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:19:42.757011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_45_2678.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_51_3653.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_54_2715.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_57_2794.jpg', '/home/pi/Desktop/images/02112025/19/43/image_02112025_19_44_00_2638.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_03_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_45_2678.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_51_3653.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_54_2715.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_43_57_2794.jpg
/home/pi/Desktop/images/02112025/19/43/image_02112025_19_44_00_2638.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_03_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805844","1401805846","1401805849","1401805840","1401805837","1401805842"],"photo_ids_order":["1401805837","1401805840","1401805842","1401805844","1401805846","1401805849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c33428404f5a63c950527a6b8cd92d1f.jpg","text":"TemporaryFile(/tmp/multipartBody8075180456169793973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136844661,"filename":"image_02112025_19_43_57_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/359cfcf6737ce04d7036aec09bf32e82.jpg","text":"TemporaryFile(/tmp/multipartBody7719870519601796787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136844661,"filename":"image_02112025_19_44_00_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c4e8a3ed9758c7898b612502fc0e0cf.jpg","text":"TemporaryFile(/tmp/multipartBody3401626259815022994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136844661,"filename":"image_02112025_19_44_03_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fad573a2d35547b93bae92b137c1d73.jpg","text":"TemporaryFile(/tmp/multipartBody8799969345046349716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136844661,"filename":"image_02112025_19_43_51_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b3093ff3cbf68eff9f131acd0345d04.jpg","text":"TemporaryFile(/tmp/multipartBody8406785856146688340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136844661,"filename":"image_02112025_19_43_45_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12a15dd165df9c8e563518ca89e4b663.jpg","text":"TemporaryFile(/tmp/multipartBody4321559261139146240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136844661,"filename":"image_02112025_19_43_54_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805842","file1":"1401805840","file0":"1401805837","file4":"1401805846","file5":"1401805849","file3":"1401805844"},"map_files_photo_id_array":[{"photo_id":"1401805849","filename":"file5"},{"photo_id":"1401805842","filename":"file2"},{"photo_id":"1401805846","filename":"file4"},{"photo_id":"1401805840","filename":"file1"},{"photo_id":"1401805837","filename":"file0"},{"photo_id":"1401805844","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805844":["hashtag1","hashtag2"]},{"1401805846":["hashtag1","hashtag2"]},{"1401805849":["hashtag1","hashtag2"]},{"1401805840":["hashtag1","hashtag2"]},{"1401805837":["hashtag1","hashtag2"]},{"1401805842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805844, 1401805846, 1401805849, 1401805840, 1401805837, 1401805842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7169623374939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:20:31.905910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_06_2696.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_12_2654.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_21_2673.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_27_2691.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_33_3680.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_36_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_06_2696.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_12_2654.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_21_2673.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_27_2691.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_33_3680.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_36_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805871","1401805874","1401805876","1401805867","1401805860","1401805863"],"photo_ids_order":["1401805860","1401805863","1401805867","1401805871","1401805874","1401805876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2b748e5f91848ba607b53df1b592dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5361856270614945326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136893780,"filename":"image_02112025_19_44_27_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5037fca41599eed4e4f6e49ba2aebb9.jpg","text":"TemporaryFile(/tmp/multipartBody5156981695479013761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136893780,"filename":"image_02112025_19_44_33_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29d0c4b4960e0d8dc0813e18533b7b2e.jpg","text":"TemporaryFile(/tmp/multipartBody34434365931456343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136893780,"filename":"image_02112025_19_44_36_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/beccdbedccb37ffb31ba2ffb73e42ec3.jpg","text":"TemporaryFile(/tmp/multipartBody3633235582125623211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136893780,"filename":"image_02112025_19_44_21_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e3af51fb505eaca785b904f76f6521e.jpg","text":"TemporaryFile(/tmp/multipartBody2698095100195851751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136893780,"filename":"image_02112025_19_44_06_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b77cb18c6dd4a9cc753caf1edcb8d22.jpg","text":"TemporaryFile(/tmp/multipartBody5058811165755229933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136893780,"filename":"image_02112025_19_44_12_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805867","file1":"1401805863","file0":"1401805860","file4":"1401805874","file5":"1401805876","file3":"1401805871"},"map_files_photo_id_array":[{"photo_id":"1401805876","filename":"file5"},{"photo_id":"1401805867","filename":"file2"},{"photo_id":"1401805874","filename":"file4"},{"photo_id":"1401805863","filename":"file1"},{"photo_id":"1401805860","filename":"file0"},{"photo_id":"1401805871","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805871":["hashtag1","hashtag2"]},{"1401805874":["hashtag1","hashtag2"]},{"1401805876":["hashtag1","hashtag2"]},{"1401805867":["hashtag1","hashtag2"]},{"1401805860":["hashtag1","hashtag2"]},{"1401805863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805871, 1401805874, 1401805876, 1401805867, 1401805860, 1401805863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.270878314971924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:21:12.033727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_39_2668.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_42_3627.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_45_2634.jpg', '/home/pi/Desktop/images/02112025/19/44/image_02112025_19_45_00_2791.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_03_3665.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_05_2134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_39_2668.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_42_3627.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_44_45_2634.jpg
/home/pi/Desktop/images/02112025/19/44/image_02112025_19_45_00_2791.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_03_3665.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_05_2134.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805889","1401805906","1401805899","1401805903","1401805893","1401805896"],"photo_ids_order":["1401805889","1401805893","1401805896","1401805899","1401805903","1401805906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2375b8048f5acf5301127c6fb7671487.jpg","text":"TemporaryFile(/tmp/multipartBody2956113032313304422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136933805,"filename":"image_02112025_19_44_39_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d7e141f937a490c4caec29bc8f7e0ea.jpg","text":"TemporaryFile(/tmp/multipartBody1571178177795507004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136933805,"filename":"image_02112025_19_45_05_2134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/922c6c8b3b07a73a3f34b7d92cd1ec21.jpg","text":"TemporaryFile(/tmp/multipartBody547401538170540328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136933805,"filename":"image_02112025_19_45_00_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1bc6ac1aec8f100d7106dd4db781197.jpg","text":"TemporaryFile(/tmp/multipartBody3716157920387764760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136933805,"filename":"image_02112025_19_45_03_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6c5959bfe01d0b70935cf74dfd6391f.jpg","text":"TemporaryFile(/tmp/multipartBody1435540691338110056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136933805,"filename":"image_02112025_19_44_42_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3ca0df940c4b610ea75d412f4326571.jpg","text":"TemporaryFile(/tmp/multipartBody1419778630593227194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136933805,"filename":"image_02112025_19_44_45_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805896","file1":"1401805893","file0":"1401805889","file4":"1401805903","file5":"1401805906","file3":"1401805899"},"map_files_photo_id_array":[{"photo_id":"1401805906","filename":"file5"},{"photo_id":"1401805896","filename":"file2"},{"photo_id":"1401805903","filename":"file4"},{"photo_id":"1401805893","filename":"file1"},{"photo_id":"1401805889","filename":"file0"},{"photo_id":"1401805899","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805889":["hashtag1","hashtag2"]},{"1401805906":["hashtag1","hashtag2"]},{"1401805899":["hashtag1","hashtag2"]},{"1401805903":["hashtag1","hashtag2"]},{"1401805893":["hashtag1","hashtag2"]},{"1401805896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805889, 1401805906, 1401805899, 1401805903, 1401805893, 1401805896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72318959236145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:22:02.723704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/17/image_31122025_00_17_44_9742.jpg', '/home/pi/Desktop/images/31122025/00/17/image_31122025_00_17_54_9826.jpg', '/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_14_9643.jpg', '/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_24_9953.jpg', '/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_34_9857.jpg', '/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_44_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/17/image_31122025_00_17_44_9742.jpg
/home/pi/Desktop/images/31122025/00/17/image_31122025_00_17_54_9826.jpg
/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_14_9643.jpg
/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_24_9953.jpg
/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_34_9857.jpg
/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_44_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805925","1401805913","1401805921","1401805915","1401805918","1401805911"],"photo_ids_order":["1401805911","1401805913","1401805915","1401805918","1401805921","1401805925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05c322e72ec01ef938ddd109227b4724.jpg","text":"TemporaryFile(/tmp/multipartBody7061016584746283277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136983345,"filename":"image_31122025_00_18_44_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3423702c653cb1efe785c6c75ca4c367.jpg","text":"TemporaryFile(/tmp/multipartBody1174348706108758622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136983345,"filename":"image_31122025_00_17_54_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6318b76fc1d07115ac331f7a3894a08.jpg","text":"TemporaryFile(/tmp/multipartBody1033997796246716575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136983345,"filename":"image_31122025_00_18_34_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc5a47a1a9e42b92fdc9ec117471b6b3.jpg","text":"TemporaryFile(/tmp/multipartBody7749991698265741273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136983345,"filename":"image_31122025_00_18_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc5557db94f0d0ec7d747eea32e0029a.jpg","text":"TemporaryFile(/tmp/multipartBody7486848279824774475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136983345,"filename":"image_31122025_00_18_24_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e0915ef9e4030dd23a67c16c937602c.jpg","text":"TemporaryFile(/tmp/multipartBody5782665760116123702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767136983345,"filename":"image_31122025_00_17_44_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805915","file1":"1401805913","file0":"1401805911","file4":"1401805921","file5":"1401805925","file3":"1401805918"},"map_files_photo_id_array":[{"photo_id":"1401805925","filename":"file5"},{"photo_id":"1401805915","filename":"file2"},{"photo_id":"1401805921","filename":"file4"},{"photo_id":"1401805913","filename":"file1"},{"photo_id":"1401805911","filename":"file0"},{"photo_id":"1401805918","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805925":["hashtag1","hashtag2"]},{"1401805913":["hashtag1","hashtag2"]},{"1401805921":["hashtag1","hashtag2"]},{"1401805915":["hashtag1","hashtag2"]},{"1401805918":["hashtag1","hashtag2"]},{"1401805911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805925, 1401805913, 1401805921, 1401805915, 1401805918, 1401805911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52867245674133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:22:42.301947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_15_3714.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_18_2642.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_21_2697.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_27_3593.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_32_2655.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_42_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_15_3714.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_18_2642.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_21_2697.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_27_3593.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_32_2655.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_42_3535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805934","1401805937","1401805945","1401805953","1401805941","1401805950"],"photo_ids_order":["1401805934","1401805937","1401805941","1401805945","1401805950","1401805953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ecd8c56fdd2a82d9b4970e1a2db10c3.jpg","text":"TemporaryFile(/tmp/multipartBody4499949788779040970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137024206,"filename":"image_02112025_19_45_15_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2eacbb3cd0082b998fdf3f0ee1ae883.jpg","text":"TemporaryFile(/tmp/multipartBody7510137713589999212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137024206,"filename":"image_02112025_19_45_18_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56c2507ced0de42cc5bdedc69076651d.jpg","text":"TemporaryFile(/tmp/multipartBody4735353327681608325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137024206,"filename":"image_02112025_19_45_27_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a82f8f5a389c842e2a330fcee845b4f.jpg","text":"TemporaryFile(/tmp/multipartBody6138253991019933992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137024206,"filename":"image_02112025_19_45_42_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bdfac1b966a78a86bfe2252fa2774cc.jpg","text":"TemporaryFile(/tmp/multipartBody5835228687893350932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137024206,"filename":"image_02112025_19_45_21_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b9d6770183eb0e1640a0ca163871efd.jpg","text":"TemporaryFile(/tmp/multipartBody5078426498227535636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137024206,"filename":"image_02112025_19_45_32_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805941","file1":"1401805937","file0":"1401805934","file4":"1401805950","file5":"1401805953","file3":"1401805945"},"map_files_photo_id_array":[{"photo_id":"1401805953","filename":"file5"},{"photo_id":"1401805941","filename":"file2"},{"photo_id":"1401805950","filename":"file4"},{"photo_id":"1401805937","filename":"file1"},{"photo_id":"1401805934","filename":"file0"},{"photo_id":"1401805945","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401805934":["hashtag1","hashtag2"]},{"1401805937":["hashtag1","hashtag2"]},{"1401805945":["hashtag1","hashtag2"]},{"1401805953":["hashtag1","hashtag2"]},{"1401805941":["hashtag1","hashtag2"]},{"1401805950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401805934, 1401805937, 1401805945, 1401805953, 1401805941, 1401805950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11243677139282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:23:22.480769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_54_10568.jpg', '/home/pi/Desktop/images/31122025/00/18/image_31122025_00_19_04_9713.jpg', '/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_14_9724.jpg', '/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_24_10669.jpg', '/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_34_9707.jpg', '/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_44_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/18/image_31122025_00_18_54_10568.jpg
/home/pi/Desktop/images/31122025/00/18/image_31122025_00_19_04_9713.jpg
/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_14_9724.jpg
/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_24_10669.jpg
/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_34_9707.jpg
/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_44_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805970","1401805967","1401805974","1401805977","1401805962","1401805965"],"photo_ids_order":["1401805962","1401805965","1401805967","1401805970","1401805974","1401805977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7014df52e2d8004ae6f1e2b2dc1edefb.jpg","text":"TemporaryFile(/tmp/multipartBody4543960280426014349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137063074,"filename":"image_31122025_00_19_24_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2dc249ae4b2ebe9891e48f3e63267509.jpg","text":"TemporaryFile(/tmp/multipartBody625841962112636394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137063074,"filename":"image_31122025_00_19_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9fce7c238acfa8fbfe0445f9fc6a7d2.jpg","text":"TemporaryFile(/tmp/multipartBody379926458844499467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137063074,"filename":"image_31122025_00_19_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dda368bf417d9621835176eb2fba2379.jpg","text":"TemporaryFile(/tmp/multipartBody1085585740408851964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137063074,"filename":"image_31122025_00_19_44_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21b63f5fb0e6fc123ff14ba0ab74931f.jpg","text":"TemporaryFile(/tmp/multipartBody2880288612865639506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137063074,"filename":"image_31122025_00_18_54_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b93d4f177dba7631aa9054d183350608.jpg","text":"TemporaryFile(/tmp/multipartBody4645689385535547938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137063074,"filename":"image_31122025_00_19_04_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805967","file1":"1401805965","file0":"1401805962","file4":"1401805974","file5":"1401805977","file3":"1401805970"},"map_files_photo_id_array":[{"photo_id":"1401805977","filename":"file5"},{"photo_id":"1401805967","filename":"file2"},{"photo_id":"1401805974","filename":"file4"},{"photo_id":"1401805965","filename":"file1"},{"photo_id":"1401805962","filename":"file0"},{"photo_id":"1401805970","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805970":["hashtag1","hashtag2"]},{"1401805967":["hashtag1","hashtag2"]},{"1401805974":["hashtag1","hashtag2"]},{"1401805977":["hashtag1","hashtag2"]},{"1401805962":["hashtag1","hashtag2"]},{"1401805965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805970, 1401805967, 1401805974, 1401805977, 1401805962, 1401805965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.012959241867065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:24:03.369332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_54_10400.jpg', '/home/pi/Desktop/images/31122025/00/19/image_31122025_00_20_04_9738.jpg', '/home/pi/Desktop/images/31122025/00/20/image_31122025_00_20_24_9733.jpg', '/home/pi/Desktop/images/31122025/00/20/image_31122025_00_20_34_9631.jpg', '/home/pi/Desktop/images/31122025/00/20/image_31122025_00_20_44_9679.jpg', '/home/pi/Desktop/images/31122025/00/20/image_31122025_00_20_54_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/19/image_31122025_00_19_54_10400.jpg
/home/pi/Desktop/images/31122025/00/19/image_31122025_00_20_04_9738.jpg
/home/pi/Desktop/images/31122025/00/20/image_31122025_00_20_24_9733.jpg
/home/pi/Desktop/images/31122025/00/20/image_31122025_00_20_34_9631.jpg
/home/pi/Desktop/images/31122025/00/20/image_31122025_00_20_44_9679.jpg
/home/pi/Desktop/images/31122025/00/20/image_31122025_00_20_54_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401805985","1401805988","1401805993","1401805996","1401805990","1401805998"],"photo_ids_order":["1401805985","1401805988","1401805990","1401805993","1401805996","1401805998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7706573b76daf572d2a9514bbe337b52.jpg","text":"TemporaryFile(/tmp/multipartBody3637406535176957241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137104041,"filename":"image_31122025_00_19_54_10400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e2c4d98487f50f61c9d1629ec07e30d.jpg","text":"TemporaryFile(/tmp/multipartBody1963785235414984751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137104041,"filename":"image_31122025_00_20_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d50f30b2d1a017f42064d12b97ca310e.jpg","text":"TemporaryFile(/tmp/multipartBody8056370125914060454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137104041,"filename":"image_31122025_00_20_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2308f5d0313d36a1593d6be255f18cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8799823587692676133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137104041,"filename":"image_31122025_00_20_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7df8ca4c6e4de3e84902279097b043a.jpg","text":"TemporaryFile(/tmp/multipartBody6771034528779419488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137104041,"filename":"image_31122025_00_20_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b645042b56eaa398fe209c7b4faf45d7.jpg","text":"TemporaryFile(/tmp/multipartBody5312614412128994649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137104041,"filename":"image_31122025_00_20_54_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401805990","file1":"1401805988","file0":"1401805985","file4":"1401805996","file5":"1401805998","file3":"1401805993"},"map_files_photo_id_array":[{"photo_id":"1401805998","filename":"file5"},{"photo_id":"1401805990","filename":"file2"},{"photo_id":"1401805996","filename":"file4"},{"photo_id":"1401805988","filename":"file1"},{"photo_id":"1401805985","filename":"file0"},{"photo_id":"1401805993","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401805985":["hashtag1","hashtag2"]},{"1401805988":["hashtag1","hashtag2"]},{"1401805993":["hashtag1","hashtag2"]},{"1401805996":["hashtag1","hashtag2"]},{"1401805990":["hashtag1","hashtag2"]},{"1401805998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401805985, 1401805988, 1401805993, 1401805996, 1401805990, 1401805998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56633520126343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:24:42.663264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_45_2798.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_48_2830.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_53_2666.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_57_3760.jpg', '/home/pi/Desktop/images/02112025/19/45/image_02112025_19_46_00_2617.jpg', '/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_09_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_45_2798.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_48_2830.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_53_2666.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_45_57_3760.jpg
/home/pi/Desktop/images/02112025/19/45/image_02112025_19_46_00_2617.jpg
/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_09_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806033","1401806032","1401806011","1401806034","1401806031","1401806019"],"photo_ids_order":["1401806011","1401806019","1401806031","1401806032","1401806033","1401806034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b0699b9c3e7e2e5025f6874c6fb77ac.jpg","text":"TemporaryFile(/tmp/multipartBody8051058601547212602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137144551,"filename":"image_02112025_19_46_00_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea79bca1994e4bfc45b87a461a9f50b8.jpg","text":"TemporaryFile(/tmp/multipartBody5939360818310155029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137144551,"filename":"image_02112025_19_45_57_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99c2da84f49defd2f7dfa0d789b45e95.jpg","text":"TemporaryFile(/tmp/multipartBody1501397833710980660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137144551,"filename":"image_02112025_19_45_45_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b040316c134a35949dea3cb4b41cbd19.jpg","text":"TemporaryFile(/tmp/multipartBody3785159264566874738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137144551,"filename":"image_02112025_19_46_09_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afdc85e9dd8ee1b31373dddcb3091b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6747578288762317350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137144551,"filename":"image_02112025_19_45_53_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0540d3c3ce7c2e12908846dd92153b59.jpg","text":"TemporaryFile(/tmp/multipartBody7778251441656140306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137144551,"filename":"image_02112025_19_45_48_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806031","file1":"1401806019","file0":"1401806011","file4":"1401806033","file5":"1401806034","file3":"1401806032"},"map_files_photo_id_array":[{"photo_id":"1401806034","filename":"file5"},{"photo_id":"1401806031","filename":"file2"},{"photo_id":"1401806033","filename":"file4"},{"photo_id":"1401806019","filename":"file1"},{"photo_id":"1401806011","filename":"file0"},{"photo_id":"1401806032","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806033":["hashtag1","hashtag2"]},{"1401806032":["hashtag1","hashtag2"]},{"1401806011":["hashtag1","hashtag2"]},{"1401806034":["hashtag1","hashtag2"]},{"1401806031":["hashtag1","hashtag2"]},{"1401806019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806033, 1401806032, 1401806011, 1401806034, 1401806031, 1401806019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2373628616333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:25:22.828724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/20/image_31122025_00_21_04_9726.jpg', '/home/pi/Desktop/images/31122025/00/21/image_31122025_00_21_25_10650.jpg', '/home/pi/Desktop/images/31122025/00/21/image_31122025_00_21_34_9646.jpg', '/home/pi/Desktop/images/31122025/00/21/image_31122025_00_21_54_9817.jpg', '/home/pi/Desktop/images/31122025/00/22/image_31122025_00_22_14_9731.jpg', '/home/pi/Desktop/images/31122025/00/22/image_31122025_00_22_24_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/20/image_31122025_00_21_04_9726.jpg
/home/pi/Desktop/images/31122025/00/21/image_31122025_00_21_25_10650.jpg
/home/pi/Desktop/images/31122025/00/21/image_31122025_00_21_34_9646.jpg
/home/pi/Desktop/images/31122025/00/21/image_31122025_00_21_54_9817.jpg
/home/pi/Desktop/images/31122025/00/22/image_31122025_00_22_14_9731.jpg
/home/pi/Desktop/images/31122025/00/22/image_31122025_00_22_24_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806060","1401806048","1401806044","1401806052","1401806055","1401806058"],"photo_ids_order":["1401806044","1401806048","1401806052","1401806055","1401806058","1401806060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12c4fcb1df163cd629f762fa98e16e4c.jpg","text":"TemporaryFile(/tmp/multipartBody1614457937551320669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137183413,"filename":"image_31122025_00_22_24_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba0314f27268dc1a9997f2891a0cfd36.jpg","text":"TemporaryFile(/tmp/multipartBody8394497616225317769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137183413,"filename":"image_31122025_00_21_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14cf7931e5517c6fd8892194a9a05fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4091062661162314642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137183413,"filename":"image_31122025_00_21_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d943bfd27532b17efcd63ea0892b24e.jpg","text":"TemporaryFile(/tmp/multipartBody7692699660314479997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137183413,"filename":"image_31122025_00_21_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e29a1970b264761fde72f92778af081d.jpg","text":"TemporaryFile(/tmp/multipartBody9094322999660362737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137183413,"filename":"image_31122025_00_21_54_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f73a74f66d789e1b2293c486a1f5837.jpg","text":"TemporaryFile(/tmp/multipartBody7463020094619784335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137183413,"filename":"image_31122025_00_22_14_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806052","file1":"1401806048","file0":"1401806044","file4":"1401806058","file5":"1401806060","file3":"1401806055"},"map_files_photo_id_array":[{"photo_id":"1401806060","filename":"file5"},{"photo_id":"1401806052","filename":"file2"},{"photo_id":"1401806058","filename":"file4"},{"photo_id":"1401806048","filename":"file1"},{"photo_id":"1401806044","filename":"file0"},{"photo_id":"1401806055","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806060":["hashtag1","hashtag2"]},{"1401806048":["hashtag1","hashtag2"]},{"1401806044":["hashtag1","hashtag2"]},{"1401806052":["hashtag1","hashtag2"]},{"1401806055":["hashtag1","hashtag2"]},{"1401806058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806060, 1401806048, 1401806044, 1401806052, 1401806055, 1401806058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17353677749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:26:02.539684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/22/image_31122025_00_22_35_10660.jpg', '/home/pi/Desktop/images/31122025/00/22/image_31122025_00_22_54_9791.jpg', '/home/pi/Desktop/images/31122025/00/22/image_31122025_00_23_04_9615.jpg', '/home/pi/Desktop/images/31122025/00/23/image_31122025_00_23_15_10662.jpg', '/home/pi/Desktop/images/31122025/00/23/image_31122025_00_23_24_9752.jpg', '/home/pi/Desktop/images/31122025/00/23/image_31122025_00_23_34_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/22/image_31122025_00_22_35_10660.jpg
/home/pi/Desktop/images/31122025/00/22/image_31122025_00_22_54_9791.jpg
/home/pi/Desktop/images/31122025/00/22/image_31122025_00_23_04_9615.jpg
/home/pi/Desktop/images/31122025/00/23/image_31122025_00_23_15_10662.jpg
/home/pi/Desktop/images/31122025/00/23/image_31122025_00_23_24_9752.jpg
/home/pi/Desktop/images/31122025/00/23/image_31122025_00_23_34_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806072","1401806067","1401806061","1401806064","1401806081","1401806078"],"photo_ids_order":["1401806061","1401806064","1401806067","1401806072","1401806078","1401806081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/659eb68ddc97a8d818e0147aacd0e811.jpg","text":"TemporaryFile(/tmp/multipartBody2201857917516996729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137223151,"filename":"image_31122025_00_23_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91486f17862800e1e9731634d0eb91c5.jpg","text":"TemporaryFile(/tmp/multipartBody3441076348501095767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137223151,"filename":"image_31122025_00_23_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6099e28a27a6a6d79cacc1e90c511cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1569452275574022216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137223151,"filename":"image_31122025_00_22_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdca6801cd0558cd925f1f2dbcbbd7b6.jpg","text":"TemporaryFile(/tmp/multipartBody409434993774879765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137223151,"filename":"image_31122025_00_22_54_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b99aae6f9b8f8b76274356c595ad1152.jpg","text":"TemporaryFile(/tmp/multipartBody1439101881463965977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137223151,"filename":"image_31122025_00_23_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c491f42390524ee69b7099b60359321.jpg","text":"TemporaryFile(/tmp/multipartBody937488431016515517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137223151,"filename":"image_31122025_00_23_24_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806067","file1":"1401806064","file0":"1401806061","file4":"1401806078","file5":"1401806081","file3":"1401806072"},"map_files_photo_id_array":[{"photo_id":"1401806081","filename":"file5"},{"photo_id":"1401806067","filename":"file2"},{"photo_id":"1401806078","filename":"file4"},{"photo_id":"1401806064","filename":"file1"},{"photo_id":"1401806061","filename":"file0"},{"photo_id":"1401806072","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806072":["hashtag1","hashtag2"]},{"1401806067":["hashtag1","hashtag2"]},{"1401806061":["hashtag1","hashtag2"]},{"1401806064":["hashtag1","hashtag2"]},{"1401806081":["hashtag1","hashtag2"]},{"1401806078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806072, 1401806067, 1401806061, 1401806064, 1401806081, 1401806078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32930827140808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:26:42.047925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_11_2697.jpg', '/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_33_3628.jpg', '/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_44_2674.jpg', '/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_47_2796.jpg', '/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_54_2769.jpg', '/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_56_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_11_2697.jpg
/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_33_3628.jpg
/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_44_2674.jpg
/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_47_2796.jpg
/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_54_2769.jpg
/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_56_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806102","1401806092","1401806098","1401806096","1401806100","1401806099"],"photo_ids_order":["1401806092","1401806096","1401806098","1401806099","1401806100","1401806102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51636efbeabde40ea8f77e4ca7468976.jpg","text":"TemporaryFile(/tmp/multipartBody5768963625369498130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137263997,"filename":"image_02112025_19_46_56_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc66a7aec16f4958f85b62e079a71910.jpg","text":"TemporaryFile(/tmp/multipartBody7224303302770121048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137263997,"filename":"image_02112025_19_46_11_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c256a76f41995d7ce67b2936a9f3584.jpg","text":"TemporaryFile(/tmp/multipartBody4251102948449777199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137263997,"filename":"image_02112025_19_46_44_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ef897ae1e115d47c89d1afc72417e00.jpg","text":"TemporaryFile(/tmp/multipartBody4856760437281725169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137263997,"filename":"image_02112025_19_46_33_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07dbdd95dfc22b5efcc160fda76c517b.jpg","text":"TemporaryFile(/tmp/multipartBody6818906940058334888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137263997,"filename":"image_02112025_19_46_54_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32a5f1a15895a6aa70f367a1c66abf43.jpg","text":"TemporaryFile(/tmp/multipartBody8432579350433038372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137263997,"filename":"image_02112025_19_46_47_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806098","file1":"1401806096","file0":"1401806092","file4":"1401806100","file5":"1401806102","file3":"1401806099"},"map_files_photo_id_array":[{"photo_id":"1401806102","filename":"file5"},{"photo_id":"1401806098","filename":"file2"},{"photo_id":"1401806100","filename":"file4"},{"photo_id":"1401806096","filename":"file1"},{"photo_id":"1401806092","filename":"file0"},{"photo_id":"1401806099","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806102":["hashtag1","hashtag2"]},{"1401806092":["hashtag1","hashtag2"]},{"1401806098":["hashtag1","hashtag2"]},{"1401806096":["hashtag1","hashtag2"]},{"1401806100":["hashtag1","hashtag2"]},{"1401806099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806102, 1401806092, 1401806098, 1401806096, 1401806100, 1401806099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.789658546447754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:27:22.236959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/23/image_31122025_00_23_55_10821.jpg', '/home/pi/Desktop/images/31122025/00/23/image_31122025_00_24_04_9814.jpg', '/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_14_9537.jpg', '/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_25_10675.jpg', '/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_34_9666.jpg', '/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_44_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/23/image_31122025_00_23_55_10821.jpg
/home/pi/Desktop/images/31122025/00/23/image_31122025_00_24_04_9814.jpg
/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_14_9537.jpg
/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_25_10675.jpg
/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_34_9666.jpg
/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_44_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806117","1401806119","1401806113","1401806121","1401806115","1401806109"],"photo_ids_order":["1401806109","1401806113","1401806115","1401806117","1401806119","1401806121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffa1f63a7b3b87705ead93e513c9f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody2400367542653509789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137302826,"filename":"image_31122025_00_24_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5128045adbb25ce05ecd3c0c33935a6.jpg","text":"TemporaryFile(/tmp/multipartBody6609247918143560586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137302826,"filename":"image_31122025_00_24_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6a907a366cb7af2e99711b112f218e8.jpg","text":"TemporaryFile(/tmp/multipartBody7437325632151727381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137302826,"filename":"image_31122025_00_24_04_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87db262150e208b8a1b77213f36be888.jpg","text":"TemporaryFile(/tmp/multipartBody6598891141041352872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137302826,"filename":"image_31122025_00_24_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57166f8759f7fcbdb88a691444e4df48.jpg","text":"TemporaryFile(/tmp/multipartBody5266223421964166685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137302826,"filename":"image_31122025_00_24_14_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f3984dd0444fe682e6b23c722475575.jpg","text":"TemporaryFile(/tmp/multipartBody5314048748602126088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137302826,"filename":"image_31122025_00_23_55_10821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806115","file1":"1401806113","file0":"1401806109","file4":"1401806119","file5":"1401806121","file3":"1401806117"},"map_files_photo_id_array":[{"photo_id":"1401806121","filename":"file5"},{"photo_id":"1401806115","filename":"file2"},{"photo_id":"1401806119","filename":"file4"},{"photo_id":"1401806113","filename":"file1"},{"photo_id":"1401806109","filename":"file0"},{"photo_id":"1401806117","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806117":["hashtag1","hashtag2"]},{"1401806119":["hashtag1","hashtag2"]},{"1401806113":["hashtag1","hashtag2"]},{"1401806121":["hashtag1","hashtag2"]},{"1401806115":["hashtag1","hashtag2"]},{"1401806109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806117, 1401806119, 1401806113, 1401806121, 1401806115, 1401806109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88672685623169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:28:02.823331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_54_9681.jpg', '/home/pi/Desktop/images/31122025/00/24/image_31122025_00_25_04_10702.jpg', '/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_14_9626.jpg', '/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_24_9669.jpg', '/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_34_10762.jpg', '/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_44_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/24/image_31122025_00_24_54_9681.jpg
/home/pi/Desktop/images/31122025/00/24/image_31122025_00_25_04_10702.jpg
/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_14_9626.jpg
/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_24_9669.jpg
/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_34_10762.jpg
/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_44_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806132","1401806126","1401806134","1401806128","1401806136","1401806139"],"photo_ids_order":["1401806126","1401806128","1401806132","1401806134","1401806136","1401806139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00b6b81aaa30272d65d3979a534549c7.jpg","text":"TemporaryFile(/tmp/multipartBody7277018405495712954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137343441,"filename":"image_31122025_00_25_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bcf6787e04525be872bc114f58eb0d3.jpg","text":"TemporaryFile(/tmp/multipartBody819130152622811804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137343441,"filename":"image_31122025_00_24_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80ea79056660a4746d977da4b0328c68.jpg","text":"TemporaryFile(/tmp/multipartBody7950217646444372433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137343441,"filename":"image_31122025_00_25_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad8513349be5faa03727be0028e11c96.jpg","text":"TemporaryFile(/tmp/multipartBody5816767276980314309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137343441,"filename":"image_31122025_00_25_04_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84d6b88328320a03ba93e98dc2f11113.jpg","text":"TemporaryFile(/tmp/multipartBody6684482624817948079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137343441,"filename":"image_31122025_00_25_34_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db605d564e4d7be3d5b7fcd5af3a0f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5158651777573844759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137343441,"filename":"image_31122025_00_25_44_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806132","file1":"1401806128","file0":"1401806126","file4":"1401806136","file5":"1401806139","file3":"1401806134"},"map_files_photo_id_array":[{"photo_id":"1401806139","filename":"file5"},{"photo_id":"1401806132","filename":"file2"},{"photo_id":"1401806136","filename":"file4"},{"photo_id":"1401806128","filename":"file1"},{"photo_id":"1401806126","filename":"file0"},{"photo_id":"1401806134","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806132":["hashtag1","hashtag2"]},{"1401806126":["hashtag1","hashtag2"]},{"1401806134":["hashtag1","hashtag2"]},{"1401806128":["hashtag1","hashtag2"]},{"1401806136":["hashtag1","hashtag2"]},{"1401806139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806132, 1401806126, 1401806134, 1401806128, 1401806136, 1401806139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72641372680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:28:42.426870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_59_2710.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_03_3792.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_05_2533.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_12_3762.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_15_2602.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_20_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/46/image_02112025_19_46_59_2710.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_03_3792.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_05_2533.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_12_3762.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_15_2602.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_20_3014.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806167","1401806161","1401806179","1401806164","1401806172","1401806166"],"photo_ids_order":["1401806161","1401806164","1401806166","1401806167","1401806172","1401806179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c203f99e105a10a4a00fd66ccf203a43.jpg","text":"TemporaryFile(/tmp/multipartBody2701079932675931539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137384336,"filename":"image_02112025_19_47_12_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/824fcdbc734f8b96b8e21375ef1a770d.jpg","text":"TemporaryFile(/tmp/multipartBody3607478760703330187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137384336,"filename":"image_02112025_19_46_59_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1b9ab2f56803716e6b5b2031d299fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5173655820820618956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137384336,"filename":"image_02112025_19_47_20_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93e2dc764839bd70475c06f1929999ca.jpg","text":"TemporaryFile(/tmp/multipartBody2039400207678017225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137384336,"filename":"image_02112025_19_47_03_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20dadef3d5e926d6f3dc12cd0f0d73d6.jpg","text":"TemporaryFile(/tmp/multipartBody5527352431787015040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137384336,"filename":"image_02112025_19_47_15_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/112734c75c572c54311e42ef89a92e45.jpg","text":"TemporaryFile(/tmp/multipartBody8584168201521842144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137384336,"filename":"image_02112025_19_47_05_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806166","file1":"1401806164","file0":"1401806161","file4":"1401806172","file5":"1401806179","file3":"1401806167"},"map_files_photo_id_array":[{"photo_id":"1401806179","filename":"file5"},{"photo_id":"1401806166","filename":"file2"},{"photo_id":"1401806172","filename":"file4"},{"photo_id":"1401806164","filename":"file1"},{"photo_id":"1401806161","filename":"file0"},{"photo_id":"1401806167","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806167":["hashtag1","hashtag2"]},{"1401806161":["hashtag1","hashtag2"]},{"1401806179":["hashtag1","hashtag2"]},{"1401806164":["hashtag1","hashtag2"]},{"1401806172":["hashtag1","hashtag2"]},{"1401806166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806167, 1401806161, 1401806179, 1401806164, 1401806172, 1401806166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.469611406326294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:29:22.587763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_54_9987.jpg', '/home/pi/Desktop/images/31122025/00/26/image_31122025_00_26_15_10551.jpg', '/home/pi/Desktop/images/31122025/00/26/image_31122025_00_26_24_9683.jpg', '/home/pi/Desktop/images/31122025/00/26/image_31122025_00_26_45_10639.jpg', '/home/pi/Desktop/images/31122025/00/26/image_31122025_00_26_54_9630.jpg', '/home/pi/Desktop/images/31122025/00/26/image_31122025_00_27_04_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/25/image_31122025_00_25_54_9987.jpg
/home/pi/Desktop/images/31122025/00/26/image_31122025_00_26_15_10551.jpg
/home/pi/Desktop/images/31122025/00/26/image_31122025_00_26_24_9683.jpg
/home/pi/Desktop/images/31122025/00/26/image_31122025_00_26_45_10639.jpg
/home/pi/Desktop/images/31122025/00/26/image_31122025_00_26_54_9630.jpg
/home/pi/Desktop/images/31122025/00/26/image_31122025_00_27_04_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806210","1401806194","1401806188","1401806203","1401806208","1401806198"],"photo_ids_order":["1401806188","1401806194","1401806198","1401806203","1401806208","1401806210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c02d5a34345a066eb07e8ffbe327fd8.jpg","text":"TemporaryFile(/tmp/multipartBody1752885013692259298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137423221,"filename":"image_31122025_00_27_04_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87c2c9cf4cd49068851277670d8ca1a9.jpg","text":"TemporaryFile(/tmp/multipartBody2164028152290909199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137423221,"filename":"image_31122025_00_26_15_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34edf1e05db94dbb36eeb9cc7f015308.jpg","text":"TemporaryFile(/tmp/multipartBody1361767263510819655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137423221,"filename":"image_31122025_00_25_54_9987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf0694e1f509fe7d1a228ffd8bdd7e68.jpg","text":"TemporaryFile(/tmp/multipartBody2354909152665183976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137423221,"filename":"image_31122025_00_26_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6942a671a6236d13dc7b756916927c37.jpg","text":"TemporaryFile(/tmp/multipartBody2738314015972534607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137423221,"filename":"image_31122025_00_26_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fc4b8b31c4cd97754020a9242ddf89d.jpg","text":"TemporaryFile(/tmp/multipartBody1075223718118129022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137423221,"filename":"image_31122025_00_26_24_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806198","file1":"1401806194","file0":"1401806188","file4":"1401806208","file5":"1401806210","file3":"1401806203"},"map_files_photo_id_array":[{"photo_id":"1401806210","filename":"file5"},{"photo_id":"1401806198","filename":"file2"},{"photo_id":"1401806208","filename":"file4"},{"photo_id":"1401806194","filename":"file1"},{"photo_id":"1401806188","filename":"file0"},{"photo_id":"1401806203","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806210":["hashtag1","hashtag2"]},{"1401806194":["hashtag1","hashtag2"]},{"1401806188":["hashtag1","hashtag2"]},{"1401806203":["hashtag1","hashtag2"]},{"1401806208":["hashtag1","hashtag2"]},{"1401806198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806210, 1401806194, 1401806188, 1401806203, 1401806208, 1401806198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36055612564087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:30:11.855508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_24_3853.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_33_3653.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_36_2616.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_38_2638.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_42_3679.jpg', '/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_56_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_24_3853.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_33_3653.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_36_2616.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_38_2638.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_42_3679.jpg
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_56_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806225","1401806219","1401806222","1401806216","1401806227","1401806229"],"photo_ids_order":["1401806216","1401806219","1401806222","1401806225","1401806227","1401806229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/977c0a5ed94a4a095f79400ec8d1971b.jpg","text":"TemporaryFile(/tmp/multipartBody4391486454023030288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137473656,"filename":"image_02112025_19_47_38_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3796edd7fd1a4f06cdd633a967bce744.jpg","text":"TemporaryFile(/tmp/multipartBody8311100531022225811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137473656,"filename":"image_02112025_19_47_33_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43b968ecf2e8f71e0d8086dd10dc019d.jpg","text":"TemporaryFile(/tmp/multipartBody3252493942372254772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137473656,"filename":"image_02112025_19_47_36_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d1fcfd7346efa273850386352e96aac.jpg","text":"TemporaryFile(/tmp/multipartBody6630831717999828143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137473656,"filename":"image_02112025_19_47_24_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c3b08a8d27523b237ac4d2dbf686b48.jpg","text":"TemporaryFile(/tmp/multipartBody5432757190391086756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137473656,"filename":"image_02112025_19_47_42_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bafa93e5ab4d96350df13803a0c9c598.jpg","text":"TemporaryFile(/tmp/multipartBody3579514562528068826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137473656,"filename":"image_02112025_19_47_56_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806222","file1":"1401806219","file0":"1401806216","file4":"1401806227","file5":"1401806229","file3":"1401806225"},"map_files_photo_id_array":[{"photo_id":"1401806229","filename":"file5"},{"photo_id":"1401806222","filename":"file2"},{"photo_id":"1401806227","filename":"file4"},{"photo_id":"1401806219","filename":"file1"},{"photo_id":"1401806216","filename":"file0"},{"photo_id":"1401806225","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806225":["hashtag1","hashtag2"]},{"1401806219":["hashtag1","hashtag2"]},{"1401806222":["hashtag1","hashtag2"]},{"1401806216":["hashtag1","hashtag2"]},{"1401806227":["hashtag1","hashtag2"]},{"1401806229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806225, 1401806219, 1401806222, 1401806216, 1401806227, 1401806229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92980146408081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:31:02.682560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_14_10685.jpg', '/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_24_9794.jpg', '/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_34_9669.jpg', '/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_45_10642.jpg', '/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_54_9822.jpg', '/home/pi/Desktop/images/31122025/00/27/image_31122025_00_28_04_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_14_10685.jpg
/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_24_9794.jpg
/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_34_9669.jpg
/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_45_10642.jpg
/home/pi/Desktop/images/31122025/00/27/image_31122025_00_27_54_9822.jpg
/home/pi/Desktop/images/31122025/00/27/image_31122025_00_28_04_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806258","1401806257","1401806259","1401806241","1401806261","1401806255"],"photo_ids_order":["1401806241","1401806255","1401806257","1401806258","1401806259","1401806261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1142e3bebee6bbd8087f9452c6733d1.jpg","text":"TemporaryFile(/tmp/multipartBody5264118660177732331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137523361,"filename":"image_31122025_00_27_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbf2e206f1faec69ccbf27f15937c044.jpg","text":"TemporaryFile(/tmp/multipartBody639125802660923506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137523361,"filename":"image_31122025_00_27_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cc98919fdc632bae1d95a6cdf4f8475.jpg","text":"TemporaryFile(/tmp/multipartBody4032126964706798956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137523361,"filename":"image_31122025_00_27_54_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60bf485e416ed012677bbf2ef4e0f0b2.jpg","text":"TemporaryFile(/tmp/multipartBody960199442435020557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137523361,"filename":"image_31122025_00_27_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad9a516b7c21e99c10b80085805df47e.jpg","text":"TemporaryFile(/tmp/multipartBody405176707688959417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137523361,"filename":"image_31122025_00_28_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65cb4770ee1538864440b3bf41acd274.jpg","text":"TemporaryFile(/tmp/multipartBody4223907836933453261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137523361,"filename":"image_31122025_00_27_24_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806257","file1":"1401806255","file0":"1401806241","file4":"1401806259","file5":"1401806261","file3":"1401806258"},"map_files_photo_id_array":[{"photo_id":"1401806261","filename":"file5"},{"photo_id":"1401806257","filename":"file2"},{"photo_id":"1401806259","filename":"file4"},{"photo_id":"1401806255","filename":"file1"},{"photo_id":"1401806241","filename":"file0"},{"photo_id":"1401806258","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806258":["hashtag1","hashtag2"]},{"1401806257":["hashtag1","hashtag2"]},{"1401806259":["hashtag1","hashtag2"]},{"1401806241":["hashtag1","hashtag2"]},{"1401806261":["hashtag1","hashtag2"]},{"1401806255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806258, 1401806257, 1401806259, 1401806241, 1401806261, 1401806255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85337257385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:31:42.060495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_59_2678.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_03_3693.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_05_2705.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_08_2694.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_12_3683.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_15_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/47/image_02112025_19_47_59_2678.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_03_3693.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_05_2705.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_08_2694.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_12_3683.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_15_2868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806279","1401806284","1401806275","1401806286","1401806271","1401806282"],"photo_ids_order":["1401806271","1401806275","1401806279","1401806282","1401806284","1401806286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1707651a33128cf34a61eb1aa11c24f.jpg","text":"TemporaryFile(/tmp/multipartBody2757867384546282038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137564002,"filename":"image_02112025_19_48_05_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6711c60df3d8a2b2dfe5e4c33590b67.jpg","text":"TemporaryFile(/tmp/multipartBody8401874634805254589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137564002,"filename":"image_02112025_19_48_12_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26c72c507202dca0e56bcb3d881755d8.jpg","text":"TemporaryFile(/tmp/multipartBody8460056250289267119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137564002,"filename":"image_02112025_19_48_03_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df0a4ae57635604ddeab2bba2164f070.jpg","text":"TemporaryFile(/tmp/multipartBody4704780093022645307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137564002,"filename":"image_02112025_19_48_15_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f401a3a16906ffd773c8a4465f662f4e.jpg","text":"TemporaryFile(/tmp/multipartBody1210289445477354774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137564002,"filename":"image_02112025_19_47_59_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/969028a4b5c52cb90ba8c1df54879b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8121631850733333185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137564002,"filename":"image_02112025_19_48_08_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806279","file1":"1401806275","file0":"1401806271","file4":"1401806284","file5":"1401806286","file3":"1401806282"},"map_files_photo_id_array":[{"photo_id":"1401806286","filename":"file5"},{"photo_id":"1401806279","filename":"file2"},{"photo_id":"1401806284","filename":"file4"},{"photo_id":"1401806275","filename":"file1"},{"photo_id":"1401806271","filename":"file0"},{"photo_id":"1401806282","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806279":["hashtag1","hashtag2"]},{"1401806284":["hashtag1","hashtag2"]},{"1401806275":["hashtag1","hashtag2"]},{"1401806286":["hashtag1","hashtag2"]},{"1401806271":["hashtag1","hashtag2"]},{"1401806282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806279, 1401806284, 1401806275, 1401806286, 1401806271, 1401806282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46906852722168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:32:22.238179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_15_10672.jpg', '/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_24_9786.jpg', '/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_34_9721.jpg', '/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_44_9692.jpg', '/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_55_10827.jpg', '/home/pi/Desktop/images/31122025/00/28/image_31122025_00_29_04_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_15_10672.jpg
/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_24_9786.jpg
/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_34_9721.jpg
/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_44_9692.jpg
/home/pi/Desktop/images/31122025/00/28/image_31122025_00_28_55_10827.jpg
/home/pi/Desktop/images/31122025/00/28/image_31122025_00_29_04_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806293","1401806302","1401806314","1401806298","1401806310","1401806304"],"photo_ids_order":["1401806293","1401806298","1401806302","1401806304","1401806310","1401806314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd3da1cda309b1271b849a3e37245985.jpg","text":"TemporaryFile(/tmp/multipartBody2502635560168993975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137602859,"filename":"image_31122025_00_28_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/658ab21b63cfc9298ec239ce267c13dc.jpg","text":"TemporaryFile(/tmp/multipartBody5284496816925943327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137602859,"filename":"image_31122025_00_28_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21584a4b437c9b960c0f113641c5f2a4.jpg","text":"TemporaryFile(/tmp/multipartBody3956349225697011848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137602859,"filename":"image_31122025_00_29_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f444e8bd4a4c63f578e5334e530e21b.jpg","text":"TemporaryFile(/tmp/multipartBody4617905261942060525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137602859,"filename":"image_31122025_00_28_24_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44bca983ccdab0f4c2676f984553f850.jpg","text":"TemporaryFile(/tmp/multipartBody2341118046844479275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137602859,"filename":"image_31122025_00_28_55_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61971a608874ddb6d8a2b9ba11eb9d84.jpg","text":"TemporaryFile(/tmp/multipartBody106782494601605282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137602859,"filename":"image_31122025_00_28_44_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806302","file1":"1401806298","file0":"1401806293","file4":"1401806310","file5":"1401806314","file3":"1401806304"},"map_files_photo_id_array":[{"photo_id":"1401806314","filename":"file5"},{"photo_id":"1401806302","filename":"file2"},{"photo_id":"1401806310","filename":"file4"},{"photo_id":"1401806298","filename":"file1"},{"photo_id":"1401806293","filename":"file0"},{"photo_id":"1401806304","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806293":["hashtag1","hashtag2"]},{"1401806302":["hashtag1","hashtag2"]},{"1401806314":["hashtag1","hashtag2"]},{"1401806298":["hashtag1","hashtag2"]},{"1401806310":["hashtag1","hashtag2"]},{"1401806304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806293, 1401806302, 1401806314, 1401806298, 1401806310, 1401806304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48158645629883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:33:02.911493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/29/image_31122025_00_29_24_9707.jpg', '/home/pi/Desktop/images/31122025/00/29/image_31122025_00_29_34_10604.jpg', '/home/pi/Desktop/images/31122025/00/29/image_31122025_00_29_44_9633.jpg', '/home/pi/Desktop/images/31122025/00/29/image_31122025_00_29_55_10683.jpg', '/home/pi/Desktop/images/31122025/00/29/image_31122025_00_30_04_9821.jpg', '/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_14_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/29/image_31122025_00_29_24_9707.jpg
/home/pi/Desktop/images/31122025/00/29/image_31122025_00_29_34_10604.jpg
/home/pi/Desktop/images/31122025/00/29/image_31122025_00_29_44_9633.jpg
/home/pi/Desktop/images/31122025/00/29/image_31122025_00_29_55_10683.jpg
/home/pi/Desktop/images/31122025/00/29/image_31122025_00_30_04_9821.jpg
/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_14_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806357","1401806339","1401806388","1401806361","1401806349","1401806334"],"photo_ids_order":["1401806334","1401806339","1401806349","1401806357","1401806361","1401806388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00e7908e3f24bed9ba4c158b0bce9db9.jpg","text":"TemporaryFile(/tmp/multipartBody7956882908892435508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137645986,"filename":"image_31122025_00_29_55_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a3fca377f7bc051bd85ded99073d624.jpg","text":"TemporaryFile(/tmp/multipartBody4653495492346465657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137645986,"filename":"image_31122025_00_29_34_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83dc6cc4cb0910a2f25978411210c79a.jpg","text":"TemporaryFile(/tmp/multipartBody4588650236976339049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137645986,"filename":"image_31122025_00_30_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6289b71218184519113eaa6097ace1d5.jpg","text":"TemporaryFile(/tmp/multipartBody3134812974857524773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137645986,"filename":"image_31122025_00_30_04_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/196911304506ad6341116e779e1fb371.jpg","text":"TemporaryFile(/tmp/multipartBody414293280703504929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137645986,"filename":"image_31122025_00_29_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24b7ae7067440992a11a41cc516562e0.jpg","text":"TemporaryFile(/tmp/multipartBody6155396419446202806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137645986,"filename":"image_31122025_00_29_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806349","file1":"1401806339","file0":"1401806334","file4":"1401806361","file5":"1401806388","file3":"1401806357"},"map_files_photo_id_array":[{"photo_id":"1401806388","filename":"file5"},{"photo_id":"1401806349","filename":"file2"},{"photo_id":"1401806361","filename":"file4"},{"photo_id":"1401806339","filename":"file1"},{"photo_id":"1401806334","filename":"file0"},{"photo_id":"1401806357","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806357":["hashtag1","hashtag2"]},{"1401806339":["hashtag1","hashtag2"]},{"1401806388":["hashtag1","hashtag2"]},{"1401806361":["hashtag1","hashtag2"]},{"1401806349":["hashtag1","hashtag2"]},{"1401806334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806357, 1401806339, 1401806388, 1401806361, 1401806349, 1401806334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98662519454956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:34:03.208633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_24_9666.jpg', '/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_35_10620.jpg', '/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_44_9791.jpg', '/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_54_9625.jpg', '/home/pi/Desktop/images/31122025/00/30/image_31122025_00_31_05_10727.jpg', '/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_15_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_24_9666.jpg
/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_35_10620.jpg
/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_44_9791.jpg
/home/pi/Desktop/images/31122025/00/30/image_31122025_00_30_54_9625.jpg
/home/pi/Desktop/images/31122025/00/30/image_31122025_00_31_05_10727.jpg
/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_15_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806441","1401806435","1401806438","1401806437","1401806431","1401806436"],"photo_ids_order":["1401806431","1401806435","1401806436","1401806437","1401806438","1401806441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec9b923c7542fa88c3efa749365fa314.jpg","text":"TemporaryFile(/tmp/multipartBody8314470916821311123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137703856,"filename":"image_31122025_00_31_15_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac4a33a16b20f190e8d553e6cf25a74d.jpg","text":"TemporaryFile(/tmp/multipartBody1583927370443876057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137703856,"filename":"image_31122025_00_30_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7847950547d341b0b67f5ff6121016e9.jpg","text":"TemporaryFile(/tmp/multipartBody4939853475607906203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137703856,"filename":"image_31122025_00_31_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b019de12fb93d07a999474414b88c811.jpg","text":"TemporaryFile(/tmp/multipartBody2326915598809653523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137703856,"filename":"image_31122025_00_30_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83d9fc120520f9c62e18965323903d94.jpg","text":"TemporaryFile(/tmp/multipartBody523796331770208686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137703856,"filename":"image_31122025_00_30_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01ae6762175b218c874d31a45b362d33.jpg","text":"TemporaryFile(/tmp/multipartBody383114949233594725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137703856,"filename":"image_31122025_00_30_44_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806436","file1":"1401806435","file0":"1401806431","file4":"1401806438","file5":"1401806441","file3":"1401806437"},"map_files_photo_id_array":[{"photo_id":"1401806441","filename":"file5"},{"photo_id":"1401806436","filename":"file2"},{"photo_id":"1401806438","filename":"file4"},{"photo_id":"1401806435","filename":"file1"},{"photo_id":"1401806431","filename":"file0"},{"photo_id":"1401806437","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806441":["hashtag1","hashtag2"]},{"1401806435":["hashtag1","hashtag2"]},{"1401806438":["hashtag1","hashtag2"]},{"1401806437":["hashtag1","hashtag2"]},{"1401806431":["hashtag1","hashtag2"]},{"1401806436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806441, 1401806435, 1401806438, 1401806437, 1401806431, 1401806436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.439018964767456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:34:42.621457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_17_2582.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_21_3710.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_26_2712.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_30_3621.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_32_2550.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_39_3869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_17_2582.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_21_3710.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_26_2712.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_30_3621.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_32_2550.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_39_3869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806483","1401806482","1401806479","1401806484","1401806466","1401806454"],"photo_ids_order":["1401806454","1401806466","1401806479","1401806482","1401806483","1401806484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b7a2c491e389ad311f89260085b6a3a.jpg","text":"TemporaryFile(/tmp/multipartBody5053135854825345862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137744537,"filename":"image_02112025_19_48_32_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b585efff7694c93b9b2b23e6e27b932.jpg","text":"TemporaryFile(/tmp/multipartBody923397360057405297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137744537,"filename":"image_02112025_19_48_30_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1d5649a5fbcd3465726f391a05abd50.jpg","text":"TemporaryFile(/tmp/multipartBody6347492172636070003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137744537,"filename":"image_02112025_19_48_26_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ac62bd2825662097ae31e999480e8f7.jpg","text":"TemporaryFile(/tmp/multipartBody8610098135950338718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137744537,"filename":"image_02112025_19_48_39_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d38974bcf9aeae35b31587d8bf1b503.jpg","text":"TemporaryFile(/tmp/multipartBody227137005209938491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137744537,"filename":"image_02112025_19_48_21_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/888f81c1d2bbd5f36a1ac237b0d03d83.jpg","text":"TemporaryFile(/tmp/multipartBody2542025250598202886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137744537,"filename":"image_02112025_19_48_17_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806479","file1":"1401806466","file0":"1401806454","file4":"1401806483","file5":"1401806484","file3":"1401806482"},"map_files_photo_id_array":[{"photo_id":"1401806484","filename":"file5"},{"photo_id":"1401806479","filename":"file2"},{"photo_id":"1401806483","filename":"file4"},{"photo_id":"1401806466","filename":"file1"},{"photo_id":"1401806454","filename":"file0"},{"photo_id":"1401806482","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806483":["hashtag1","hashtag2"]},{"1401806482":["hashtag1","hashtag2"]},{"1401806479":["hashtag1","hashtag2"]},{"1401806484":["hashtag1","hashtag2"]},{"1401806466":["hashtag1","hashtag2"]},{"1401806454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806483, 1401806482, 1401806479, 1401806484, 1401806466, 1401806454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.430864095687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:35:22.763659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_24_9884.jpg', '/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_34_9886.jpg', '/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_44_9661.jpg', '/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_54_9912.jpg', '/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_14_9640.jpg', '/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_24_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_24_9884.jpg
/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_34_9886.jpg
/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_44_9661.jpg
/home/pi/Desktop/images/31122025/00/31/image_31122025_00_31_54_9912.jpg
/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_14_9640.jpg
/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_24_9871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806493","1401806506","1401806496","1401806499","1401806490","1401806502"],"photo_ids_order":["1401806490","1401806493","1401806496","1401806499","1401806502","1401806506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a86d48c5160948ad79edec6d3103dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5517972444530801748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137783388,"filename":"image_31122025_00_31_34_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dedd7fe041d21c2ebc1065a749a7ed0.jpg","text":"TemporaryFile(/tmp/multipartBody7430810220821950519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137783388,"filename":"image_31122025_00_32_24_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2e04b6f1b59c890e51b5f14b8c8abf8.jpg","text":"TemporaryFile(/tmp/multipartBody8133012619257795217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137783388,"filename":"image_31122025_00_31_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c101d0329fa165b5104f0daf3258e085.jpg","text":"TemporaryFile(/tmp/multipartBody6792679088450389884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137783388,"filename":"image_31122025_00_31_54_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd1a4bd4f24904e4c2de2ca56bd61d47.jpg","text":"TemporaryFile(/tmp/multipartBody4531041807048357104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137783388,"filename":"image_31122025_00_31_24_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9174eb70b58899a4c5d6f5c766f998c1.jpg","text":"TemporaryFile(/tmp/multipartBody2026010891222641767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137783388,"filename":"image_31122025_00_32_14_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806496","file1":"1401806493","file0":"1401806490","file4":"1401806502","file5":"1401806506","file3":"1401806499"},"map_files_photo_id_array":[{"photo_id":"1401806506","filename":"file5"},{"photo_id":"1401806496","filename":"file2"},{"photo_id":"1401806502","filename":"file4"},{"photo_id":"1401806493","filename":"file1"},{"photo_id":"1401806490","filename":"file0"},{"photo_id":"1401806499","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806493":["hashtag1","hashtag2"]},{"1401806506":["hashtag1","hashtag2"]},{"1401806496":["hashtag1","hashtag2"]},{"1401806499":["hashtag1","hashtag2"]},{"1401806490":["hashtag1","hashtag2"]},{"1401806502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806493, 1401806506, 1401806496, 1401806499, 1401806490, 1401806502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.485321283340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:36:02.480534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_34_9785.jpg', '/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_45_10658.jpg', '/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_54_9771.jpg', '/home/pi/Desktop/images/31122025/00/32/image_31122025_00_33_04_9683.jpg', '/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_14_9780.jpg', '/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_24_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_34_9785.jpg
/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_45_10658.jpg
/home/pi/Desktop/images/31122025/00/32/image_31122025_00_32_54_9771.jpg
/home/pi/Desktop/images/31122025/00/32/image_31122025_00_33_04_9683.jpg
/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_14_9780.jpg
/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_24_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806522","1401806525","1401806528","1401806518","1401806511","1401806514"],"photo_ids_order":["1401806511","1401806514","1401806518","1401806522","1401806525","1401806528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fbb3c5fc96674ab70dc814aa4353b2b.jpg","text":"TemporaryFile(/tmp/multipartBody8583846057543751653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137823094,"filename":"image_31122025_00_33_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c18e08a30bfddd29fd1725eb2c89e917.jpg","text":"TemporaryFile(/tmp/multipartBody3671474412825436863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137823094,"filename":"image_31122025_00_33_14_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b1779aaeee64bef24ebeced77a81fad.jpg","text":"TemporaryFile(/tmp/multipartBody1297904372913670915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137823094,"filename":"image_31122025_00_33_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a22c4340ca2c8ec187623d735282d3d.jpg","text":"TemporaryFile(/tmp/multipartBody5321660454028236155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137823094,"filename":"image_31122025_00_32_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9e887e729e3863a4ed42c9efc3cd135.jpg","text":"TemporaryFile(/tmp/multipartBody3146077078625466765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137823094,"filename":"image_31122025_00_32_34_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55705ed68b17def68dc3e969b8e551b9.jpg","text":"TemporaryFile(/tmp/multipartBody4602034322188605764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137823094,"filename":"image_31122025_00_32_45_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806518","file1":"1401806514","file0":"1401806511","file4":"1401806525","file5":"1401806528","file3":"1401806522"},"map_files_photo_id_array":[{"photo_id":"1401806528","filename":"file5"},{"photo_id":"1401806518","filename":"file2"},{"photo_id":"1401806525","filename":"file4"},{"photo_id":"1401806514","filename":"file1"},{"photo_id":"1401806511","filename":"file0"},{"photo_id":"1401806522","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806522":["hashtag1","hashtag2"]},{"1401806525":["hashtag1","hashtag2"]},{"1401806528":["hashtag1","hashtag2"]},{"1401806518":["hashtag1","hashtag2"]},{"1401806511":["hashtag1","hashtag2"]},{"1401806514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806522, 1401806525, 1401806528, 1401806518, 1401806511, 1401806514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94282865524292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:36:41.958264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_42_2597.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_48_3556.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_53_2696.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_02_2725.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_06_3690.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_09_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_42_2597.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_48_3556.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_53_2696.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_02_2725.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_06_3690.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_09_2778.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.78495192527771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:37:02.912443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_34_9747.jpg', '/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_44_9720.jpg', '/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_55_10653.jpg', '/home/pi/Desktop/images/31122025/00/33/image_31122025_00_34_04_9543.jpg', '/home/pi/Desktop/images/31122025/00/34/image_31122025_00_34_24_9904.jpg', '/home/pi/Desktop/images/31122025/00/34/image_31122025_00_34_44_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_34_9747.jpg
/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_44_9720.jpg
/home/pi/Desktop/images/31122025/00/33/image_31122025_00_33_55_10653.jpg
/home/pi/Desktop/images/31122025/00/33/image_31122025_00_34_04_9543.jpg
/home/pi/Desktop/images/31122025/00/34/image_31122025_00_34_24_9904.jpg
/home/pi/Desktop/images/31122025/00/34/image_31122025_00_34_44_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806581","1401806590","1401806587","1401806592","1401806583","1401806594"],"photo_ids_order":["1401806581","1401806583","1401806587","1401806590","1401806592","1401806594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6149e6655f022c73714785c0d15e12d3.jpg","text":"TemporaryFile(/tmp/multipartBody9161750988840543749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137883577,"filename":"image_31122025_00_33_34_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c784de05df3a4b15703248e9a36c40c8.jpg","text":"TemporaryFile(/tmp/multipartBody6087899681005001129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137883577,"filename":"image_31122025_00_34_04_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/119dcb20ac0140c355b706d53a9a4bf0.jpg","text":"TemporaryFile(/tmp/multipartBody7134676774224430281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137883577,"filename":"image_31122025_00_33_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5d0c8a88223676335fff79552db8f58.jpg","text":"TemporaryFile(/tmp/multipartBody8827401630993347887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137883577,"filename":"image_31122025_00_34_24_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abfb093375847187cb4c4706e787f53b.jpg","text":"TemporaryFile(/tmp/multipartBody4069198557036679067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137883577,"filename":"image_31122025_00_33_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fca57a1b747300cf584e48e6f0576ab9.jpg","text":"TemporaryFile(/tmp/multipartBody6073165199403971423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137883577,"filename":"image_31122025_00_34_44_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806587","file1":"1401806583","file0":"1401806581","file4":"1401806592","file5":"1401806594","file3":"1401806590"},"map_files_photo_id_array":[{"photo_id":"1401806594","filename":"file5"},{"photo_id":"1401806587","filename":"file2"},{"photo_id":"1401806592","filename":"file4"},{"photo_id":"1401806583","filename":"file1"},{"photo_id":"1401806581","filename":"file0"},{"photo_id":"1401806590","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806581":["hashtag1","hashtag2"]},{"1401806590":["hashtag1","hashtag2"]},{"1401806587":["hashtag1","hashtag2"]},{"1401806592":["hashtag1","hashtag2"]},{"1401806583":["hashtag1","hashtag2"]},{"1401806594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806581, 1401806590, 1401806587, 1401806592, 1401806583, 1401806594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93006634712219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:37:42.129677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_42_2597.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_48_3556.jpg', '/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_53_2696.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_02_2725.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_06_3690.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_09_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_42_2597.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_48_3556.jpg
/home/pi/Desktop/images/02112025/19/48/image_02112025_19_48_53_2696.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_02_2725.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_06_3690.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_09_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806609","1401806611","1401806602","1401806605","1401806610","1401806607"],"photo_ids_order":["1401806602","1401806605","1401806607","1401806609","1401806610","1401806611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/594260a89143730dd3662a935964c320.jpg","text":"TemporaryFile(/tmp/multipartBody2540137157874693835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137923929,"filename":"image_02112025_19_49_02_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23c8931a12ea3217eb2c03d612c7bf77.jpg","text":"TemporaryFile(/tmp/multipartBody5618030165777744070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137923929,"filename":"image_02112025_19_49_09_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4373859193823dafd0477048adee2e2.jpg","text":"TemporaryFile(/tmp/multipartBody4885361236439712081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137923929,"filename":"image_02112025_19_48_42_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e13a6169e2301300cb538b2294c9fb85.jpg","text":"TemporaryFile(/tmp/multipartBody6845747308235836818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137923929,"filename":"image_02112025_19_48_48_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9737a662ff9b03cf6efc83da81f8e287.jpg","text":"TemporaryFile(/tmp/multipartBody7796410325477544624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137923929,"filename":"image_02112025_19_49_06_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ef1e175ed451960ec44e8b1ba03c4a3.jpg","text":"TemporaryFile(/tmp/multipartBody7439550410215246815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137923929,"filename":"image_02112025_19_48_53_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806607","file1":"1401806605","file0":"1401806602","file4":"1401806610","file5":"1401806611","file3":"1401806609"},"map_files_photo_id_array":[{"photo_id":"1401806611","filename":"file5"},{"photo_id":"1401806607","filename":"file2"},{"photo_id":"1401806610","filename":"file4"},{"photo_id":"1401806605","filename":"file1"},{"photo_id":"1401806602","filename":"file0"},{"photo_id":"1401806609","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806609":["hashtag1","hashtag2"]},{"1401806611":["hashtag1","hashtag2"]},{"1401806602":["hashtag1","hashtag2"]},{"1401806605":["hashtag1","hashtag2"]},{"1401806610":["hashtag1","hashtag2"]},{"1401806607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806609, 1401806611, 1401806602, 1401806605, 1401806610, 1401806607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86159324645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:38:22.282766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/34/image_31122025_00_34_54_9560.jpg', '/home/pi/Desktop/images/31122025/00/34/image_31122025_00_35_04_10590.jpg', '/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_14_9572.jpg', '/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_25_10627.jpg', '/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_34_9694.jpg', '/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_44_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/34/image_31122025_00_34_54_9560.jpg
/home/pi/Desktop/images/31122025/00/34/image_31122025_00_35_04_10590.jpg
/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_14_9572.jpg
/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_25_10627.jpg
/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_34_9694.jpg
/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_44_9853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806648","1401806624","1401806632","1401806637","1401806619","1401806628"],"photo_ids_order":["1401806619","1401806624","1401806628","1401806632","1401806637","1401806648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27676d969107e3773e106e9def8d5bd4.jpg","text":"TemporaryFile(/tmp/multipartBody297564378642251172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137962877,"filename":"image_31122025_00_35_44_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab2e423dc4103659aaa20a3cebfb7358.jpg","text":"TemporaryFile(/tmp/multipartBody6056787518285787734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137962877,"filename":"image_31122025_00_35_04_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee048793c180229a7b0b6b62d8fe97e6.jpg","text":"TemporaryFile(/tmp/multipartBody3931486704939775435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137962877,"filename":"image_31122025_00_35_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8d6e437fba848b9f966d81bacb60c98.jpg","text":"TemporaryFile(/tmp/multipartBody1807505903882791455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137962877,"filename":"image_31122025_00_35_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31e24be058a8fa37b6ee56949997f96a.jpg","text":"TemporaryFile(/tmp/multipartBody4863465678903056065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137962877,"filename":"image_31122025_00_34_54_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f32c35668c755729a405135cc77bc8a.jpg","text":"TemporaryFile(/tmp/multipartBody8130670419371299544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767137962877,"filename":"image_31122025_00_35_14_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806628","file1":"1401806624","file0":"1401806619","file4":"1401806637","file5":"1401806648","file3":"1401806632"},"map_files_photo_id_array":[{"photo_id":"1401806648","filename":"file5"},{"photo_id":"1401806628","filename":"file2"},{"photo_id":"1401806637","filename":"file4"},{"photo_id":"1401806624","filename":"file1"},{"photo_id":"1401806619","filename":"file0"},{"photo_id":"1401806632","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806648":["hashtag1","hashtag2"]},{"1401806624":["hashtag1","hashtag2"]},{"1401806632":["hashtag1","hashtag2"]},{"1401806637":["hashtag1","hashtag2"]},{"1401806619":["hashtag1","hashtag2"]},{"1401806628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806648, 1401806624, 1401806632, 1401806637, 1401806619, 1401806628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20324087142944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:39:03.448655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_54_9668.jpg', '/home/pi/Desktop/images/31122025/00/35/image_31122025_00_36_05_10642.jpg', '/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_14_9626.jpg', '/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_24_9719.jpg', '/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_35_10732.jpg', '/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_44_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/35/image_31122025_00_35_54_9668.jpg
/home/pi/Desktop/images/31122025/00/35/image_31122025_00_36_05_10642.jpg
/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_14_9626.jpg
/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_24_9719.jpg
/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_35_10732.jpg
/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_44_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806668","1401806673","1401806661","1401806655","1401806664","1401806658"],"photo_ids_order":["1401806655","1401806658","1401806661","1401806664","1401806668","1401806673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f17a7b4385e3d991e097391d9f7512e0.jpg","text":"TemporaryFile(/tmp/multipartBody8782117006273974859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138004262,"filename":"image_31122025_00_36_35_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dab1d33c31183e8e293d844093c582a6.jpg","text":"TemporaryFile(/tmp/multipartBody2701894495158197447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138004262,"filename":"image_31122025_00_36_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d2b1026aa34d4868880dec56ea93291.jpg","text":"TemporaryFile(/tmp/multipartBody1258173967759829700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138004262,"filename":"image_31122025_00_36_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39137211b381cc4eef38c41533a4e49c.jpg","text":"TemporaryFile(/tmp/multipartBody63276010033551817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138004262,"filename":"image_31122025_00_35_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b79a773e04f8f307a25935352a00bf3.jpg","text":"TemporaryFile(/tmp/multipartBody292921195517453498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138004262,"filename":"image_31122025_00_36_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1d1d0b0426c859a6fc6c628ad1b9ab1.jpg","text":"TemporaryFile(/tmp/multipartBody2478447540329256789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138004262,"filename":"image_31122025_00_36_05_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806661","file1":"1401806658","file0":"1401806655","file4":"1401806668","file5":"1401806673","file3":"1401806664"},"map_files_photo_id_array":[{"photo_id":"1401806673","filename":"file5"},{"photo_id":"1401806661","filename":"file2"},{"photo_id":"1401806668","filename":"file4"},{"photo_id":"1401806658","filename":"file1"},{"photo_id":"1401806655","filename":"file0"},{"photo_id":"1401806664","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806668":["hashtag1","hashtag2"]},{"1401806673":["hashtag1","hashtag2"]},{"1401806661":["hashtag1","hashtag2"]},{"1401806655":["hashtag1","hashtag2"]},{"1401806664":["hashtag1","hashtag2"]},{"1401806658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806668, 1401806673, 1401806661, 1401806655, 1401806664, 1401806658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29079747200012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:39:42.491281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_21_2718.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_23_2685.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_27_3623.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_35_2665.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_39_3687.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_50_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_21_2718.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_23_2685.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_27_3623.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_35_2665.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_39_3687.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_50_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806692","1401806686","1401806688","1401806682","1401806679","1401806684"],"photo_ids_order":["1401806679","1401806682","1401806684","1401806686","1401806688","1401806692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bf8b6b7f2bad7c4fed54eaaaa900651.jpg","text":"TemporaryFile(/tmp/multipartBody67355497913217352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138044391,"filename":"image_02112025_19_49_50_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58da723a5b693d65a50e78c36b7fec80.jpg","text":"TemporaryFile(/tmp/multipartBody7712255153782007904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138044391,"filename":"image_02112025_19_49_35_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96d61734be6da8cee50d0b0d72f10670.jpg","text":"TemporaryFile(/tmp/multipartBody8151307483680220420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138044391,"filename":"image_02112025_19_49_39_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebbb3df74632f48e07fa09c672d4b714.jpg","text":"TemporaryFile(/tmp/multipartBody5070123056184751046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138044391,"filename":"image_02112025_19_49_23_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93b290b950d6fbed1a0c6c983ab69c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1657050726633217161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138044391,"filename":"image_02112025_19_49_21_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aeb7eb7af529a3fec8c0aced07c24433.jpg","text":"TemporaryFile(/tmp/multipartBody5466930245528420802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138044391,"filename":"image_02112025_19_49_27_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806684","file1":"1401806682","file0":"1401806679","file4":"1401806688","file5":"1401806692","file3":"1401806686"},"map_files_photo_id_array":[{"photo_id":"1401806692","filename":"file5"},{"photo_id":"1401806684","filename":"file2"},{"photo_id":"1401806688","filename":"file4"},{"photo_id":"1401806682","filename":"file1"},{"photo_id":"1401806679","filename":"file0"},{"photo_id":"1401806686","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806692":["hashtag1","hashtag2"]},{"1401806686":["hashtag1","hashtag2"]},{"1401806688":["hashtag1","hashtag2"]},{"1401806682":["hashtag1","hashtag2"]},{"1401806679":["hashtag1","hashtag2"]},{"1401806684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806692, 1401806686, 1401806688, 1401806682, 1401806679, 1401806684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66825079917908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:40:22.735470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_54_9542.jpg', '/home/pi/Desktop/images/31122025/00/36/image_31122025_00_37_04_10629.jpg', '/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_14_9609.jpg', '/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_25_10631.jpg', '/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_34_9826.jpg', '/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/36/image_31122025_00_36_54_9542.jpg
/home/pi/Desktop/images/31122025/00/36/image_31122025_00_37_04_10629.jpg
/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_14_9609.jpg
/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_25_10631.jpg
/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_34_9826.jpg
/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806725","1401806710","1401806713","1401806707","1401806736","1401806739"],"photo_ids_order":["1401806707","1401806710","1401806713","1401806725","1401806736","1401806739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d80593667e65b02c2a9147ae63a02187.jpg","text":"TemporaryFile(/tmp/multipartBody4329006098098636480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138083319,"filename":"image_31122025_00_37_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd380bd50723a271db701a0856e73b36.jpg","text":"TemporaryFile(/tmp/multipartBody7573294443556967003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138083319,"filename":"image_31122025_00_37_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cd4f53261cb2aed7e71967a68d0f1a6.jpg","text":"TemporaryFile(/tmp/multipartBody7436961647391096290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138083319,"filename":"image_31122025_00_37_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7b9644faed3ea7ad2b6becce754863c.jpg","text":"TemporaryFile(/tmp/multipartBody5342346098103198006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138083319,"filename":"image_31122025_00_36_54_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3cd33a7181aab90fee6cf851dda81e4.jpg","text":"TemporaryFile(/tmp/multipartBody7555842930928885985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138083319,"filename":"image_31122025_00_37_34_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acab3c4e56dd8e6e3f732c6e37644653.jpg","text":"TemporaryFile(/tmp/multipartBody72913830821947692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138083319,"filename":"image_31122025_00_37_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806713","file1":"1401806710","file0":"1401806707","file4":"1401806736","file5":"1401806739","file3":"1401806725"},"map_files_photo_id_array":[{"photo_id":"1401806739","filename":"file5"},{"photo_id":"1401806713","filename":"file2"},{"photo_id":"1401806736","filename":"file4"},{"photo_id":"1401806710","filename":"file1"},{"photo_id":"1401806707","filename":"file0"},{"photo_id":"1401806725","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806725":["hashtag1","hashtag2"]},{"1401806710":["hashtag1","hashtag2"]},{"1401806713":["hashtag1","hashtag2"]},{"1401806707":["hashtag1","hashtag2"]},{"1401806736":["hashtag1","hashtag2"]},{"1401806739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806725, 1401806710, 1401806713, 1401806707, 1401806736, 1401806739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68518257141113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:41:03.510661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_55_10572.jpg', '/home/pi/Desktop/images/31122025/00/37/image_31122025_00_38_04_9609.jpg', '/home/pi/Desktop/images/31122025/00/38/image_31122025_00_38_14_9754.jpg', '/home/pi/Desktop/images/31122025/00/38/image_31122025_00_38_25_10630.jpg', '/home/pi/Desktop/images/31122025/00/38/image_31122025_00_38_54_9861.jpg', '/home/pi/Desktop/images/31122025/00/38/image_31122025_00_39_05_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/37/image_31122025_00_37_55_10572.jpg
/home/pi/Desktop/images/31122025/00/37/image_31122025_00_38_04_9609.jpg
/home/pi/Desktop/images/31122025/00/38/image_31122025_00_38_14_9754.jpg
/home/pi/Desktop/images/31122025/00/38/image_31122025_00_38_25_10630.jpg
/home/pi/Desktop/images/31122025/00/38/image_31122025_00_38_54_9861.jpg
/home/pi/Desktop/images/31122025/00/38/image_31122025_00_39_05_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806753","1401806755","1401806764","1401806749","1401806760","1401806751"],"photo_ids_order":["1401806749","1401806751","1401806753","1401806755","1401806760","1401806764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d31a90b46bec017cddec179326c26729.jpg","text":"TemporaryFile(/tmp/multipartBody8783347166162088195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138124152,"filename":"image_31122025_00_38_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9113d73924b8b52184c4ce1b4b87415.jpg","text":"TemporaryFile(/tmp/multipartBody2675088497123461694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138124152,"filename":"image_31122025_00_38_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a7772fdafac8911641b19d3014b05ea.jpg","text":"TemporaryFile(/tmp/multipartBody3164504242129907736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138124152,"filename":"image_31122025_00_39_05_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0d864b26c1e4c0063bbee092ec8910a.jpg","text":"TemporaryFile(/tmp/multipartBody7049020234624137444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138124152,"filename":"image_31122025_00_37_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b585f282f26c5c017026a601734febe1.jpg","text":"TemporaryFile(/tmp/multipartBody4436866381269667673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138124152,"filename":"image_31122025_00_38_54_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a30093c3d92802ffbe8658ce8e980d9.jpg","text":"TemporaryFile(/tmp/multipartBody7769616121051553183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138124152,"filename":"image_31122025_00_38_04_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806753","file1":"1401806751","file0":"1401806749","file4":"1401806760","file5":"1401806764","file3":"1401806755"},"map_files_photo_id_array":[{"photo_id":"1401806764","filename":"file5"},{"photo_id":"1401806753","filename":"file2"},{"photo_id":"1401806760","filename":"file4"},{"photo_id":"1401806751","filename":"file1"},{"photo_id":"1401806749","filename":"file0"},{"photo_id":"1401806755","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806753":["hashtag1","hashtag2"]},{"1401806755":["hashtag1","hashtag2"]},{"1401806764":["hashtag1","hashtag2"]},{"1401806749":["hashtag1","hashtag2"]},{"1401806760":["hashtag1","hashtag2"]},{"1401806751":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806753, 1401806755, 1401806764, 1401806749, 1401806760, 1401806751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.369744062423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:41:42.945798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_54_3858.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_56_2586.jpg', '/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_59_2636.jpg', '/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_06_2991.jpg', '/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_08_2648.jpg', '/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_23_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_54_3858.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_56_2586.jpg
/home/pi/Desktop/images/02112025/19/49/image_02112025_19_49_59_2636.jpg
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_06_2991.jpg
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_08_2648.jpg
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_23_2804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806774","1401806776","1401806772","1401806775","1401806780","1401806777"],"photo_ids_order":["1401806772","1401806774","1401806775","1401806776","1401806777","1401806780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26747595ce02257f6f13da5f7cebbc92.jpg","text":"TemporaryFile(/tmp/multipartBody7825590806280987431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138164835,"filename":"image_02112025_19_49_56_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a108507dc14d7c2a82d2ac8ef385b99b.jpg","text":"TemporaryFile(/tmp/multipartBody5336218830251914850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138164835,"filename":"image_02112025_19_50_06_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/482e59ff2791bf44ede19e5917b7c9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1920686264243114206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138164835,"filename":"image_02112025_19_49_54_3858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29f528c8a9679892e97d684dd51568a6.jpg","text":"TemporaryFile(/tmp/multipartBody521568047466414445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138164835,"filename":"image_02112025_19_49_59_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/253e2a7d674437dd06412b525000bf1b.jpg","text":"TemporaryFile(/tmp/multipartBody7691672125346892389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138164835,"filename":"image_02112025_19_50_23_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcc9125a3e7acc9b02385324a3f9d7de.jpg","text":"TemporaryFile(/tmp/multipartBody3578929481455741797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138164835,"filename":"image_02112025_19_50_08_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806775","file1":"1401806774","file0":"1401806772","file4":"1401806777","file5":"1401806780","file3":"1401806776"},"map_files_photo_id_array":[{"photo_id":"1401806780","filename":"file5"},{"photo_id":"1401806775","filename":"file2"},{"photo_id":"1401806777","filename":"file4"},{"photo_id":"1401806774","filename":"file1"},{"photo_id":"1401806772","filename":"file0"},{"photo_id":"1401806776","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806774":["hashtag1","hashtag2"]},{"1401806776":["hashtag1","hashtag2"]},{"1401806772":["hashtag1","hashtag2"]},{"1401806775":["hashtag1","hashtag2"]},{"1401806780":["hashtag1","hashtag2"]},{"1401806777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806774, 1401806776, 1401806772, 1401806775, 1401806780, 1401806777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23198628425598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:42:22.167844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/39/image_31122025_00_39_24_9836.jpg', '/home/pi/Desktop/images/31122025/00/39/image_31122025_00_39_34_9730.jpg', '/home/pi/Desktop/images/31122025/00/39/image_31122025_00_39_45_10819.jpg', '/home/pi/Desktop/images/31122025/00/39/image_31122025_00_39_54_9576.jpg', '/home/pi/Desktop/images/31122025/00/39/image_31122025_00_40_04_9637.jpg', '/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_14_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/39/image_31122025_00_39_24_9836.jpg
/home/pi/Desktop/images/31122025/00/39/image_31122025_00_39_34_9730.jpg
/home/pi/Desktop/images/31122025/00/39/image_31122025_00_39_45_10819.jpg
/home/pi/Desktop/images/31122025/00/39/image_31122025_00_39_54_9576.jpg
/home/pi/Desktop/images/31122025/00/39/image_31122025_00_40_04_9637.jpg
/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_14_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806801","1401806791","1401806794","1401806806","1401806803","1401806787"],"photo_ids_order":["1401806787","1401806791","1401806794","1401806801","1401806803","1401806806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8cd10845b8737bf579c943bea3c1e35.jpg","text":"TemporaryFile(/tmp/multipartBody6532774254480898074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138202758,"filename":"image_31122025_00_39_54_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f422bc19b15b5f60c038e247e1e47d2b.jpg","text":"TemporaryFile(/tmp/multipartBody6057970317664225121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138202758,"filename":"image_31122025_00_39_34_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5597ce4cd37b366ca3d0b5564dbfdb9a.jpg","text":"TemporaryFile(/tmp/multipartBody7752207797986746426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138202758,"filename":"image_31122025_00_39_45_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7d8a7aebcb2f2759369337a642fef38.jpg","text":"TemporaryFile(/tmp/multipartBody4209623320821484904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138202758,"filename":"image_31122025_00_40_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e21ba403e587b5670cab81b252a021ed.jpg","text":"TemporaryFile(/tmp/multipartBody1199679372506129859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138202758,"filename":"image_31122025_00_40_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54fcc798c5f83d115475dc817323177a.jpg","text":"TemporaryFile(/tmp/multipartBody6991383386706834880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138202758,"filename":"image_31122025_00_39_24_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806794","file1":"1401806791","file0":"1401806787","file4":"1401806803","file5":"1401806806","file3":"1401806801"},"map_files_photo_id_array":[{"photo_id":"1401806806","filename":"file5"},{"photo_id":"1401806794","filename":"file2"},{"photo_id":"1401806803","filename":"file4"},{"photo_id":"1401806791","filename":"file1"},{"photo_id":"1401806787","filename":"file0"},{"photo_id":"1401806801","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806801":["hashtag1","hashtag2"]},{"1401806791":["hashtag1","hashtag2"]},{"1401806794":["hashtag1","hashtag2"]},{"1401806806":["hashtag1","hashtag2"]},{"1401806803":["hashtag1","hashtag2"]},{"1401806787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806801, 1401806791, 1401806794, 1401806806, 1401806803, 1401806787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12830567359924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:43:02.892851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_24_10664.jpg', '/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_34_9691.jpg', '/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_45_10553.jpg', '/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_54_9813.jpg', '/home/pi/Desktop/images/31122025/00/40/image_31122025_00_41_04_9717.jpg', '/home/pi/Desktop/images/31122025/00/41/image_31122025_00_41_14_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_24_10664.jpg
/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_34_9691.jpg
/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_45_10553.jpg
/home/pi/Desktop/images/31122025/00/40/image_31122025_00_40_54_9813.jpg
/home/pi/Desktop/images/31122025/00/40/image_31122025_00_41_04_9717.jpg
/home/pi/Desktop/images/31122025/00/41/image_31122025_00_41_14_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806828","1401806822","1401806816","1401806824","1401806818","1401806826"],"photo_ids_order":["1401806816","1401806818","1401806822","1401806824","1401806826","1401806828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b3f8a070c2433c41d748178fc172f82.jpg","text":"TemporaryFile(/tmp/multipartBody8460669667149444242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138243536,"filename":"image_31122025_00_41_14_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22c71858c6acd0c808c0fed4d4af8133.jpg","text":"TemporaryFile(/tmp/multipartBody4829556144824606384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138243536,"filename":"image_31122025_00_40_45_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5d52086578407fcbbd6fa9f6c136037.jpg","text":"TemporaryFile(/tmp/multipartBody8125084680517964659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138243536,"filename":"image_31122025_00_40_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/656a604fb233f4aeb48d08893ce881e5.jpg","text":"TemporaryFile(/tmp/multipartBody8141189573307160651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138243536,"filename":"image_31122025_00_40_54_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c73974fd7d3ee6e5a5ad7f2c7e46478a.jpg","text":"TemporaryFile(/tmp/multipartBody6930044676446827959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138243536,"filename":"image_31122025_00_40_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3069b839fb472f5b10c93bb3e185c21b.jpg","text":"TemporaryFile(/tmp/multipartBody6290578654880698627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138243536,"filename":"image_31122025_00_41_04_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806822","file1":"1401806818","file0":"1401806816","file4":"1401806826","file5":"1401806828","file3":"1401806824"},"map_files_photo_id_array":[{"photo_id":"1401806828","filename":"file5"},{"photo_id":"1401806822","filename":"file2"},{"photo_id":"1401806826","filename":"file4"},{"photo_id":"1401806818","filename":"file1"},{"photo_id":"1401806816","filename":"file0"},{"photo_id":"1401806824","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806828":["hashtag1","hashtag2"]},{"1401806822":["hashtag1","hashtag2"]},{"1401806816":["hashtag1","hashtag2"]},{"1401806824":["hashtag1","hashtag2"]},{"1401806818":["hashtag1","hashtag2"]},{"1401806826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806828, 1401806822, 1401806816, 1401806824, 1401806818, 1401806826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73751640319824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:43:42.332740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_29_2717.jpg', '/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_32_2603.jpg', '/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_36_3785.jpg', '/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_38_2819.jpg', '/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_41_2668.jpg', '/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_53_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_29_2717.jpg
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_32_2603.jpg
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_36_3785.jpg
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_38_2819.jpg
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_41_2668.jpg
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_50_53_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806846","1401806851","1401806848","1401806850","1401806838","1401806843"],"photo_ids_order":["1401806838","1401806843","1401806846","1401806848","1401806850","1401806851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a811509880ee6e8637c42f6c1cd7a330.jpg","text":"TemporaryFile(/tmp/multipartBody8653628417672199289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138284223,"filename":"image_02112025_19_50_36_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01ae660fc526909d9c2dfdd6d783c32f.jpg","text":"TemporaryFile(/tmp/multipartBody3089622328830581974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138284223,"filename":"image_02112025_19_50_53_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e84018a21aa89415824af171b50a058.jpg","text":"TemporaryFile(/tmp/multipartBody9061789898520926416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138284223,"filename":"image_02112025_19_50_38_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2dd90c514d0405a3099dde7493b2635.jpg","text":"TemporaryFile(/tmp/multipartBody4485694551187340536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138284223,"filename":"image_02112025_19_50_41_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/233475c74bed135283eaa602fbdec2f8.jpg","text":"TemporaryFile(/tmp/multipartBody4642648897812275572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138284223,"filename":"image_02112025_19_50_29_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0908305b3ae4aaae477279188514ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6522366122640093213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138284223,"filename":"image_02112025_19_50_32_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806846","file1":"1401806843","file0":"1401806838","file4":"1401806850","file5":"1401806851","file3":"1401806848"},"map_files_photo_id_array":[{"photo_id":"1401806851","filename":"file5"},{"photo_id":"1401806846","filename":"file2"},{"photo_id":"1401806850","filename":"file4"},{"photo_id":"1401806843","filename":"file1"},{"photo_id":"1401806838","filename":"file0"},{"photo_id":"1401806848","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806846":["hashtag1","hashtag2"]},{"1401806851":["hashtag1","hashtag2"]},{"1401806848":["hashtag1","hashtag2"]},{"1401806850":["hashtag1","hashtag2"]},{"1401806838":["hashtag1","hashtag2"]},{"1401806843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806846, 1401806851, 1401806848, 1401806850, 1401806838, 1401806843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00332689285278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:44:22.546944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/41/image_31122025_00_41_34_9779.jpg', '/home/pi/Desktop/images/31122025/00/41/image_31122025_00_41_44_9523.jpg', '/home/pi/Desktop/images/31122025/00/41/image_31122025_00_41_55_10762.jpg', '/home/pi/Desktop/images/31122025/00/41/image_31122025_00_42_04_9606.jpg', '/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_14_9802.jpg', '/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_24_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/41/image_31122025_00_41_34_9779.jpg
/home/pi/Desktop/images/31122025/00/41/image_31122025_00_41_44_9523.jpg
/home/pi/Desktop/images/31122025/00/41/image_31122025_00_41_55_10762.jpg
/home/pi/Desktop/images/31122025/00/41/image_31122025_00_42_04_9606.jpg
/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_14_9802.jpg
/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_24_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806863","1401806868","1401806882","1401806885","1401806879","1401806858"],"photo_ids_order":["1401806858","1401806863","1401806868","1401806879","1401806882","1401806885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fbe607916d70930b93429e5df0a0337.jpg","text":"TemporaryFile(/tmp/multipartBody4662703371404139965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138323132,"filename":"image_31122025_00_41_44_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8fca2d33690bb2342376f6ea37e352e.jpg","text":"TemporaryFile(/tmp/multipartBody2447487415476256874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138323132,"filename":"image_31122025_00_41_55_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3681a3e8e61f1c187e0f335b1552348.jpg","text":"TemporaryFile(/tmp/multipartBody3404167624298410180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138323132,"filename":"image_31122025_00_42_14_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36f71aac9711db92d8ad8ed8d93c4076.jpg","text":"TemporaryFile(/tmp/multipartBody7732093103618261130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138323132,"filename":"image_31122025_00_42_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3794eac1d4495ea3f995073629c24c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1648921383622067945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138323132,"filename":"image_31122025_00_42_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ff8af427ae091c1e60ab04a2843e616.jpg","text":"TemporaryFile(/tmp/multipartBody8637755176937994724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138323132,"filename":"image_31122025_00_41_34_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806868","file1":"1401806863","file0":"1401806858","file4":"1401806882","file5":"1401806885","file3":"1401806879"},"map_files_photo_id_array":[{"photo_id":"1401806885","filename":"file5"},{"photo_id":"1401806868","filename":"file2"},{"photo_id":"1401806882","filename":"file4"},{"photo_id":"1401806863","filename":"file1"},{"photo_id":"1401806858","filename":"file0"},{"photo_id":"1401806879","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806863":["hashtag1","hashtag2"]},{"1401806868":["hashtag1","hashtag2"]},{"1401806882":["hashtag1","hashtag2"]},{"1401806885":["hashtag1","hashtag2"]},{"1401806879":["hashtag1","hashtag2"]},{"1401806858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806863, 1401806868, 1401806882, 1401806885, 1401806879, 1401806858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19928693771362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:45:03.447852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_34_10673.jpg', '/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_44_9614.jpg', '/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_54_9716.jpg', '/home/pi/Desktop/images/31122025/00/42/image_31122025_00_43_05_10785.jpg', '/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_14_9778.jpg', '/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_24_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_34_10673.jpg
/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_44_9614.jpg
/home/pi/Desktop/images/31122025/00/42/image_31122025_00_42_54_9716.jpg
/home/pi/Desktop/images/31122025/00/42/image_31122025_00_43_05_10785.jpg
/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_14_9778.jpg
/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_24_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806900","1401806903","1401806896","1401806911","1401806898","1401806907"],"photo_ids_order":["1401806896","1401806898","1401806900","1401806903","1401806907","1401806911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cb241295f4774061a2dbc87de0cddf3.jpg","text":"TemporaryFile(/tmp/multipartBody1924490300866861979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138364086,"filename":"image_31122025_00_42_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c30f802fedaf1e48abcf860de7ece6a.jpg","text":"TemporaryFile(/tmp/multipartBody2167646823952662360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138364086,"filename":"image_31122025_00_43_05_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f36a01b3dffa178529c7aab202c52930.jpg","text":"TemporaryFile(/tmp/multipartBody4659617052389187728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138364086,"filename":"image_31122025_00_42_34_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d44eb7f365e3d9f5a413ed1ec99ecb0.jpg","text":"TemporaryFile(/tmp/multipartBody4151110777487332465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138364086,"filename":"image_31122025_00_43_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba585f75c850e86822e133c494280ff0.jpg","text":"TemporaryFile(/tmp/multipartBody7573123178196629951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138364086,"filename":"image_31122025_00_42_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2eaca48df9920a40055bf32bc97d3641.jpg","text":"TemporaryFile(/tmp/multipartBody3465234367055986875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138364086,"filename":"image_31122025_00_43_14_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806900","file1":"1401806898","file0":"1401806896","file4":"1401806907","file5":"1401806911","file3":"1401806903"},"map_files_photo_id_array":[{"photo_id":"1401806911","filename":"file5"},{"photo_id":"1401806900","filename":"file2"},{"photo_id":"1401806907","filename":"file4"},{"photo_id":"1401806898","filename":"file1"},{"photo_id":"1401806896","filename":"file0"},{"photo_id":"1401806903","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806900":["hashtag1","hashtag2"]},{"1401806903":["hashtag1","hashtag2"]},{"1401806896":["hashtag1","hashtag2"]},{"1401806911":["hashtag1","hashtag2"]},{"1401806898":["hashtag1","hashtag2"]},{"1401806907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806900, 1401806903, 1401806896, 1401806911, 1401806898, 1401806907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88959622383118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:45:42.757473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/50/image_02112025_19_51_00_3622.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_02_2755.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_05_2717.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_12_3758.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_14_2675.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_17_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/50/image_02112025_19_51_00_3622.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_02_2755.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_05_2717.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_12_3758.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_14_2675.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_17_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806930","1401806924","1401806933","1401806921","1401806926","1401806928"],"photo_ids_order":["1401806921","1401806924","1401806926","1401806928","1401806930","1401806933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7543997c665086087c91cd330bc6f0d1.jpg","text":"TemporaryFile(/tmp/multipartBody5388709839162745958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138404650,"filename":"image_02112025_19_51_14_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/681d106d885499a1b99dc04361b5ce19.jpg","text":"TemporaryFile(/tmp/multipartBody8043828529513928478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138404650,"filename":"image_02112025_19_51_02_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c47ac1dd9795e0cc5bf059e25c2dde0.jpg","text":"TemporaryFile(/tmp/multipartBody8335577203227164707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138404650,"filename":"image_02112025_19_51_17_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ee308ebf004abdcf274416114f079d8.jpg","text":"TemporaryFile(/tmp/multipartBody4112108651556055029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138404650,"filename":"image_02112025_19_51_00_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a4e7d1cffb764011b574ab27702acfd.jpg","text":"TemporaryFile(/tmp/multipartBody2486930040171219226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138404650,"filename":"image_02112025_19_51_05_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7be80696a71328a5f5c97c2b528d2499.jpg","text":"TemporaryFile(/tmp/multipartBody997608588428463243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138404650,"filename":"image_02112025_19_51_12_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806926","file1":"1401806924","file0":"1401806921","file4":"1401806930","file5":"1401806933","file3":"1401806928"},"map_files_photo_id_array":[{"photo_id":"1401806933","filename":"file5"},{"photo_id":"1401806926","filename":"file2"},{"photo_id":"1401806930","filename":"file4"},{"photo_id":"1401806924","filename":"file1"},{"photo_id":"1401806921","filename":"file0"},{"photo_id":"1401806928","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401806930":["hashtag1","hashtag2"]},{"1401806924":["hashtag1","hashtag2"]},{"1401806933":["hashtag1","hashtag2"]},{"1401806921":["hashtag1","hashtag2"]},{"1401806926":["hashtag1","hashtag2"]},{"1401806928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401806930, 1401806924, 1401806933, 1401806921, 1401806926, 1401806928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33973407745361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:46:21.992385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_34_9565.jpg', '/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_44_10601.jpg', '/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_54_9861.jpg', '/home/pi/Desktop/images/31122025/00/43/image_31122025_00_44_04_9689.jpg', '/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_15_10627.jpg', '/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_24_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_34_9565.jpg
/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_44_10601.jpg
/home/pi/Desktop/images/31122025/00/43/image_31122025_00_43_54_9861.jpg
/home/pi/Desktop/images/31122025/00/43/image_31122025_00_44_04_9689.jpg
/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_15_10627.jpg
/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_24_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401806954","1401806959","1401806950","1401806944","1401806947","1401806952"],"photo_ids_order":["1401806944","1401806947","1401806950","1401806952","1401806954","1401806959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d329f2ae45b6a0e01a20ee62eb1f6c50.jpg","text":"TemporaryFile(/tmp/multipartBody8558576112494343001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138442579,"filename":"image_31122025_00_44_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8745c6e4e7d9266a491c04f20d0625e.jpg","text":"TemporaryFile(/tmp/multipartBody6671046984517423601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138442579,"filename":"image_31122025_00_44_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6e0da01dca8f2fcfed512d6c60bd92d.jpg","text":"TemporaryFile(/tmp/multipartBody1512080566455608972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138442579,"filename":"image_31122025_00_43_54_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f2854e6350719897eba9f3f7f700972.jpg","text":"TemporaryFile(/tmp/multipartBody6827523324363837164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138442579,"filename":"image_31122025_00_43_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a750af8253187da37a6f9209b4c31e7.jpg","text":"TemporaryFile(/tmp/multipartBody4568525217954616154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138442579,"filename":"image_31122025_00_43_44_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a4bacf841422f45d8765f927c1a2141.jpg","text":"TemporaryFile(/tmp/multipartBody2094759868339881839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138442579,"filename":"image_31122025_00_44_04_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806950","file1":"1401806947","file0":"1401806944","file4":"1401806954","file5":"1401806959","file3":"1401806952"},"map_files_photo_id_array":[{"photo_id":"1401806959","filename":"file5"},{"photo_id":"1401806950","filename":"file2"},{"photo_id":"1401806954","filename":"file4"},{"photo_id":"1401806947","filename":"file1"},{"photo_id":"1401806944","filename":"file0"},{"photo_id":"1401806952","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401806954":["hashtag1","hashtag2"]},{"1401806959":["hashtag1","hashtag2"]},{"1401806950":["hashtag1","hashtag2"]},{"1401806944":["hashtag1","hashtag2"]},{"1401806947":["hashtag1","hashtag2"]},{"1401806952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401806954, 1401806959, 1401806950, 1401806944, 1401806947, 1401806952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57976245880127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:47:02.679095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_34_9673.jpg', '/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_44_9750.jpg', '/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_54_10612.jpg', '/home/pi/Desktop/images/31122025/00/44/image_31122025_00_45_04_9772.jpg', '/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_14_9663.jpg', '/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_24_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_34_9673.jpg
/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_44_9750.jpg
/home/pi/Desktop/images/31122025/00/44/image_31122025_00_44_54_10612.jpg
/home/pi/Desktop/images/31122025/00/44/image_31122025_00_45_04_9772.jpg
/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_14_9663.jpg
/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_24_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401807002","1401806986","1401806989","1401806993","1401806996","1401806999"],"photo_ids_order":["1401806986","1401806989","1401806993","1401806996","1401806999","1401807002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a1d25e432fa99c71843fc6c95d6a07a.jpg","text":"TemporaryFile(/tmp/multipartBody5543847352333332889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138483321,"filename":"image_31122025_00_45_24_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9925e802aa4153c20b45b6eb7096053.jpg","text":"TemporaryFile(/tmp/multipartBody2562089739824124577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138483321,"filename":"image_31122025_00_44_34_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ec4e2154054aa45cd9f86401a27f82c.jpg","text":"TemporaryFile(/tmp/multipartBody4921147031120386504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138483321,"filename":"image_31122025_00_44_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9304235912cc80f99a07ba9871c25e35.jpg","text":"TemporaryFile(/tmp/multipartBody4354106562344001398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138483321,"filename":"image_31122025_00_44_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7670c04c19e2238fa462f93a730fb539.jpg","text":"TemporaryFile(/tmp/multipartBody8428706108238049532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138483321,"filename":"image_31122025_00_45_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9ca85c3fbccc0e909a59aafafa21b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8197331759607927008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138483321,"filename":"image_31122025_00_45_14_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401806993","file1":"1401806989","file0":"1401806986","file4":"1401806999","file5":"1401807002","file3":"1401806996"},"map_files_photo_id_array":[{"photo_id":"1401807002","filename":"file5"},{"photo_id":"1401806993","filename":"file2"},{"photo_id":"1401806999","filename":"file4"},{"photo_id":"1401806989","filename":"file1"},{"photo_id":"1401806986","filename":"file0"},{"photo_id":"1401806996","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401807002":["hashtag1","hashtag2"]},{"1401806986":["hashtag1","hashtag2"]},{"1401806989":["hashtag1","hashtag2"]},{"1401806993":["hashtag1","hashtag2"]},{"1401806996":["hashtag1","hashtag2"]},{"1401806999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401807002, 1401806986, 1401806989, 1401806993, 1401806996, 1401806999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.657148599624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:47:42.127315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_23_2819.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_27_3168.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_32_2641.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_41_2460.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_45_3705.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_50_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_23_2819.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_27_3168.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_32_2641.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_41_2460.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_45_3705.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_50_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401807020","1401807014","1401807017","1401807019","1401807018","1401807011"],"photo_ids_order":["1401807011","1401807014","1401807017","1401807018","1401807019","1401807020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf650b4afc1e7d39625c096921095888.jpg","text":"TemporaryFile(/tmp/multipartBody5019419802080395086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138524019,"filename":"image_02112025_19_51_50_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33cc7b903f1a629b0d07809d1f2160a5.jpg","text":"TemporaryFile(/tmp/multipartBody3578974390971957899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138524019,"filename":"image_02112025_19_51_27_3168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8df6c6b7fea10afb634549197e80b858.jpg","text":"TemporaryFile(/tmp/multipartBody1329137774567643870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138524019,"filename":"image_02112025_19_51_32_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b177d551196af82181716c050d6c6afd.jpg","text":"TemporaryFile(/tmp/multipartBody6098206206020305065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138524019,"filename":"image_02112025_19_51_45_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc9e38dde6ec05c4a0b88649bf0d2a32.jpg","text":"TemporaryFile(/tmp/multipartBody4964013709232909376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138524019,"filename":"image_02112025_19_51_41_2460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf68febcd59cd21ceb3f8e8de38aeb15.jpg","text":"TemporaryFile(/tmp/multipartBody4472595671566818120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138524019,"filename":"image_02112025_19_51_23_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401807017","file1":"1401807014","file0":"1401807011","file4":"1401807019","file5":"1401807020","file3":"1401807018"},"map_files_photo_id_array":[{"photo_id":"1401807020","filename":"file5"},{"photo_id":"1401807017","filename":"file2"},{"photo_id":"1401807019","filename":"file4"},{"photo_id":"1401807014","filename":"file1"},{"photo_id":"1401807011","filename":"file0"},{"photo_id":"1401807018","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401807020":["hashtag1","hashtag2"]},{"1401807014":["hashtag1","hashtag2"]},{"1401807017":["hashtag1","hashtag2"]},{"1401807019":["hashtag1","hashtag2"]},{"1401807018":["hashtag1","hashtag2"]},{"1401807011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401807020, 1401807014, 1401807017, 1401807019, 1401807018, 1401807011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.699158668518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:48:22.392112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_34_9674.jpg', '/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_44_9917.jpg', '/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_55_10688.jpg', '/home/pi/Desktop/images/31122025/00/45/image_31122025_00_46_04_9654.jpg', '/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_14_9918.jpg', '/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_24_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_34_9674.jpg
/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_44_9917.jpg
/home/pi/Desktop/images/31122025/00/45/image_31122025_00_45_55_10688.jpg
/home/pi/Desktop/images/31122025/00/45/image_31122025_00_46_04_9654.jpg
/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_14_9918.jpg
/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_24_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401807196","1401807154","1401807273","1401807111","1401807069","1401807236"],"photo_ids_order":["1401807069","1401807111","1401807154","1401807196","1401807236","1401807273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6994e28633561077f72b1872fdcbec68.jpg","text":"TemporaryFile(/tmp/multipartBody8433061737315292648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138563026,"filename":"image_31122025_00_46_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/443cd4bd15bd054ea0ebe7f450d7d1be.jpg","text":"TemporaryFile(/tmp/multipartBody1672989727284555379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138563026,"filename":"image_31122025_00_45_55_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54a1b458d4fae31d0f0f91b66f9f6983.jpg","text":"TemporaryFile(/tmp/multipartBody6165773876396130300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138563026,"filename":"image_31122025_00_46_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48047089fbf4363e5d1fcca59be21f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5312456553819668275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138563026,"filename":"image_31122025_00_45_44_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb61894910342fbbf1e5d9819261ec68.jpg","text":"TemporaryFile(/tmp/multipartBody3563711841607536052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138563026,"filename":"image_31122025_00_45_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/230578c8625b6ed95e7f6690593983c7.jpg","text":"TemporaryFile(/tmp/multipartBody8248034375804783241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138563026,"filename":"image_31122025_00_46_14_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401807154","file1":"1401807111","file0":"1401807069","file4":"1401807236","file5":"1401807273","file3":"1401807196"},"map_files_photo_id_array":[{"photo_id":"1401807273","filename":"file5"},{"photo_id":"1401807154","filename":"file2"},{"photo_id":"1401807236","filename":"file4"},{"photo_id":"1401807111","filename":"file1"},{"photo_id":"1401807069","filename":"file0"},{"photo_id":"1401807196","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401807196":["hashtag1","hashtag2"]},{"1401807154":["hashtag1","hashtag2"]},{"1401807273":["hashtag1","hashtag2"]},{"1401807111":["hashtag1","hashtag2"]},{"1401807069":["hashtag1","hashtag2"]},{"1401807236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401807196, 1401807154, 1401807273, 1401807111, 1401807069, 1401807236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04885911941528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:49:03.323988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_35_10714.jpg', '/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_44_9656.jpg', '/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_54_9688.jpg', '/home/pi/Desktop/images/31122025/00/46/image_31122025_00_47_04_9870.jpg', '/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_15_10758.jpg', '/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_25_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_35_10714.jpg
/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_44_9656.jpg
/home/pi/Desktop/images/31122025/00/46/image_31122025_00_46_54_9688.jpg
/home/pi/Desktop/images/31122025/00/46/image_31122025_00_47_04_9870.jpg
/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_15_10758.jpg
/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_25_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401807413","1401807565","1401807523","1401807606","1401807485","1401807449"],"photo_ids_order":["1401807413","1401807449","1401807485","1401807523","1401807565","1401807606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/976468c1c6e0f030fdd3a24efd1451cd.jpg","text":"TemporaryFile(/tmp/multipartBody576246494394546901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138604155,"filename":"image_31122025_00_46_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d441138170ec8258472ed182a14c7a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8680205517326070109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138604155,"filename":"image_31122025_00_47_15_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2ad9524a6e62d6cbdbbaaff31a3b2f6.jpg","text":"TemporaryFile(/tmp/multipartBody3737698201491741224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138604155,"filename":"image_31122025_00_47_04_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd2040e39065f9fd57102e1e89b61f5f.jpg","text":"TemporaryFile(/tmp/multipartBody1238043916478265026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138604155,"filename":"image_31122025_00_47_25_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1570f4b8702b3d1682bdd537717e0e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8010256119617652906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138604155,"filename":"image_31122025_00_46_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8978d12bf2a31199dc65fee4a5ddcd4b.jpg","text":"TemporaryFile(/tmp/multipartBody4606481943981488950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138604155,"filename":"image_31122025_00_46_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401807485","file1":"1401807449","file0":"1401807413","file4":"1401807565","file5":"1401807606","file3":"1401807523"},"map_files_photo_id_array":[{"photo_id":"1401807606","filename":"file5"},{"photo_id":"1401807485","filename":"file2"},{"photo_id":"1401807565","filename":"file4"},{"photo_id":"1401807449","filename":"file1"},{"photo_id":"1401807413","filename":"file0"},{"photo_id":"1401807523","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401807413":["hashtag1","hashtag2"]},{"1401807565":["hashtag1","hashtag2"]},{"1401807523":["hashtag1","hashtag2"]},{"1401807606":["hashtag1","hashtag2"]},{"1401807485":["hashtag1","hashtag2"]},{"1401807449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401807413, 1401807565, 1401807523, 1401807606, 1401807485, 1401807449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81386065483093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:49:42.597292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_53_2660.jpg', '/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_59_2785.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_08_2752.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_14_3712.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_17_2602.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_20_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_53_2660.jpg
/home/pi/Desktop/images/02112025/19/51/image_02112025_19_51_59_2785.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_08_2752.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_14_3712.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_17_2602.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_20_2860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401807815","1401807742","1401807811","1401807813","1401807782","1401807818"],"photo_ids_order":["1401807742","1401807782","1401807811","1401807813","1401807815","1401807818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa8a4349bc41d344e50369c8f2a02917.jpg","text":"TemporaryFile(/tmp/multipartBody61231933671706097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138644537,"filename":"image_02112025_19_52_17_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b513048377637c7ccc778c6074ee31e.jpg","text":"TemporaryFile(/tmp/multipartBody8250057657313284016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138644537,"filename":"image_02112025_19_51_53_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a78a4118fb70a933c812dd6d9db00fca.jpg","text":"TemporaryFile(/tmp/multipartBody1768775815558071500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138644537,"filename":"image_02112025_19_52_08_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e155f6e423bc3cdd9f7f3894ae872c34.jpg","text":"TemporaryFile(/tmp/multipartBody1482865221747223968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138644537,"filename":"image_02112025_19_52_14_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2105e1eee356f8baee9c6ba59ad898a.jpg","text":"TemporaryFile(/tmp/multipartBody3405400293279714252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138644537,"filename":"image_02112025_19_51_59_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b1c40f2ac86200f35877818bf7e6bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4744359789086530996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138644537,"filename":"image_02112025_19_52_20_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401807811","file1":"1401807782","file0":"1401807742","file4":"1401807815","file5":"1401807818","file3":"1401807813"},"map_files_photo_id_array":[{"photo_id":"1401807818","filename":"file5"},{"photo_id":"1401807811","filename":"file2"},{"photo_id":"1401807815","filename":"file4"},{"photo_id":"1401807782","filename":"file1"},{"photo_id":"1401807742","filename":"file0"},{"photo_id":"1401807813","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401807815":["hashtag1","hashtag2"]},{"1401807742":["hashtag1","hashtag2"]},{"1401807811":["hashtag1","hashtag2"]},{"1401807813":["hashtag1","hashtag2"]},{"1401807782":["hashtag1","hashtag2"]},{"1401807818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401807815, 1401807742, 1401807811, 1401807813, 1401807782, 1401807818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.104650259017944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:50:22.800340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_34_9815.jpg', '/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_44_9535.jpg', '/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_54_10585.jpg', '/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_14_9599.jpg', '/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_24_10652.jpg', '/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_34_9531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_34_9815.jpg
/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_44_9535.jpg
/home/pi/Desktop/images/31122025/00/47/image_31122025_00_47_54_10585.jpg
/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_14_9599.jpg
/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_24_10652.jpg
/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_34_9531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401807987","1401807927","1401807890","1401807956","1401807959","1401807950"],"photo_ids_order":["1401807890","1401807927","1401807950","1401807956","1401807959","1401807987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef40798e9fa83c8ed170bbee1dbc9ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7630133926051198526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138683385,"filename":"image_31122025_00_48_34_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ed75101682db54c7728b7fb7518744e.jpg","text":"TemporaryFile(/tmp/multipartBody6712041419243048082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138683385,"filename":"image_31122025_00_47_44_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1680994f709bb16e17c6e0c2a8ea1b5d.jpg","text":"TemporaryFile(/tmp/multipartBody8402239780284598214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138683385,"filename":"image_31122025_00_47_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3a99d834df6bc7aed611b462d157596.jpg","text":"TemporaryFile(/tmp/multipartBody8528356273580292527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138683385,"filename":"image_31122025_00_48_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07d1e93830247e3f4dba8686dbebd6f3.jpg","text":"TemporaryFile(/tmp/multipartBody235311028628217218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138683385,"filename":"image_31122025_00_48_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2529850f3c597e335043c252d8af9b54.jpg","text":"TemporaryFile(/tmp/multipartBody1922071600035689143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138683385,"filename":"image_31122025_00_47_54_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401807950","file1":"1401807927","file0":"1401807890","file4":"1401807959","file5":"1401807987","file3":"1401807956"},"map_files_photo_id_array":[{"photo_id":"1401807987","filename":"file5"},{"photo_id":"1401807950","filename":"file2"},{"photo_id":"1401807959","filename":"file4"},{"photo_id":"1401807927","filename":"file1"},{"photo_id":"1401807890","filename":"file0"},{"photo_id":"1401807956","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401807987":["hashtag1","hashtag2"]},{"1401807927":["hashtag1","hashtag2"]},{"1401807890":["hashtag1","hashtag2"]},{"1401807956":["hashtag1","hashtag2"]},{"1401807959":["hashtag1","hashtag2"]},{"1401807950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401807987, 1401807927, 1401807890, 1401807956, 1401807959, 1401807950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69858717918396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:51:02.537047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_44_10546.jpg', '/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_54_9625.jpg', '/home/pi/Desktop/images/31122025/00/48/image_31122025_00_49_05_10525.jpg', '/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_15_10010.jpg', '/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_24_9612.jpg', '/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_34_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_44_10546.jpg
/home/pi/Desktop/images/31122025/00/48/image_31122025_00_48_54_9625.jpg
/home/pi/Desktop/images/31122025/00/48/image_31122025_00_49_05_10525.jpg
/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_15_10010.jpg
/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_24_9612.jpg
/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_34_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808083","1401808097","1401808076","1401808061","1401808093","1401808090"],"photo_ids_order":["1401808061","1401808076","1401808083","1401808090","1401808093","1401808097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a22a686648fe394d1ebf4c0e5b9c8ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5617629423841617189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138723218,"filename":"image_31122025_00_49_05_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c983842bc1ba6c36ad6df6610461896.jpg","text":"TemporaryFile(/tmp/multipartBody8187641092681303162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138723218,"filename":"image_31122025_00_49_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51378336446a92b36d66d11d4929a29f.jpg","text":"TemporaryFile(/tmp/multipartBody3731107779388674931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138723218,"filename":"image_31122025_00_48_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afea974268e472fb4c079507b2aaa92e.jpg","text":"TemporaryFile(/tmp/multipartBody5827307181469698498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138723218,"filename":"image_31122025_00_48_44_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dd84fce5c41c778cbddc69e9037469a.jpg","text":"TemporaryFile(/tmp/multipartBody4033797852888308784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138723218,"filename":"image_31122025_00_49_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6321a367505fc5c33cced31d8d145341.jpg","text":"TemporaryFile(/tmp/multipartBody7153719219833095780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138723218,"filename":"image_31122025_00_49_15_10010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808083","file1":"1401808076","file0":"1401808061","file4":"1401808093","file5":"1401808097","file3":"1401808090"},"map_files_photo_id_array":[{"photo_id":"1401808097","filename":"file5"},{"photo_id":"1401808083","filename":"file2"},{"photo_id":"1401808093","filename":"file4"},{"photo_id":"1401808076","filename":"file1"},{"photo_id":"1401808061","filename":"file0"},{"photo_id":"1401808090","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808083":["hashtag1","hashtag2"]},{"1401808097":["hashtag1","hashtag2"]},{"1401808076":["hashtag1","hashtag2"]},{"1401808061":["hashtag1","hashtag2"]},{"1401808093":["hashtag1","hashtag2"]},{"1401808090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808083, 1401808097, 1401808076, 1401808061, 1401808093, 1401808090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91289663314819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:51:41.897532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_23_2696.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_26_3764.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_33_1603.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_35_1783.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_38_3647.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_44_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_23_2696.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_26_3764.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_33_1603.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_35_1783.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_38_3647.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_44_2783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808111","1401808108","1401808110","1401808113","1401808109","1401808106"],"photo_ids_order":["1401808106","1401808108","1401808109","1401808110","1401808111","1401808113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08111197741948642eda0426acde9b21.jpg","text":"TemporaryFile(/tmp/multipartBody7053898723062375851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138763761,"filename":"image_02112025_19_52_38_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3241428cd67e0083ab3672d47758ac60.jpg","text":"TemporaryFile(/tmp/multipartBody6379813707143382555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138763761,"filename":"image_02112025_19_52_26_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6364a7933096041594659c1e2e1876d5.jpg","text":"TemporaryFile(/tmp/multipartBody2448617148019965252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138763761,"filename":"image_02112025_19_52_35_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8167584d5728e35df01fda4dac51d031.jpg","text":"TemporaryFile(/tmp/multipartBody2506901024675070752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138763761,"filename":"image_02112025_19_52_44_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/655c372c3c63c6d322ea549f6a718f04.jpg","text":"TemporaryFile(/tmp/multipartBody1585153168284278226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138763761,"filename":"image_02112025_19_52_33_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63af99d490e11c74baaa03a7808fa656.jpg","text":"TemporaryFile(/tmp/multipartBody3321862927263906067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138763761,"filename":"image_02112025_19_52_23_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808109","file1":"1401808108","file0":"1401808106","file4":"1401808111","file5":"1401808113","file3":"1401808110"},"map_files_photo_id_array":[{"photo_id":"1401808113","filename":"file5"},{"photo_id":"1401808109","filename":"file2"},{"photo_id":"1401808111","filename":"file4"},{"photo_id":"1401808108","filename":"file1"},{"photo_id":"1401808106","filename":"file0"},{"photo_id":"1401808110","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401808111":["hashtag1","hashtag2"]},{"1401808108":["hashtag1","hashtag2"]},{"1401808110":["hashtag1","hashtag2"]},{"1401808113":["hashtag1","hashtag2"]},{"1401808109":["hashtag1","hashtag2"]},{"1401808106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401808111, 1401808108, 1401808110, 1401808113, 1401808109, 1401808106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36063861846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:52:22.154482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_44_10565.jpg', '/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_54_9679.jpg', '/home/pi/Desktop/images/31122025/00/49/image_31122025_00_50_04_9607.jpg', '/home/pi/Desktop/images/31122025/00/50/image_31122025_00_50_15_10920.jpg', '/home/pi/Desktop/images/31122025/00/50/image_31122025_00_50_34_9719.jpg', '/home/pi/Desktop/images/31122025/00/50/image_31122025_00_50_44_10175.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_44_10565.jpg
/home/pi/Desktop/images/31122025/00/49/image_31122025_00_49_54_9679.jpg
/home/pi/Desktop/images/31122025/00/49/image_31122025_00_50_04_9607.jpg
/home/pi/Desktop/images/31122025/00/50/image_31122025_00_50_15_10920.jpg
/home/pi/Desktop/images/31122025/00/50/image_31122025_00_50_34_9719.jpg
/home/pi/Desktop/images/31122025/00/50/image_31122025_00_50_44_10175.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808137","1401808122","1401808125","1401808134","1401808128","1401808139"],"photo_ids_order":["1401808122","1401808125","1401808128","1401808134","1401808137","1401808139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fcc41a16e17a98e9c997bbde7ade146.jpg","text":"TemporaryFile(/tmp/multipartBody5032304809688717222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138802745,"filename":"image_31122025_00_50_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e436e6813933f506c279006c9c04189.jpg","text":"TemporaryFile(/tmp/multipartBody336302253241403152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138802745,"filename":"image_31122025_00_49_44_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee9893d7000d2455eea6dc2de6a1f3ee.jpg","text":"TemporaryFile(/tmp/multipartBody3388197042673381968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138802745,"filename":"image_31122025_00_49_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ea1c8eddc37e2f1e97d8d1c7f3ee025.jpg","text":"TemporaryFile(/tmp/multipartBody1602165064162424153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138802745,"filename":"image_31122025_00_50_15_10920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb55fe3865a8563a01a11c7e87ad7aa2.jpg","text":"TemporaryFile(/tmp/multipartBody578985180436763608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138802745,"filename":"image_31122025_00_50_04_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49a66715923d007294c8b3acbadb647f.jpg","text":"TemporaryFile(/tmp/multipartBody1652487038109977104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138802745,"filename":"image_31122025_00_50_44_10175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808128","file1":"1401808125","file0":"1401808122","file4":"1401808137","file5":"1401808139","file3":"1401808134"},"map_files_photo_id_array":[{"photo_id":"1401808139","filename":"file5"},{"photo_id":"1401808128","filename":"file2"},{"photo_id":"1401808137","filename":"file4"},{"photo_id":"1401808125","filename":"file1"},{"photo_id":"1401808122","filename":"file0"},{"photo_id":"1401808134","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808137":["hashtag1","hashtag2"]},{"1401808122":["hashtag1","hashtag2"]},{"1401808125":["hashtag1","hashtag2"]},{"1401808134":["hashtag1","hashtag2"]},{"1401808128":["hashtag1","hashtag2"]},{"1401808139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808137, 1401808122, 1401808125, 1401808134, 1401808128, 1401808139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2181122303009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:53:03.007397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/50/image_31122025_00_50_54_9511.jpg', '/home/pi/Desktop/images/31122025/00/50/image_31122025_00_51_05_10639.jpg', '/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_14_9800.jpg', '/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_24_9638.jpg', '/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_35_10657.jpg', '/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_44_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/50/image_31122025_00_50_54_9511.jpg
/home/pi/Desktop/images/31122025/00/50/image_31122025_00_51_05_10639.jpg
/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_14_9800.jpg
/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_24_9638.jpg
/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_35_10657.jpg
/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_44_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808159","1401808155","1401808151","1401808145","1401808157","1401808162"],"photo_ids_order":["1401808145","1401808151","1401808155","1401808157","1401808159","1401808162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8e184319ffc619cbabc7e5c0aa55c3c.jpg","text":"TemporaryFile(/tmp/multipartBody5105204251036752081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138843733,"filename":"image_31122025_00_51_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41c469c72e6a7a3c10890d7c0f046e87.jpg","text":"TemporaryFile(/tmp/multipartBody7962958965131939824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138843733,"filename":"image_31122025_00_51_14_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cffbd2f9f260ac0b3c3cd47305b0c4b.jpg","text":"TemporaryFile(/tmp/multipartBody5370353870432633904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138843733,"filename":"image_31122025_00_51_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c347f691489299fcce64f0e301a40edd.jpg","text":"TemporaryFile(/tmp/multipartBody1789503987625334407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138843733,"filename":"image_31122025_00_50_54_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b187ece71d2873d2a5abcda3314cb006.jpg","text":"TemporaryFile(/tmp/multipartBody4331845300532087801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138843733,"filename":"image_31122025_00_51_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e5c61bf530e3e332829756490280cf6.jpg","text":"TemporaryFile(/tmp/multipartBody5288547263498231987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138843733,"filename":"image_31122025_00_51_44_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808155","file1":"1401808151","file0":"1401808145","file4":"1401808159","file5":"1401808162","file3":"1401808157"},"map_files_photo_id_array":[{"photo_id":"1401808162","filename":"file5"},{"photo_id":"1401808155","filename":"file2"},{"photo_id":"1401808159","filename":"file4"},{"photo_id":"1401808151","filename":"file1"},{"photo_id":"1401808145","filename":"file0"},{"photo_id":"1401808157","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808159":["hashtag1","hashtag2"]},{"1401808155":["hashtag1","hashtag2"]},{"1401808151":["hashtag1","hashtag2"]},{"1401808145":["hashtag1","hashtag2"]},{"1401808157":["hashtag1","hashtag2"]},{"1401808162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808159, 1401808155, 1401808151, 1401808145, 1401808157, 1401808162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18619155883789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:53:42.417742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_47_2870.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_53_3668.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_56_2673.jpg', '/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_59_2640.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_02_3684.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_05_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_47_2870.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_53_3668.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_56_2673.jpg
/home/pi/Desktop/images/02112025/19/52/image_02112025_19_52_59_2640.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_02_3684.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_05_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808186","1401808181","1401808184","1401808178","1401808187","1401808174"],"photo_ids_order":["1401808174","1401808178","1401808181","1401808184","1401808186","1401808187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c1884f8f846c7095ded457a4bca5321.jpg","text":"TemporaryFile(/tmp/multipartBody2520615224440018525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138884380,"filename":"image_02112025_19_53_02_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f90f41116daf74aed2750b7dc0d2316.jpg","text":"TemporaryFile(/tmp/multipartBody8795489771269970958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138884380,"filename":"image_02112025_19_52_56_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2399467e185e1e57999b5acf19511c15.jpg","text":"TemporaryFile(/tmp/multipartBody3036006416664553180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138884380,"filename":"image_02112025_19_52_59_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7464a1e3b9d29966c95ee76120d93a6.jpg","text":"TemporaryFile(/tmp/multipartBody3893280923782578307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138884380,"filename":"image_02112025_19_52_53_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0500ca8fb4037a4c2d62084ff6d98cb.jpg","text":"TemporaryFile(/tmp/multipartBody3508462549861680038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138884380,"filename":"image_02112025_19_53_05_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b680efe72e6c71184b3e522e41ae091b.jpg","text":"TemporaryFile(/tmp/multipartBody652892896560289607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138884380,"filename":"image_02112025_19_52_47_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808181","file1":"1401808178","file0":"1401808174","file4":"1401808186","file5":"1401808187","file3":"1401808184"},"map_files_photo_id_array":[{"photo_id":"1401808187","filename":"file5"},{"photo_id":"1401808181","filename":"file2"},{"photo_id":"1401808186","filename":"file4"},{"photo_id":"1401808178","filename":"file1"},{"photo_id":"1401808174","filename":"file0"},{"photo_id":"1401808184","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401808186":["hashtag1","hashtag2"]},{"1401808181":["hashtag1","hashtag2"]},{"1401808184":["hashtag1","hashtag2"]},{"1401808178":["hashtag1","hashtag2"]},{"1401808187":["hashtag1","hashtag2"]},{"1401808174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401808186, 1401808181, 1401808184, 1401808178, 1401808187, 1401808174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52190661430359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:54:22.547812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_54_9656.jpg', '/home/pi/Desktop/images/31122025/00/51/image_31122025_00_52_04_9771.jpg', '/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_15_10699.jpg', '/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_24_9632.jpg', '/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_34_9628.jpg', '/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_45_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/51/image_31122025_00_51_54_9656.jpg
/home/pi/Desktop/images/31122025/00/51/image_31122025_00_52_04_9771.jpg
/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_15_10699.jpg
/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_24_9632.jpg
/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_34_9628.jpg
/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_45_10744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808210","1401808213","1401808207","1401808204","1401808194","1401808198"],"photo_ids_order":["1401808194","1401808198","1401808204","1401808207","1401808210","1401808213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a56282b2d771312f06f57e7cfc4826ec.jpg","text":"TemporaryFile(/tmp/multipartBody2252885288086543719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138923136,"filename":"image_31122025_00_52_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5c91ef6d042918e5fedee32d4c00d5a.jpg","text":"TemporaryFile(/tmp/multipartBody4069164337321266703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138923136,"filename":"image_31122025_00_52_45_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be684fb6cafdee5db57ff754bff48802.jpg","text":"TemporaryFile(/tmp/multipartBody2821761496199982728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138923136,"filename":"image_31122025_00_52_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d78578e8a888b4aae5cd011590a033b.jpg","text":"TemporaryFile(/tmp/multipartBody3699382922794439032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138923136,"filename":"image_31122025_00_52_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0e6efeaeb033254ed76d5afa6b81699.jpg","text":"TemporaryFile(/tmp/multipartBody6195564780712364093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138923136,"filename":"image_31122025_00_51_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16ee2521fa7dccce3aa185851575707a.jpg","text":"TemporaryFile(/tmp/multipartBody4214724186302875893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138923136,"filename":"image_31122025_00_52_04_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808204","file1":"1401808198","file0":"1401808194","file4":"1401808210","file5":"1401808213","file3":"1401808207"},"map_files_photo_id_array":[{"photo_id":"1401808213","filename":"file5"},{"photo_id":"1401808204","filename":"file2"},{"photo_id":"1401808210","filename":"file4"},{"photo_id":"1401808198","filename":"file1"},{"photo_id":"1401808194","filename":"file0"},{"photo_id":"1401808207","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808210":["hashtag1","hashtag2"]},{"1401808213":["hashtag1","hashtag2"]},{"1401808207":["hashtag1","hashtag2"]},{"1401808204":["hashtag1","hashtag2"]},{"1401808194":["hashtag1","hashtag2"]},{"1401808198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808210, 1401808213, 1401808207, 1401808204, 1401808194, 1401808198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59163022041321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:55:02.943196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_54_9741.jpg', '/home/pi/Desktop/images/31122025/00/52/image_31122025_00_53_04_9697.jpg', '/home/pi/Desktop/images/31122025/00/53/image_31122025_00_53_15_10699.jpg', '/home/pi/Desktop/images/31122025/00/53/image_31122025_00_53_34_9627.jpg', '/home/pi/Desktop/images/31122025/00/53/image_31122025_00_53_44_9707.jpg', '/home/pi/Desktop/images/31122025/00/53/image_31122025_00_53_55_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/52/image_31122025_00_52_54_9741.jpg
/home/pi/Desktop/images/31122025/00/52/image_31122025_00_53_04_9697.jpg
/home/pi/Desktop/images/31122025/00/53/image_31122025_00_53_15_10699.jpg
/home/pi/Desktop/images/31122025/00/53/image_31122025_00_53_34_9627.jpg
/home/pi/Desktop/images/31122025/00/53/image_31122025_00_53_44_9707.jpg
/home/pi/Desktop/images/31122025/00/53/image_31122025_00_53_55_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808216","1401808218","1401808226","1401808229","1401808220","1401808223"],"photo_ids_order":["1401808216","1401808218","1401808220","1401808223","1401808226","1401808229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06bba9871c018819d264c685027be246.jpg","text":"TemporaryFile(/tmp/multipartBody2324076984258603159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138963632,"filename":"image_31122025_00_52_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b981d1512d9a55c0e5fc185193cf9cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4619582223564308028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138963632,"filename":"image_31122025_00_53_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8aa80dd97f4735ff81d5ada867117829.jpg","text":"TemporaryFile(/tmp/multipartBody7279136062241950505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138963632,"filename":"image_31122025_00_53_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a88f38b5f6b92d31ac2447d04537f594.jpg","text":"TemporaryFile(/tmp/multipartBody8578680429314156687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138963632,"filename":"image_31122025_00_53_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c5262b9bd1a31ae96d2a3b50d4b257d.jpg","text":"TemporaryFile(/tmp/multipartBody7796111169085569903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138963632,"filename":"image_31122025_00_53_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/564ad123550a8555908363b2ebe0a99b.jpg","text":"TemporaryFile(/tmp/multipartBody8620471752018990495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767138963632,"filename":"image_31122025_00_53_34_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808220","file1":"1401808218","file0":"1401808216","file4":"1401808226","file5":"1401808229","file3":"1401808223"},"map_files_photo_id_array":[{"photo_id":"1401808229","filename":"file5"},{"photo_id":"1401808220","filename":"file2"},{"photo_id":"1401808226","filename":"file4"},{"photo_id":"1401808218","filename":"file1"},{"photo_id":"1401808216","filename":"file0"},{"photo_id":"1401808223","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808216":["hashtag1","hashtag2"]},{"1401808218":["hashtag1","hashtag2"]},{"1401808226":["hashtag1","hashtag2"]},{"1401808229":["hashtag1","hashtag2"]},{"1401808220":["hashtag1","hashtag2"]},{"1401808223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808216, 1401808218, 1401808226, 1401808229, 1401808220, 1401808223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.720091104507446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:55:42.381058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_11_3050.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_17_2763.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_20_2921.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_23_2773.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_26_2700.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_32_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_11_3050.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_17_2763.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_20_2921.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_23_2773.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_26_2700.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_32_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808246","1401808249","1401808242","1401808239","1401808247","1401808238"],"photo_ids_order":["1401808238","1401808239","1401808242","1401808246","1401808247","1401808249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be38ed6096507d80f34746d0e3d6b44b.jpg","text":"TemporaryFile(/tmp/multipartBody8058508502622676986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139004323,"filename":"image_02112025_19_53_23_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aafb599b6cc5d0f33e4cdb9f7b3aeb5b.jpg","text":"TemporaryFile(/tmp/multipartBody9135795673326629703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139004323,"filename":"image_02112025_19_53_32_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3929dd2c42bb222e4b2b609f861a30f.jpg","text":"TemporaryFile(/tmp/multipartBody2304880755002130031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139004323,"filename":"image_02112025_19_53_20_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d16bc602e56e3554d13190b81de1aaac.jpg","text":"TemporaryFile(/tmp/multipartBody496011343931802729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139004323,"filename":"image_02112025_19_53_17_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c60f247d408cb5228ff9b15ccf0eb01.jpg","text":"TemporaryFile(/tmp/multipartBody4354827322768019584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139004323,"filename":"image_02112025_19_53_26_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8efcc9c6cb90e6430f5632ac9394edea.jpg","text":"TemporaryFile(/tmp/multipartBody2663219833663329857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139004323,"filename":"image_02112025_19_53_11_3050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808242","file1":"1401808239","file0":"1401808238","file4":"1401808247","file5":"1401808249","file3":"1401808246"},"map_files_photo_id_array":[{"photo_id":"1401808249","filename":"file5"},{"photo_id":"1401808242","filename":"file2"},{"photo_id":"1401808247","filename":"file4"},{"photo_id":"1401808239","filename":"file1"},{"photo_id":"1401808238","filename":"file0"},{"photo_id":"1401808246","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401808246":["hashtag1","hashtag2"]},{"1401808249":["hashtag1","hashtag2"]},{"1401808242":["hashtag1","hashtag2"]},{"1401808239":["hashtag1","hashtag2"]},{"1401808247":["hashtag1","hashtag2"]},{"1401808238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401808246, 1401808249, 1401808242, 1401808239, 1401808247, 1401808238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.820379972457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 00:56:22.567390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/53/image_31122025_00_54_04_9745.jpg', '/home/pi/Desktop/images/31122025/00/54/image_31122025_00_54_14_9852.jpg', '/home/pi/Desktop/images/31122025/00/54/image_31122025_00_54_24_9725.jpg', '/home/pi/Desktop/images/31122025/00/54/image_31122025_00_54_44_9556.jpg', '/home/pi/Desktop/images/31122025/00/54/image_31122025_00_54_54_9838.jpg', '/home/pi/Desktop/images/31122025/00/54/image_31122025_00_55_05_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/53/image_31122025_00_54_04_9745.jpg
/home/pi/Desktop/images/31122025/00/54/image_31122025_00_54_14_9852.jpg
/home/pi/Desktop/images/31122025/00/54/image_31122025_00_54_24_9725.jpg
/home/pi/Desktop/images/31122025/00/54/image_31122025_00_54_44_9556.jpg
/home/pi/Desktop/images/31122025/00/54/image_31122025_00_54_54_9838.jpg
/home/pi/Desktop/images/31122025/00/54/image_31122025_00_55_05_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808270","1401808264","1401808267","1401808277","1401808262","1401808259"],"photo_ids_order":["1401808259","1401808262","1401808264","1401808267","1401808270","1401808277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8a3426a082e533b80a9cda9ee487e10.jpg","text":"TemporaryFile(/tmp/multipartBody8709825866691838031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139043156,"filename":"image_31122025_00_54_54_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10facc55c06d7b5744fe6124caf41626.jpg","text":"TemporaryFile(/tmp/multipartBody1374242905466802278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139043156,"filename":"image_31122025_00_54_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7327bd85be69e3e673709bf33f48b389.jpg","text":"TemporaryFile(/tmp/multipartBody1968312561019312286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139043156,"filename":"image_31122025_00_54_44_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d69d46f692e14965c5014ab74b760579.jpg","text":"TemporaryFile(/tmp/multipartBody8505453120971284115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139043156,"filename":"image_31122025_00_55_05_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/985927330887e3b16200bdc7d4d606df.jpg","text":"TemporaryFile(/tmp/multipartBody936706022591561283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139043156,"filename":"image_31122025_00_54_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9cfd9c37a39522d8f32032ccc0978b3.jpg","text":"TemporaryFile(/tmp/multipartBody1771125756328332804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139043156,"filename":"image_31122025_00_54_04_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808264","file1":"1401808262","file0":"1401808259","file4":"1401808270","file5":"1401808277","file3":"1401808267"},"map_files_photo_id_array":[{"photo_id":"1401808277","filename":"file5"},{"photo_id":"1401808264","filename":"file2"},{"photo_id":"1401808270","filename":"file4"},{"photo_id":"1401808262","filename":"file1"},{"photo_id":"1401808259","filename":"file0"},{"photo_id":"1401808267","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808270":["hashtag1","hashtag2"]},{"1401808264":["hashtag1","hashtag2"]},{"1401808267":["hashtag1","hashtag2"]},{"1401808277":["hashtag1","hashtag2"]},{"1401808262":["hashtag1","hashtag2"]},{"1401808259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808270, 1401808264, 1401808267, 1401808277, 1401808262, 1401808259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16673684120178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:57:03.439920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/55/image_31122025_00_55_24_9832.jpg', '/home/pi/Desktop/images/31122025/00/55/image_31122025_00_55_34_9673.jpg', '/home/pi/Desktop/images/31122025/00/55/image_31122025_00_55_44_10542.jpg', '/home/pi/Desktop/images/31122025/00/55/image_31122025_00_55_54_9872.jpg', '/home/pi/Desktop/images/31122025/00/55/image_31122025_00_56_04_9648.jpg', '/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_15_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/55/image_31122025_00_55_24_9832.jpg
/home/pi/Desktop/images/31122025/00/55/image_31122025_00_55_34_9673.jpg
/home/pi/Desktop/images/31122025/00/55/image_31122025_00_55_44_10542.jpg
/home/pi/Desktop/images/31122025/00/55/image_31122025_00_55_54_9872.jpg
/home/pi/Desktop/images/31122025/00/55/image_31122025_00_56_04_9648.jpg
/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_15_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808306","1401808296","1401808309","1401808303","1401808311","1401808283"],"photo_ids_order":["1401808283","1401808296","1401808303","1401808306","1401808309","1401808311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3fbd9835d89d8cdb7397b4c7542c94c.jpg","text":"TemporaryFile(/tmp/multipartBody372236345060894027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139084101,"filename":"image_31122025_00_55_54_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a905d0393d42524d887e85ad9397a76.jpg","text":"TemporaryFile(/tmp/multipartBody6708428768216067937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139084101,"filename":"image_31122025_00_55_34_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/999a825959c18e0198434898107ea0ef.jpg","text":"TemporaryFile(/tmp/multipartBody2950925529398142397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139084101,"filename":"image_31122025_00_56_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2521dc9af6a3fb7fe84b7fd0112fa542.jpg","text":"TemporaryFile(/tmp/multipartBody5963352853708991069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139084101,"filename":"image_31122025_00_55_44_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a44c24c707da7aab6055a37481984a49.jpg","text":"TemporaryFile(/tmp/multipartBody3741961064367790347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139084101,"filename":"image_31122025_00_56_15_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c2d19732b5499aa227f15db95668d80.jpg","text":"TemporaryFile(/tmp/multipartBody5519032370254350693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139084101,"filename":"image_31122025_00_55_24_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808303","file1":"1401808296","file0":"1401808283","file4":"1401808309","file5":"1401808311","file3":"1401808306"},"map_files_photo_id_array":[{"photo_id":"1401808311","filename":"file5"},{"photo_id":"1401808303","filename":"file2"},{"photo_id":"1401808309","filename":"file4"},{"photo_id":"1401808296","filename":"file1"},{"photo_id":"1401808283","filename":"file0"},{"photo_id":"1401808306","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808306":["hashtag1","hashtag2"]},{"1401808296":["hashtag1","hashtag2"]},{"1401808309":["hashtag1","hashtag2"]},{"1401808303":["hashtag1","hashtag2"]},{"1401808311":["hashtag1","hashtag2"]},{"1401808283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808306, 1401808296, 1401808309, 1401808303, 1401808311, 1401808283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38325071334839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 00:57:42.755756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_35_2619.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_38_3681.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_44_2630.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_47_2846.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_49_2900.jpg', '/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_56_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_35_2619.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_38_3681.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_44_2630.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_47_2846.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_49_2900.jpg
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_56_2626.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808336","1401808330","1401808333","1401808320","1401808325","1401808328"],"photo_ids_order":["1401808320","1401808325","1401808328","1401808330","1401808333","1401808336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d26a8c243db179aa302fd6656f667a7.jpg","text":"TemporaryFile(/tmp/multipartBody2911241431068057151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139124702,"filename":"image_02112025_19_53_56_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b75605004358d08c21521e534feedc6e.jpg","text":"TemporaryFile(/tmp/multipartBody4555692144588432108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139124702,"filename":"image_02112025_19_53_47_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/423c77f5a07a58e2bbb2e96fc7cbdff8.jpg","text":"TemporaryFile(/tmp/multipartBody147771140273122339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139124702,"filename":"image_02112025_19_53_49_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c5b16216144e5f72fda7d458314b2df.jpg","text":"TemporaryFile(/tmp/multipartBody8536956503998714997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139124702,"filename":"image_02112025_19_53_35_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c96f9e8fe1480f77d6894cbafdd1f36e.jpg","text":"TemporaryFile(/tmp/multipartBody7438224080368354350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139124702,"filename":"image_02112025_19_53_38_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0b0ef0b3493b99427ba47b96649f915.jpg","text":"TemporaryFile(/tmp/multipartBody3861965846046309549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139124702,"filename":"image_02112025_19_53_44_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808328","file1":"1401808325","file0":"1401808320","file4":"1401808333","file5":"1401808336","file3":"1401808330"},"map_files_photo_id_array":[{"photo_id":"1401808336","filename":"file5"},{"photo_id":"1401808328","filename":"file2"},{"photo_id":"1401808333","filename":"file4"},{"photo_id":"1401808325","filename":"file1"},{"photo_id":"1401808320","filename":"file0"},{"photo_id":"1401808330","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401808336":["hashtag1","hashtag2"]},{"1401808330":["hashtag1","hashtag2"]},{"1401808333":["hashtag1","hashtag2"]},{"1401808320":["hashtag1","hashtag2"]},{"1401808325":["hashtag1","hashtag2"]},{"1401808328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401808336, 1401808330, 1401808333, 1401808320, 1401808325, 1401808328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.064067363739014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 00:59:03.090358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_24_9575.jpg', '/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_34_9631.jpg', '/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_44_10566.jpg', '/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_54_9763.jpg', '/home/pi/Desktop/images/31122025/00/56/image_31122025_00_57_05_10565.jpg', '/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_14_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_24_9575.jpg
/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_34_9631.jpg
/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_44_10566.jpg
/home/pi/Desktop/images/31122025/00/56/image_31122025_00_56_54_9763.jpg
/home/pi/Desktop/images/31122025/00/56/image_31122025_00_57_05_10565.jpg
/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_14_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808362","1401808376","1401808367","1401808349","1401808372","1401808354"],"photo_ids_order":["1401808349","1401808354","1401808362","1401808367","1401808372","1401808376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53cdaab2183bbd97b5f4cab606730f2d.jpg","text":"TemporaryFile(/tmp/multipartBody5387231770214122084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139203852,"filename":"image_31122025_00_56_44_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3453a0e1ce0e8d2153fbb119e487bd31.jpg","text":"TemporaryFile(/tmp/multipartBody8569933703881285960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139203852,"filename":"image_31122025_00_57_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20ca09d4861348809d86cb0ba4da1843.jpg","text":"TemporaryFile(/tmp/multipartBody7040993293838912990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139203852,"filename":"image_31122025_00_56_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0659b08f10af127b47675266e6c77fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1102390056045645109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139203852,"filename":"image_31122025_00_56_24_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a45757719918b49aba2514ed18512b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7058147329391697737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139203852,"filename":"image_31122025_00_57_05_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1a89c1aee766773df949ba668c9f5d8.jpg","text":"TemporaryFile(/tmp/multipartBody2818972993200787942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139203852,"filename":"image_31122025_00_56_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808362","file1":"1401808354","file0":"1401808349","file4":"1401808372","file5":"1401808376","file3":"1401808367"},"map_files_photo_id_array":[{"photo_id":"1401808376","filename":"file5"},{"photo_id":"1401808362","filename":"file2"},{"photo_id":"1401808372","filename":"file4"},{"photo_id":"1401808354","filename":"file1"},{"photo_id":"1401808349","filename":"file0"},{"photo_id":"1401808367","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808362":["hashtag1","hashtag2"]},{"1401808376":["hashtag1","hashtag2"]},{"1401808367":["hashtag1","hashtag2"]},{"1401808349":["hashtag1","hashtag2"]},{"1401808372":["hashtag1","hashtag2"]},{"1401808354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808362, 1401808376, 1401808367, 1401808349, 1401808372, 1401808354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.89942169189453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:00:02.696163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_24_9697.jpg', '/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_35_10664.jpg', '/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_44_9765.jpg', '/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_54_9607.jpg', '/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_14_10708.jpg', '/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_24_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_24_9697.jpg
/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_35_10664.jpg
/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_44_9765.jpg
/home/pi/Desktop/images/31122025/00/57/image_31122025_00_57_54_9607.jpg
/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_14_10708.jpg
/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_24_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808395","1401808398","1401808392","1401808389","1401808382","1401808385"],"photo_ids_order":["1401808382","1401808385","1401808389","1401808392","1401808395","1401808398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e79a0f2bfe9412800d0aaa08d3cbf6f9.jpg","text":"TemporaryFile(/tmp/multipartBody8416178305576180523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139263354,"filename":"image_31122025_00_58_14_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abb4fea370fc3d5215ad4bf4780dd167.jpg","text":"TemporaryFile(/tmp/multipartBody1108018772083429116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139263354,"filename":"image_31122025_00_58_24_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b8dac1d25194daeb6b4ad12838f663a.jpg","text":"TemporaryFile(/tmp/multipartBody5997029844823463682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139263354,"filename":"image_31122025_00_57_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/924090c16b14fb45ca14190d619b1d16.jpg","text":"TemporaryFile(/tmp/multipartBody4316478717390335016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139263354,"filename":"image_31122025_00_57_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4164730f7af085e4e4b00b0371fb784e.jpg","text":"TemporaryFile(/tmp/multipartBody9195611432765217492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139263354,"filename":"image_31122025_00_57_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4cbfb3fd2d91829388469706d63a0fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5060561599208669706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139263354,"filename":"image_31122025_00_57_35_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808389","file1":"1401808385","file0":"1401808382","file4":"1401808395","file5":"1401808398","file3":"1401808392"},"map_files_photo_id_array":[{"photo_id":"1401808398","filename":"file5"},{"photo_id":"1401808389","filename":"file2"},{"photo_id":"1401808395","filename":"file4"},{"photo_id":"1401808385","filename":"file1"},{"photo_id":"1401808382","filename":"file0"},{"photo_id":"1401808392","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808395":["hashtag1","hashtag2"]},{"1401808398":["hashtag1","hashtag2"]},{"1401808392":["hashtag1","hashtag2"]},{"1401808389":["hashtag1","hashtag2"]},{"1401808382":["hashtag1","hashtag2"]},{"1401808385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808395, 1401808398, 1401808392, 1401808389, 1401808382, 1401808385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.867584466934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:00:42.272713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_59_3708.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_11_3689.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_14_2816.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_17_2579.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_20_3708.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_23_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/53/image_02112025_19_53_59_3708.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_11_3689.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_14_2816.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_17_2579.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_20_3708.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_23_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808411","1401808408","1401808428","1401808401","1401808404","1401808421"],"photo_ids_order":["1401808401","1401808404","1401808408","1401808411","1401808421","1401808428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5aef6c4a65394f16ace5386012cf8fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1131749539730570388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139304221,"filename":"image_02112025_19_54_17_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a9f59c4b8a4ea9b6d9c34b47a13c069.jpg","text":"TemporaryFile(/tmp/multipartBody2631495372015199672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139304221,"filename":"image_02112025_19_54_14_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72b4457be89e45f3e0e05db483e35ba2.jpg","text":"TemporaryFile(/tmp/multipartBody1991011137504914531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139304221,"filename":"image_02112025_19_54_23_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36f9ae684cd049b4f873d05fe36d3a31.jpg","text":"TemporaryFile(/tmp/multipartBody3750939914495698430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139304221,"filename":"image_02112025_19_53_59_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecc7b615f076d15f45c50f87b336bdf8.jpg","text":"TemporaryFile(/tmp/multipartBody2530163388568059530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139304221,"filename":"image_02112025_19_54_11_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1b15d62516f7df13a6e91db2f5fa213.jpg","text":"TemporaryFile(/tmp/multipartBody8648032948450251795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139304221,"filename":"image_02112025_19_54_20_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808408","file1":"1401808404","file0":"1401808401","file4":"1401808421","file5":"1401808428","file3":"1401808411"},"map_files_photo_id_array":[{"photo_id":"1401808428","filename":"file5"},{"photo_id":"1401808408","filename":"file2"},{"photo_id":"1401808421","filename":"file4"},{"photo_id":"1401808404","filename":"file1"},{"photo_id":"1401808401","filename":"file0"},{"photo_id":"1401808411","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401808411":["hashtag1","hashtag2"]},{"1401808408":["hashtag1","hashtag2"]},{"1401808428":["hashtag1","hashtag2"]},{"1401808401":["hashtag1","hashtag2"]},{"1401808404":["hashtag1","hashtag2"]},{"1401808421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401808411, 1401808408, 1401808428, 1401808401, 1401808404, 1401808421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56797909736633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:01:22.441652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_34_9802.jpg', '/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_44_9647.jpg', '/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_55_10898.jpg', '/home/pi/Desktop/images/31122025/00/58/image_31122025_00_59_04_9655.jpg', '/home/pi/Desktop/images/31122025/00/59/image_31122025_00_59_14_9906.jpg', '/home/pi/Desktop/images/31122025/00/59/image_31122025_00_59_24_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_34_9802.jpg
/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_44_9647.jpg
/home/pi/Desktop/images/31122025/00/58/image_31122025_00_58_55_10898.jpg
/home/pi/Desktop/images/31122025/00/58/image_31122025_00_59_04_9655.jpg
/home/pi/Desktop/images/31122025/00/59/image_31122025_00_59_14_9906.jpg
/home/pi/Desktop/images/31122025/00/59/image_31122025_00_59_24_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808441","1401808444","1401808438","1401808432","1401808434","1401808430"],"photo_ids_order":["1401808430","1401808432","1401808434","1401808438","1401808441","1401808444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ac1c7c87c417d4c0715c46c4e528f3e.jpg","text":"TemporaryFile(/tmp/multipartBody1418729358819179995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139343072,"filename":"image_31122025_00_59_14_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20b94957ac4a1357a24fa4d05ab57b02.jpg","text":"TemporaryFile(/tmp/multipartBody168443115757839765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139343072,"filename":"image_31122025_00_59_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8aae7a38d664366fcbba5cabc493c2ed.jpg","text":"TemporaryFile(/tmp/multipartBody3904989120372879065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139343072,"filename":"image_31122025_00_59_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/364f867fda162738316a653e3f6af728.jpg","text":"TemporaryFile(/tmp/multipartBody30400788575797911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139343072,"filename":"image_31122025_00_58_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f0ba8c00ae70deb8241014556b50c46.jpg","text":"TemporaryFile(/tmp/multipartBody8420321285722015932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139343072,"filename":"image_31122025_00_58_55_10898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7037d6071abe6e7d772ff7061ebe2912.jpg","text":"TemporaryFile(/tmp/multipartBody7304455162025879805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139343072,"filename":"image_31122025_00_58_34_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808434","file1":"1401808432","file0":"1401808430","file4":"1401808441","file5":"1401808444","file3":"1401808438"},"map_files_photo_id_array":[{"photo_id":"1401808444","filename":"file5"},{"photo_id":"1401808434","filename":"file2"},{"photo_id":"1401808441","filename":"file4"},{"photo_id":"1401808432","filename":"file1"},{"photo_id":"1401808430","filename":"file0"},{"photo_id":"1401808438","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808441":["hashtag1","hashtag2"]},{"1401808444":["hashtag1","hashtag2"]},{"1401808438":["hashtag1","hashtag2"]},{"1401808432":["hashtag1","hashtag2"]},{"1401808434":["hashtag1","hashtag2"]},{"1401808430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808441, 1401808444, 1401808438, 1401808432, 1401808434, 1401808430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4860725402832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:02:03.062543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/00/59/image_31122025_00_59_35_10686.jpg', '/home/pi/Desktop/images/31122025/00/59/image_31122025_00_59_44_9542.jpg', '/home/pi/Desktop/images/31122025/00/59/image_31122025_01_00_04_10600.jpg', '/home/pi/Desktop/images/31122025/01/00/image_31122025_01_00_14_9732.jpg', '/home/pi/Desktop/images/31122025/01/00/image_31122025_01_00_34_10657.jpg', '/home/pi/Desktop/images/31122025/01/00/image_31122025_01_00_44_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/00/59/image_31122025_00_59_35_10686.jpg
/home/pi/Desktop/images/31122025/00/59/image_31122025_00_59_44_9542.jpg
/home/pi/Desktop/images/31122025/00/59/image_31122025_01_00_04_10600.jpg
/home/pi/Desktop/images/31122025/01/00/image_31122025_01_00_14_9732.jpg
/home/pi/Desktop/images/31122025/01/00/image_31122025_01_00_34_10657.jpg
/home/pi/Desktop/images/31122025/01/00/image_31122025_01_00_44_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808456","1401808450","1401808452","1401808460","1401808463","1401808453"],"photo_ids_order":["1401808450","1401808452","1401808453","1401808456","1401808460","1401808463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/966dab297e320eb99c43a3e73b9f38d2.jpg","text":"TemporaryFile(/tmp/multipartBody6915786165777331575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139383683,"filename":"image_31122025_01_00_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cf04ee14fcea2f309ba16276e98fe67.jpg","text":"TemporaryFile(/tmp/multipartBody2433882111633935910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139383683,"filename":"image_31122025_00_59_35_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d706d7ffffb910e76b06cce85c09f59.jpg","text":"TemporaryFile(/tmp/multipartBody3109216137641457374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139383683,"filename":"image_31122025_00_59_44_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc94a376743b006b0beeda27d745ee9a.jpg","text":"TemporaryFile(/tmp/multipartBody762243671263581702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139383683,"filename":"image_31122025_01_00_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/702dde94a120304a534302442400962b.jpg","text":"TemporaryFile(/tmp/multipartBody5050293930091249916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139383683,"filename":"image_31122025_01_00_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdb0db841c75a7056d4d14425ad884ab.jpg","text":"TemporaryFile(/tmp/multipartBody1554877535547263047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139383683,"filename":"image_31122025_01_00_04_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808453","file1":"1401808452","file0":"1401808450","file4":"1401808460","file5":"1401808463","file3":"1401808456"},"map_files_photo_id_array":[{"photo_id":"1401808463","filename":"file5"},{"photo_id":"1401808453","filename":"file2"},{"photo_id":"1401808460","filename":"file4"},{"photo_id":"1401808452","filename":"file1"},{"photo_id":"1401808450","filename":"file0"},{"photo_id":"1401808456","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808456":["hashtag1","hashtag2"]},{"1401808450":["hashtag1","hashtag2"]},{"1401808452":["hashtag1","hashtag2"]},{"1401808460":["hashtag1","hashtag2"]},{"1401808463":["hashtag1","hashtag2"]},{"1401808453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808456, 1401808450, 1401808452, 1401808460, 1401808463, 1401808453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32132267951965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:02:42.605968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_25_2658.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_29_3552.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_38_3701.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_41_2635.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_43_2744.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_47_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_25_2658.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_29_3552.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_38_3701.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_41_2635.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_43_2744.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_47_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808477","1401808482","1401808479","1401808473","1401808478","1401808480"],"photo_ids_order":["1401808473","1401808477","1401808478","1401808479","1401808480","1401808482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0847d18ed6b93ceb95f248f3591d544.jpg","text":"TemporaryFile(/tmp/multipartBody1350896556313632108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139424487,"filename":"image_02112025_19_54_29_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/417cf2a217b68c00a88dc4460d02bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody1139718343463411141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139424487,"filename":"image_02112025_19_54_47_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cce7f74f64723a54d0cf03aa9d9e844.jpg","text":"TemporaryFile(/tmp/multipartBody920640580135910935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139424487,"filename":"image_02112025_19_54_41_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30301d15c76c9af47e0bc9d52f46f0ad.jpg","text":"TemporaryFile(/tmp/multipartBody2635967171044895545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139424487,"filename":"image_02112025_19_54_25_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b50b4b22cb52901be032e359686f55af.jpg","text":"TemporaryFile(/tmp/multipartBody2926969081402721911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139424487,"filename":"image_02112025_19_54_38_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2513b8de812966d23733e3f829aed0d3.jpg","text":"TemporaryFile(/tmp/multipartBody5975320316528137740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139424487,"filename":"image_02112025_19_54_43_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808478","file1":"1401808477","file0":"1401808473","file4":"1401808480","file5":"1401808482","file3":"1401808479"},"map_files_photo_id_array":[{"photo_id":"1401808482","filename":"file5"},{"photo_id":"1401808478","filename":"file2"},{"photo_id":"1401808480","filename":"file4"},{"photo_id":"1401808477","filename":"file1"},{"photo_id":"1401808473","filename":"file0"},{"photo_id":"1401808479","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401808477":["hashtag1","hashtag2"]},{"1401808482":["hashtag1","hashtag2"]},{"1401808479":["hashtag1","hashtag2"]},{"1401808473":["hashtag1","hashtag2"]},{"1401808478":["hashtag1","hashtag2"]},{"1401808480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401808477, 1401808482, 1401808479, 1401808473, 1401808478, 1401808480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44525671005249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:03:22.909836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/00/image_31122025_01_00_54_9661.jpg', '/home/pi/Desktop/images/31122025/01/00/image_31122025_01_01_04_10580.jpg', '/home/pi/Desktop/images/31122025/01/01/image_31122025_01_01_14_9750.jpg', '/home/pi/Desktop/images/31122025/01/01/image_31122025_01_01_24_9732.jpg', '/home/pi/Desktop/images/31122025/01/01/image_31122025_01_01_54_9803.jpg', '/home/pi/Desktop/images/31122025/01/01/image_31122025_01_02_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/00/image_31122025_01_00_54_9661.jpg
/home/pi/Desktop/images/31122025/01/00/image_31122025_01_01_04_10580.jpg
/home/pi/Desktop/images/31122025/01/01/image_31122025_01_01_14_9750.jpg
/home/pi/Desktop/images/31122025/01/01/image_31122025_01_01_24_9732.jpg
/home/pi/Desktop/images/31122025/01/01/image_31122025_01_01_54_9803.jpg
/home/pi/Desktop/images/31122025/01/01/image_31122025_01_02_04_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808494","1401808491","1401808500","1401808487","1401808498","1401808502"],"photo_ids_order":["1401808487","1401808491","1401808494","1401808498","1401808500","1401808502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd565358a64fd4f09752587e224735ce.jpg","text":"TemporaryFile(/tmp/multipartBody299119420573796630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139463505,"filename":"image_31122025_01_01_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12f6273250309cacf9e5a14548b16e51.jpg","text":"TemporaryFile(/tmp/multipartBody2909571404776089916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139463505,"filename":"image_31122025_01_01_04_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c06212b5899cef39c3cc8a79223f225.jpg","text":"TemporaryFile(/tmp/multipartBody6702608005706784226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139463505,"filename":"image_31122025_01_01_54_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0d4b398d957c82804adec0aec042241.jpg","text":"TemporaryFile(/tmp/multipartBody3069142673055689051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139463505,"filename":"image_31122025_01_00_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88825e8c60b0ce60893aec234ef0317b.jpg","text":"TemporaryFile(/tmp/multipartBody2324839889623012083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139463505,"filename":"image_31122025_01_01_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e84e4dc480fff36461f16351eb293aa.jpg","text":"TemporaryFile(/tmp/multipartBody8481986754563231278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139463505,"filename":"image_31122025_01_02_04_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808494","file1":"1401808491","file0":"1401808487","file4":"1401808500","file5":"1401808502","file3":"1401808498"},"map_files_photo_id_array":[{"photo_id":"1401808502","filename":"file5"},{"photo_id":"1401808494","filename":"file2"},{"photo_id":"1401808500","filename":"file4"},{"photo_id":"1401808491","filename":"file1"},{"photo_id":"1401808487","filename":"file0"},{"photo_id":"1401808498","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808494":["hashtag1","hashtag2"]},{"1401808491":["hashtag1","hashtag2"]},{"1401808500":["hashtag1","hashtag2"]},{"1401808487":["hashtag1","hashtag2"]},{"1401808498":["hashtag1","hashtag2"]},{"1401808502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808494, 1401808491, 1401808500, 1401808487, 1401808498, 1401808502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.064104318618774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:04:02.751001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/02/image_31122025_01_02_14_10715.jpg', '/home/pi/Desktop/images/31122025/01/02/image_31122025_01_02_34_9652.jpg', '/home/pi/Desktop/images/31122025/01/02/image_31122025_01_02_44_10639.jpg', '/home/pi/Desktop/images/31122025/01/02/image_31122025_01_02_54_9694.jpg', '/home/pi/Desktop/images/31122025/01/02/image_31122025_01_03_05_10565.jpg', '/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_14_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/02/image_31122025_01_02_14_10715.jpg
/home/pi/Desktop/images/31122025/01/02/image_31122025_01_02_34_9652.jpg
/home/pi/Desktop/images/31122025/01/02/image_31122025_01_02_44_10639.jpg
/home/pi/Desktop/images/31122025/01/02/image_31122025_01_02_54_9694.jpg
/home/pi/Desktop/images/31122025/01/02/image_31122025_01_03_05_10565.jpg
/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_14_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808732","1401808691","1401808580","1401808655","1401808619","1401808771"],"photo_ids_order":["1401808580","1401808619","1401808655","1401808691","1401808732","1401808771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5622b2cb0e45d9a25a92e9ee47e95059.jpg","text":"TemporaryFile(/tmp/multipartBody7755891494031056408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139503483,"filename":"image_31122025_01_03_05_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5476234f6c738c6b82678f8d463c96d5.jpg","text":"TemporaryFile(/tmp/multipartBody7751697451655044154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139503483,"filename":"image_31122025_01_02_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea49580d44bf38122958df343cd23e61.jpg","text":"TemporaryFile(/tmp/multipartBody5679497796869170043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139503483,"filename":"image_31122025_01_02_14_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08cde419b17632dd92589d18947ad7c4.jpg","text":"TemporaryFile(/tmp/multipartBody1329882634211709825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139503483,"filename":"image_31122025_01_02_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e16c7117330c64e657a9c92cab2e8ee7.jpg","text":"TemporaryFile(/tmp/multipartBody512355375014337785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139503483,"filename":"image_31122025_01_02_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2164047fb2aeb67879edfc5f8fc57184.jpg","text":"TemporaryFile(/tmp/multipartBody3989143062549694709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139503483,"filename":"image_31122025_01_03_14_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808655","file1":"1401808619","file0":"1401808580","file4":"1401808732","file5":"1401808771","file3":"1401808691"},"map_files_photo_id_array":[{"photo_id":"1401808771","filename":"file5"},{"photo_id":"1401808655","filename":"file2"},{"photo_id":"1401808732","filename":"file4"},{"photo_id":"1401808619","filename":"file1"},{"photo_id":"1401808580","filename":"file0"},{"photo_id":"1401808691","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401808732":["hashtag1","hashtag2"]},{"1401808691":["hashtag1","hashtag2"]},{"1401808580":["hashtag1","hashtag2"]},{"1401808655":["hashtag1","hashtag2"]},{"1401808619":["hashtag1","hashtag2"]},{"1401808771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401808732, 1401808691, 1401808580, 1401808655, 1401808619, 1401808771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.520511865615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:04:42.002744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_50_2571.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_53_3620.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_56_2720.jpg', '/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_59_2662.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_01_2850.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_05_3126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_50_2571.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_53_3620.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_56_2720.jpg
/home/pi/Desktop/images/02112025/19/54/image_02112025_19_54_59_2662.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_01_2850.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_05_3126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401808909","1401808986","1401809075","1401809021","1401808949","1401809122"],"photo_ids_order":["1401808909","1401808949","1401808986","1401809021","1401809075","1401809122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68e7f444933b0d2a64a3dbcb2824d350.jpg","text":"TemporaryFile(/tmp/multipartBody6920241949511840477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139543948,"filename":"image_02112025_19_54_50_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7c323a8de110aa9f0fb07d91cd644f2.jpg","text":"TemporaryFile(/tmp/multipartBody8978808041018831845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139543948,"filename":"image_02112025_19_54_56_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62d9dc9764c67f2e147838adade1e070.jpg","text":"TemporaryFile(/tmp/multipartBody3295506166289100162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139543948,"filename":"image_02112025_19_55_01_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa8b691d25039995b6329cb4104461df.jpg","text":"TemporaryFile(/tmp/multipartBody3089412051234991949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139543948,"filename":"image_02112025_19_54_59_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0f4670ea92d3506cad64f9fd7c4815f.jpg","text":"TemporaryFile(/tmp/multipartBody1122804811290587827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139543948,"filename":"image_02112025_19_54_53_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42000532a05d62c68d80d0b2f0a6b650.jpg","text":"TemporaryFile(/tmp/multipartBody1186315105924614022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139543948,"filename":"image_02112025_19_55_05_3126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401808986","file1":"1401808949","file0":"1401808909","file4":"1401809075","file5":"1401809122","file3":"1401809021"},"map_files_photo_id_array":[{"photo_id":"1401809122","filename":"file5"},{"photo_id":"1401808986","filename":"file2"},{"photo_id":"1401809075","filename":"file4"},{"photo_id":"1401808949","filename":"file1"},{"photo_id":"1401808909","filename":"file0"},{"photo_id":"1401809021","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401808909":["hashtag1","hashtag2"]},{"1401808986":["hashtag1","hashtag2"]},{"1401809075":["hashtag1","hashtag2"]},{"1401809021":["hashtag1","hashtag2"]},{"1401808949":["hashtag1","hashtag2"]},{"1401809122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401808909, 1401808986, 1401809075, 1401809021, 1401808949, 1401809122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80958962440491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:05:44.031516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_08_3625.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_11_2715.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_14_2653.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_16_2739.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_20_3863.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_26_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_08_3625.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_11_2715.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_14_2653.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_16_2739.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_20_3863.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_26_2728.jpg
2025-12-31 01:05:44.088068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_08_3625.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_11_2715.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_14_2653.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_16_2739.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_20_3863.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_26_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_08_3625.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_11_2715.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_14_2653.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_16_2739.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_20_3863.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_26_2728.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401809391","1401809355","1401809468","1401809507","1401809431","1401809317"],"photo_ids_order":["1401809317","1401809355","1401809391","1401809431","1401809468","1401809507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87e66a95c33a4b722653fa0828e57296.jpg","text":"TemporaryFile(/tmp/multipartBody4672105952583535775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606041,"filename":"image_02112025_19_55_14_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c73d5d63f5b9a02bc05b661c2d145fae.jpg","text":"TemporaryFile(/tmp/multipartBody593604077395996502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606041,"filename":"image_02112025_19_55_11_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3fddcbf73a3eb44a832c322cd426142.jpg","text":"TemporaryFile(/tmp/multipartBody815167022612319958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606041,"filename":"image_02112025_19_55_20_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c88dec9db8af787055e2fb6f8f7f130.jpg","text":"TemporaryFile(/tmp/multipartBody5793318596961592195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606041,"filename":"image_02112025_19_55_26_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98bae9aa71a67c22bc50ea023fa301a9.jpg","text":"TemporaryFile(/tmp/multipartBody1140610753533531019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606041,"filename":"image_02112025_19_55_16_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20f51118af3cb40f73186457c8021060.jpg","text":"TemporaryFile(/tmp/multipartBody1551304478050285885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606041,"filename":"image_02112025_19_55_08_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401809391","file1":"1401809355","file0":"1401809317","file4":"1401809468","file5":"1401809507","file3":"1401809431"},"map_files_photo_id_array":[{"photo_id":"1401809507","filename":"file5"},{"photo_id":"1401809391","filename":"file2"},{"photo_id":"1401809468","filename":"file4"},{"photo_id":"1401809355","filename":"file1"},{"photo_id":"1401809317","filename":"file0"},{"photo_id":"1401809431","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401809391":["hashtag1","hashtag2"]},{"1401809355":["hashtag1","hashtag2"]},{"1401809468":["hashtag1","hashtag2"]},{"1401809507":["hashtag1","hashtag2"]},{"1401809431":["hashtag1","hashtag2"]},{"1401809317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401809391, 1401809355, 1401809468, 1401809507, 1401809431, 1401809317)","result":[],"list_datou_current":[]}'
Result OK !
 val : 2 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.55158996582031 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401809361","1401809399","1401809316","1401809438","1401809513","1401809476"],"photo_ids_order":["1401809316","1401809361","1401809399","1401809438","1401809476","1401809513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30dd5673ae88c76bc6d586376c3030c0.jpg","text":"TemporaryFile(/tmp/multipartBody6454987123441526512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606037,"filename":"image_02112025_19_55_11_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8648297460823a73118138f693c54ca2.jpg","text":"TemporaryFile(/tmp/multipartBody9084409861721641169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606037,"filename":"image_02112025_19_55_14_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35e02f20ca3f8f04d1a25aa8e4190d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4320800673052550853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606037,"filename":"image_02112025_19_55_08_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbbff523b933b4c7b3b62fc7ba5c69f3.jpg","text":"TemporaryFile(/tmp/multipartBody8908021915143461400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606037,"filename":"image_02112025_19_55_16_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36ede1358c4cea45baf739d798d0fece.jpg","text":"TemporaryFile(/tmp/multipartBody2689599111699713687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606037,"filename":"image_02112025_19_55_26_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c1e467951593f54474b8603b1d3d256.jpg","text":"TemporaryFile(/tmp/multipartBody605801163235454395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139606037,"filename":"image_02112025_19_55_20_3863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401809399","file1":"1401809361","file0":"1401809316","file4":"1401809476","file5":"1401809513","file3":"1401809438"},"map_files_photo_id_array":[{"photo_id":"1401809513","filename":"file5"},{"photo_id":"1401809399","filename":"file2"},{"photo_id":"1401809476","filename":"file4"},{"photo_id":"1401809361","filename":"file1"},{"photo_id":"1401809316","filename":"file0"},{"photo_id":"1401809438","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401809361":["hashtag1","hashtag2"]},{"1401809399":["hashtag1","hashtag2"]},{"1401809316":["hashtag1","hashtag2"]},{"1401809438":["hashtag1","hashtag2"]},{"1401809513":["hashtag1","hashtag2"]},{"1401809476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401809361, 1401809399, 1401809316, 1401809438, 1401809513, 1401809476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35712242126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:06:32.061921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_28_2678.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_32_3734.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_47_2772.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_49_2689.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_53_3724.jpg', '/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_56_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_28_2678.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_32_3734.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_47_2772.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_49_2689.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_53_3724.jpg
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_56_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401809883","1401809961","1401810039","1401810102","1401809807","1401810125"],"photo_ids_order":["1401809807","1401809883","1401809961","1401810039","1401810102","1401810125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89a113e1c6f8800ef1ab74130a8abcfb.jpg","text":"TemporaryFile(/tmp/multipartBody352956219826129041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139653874,"filename":"image_02112025_19_55_32_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5025a8c3fb1b828e90f96550451cbf31.jpg","text":"TemporaryFile(/tmp/multipartBody6648540033118164398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139653874,"filename":"image_02112025_19_55_47_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01fbf66491bb04300b7661dc3ff0ea12.jpg","text":"TemporaryFile(/tmp/multipartBody5908051596633198325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139653874,"filename":"image_02112025_19_55_49_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2c41d1c965cc02da5e04d6139688ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4033874217680158359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139653874,"filename":"image_02112025_19_55_53_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d047ead425e82136ec0fa83d4e6c8d6.jpg","text":"TemporaryFile(/tmp/multipartBody4474585546062516594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139653874,"filename":"image_02112025_19_55_28_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/471f650d7410085a0a8ba0432509cd7a.jpg","text":"TemporaryFile(/tmp/multipartBody4119750476817611915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139653874,"filename":"image_02112025_19_55_56_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401809961","file1":"1401809883","file0":"1401809807","file4":"1401810102","file5":"1401810125","file3":"1401810039"},"map_files_photo_id_array":[{"photo_id":"1401810125","filename":"file5"},{"photo_id":"1401809961","filename":"file2"},{"photo_id":"1401810102","filename":"file4"},{"photo_id":"1401809883","filename":"file1"},{"photo_id":"1401809807","filename":"file0"},{"photo_id":"1401810039","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401809883":["hashtag1","hashtag2"]},{"1401809961":["hashtag1","hashtag2"]},{"1401810039":["hashtag1","hashtag2"]},{"1401810102":["hashtag1","hashtag2"]},{"1401809807":["hashtag1","hashtag2"]},{"1401810125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401809883, 1401809961, 1401810039, 1401810102, 1401809807, 1401810125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55781030654907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:07:12.220206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_59_2913.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_08_2641.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_10_2668.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_14_3670.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_17_2696.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_19_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/55/image_02112025_19_55_59_2913.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_08_2641.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_10_2668.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_14_3670.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_17_2696.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_19_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401810280","1401810652","1401810220","1401810437","1401810184","1401810556"],"photo_ids_order":["1401810184","1401810220","1401810280","1401810437","1401810556","1401810652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12320f922e74835d71c997b1ba667605.jpg","text":"TemporaryFile(/tmp/multipartBody5080238332381293795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139693969,"filename":"image_02112025_19_56_10_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50c69b5f0dfb93312a51f54f9518c14a.jpg","text":"TemporaryFile(/tmp/multipartBody4394934612565366730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139693969,"filename":"image_02112025_19_56_19_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac214be7e1d00880aadd45cad1e5cdeb.jpg","text":"TemporaryFile(/tmp/multipartBody3179624448634727430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139693969,"filename":"image_02112025_19_56_08_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11bae755c11762f6e4c092cc332c9200.jpg","text":"TemporaryFile(/tmp/multipartBody8168139484892115729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139693969,"filename":"image_02112025_19_56_14_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e604d7c598e7c121cf5533116b734de.jpg","text":"TemporaryFile(/tmp/multipartBody4816467534515858926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139693969,"filename":"image_02112025_19_55_59_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b00dec6adde7003150cdd8bc065ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody7247094229673262647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139693969,"filename":"image_02112025_19_56_17_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401810280","file1":"1401810220","file0":"1401810184","file4":"1401810556","file5":"1401810652","file3":"1401810437"},"map_files_photo_id_array":[{"photo_id":"1401810652","filename":"file5"},{"photo_id":"1401810280","filename":"file2"},{"photo_id":"1401810556","filename":"file4"},{"photo_id":"1401810220","filename":"file1"},{"photo_id":"1401810184","filename":"file0"},{"photo_id":"1401810437","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401810280":["hashtag1","hashtag2"]},{"1401810652":["hashtag1","hashtag2"]},{"1401810220":["hashtag1","hashtag2"]},{"1401810437":["hashtag1","hashtag2"]},{"1401810184":["hashtag1","hashtag2"]},{"1401810556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401810280, 1401810652, 1401810220, 1401810437, 1401810184, 1401810556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.268187046051025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:08:02.734554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_24_9733.jpg', '/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_34_9736.jpg', '/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_45_10710.jpg', '/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_54_9517.jpg', '/home/pi/Desktop/images/31122025/01/03/image_31122025_01_04_04_10212.jpg', '/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_14_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_24_9733.jpg
/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_34_9736.jpg
/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_45_10710.jpg
/home/pi/Desktop/images/31122025/01/03/image_31122025_01_03_54_9517.jpg
/home/pi/Desktop/images/31122025/01/03/image_31122025_01_04_04_10212.jpg
/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_14_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811050","1401811052","1401810887","1401811043","1401810884","1401810946"],"photo_ids_order":["1401810884","1401810887","1401810946","1401811043","1401811050","1401811052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7582f1ec9085b573a932aebe0084ad26.jpg","text":"TemporaryFile(/tmp/multipartBody6241186116168093966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139745798,"filename":"image_31122025_01_04_04_10212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c7cb67af520fa236ce6a104609179fc.jpg","text":"TemporaryFile(/tmp/multipartBody3934008514619581420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139745798,"filename":"image_31122025_01_04_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f691247c2bb67a2a81a4e5fb3ced5651.jpg","text":"TemporaryFile(/tmp/multipartBody8128010454824466210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139745798,"filename":"image_31122025_01_03_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13d6d24e123600392d3dacc8320ee532.jpg","text":"TemporaryFile(/tmp/multipartBody4305112040057102467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139745798,"filename":"image_31122025_01_03_54_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e42f885d7eeebbde8d27c05d23a2a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4985294777704187278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139745798,"filename":"image_31122025_01_03_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f26461201e8acfba1c9380917ec0023f.jpg","text":"TemporaryFile(/tmp/multipartBody160288683560951832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139745798,"filename":"image_31122025_01_03_45_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401810946","file1":"1401810887","file0":"1401810884","file4":"1401811050","file5":"1401811052","file3":"1401811043"},"map_files_photo_id_array":[{"photo_id":"1401811052","filename":"file5"},{"photo_id":"1401810946","filename":"file2"},{"photo_id":"1401811050","filename":"file4"},{"photo_id":"1401810887","filename":"file1"},{"photo_id":"1401810884","filename":"file0"},{"photo_id":"1401811043","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811050":["hashtag1","hashtag2"]},{"1401811052":["hashtag1","hashtag2"]},{"1401810887":["hashtag1","hashtag2"]},{"1401811043":["hashtag1","hashtag2"]},{"1401810884":["hashtag1","hashtag2"]},{"1401810946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811050, 1401811052, 1401810887, 1401811043, 1401810884, 1401810946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99121022224426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:09:03.481195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_24_9881.jpg', '/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_34_9983.jpg', '/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_45_10681.jpg', '/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_54_9589.jpg', '/home/pi/Desktop/images/31122025/01/04/image_31122025_01_05_04_9831.jpg', '/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_14_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_24_9881.jpg
/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_34_9983.jpg
/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_45_10681.jpg
/home/pi/Desktop/images/31122025/01/04/image_31122025_01_04_54_9589.jpg
/home/pi/Desktop/images/31122025/01/04/image_31122025_01_05_04_9831.jpg
/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_14_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811123","1401811117","1401811125","1401811127","1401811130","1401811120"],"photo_ids_order":["1401811117","1401811120","1401811123","1401811125","1401811127","1401811130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1a6d87f7946b4b252bd9be07e1debae.jpg","text":"TemporaryFile(/tmp/multipartBody6139335732054159048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139804220,"filename":"image_31122025_01_04_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72386e41e9b99f6bc109279f41704df8.jpg","text":"TemporaryFile(/tmp/multipartBody5334946438681090596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139804220,"filename":"image_31122025_01_04_24_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fd9213b98a8207e0b8f8c466d7303d8.jpg","text":"TemporaryFile(/tmp/multipartBody5678949365342118216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139804220,"filename":"image_31122025_01_04_54_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07f1873958ea0d6f9afe1436ad62f379.jpg","text":"TemporaryFile(/tmp/multipartBody1159531358188639743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139804220,"filename":"image_31122025_01_05_04_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/936d1011d391888de927b4a5054219c0.jpg","text":"TemporaryFile(/tmp/multipartBody6340954598713987427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139804220,"filename":"image_31122025_01_05_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1342aa69fb6bccd0df535bd54fd91b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5009614272299796498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139804220,"filename":"image_31122025_01_04_34_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811123","file1":"1401811120","file0":"1401811117","file4":"1401811127","file5":"1401811130","file3":"1401811125"},"map_files_photo_id_array":[{"photo_id":"1401811130","filename":"file5"},{"photo_id":"1401811123","filename":"file2"},{"photo_id":"1401811127","filename":"file4"},{"photo_id":"1401811120","filename":"file1"},{"photo_id":"1401811117","filename":"file0"},{"photo_id":"1401811125","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811123":["hashtag1","hashtag2"]},{"1401811117":["hashtag1","hashtag2"]},{"1401811125":["hashtag1","hashtag2"]},{"1401811127":["hashtag1","hashtag2"]},{"1401811130":["hashtag1","hashtag2"]},{"1401811120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811123, 1401811117, 1401811125, 1401811127, 1401811130, 1401811120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54637670516968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:09:42.552375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_26_2758.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_29_2831.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_38_2653.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_40_2659.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_47_2768.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_49_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_26_2758.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_29_2831.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_38_2653.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_40_2659.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_47_2768.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_49_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811140","1401811146","1401811142","1401811144","1401811138","1401811135"],"photo_ids_order":["1401811135","1401811138","1401811140","1401811142","1401811144","1401811146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e170d40adf5534bd372d6959c2bb48b.jpg","text":"TemporaryFile(/tmp/multipartBody2697354360797746316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139844430,"filename":"image_02112025_19_56_38_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d5e26bb5bf6de1711a98ae4dd7dedd1.jpg","text":"TemporaryFile(/tmp/multipartBody6410339982150287024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139844430,"filename":"image_02112025_19_56_49_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f97f72d4f18320511f89d1829c22ba10.jpg","text":"TemporaryFile(/tmp/multipartBody3942324574002593572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139844430,"filename":"image_02112025_19_56_40_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85438a05a30b7ea068dda9880c2ed1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7187506546177925416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139844430,"filename":"image_02112025_19_56_47_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e897d387738fc4eb5baf1a5acdd29a1c.jpg","text":"TemporaryFile(/tmp/multipartBody3978570370821616938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139844430,"filename":"image_02112025_19_56_29_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec31956ba191abc9c24fbc09b57e4803.jpg","text":"TemporaryFile(/tmp/multipartBody3187772535948452695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139844430,"filename":"image_02112025_19_56_26_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811140","file1":"1401811138","file0":"1401811135","file4":"1401811144","file5":"1401811146","file3":"1401811142"},"map_files_photo_id_array":[{"photo_id":"1401811146","filename":"file5"},{"photo_id":"1401811140","filename":"file2"},{"photo_id":"1401811144","filename":"file4"},{"photo_id":"1401811138","filename":"file1"},{"photo_id":"1401811135","filename":"file0"},{"photo_id":"1401811142","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811140":["hashtag1","hashtag2"]},{"1401811146":["hashtag1","hashtag2"]},{"1401811142":["hashtag1","hashtag2"]},{"1401811144":["hashtag1","hashtag2"]},{"1401811138":["hashtag1","hashtag2"]},{"1401811135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811140, 1401811146, 1401811142, 1401811144, 1401811138, 1401811135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.580299854278564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:10:22.694387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_24_10680.jpg', '/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_34_9855.jpg', '/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_44_9704.jpg', '/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_54_9862.jpg', '/home/pi/Desktop/images/31122025/01/05/image_31122025_01_06_05_10683.jpg', '/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_14_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_24_10680.jpg
/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_34_9855.jpg
/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_44_9704.jpg
/home/pi/Desktop/images/31122025/01/05/image_31122025_01_05_54_9862.jpg
/home/pi/Desktop/images/31122025/01/05/image_31122025_01_06_05_10683.jpg
/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_14_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811155","1401811149","1401811170","1401811152","1401811163","1401811150"],"photo_ids_order":["1401811149","1401811150","1401811152","1401811155","1401811163","1401811170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a4943bd5046e9c0425bcba557d158e9.jpg","text":"TemporaryFile(/tmp/multipartBody6893096353782954732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139883282,"filename":"image_31122025_01_05_54_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c8c7bc16424edbffb0d8a7c26ce9863.jpg","text":"TemporaryFile(/tmp/multipartBody8839287835486639959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139883282,"filename":"image_31122025_01_05_24_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da44522632c44269908f20cf0a14a649.jpg","text":"TemporaryFile(/tmp/multipartBody8581267323661641548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139883282,"filename":"image_31122025_01_06_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9549e34115ddc390edf7c5b6a372f4da.jpg","text":"TemporaryFile(/tmp/multipartBody7051465739228453124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139883282,"filename":"image_31122025_01_05_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fada364136b5ac067e55728e8dd980b.jpg","text":"TemporaryFile(/tmp/multipartBody7481104301734083017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139883282,"filename":"image_31122025_01_06_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce6dfdde73ab8baa96f992fb3ab7b177.jpg","text":"TemporaryFile(/tmp/multipartBody6721952497922763668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139883282,"filename":"image_31122025_01_05_34_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811152","file1":"1401811150","file0":"1401811149","file4":"1401811163","file5":"1401811170","file3":"1401811155"},"map_files_photo_id_array":[{"photo_id":"1401811170","filename":"file5"},{"photo_id":"1401811152","filename":"file2"},{"photo_id":"1401811163","filename":"file4"},{"photo_id":"1401811150","filename":"file1"},{"photo_id":"1401811149","filename":"file0"},{"photo_id":"1401811155","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811155":["hashtag1","hashtag2"]},{"1401811149":["hashtag1","hashtag2"]},{"1401811170":["hashtag1","hashtag2"]},{"1401811152":["hashtag1","hashtag2"]},{"1401811163":["hashtag1","hashtag2"]},{"1401811150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811155, 1401811149, 1401811170, 1401811152, 1401811163, 1401811150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23408651351929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:11:02.651389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_24_9754.jpg', '/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_35_10773.jpg', '/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_44_9238.jpg', '/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_55_10658.jpg', '/home/pi/Desktop/images/31122025/01/06/image_31122025_01_07_04_9655.jpg', '/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_14_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_24_9754.jpg
/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_35_10773.jpg
/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_44_9238.jpg
/home/pi/Desktop/images/31122025/01/06/image_31122025_01_06_55_10658.jpg
/home/pi/Desktop/images/31122025/01/06/image_31122025_01_07_04_9655.jpg
/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_14_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811191","1401811194","1401811176","1401811181","1401811192","1401811198"],"photo_ids_order":["1401811176","1401811181","1401811191","1401811192","1401811194","1401811198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be60b6660e79a97635d5eabc6d14b320.jpg","text":"TemporaryFile(/tmp/multipartBody4566409415336362415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139923307,"filename":"image_31122025_01_06_44_9238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0af0204f5921599184958efbeb366c53.jpg","text":"TemporaryFile(/tmp/multipartBody8396052933316310321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139923307,"filename":"image_31122025_01_07_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/436866fc0e773d37da98934e140bee31.jpg","text":"TemporaryFile(/tmp/multipartBody5017971863114699623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139923307,"filename":"image_31122025_01_06_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efb5be76e99687a6dc94da62053a815e.jpg","text":"TemporaryFile(/tmp/multipartBody2474186323023882991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139923307,"filename":"image_31122025_01_06_35_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c0f0319e439936cff722126ed162b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1699482942005496128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139923307,"filename":"image_31122025_01_06_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1679a3d642634c14ab0a77e049898304.jpg","text":"TemporaryFile(/tmp/multipartBody7230512651174561627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139923307,"filename":"image_31122025_01_07_14_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811191","file1":"1401811181","file0":"1401811176","file4":"1401811194","file5":"1401811198","file3":"1401811192"},"map_files_photo_id_array":[{"photo_id":"1401811198","filename":"file5"},{"photo_id":"1401811191","filename":"file2"},{"photo_id":"1401811194","filename":"file4"},{"photo_id":"1401811181","filename":"file1"},{"photo_id":"1401811176","filename":"file0"},{"photo_id":"1401811192","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811191":["hashtag1","hashtag2"]},{"1401811194":["hashtag1","hashtag2"]},{"1401811176":["hashtag1","hashtag2"]},{"1401811181":["hashtag1","hashtag2"]},{"1401811192":["hashtag1","hashtag2"]},{"1401811198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811191, 1401811194, 1401811176, 1401811181, 1401811192, 1401811198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.946457624435425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:11:41.914435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_56_2681.jpg', '/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_58_2650.jpg', '/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_02_3592.jpg', '/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_05_2719.jpg', '/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_23_3724.jpg', '/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_26_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_56_2681.jpg
/home/pi/Desktop/images/02112025/19/56/image_02112025_19_56_58_2650.jpg
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_02_3592.jpg
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_05_2719.jpg
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_23_3724.jpg
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_26_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811212","1401811206","1401811209","1401811214","1401811211","1401811210"],"photo_ids_order":["1401811206","1401811209","1401811210","1401811211","1401811212","1401811214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b081c89a4b1d7700e242191f08a8068e.jpg","text":"TemporaryFile(/tmp/multipartBody8407989287358063023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139963812,"filename":"image_02112025_19_57_23_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3abeef66f38738a4c8cd1c4ff76ab62.jpg","text":"TemporaryFile(/tmp/multipartBody3869706681636281126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139963812,"filename":"image_02112025_19_56_56_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d49043be2b033d9293064f32888d0e3.jpg","text":"TemporaryFile(/tmp/multipartBody780932258306146825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139963812,"filename":"image_02112025_19_56_58_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/007e3f713ee662244082664edd6410ea.jpg","text":"TemporaryFile(/tmp/multipartBody3723612478352635657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139963812,"filename":"image_02112025_19_57_26_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13dbedb06bc784e6c8032c3c37fce3c6.jpg","text":"TemporaryFile(/tmp/multipartBody8901820234606760427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139963812,"filename":"image_02112025_19_57_05_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/569f5e4a0119f2e0ff27921266f8ccef.jpg","text":"TemporaryFile(/tmp/multipartBody7485321912684830944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767139963812,"filename":"image_02112025_19_57_02_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811210","file1":"1401811209","file0":"1401811206","file4":"1401811212","file5":"1401811214","file3":"1401811211"},"map_files_photo_id_array":[{"photo_id":"1401811214","filename":"file5"},{"photo_id":"1401811210","filename":"file2"},{"photo_id":"1401811212","filename":"file4"},{"photo_id":"1401811209","filename":"file1"},{"photo_id":"1401811206","filename":"file0"},{"photo_id":"1401811211","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811212":["hashtag1","hashtag2"]},{"1401811206":["hashtag1","hashtag2"]},{"1401811209":["hashtag1","hashtag2"]},{"1401811214":["hashtag1","hashtag2"]},{"1401811211":["hashtag1","hashtag2"]},{"1401811210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811212, 1401811206, 1401811209, 1401811214, 1401811211, 1401811210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43372869491577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:12:22.040852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_25_10658.jpg', '/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_34_9665.jpg', '/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_44_9746.jpg', '/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_55_10707.jpg', '/home/pi/Desktop/images/31122025/01/07/image_31122025_01_08_04_9662.jpg', '/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_14_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_25_10658.jpg
/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_34_9665.jpg
/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_44_9746.jpg
/home/pi/Desktop/images/31122025/01/07/image_31122025_01_07_55_10707.jpg
/home/pi/Desktop/images/31122025/01/07/image_31122025_01_08_04_9662.jpg
/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_14_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811224","1401811232","1401811226","1401811229","1401811220","1401811217"],"photo_ids_order":["1401811217","1401811220","1401811224","1401811226","1401811229","1401811232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2e7a8fff41336584afba117d0aca508.jpg","text":"TemporaryFile(/tmp/multipartBody8455748799420003571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140002671,"filename":"image_31122025_01_07_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2431abf16d6b649300401877d1288fff.jpg","text":"TemporaryFile(/tmp/multipartBody2190509454234508012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140002671,"filename":"image_31122025_01_08_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/820b65bb71071366bbe16083d8458dce.jpg","text":"TemporaryFile(/tmp/multipartBody4547439949969795744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140002671,"filename":"image_31122025_01_07_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/232ebf0d7579c96aa704e88586994581.jpg","text":"TemporaryFile(/tmp/multipartBody9177277058351935940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140002671,"filename":"image_31122025_01_08_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dd3e2e307d33b514c55e9930f6fcb4b.jpg","text":"TemporaryFile(/tmp/multipartBody6740551087812363415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140002671,"filename":"image_31122025_01_07_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d96945c06d44ebd6fb0680bf446174ea.jpg","text":"TemporaryFile(/tmp/multipartBody6211580960791421875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140002671,"filename":"image_31122025_01_07_25_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811224","file1":"1401811220","file0":"1401811217","file4":"1401811229","file5":"1401811232","file3":"1401811226"},"map_files_photo_id_array":[{"photo_id":"1401811232","filename":"file5"},{"photo_id":"1401811224","filename":"file2"},{"photo_id":"1401811229","filename":"file4"},{"photo_id":"1401811220","filename":"file1"},{"photo_id":"1401811217","filename":"file0"},{"photo_id":"1401811226","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811224":["hashtag1","hashtag2"]},{"1401811232":["hashtag1","hashtag2"]},{"1401811226":["hashtag1","hashtag2"]},{"1401811229":["hashtag1","hashtag2"]},{"1401811220":["hashtag1","hashtag2"]},{"1401811217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811224, 1401811232, 1401811226, 1401811229, 1401811220, 1401811217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.710941553115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:13:03.004907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_24_10092.jpg', '/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_35_10574.jpg', '/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_44_9802.jpg', '/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_54_9567.jpg', '/home/pi/Desktop/images/31122025/01/08/image_31122025_01_09_04_9941.jpg', '/home/pi/Desktop/images/31122025/01/09/image_31122025_01_09_15_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_24_10092.jpg
/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_35_10574.jpg
/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_44_9802.jpg
/home/pi/Desktop/images/31122025/01/08/image_31122025_01_08_54_9567.jpg
/home/pi/Desktop/images/31122025/01/08/image_31122025_01_09_04_9941.jpg
/home/pi/Desktop/images/31122025/01/09/image_31122025_01_09_15_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811266","1401811269","1401811260","1401811262","1401811250","1401811264"],"photo_ids_order":["1401811250","1401811260","1401811262","1401811264","1401811266","1401811269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16065875e7d690a75cc708413b4cf566.jpg","text":"TemporaryFile(/tmp/multipartBody1119367636696080401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140043657,"filename":"image_31122025_01_09_04_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06a06c8a2edcdad4eba5d0516d2308de.jpg","text":"TemporaryFile(/tmp/multipartBody4828018018949661580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140043657,"filename":"image_31122025_01_09_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c1b734909ecb43a957cfea77e1c287f.jpg","text":"TemporaryFile(/tmp/multipartBody8414457627065362562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140043657,"filename":"image_31122025_01_08_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/823f77210b58245758c825b5f5e32c15.jpg","text":"TemporaryFile(/tmp/multipartBody3431819295312291929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140043657,"filename":"image_31122025_01_08_44_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba12c7b45b8b9a222a1e0ebbf5cbe464.jpg","text":"TemporaryFile(/tmp/multipartBody1803972221153924397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140043657,"filename":"image_31122025_01_08_24_10092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15c7a161faeb80e2f49fa7e2489c8647.jpg","text":"TemporaryFile(/tmp/multipartBody6893596796802552238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140043657,"filename":"image_31122025_01_08_54_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811262","file1":"1401811260","file0":"1401811250","file4":"1401811266","file5":"1401811269","file3":"1401811264"},"map_files_photo_id_array":[{"photo_id":"1401811269","filename":"file5"},{"photo_id":"1401811262","filename":"file2"},{"photo_id":"1401811266","filename":"file4"},{"photo_id":"1401811260","filename":"file1"},{"photo_id":"1401811250","filename":"file0"},{"photo_id":"1401811264","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811266":["hashtag1","hashtag2"]},{"1401811269":["hashtag1","hashtag2"]},{"1401811260":["hashtag1","hashtag2"]},{"1401811262":["hashtag1","hashtag2"]},{"1401811250":["hashtag1","hashtag2"]},{"1401811264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811266, 1401811269, 1401811260, 1401811262, 1401811250, 1401811264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61477851867676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:13:42.307580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_28_2605.jpg', '/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_32_3554.jpg', '/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_46_2856.jpg', '/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_49_2716.jpg', '/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_58_2514.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_02_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_28_2605.jpg
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_32_3554.jpg
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_46_2856.jpg
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_49_2716.jpg
/home/pi/Desktop/images/02112025/19/57/image_02112025_19_57_58_2514.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_02_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811281","1401811283","1401811277","1401811274","1401811285","1401811279"],"photo_ids_order":["1401811274","1401811277","1401811279","1401811281","1401811283","1401811285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40211d0b67ffb10ef445af2dbee67a41.jpg","text":"TemporaryFile(/tmp/multipartBody978053598895092297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140084209,"filename":"image_02112025_19_57_49_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed8e34fb932bc84a67f0677846136f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4515152544995756089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140084209,"filename":"image_02112025_19_57_58_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ccf69adbb81596e8591ab62524c66e2.jpg","text":"TemporaryFile(/tmp/multipartBody5789875119603434389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140084209,"filename":"image_02112025_19_57_32_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13ee1f6f0e08de3a3c5571fd7336259c.jpg","text":"TemporaryFile(/tmp/multipartBody9202760376037391930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140084209,"filename":"image_02112025_19_57_28_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a2b766ff95e39eec1d42119f2900fc9.jpg","text":"TemporaryFile(/tmp/multipartBody4568078795640902726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140084209,"filename":"image_02112025_19_58_02_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4632032e357e3f00d0e086bc13ac037d.jpg","text":"TemporaryFile(/tmp/multipartBody5021173315607118450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140084209,"filename":"image_02112025_19_57_46_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811279","file1":"1401811277","file0":"1401811274","file4":"1401811283","file5":"1401811285","file3":"1401811281"},"map_files_photo_id_array":[{"photo_id":"1401811285","filename":"file5"},{"photo_id":"1401811279","filename":"file2"},{"photo_id":"1401811283","filename":"file4"},{"photo_id":"1401811277","filename":"file1"},{"photo_id":"1401811274","filename":"file0"},{"photo_id":"1401811281","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811281":["hashtag1","hashtag2"]},{"1401811283":["hashtag1","hashtag2"]},{"1401811277":["hashtag1","hashtag2"]},{"1401811274":["hashtag1","hashtag2"]},{"1401811285":["hashtag1","hashtag2"]},{"1401811279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811281, 1401811283, 1401811277, 1401811274, 1401811285, 1401811279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07642340660095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:14:22.551141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/09/image_31122025_01_09_24_9612.jpg', '/home/pi/Desktop/images/31122025/01/09/image_31122025_01_09_45_10748.jpg', '/home/pi/Desktop/images/31122025/01/09/image_31122025_01_09_54_9700.jpg', '/home/pi/Desktop/images/31122025/01/09/image_31122025_01_10_04_9934.jpg', '/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_14_9932.jpg', '/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_24_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/09/image_31122025_01_09_24_9612.jpg
/home/pi/Desktop/images/31122025/01/09/image_31122025_01_09_45_10748.jpg
/home/pi/Desktop/images/31122025/01/09/image_31122025_01_09_54_9700.jpg
/home/pi/Desktop/images/31122025/01/09/image_31122025_01_10_04_9934.jpg
/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_14_9932.jpg
/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_24_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811302","1401811305","1401811289","1401811298","1401811291","1401811294"],"photo_ids_order":["1401811289","1401811291","1401811294","1401811298","1401811302","1401811305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bf4a150fe3392a64f89d5be06e5b8de.jpg","text":"TemporaryFile(/tmp/multipartBody1686122185871147463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140123146,"filename":"image_31122025_01_10_14_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e1688c3babd65b57849677e4c283fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8155268656020797714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140123146,"filename":"image_31122025_01_10_24_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb142d55f9282226aa3654522c6c34aa.jpg","text":"TemporaryFile(/tmp/multipartBody3324335733065305047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140123146,"filename":"image_31122025_01_09_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f64013ef60b686b4e874f14ceb19164b.jpg","text":"TemporaryFile(/tmp/multipartBody3628865195594509885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140123146,"filename":"image_31122025_01_10_04_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/019a7524023b36d31bc3cc455207b25e.jpg","text":"TemporaryFile(/tmp/multipartBody1293042393648800917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140123146,"filename":"image_31122025_01_09_45_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e0597df802e51df2978fa599aacbaca.jpg","text":"TemporaryFile(/tmp/multipartBody1972092792652352254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140123146,"filename":"image_31122025_01_09_54_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811294","file1":"1401811291","file0":"1401811289","file4":"1401811302","file5":"1401811305","file3":"1401811298"},"map_files_photo_id_array":[{"photo_id":"1401811305","filename":"file5"},{"photo_id":"1401811294","filename":"file2"},{"photo_id":"1401811302","filename":"file4"},{"photo_id":"1401811291","filename":"file1"},{"photo_id":"1401811289","filename":"file0"},{"photo_id":"1401811298","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811302":["hashtag1","hashtag2"]},{"1401811305":["hashtag1","hashtag2"]},{"1401811289":["hashtag1","hashtag2"]},{"1401811298":["hashtag1","hashtag2"]},{"1401811291":["hashtag1","hashtag2"]},{"1401811294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811302, 1401811305, 1401811289, 1401811298, 1401811291, 1401811294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11381125450134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:15:03.335346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_34_9816.jpg', '/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_45_10657.jpg', '/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_54_9579.jpg', '/home/pi/Desktop/images/31122025/01/11/image_31122025_01_11_24_9607.jpg', '/home/pi/Desktop/images/31122025/01/11/image_31122025_01_11_45_10850.jpg', '/home/pi/Desktop/images/31122025/01/11/image_31122025_01_11_54_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_34_9816.jpg
/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_45_10657.jpg
/home/pi/Desktop/images/31122025/01/10/image_31122025_01_10_54_9579.jpg
/home/pi/Desktop/images/31122025/01/11/image_31122025_01_11_24_9607.jpg
/home/pi/Desktop/images/31122025/01/11/image_31122025_01_11_45_10850.jpg
/home/pi/Desktop/images/31122025/01/11/image_31122025_01_11_54_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811309","1401811317","1401811311","1401811314","1401811308","1401811310"],"photo_ids_order":["1401811308","1401811309","1401811310","1401811311","1401811314","1401811317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/062c25c3ed3d767358afd9090453d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody1009456472788619936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140163963,"filename":"image_31122025_01_10_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a633b1d7139d14eee0f66974eb9690ef.jpg","text":"TemporaryFile(/tmp/multipartBody1022756267128257834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140163963,"filename":"image_31122025_01_11_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2dd7131c41f380cd70ec216bca5efcdb.jpg","text":"TemporaryFile(/tmp/multipartBody4159711411658489675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140163963,"filename":"image_31122025_01_11_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d76ae391615b5e9823afde5c7b9a7afb.jpg","text":"TemporaryFile(/tmp/multipartBody1626582624346689018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140163963,"filename":"image_31122025_01_11_45_10850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6729882fb3749a5ce16cee4dbbc5cbc6.jpg","text":"TemporaryFile(/tmp/multipartBody2984260150294073492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140163963,"filename":"image_31122025_01_10_34_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3d3eeb8e2e8f99c1137746e8a9f2dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1658673669172471347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140163963,"filename":"image_31122025_01_10_54_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811310","file1":"1401811309","file0":"1401811308","file4":"1401811314","file5":"1401811317","file3":"1401811311"},"map_files_photo_id_array":[{"photo_id":"1401811317","filename":"file5"},{"photo_id":"1401811310","filename":"file2"},{"photo_id":"1401811314","filename":"file4"},{"photo_id":"1401811309","filename":"file1"},{"photo_id":"1401811308","filename":"file0"},{"photo_id":"1401811311","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811309":["hashtag1","hashtag2"]},{"1401811317":["hashtag1","hashtag2"]},{"1401811311":["hashtag1","hashtag2"]},{"1401811314":["hashtag1","hashtag2"]},{"1401811308":["hashtag1","hashtag2"]},{"1401811310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811309, 1401811317, 1401811311, 1401811314, 1401811308, 1401811310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05472683906555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:15:42.639076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_05_2833.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_07_2543.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_11_3696.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_14_2771.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_16_2766.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_19_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_05_2833.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_07_2543.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_11_3696.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_14_2771.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_16_2766.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_19_2780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811329","1401811332","1401811325","1401811328","1401811330","1401811327"],"photo_ids_order":["1401811325","1401811327","1401811328","1401811329","1401811330","1401811332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a401d61955d1f153cb0cac9a34b75b1d.jpg","text":"TemporaryFile(/tmp/multipartBody7764084646558641937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140204514,"filename":"image_02112025_19_58_14_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4d575e764c3a80e2dd482343421231e.jpg","text":"TemporaryFile(/tmp/multipartBody3875932936755083258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140204514,"filename":"image_02112025_19_58_19_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d1abe2f9fa04321829e7c899873eb69.jpg","text":"TemporaryFile(/tmp/multipartBody7585988950920275393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140204514,"filename":"image_02112025_19_58_05_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/670483f792298d8b9d6860d025c100d8.jpg","text":"TemporaryFile(/tmp/multipartBody5724361819357057712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140204514,"filename":"image_02112025_19_58_11_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a58531dbcf0ef1a35a5759facb16b552.jpg","text":"TemporaryFile(/tmp/multipartBody9067345670349642984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140204514,"filename":"image_02112025_19_58_16_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/277b5d4f4328277ab4e3c19f86ec8ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5000139053313097891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140204514,"filename":"image_02112025_19_58_07_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811328","file1":"1401811327","file0":"1401811325","file4":"1401811330","file5":"1401811332","file3":"1401811329"},"map_files_photo_id_array":[{"photo_id":"1401811332","filename":"file5"},{"photo_id":"1401811328","filename":"file2"},{"photo_id":"1401811330","filename":"file4"},{"photo_id":"1401811327","filename":"file1"},{"photo_id":"1401811325","filename":"file0"},{"photo_id":"1401811329","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811329":["hashtag1","hashtag2"]},{"1401811332":["hashtag1","hashtag2"]},{"1401811325":["hashtag1","hashtag2"]},{"1401811328":["hashtag1","hashtag2"]},{"1401811330":["hashtag1","hashtag2"]},{"1401811327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811329, 1401811332, 1401811325, 1401811328, 1401811330, 1401811327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63316059112549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:16:22.785361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/11/image_31122025_01_12_04_9687.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_15_10667.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_24_9711.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_45_10576.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_54_9784.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_13_04_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/11/image_31122025_01_12_04_9687.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_15_10667.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_24_9711.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_45_10576.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_54_9784.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_13_04_9659.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.48215436935424805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:16:32.783927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_23_3645.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_25_2566.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_28_2643.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_32_3713.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_37_2759.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_44_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_23_3645.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_25_2566.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_28_2643.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_32_3713.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_37_2759.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_44_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811365","1401811347","1401811344","1401811367","1401811355","1401811363"],"photo_ids_order":["1401811344","1401811347","1401811355","1401811363","1401811365","1401811367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7bd30a085f8107606e34a9d69c4ca9a.jpg","text":"TemporaryFile(/tmp/multipartBody1175794061735931037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140254694,"filename":"image_02112025_19_58_37_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b1e4c3becc2529575a994bb53b29b89.jpg","text":"TemporaryFile(/tmp/multipartBody4555306225999626372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140254694,"filename":"image_02112025_19_58_25_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c2a09993b25a7e08120f7639aaec907.jpg","text":"TemporaryFile(/tmp/multipartBody6941200899390246325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140254694,"filename":"image_02112025_19_58_23_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a02642090cb293ab1176d26d0ac252c4.jpg","text":"TemporaryFile(/tmp/multipartBody2457450232355597697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140254694,"filename":"image_02112025_19_58_44_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/090fd440ab0e43f739084d328ed96dba.jpg","text":"TemporaryFile(/tmp/multipartBody6633451764196298282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140254694,"filename":"image_02112025_19_58_28_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c21158698fe9c8c1440f8fc5581f7cc.jpg","text":"TemporaryFile(/tmp/multipartBody324159835880850093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140254694,"filename":"image_02112025_19_58_32_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811355","file1":"1401811347","file0":"1401811344","file4":"1401811365","file5":"1401811367","file3":"1401811363"},"map_files_photo_id_array":[{"photo_id":"1401811367","filename":"file5"},{"photo_id":"1401811355","filename":"file2"},{"photo_id":"1401811365","filename":"file4"},{"photo_id":"1401811347","filename":"file1"},{"photo_id":"1401811344","filename":"file0"},{"photo_id":"1401811363","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811365":["hashtag1","hashtag2"]},{"1401811347":["hashtag1","hashtag2"]},{"1401811344":["hashtag1","hashtag2"]},{"1401811367":["hashtag1","hashtag2"]},{"1401811355":["hashtag1","hashtag2"]},{"1401811363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811365, 1401811347, 1401811344, 1401811367, 1401811355, 1401811363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23020839691162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:17:11.920884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_46_2710.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_49_2635.jpg', '/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_55_2696.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_02_3744.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_13_2692.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_20_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_46_2710.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_49_2635.jpg
/home/pi/Desktop/images/02112025/19/58/image_02112025_19_58_55_2696.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_02_3744.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_13_2692.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_20_3697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811377","1401811371","1401811373","1401811372","1401811381","1401811375"],"photo_ids_order":["1401811371","1401811372","1401811373","1401811375","1401811377","1401811381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43a359f92d2e583764dc1811bff3e038.jpg","text":"TemporaryFile(/tmp/multipartBody3422663884672526670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140293693,"filename":"image_02112025_19_59_13_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd95d133f99b63dda947c2a3664f4a07.jpg","text":"TemporaryFile(/tmp/multipartBody6554488461658424274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140293693,"filename":"image_02112025_19_58_46_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/142cb7260875184b5702cb8b225cf735.jpg","text":"TemporaryFile(/tmp/multipartBody9001051709074828950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140293693,"filename":"image_02112025_19_58_55_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/262f53e3d722b60a2b580d5dd5acff37.jpg","text":"TemporaryFile(/tmp/multipartBody8482246423985436984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140293693,"filename":"image_02112025_19_58_49_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/709dc81471a5ca2c127a75c0365162e4.jpg","text":"TemporaryFile(/tmp/multipartBody6864284989545400943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140293693,"filename":"image_02112025_19_59_20_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7816780dc0f730fdf493bd6bcb025d46.jpg","text":"TemporaryFile(/tmp/multipartBody8137422318497017157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140293693,"filename":"image_02112025_19_59_02_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811373","file1":"1401811372","file0":"1401811371","file4":"1401811377","file5":"1401811381","file3":"1401811375"},"map_files_photo_id_array":[{"photo_id":"1401811381","filename":"file5"},{"photo_id":"1401811373","filename":"file2"},{"photo_id":"1401811377","filename":"file4"},{"photo_id":"1401811372","filename":"file1"},{"photo_id":"1401811371","filename":"file0"},{"photo_id":"1401811375","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811377":["hashtag1","hashtag2"]},{"1401811371":["hashtag1","hashtag2"]},{"1401811373":["hashtag1","hashtag2"]},{"1401811372":["hashtag1","hashtag2"]},{"1401811381":["hashtag1","hashtag2"]},{"1401811375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811377, 1401811371, 1401811373, 1401811372, 1401811381, 1401811375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.454646587371826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:18:03.198808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/11/image_31122025_01_12_04_9687.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_15_10667.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_24_9711.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_45_10576.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_54_9784.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_13_04_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/11/image_31122025_01_12_04_9687.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_15_10667.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_24_9711.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_45_10576.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_54_9784.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_13_04_9659.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5117700099945068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:18:12.673591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_22_2552.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_29_3646.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_32_2895.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_34_2747.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_46_2722.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_53_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_22_2552.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_29_3646.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_32_2895.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_34_2747.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_46_2722.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_53_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811402","1401811392","1401811409","1401811399","1401811405","1401811395"],"photo_ids_order":["1401811392","1401811395","1401811399","1401811402","1401811405","1401811409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cea56164dc2d551c0267ceeed7b18229.jpg","text":"TemporaryFile(/tmp/multipartBody8440210518054140018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140354521,"filename":"image_02112025_19_59_34_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3607ffed4412ac6bcc5a60c109299fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8106117415916663568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140354521,"filename":"image_02112025_19_59_22_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18629dcee0229aeb72943c43caa4e0bd.jpg","text":"TemporaryFile(/tmp/multipartBody2198114421403664686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140354521,"filename":"image_02112025_19_59_53_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33d25d66c0f714a1d2abff96217298c0.jpg","text":"TemporaryFile(/tmp/multipartBody1176256212378070072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140354521,"filename":"image_02112025_19_59_32_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88e2dfb1a17a73ee8a878e5cc51da4aa.jpg","text":"TemporaryFile(/tmp/multipartBody2826736784653136907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140354521,"filename":"image_02112025_19_59_46_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bda8a196d251c0c37bb874abe1cb65f.jpg","text":"TemporaryFile(/tmp/multipartBody8843792338414593761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140354521,"filename":"image_02112025_19_59_29_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811399","file1":"1401811395","file0":"1401811392","file4":"1401811405","file5":"1401811409","file3":"1401811402"},"map_files_photo_id_array":[{"photo_id":"1401811409","filename":"file5"},{"photo_id":"1401811399","filename":"file2"},{"photo_id":"1401811405","filename":"file4"},{"photo_id":"1401811395","filename":"file1"},{"photo_id":"1401811392","filename":"file0"},{"photo_id":"1401811402","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811402":["hashtag1","hashtag2"]},{"1401811392":["hashtag1","hashtag2"]},{"1401811409":["hashtag1","hashtag2"]},{"1401811399":["hashtag1","hashtag2"]},{"1401811405":["hashtag1","hashtag2"]},{"1401811395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811402, 1401811392, 1401811409, 1401811399, 1401811405, 1401811395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40401649475098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:19:02.815862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/11/image_31122025_01_12_04_9687.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_15_10667.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_24_9711.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_45_10576.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_54_9784.jpg', '/home/pi/Desktop/images/31122025/01/12/image_31122025_01_13_04_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/11/image_31122025_01_12_04_9687.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_15_10667.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_24_9711.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_45_10576.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_12_54_9784.jpg
/home/pi/Desktop/images/31122025/01/12/image_31122025_01_13_04_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811420","1401811422","1401811430","1401811424","1401811417","1401811426"],"photo_ids_order":["1401811417","1401811420","1401811422","1401811424","1401811426","1401811430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29abc055790f13090497cc91757f1bac.jpg","text":"TemporaryFile(/tmp/multipartBody1143402539043813775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140403671,"filename":"image_31122025_01_12_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54f3aa4912831dfba7abe547ed387e2d.jpg","text":"TemporaryFile(/tmp/multipartBody9048991798017414151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140403671,"filename":"image_31122025_01_12_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5016e6bfeabb81c9c5b2d8a40a228547.jpg","text":"TemporaryFile(/tmp/multipartBody6178434069256243864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140403671,"filename":"image_31122025_01_13_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/125809c12583080678b01428a40d6755.jpg","text":"TemporaryFile(/tmp/multipartBody5152809482425544810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140403671,"filename":"image_31122025_01_12_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8b87756efe553b72662175e10a3b3b5.jpg","text":"TemporaryFile(/tmp/multipartBody8838845452804475023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140403671,"filename":"image_31122025_01_12_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08a4c971915887a25037a874741c31cc.jpg","text":"TemporaryFile(/tmp/multipartBody5041338847516068947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140403671,"filename":"image_31122025_01_12_54_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811422","file1":"1401811420","file0":"1401811417","file4":"1401811426","file5":"1401811430","file3":"1401811424"},"map_files_photo_id_array":[{"photo_id":"1401811430","filename":"file5"},{"photo_id":"1401811422","filename":"file2"},{"photo_id":"1401811426","filename":"file4"},{"photo_id":"1401811420","filename":"file1"},{"photo_id":"1401811417","filename":"file0"},{"photo_id":"1401811424","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811420":["hashtag1","hashtag2"]},{"1401811422":["hashtag1","hashtag2"]},{"1401811430":["hashtag1","hashtag2"]},{"1401811424":["hashtag1","hashtag2"]},{"1401811417":["hashtag1","hashtag2"]},{"1401811426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811420, 1401811422, 1401811430, 1401811424, 1401811417, 1401811426)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.4905731678009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:20:02.531995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/13/image_31122025_01_13_15_10617.jpg', '/home/pi/Desktop/images/31122025/01/13/image_31122025_01_13_24_9692.jpg', '/home/pi/Desktop/images/31122025/01/13/image_31122025_01_13_54_10641.jpg', '/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_14_9591.jpg', '/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_24_10595.jpg', '/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/13/image_31122025_01_13_15_10617.jpg
/home/pi/Desktop/images/31122025/01/13/image_31122025_01_13_24_9692.jpg
/home/pi/Desktop/images/31122025/01/13/image_31122025_01_13_54_10641.jpg
/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_14_9591.jpg
/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_24_10595.jpg
/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_34_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811443","1401811445","1401811439","1401811447","1401811441","1401811444"],"photo_ids_order":["1401811439","1401811441","1401811443","1401811444","1401811445","1401811447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/571af21a65c86eb4d9f9b4181b45fb01.jpg","text":"TemporaryFile(/tmp/multipartBody5486100125776401251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140463141,"filename":"image_31122025_01_13_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20ea9cdc9d5e1dfd4dfbf541abaa17a9.jpg","text":"TemporaryFile(/tmp/multipartBody4768795969168825706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140463141,"filename":"image_31122025_01_14_24_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/087e49388906abca427fdd42960cd31b.jpg","text":"TemporaryFile(/tmp/multipartBody8177104449536299855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140463141,"filename":"image_31122025_01_13_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee9087315736c97069baf5c444e07695.jpg","text":"TemporaryFile(/tmp/multipartBody1230214379360481895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140463141,"filename":"image_31122025_01_14_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/381b2178fe587b60b57f49ae61b0ee9e.jpg","text":"TemporaryFile(/tmp/multipartBody7235079027502189431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140463141,"filename":"image_31122025_01_13_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06de8f5fe2d5b5fa59d996be7470fcab.jpg","text":"TemporaryFile(/tmp/multipartBody6682053552497851017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140463141,"filename":"image_31122025_01_14_14_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811443","file1":"1401811441","file0":"1401811439","file4":"1401811445","file5":"1401811447","file3":"1401811444"},"map_files_photo_id_array":[{"photo_id":"1401811447","filename":"file5"},{"photo_id":"1401811443","filename":"file2"},{"photo_id":"1401811445","filename":"file4"},{"photo_id":"1401811441","filename":"file1"},{"photo_id":"1401811439","filename":"file0"},{"photo_id":"1401811444","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811443":["hashtag1","hashtag2"]},{"1401811445":["hashtag1","hashtag2"]},{"1401811439":["hashtag1","hashtag2"]},{"1401811447":["hashtag1","hashtag2"]},{"1401811441":["hashtag1","hashtag2"]},{"1401811444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811443, 1401811445, 1401811439, 1401811447, 1401811441, 1401811444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.973748445510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:20:42.109566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_55_2720.jpg', '/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_58_2631.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_07_2697.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_10_2904.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_14_3841.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_28_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_55_2720.jpg
/home/pi/Desktop/images/02112025/19/59/image_02112025_19_59_58_2631.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_07_2697.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_10_2904.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_14_3841.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_28_2798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811464","1401811458","1401811461","1401811455","1401811463","1401811462"],"photo_ids_order":["1401811455","1401811458","1401811461","1401811462","1401811463","1401811464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2a256f981f1712153c5642e4d429582.jpg","text":"TemporaryFile(/tmp/multipartBody6257951497044785385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140504004,"filename":"image_02112025_20_00_28_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d688d22313b097a91b58579d2653fce.jpg","text":"TemporaryFile(/tmp/multipartBody9121908964882617271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140504004,"filename":"image_02112025_19_59_58_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/694639446a41db2292979f58dfd11eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4239957389026324469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140504004,"filename":"image_02112025_20_00_07_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/476a4754faa7c8ba90b6dff9348fd876.jpg","text":"TemporaryFile(/tmp/multipartBody4169973692837713614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140504004,"filename":"image_02112025_19_59_55_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa570fe79b28e78cb4f76ebdb2842f78.jpg","text":"TemporaryFile(/tmp/multipartBody8389815026645716875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140504004,"filename":"image_02112025_20_00_14_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7826fdf5da03c6da9bd6fdcbbbc36b93.jpg","text":"TemporaryFile(/tmp/multipartBody6116708733771516876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140504004,"filename":"image_02112025_20_00_10_2904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811461","file1":"1401811458","file0":"1401811455","file4":"1401811463","file5":"1401811464","file3":"1401811462"},"map_files_photo_id_array":[{"photo_id":"1401811464","filename":"file5"},{"photo_id":"1401811461","filename":"file2"},{"photo_id":"1401811463","filename":"file4"},{"photo_id":"1401811458","filename":"file1"},{"photo_id":"1401811455","filename":"file0"},{"photo_id":"1401811462","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811464":["hashtag1","hashtag2"]},{"1401811458":["hashtag1","hashtag2"]},{"1401811461":["hashtag1","hashtag2"]},{"1401811455":["hashtag1","hashtag2"]},{"1401811463":["hashtag1","hashtag2"]},{"1401811462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811464, 1401811458, 1401811461, 1401811455, 1401811463, 1401811462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53410887718201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:21:22.233435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_45_10693.jpg', '/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_55_9881.jpg', '/home/pi/Desktop/images/31122025/01/14/image_31122025_01_15_04_9637.jpg', '/home/pi/Desktop/images/31122025/01/15/image_31122025_01_15_14_9644.jpg', '/home/pi/Desktop/images/31122025/01/15/image_31122025_01_15_25_10675.jpg', '/home/pi/Desktop/images/31122025/01/15/image_31122025_01_15_34_9551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_45_10693.jpg
/home/pi/Desktop/images/31122025/01/14/image_31122025_01_14_55_9881.jpg
/home/pi/Desktop/images/31122025/01/14/image_31122025_01_15_04_9637.jpg
/home/pi/Desktop/images/31122025/01/15/image_31122025_01_15_14_9644.jpg
/home/pi/Desktop/images/31122025/01/15/image_31122025_01_15_25_10675.jpg
/home/pi/Desktop/images/31122025/01/15/image_31122025_01_15_34_9551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811476","1401811470","1401811473","1401811466","1401811480","1401811468"],"photo_ids_order":["1401811466","1401811468","1401811470","1401811473","1401811476","1401811480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c04fdd4b86f635e8fde9517305e1b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2283732973940712850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140542824,"filename":"image_31122025_01_15_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87b3b302ccb8a724710b999f82f13ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8535569673975327209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140542824,"filename":"image_31122025_01_15_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e0d0a99d091071cf13c27fd3db7d5d5.jpg","text":"TemporaryFile(/tmp/multipartBody6726311701372167922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140542824,"filename":"image_31122025_01_15_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c88aadce1da7d302856a8baf6ef0150a.jpg","text":"TemporaryFile(/tmp/multipartBody3693548614885275079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140542824,"filename":"image_31122025_01_14_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dc1feb94a41f0062875308ce0674874.jpg","text":"TemporaryFile(/tmp/multipartBody3958323060129883535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140542824,"filename":"image_31122025_01_15_34_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d62bd196d57243a33d5dfb89573b5422.jpg","text":"TemporaryFile(/tmp/multipartBody8081132873327077317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140542824,"filename":"image_31122025_01_14_55_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811470","file1":"1401811468","file0":"1401811466","file4":"1401811476","file5":"1401811480","file3":"1401811473"},"map_files_photo_id_array":[{"photo_id":"1401811480","filename":"file5"},{"photo_id":"1401811470","filename":"file2"},{"photo_id":"1401811476","filename":"file4"},{"photo_id":"1401811468","filename":"file1"},{"photo_id":"1401811466","filename":"file0"},{"photo_id":"1401811473","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811476":["hashtag1","hashtag2"]},{"1401811470":["hashtag1","hashtag2"]},{"1401811473":["hashtag1","hashtag2"]},{"1401811466":["hashtag1","hashtag2"]},{"1401811480":["hashtag1","hashtag2"]},{"1401811468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811476, 1401811470, 1401811473, 1401811466, 1401811480, 1401811468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.555540323257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:22:02.877288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/15/image_31122025_01_15_55_10819.jpg', '/home/pi/Desktop/images/31122025/01/15/image_31122025_01_16_04_9697.jpg', '/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_14_9706.jpg', '/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_24_9729.jpg', '/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_34_10630.jpg', '/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_44_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/15/image_31122025_01_15_55_10819.jpg
/home/pi/Desktop/images/31122025/01/15/image_31122025_01_16_04_9697.jpg
/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_14_9706.jpg
/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_24_9729.jpg
/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_34_10630.jpg
/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_44_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811485","1401811488","1401811484","1401811492","1401811486","1401811495"],"photo_ids_order":["1401811484","1401811485","1401811486","1401811488","1401811492","1401811495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba8e21121d000a3a83db0f1719a852da.jpg","text":"TemporaryFile(/tmp/multipartBody2186373366142972383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140583503,"filename":"image_31122025_01_16_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67b382f212ec7250154484d99d29e4f4.jpg","text":"TemporaryFile(/tmp/multipartBody2532232415003351916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140583503,"filename":"image_31122025_01_16_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ac87038f218113ccfe4b4a9174899aa.jpg","text":"TemporaryFile(/tmp/multipartBody4671809173755511479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140583503,"filename":"image_31122025_01_15_55_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/327a6b387a84f55ed495b1c525337fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7536424605960408318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140583503,"filename":"image_31122025_01_16_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/848556f6c8d688305fcec2cc44149157.jpg","text":"TemporaryFile(/tmp/multipartBody5680302436950482244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140583503,"filename":"image_31122025_01_16_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5b803ef213b80ca60c1a658205f3c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2660529185610342035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140583503,"filename":"image_31122025_01_16_44_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811486","file1":"1401811485","file0":"1401811484","file4":"1401811492","file5":"1401811495","file3":"1401811488"},"map_files_photo_id_array":[{"photo_id":"1401811495","filename":"file5"},{"photo_id":"1401811486","filename":"file2"},{"photo_id":"1401811492","filename":"file4"},{"photo_id":"1401811485","filename":"file1"},{"photo_id":"1401811484","filename":"file0"},{"photo_id":"1401811488","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811485":["hashtag1","hashtag2"]},{"1401811488":["hashtag1","hashtag2"]},{"1401811484":["hashtag1","hashtag2"]},{"1401811492":["hashtag1","hashtag2"]},{"1401811486":["hashtag1","hashtag2"]},{"1401811495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811485, 1401811488, 1401811484, 1401811492, 1401811486, 1401811495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4577841758728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:22:42.418083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_31_2822.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_34_2771.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_40_2756.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_43_2656.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_49_2628.jpg', '/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_52_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_31_2822.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_34_2771.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_40_2756.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_43_2656.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_49_2628.jpg
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_52_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811507","1401811512","1401811509","1401811505","1401811508","1401811510"],"photo_ids_order":["1401811505","1401811507","1401811508","1401811509","1401811510","1401811512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87493cf1f9ff39c33b46edf8fbde1328.jpg","text":"TemporaryFile(/tmp/multipartBody6221424783494448598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140624297,"filename":"image_02112025_20_00_34_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d695d7ccf853865dfdc636668bb351dc.jpg","text":"TemporaryFile(/tmp/multipartBody2313555201745444124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140624297,"filename":"image_02112025_20_00_52_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee9fbd8fc6d9788bc7610941e6d6fbf5.jpg","text":"TemporaryFile(/tmp/multipartBody8347830595537643724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140624297,"filename":"image_02112025_20_00_43_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c90c31174c2665a66eb46efb9332e22f.jpg","text":"TemporaryFile(/tmp/multipartBody6415827790420314075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140624297,"filename":"image_02112025_20_00_31_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd408be0b3023298b1844bc3473d5620.jpg","text":"TemporaryFile(/tmp/multipartBody1808992339362339995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140624297,"filename":"image_02112025_20_00_40_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0598f2ea03b939cd597af0875d8d489.jpg","text":"TemporaryFile(/tmp/multipartBody2599845719508194618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140624297,"filename":"image_02112025_20_00_49_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811508","file1":"1401811507","file0":"1401811505","file4":"1401811510","file5":"1401811512","file3":"1401811509"},"map_files_photo_id_array":[{"photo_id":"1401811512","filename":"file5"},{"photo_id":"1401811508","filename":"file2"},{"photo_id":"1401811510","filename":"file4"},{"photo_id":"1401811507","filename":"file1"},{"photo_id":"1401811505","filename":"file0"},{"photo_id":"1401811509","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811507":["hashtag1","hashtag2"]},{"1401811512":["hashtag1","hashtag2"]},{"1401811509":["hashtag1","hashtag2"]},{"1401811505":["hashtag1","hashtag2"]},{"1401811508":["hashtag1","hashtag2"]},{"1401811510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811507, 1401811512, 1401811509, 1401811505, 1401811508, 1401811510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.129270792007446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:23:22.624245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_54_9650.jpg', '/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_14_9735.jpg', '/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_24_9620.jpg', '/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_34_10708.jpg', '/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_44_9665.jpg', '/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_54_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/16/image_31122025_01_16_54_9650.jpg
/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_14_9735.jpg
/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_24_9620.jpg
/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_34_10708.jpg
/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_44_9665.jpg
/home/pi/Desktop/images/31122025/01/17/image_31122025_01_17_54_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811527","1401811524","1401811526","1401811520","1401811522","1401811531"],"photo_ids_order":["1401811520","1401811522","1401811524","1401811526","1401811527","1401811531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9b15d6ead7b4ec243837046d45399e9.jpg","text":"TemporaryFile(/tmp/multipartBody993606642618386449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140663214,"filename":"image_31122025_01_17_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85abb84cd8973c2d41f19e971e541831.jpg","text":"TemporaryFile(/tmp/multipartBody7660363596535369800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140663214,"filename":"image_31122025_01_17_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fff3596d80151b50f290ee2f83bf6ab.jpg","text":"TemporaryFile(/tmp/multipartBody2749605935702273545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140663214,"filename":"image_31122025_01_17_34_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf04e199dc9945b98962765286164df6.jpg","text":"TemporaryFile(/tmp/multipartBody6610939786912964127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140663214,"filename":"image_31122025_01_16_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/009b3f5598e52b37b379736a6a04d3aa.jpg","text":"TemporaryFile(/tmp/multipartBody4401738397378306101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140663214,"filename":"image_31122025_01_17_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/109c21c89be9dfae38503538e38efb90.jpg","text":"TemporaryFile(/tmp/multipartBody6965862211226116172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140663214,"filename":"image_31122025_01_17_54_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811524","file1":"1401811522","file0":"1401811520","file4":"1401811527","file5":"1401811531","file3":"1401811526"},"map_files_photo_id_array":[{"photo_id":"1401811531","filename":"file5"},{"photo_id":"1401811524","filename":"file2"},{"photo_id":"1401811527","filename":"file4"},{"photo_id":"1401811522","filename":"file1"},{"photo_id":"1401811520","filename":"file0"},{"photo_id":"1401811526","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811527":["hashtag1","hashtag2"]},{"1401811524":["hashtag1","hashtag2"]},{"1401811526":["hashtag1","hashtag2"]},{"1401811520":["hashtag1","hashtag2"]},{"1401811522":["hashtag1","hashtag2"]},{"1401811531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811527, 1401811524, 1401811526, 1401811520, 1401811522, 1401811531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.358312129974365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:24:03.435166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/17/image_31122025_01_18_04_9796.jpg', '/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_14_10666.jpg', '/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_24_9664.jpg', '/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_34_9709.jpg', '/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_44_10632.jpg', '/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/17/image_31122025_01_18_04_9796.jpg
/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_14_10666.jpg
/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_24_9664.jpg
/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_34_9709.jpg
/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_44_10632.jpg
/home/pi/Desktop/images/31122025/01/18/image_31122025_01_18_54_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811545","1401811542","1401811541","1401811538","1401811540","1401811543"],"photo_ids_order":["1401811538","1401811540","1401811541","1401811542","1401811543","1401811545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd7dcd2be07d526374275d364f5c7f2e.jpg","text":"TemporaryFile(/tmp/multipartBody5121072734815609557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140704071,"filename":"image_31122025_01_18_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b031a4a731175ed4eb996c7000dd44ce.jpg","text":"TemporaryFile(/tmp/multipartBody3748076099020998349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140704071,"filename":"image_31122025_01_18_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc7d7e7d0ab13f092bb155c6ad2cbfa5.jpg","text":"TemporaryFile(/tmp/multipartBody325917105694016390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140704071,"filename":"image_31122025_01_18_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fdedcee1c72869d27a58b100bf43b93.jpg","text":"TemporaryFile(/tmp/multipartBody6366831552689284244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140704071,"filename":"image_31122025_01_18_04_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ae1ecfa0dba6601150d06e92dd5a378.jpg","text":"TemporaryFile(/tmp/multipartBody4769265711180957063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140704071,"filename":"image_31122025_01_18_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72599ae7911a7d9cd8771967312eebf9.jpg","text":"TemporaryFile(/tmp/multipartBody3179163749949035277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140704071,"filename":"image_31122025_01_18_44_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811541","file1":"1401811540","file0":"1401811538","file4":"1401811543","file5":"1401811545","file3":"1401811542"},"map_files_photo_id_array":[{"photo_id":"1401811545","filename":"file5"},{"photo_id":"1401811541","filename":"file2"},{"photo_id":"1401811543","filename":"file4"},{"photo_id":"1401811540","filename":"file1"},{"photo_id":"1401811538","filename":"file0"},{"photo_id":"1401811542","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811545":["hashtag1","hashtag2"]},{"1401811542":["hashtag1","hashtag2"]},{"1401811541":["hashtag1","hashtag2"]},{"1401811538":["hashtag1","hashtag2"]},{"1401811540":["hashtag1","hashtag2"]},{"1401811543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811545, 1401811542, 1401811541, 1401811538, 1401811540, 1401811543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93321681022644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:24:42.821163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_55_2696.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_04_2711.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_07_3648.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_22_2693.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_25_2926.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_31_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/00/image_02112025_20_00_55_2696.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_04_2711.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_07_3648.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_22_2693.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_25_2926.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_31_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811581","1401811578","1401811580","1401811571","1401811579","1401811567"],"photo_ids_order":["1401811567","1401811571","1401811578","1401811579","1401811580","1401811581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdcfe0fbc7e228d66278c557a98736fc.jpg","text":"TemporaryFile(/tmp/multipartBody458118548887805775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140744715,"filename":"image_02112025_20_01_31_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35537246d501823247cd3a352ea27d83.jpg","text":"TemporaryFile(/tmp/multipartBody2742163827177986216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140744715,"filename":"image_02112025_20_01_07_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/797290cc96242145457c89b5ba20251e.jpg","text":"TemporaryFile(/tmp/multipartBody5118649362754883936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140744715,"filename":"image_02112025_20_01_25_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec65554110b7acc2c55b12bdf7cb93f4.jpg","text":"TemporaryFile(/tmp/multipartBody8233500174160102756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140744715,"filename":"image_02112025_20_01_04_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b223846423fb063e40bb55005cf62870.jpg","text":"TemporaryFile(/tmp/multipartBody7445272221456721956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140744715,"filename":"image_02112025_20_01_22_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7be3d1796809989218ed0221b6f78ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6010942576589106495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140744715,"filename":"image_02112025_20_00_55_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811578","file1":"1401811571","file0":"1401811567","file4":"1401811580","file5":"1401811581","file3":"1401811579"},"map_files_photo_id_array":[{"photo_id":"1401811581","filename":"file5"},{"photo_id":"1401811578","filename":"file2"},{"photo_id":"1401811580","filename":"file4"},{"photo_id":"1401811571","filename":"file1"},{"photo_id":"1401811567","filename":"file0"},{"photo_id":"1401811579","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811581":["hashtag1","hashtag2"]},{"1401811578":["hashtag1","hashtag2"]},{"1401811580":["hashtag1","hashtag2"]},{"1401811571":["hashtag1","hashtag2"]},{"1401811579":["hashtag1","hashtag2"]},{"1401811567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811581, 1401811578, 1401811580, 1401811571, 1401811579, 1401811567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17187142372131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:25:31.906141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_34_2679.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_41_3720.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_43_2684.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_50_3651.jpg', '/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_52_2677.jpg', '/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_01_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_34_2679.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_41_3720.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_43_2684.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_50_3651.jpg
/home/pi/Desktop/images/02112025/20/01/image_02112025_20_01_52_2677.jpg
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_01_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811599","1401811590","1401811598","1401811595","1401811597","1401811593"],"photo_ids_order":["1401811590","1401811593","1401811595","1401811597","1401811598","1401811599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0debe33f4b6cdd3b40249fc485db71e.jpg","text":"TemporaryFile(/tmp/multipartBody8727762262828606204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140793803,"filename":"image_02112025_20_02_01_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f11dbbd3973a053a384c22d9034d8859.jpg","text":"TemporaryFile(/tmp/multipartBody689978275389162521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140793803,"filename":"image_02112025_20_01_34_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/826f0100a7f9dee8a3642bd14d9f17b2.jpg","text":"TemporaryFile(/tmp/multipartBody5844389966111317020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140793803,"filename":"image_02112025_20_01_52_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91d7952113b491ed7c63bbed816fba4f.jpg","text":"TemporaryFile(/tmp/multipartBody3845965035466393818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140793803,"filename":"image_02112025_20_01_43_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/015496b8da3453cf8cd369ee17272b13.jpg","text":"TemporaryFile(/tmp/multipartBody441594269622669439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140793803,"filename":"image_02112025_20_01_50_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a1222f8300bf6ca1bc559409b5e357a.jpg","text":"TemporaryFile(/tmp/multipartBody7734536900371481225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140793803,"filename":"image_02112025_20_01_41_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811595","file1":"1401811593","file0":"1401811590","file4":"1401811598","file5":"1401811599","file3":"1401811597"},"map_files_photo_id_array":[{"photo_id":"1401811599","filename":"file5"},{"photo_id":"1401811595","filename":"file2"},{"photo_id":"1401811598","filename":"file4"},{"photo_id":"1401811593","filename":"file1"},{"photo_id":"1401811590","filename":"file0"},{"photo_id":"1401811597","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811599":["hashtag1","hashtag2"]},{"1401811590":["hashtag1","hashtag2"]},{"1401811598":["hashtag1","hashtag2"]},{"1401811595":["hashtag1","hashtag2"]},{"1401811597":["hashtag1","hashtag2"]},{"1401811593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811599, 1401811590, 1401811598, 1401811595, 1401811597, 1401811593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09990739822388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:26:12.119430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_04_2738.jpg', '/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_11_3757.jpg', '/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_16_2796.jpg', '/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_31_2757.jpg', '/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_34_2751.jpg', '/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_37_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_04_2738.jpg
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_11_3757.jpg
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_16_2796.jpg
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_31_2757.jpg
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_34_2751.jpg
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_37_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811611","1401811605","1401811607","1401811616","1401811609","1401811603"],"photo_ids_order":["1401811603","1401811605","1401811607","1401811609","1401811611","1401811616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c6aac01d91a1782a3553c80608caba8.jpg","text":"TemporaryFile(/tmp/multipartBody750287915608222055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140833896,"filename":"image_02112025_20_02_34_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4245589c5df4bbf15b1966ee4b8e7142.jpg","text":"TemporaryFile(/tmp/multipartBody7768267520990237388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140833896,"filename":"image_02112025_20_02_11_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52e52358091792db07437761d7711ee9.jpg","text":"TemporaryFile(/tmp/multipartBody261311863918639996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140833896,"filename":"image_02112025_20_02_16_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df5e329a7ad0262320473001878837ec.jpg","text":"TemporaryFile(/tmp/multipartBody7864713833178990211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140833896,"filename":"image_02112025_20_02_37_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6dde0f6aaf0be40cd85b96684073bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody1698102769888049603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140833896,"filename":"image_02112025_20_02_31_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a4057aef6a2ecfbf65a685882c71a1a.jpg","text":"TemporaryFile(/tmp/multipartBody6444230425859612400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140833896,"filename":"image_02112025_20_02_04_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811607","file1":"1401811605","file0":"1401811603","file4":"1401811611","file5":"1401811616","file3":"1401811609"},"map_files_photo_id_array":[{"photo_id":"1401811616","filename":"file5"},{"photo_id":"1401811607","filename":"file2"},{"photo_id":"1401811611","filename":"file4"},{"photo_id":"1401811605","filename":"file1"},{"photo_id":"1401811603","filename":"file0"},{"photo_id":"1401811609","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811611":["hashtag1","hashtag2"]},{"1401811605":["hashtag1","hashtag2"]},{"1401811607":["hashtag1","hashtag2"]},{"1401811616":["hashtag1","hashtag2"]},{"1401811609":["hashtag1","hashtag2"]},{"1401811603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811611, 1401811605, 1401811607, 1401811616, 1401811609, 1401811603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91796088218689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:27:02.986578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/18/image_31122025_01_19_05_10562.jpg', '/home/pi/Desktop/images/31122025/01/19/image_31122025_01_19_14_9622.jpg', '/home/pi/Desktop/images/31122025/01/19/image_31122025_01_19_24_9694.jpg', '/home/pi/Desktop/images/31122025/01/19/image_31122025_01_19_44_9746.jpg', '/home/pi/Desktop/images/31122025/01/19/image_31122025_01_19_54_9611.jpg', '/home/pi/Desktop/images/31122025/01/19/image_31122025_01_20_04_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/18/image_31122025_01_19_05_10562.jpg
/home/pi/Desktop/images/31122025/01/19/image_31122025_01_19_14_9622.jpg
/home/pi/Desktop/images/31122025/01/19/image_31122025_01_19_24_9694.jpg
/home/pi/Desktop/images/31122025/01/19/image_31122025_01_19_44_9746.jpg
/home/pi/Desktop/images/31122025/01/19/image_31122025_01_19_54_9611.jpg
/home/pi/Desktop/images/31122025/01/19/image_31122025_01_20_04_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811644","1401811640","1401811643","1401811646","1401811642","1401811636"],"photo_ids_order":["1401811636","1401811640","1401811642","1401811643","1401811644","1401811646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c55dab3f2eb10b481e67920968c2d967.jpg","text":"TemporaryFile(/tmp/multipartBody3439408919511412365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140883687,"filename":"image_31122025_01_19_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89e8f2b1fc79e3106a23e47939944f77.jpg","text":"TemporaryFile(/tmp/multipartBody7058817172576791166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140883687,"filename":"image_31122025_01_19_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46f8b28b762d6d1c8661b8e2849e0c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5420077132735349070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140883687,"filename":"image_31122025_01_19_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/135f3dca978616d92f56e9706b0114ac.jpg","text":"TemporaryFile(/tmp/multipartBody172741435329076380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140883687,"filename":"image_31122025_01_20_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4bd2275d4387c4a1947c10cc556be0f.jpg","text":"TemporaryFile(/tmp/multipartBody5913962949807162582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140883687,"filename":"image_31122025_01_19_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/839d78b675f9fb47f9c1d262eec5c287.jpg","text":"TemporaryFile(/tmp/multipartBody7479901287813383507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140883687,"filename":"image_31122025_01_19_05_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811642","file1":"1401811640","file0":"1401811636","file4":"1401811644","file5":"1401811646","file3":"1401811643"},"map_files_photo_id_array":[{"photo_id":"1401811646","filename":"file5"},{"photo_id":"1401811642","filename":"file2"},{"photo_id":"1401811644","filename":"file4"},{"photo_id":"1401811640","filename":"file1"},{"photo_id":"1401811636","filename":"file0"},{"photo_id":"1401811643","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811644":["hashtag1","hashtag2"]},{"1401811640":["hashtag1","hashtag2"]},{"1401811643":["hashtag1","hashtag2"]},{"1401811646":["hashtag1","hashtag2"]},{"1401811642":["hashtag1","hashtag2"]},{"1401811636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811644, 1401811640, 1401811643, 1401811646, 1401811642, 1401811636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.170294761657715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:27:42.349488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_40_3649.jpg', '/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_58_2754.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_01_2633.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_04_3655.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_07_2865.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_10_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_40_3649.jpg
/home/pi/Desktop/images/02112025/20/02/image_02112025_20_02_58_2754.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_01_2633.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_04_3655.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_07_2865.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_10_2735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811662","1401811659","1401811661","1401811663","1401811654","1401811657"],"photo_ids_order":["1401811654","1401811657","1401811659","1401811661","1401811662","1401811663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05d3b4278a9fa8c076db888e60bd968f.jpg","text":"TemporaryFile(/tmp/multipartBody3407156470642605333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140924290,"filename":"image_02112025_20_03_07_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/331a34b688471e79052cf0661f91735e.jpg","text":"TemporaryFile(/tmp/multipartBody7182630166121748334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140924290,"filename":"image_02112025_20_03_01_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f703fbf50e017805135e4dcaf2b7064.jpg","text":"TemporaryFile(/tmp/multipartBody5856686500085975509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140924290,"filename":"image_02112025_20_03_04_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c8e3e728c4af07237830284f85cfa74.jpg","text":"TemporaryFile(/tmp/multipartBody2561473841409315444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140924290,"filename":"image_02112025_20_03_10_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f75252887a41304e1fbf5922491487d5.jpg","text":"TemporaryFile(/tmp/multipartBody7265063696999305041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140924290,"filename":"image_02112025_20_02_40_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46ff41f0ba6bccb9e540f70582f4b39e.jpg","text":"TemporaryFile(/tmp/multipartBody4610682751962972210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140924290,"filename":"image_02112025_20_02_58_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811659","file1":"1401811657","file0":"1401811654","file4":"1401811662","file5":"1401811663","file3":"1401811661"},"map_files_photo_id_array":[{"photo_id":"1401811663","filename":"file5"},{"photo_id":"1401811659","filename":"file2"},{"photo_id":"1401811662","filename":"file4"},{"photo_id":"1401811657","filename":"file1"},{"photo_id":"1401811654","filename":"file0"},{"photo_id":"1401811661","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811662":["hashtag1","hashtag2"]},{"1401811659":["hashtag1","hashtag2"]},{"1401811661":["hashtag1","hashtag2"]},{"1401811663":["hashtag1","hashtag2"]},{"1401811654":["hashtag1","hashtag2"]},{"1401811657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811662, 1401811659, 1401811661, 1401811663, 1401811654, 1401811657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03125286102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:28:22.482039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/20/image_31122025_01_20_14_10616.jpg', '/home/pi/Desktop/images/31122025/01/20/image_31122025_01_20_44_10668.jpg', '/home/pi/Desktop/images/31122025/01/20/image_31122025_01_20_54_9608.jpg', '/home/pi/Desktop/images/31122025/01/20/image_31122025_01_21_05_10686.jpg', '/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_14_9784.jpg', '/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_24_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/20/image_31122025_01_20_14_10616.jpg
/home/pi/Desktop/images/31122025/01/20/image_31122025_01_20_44_10668.jpg
/home/pi/Desktop/images/31122025/01/20/image_31122025_01_20_54_9608.jpg
/home/pi/Desktop/images/31122025/01/20/image_31122025_01_21_05_10686.jpg
/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_14_9784.jpg
/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_24_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811680","1401811674","1401811677","1401811682","1401811670","1401811666"],"photo_ids_order":["1401811666","1401811670","1401811674","1401811677","1401811680","1401811682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ac9baeecb94b46d5d28bf5837752489.jpg","text":"TemporaryFile(/tmp/multipartBody1412752244938155698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140963071,"filename":"image_31122025_01_21_14_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e08c881ab99ebee84a5eea5a63f9446b.jpg","text":"TemporaryFile(/tmp/multipartBody2882704597708287991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140963071,"filename":"image_31122025_01_20_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02a671871c10f217b7864a654e688328.jpg","text":"TemporaryFile(/tmp/multipartBody8015935542341362643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140963071,"filename":"image_31122025_01_21_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26511f0babd1bc1850fb1043fd7b5532.jpg","text":"TemporaryFile(/tmp/multipartBody5849433658081487652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140963071,"filename":"image_31122025_01_21_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23d5ce7a987e34f58dbbae382df8748a.jpg","text":"TemporaryFile(/tmp/multipartBody5308308663457923004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140963071,"filename":"image_31122025_01_20_44_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7da57b841f762b1f24821766da10c97.jpg","text":"TemporaryFile(/tmp/multipartBody1985931089712822292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767140963071,"filename":"image_31122025_01_20_14_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811674","file1":"1401811670","file0":"1401811666","file4":"1401811680","file5":"1401811682","file3":"1401811677"},"map_files_photo_id_array":[{"photo_id":"1401811682","filename":"file5"},{"photo_id":"1401811674","filename":"file2"},{"photo_id":"1401811680","filename":"file4"},{"photo_id":"1401811670","filename":"file1"},{"photo_id":"1401811666","filename":"file0"},{"photo_id":"1401811677","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811680":["hashtag1","hashtag2"]},{"1401811674":["hashtag1","hashtag2"]},{"1401811677":["hashtag1","hashtag2"]},{"1401811682":["hashtag1","hashtag2"]},{"1401811670":["hashtag1","hashtag2"]},{"1401811666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811680, 1401811674, 1401811677, 1401811682, 1401811670, 1401811666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.894207239151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:29:03.586737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_34_9617.jpg', '/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_44_10658.jpg', '/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_54_9698.jpg', '/home/pi/Desktop/images/31122025/01/21/image_31122025_01_22_04_9788.jpg', '/home/pi/Desktop/images/31122025/01/22/image_31122025_01_22_24_9550.jpg', '/home/pi/Desktop/images/31122025/01/22/image_31122025_01_22_34_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_34_9617.jpg
/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_44_10658.jpg
/home/pi/Desktop/images/31122025/01/21/image_31122025_01_21_54_9698.jpg
/home/pi/Desktop/images/31122025/01/21/image_31122025_01_22_04_9788.jpg
/home/pi/Desktop/images/31122025/01/22/image_31122025_01_22_24_9550.jpg
/home/pi/Desktop/images/31122025/01/22/image_31122025_01_22_34_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811705","1401811707","1401811701","1401811709","1401811687","1401811714"],"photo_ids_order":["1401811687","1401811701","1401811705","1401811707","1401811709","1401811714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0f9af59c25af11d2d1d6ca68090b10f.jpg","text":"TemporaryFile(/tmp/multipartBody5812325249429648433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141004337,"filename":"image_31122025_01_21_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4267b2d827b7fa66a4f3a3534a3c6bac.jpg","text":"TemporaryFile(/tmp/multipartBody869282104900825587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141004337,"filename":"image_31122025_01_22_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/716d3adbb95f91787681d483cc24482f.jpg","text":"TemporaryFile(/tmp/multipartBody6695976653886065327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141004337,"filename":"image_31122025_01_21_44_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab70fa5ea289045c77f74c004845010b.jpg","text":"TemporaryFile(/tmp/multipartBody2223862614314601771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141004337,"filename":"image_31122025_01_22_24_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f55b21b810f8a2432b4317d6ada6508.jpg","text":"TemporaryFile(/tmp/multipartBody5089227356966040865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141004337,"filename":"image_31122025_01_21_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2f6f89bb8ff343ded6c53d52e52c883.jpg","text":"TemporaryFile(/tmp/multipartBody1696940210830091470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141004337,"filename":"image_31122025_01_22_34_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811705","file1":"1401811701","file0":"1401811687","file4":"1401811709","file5":"1401811714","file3":"1401811707"},"map_files_photo_id_array":[{"photo_id":"1401811714","filename":"file5"},{"photo_id":"1401811705","filename":"file2"},{"photo_id":"1401811709","filename":"file4"},{"photo_id":"1401811701","filename":"file1"},{"photo_id":"1401811687","filename":"file0"},{"photo_id":"1401811707","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811705":["hashtag1","hashtag2"]},{"1401811707":["hashtag1","hashtag2"]},{"1401811701":["hashtag1","hashtag2"]},{"1401811709":["hashtag1","hashtag2"]},{"1401811687":["hashtag1","hashtag2"]},{"1401811714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811705, 1401811707, 1401811701, 1401811709, 1401811687, 1401811714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.244834184646606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:29:42.685177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_16_3754.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_28_3691.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_31_2596.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_40_2590.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_43_3651.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_46_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_16_3754.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_28_3691.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_31_2596.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_40_2590.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_43_3651.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_46_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811719","1401811728","1401811722","1401811730","1401811724","1401811726"],"photo_ids_order":["1401811719","1401811722","1401811724","1401811726","1401811728","1401811730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4141ea8f16da70734aaf258a37d840d.jpg","text":"TemporaryFile(/tmp/multipartBody3647235024127139376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141044580,"filename":"image_02112025_20_03_16_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b162b4032872ffaf6595adcf8293d41c.jpg","text":"TemporaryFile(/tmp/multipartBody2738566925994336357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141044580,"filename":"image_02112025_20_03_43_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25b0fac8a1e64613a3e595374e71a845.jpg","text":"TemporaryFile(/tmp/multipartBody4423519409300924701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141044580,"filename":"image_02112025_20_03_28_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/318487174dab2e4fb67e9409287687b1.jpg","text":"TemporaryFile(/tmp/multipartBody7807082039405902217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141044580,"filename":"image_02112025_20_03_46_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b05aad5cd9722cacc6c8adc3aeca138c.jpg","text":"TemporaryFile(/tmp/multipartBody1849534813201181709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141044580,"filename":"image_02112025_20_03_31_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ba65013d1c9ea0c8f03c3e7b1d8a9a8.jpg","text":"TemporaryFile(/tmp/multipartBody604184103042842609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141044580,"filename":"image_02112025_20_03_40_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811724","file1":"1401811722","file0":"1401811719","file4":"1401811728","file5":"1401811730","file3":"1401811726"},"map_files_photo_id_array":[{"photo_id":"1401811730","filename":"file5"},{"photo_id":"1401811724","filename":"file2"},{"photo_id":"1401811728","filename":"file4"},{"photo_id":"1401811722","filename":"file1"},{"photo_id":"1401811719","filename":"file0"},{"photo_id":"1401811726","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811719":["hashtag1","hashtag2"]},{"1401811728":["hashtag1","hashtag2"]},{"1401811722":["hashtag1","hashtag2"]},{"1401811730":["hashtag1","hashtag2"]},{"1401811724":["hashtag1","hashtag2"]},{"1401811726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811719, 1401811728, 1401811722, 1401811730, 1401811724, 1401811726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28073859214783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:30:21.839143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/22/image_31122025_01_22_44_9744.jpg', '/home/pi/Desktop/images/31122025/01/22/image_31122025_01_22_54_10715.jpg', '/home/pi/Desktop/images/31122025/01/22/image_31122025_01_23_04_9793.jpg', '/home/pi/Desktop/images/31122025/01/23/image_31122025_01_23_24_9767.jpg', '/home/pi/Desktop/images/31122025/01/23/image_31122025_01_23_35_10756.jpg', '/home/pi/Desktop/images/31122025/01/23/image_31122025_01_23_45_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/22/image_31122025_01_22_44_9744.jpg
/home/pi/Desktop/images/31122025/01/22/image_31122025_01_22_54_10715.jpg
/home/pi/Desktop/images/31122025/01/22/image_31122025_01_23_04_9793.jpg
/home/pi/Desktop/images/31122025/01/23/image_31122025_01_23_24_9767.jpg
/home/pi/Desktop/images/31122025/01/23/image_31122025_01_23_35_10756.jpg
/home/pi/Desktop/images/31122025/01/23/image_31122025_01_23_45_9852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811737","1401811740","1401811733","1401811742","1401811747","1401811735"],"photo_ids_order":["1401811733","1401811735","1401811737","1401811740","1401811742","1401811747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb6e9e309fdd24041eb886f3daced735.jpg","text":"TemporaryFile(/tmp/multipartBody7060745327943821349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141082422,"filename":"image_31122025_01_23_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3907185806d810358bbd4f9b31449e32.jpg","text":"TemporaryFile(/tmp/multipartBody7161893742825260083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141082422,"filename":"image_31122025_01_23_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/716e7352ff927ec090ceff3c366f7928.jpg","text":"TemporaryFile(/tmp/multipartBody3071005573023702299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141082422,"filename":"image_31122025_01_22_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61edea3e074d0f6d3277aa32a5b08a51.jpg","text":"TemporaryFile(/tmp/multipartBody16302083751704737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141082422,"filename":"image_31122025_01_23_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b7de2adf7761afd4737a8a25a78fe01.jpg","text":"TemporaryFile(/tmp/multipartBody3045585305065628792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141082422,"filename":"image_31122025_01_23_45_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a43f836f818a36f04235b8075b1579e9.jpg","text":"TemporaryFile(/tmp/multipartBody8276557300161923710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141082422,"filename":"image_31122025_01_22_54_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811737","file1":"1401811735","file0":"1401811733","file4":"1401811742","file5":"1401811747","file3":"1401811740"},"map_files_photo_id_array":[{"photo_id":"1401811747","filename":"file5"},{"photo_id":"1401811737","filename":"file2"},{"photo_id":"1401811742","filename":"file4"},{"photo_id":"1401811735","filename":"file1"},{"photo_id":"1401811733","filename":"file0"},{"photo_id":"1401811740","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811737":["hashtag1","hashtag2"]},{"1401811740":["hashtag1","hashtag2"]},{"1401811733":["hashtag1","hashtag2"]},{"1401811742":["hashtag1","hashtag2"]},{"1401811747":["hashtag1","hashtag2"]},{"1401811735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811737, 1401811740, 1401811733, 1401811742, 1401811747, 1401811735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25097346305847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:31:02.934360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/23/image_31122025_01_23_54_9676.jpg', '/home/pi/Desktop/images/31122025/01/23/image_31122025_01_24_04_9770.jpg', '/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_15_10582.jpg', '/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_25_10041.jpg', '/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_34_9737.jpg', '/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_44_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/23/image_31122025_01_23_54_9676.jpg
/home/pi/Desktop/images/31122025/01/23/image_31122025_01_24_04_9770.jpg
/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_15_10582.jpg
/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_25_10041.jpg
/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_34_9737.jpg
/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_44_9536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811776","1401811778","1401811781","1401811780","1401811783","1401811774"],"photo_ids_order":["1401811774","1401811776","1401811778","1401811780","1401811781","1401811783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe3fc158df8dd3abeb43c9da92c2886d.jpg","text":"TemporaryFile(/tmp/multipartBody3416628596245838130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141123593,"filename":"image_31122025_01_24_04_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36ea8d263cdf5ada794b453131c924dd.jpg","text":"TemporaryFile(/tmp/multipartBody4847991144356805216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141123593,"filename":"image_31122025_01_24_15_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbd268cbdcb980e76427fe23169cb702.jpg","text":"TemporaryFile(/tmp/multipartBody3044912384968255490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141123593,"filename":"image_31122025_01_24_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6196a3eac0ece7489ba2a5000825cc96.jpg","text":"TemporaryFile(/tmp/multipartBody8387938073940700195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141123593,"filename":"image_31122025_01_24_25_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2a819da2b8877c063f62c98c16f050e.jpg","text":"TemporaryFile(/tmp/multipartBody6093899607736571533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141123593,"filename":"image_31122025_01_24_44_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30fb78a8f9e869efc7aae1b7ab23a8f7.jpg","text":"TemporaryFile(/tmp/multipartBody3666902631474460579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141123593,"filename":"image_31122025_01_23_54_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811778","file1":"1401811776","file0":"1401811774","file4":"1401811781","file5":"1401811783","file3":"1401811780"},"map_files_photo_id_array":[{"photo_id":"1401811783","filename":"file5"},{"photo_id":"1401811778","filename":"file2"},{"photo_id":"1401811781","filename":"file4"},{"photo_id":"1401811776","filename":"file1"},{"photo_id":"1401811774","filename":"file0"},{"photo_id":"1401811780","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811776":["hashtag1","hashtag2"]},{"1401811778":["hashtag1","hashtag2"]},{"1401811781":["hashtag1","hashtag2"]},{"1401811780":["hashtag1","hashtag2"]},{"1401811783":["hashtag1","hashtag2"]},{"1401811774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811776, 1401811778, 1401811781, 1401811780, 1401811783, 1401811774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30236744880676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:31:42.229958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_52_3658.jpg', '/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_58_2999.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_04_3672.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_13_3672.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_16_2598.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_22_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_52_3658.jpg
/home/pi/Desktop/images/02112025/20/03/image_02112025_20_03_58_2999.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_04_3672.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_13_3672.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_16_2598.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_22_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811797","1401811800","1401811799","1401811795","1401811798","1401811791"],"photo_ids_order":["1401811791","1401811795","1401811797","1401811798","1401811799","1401811800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f480644b738b5219f22153b430b81040.jpg","text":"TemporaryFile(/tmp/multipartBody5441764412003740356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141164327,"filename":"image_02112025_20_04_04_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53d8a513ed6593d9b61daafd9a889243.jpg","text":"TemporaryFile(/tmp/multipartBody6010786420064861368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141164327,"filename":"image_02112025_20_04_22_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80c1d2e1b39cba6e49260614d3db1e63.jpg","text":"TemporaryFile(/tmp/multipartBody1158542589342471706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141164327,"filename":"image_02112025_20_04_16_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f13861a765ab72e3ac197494657c8de.jpg","text":"TemporaryFile(/tmp/multipartBody6402312146656093224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141164327,"filename":"image_02112025_20_03_58_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b66bc46128154574a151434b97233e27.jpg","text":"TemporaryFile(/tmp/multipartBody5388207403857783451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141164327,"filename":"image_02112025_20_04_13_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0bdf627276ce53714115dd19f73349f.jpg","text":"TemporaryFile(/tmp/multipartBody4676407635527254293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141164327,"filename":"image_02112025_20_03_52_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811797","file1":"1401811795","file0":"1401811791","file4":"1401811799","file5":"1401811800","file3":"1401811798"},"map_files_photo_id_array":[{"photo_id":"1401811800","filename":"file5"},{"photo_id":"1401811797","filename":"file2"},{"photo_id":"1401811799","filename":"file4"},{"photo_id":"1401811795","filename":"file1"},{"photo_id":"1401811791","filename":"file0"},{"photo_id":"1401811798","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811797":["hashtag1","hashtag2"]},{"1401811800":["hashtag1","hashtag2"]},{"1401811799":["hashtag1","hashtag2"]},{"1401811795":["hashtag1","hashtag2"]},{"1401811798":["hashtag1","hashtag2"]},{"1401811791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811797, 1401811800, 1401811799, 1401811795, 1401811798, 1401811791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.349262714385986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:32:22.424844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_54_9862.jpg', '/home/pi/Desktop/images/31122025/01/24/image_31122025_01_25_04_10647.jpg', '/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_14_9794.jpg', '/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_24_9876.jpg', '/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_35_10580.jpg', '/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_44_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/24/image_31122025_01_24_54_9862.jpg
/home/pi/Desktop/images/31122025/01/24/image_31122025_01_25_04_10647.jpg
/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_14_9794.jpg
/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_24_9876.jpg
/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_35_10580.jpg
/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_44_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811819","1401811804","1401811809","1401811828","1401811813","1401811807"],"photo_ids_order":["1401811804","1401811807","1401811809","1401811813","1401811819","1401811828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b861a3974a93dc5f023ac53bc189c6af.jpg","text":"TemporaryFile(/tmp/multipartBody5913785037436810516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141203003,"filename":"image_31122025_01_25_35_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/527a3e49638c5226f04214707237bb24.jpg","text":"TemporaryFile(/tmp/multipartBody1549202367474299950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141203003,"filename":"image_31122025_01_24_54_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/448d8ee6a3a54ba616b16bac14f365d6.jpg","text":"TemporaryFile(/tmp/multipartBody9207414574965475159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141203003,"filename":"image_31122025_01_25_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65a0922ddd030f4c2d99787820d97f60.jpg","text":"TemporaryFile(/tmp/multipartBody2742345819237909719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141203003,"filename":"image_31122025_01_25_44_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b42afa9c35384f878ce40859e4b721f.jpg","text":"TemporaryFile(/tmp/multipartBody579696413315835293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141203003,"filename":"image_31122025_01_25_24_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d705bb4c5b9490474325ae7dff5d648.jpg","text":"TemporaryFile(/tmp/multipartBody4535305069221399293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141203003,"filename":"image_31122025_01_25_04_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811809","file1":"1401811807","file0":"1401811804","file4":"1401811819","file5":"1401811828","file3":"1401811813"},"map_files_photo_id_array":[{"photo_id":"1401811828","filename":"file5"},{"photo_id":"1401811809","filename":"file2"},{"photo_id":"1401811819","filename":"file4"},{"photo_id":"1401811807","filename":"file1"},{"photo_id":"1401811804","filename":"file0"},{"photo_id":"1401811813","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811819":["hashtag1","hashtag2"]},{"1401811804":["hashtag1","hashtag2"]},{"1401811809":["hashtag1","hashtag2"]},{"1401811828":["hashtag1","hashtag2"]},{"1401811813":["hashtag1","hashtag2"]},{"1401811807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811819, 1401811804, 1401811809, 1401811828, 1401811813, 1401811807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55561947822571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:33:03.381403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_54_9709.jpg', '/home/pi/Desktop/images/31122025/01/25/image_31122025_01_26_04_9728.jpg', '/home/pi/Desktop/images/31122025/01/26/image_31122025_01_26_15_10695.jpg', '/home/pi/Desktop/images/31122025/01/26/image_31122025_01_26_34_9633.jpg', '/home/pi/Desktop/images/31122025/01/26/image_31122025_01_26_44_9875.jpg', '/home/pi/Desktop/images/31122025/01/26/image_31122025_01_26_54_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/25/image_31122025_01_25_54_9709.jpg
/home/pi/Desktop/images/31122025/01/25/image_31122025_01_26_04_9728.jpg
/home/pi/Desktop/images/31122025/01/26/image_31122025_01_26_15_10695.jpg
/home/pi/Desktop/images/31122025/01/26/image_31122025_01_26_34_9633.jpg
/home/pi/Desktop/images/31122025/01/26/image_31122025_01_26_44_9875.jpg
/home/pi/Desktop/images/31122025/01/26/image_31122025_01_26_54_9959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811863","1401811857","1401811842","1401811861","1401811852","1401811855"],"photo_ids_order":["1401811842","1401811852","1401811855","1401811857","1401811861","1401811863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/466a513fc28e04cf6d10bf5aeaa25050.jpg","text":"TemporaryFile(/tmp/multipartBody2852242532849324893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141244095,"filename":"image_31122025_01_26_54_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/788d179a32ee72d5f323a480c48d82e9.jpg","text":"TemporaryFile(/tmp/multipartBody2695621398368362826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141244095,"filename":"image_31122025_01_26_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72819f46da8c1b5970f69449a0a3ce7a.jpg","text":"TemporaryFile(/tmp/multipartBody1185069465754467955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141244095,"filename":"image_31122025_01_25_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36d480ba1ba858d1b63add7c01c38989.jpg","text":"TemporaryFile(/tmp/multipartBody4425100378671541559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141244095,"filename":"image_31122025_01_26_44_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/681eae4a685e30737a00d79c3f3c6c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7247000303276909803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141244095,"filename":"image_31122025_01_26_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a8490d168385962f8b1c75ece383a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4794594146161384893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141244095,"filename":"image_31122025_01_26_15_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811855","file1":"1401811852","file0":"1401811842","file4":"1401811861","file5":"1401811863","file3":"1401811857"},"map_files_photo_id_array":[{"photo_id":"1401811863","filename":"file5"},{"photo_id":"1401811855","filename":"file2"},{"photo_id":"1401811861","filename":"file4"},{"photo_id":"1401811852","filename":"file1"},{"photo_id":"1401811842","filename":"file0"},{"photo_id":"1401811857","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811863":["hashtag1","hashtag2"]},{"1401811857":["hashtag1","hashtag2"]},{"1401811842":["hashtag1","hashtag2"]},{"1401811861":["hashtag1","hashtag2"]},{"1401811852":["hashtag1","hashtag2"]},{"1401811855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811863, 1401811857, 1401811842, 1401811861, 1401811852, 1401811855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.616085052490234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:33:42.654558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_25_3408.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_33_2718.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_37_3570.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_40_2781.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_42_2527.jpg', '/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_52_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_25_3408.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_33_2718.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_37_3570.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_40_2781.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_42_2527.jpg
/home/pi/Desktop/images/02112025/20/04/image_02112025_20_04_52_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811881","1401811875","1401811877","1401811879","1401811870","1401811873"],"photo_ids_order":["1401811870","1401811873","1401811875","1401811877","1401811879","1401811881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d80fcd74905880aa4f233dd3244cf9f5.jpg","text":"TemporaryFile(/tmp/multipartBody3604132035068575650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141284602,"filename":"image_02112025_20_04_52_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd1f34df7d88c399818c4a9760d3b453.jpg","text":"TemporaryFile(/tmp/multipartBody597825650281000256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141284602,"filename":"image_02112025_20_04_37_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73afec99f93789d963f93cb094de7a79.jpg","text":"TemporaryFile(/tmp/multipartBody3944808760620513491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141284602,"filename":"image_02112025_20_04_40_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42ac8d655670f2ef3f09855a26dbd33d.jpg","text":"TemporaryFile(/tmp/multipartBody6997729619051307219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141284602,"filename":"image_02112025_20_04_42_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a0090d260f6d64b5e1aadb47cb8b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody2017691145683465680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141284602,"filename":"image_02112025_20_04_25_3408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80cc601d7f19fb7f1c5b8f016a40371d.jpg","text":"TemporaryFile(/tmp/multipartBody4311522337965219853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141284602,"filename":"image_02112025_20_04_33_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811875","file1":"1401811873","file0":"1401811870","file4":"1401811879","file5":"1401811881","file3":"1401811877"},"map_files_photo_id_array":[{"photo_id":"1401811881","filename":"file5"},{"photo_id":"1401811875","filename":"file2"},{"photo_id":"1401811879","filename":"file4"},{"photo_id":"1401811873","filename":"file1"},{"photo_id":"1401811870","filename":"file0"},{"photo_id":"1401811877","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811881":["hashtag1","hashtag2"]},{"1401811875":["hashtag1","hashtag2"]},{"1401811877":["hashtag1","hashtag2"]},{"1401811879":["hashtag1","hashtag2"]},{"1401811870":["hashtag1","hashtag2"]},{"1401811873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811881, 1401811875, 1401811877, 1401811879, 1401811870, 1401811873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.489296436309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:34:22.851220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/27/image_31122025_01_27_24_9591.jpg', '/home/pi/Desktop/images/31122025/01/27/image_31122025_01_27_34_10657.jpg', '/home/pi/Desktop/images/31122025/01/27/image_31122025_01_27_44_9676.jpg', '/home/pi/Desktop/images/31122025/01/27/image_31122025_01_27_54_9653.jpg', '/home/pi/Desktop/images/31122025/01/27/image_31122025_01_28_04_10679.jpg', '/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/27/image_31122025_01_27_24_9591.jpg
/home/pi/Desktop/images/31122025/01/27/image_31122025_01_27_34_10657.jpg
/home/pi/Desktop/images/31122025/01/27/image_31122025_01_27_44_9676.jpg
/home/pi/Desktop/images/31122025/01/27/image_31122025_01_27_54_9653.jpg
/home/pi/Desktop/images/31122025/01/27/image_31122025_01_28_04_10679.jpg
/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_14_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811893","1401811905","1401811889","1401811897","1401811891","1401811900"],"photo_ids_order":["1401811889","1401811891","1401811893","1401811897","1401811900","1401811905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6db4e04d4ee67a56c28115d6adaab6c.jpg","text":"TemporaryFile(/tmp/multipartBody5139422070384660121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141323436,"filename":"image_31122025_01_27_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5230579c140b3768ff93b1de3017d117.jpg","text":"TemporaryFile(/tmp/multipartBody6597704957906683703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141323436,"filename":"image_31122025_01_28_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6a50229e7fcd355134f4250393122dd.jpg","text":"TemporaryFile(/tmp/multipartBody124234062600599629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141323436,"filename":"image_31122025_01_27_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f1efa4f0c47db442bfd90a457ff27e9.jpg","text":"TemporaryFile(/tmp/multipartBody943185159886495016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141323436,"filename":"image_31122025_01_27_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28e8686892721125ec8162b32e52d9a1.jpg","text":"TemporaryFile(/tmp/multipartBody7613888965248175837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141323436,"filename":"image_31122025_01_27_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13ee25432e12909ab8f1d0e10c1215a5.jpg","text":"TemporaryFile(/tmp/multipartBody6105843145983158167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141323436,"filename":"image_31122025_01_28_04_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811893","file1":"1401811891","file0":"1401811889","file4":"1401811900","file5":"1401811905","file3":"1401811897"},"map_files_photo_id_array":[{"photo_id":"1401811905","filename":"file5"},{"photo_id":"1401811893","filename":"file2"},{"photo_id":"1401811900","filename":"file4"},{"photo_id":"1401811891","filename":"file1"},{"photo_id":"1401811889","filename":"file0"},{"photo_id":"1401811897","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811893":["hashtag1","hashtag2"]},{"1401811905":["hashtag1","hashtag2"]},{"1401811889":["hashtag1","hashtag2"]},{"1401811897":["hashtag1","hashtag2"]},{"1401811891":["hashtag1","hashtag2"]},{"1401811900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811893, 1401811905, 1401811889, 1401811897, 1401811891, 1401811900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63782286643982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:35:02.765199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_24_9743.jpg', '/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_34_10595.jpg', '/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_44_9678.jpg', '/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_54_9547.jpg', '/home/pi/Desktop/images/31122025/01/28/image_31122025_01_29_04_10704.jpg', '/home/pi/Desktop/images/31122025/01/29/image_31122025_01_29_24_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_24_9743.jpg
/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_34_10595.jpg
/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_44_9678.jpg
/home/pi/Desktop/images/31122025/01/28/image_31122025_01_28_54_9547.jpg
/home/pi/Desktop/images/31122025/01/28/image_31122025_01_29_04_10704.jpg
/home/pi/Desktop/images/31122025/01/29/image_31122025_01_29_24_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401811929","1401811923","1401811917","1401811926","1401811920","1401811916"],"photo_ids_order":["1401811916","1401811917","1401811920","1401811923","1401811926","1401811929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e071f519721cb8bba530b22c633aaef9.jpg","text":"TemporaryFile(/tmp/multipartBody2184989570843162443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141363442,"filename":"image_31122025_01_29_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77d3529317abfbb828a5d023d21ca2bc.jpg","text":"TemporaryFile(/tmp/multipartBody4298466233774843469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141363442,"filename":"image_31122025_01_28_54_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5db4032c7b281cc337d41cb14f60b8d0.jpg","text":"TemporaryFile(/tmp/multipartBody3407860921106486022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141363442,"filename":"image_31122025_01_28_34_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f21b1f4dbfc7cc2faa844d4e54b50ebb.jpg","text":"TemporaryFile(/tmp/multipartBody541816944694767819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141363442,"filename":"image_31122025_01_29_04_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eac5109c64ec7d23cf4f74261ecdbc83.jpg","text":"TemporaryFile(/tmp/multipartBody8346840278377541251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141363442,"filename":"image_31122025_01_28_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ba0745312acacb569db30e438505f02.jpg","text":"TemporaryFile(/tmp/multipartBody7951679112226452010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141363442,"filename":"image_31122025_01_28_24_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811920","file1":"1401811917","file0":"1401811916","file4":"1401811926","file5":"1401811929","file3":"1401811923"},"map_files_photo_id_array":[{"photo_id":"1401811929","filename":"file5"},{"photo_id":"1401811920","filename":"file2"},{"photo_id":"1401811926","filename":"file4"},{"photo_id":"1401811917","filename":"file1"},{"photo_id":"1401811916","filename":"file0"},{"photo_id":"1401811923","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811929":["hashtag1","hashtag2"]},{"1401811923":["hashtag1","hashtag2"]},{"1401811917":["hashtag1","hashtag2"]},{"1401811926":["hashtag1","hashtag2"]},{"1401811920":["hashtag1","hashtag2"]},{"1401811916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811929, 1401811923, 1401811917, 1401811926, 1401811920, 1401811916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20485520362854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:36:03.282552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/29/image_31122025_01_29_34_9992.jpg', '/home/pi/Desktop/images/31122025/01/29/image_31122025_01_29_44_10693.jpg', '/home/pi/Desktop/images/31122025/01/29/image_31122025_01_29_54_9926.jpg', '/home/pi/Desktop/images/31122025/01/29/image_31122025_01_30_04_9610.jpg', '/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_14_9783.jpg', '/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_24_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/29/image_31122025_01_29_34_9992.jpg
/home/pi/Desktop/images/31122025/01/29/image_31122025_01_29_44_10693.jpg
/home/pi/Desktop/images/31122025/01/29/image_31122025_01_29_54_9926.jpg
/home/pi/Desktop/images/31122025/01/29/image_31122025_01_30_04_9610.jpg
/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_14_9783.jpg
/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_24_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811947","1401811956","1401811941","1401811950","1401811944","1401811952"],"photo_ids_order":["1401811941","1401811944","1401811947","1401811950","1401811952","1401811956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81253db1413efd275a771abb9a81ad27.jpg","text":"TemporaryFile(/tmp/multipartBody4742759317687287995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141423910,"filename":"image_31122025_01_29_54_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a01ac9dff6a760c6dff7474b0cd43c8.jpg","text":"TemporaryFile(/tmp/multipartBody2505462819032320729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141423910,"filename":"image_31122025_01_30_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c6db7fb1a2ac4700b4df9307c36b236.jpg","text":"TemporaryFile(/tmp/multipartBody7815801419008058174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141423910,"filename":"image_31122025_01_29_34_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7aef1c9209ca2688a52071330ec541d2.jpg","text":"TemporaryFile(/tmp/multipartBody5813562676093100096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141423910,"filename":"image_31122025_01_30_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3d0973216e35f0966f1a4517283e745.jpg","text":"TemporaryFile(/tmp/multipartBody3598155645341604094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141423910,"filename":"image_31122025_01_29_44_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c7493afda1c693196246f5f73a8e65c.jpg","text":"TemporaryFile(/tmp/multipartBody1243864150486781183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141423910,"filename":"image_31122025_01_30_14_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811947","file1":"1401811944","file0":"1401811941","file4":"1401811952","file5":"1401811956","file3":"1401811950"},"map_files_photo_id_array":[{"photo_id":"1401811956","filename":"file5"},{"photo_id":"1401811947","filename":"file2"},{"photo_id":"1401811952","filename":"file4"},{"photo_id":"1401811944","filename":"file1"},{"photo_id":"1401811941","filename":"file0"},{"photo_id":"1401811950","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401811947":["hashtag1","hashtag2"]},{"1401811956":["hashtag1","hashtag2"]},{"1401811941":["hashtag1","hashtag2"]},{"1401811950":["hashtag1","hashtag2"]},{"1401811944":["hashtag1","hashtag2"]},{"1401811952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401811947, 1401811956, 1401811941, 1401811950, 1401811944, 1401811952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.558619022369385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:36:42.872754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_25_2701.jpg', '/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_34_2704.jpg', '/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_40_3633.jpg', '/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_43_2692.jpg', '/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_54_2669.jpg', '/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_04_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_25_2701.jpg
/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_34_2704.jpg
/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_40_3633.jpg
/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_43_2692.jpg
/home/pi/Desktop/images/02112025/20/05/image_02112025_20_05_54_2669.jpg
/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_04_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401811980","1401811991","1401811985","1401811993","1401811975","1401811978"],"photo_ids_order":["1401811975","1401811978","1401811980","1401811985","1401811991","1401811993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77fe20f193b752d92963921a4e665eaf.jpg","text":"TemporaryFile(/tmp/multipartBody302988961046861497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141464761,"filename":"image_02112025_20_05_40_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60594e3bc65f85214b67fdc1a592f38a.jpg","text":"TemporaryFile(/tmp/multipartBody7318274135339803400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141464761,"filename":"image_02112025_20_05_54_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca1bbab3bfdcfec43f53a7bb57bfbce5.jpg","text":"TemporaryFile(/tmp/multipartBody3348612647404300199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141464761,"filename":"image_02112025_20_05_43_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d7bbf933a648300ce1af356ccf46dcf.jpg","text":"TemporaryFile(/tmp/multipartBody4671920488538029643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141464761,"filename":"image_02112025_20_06_04_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25373bbef4a3acda50957bf6c212efe8.jpg","text":"TemporaryFile(/tmp/multipartBody6672304402259854353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141464761,"filename":"image_02112025_20_05_25_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baa198fe59451c6a9a536a3cc4369dcc.jpg","text":"TemporaryFile(/tmp/multipartBody1905675144730178895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141464761,"filename":"image_02112025_20_05_34_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401811980","file1":"1401811978","file0":"1401811975","file4":"1401811991","file5":"1401811993","file3":"1401811985"},"map_files_photo_id_array":[{"photo_id":"1401811993","filename":"file5"},{"photo_id":"1401811980","filename":"file2"},{"photo_id":"1401811991","filename":"file4"},{"photo_id":"1401811978","filename":"file1"},{"photo_id":"1401811975","filename":"file0"},{"photo_id":"1401811985","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401811980":["hashtag1","hashtag2"]},{"1401811991":["hashtag1","hashtag2"]},{"1401811985":["hashtag1","hashtag2"]},{"1401811993":["hashtag1","hashtag2"]},{"1401811975":["hashtag1","hashtag2"]},{"1401811978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401811980, 1401811991, 1401811985, 1401811993, 1401811975, 1401811978)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.120744466781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:37:32.002734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_09_2580.jpg', '/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_21_2728.jpg', '/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_28_2811.jpg', '/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_30_2592.jpg', '/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_34_3729.jpg', '/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_42_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_09_2580.jpg
/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_21_2728.jpg
/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_28_2811.jpg
/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_30_2592.jpg
/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_34_3729.jpg
/home/pi/Desktop/images/02112025/20/06/image_02112025_20_06_42_2766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812016","1401812012","1401812009","1401812003","1401812006","1401812014"],"photo_ids_order":["1401812003","1401812006","1401812009","1401812012","1401812014","1401812016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/244e1278f755075c1c2cadf9c0178a42.jpg","text":"TemporaryFile(/tmp/multipartBody7292424878808492318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141513766,"filename":"image_02112025_20_06_42_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1464d6a6ce53d7c93709c0aa771781fb.jpg","text":"TemporaryFile(/tmp/multipartBody6993775881368343493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141513766,"filename":"image_02112025_20_06_30_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b399140185dbb556c045704ce57f8b4.jpg","text":"TemporaryFile(/tmp/multipartBody1914370251341259530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141513766,"filename":"image_02112025_20_06_28_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38597a23c9ca4c4394215bd8d264d458.jpg","text":"TemporaryFile(/tmp/multipartBody4974085696351940136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141513766,"filename":"image_02112025_20_06_09_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3709d3a2656a0337d0eaf8032add3aa3.jpg","text":"TemporaryFile(/tmp/multipartBody6876056221449232074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141513766,"filename":"image_02112025_20_06_21_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f791962b09b5c2cb6dab22270377959.jpg","text":"TemporaryFile(/tmp/multipartBody8826637192998506792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141513766,"filename":"image_02112025_20_06_34_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812009","file1":"1401812006","file0":"1401812003","file4":"1401812014","file5":"1401812016","file3":"1401812012"},"map_files_photo_id_array":[{"photo_id":"1401812016","filename":"file5"},{"photo_id":"1401812009","filename":"file2"},{"photo_id":"1401812014","filename":"file4"},{"photo_id":"1401812006","filename":"file1"},{"photo_id":"1401812003","filename":"file0"},{"photo_id":"1401812012","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812016":["hashtag1","hashtag2"]},{"1401812012":["hashtag1","hashtag2"]},{"1401812009":["hashtag1","hashtag2"]},{"1401812003":["hashtag1","hashtag2"]},{"1401812006":["hashtag1","hashtag2"]},{"1401812014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812016, 1401812012, 1401812009, 1401812003, 1401812006, 1401812014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.526885747909546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:38:15.004962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_03_1737.jpg', '/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_07_3557.jpg', '/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_15_2762.jpg', '/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_27_2970.jpg', '/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_42_2713.jpg', '/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_52_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_03_1737.jpg
/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_07_3557.jpg
/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_15_2762.jpg
/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_27_2970.jpg
/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_42_2713.jpg
/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_52_2833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812028","1401812037","1401812045","1401812033","1401812018","1401812023"],"photo_ids_order":["1401812018","1401812023","1401812028","1401812033","1401812037","1401812045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ed28d3382025f2ad7f80c523ab47df2.jpg","text":"TemporaryFile(/tmp/multipartBody6204511647564766035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141556765,"filename":"image_02112025_20_07_15_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41fb7bc0bef4d8586e382129bce2b84c.jpg","text":"TemporaryFile(/tmp/multipartBody5468884686596605410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141556765,"filename":"image_02112025_20_07_42_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2425b79353576380ed9bbfb84810779a.jpg","text":"TemporaryFile(/tmp/multipartBody5259525269796484803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141556765,"filename":"image_02112025_20_07_52_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebb7522586e87214dbdda5a0b5c268d2.jpg","text":"TemporaryFile(/tmp/multipartBody4181546155139281429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141556765,"filename":"image_02112025_20_07_27_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4e6b2e8b582dfb87ca025832d26a0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2679795825526972234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141556765,"filename":"image_02112025_20_07_03_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba332b430f4445886385d6a3521f3d78.jpg","text":"TemporaryFile(/tmp/multipartBody9091125991076152557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141556765,"filename":"image_02112025_20_07_07_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812028","file1":"1401812023","file0":"1401812018","file4":"1401812037","file5":"1401812045","file3":"1401812033"},"map_files_photo_id_array":[{"photo_id":"1401812045","filename":"file5"},{"photo_id":"1401812028","filename":"file2"},{"photo_id":"1401812037","filename":"file4"},{"photo_id":"1401812023","filename":"file1"},{"photo_id":"1401812018","filename":"file0"},{"photo_id":"1401812033","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812028":["hashtag1","hashtag2"]},{"1401812037":["hashtag1","hashtag2"]},{"1401812045":["hashtag1","hashtag2"]},{"1401812033":["hashtag1","hashtag2"]},{"1401812018":["hashtag1","hashtag2"]},{"1401812023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812028, 1401812037, 1401812045, 1401812033, 1401812018, 1401812023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26743245124817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:39:03.074078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_34_9866.jpg', '/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_44_10100.jpg', '/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_54_9652.jpg', '/home/pi/Desktop/images/31122025/01/30/image_31122025_01_31_05_10690.jpg', '/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_14_9735.jpg', '/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_24_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_34_9866.jpg
/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_44_10100.jpg
/home/pi/Desktop/images/31122025/01/30/image_31122025_01_30_54_9652.jpg
/home/pi/Desktop/images/31122025/01/30/image_31122025_01_31_05_10690.jpg
/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_14_9735.jpg
/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_24_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812060","1401812074","1401812062","1401812071","1401812064","1401812067"],"photo_ids_order":["1401812060","1401812062","1401812064","1401812067","1401812071","1401812074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1083cdb178a9e4b2dd6401f790c31db6.jpg","text":"TemporaryFile(/tmp/multipartBody3736904867088216912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141603873,"filename":"image_31122025_01_30_34_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7861135f260b267d5bdec75d43ff18e.jpg","text":"TemporaryFile(/tmp/multipartBody5220660895240201726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141603873,"filename":"image_31122025_01_31_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bd0cb938ba8606223e24b67f9c26f97.jpg","text":"TemporaryFile(/tmp/multipartBody155114190685097091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141603873,"filename":"image_31122025_01_30_44_10100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5353e8c99f4ffd84127a354a7a7f4a27.jpg","text":"TemporaryFile(/tmp/multipartBody3065857891410551689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141603873,"filename":"image_31122025_01_31_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/146f23142b24b5f472afb02b81ade551.jpg","text":"TemporaryFile(/tmp/multipartBody5507059077014457750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141603873,"filename":"image_31122025_01_30_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dec0e0d030f63c1c59604f44cafeb72.jpg","text":"TemporaryFile(/tmp/multipartBody7883488370039836639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141603873,"filename":"image_31122025_01_31_05_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812064","file1":"1401812062","file0":"1401812060","file4":"1401812071","file5":"1401812074","file3":"1401812067"},"map_files_photo_id_array":[{"photo_id":"1401812074","filename":"file5"},{"photo_id":"1401812064","filename":"file2"},{"photo_id":"1401812071","filename":"file4"},{"photo_id":"1401812062","filename":"file1"},{"photo_id":"1401812060","filename":"file0"},{"photo_id":"1401812067","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812060":["hashtag1","hashtag2"]},{"1401812074":["hashtag1","hashtag2"]},{"1401812062":["hashtag1","hashtag2"]},{"1401812071":["hashtag1","hashtag2"]},{"1401812064":["hashtag1","hashtag2"]},{"1401812067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812060, 1401812074, 1401812062, 1401812071, 1401812064, 1401812067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.782336711883545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:39:42.059624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_54_2646.jpg', '/home/pi/Desktop/images/02112025/20/07/image_02112025_20_08_01_3605.jpg', '/home/pi/Desktop/images/02112025/20/08/image_02112025_20_08_03_2599.jpg', '/home/pi/Desktop/images/02112025/20/08/image_02112025_20_08_13_6497.jpg', '/home/pi/Desktop/images/02112025/20/09/image_02112025_20_09_43_3627.jpg', '/home/pi/Desktop/images/02112025/20/09/image_02112025_20_09_45_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/07/image_02112025_20_07_54_2646.jpg
/home/pi/Desktop/images/02112025/20/07/image_02112025_20_08_01_3605.jpg
/home/pi/Desktop/images/02112025/20/08/image_02112025_20_08_03_2599.jpg
/home/pi/Desktop/images/02112025/20/08/image_02112025_20_08_13_6497.jpg
/home/pi/Desktop/images/02112025/20/09/image_02112025_20_09_43_3627.jpg
/home/pi/Desktop/images/02112025/20/09/image_02112025_20_09_45_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812084","1401812087","1401812086","1401812089","1401812082","1401812085"],"photo_ids_order":["1401812082","1401812084","1401812085","1401812086","1401812087","1401812089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdbd583e4c16a6d34de5aeb9059f0e95.jpg","text":"TemporaryFile(/tmp/multipartBody7796524723269475596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141643881,"filename":"image_02112025_20_08_01_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0780464c50c9965798924a0c6ea8caf7.jpg","text":"TemporaryFile(/tmp/multipartBody8656127444836957091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141643881,"filename":"image_02112025_20_09_43_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9bd223eba5c562246db20e489ae690e.jpg","text":"TemporaryFile(/tmp/multipartBody6566295852420754755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141643881,"filename":"image_02112025_20_08_13_6497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc8812af8a903b80630206de93285a27.jpg","text":"TemporaryFile(/tmp/multipartBody7479034677310266165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141643881,"filename":"image_02112025_20_09_45_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91c7e7d9f39f310bd130e898183b4019.jpg","text":"TemporaryFile(/tmp/multipartBody4286520678564269260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141643881,"filename":"image_02112025_20_07_54_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f4d6558225cc50a9ac6a847de876ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4868950964692576448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141643881,"filename":"image_02112025_20_08_03_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812085","file1":"1401812084","file0":"1401812082","file4":"1401812087","file5":"1401812089","file3":"1401812086"},"map_files_photo_id_array":[{"photo_id":"1401812089","filename":"file5"},{"photo_id":"1401812085","filename":"file2"},{"photo_id":"1401812087","filename":"file4"},{"photo_id":"1401812084","filename":"file1"},{"photo_id":"1401812082","filename":"file0"},{"photo_id":"1401812086","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812084":["hashtag1","hashtag2"]},{"1401812087":["hashtag1","hashtag2"]},{"1401812086":["hashtag1","hashtag2"]},{"1401812089":["hashtag1","hashtag2"]},{"1401812082":["hashtag1","hashtag2"]},{"1401812085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812084, 1401812087, 1401812086, 1401812089, 1401812082, 1401812085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.756115436553955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:40:22.335137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_34_9657.jpg', '/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_44_10674.jpg', '/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_54_9747.jpg', '/home/pi/Desktop/images/31122025/01/31/image_31122025_01_32_04_9718.jpg', '/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_15_10642.jpg', '/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_24_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_34_9657.jpg
/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_44_10674.jpg
/home/pi/Desktop/images/31122025/01/31/image_31122025_01_31_54_9747.jpg
/home/pi/Desktop/images/31122025/01/31/image_31122025_01_32_04_9718.jpg
/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_15_10642.jpg
/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_24_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812118","1401812100","1401812102","1401812110","1401812104","1401812116"],"photo_ids_order":["1401812100","1401812102","1401812104","1401812110","1401812116","1401812118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af90aa9c022d05622031413123b3a85c.jpg","text":"TemporaryFile(/tmp/multipartBody2907975259473527787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141682955,"filename":"image_31122025_01_32_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b2714cd8bf96a14b31016129049980b.jpg","text":"TemporaryFile(/tmp/multipartBody5231897535641157713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141682955,"filename":"image_31122025_01_31_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad7c31d135f4aaded6a3e9b76e5c186b.jpg","text":"TemporaryFile(/tmp/multipartBody5401659588075942378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141682955,"filename":"image_31122025_01_31_44_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6886b6122ef831f86957a76a977afd86.jpg","text":"TemporaryFile(/tmp/multipartBody2750136315662358727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141682955,"filename":"image_31122025_01_32_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4710656b0f8d00e535bd507a218e89b1.jpg","text":"TemporaryFile(/tmp/multipartBody5039797459482557806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141682955,"filename":"image_31122025_01_31_54_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0d45addb88f6986b86d9152c74363b9.jpg","text":"TemporaryFile(/tmp/multipartBody4357231396395022092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141682955,"filename":"image_31122025_01_32_15_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812104","file1":"1401812102","file0":"1401812100","file4":"1401812116","file5":"1401812118","file3":"1401812110"},"map_files_photo_id_array":[{"photo_id":"1401812118","filename":"file5"},{"photo_id":"1401812104","filename":"file2"},{"photo_id":"1401812116","filename":"file4"},{"photo_id":"1401812102","filename":"file1"},{"photo_id":"1401812100","filename":"file0"},{"photo_id":"1401812110","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812118":["hashtag1","hashtag2"]},{"1401812100":["hashtag1","hashtag2"]},{"1401812102":["hashtag1","hashtag2"]},{"1401812110":["hashtag1","hashtag2"]},{"1401812104":["hashtag1","hashtag2"]},{"1401812116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812118, 1401812100, 1401812102, 1401812110, 1401812104, 1401812116)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.25329351425171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:41:12.233938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/09/image_02112025_20_09_57_2721.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_04_3618.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_06_2683.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_16_2983.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_18_2711.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_21_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/09/image_02112025_20_09_57_2721.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_04_3618.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_06_2683.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_16_2983.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_18_2711.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_21_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812139","1401812144","1401812141","1401812137","1401812131","1401812134"],"photo_ids_order":["1401812131","1401812134","1401812137","1401812139","1401812141","1401812144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7a095f3c66691f594f7a466f030a587.jpg","text":"TemporaryFile(/tmp/multipartBody5000345206120699957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141734026,"filename":"image_02112025_20_10_16_2983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58b554678e76ff7897735e3da5012764.jpg","text":"TemporaryFile(/tmp/multipartBody632345352528234153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141734026,"filename":"image_02112025_20_10_21_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0134a3135e9f3e032678edc82806980.jpg","text":"TemporaryFile(/tmp/multipartBody1136066497887135069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141734026,"filename":"image_02112025_20_10_18_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d56a1e429fe79e2dbd0b7500f58e208c.jpg","text":"TemporaryFile(/tmp/multipartBody471516044561065836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141734026,"filename":"image_02112025_20_10_06_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad98463ef3c7947ce87928979ebb88db.jpg","text":"TemporaryFile(/tmp/multipartBody1070553038408834448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141734026,"filename":"image_02112025_20_09_57_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00a0334edf65b32bf65a8c46a6a491e4.jpg","text":"TemporaryFile(/tmp/multipartBody4431925430110028870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141734026,"filename":"image_02112025_20_10_04_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812137","file1":"1401812134","file0":"1401812131","file4":"1401812141","file5":"1401812144","file3":"1401812139"},"map_files_photo_id_array":[{"photo_id":"1401812144","filename":"file5"},{"photo_id":"1401812137","filename":"file2"},{"photo_id":"1401812141","filename":"file4"},{"photo_id":"1401812134","filename":"file1"},{"photo_id":"1401812131","filename":"file0"},{"photo_id":"1401812139","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812139":["hashtag1","hashtag2"]},{"1401812144":["hashtag1","hashtag2"]},{"1401812141":["hashtag1","hashtag2"]},{"1401812137":["hashtag1","hashtag2"]},{"1401812131":["hashtag1","hashtag2"]},{"1401812134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812139, 1401812144, 1401812141, 1401812137, 1401812131, 1401812134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17345356941223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:42:07.334440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_34_9735.jpg', '/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_45_10734.jpg', '/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_54_9646.jpg', '/home/pi/Desktop/images/31122025/01/32/image_31122025_01_33_04_9644.jpg', '/home/pi/Desktop/images/31122025/01/33/image_31122025_01_33_14_10000.jpg', '/home/pi/Desktop/images/31122025/01/33/image_31122025_01_33_25_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_34_9735.jpg
/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_45_10734.jpg
/home/pi/Desktop/images/31122025/01/32/image_31122025_01_32_54_9646.jpg
/home/pi/Desktop/images/31122025/01/32/image_31122025_01_33_04_9644.jpg
/home/pi/Desktop/images/31122025/01/33/image_31122025_01_33_14_10000.jpg
/home/pi/Desktop/images/31122025/01/33/image_31122025_01_33_25_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401812169","1401812159","1401812153","1401812155","1401812152","1401812163"],"photo_ids_order":["1401812152","1401812153","1401812155","1401812159","1401812163","1401812169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/465f87ae23731ac7236132ee75861a49.jpg","text":"TemporaryFile(/tmp/multipartBody4943084993414819855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141787909,"filename":"image_31122025_01_33_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8398f361d1b6fa7f056abba436fe8226.jpg","text":"TemporaryFile(/tmp/multipartBody904993050873301062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141787909,"filename":"image_31122025_01_33_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b7026bea1c33a1546c30976f604b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody4261342206780930695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141787909,"filename":"image_31122025_01_32_45_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dee1c4b2bf6a9ed28cb5d3a317688c96.jpg","text":"TemporaryFile(/tmp/multipartBody8169869648132770618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141787909,"filename":"image_31122025_01_32_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0802fd16cc8a5c8119e1049efc59334e.jpg","text":"TemporaryFile(/tmp/multipartBody2984658799341932195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141787909,"filename":"image_31122025_01_32_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79a79093bfa97a5f6c15d4d6626d2cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7764618778665066019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141787909,"filename":"image_31122025_01_33_14_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812155","file1":"1401812153","file0":"1401812152","file4":"1401812163","file5":"1401812169","file3":"1401812159"},"map_files_photo_id_array":[{"photo_id":"1401812169","filename":"file5"},{"photo_id":"1401812155","filename":"file2"},{"photo_id":"1401812163","filename":"file4"},{"photo_id":"1401812153","filename":"file1"},{"photo_id":"1401812152","filename":"file0"},{"photo_id":"1401812159","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812169":["hashtag1","hashtag2"]},{"1401812159":["hashtag1","hashtag2"]},{"1401812153":["hashtag1","hashtag2"]},{"1401812155":["hashtag1","hashtag2"]},{"1401812152":["hashtag1","hashtag2"]},{"1401812163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812169, 1401812159, 1401812153, 1401812155, 1401812152, 1401812163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26160407066345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:43:03.015408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/33/image_31122025_01_33_34_9405.jpg', '/home/pi/Desktop/images/31122025/01/33/image_31122025_01_33_44_9760.jpg', '/home/pi/Desktop/images/31122025/01/33/image_31122025_01_34_04_9821.jpg', '/home/pi/Desktop/images/31122025/01/34/image_31122025_01_34_14_9710.jpg', '/home/pi/Desktop/images/31122025/01/34/image_31122025_01_34_24_10008.jpg', '/home/pi/Desktop/images/31122025/01/34/image_31122025_01_34_44_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/33/image_31122025_01_33_34_9405.jpg
/home/pi/Desktop/images/31122025/01/33/image_31122025_01_33_44_9760.jpg
/home/pi/Desktop/images/31122025/01/33/image_31122025_01_34_04_9821.jpg
/home/pi/Desktop/images/31122025/01/34/image_31122025_01_34_14_9710.jpg
/home/pi/Desktop/images/31122025/01/34/image_31122025_01_34_24_10008.jpg
/home/pi/Desktop/images/31122025/01/34/image_31122025_01_34_44_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812202","1401812192","1401812195","1401812189","1401812197","1401812199"],"photo_ids_order":["1401812189","1401812192","1401812195","1401812197","1401812199","1401812202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0c88fa28ccaeb4d57265af1b220a4ac.jpg","text":"TemporaryFile(/tmp/multipartBody581661915543356477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141843715,"filename":"image_31122025_01_34_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f3e3c003c7f3851d9a721a9084de102.jpg","text":"TemporaryFile(/tmp/multipartBody2182084522259929052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141843715,"filename":"image_31122025_01_33_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fe7fe0e52fcc7b5786f93782bfbfc8d.jpg","text":"TemporaryFile(/tmp/multipartBody8585823844411902819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141843715,"filename":"image_31122025_01_34_04_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/043d25ead3d0f376e42d635038edc249.jpg","text":"TemporaryFile(/tmp/multipartBody2746008688607195764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141843715,"filename":"image_31122025_01_33_34_9405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a0c404e63663a5e714bed3480add4aa.jpg","text":"TemporaryFile(/tmp/multipartBody6458642865415579816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141843715,"filename":"image_31122025_01_34_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8a838b31266920764d90bf23e116407.jpg","text":"TemporaryFile(/tmp/multipartBody5018276523814591819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141843715,"filename":"image_31122025_01_34_24_10008.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812195","file1":"1401812192","file0":"1401812189","file4":"1401812199","file5":"1401812202","file3":"1401812197"},"map_files_photo_id_array":[{"photo_id":"1401812202","filename":"file5"},{"photo_id":"1401812195","filename":"file2"},{"photo_id":"1401812199","filename":"file4"},{"photo_id":"1401812192","filename":"file1"},{"photo_id":"1401812189","filename":"file0"},{"photo_id":"1401812197","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812202":["hashtag1","hashtag2"]},{"1401812192":["hashtag1","hashtag2"]},{"1401812195":["hashtag1","hashtag2"]},{"1401812189":["hashtag1","hashtag2"]},{"1401812197":["hashtag1","hashtag2"]},{"1401812199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812202, 1401812192, 1401812195, 1401812189, 1401812197, 1401812199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30906438827515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:43:42.396375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_30_2697.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_40_3640.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_42_2716.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_45_2579.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_49_3724.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_51_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_30_2697.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_40_3640.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_42_2716.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_45_2579.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_49_3724.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_51_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812220","1401812217","1401812225","1401812210","1401812213","1401812222"],"photo_ids_order":["1401812210","1401812213","1401812217","1401812220","1401812222","1401812225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6f2e8e6dc94b6c66a9f87ae38e2264e.jpg","text":"TemporaryFile(/tmp/multipartBody8673803408310941248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141884211,"filename":"image_02112025_20_10_45_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/366c70a5d40ff2e74e83dc6c24bd2071.jpg","text":"TemporaryFile(/tmp/multipartBody8693727410184990911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141884211,"filename":"image_02112025_20_10_42_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5b52b6a7ce4b7d6d13d78f2b764db2a.jpg","text":"TemporaryFile(/tmp/multipartBody6764867514367277881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141884211,"filename":"image_02112025_20_10_51_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fdd38e47cf4bc3703b76c57bf74b25e.jpg","text":"TemporaryFile(/tmp/multipartBody4741093618945245690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141884211,"filename":"image_02112025_20_10_30_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cb1c381018962b9fb4874b619bff731.jpg","text":"TemporaryFile(/tmp/multipartBody7450899717241143226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141884211,"filename":"image_02112025_20_10_40_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bb5c9092d600098e47ac480b422dc5a.jpg","text":"TemporaryFile(/tmp/multipartBody2364315609653017800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141884211,"filename":"image_02112025_20_10_49_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812217","file1":"1401812213","file0":"1401812210","file4":"1401812222","file5":"1401812225","file3":"1401812220"},"map_files_photo_id_array":[{"photo_id":"1401812225","filename":"file5"},{"photo_id":"1401812217","filename":"file2"},{"photo_id":"1401812222","filename":"file4"},{"photo_id":"1401812213","filename":"file1"},{"photo_id":"1401812210","filename":"file0"},{"photo_id":"1401812220","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812220":["hashtag1","hashtag2"]},{"1401812217":["hashtag1","hashtag2"]},{"1401812225":["hashtag1","hashtag2"]},{"1401812210":["hashtag1","hashtag2"]},{"1401812213":["hashtag1","hashtag2"]},{"1401812222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812220, 1401812217, 1401812225, 1401812210, 1401812213, 1401812222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78516221046448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:44:22.805871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/34/image_31122025_01_34_54_9549.jpg', '/home/pi/Desktop/images/31122025/01/34/image_31122025_01_35_05_10631.jpg', '/home/pi/Desktop/images/31122025/01/35/image_31122025_01_35_14_9758.jpg', '/home/pi/Desktop/images/31122025/01/35/image_31122025_01_35_34_9595.jpg', '/home/pi/Desktop/images/31122025/01/35/image_31122025_01_35_44_10680.jpg', '/home/pi/Desktop/images/31122025/01/35/image_31122025_01_35_54_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/34/image_31122025_01_34_54_9549.jpg
/home/pi/Desktop/images/31122025/01/34/image_31122025_01_35_05_10631.jpg
/home/pi/Desktop/images/31122025/01/35/image_31122025_01_35_14_9758.jpg
/home/pi/Desktop/images/31122025/01/35/image_31122025_01_35_34_9595.jpg
/home/pi/Desktop/images/31122025/01/35/image_31122025_01_35_44_10680.jpg
/home/pi/Desktop/images/31122025/01/35/image_31122025_01_35_54_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812253","1401812235","1401812243","1401812237","1401812240","1401812233"],"photo_ids_order":["1401812233","1401812235","1401812237","1401812240","1401812243","1401812253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f859666c3246ae6b701e69cc698a4dd.jpg","text":"TemporaryFile(/tmp/multipartBody6605939614240173168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141923399,"filename":"image_31122025_01_35_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f33b37cf1d345b82d261e64b49933847.jpg","text":"TemporaryFile(/tmp/multipartBody1282110681748666636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141923399,"filename":"image_31122025_01_35_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b8f3925a7684c6f7c6f492998c5b226.jpg","text":"TemporaryFile(/tmp/multipartBody3672744166720255998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141923399,"filename":"image_31122025_01_35_44_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b55982072bed4fa644049f0cf5b670d5.jpg","text":"TemporaryFile(/tmp/multipartBody5753612125076964615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141923399,"filename":"image_31122025_01_35_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c44b5c4349fd2950d060b4dd097b775.jpg","text":"TemporaryFile(/tmp/multipartBody3286822180774278379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141923399,"filename":"image_31122025_01_35_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32fd67002aacee26462bb6c824118ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1917107975387602529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141923399,"filename":"image_31122025_01_34_54_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812237","file1":"1401812235","file0":"1401812233","file4":"1401812243","file5":"1401812253","file3":"1401812240"},"map_files_photo_id_array":[{"photo_id":"1401812253","filename":"file5"},{"photo_id":"1401812237","filename":"file2"},{"photo_id":"1401812243","filename":"file4"},{"photo_id":"1401812235","filename":"file1"},{"photo_id":"1401812233","filename":"file0"},{"photo_id":"1401812240","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812253":["hashtag1","hashtag2"]},{"1401812235":["hashtag1","hashtag2"]},{"1401812243":["hashtag1","hashtag2"]},{"1401812237":["hashtag1","hashtag2"]},{"1401812240":["hashtag1","hashtag2"]},{"1401812233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812253, 1401812235, 1401812243, 1401812237, 1401812240, 1401812233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95719051361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:45:03.486973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/35/image_31122025_01_36_04_9797.jpg', '/home/pi/Desktop/images/31122025/01/36/image_31122025_01_36_15_10726.jpg', '/home/pi/Desktop/images/31122025/01/36/image_31122025_01_36_24_9759.jpg', '/home/pi/Desktop/images/31122025/01/36/image_31122025_01_36_34_9815.jpg', '/home/pi/Desktop/images/31122025/01/36/image_31122025_01_36_45_10451.jpg', '/home/pi/Desktop/images/31122025/01/36/image_31122025_01_37_04_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/35/image_31122025_01_36_04_9797.jpg
/home/pi/Desktop/images/31122025/01/36/image_31122025_01_36_15_10726.jpg
/home/pi/Desktop/images/31122025/01/36/image_31122025_01_36_24_9759.jpg
/home/pi/Desktop/images/31122025/01/36/image_31122025_01_36_34_9815.jpg
/home/pi/Desktop/images/31122025/01/36/image_31122025_01_36_45_10451.jpg
/home/pi/Desktop/images/31122025/01/36/image_31122025_01_37_04_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812276","1401812278","1401812287","1401812280","1401812283","1401812292"],"photo_ids_order":["1401812276","1401812278","1401812280","1401812283","1401812287","1401812292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6eb167d1c39de035849e13a7e35e4477.jpg","text":"TemporaryFile(/tmp/multipartBody1313502513703039113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141964116,"filename":"image_31122025_01_36_04_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d03912820410004c10d9cb94f0ebc75.jpg","text":"TemporaryFile(/tmp/multipartBody2464652107028226443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141964116,"filename":"image_31122025_01_36_15_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10f13039b0d62f2bc485b9a8e801ca3c.jpg","text":"TemporaryFile(/tmp/multipartBody5034476648808586645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141964116,"filename":"image_31122025_01_36_45_10451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9158d0acffa1b34a570bfa68c0d79592.jpg","text":"TemporaryFile(/tmp/multipartBody1941455345206280775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141964116,"filename":"image_31122025_01_36_24_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4388d75a28dcf2841f423cdf99be92dd.jpg","text":"TemporaryFile(/tmp/multipartBody3040602324847445501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141964116,"filename":"image_31122025_01_36_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b1b5d49eb1c396cf2afce2a71854b9d.jpg","text":"TemporaryFile(/tmp/multipartBody561834372479241493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767141964116,"filename":"image_31122025_01_37_04_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812280","file1":"1401812278","file0":"1401812276","file4":"1401812287","file5":"1401812292","file3":"1401812283"},"map_files_photo_id_array":[{"photo_id":"1401812292","filename":"file5"},{"photo_id":"1401812280","filename":"file2"},{"photo_id":"1401812287","filename":"file4"},{"photo_id":"1401812278","filename":"file1"},{"photo_id":"1401812276","filename":"file0"},{"photo_id":"1401812283","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812276":["hashtag1","hashtag2"]},{"1401812278":["hashtag1","hashtag2"]},{"1401812287":["hashtag1","hashtag2"]},{"1401812280":["hashtag1","hashtag2"]},{"1401812283":["hashtag1","hashtag2"]},{"1401812292":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812276, 1401812278, 1401812287, 1401812280, 1401812283, 1401812292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.871527671813965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:45:42.877580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_54_2778.jpg', '/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_58_3545.jpg', '/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_09_2676.jpg', '/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_12_2621.jpg', '/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_18_2562.jpg', '/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_27_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_54_2778.jpg
/home/pi/Desktop/images/02112025/20/10/image_02112025_20_10_58_3545.jpg
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_09_2676.jpg
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_12_2621.jpg
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_18_2562.jpg
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_27_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812307","1401812304","1401812300","1401812303","1401812302","1401812305"],"photo_ids_order":["1401812300","1401812302","1401812303","1401812304","1401812305","1401812307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80f4aba8710e6c2ffddc79d9fdf463a4.jpg","text":"TemporaryFile(/tmp/multipartBody5129711259001729386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142004785,"filename":"image_02112025_20_11_27_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2809dd8d84a13e7ebb282c7c98e2ca16.jpg","text":"TemporaryFile(/tmp/multipartBody8946702360261438126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142004785,"filename":"image_02112025_20_11_12_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c34621f399077c33e753f91a4000fdac.jpg","text":"TemporaryFile(/tmp/multipartBody5720692712137317949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142004785,"filename":"image_02112025_20_10_54_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1070ba05ec3b79d877afeaefdb17068.jpg","text":"TemporaryFile(/tmp/multipartBody6219712922286771966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142004785,"filename":"image_02112025_20_11_09_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/510774d0dfadb57ff3297f55ce96deb2.jpg","text":"TemporaryFile(/tmp/multipartBody4743363960379684117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142004785,"filename":"image_02112025_20_10_58_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69ab1d7ad675172894e94ffd30021c10.jpg","text":"TemporaryFile(/tmp/multipartBody5635105267308283374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142004785,"filename":"image_02112025_20_11_18_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812303","file1":"1401812302","file0":"1401812300","file4":"1401812305","file5":"1401812307","file3":"1401812304"},"map_files_photo_id_array":[{"photo_id":"1401812307","filename":"file5"},{"photo_id":"1401812303","filename":"file2"},{"photo_id":"1401812305","filename":"file4"},{"photo_id":"1401812302","filename":"file1"},{"photo_id":"1401812300","filename":"file0"},{"photo_id":"1401812304","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812307":["hashtag1","hashtag2"]},{"1401812304":["hashtag1","hashtag2"]},{"1401812300":["hashtag1","hashtag2"]},{"1401812303":["hashtag1","hashtag2"]},{"1401812302":["hashtag1","hashtag2"]},{"1401812305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812307, 1401812304, 1401812300, 1401812303, 1401812302, 1401812305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.535175800323486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:46:22.036289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_15_10778.jpg', '/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_24_9600.jpg', '/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_34_9877.jpg', '/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_44_9791.jpg', '/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_55_10665.jpg', '/home/pi/Desktop/images/31122025/01/37/image_31122025_01_38_05_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_15_10778.jpg
/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_24_9600.jpg
/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_34_9877.jpg
/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_44_9791.jpg
/home/pi/Desktop/images/31122025/01/37/image_31122025_01_37_55_10665.jpg
/home/pi/Desktop/images/31122025/01/37/image_31122025_01_38_05_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812328","1401812322","1401812319","1401812330","1401812315","1401812332"],"photo_ids_order":["1401812315","1401812319","1401812322","1401812328","1401812330","1401812332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48dfd14a847d1d2f0b6d4002b8960abe.jpg","text":"TemporaryFile(/tmp/multipartBody308262113389097873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142042628,"filename":"image_31122025_01_37_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ed20190947881ff31f1c36aa31339de.jpg","text":"TemporaryFile(/tmp/multipartBody1949746037833261940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142042628,"filename":"image_31122025_01_37_34_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a60be3bd957440a0363c5d18f2cdf9f.jpg","text":"TemporaryFile(/tmp/multipartBody3138493417747132506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142042628,"filename":"image_31122025_01_37_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f8ab63ea1b1d39caf983753adce2072.jpg","text":"TemporaryFile(/tmp/multipartBody3990426035568730508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142042628,"filename":"image_31122025_01_37_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57282b3b01fcfa200b172ddd1e02f855.jpg","text":"TemporaryFile(/tmp/multipartBody5938214358893919675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142042628,"filename":"image_31122025_01_37_15_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ff13eebc2f407f7290762e789a54fdc.jpg","text":"TemporaryFile(/tmp/multipartBody2265900970903759913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142042628,"filename":"image_31122025_01_38_05_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812322","file1":"1401812319","file0":"1401812315","file4":"1401812330","file5":"1401812332","file3":"1401812328"},"map_files_photo_id_array":[{"photo_id":"1401812332","filename":"file5"},{"photo_id":"1401812322","filename":"file2"},{"photo_id":"1401812330","filename":"file4"},{"photo_id":"1401812319","filename":"file1"},{"photo_id":"1401812315","filename":"file0"},{"photo_id":"1401812328","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812328":["hashtag1","hashtag2"]},{"1401812322":["hashtag1","hashtag2"]},{"1401812319":["hashtag1","hashtag2"]},{"1401812330":["hashtag1","hashtag2"]},{"1401812315":["hashtag1","hashtag2"]},{"1401812332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812328, 1401812322, 1401812319, 1401812330, 1401812315, 1401812332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.288058042526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:47:02.878070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/38/image_31122025_01_38_34_9825.jpg', '/home/pi/Desktop/images/31122025/01/38/image_31122025_01_38_44_9571.jpg', '/home/pi/Desktop/images/31122025/01/38/image_31122025_01_38_55_10820.jpg', '/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_14_9666.jpg', '/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_24_9729.jpg', '/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_34_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/38/image_31122025_01_38_34_9825.jpg
/home/pi/Desktop/images/31122025/01/38/image_31122025_01_38_44_9571.jpg
/home/pi/Desktop/images/31122025/01/38/image_31122025_01_38_55_10820.jpg
/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_14_9666.jpg
/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_24_9729.jpg
/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_34_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812352","1401812348","1401812345","1401812339","1401812350","1401812343"],"photo_ids_order":["1401812339","1401812343","1401812345","1401812348","1401812350","1401812352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0094f4b043ec815ba4df9a309e6944c5.jpg","text":"TemporaryFile(/tmp/multipartBody3232339319932208859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142083562,"filename":"image_31122025_01_39_34_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a51f59d86f48e4aeea39eedc3ec8c93.jpg","text":"TemporaryFile(/tmp/multipartBody3081098775399422289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142083562,"filename":"image_31122025_01_39_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/052bde4a37b420fc9615a8ca68041a8e.jpg","text":"TemporaryFile(/tmp/multipartBody816354481456334197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142083562,"filename":"image_31122025_01_38_55_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/500892c0db2160fe64bdcc94e6034224.jpg","text":"TemporaryFile(/tmp/multipartBody8693414689215370252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142083562,"filename":"image_31122025_01_38_34_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f71462e864bcce1e4fa2d68dc97b0857.jpg","text":"TemporaryFile(/tmp/multipartBody9114658383650732636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142083562,"filename":"image_31122025_01_39_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b02279e7aafb0df96cf5f8c0b18c1636.jpg","text":"TemporaryFile(/tmp/multipartBody796374073703944148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142083562,"filename":"image_31122025_01_38_44_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812345","file1":"1401812343","file0":"1401812339","file4":"1401812350","file5":"1401812352","file3":"1401812348"},"map_files_photo_id_array":[{"photo_id":"1401812352","filename":"file5"},{"photo_id":"1401812345","filename":"file2"},{"photo_id":"1401812350","filename":"file4"},{"photo_id":"1401812343","filename":"file1"},{"photo_id":"1401812339","filename":"file0"},{"photo_id":"1401812348","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812352":["hashtag1","hashtag2"]},{"1401812348":["hashtag1","hashtag2"]},{"1401812345":["hashtag1","hashtag2"]},{"1401812339":["hashtag1","hashtag2"]},{"1401812350":["hashtag1","hashtag2"]},{"1401812343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812352, 1401812348, 1401812345, 1401812339, 1401812350, 1401812343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21255135536194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:47:42.165884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_33_3574.jpg', '/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_36_2755.jpg', '/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_54_2871.jpg', '/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_57_3706.jpg', '/home/pi/Desktop/images/02112025/20/11/image_02112025_20_12_00_2752.jpg', '/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_12_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_33_3574.jpg
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_36_2755.jpg
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_54_2871.jpg
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_11_57_3706.jpg
/home/pi/Desktop/images/02112025/20/11/image_02112025_20_12_00_2752.jpg
/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_12_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812366","1401812369","1401812368","1401812361","1401812370","1401812364"],"photo_ids_order":["1401812361","1401812364","1401812366","1401812368","1401812369","1401812370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afeef511c8c5ed7d69ec96fcf7da21ef.jpg","text":"TemporaryFile(/tmp/multipartBody915487039567455016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142124054,"filename":"image_02112025_20_11_54_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a3193732cd42c988dd1b227df4f98b3.jpg","text":"TemporaryFile(/tmp/multipartBody4882903993328268464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142124054,"filename":"image_02112025_20_12_00_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87a08d8ab563e34384433b09621bb0f0.jpg","text":"TemporaryFile(/tmp/multipartBody213759972659658239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142124054,"filename":"image_02112025_20_11_57_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b46175c269c433c5493cd0d71739ab0a.jpg","text":"TemporaryFile(/tmp/multipartBody5310251637989550434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142124054,"filename":"image_02112025_20_11_33_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd212fc02336d220aac4e47b9e2a4721.jpg","text":"TemporaryFile(/tmp/multipartBody4902317466367448868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142124054,"filename":"image_02112025_20_12_12_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20d1456a0d2ea6da604d8b929f82518f.jpg","text":"TemporaryFile(/tmp/multipartBody1426552277956324834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142124054,"filename":"image_02112025_20_11_36_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812366","file1":"1401812364","file0":"1401812361","file4":"1401812369","file5":"1401812370","file3":"1401812368"},"map_files_photo_id_array":[{"photo_id":"1401812370","filename":"file5"},{"photo_id":"1401812366","filename":"file2"},{"photo_id":"1401812369","filename":"file4"},{"photo_id":"1401812364","filename":"file1"},{"photo_id":"1401812361","filename":"file0"},{"photo_id":"1401812368","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812366":["hashtag1","hashtag2"]},{"1401812369":["hashtag1","hashtag2"]},{"1401812368":["hashtag1","hashtag2"]},{"1401812361":["hashtag1","hashtag2"]},{"1401812370":["hashtag1","hashtag2"]},{"1401812364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812366, 1401812369, 1401812368, 1401812361, 1401812370, 1401812364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79439067840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:48:22.327851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_44_9615.jpg', '/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_54_9790.jpg', '/home/pi/Desktop/images/31122025/01/39/image_31122025_01_40_04_10662.jpg', '/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_14_10004.jpg', '/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_24_9683.jpg', '/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_34_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_44_9615.jpg
/home/pi/Desktop/images/31122025/01/39/image_31122025_01_39_54_9790.jpg
/home/pi/Desktop/images/31122025/01/39/image_31122025_01_40_04_10662.jpg
/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_14_10004.jpg
/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_24_9683.jpg
/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_34_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812381","1401812377","1401812392","1401812389","1401812394","1401812385"],"photo_ids_order":["1401812377","1401812381","1401812385","1401812389","1401812392","1401812394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffe090188a6d6595a885e8ddcb8ba786.jpg","text":"TemporaryFile(/tmp/multipartBody4414611408050297392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142162918,"filename":"image_31122025_01_39_54_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8925a46c6dca48c177f3cf9cc1991826.jpg","text":"TemporaryFile(/tmp/multipartBody5164279429160900392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142162918,"filename":"image_31122025_01_39_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7540d6584fc774435ae39fcd7227e0c.jpg","text":"TemporaryFile(/tmp/multipartBody5257890629927719201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142162918,"filename":"image_31122025_01_40_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7299b9bb2b3739eaa624d8e13efa516b.jpg","text":"TemporaryFile(/tmp/multipartBody7251179637178234878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142162918,"filename":"image_31122025_01_40_14_10004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c573230633f4844054c25316e82febae.jpg","text":"TemporaryFile(/tmp/multipartBody7696907220685952139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142162918,"filename":"image_31122025_01_40_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/404b1ad7012a429bf0b98d5bc72906bc.jpg","text":"TemporaryFile(/tmp/multipartBody6201571455067987238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142162918,"filename":"image_31122025_01_40_04_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812385","file1":"1401812381","file0":"1401812377","file4":"1401812392","file5":"1401812394","file3":"1401812389"},"map_files_photo_id_array":[{"photo_id":"1401812394","filename":"file5"},{"photo_id":"1401812385","filename":"file2"},{"photo_id":"1401812392","filename":"file4"},{"photo_id":"1401812381","filename":"file1"},{"photo_id":"1401812377","filename":"file0"},{"photo_id":"1401812389","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812381":["hashtag1","hashtag2"]},{"1401812377":["hashtag1","hashtag2"]},{"1401812392":["hashtag1","hashtag2"]},{"1401812389":["hashtag1","hashtag2"]},{"1401812394":["hashtag1","hashtag2"]},{"1401812385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812381, 1401812377, 1401812392, 1401812389, 1401812394, 1401812385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.839621782302856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:49:03.515681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_44_9789.jpg', '/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_54_10670.jpg', '/home/pi/Desktop/images/31122025/01/40/image_31122025_01_41_04_9717.jpg', '/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_14_9632.jpg', '/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_25_10813.jpg', '/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_44_9789.jpg
/home/pi/Desktop/images/31122025/01/40/image_31122025_01_40_54_10670.jpg
/home/pi/Desktop/images/31122025/01/40/image_31122025_01_41_04_9717.jpg
/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_14_9632.jpg
/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_25_10813.jpg
/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_34_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812466","1401812462","1401812456","1401812441","1401812459","1401812417"],"photo_ids_order":["1401812417","1401812441","1401812456","1401812459","1401812462","1401812466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cf89d9975f582c1865dca95cbaf449e.jpg","text":"TemporaryFile(/tmp/multipartBody8050199977419537778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142204232,"filename":"image_31122025_01_41_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc38c66644212474bf6c7d84199dd7ac.jpg","text":"TemporaryFile(/tmp/multipartBody6188869973810568912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142204232,"filename":"image_31122025_01_41_25_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87b5f46c6e9362c7731dd635e40618eb.jpg","text":"TemporaryFile(/tmp/multipartBody6111629292613589943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142204232,"filename":"image_31122025_01_41_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1625aadf0d72c577754111aa953e5bf.jpg","text":"TemporaryFile(/tmp/multipartBody1678913662237048040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142204232,"filename":"image_31122025_01_40_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1e2ed7a8dd137872da0bb8630121313.jpg","text":"TemporaryFile(/tmp/multipartBody1399220783166604363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142204232,"filename":"image_31122025_01_41_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2c60911cbe590743d0aefee5d24bfb7.jpg","text":"TemporaryFile(/tmp/multipartBody681466076247159597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142204232,"filename":"image_31122025_01_40_44_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812456","file1":"1401812441","file0":"1401812417","file4":"1401812462","file5":"1401812466","file3":"1401812459"},"map_files_photo_id_array":[{"photo_id":"1401812466","filename":"file5"},{"photo_id":"1401812456","filename":"file2"},{"photo_id":"1401812462","filename":"file4"},{"photo_id":"1401812441","filename":"file1"},{"photo_id":"1401812417","filename":"file0"},{"photo_id":"1401812459","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812466":["hashtag1","hashtag2"]},{"1401812462":["hashtag1","hashtag2"]},{"1401812456":["hashtag1","hashtag2"]},{"1401812441":["hashtag1","hashtag2"]},{"1401812459":["hashtag1","hashtag2"]},{"1401812417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812466, 1401812462, 1401812456, 1401812441, 1401812459, 1401812417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.400542974472046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:49:42.531893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_15_2708.jpg', '/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_21_2600.jpg', '/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_24_2897.jpg', '/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_45_2666.jpg', '/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_48_2693.jpg', '/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_57_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_15_2708.jpg
/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_21_2600.jpg
/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_24_2897.jpg
/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_45_2666.jpg
/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_48_2693.jpg
/home/pi/Desktop/images/02112025/20/12/image_02112025_20_12_57_2872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812471","1401812480","1401812474","1401812482","1401812476","1401812478"],"photo_ids_order":["1401812471","1401812474","1401812476","1401812478","1401812480","1401812482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccae7fe75a6d1a3bfd00d0bdb98896d9.jpg","text":"TemporaryFile(/tmp/multipartBody838307002628221864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142244432,"filename":"image_02112025_20_12_15_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58c31e7730eeb9a664c9bc52d7be3609.jpg","text":"TemporaryFile(/tmp/multipartBody8437618262667368532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142244432,"filename":"image_02112025_20_12_48_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b918acfb8553fb97abffe8cfab20dda.jpg","text":"TemporaryFile(/tmp/multipartBody617422793801123014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142244432,"filename":"image_02112025_20_12_21_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2313196382c05d2e9561fca07ab0615.jpg","text":"TemporaryFile(/tmp/multipartBody2785943699613573609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142244432,"filename":"image_02112025_20_12_57_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f3a21d7f8a0ebb83dcda58f0b4bbc69.jpg","text":"TemporaryFile(/tmp/multipartBody6661631127615571853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142244432,"filename":"image_02112025_20_12_24_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ad8068b946383fdeba65c2325fad7b6.jpg","text":"TemporaryFile(/tmp/multipartBody5156190164393924506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142244432,"filename":"image_02112025_20_12_45_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812476","file1":"1401812474","file0":"1401812471","file4":"1401812480","file5":"1401812482","file3":"1401812478"},"map_files_photo_id_array":[{"photo_id":"1401812482","filename":"file5"},{"photo_id":"1401812476","filename":"file2"},{"photo_id":"1401812480","filename":"file4"},{"photo_id":"1401812474","filename":"file1"},{"photo_id":"1401812471","filename":"file0"},{"photo_id":"1401812478","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812471":["hashtag1","hashtag2"]},{"1401812480":["hashtag1","hashtag2"]},{"1401812474":["hashtag1","hashtag2"]},{"1401812482":["hashtag1","hashtag2"]},{"1401812476":["hashtag1","hashtag2"]},{"1401812478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812471, 1401812480, 1401812474, 1401812482, 1401812476, 1401812478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.015212059020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:50:22.707114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_44_9641.jpg', '/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_54_10329.jpg', '/home/pi/Desktop/images/31122025/01/41/image_31122025_01_42_04_9714.jpg', '/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_15_10651.jpg', '/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_24_9608.jpg', '/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_34_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_44_9641.jpg
/home/pi/Desktop/images/31122025/01/41/image_31122025_01_41_54_10329.jpg
/home/pi/Desktop/images/31122025/01/41/image_31122025_01_42_04_9714.jpg
/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_15_10651.jpg
/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_24_9608.jpg
/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_34_10074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812514","1401812495","1401812509","1401812493","1401812506","1401812490"],"photo_ids_order":["1401812490","1401812493","1401812495","1401812506","1401812509","1401812514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ae1db61b880cddf9fa7886f904f0816.jpg","text":"TemporaryFile(/tmp/multipartBody990373257438079700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142283345,"filename":"image_31122025_01_42_34_10074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63081b32e78eaa0710f8813eb0ec55ba.jpg","text":"TemporaryFile(/tmp/multipartBody3725616105733374867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142283345,"filename":"image_31122025_01_42_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71ca0fb574db4485c582fbb8fc06b8b9.jpg","text":"TemporaryFile(/tmp/multipartBody2859611048449084193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142283345,"filename":"image_31122025_01_42_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6697b2f05959a0515449b5e0b941f101.jpg","text":"TemporaryFile(/tmp/multipartBody5464875019058795359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142283345,"filename":"image_31122025_01_41_54_10329.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38caf2959115ce264f7b4fa5726a0a17.jpg","text":"TemporaryFile(/tmp/multipartBody2864236588541961796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142283345,"filename":"image_31122025_01_42_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49984a6c5e826626a3d00401638b669a.jpg","text":"TemporaryFile(/tmp/multipartBody5175674646726380019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142283345,"filename":"image_31122025_01_41_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812495","file1":"1401812493","file0":"1401812490","file4":"1401812509","file5":"1401812514","file3":"1401812506"},"map_files_photo_id_array":[{"photo_id":"1401812514","filename":"file5"},{"photo_id":"1401812495","filename":"file2"},{"photo_id":"1401812509","filename":"file4"},{"photo_id":"1401812493","filename":"file1"},{"photo_id":"1401812490","filename":"file0"},{"photo_id":"1401812506","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812514":["hashtag1","hashtag2"]},{"1401812495":["hashtag1","hashtag2"]},{"1401812509":["hashtag1","hashtag2"]},{"1401812493":["hashtag1","hashtag2"]},{"1401812506":["hashtag1","hashtag2"]},{"1401812490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812514, 1401812495, 1401812509, 1401812493, 1401812506, 1401812490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0568413734436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:51:02.641131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_44_9883.jpg', '/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_54_9690.jpg', '/home/pi/Desktop/images/31122025/01/42/image_31122025_01_43_05_10666.jpg', '/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_14_9614.jpg', '/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_24_9775.jpg', '/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_35_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_44_9883.jpg
/home/pi/Desktop/images/31122025/01/42/image_31122025_01_42_54_9690.jpg
/home/pi/Desktop/images/31122025/01/42/image_31122025_01_43_05_10666.jpg
/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_14_9614.jpg
/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_24_9775.jpg
/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_35_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812544","1401812517","1401812537","1401812539","1401812548","1401812533"],"photo_ids_order":["1401812517","1401812533","1401812537","1401812539","1401812544","1401812548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c0f993dda54eb308a3c03711c4fa704.jpg","text":"TemporaryFile(/tmp/multipartBody4890230822680939640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142323348,"filename":"image_31122025_01_43_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4995ec48f71c70254492288aa9ae0b8b.jpg","text":"TemporaryFile(/tmp/multipartBody94334676927343008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142323348,"filename":"image_31122025_01_42_44_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d1b7cc6a349460cd69a9f944f07d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2689689115240951802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142323348,"filename":"image_31122025_01_43_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecc7769746bd587dc339c643720b1d8f.jpg","text":"TemporaryFile(/tmp/multipartBody6711762462541733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142323348,"filename":"image_31122025_01_43_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9419c2a9a58072f2ce47151db6dd9af4.jpg","text":"TemporaryFile(/tmp/multipartBody3547416844977224368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142323348,"filename":"image_31122025_01_43_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1348c4dd369c98f348559f071a77fafe.jpg","text":"TemporaryFile(/tmp/multipartBody4080169559466481501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142323348,"filename":"image_31122025_01_42_54_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812537","file1":"1401812533","file0":"1401812517","file4":"1401812544","file5":"1401812548","file3":"1401812539"},"map_files_photo_id_array":[{"photo_id":"1401812548","filename":"file5"},{"photo_id":"1401812537","filename":"file2"},{"photo_id":"1401812544","filename":"file4"},{"photo_id":"1401812533","filename":"file1"},{"photo_id":"1401812517","filename":"file0"},{"photo_id":"1401812539","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812544":["hashtag1","hashtag2"]},{"1401812517":["hashtag1","hashtag2"]},{"1401812537":["hashtag1","hashtag2"]},{"1401812539":["hashtag1","hashtag2"]},{"1401812548":["hashtag1","hashtag2"]},{"1401812533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812544, 1401812517, 1401812537, 1401812539, 1401812548, 1401812533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.621766805648804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:51:41.961746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/12/image_02112025_20_13_00_2766.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_06_2518.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_09_2842.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_12_3686.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_15_2584.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_21_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/12/image_02112025_20_13_00_2766.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_06_2518.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_09_2842.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_12_3686.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_15_2584.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_21_3568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812559","1401812558","1401812557","1401812560","1401812562","1401812556"],"photo_ids_order":["1401812556","1401812557","1401812558","1401812559","1401812560","1401812562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b4d870eb8b07ee6ce365d9b7e3b7456.jpg","text":"TemporaryFile(/tmp/multipartBody2307498727460765189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142363781,"filename":"image_02112025_20_13_12_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a124da7fffa2916e828b1b267135a7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1851709878827929805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142363781,"filename":"image_02112025_20_13_09_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/142b74a64e5eaffb4abddd6f23dd661a.jpg","text":"TemporaryFile(/tmp/multipartBody1991039767423460688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142363781,"filename":"image_02112025_20_13_06_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78d34e5e23bd397dee0815b97df1fe7d.jpg","text":"TemporaryFile(/tmp/multipartBody1123767628149794218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142363781,"filename":"image_02112025_20_13_15_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e5d00a783e87bf761f98617acde3cb3.jpg","text":"TemporaryFile(/tmp/multipartBody871250946574176351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142363781,"filename":"image_02112025_20_13_21_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58eeb3612d6a9842238fa94074eef6ea.jpg","text":"TemporaryFile(/tmp/multipartBody939202593397681542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142363781,"filename":"image_02112025_20_13_00_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812558","file1":"1401812557","file0":"1401812556","file4":"1401812560","file5":"1401812562","file3":"1401812559"},"map_files_photo_id_array":[{"photo_id":"1401812562","filename":"file5"},{"photo_id":"1401812558","filename":"file2"},{"photo_id":"1401812560","filename":"file4"},{"photo_id":"1401812557","filename":"file1"},{"photo_id":"1401812556","filename":"file0"},{"photo_id":"1401812559","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812559":["hashtag1","hashtag2"]},{"1401812558":["hashtag1","hashtag2"]},{"1401812557":["hashtag1","hashtag2"]},{"1401812560":["hashtag1","hashtag2"]},{"1401812562":["hashtag1","hashtag2"]},{"1401812556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812559, 1401812558, 1401812557, 1401812560, 1401812562, 1401812556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94116473197937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:52:22.222994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_44_9701.jpg', '/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_54_9943.jpg', '/home/pi/Desktop/images/31122025/01/43/image_31122025_01_44_04_9697.jpg', '/home/pi/Desktop/images/31122025/01/44/image_31122025_01_44_15_10620.jpg', '/home/pi/Desktop/images/31122025/01/44/image_31122025_01_44_44_9838.jpg', '/home/pi/Desktop/images/31122025/01/44/image_31122025_01_44_54_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_44_9701.jpg
/home/pi/Desktop/images/31122025/01/43/image_31122025_01_43_54_9943.jpg
/home/pi/Desktop/images/31122025/01/43/image_31122025_01_44_04_9697.jpg
/home/pi/Desktop/images/31122025/01/44/image_31122025_01_44_15_10620.jpg
/home/pi/Desktop/images/31122025/01/44/image_31122025_01_44_44_9838.jpg
/home/pi/Desktop/images/31122025/01/44/image_31122025_01_44_54_9957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812582","1401812575","1401812584","1401812571","1401812580","1401812577"],"photo_ids_order":["1401812571","1401812575","1401812577","1401812580","1401812582","1401812584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3db2a8ada7e9c6f68df5d4d9ca22e3b8.jpg","text":"TemporaryFile(/tmp/multipartBody3663977665257581107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142402813,"filename":"image_31122025_01_44_44_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b116f1e4445716ee2b4e6657a4c40ca9.jpg","text":"TemporaryFile(/tmp/multipartBody426903402858570233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142402813,"filename":"image_31122025_01_43_54_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdb49a02dd6a567912a4cd28377ec33d.jpg","text":"TemporaryFile(/tmp/multipartBody1232911518358929720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142402813,"filename":"image_31122025_01_44_54_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba3059e858e07681df0d44af33b7204a.jpg","text":"TemporaryFile(/tmp/multipartBody4218549385373250872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142402813,"filename":"image_31122025_01_43_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1f2c199d59fb02867ee61af114e8b03.jpg","text":"TemporaryFile(/tmp/multipartBody9201504770215076359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142402813,"filename":"image_31122025_01_44_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/817e46479736c8a974e2ac4d5b3b74a6.jpg","text":"TemporaryFile(/tmp/multipartBody8125269632747990800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142402813,"filename":"image_31122025_01_44_04_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812577","file1":"1401812575","file0":"1401812571","file4":"1401812582","file5":"1401812584","file3":"1401812580"},"map_files_photo_id_array":[{"photo_id":"1401812584","filename":"file5"},{"photo_id":"1401812577","filename":"file2"},{"photo_id":"1401812582","filename":"file4"},{"photo_id":"1401812575","filename":"file1"},{"photo_id":"1401812571","filename":"file0"},{"photo_id":"1401812580","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812582":["hashtag1","hashtag2"]},{"1401812575":["hashtag1","hashtag2"]},{"1401812584":["hashtag1","hashtag2"]},{"1401812571":["hashtag1","hashtag2"]},{"1401812580":["hashtag1","hashtag2"]},{"1401812577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812582, 1401812575, 1401812584, 1401812571, 1401812580, 1401812577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.707730531692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:53:02.928955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/44/image_31122025_01_45_04_10760.jpg', '/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_14_9649.jpg', '/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_24_9836.jpg', '/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_34_9791.jpg', '/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_44_10727.jpg', '/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_55_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/44/image_31122025_01_45_04_10760.jpg
/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_14_9649.jpg
/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_24_9836.jpg
/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_34_9791.jpg
/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_44_10727.jpg
/home/pi/Desktop/images/31122025/01/45/image_31122025_01_45_55_10030.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812607","1401812601","1401812603","1401812599","1401812605","1401812595"],"photo_ids_order":["1401812595","1401812599","1401812601","1401812603","1401812605","1401812607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c91c5a435427fdf64a9b9875704d7ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1308993105214573911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142443608,"filename":"image_31122025_01_45_55_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ad5de617681645659a9cf87fbf48ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6782506892836733396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142443608,"filename":"image_31122025_01_45_24_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9d855ea7c6c0099068f894748836b55.jpg","text":"TemporaryFile(/tmp/multipartBody8039075621272457184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142443608,"filename":"image_31122025_01_45_34_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6297145eb509e63d169c0ca17213f562.jpg","text":"TemporaryFile(/tmp/multipartBody2960028499827916364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142443608,"filename":"image_31122025_01_45_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fd9a004c9057decc6933dc9657259ba.jpg","text":"TemporaryFile(/tmp/multipartBody3722821384456317026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142443608,"filename":"image_31122025_01_45_44_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30468c104c54491607d5c1a231ac211e.jpg","text":"TemporaryFile(/tmp/multipartBody6721042276212490660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142443608,"filename":"image_31122025_01_45_04_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812601","file1":"1401812599","file0":"1401812595","file4":"1401812605","file5":"1401812607","file3":"1401812603"},"map_files_photo_id_array":[{"photo_id":"1401812607","filename":"file5"},{"photo_id":"1401812601","filename":"file2"},{"photo_id":"1401812605","filename":"file4"},{"photo_id":"1401812599","filename":"file1"},{"photo_id":"1401812595","filename":"file0"},{"photo_id":"1401812603","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812607":["hashtag1","hashtag2"]},{"1401812601":["hashtag1","hashtag2"]},{"1401812603":["hashtag1","hashtag2"]},{"1401812599":["hashtag1","hashtag2"]},{"1401812605":["hashtag1","hashtag2"]},{"1401812595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812607, 1401812601, 1401812603, 1401812599, 1401812605, 1401812595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.324010610580444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:53:42.532235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_27_2756.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_30_3633.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_36_2603.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_39_3793.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_45_2658.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_48_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_27_2756.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_30_3633.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_36_2603.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_39_3793.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_45_2658.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_48_3584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812622","1401812628","1401812630","1401812618","1401812626","1401812629"],"photo_ids_order":["1401812618","1401812622","1401812626","1401812628","1401812629","1401812630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/858655ed1e71d811dc516e463069d3de.jpg","text":"TemporaryFile(/tmp/multipartBody6657348316397930221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142484471,"filename":"image_02112025_20_13_30_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30adaef7bd268ed1138f5e5d43875335.jpg","text":"TemporaryFile(/tmp/multipartBody7028951551509621193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142484471,"filename":"image_02112025_20_13_39_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08d2a0bd3876f7535c40bf90b7bd269f.jpg","text":"TemporaryFile(/tmp/multipartBody5071456506588434767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142484471,"filename":"image_02112025_20_13_48_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f40eb6d28ba50771eeb42d34a3070e9f.jpg","text":"TemporaryFile(/tmp/multipartBody3233095404422406422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142484471,"filename":"image_02112025_20_13_27_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0464aff1a6a8ec4530e6bbbfeba8c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8714761904382212697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142484471,"filename":"image_02112025_20_13_36_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63eb1041fe236156eea90d7e3ec39090.jpg","text":"TemporaryFile(/tmp/multipartBody1850885192084438428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142484471,"filename":"image_02112025_20_13_45_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812626","file1":"1401812622","file0":"1401812618","file4":"1401812629","file5":"1401812630","file3":"1401812628"},"map_files_photo_id_array":[{"photo_id":"1401812630","filename":"file5"},{"photo_id":"1401812626","filename":"file2"},{"photo_id":"1401812629","filename":"file4"},{"photo_id":"1401812622","filename":"file1"},{"photo_id":"1401812618","filename":"file0"},{"photo_id":"1401812628","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812622":["hashtag1","hashtag2"]},{"1401812628":["hashtag1","hashtag2"]},{"1401812630":["hashtag1","hashtag2"]},{"1401812618":["hashtag1","hashtag2"]},{"1401812626":["hashtag1","hashtag2"]},{"1401812629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812622, 1401812628, 1401812630, 1401812618, 1401812626, 1401812629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.419140338897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:54:22.720632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/45/image_31122025_01_46_04_9862.jpg', '/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_14_9682.jpg', '/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_24_10117.jpg', '/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_34_9773.jpg', '/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_45_10660.jpg', '/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_55_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/45/image_31122025_01_46_04_9862.jpg
/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_14_9682.jpg
/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_24_10117.jpg
/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_34_9773.jpg
/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_45_10660.jpg
/home/pi/Desktop/images/31122025/01/46/image_31122025_01_46_55_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812637","1401812651","1401812645","1401812657","1401812655","1401812640"],"photo_ids_order":["1401812637","1401812640","1401812645","1401812651","1401812655","1401812657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81dbfdb7176a940d8011140bae8923bf.jpg","text":"TemporaryFile(/tmp/multipartBody947848986434254672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142523336,"filename":"image_31122025_01_46_04_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3cded1ba78f6d06beb261c5bed35ece.jpg","text":"TemporaryFile(/tmp/multipartBody6597080316200276917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142523336,"filename":"image_31122025_01_46_34_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4872f7db380e61e604648433adb53cb1.jpg","text":"TemporaryFile(/tmp/multipartBody5316132306249045398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142523336,"filename":"image_31122025_01_46_24_10117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe9ef759b55939061eb9f193caff1131.jpg","text":"TemporaryFile(/tmp/multipartBody2851236937390717501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142523336,"filename":"image_31122025_01_46_55_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bb8a80c234afc69a8363be55f6e2f98.jpg","text":"TemporaryFile(/tmp/multipartBody6252413576860059646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142523336,"filename":"image_31122025_01_46_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0982d395f533988c674f81071e92903.jpg","text":"TemporaryFile(/tmp/multipartBody4533458758580487651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142523336,"filename":"image_31122025_01_46_14_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812645","file1":"1401812640","file0":"1401812637","file4":"1401812655","file5":"1401812657","file3":"1401812651"},"map_files_photo_id_array":[{"photo_id":"1401812657","filename":"file5"},{"photo_id":"1401812645","filename":"file2"},{"photo_id":"1401812655","filename":"file4"},{"photo_id":"1401812640","filename":"file1"},{"photo_id":"1401812637","filename":"file0"},{"photo_id":"1401812651","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812637":["hashtag1","hashtag2"]},{"1401812651":["hashtag1","hashtag2"]},{"1401812645":["hashtag1","hashtag2"]},{"1401812657":["hashtag1","hashtag2"]},{"1401812655":["hashtag1","hashtag2"]},{"1401812640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812637, 1401812651, 1401812645, 1401812657, 1401812655, 1401812640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68868446350098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:55:02.516961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/46/image_31122025_01_47_04_9717.jpg', '/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_14_9633.jpg', '/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_25_10628.jpg', '/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_34_9649.jpg', '/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_44_9752.jpg', '/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_55_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/46/image_31122025_01_47_04_9717.jpg
/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_14_9633.jpg
/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_25_10628.jpg
/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_34_9649.jpg
/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_44_9752.jpg
/home/pi/Desktop/images/31122025/01/47/image_31122025_01_47_55_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812664","1401812666","1401812675","1401812671","1401812679","1401812682"],"photo_ids_order":["1401812664","1401812666","1401812671","1401812675","1401812679","1401812682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39d1baf37f32150f075ee0c2cc3ebe9a.jpg","text":"TemporaryFile(/tmp/multipartBody5756705773017360080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142563179,"filename":"image_31122025_01_47_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea2f6ad6cdfd406e0a818af2460f809b.jpg","text":"TemporaryFile(/tmp/multipartBody2351846438906450259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142563179,"filename":"image_31122025_01_47_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a707de77ea91fbf4ba552184104c2274.jpg","text":"TemporaryFile(/tmp/multipartBody1400877906408628510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142563179,"filename":"image_31122025_01_47_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/919732db978f128c61133d152b90139f.jpg","text":"TemporaryFile(/tmp/multipartBody2759077519471863485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142563179,"filename":"image_31122025_01_47_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f1b5ad659bfb60880654571c8195ced.jpg","text":"TemporaryFile(/tmp/multipartBody5750942682006730614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142563179,"filename":"image_31122025_01_47_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59d1b713e620f4ed81abe1ec504af71d.jpg","text":"TemporaryFile(/tmp/multipartBody7024697738923165127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142563179,"filename":"image_31122025_01_47_55_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812671","file1":"1401812666","file0":"1401812664","file4":"1401812679","file5":"1401812682","file3":"1401812675"},"map_files_photo_id_array":[{"photo_id":"1401812682","filename":"file5"},{"photo_id":"1401812671","filename":"file2"},{"photo_id":"1401812679","filename":"file4"},{"photo_id":"1401812666","filename":"file1"},{"photo_id":"1401812664","filename":"file0"},{"photo_id":"1401812675","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812664":["hashtag1","hashtag2"]},{"1401812666":["hashtag1","hashtag2"]},{"1401812675":["hashtag1","hashtag2"]},{"1401812671":["hashtag1","hashtag2"]},{"1401812679":["hashtag1","hashtag2"]},{"1401812682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812664, 1401812666, 1401812675, 1401812671, 1401812679, 1401812682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.299017667770386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:55:41.877361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_51_2719.jpg', '/home/pi/Desktop/images/02112025/20/13/image_02112025_20_14_00_2754.jpg', '/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_12_2616.jpg', '/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_14_2600.jpg', '/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_21_2825.jpg', '/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_30_2869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_13_51_2719.jpg
/home/pi/Desktop/images/02112025/20/13/image_02112025_20_14_00_2754.jpg
/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_12_2616.jpg
/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_14_2600.jpg
/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_21_2825.jpg
/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_30_2869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812696","1401812687","1401812689","1401812698","1401812691","1401812694"],"photo_ids_order":["1401812687","1401812689","1401812691","1401812694","1401812696","1401812698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/555c99163b60632b6983fd83929b367a.jpg","text":"TemporaryFile(/tmp/multipartBody7904498467082202195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142603762,"filename":"image_02112025_20_14_21_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dda7e88cd2b22075492a81caa967618.jpg","text":"TemporaryFile(/tmp/multipartBody9059556548692869751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142603762,"filename":"image_02112025_20_13_51_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/435c2c56c55bf3a46bd149a9b6ee2ce8.jpg","text":"TemporaryFile(/tmp/multipartBody3709360425950112915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142603762,"filename":"image_02112025_20_14_00_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/383ee905b4a3793c49646b14b87ae521.jpg","text":"TemporaryFile(/tmp/multipartBody7889360091560993070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142603762,"filename":"image_02112025_20_14_30_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b29b2bab013cb53d3d04e5d8cc1b654.jpg","text":"TemporaryFile(/tmp/multipartBody2371668569641702867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142603762,"filename":"image_02112025_20_14_12_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5840b630ba40df75f38db6d3d146d946.jpg","text":"TemporaryFile(/tmp/multipartBody8665672229715220107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142603762,"filename":"image_02112025_20_14_14_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812691","file1":"1401812689","file0":"1401812687","file4":"1401812696","file5":"1401812698","file3":"1401812694"},"map_files_photo_id_array":[{"photo_id":"1401812698","filename":"file5"},{"photo_id":"1401812691","filename":"file2"},{"photo_id":"1401812696","filename":"file4"},{"photo_id":"1401812689","filename":"file1"},{"photo_id":"1401812687","filename":"file0"},{"photo_id":"1401812694","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812696":["hashtag1","hashtag2"]},{"1401812687":["hashtag1","hashtag2"]},{"1401812689":["hashtag1","hashtag2"]},{"1401812698":["hashtag1","hashtag2"]},{"1401812691":["hashtag1","hashtag2"]},{"1401812694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812696, 1401812687, 1401812689, 1401812698, 1401812691, 1401812694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84730005264282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 01:56:22.094157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/47/image_31122025_01_48_05_9838.jpg', '/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_14_9830.jpg', '/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_24_9772.jpg', '/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_34_9653.jpg', '/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_44_10595.jpg', '/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/47/image_31122025_01_48_05_9838.jpg
/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_14_9830.jpg
/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_24_9772.jpg
/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_34_9653.jpg
/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_44_10595.jpg
/home/pi/Desktop/images/31122025/01/48/image_31122025_01_48_54_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812715","1401812730","1401812724","1401812706","1401812708","1401812705"],"photo_ids_order":["1401812705","1401812706","1401812708","1401812715","1401812724","1401812730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a62a620e914b18de77b6b7cb0c52e73.jpg","text":"TemporaryFile(/tmp/multipartBody4298450407722531715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142642675,"filename":"image_31122025_01_48_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1842e949695395e6d61faa08b8aaa382.jpg","text":"TemporaryFile(/tmp/multipartBody6117081191411166246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142642675,"filename":"image_31122025_01_48_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b52426b96cd698f8b1847b85d8cfe0b.jpg","text":"TemporaryFile(/tmp/multipartBody1818379404959321021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142642675,"filename":"image_31122025_01_48_44_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b70b11e735415c11b6ea328ed12b657.jpg","text":"TemporaryFile(/tmp/multipartBody9204688680435627867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142642675,"filename":"image_31122025_01_48_14_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a9e19203d616b864a436dbacd98906e.jpg","text":"TemporaryFile(/tmp/multipartBody3305987702107880949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142642675,"filename":"image_31122025_01_48_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fe8eb5b7384f5218e8f4ffac7e27ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3657180181147465694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142642675,"filename":"image_31122025_01_48_05_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812708","file1":"1401812706","file0":"1401812705","file4":"1401812724","file5":"1401812730","file3":"1401812715"},"map_files_photo_id_array":[{"photo_id":"1401812730","filename":"file5"},{"photo_id":"1401812708","filename":"file2"},{"photo_id":"1401812724","filename":"file4"},{"photo_id":"1401812706","filename":"file1"},{"photo_id":"1401812705","filename":"file0"},{"photo_id":"1401812715","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812715":["hashtag1","hashtag2"]},{"1401812730":["hashtag1","hashtag2"]},{"1401812724":["hashtag1","hashtag2"]},{"1401812706":["hashtag1","hashtag2"]},{"1401812708":["hashtag1","hashtag2"]},{"1401812705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812715, 1401812730, 1401812724, 1401812706, 1401812708, 1401812705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22395873069763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:57:02.917147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/48/image_31122025_01_49_05_10603.jpg', '/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_14_9852.jpg', '/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_24_9635.jpg', '/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_34_9645.jpg', '/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_44_10596.jpg', '/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_54_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/48/image_31122025_01_49_05_10603.jpg
/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_14_9852.jpg
/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_24_9635.jpg
/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_34_9645.jpg
/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_44_10596.jpg
/home/pi/Desktop/images/31122025/01/49/image_31122025_01_49_54_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812745","1401812738","1401812755","1401812743","1401812752","1401812748"],"photo_ids_order":["1401812738","1401812743","1401812745","1401812748","1401812752","1401812755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d10ec2d285e7df2b11bf7a42c67792f.jpg","text":"TemporaryFile(/tmp/multipartBody8351275261804033848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142683640,"filename":"image_31122025_01_49_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fcd09e14ef2f30d5005d8a851987921a.jpg","text":"TemporaryFile(/tmp/multipartBody4974917443947785607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142683640,"filename":"image_31122025_01_49_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f2693b139bce1fca4fd13e02d8d574f.jpg","text":"TemporaryFile(/tmp/multipartBody3815979708201408059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142683640,"filename":"image_31122025_01_49_54_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cc279e2e0150b0bb2656ab02aa4c1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8127758309866494386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142683640,"filename":"image_31122025_01_49_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df525fbf3ff2ddeb590435148d7f5742.jpg","text":"TemporaryFile(/tmp/multipartBody2067683423682990426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142683640,"filename":"image_31122025_01_49_44_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4540652e5989ff52eff16770ee9e0cc.jpg","text":"TemporaryFile(/tmp/multipartBody2370972366313311760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142683640,"filename":"image_31122025_01_49_34_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812745","file1":"1401812743","file0":"1401812738","file4":"1401812752","file5":"1401812755","file3":"1401812748"},"map_files_photo_id_array":[{"photo_id":"1401812755","filename":"file5"},{"photo_id":"1401812745","filename":"file2"},{"photo_id":"1401812752","filename":"file4"},{"photo_id":"1401812743","filename":"file1"},{"photo_id":"1401812738","filename":"file0"},{"photo_id":"1401812748","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812745":["hashtag1","hashtag2"]},{"1401812738":["hashtag1","hashtag2"]},{"1401812755":["hashtag1","hashtag2"]},{"1401812743":["hashtag1","hashtag2"]},{"1401812752":["hashtag1","hashtag2"]},{"1401812748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812745, 1401812738, 1401812755, 1401812743, 1401812752, 1401812748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66800141334534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 01:57:42.223025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_42_2985.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_03_2804.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_06_2681.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_09_2897.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_21_2754.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_23_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/14/image_02112025_20_14_42_2985.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_03_2804.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_06_2681.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_09_2897.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_21_2754.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_23_2679.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812762","1401812765","1401812774","1401812767","1401812764","1401812769"],"photo_ids_order":["1401812762","1401812764","1401812765","1401812767","1401812769","1401812774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1b84596f7aa07e5b8bfac113f64d190.jpg","text":"TemporaryFile(/tmp/multipartBody6211362218872535191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142723995,"filename":"image_02112025_20_14_42_2985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6098b3b5c7f07e9c519929199f6a7ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2399256243781167208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142723995,"filename":"image_02112025_20_15_06_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e382cd62d1b27b30d071dc0e8e353bb.jpg","text":"TemporaryFile(/tmp/multipartBody7484914325726685828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142723995,"filename":"image_02112025_20_15_23_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/392cc15c60001ed73257de7869383cbf.jpg","text":"TemporaryFile(/tmp/multipartBody7927858595160839191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142723995,"filename":"image_02112025_20_15_09_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69d28004b9bf80b665ae0e44b547c74c.jpg","text":"TemporaryFile(/tmp/multipartBody6490239641075091287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142723995,"filename":"image_02112025_20_15_03_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a5a96ffde983548834a528133e261a3.jpg","text":"TemporaryFile(/tmp/multipartBody1195522337968875150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142723995,"filename":"image_02112025_20_15_21_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812765","file1":"1401812764","file0":"1401812762","file4":"1401812769","file5":"1401812774","file3":"1401812767"},"map_files_photo_id_array":[{"photo_id":"1401812774","filename":"file5"},{"photo_id":"1401812765","filename":"file2"},{"photo_id":"1401812769","filename":"file4"},{"photo_id":"1401812764","filename":"file1"},{"photo_id":"1401812762","filename":"file0"},{"photo_id":"1401812767","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401812762":["hashtag1","hashtag2"]},{"1401812765":["hashtag1","hashtag2"]},{"1401812774":["hashtag1","hashtag2"]},{"1401812767":["hashtag1","hashtag2"]},{"1401812764":["hashtag1","hashtag2"]},{"1401812769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401812762, 1401812765, 1401812774, 1401812767, 1401812764, 1401812769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97252368927002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 01:59:03.571860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/49/image_31122025_01_50_04_9886.jpg', '/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_14_9765.jpg', '/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_24_9939.jpg', '/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_34_10550.jpg', '/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_44_9788.jpg', '/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_54_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/49/image_31122025_01_50_04_9886.jpg
/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_14_9765.jpg
/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_24_9939.jpg
/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_34_10550.jpg
/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_44_9788.jpg
/home/pi/Desktop/images/31122025/01/50/image_31122025_01_50_54_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812795","1401812783","1401812791","1401812803","1401812800","1401812787"],"photo_ids_order":["1401812783","1401812787","1401812791","1401812795","1401812800","1401812803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c03891425ebeadb81998a325356636d1.jpg","text":"TemporaryFile(/tmp/multipartBody4860422801941982550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142804256,"filename":"image_31122025_01_50_34_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed411b3e7242e6b21d9cc8a9b450df8f.jpg","text":"TemporaryFile(/tmp/multipartBody4988201380268721486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142804256,"filename":"image_31122025_01_50_04_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fed2de6d9b43aae914909688aef1abfc.jpg","text":"TemporaryFile(/tmp/multipartBody8431663822778224817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142804256,"filename":"image_31122025_01_50_24_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/686ccbb8f46b32d275ca57169e6cd176.jpg","text":"TemporaryFile(/tmp/multipartBody3718204748397247916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142804256,"filename":"image_31122025_01_50_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d57abb9143450c7e55c93a79c09f41e4.jpg","text":"TemporaryFile(/tmp/multipartBody6293498256673237567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142804256,"filename":"image_31122025_01_50_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14d4e5295ea56ca734b22bd03fd183be.jpg","text":"TemporaryFile(/tmp/multipartBody2315925789342261148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142804256,"filename":"image_31122025_01_50_14_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812791","file1":"1401812787","file0":"1401812783","file4":"1401812800","file5":"1401812803","file3":"1401812795"},"map_files_photo_id_array":[{"photo_id":"1401812803","filename":"file5"},{"photo_id":"1401812791","filename":"file2"},{"photo_id":"1401812800","filename":"file4"},{"photo_id":"1401812787","filename":"file1"},{"photo_id":"1401812783","filename":"file0"},{"photo_id":"1401812795","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812795":["hashtag1","hashtag2"]},{"1401812783":["hashtag1","hashtag2"]},{"1401812791":["hashtag1","hashtag2"]},{"1401812803":["hashtag1","hashtag2"]},{"1401812800":["hashtag1","hashtag2"]},{"1401812787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812795, 1401812783, 1401812791, 1401812803, 1401812800, 1401812787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.863670349121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:00:02.363967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/50/image_31122025_01_51_04_10331.jpg', '/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_14_9814.jpg', '/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_24_9781.jpg', '/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_38_14041.jpg', '/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_44_6634.jpg', '/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_54_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/50/image_31122025_01_51_04_10331.jpg
/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_14_9814.jpg
/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_24_9781.jpg
/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_38_14041.jpg
/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_44_6634.jpg
/home/pi/Desktop/images/31122025/01/51/image_31122025_01_51_54_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401812957","1401812879","1401812915","1401812810","1401812836","1401812991"],"photo_ids_order":["1401812810","1401812836","1401812879","1401812915","1401812957","1401812991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66dacdcb710fec4f0063f2ad080d81fe.jpg","text":"TemporaryFile(/tmp/multipartBody269200911364515495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142862992,"filename":"image_31122025_01_51_44_6634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5576f4868ddf18a8593289cc5d7f9a49.jpg","text":"TemporaryFile(/tmp/multipartBody4331420960957090563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142862992,"filename":"image_31122025_01_51_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10a9d6bbdf4565020315a12e4b9ca0aa.jpg","text":"TemporaryFile(/tmp/multipartBody234825242195237383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142862992,"filename":"image_31122025_01_51_38_14041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ce0d30c654cc7cf54aeaa4a43e0861e.jpg","text":"TemporaryFile(/tmp/multipartBody4743604493043363849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142862992,"filename":"image_31122025_01_51_04_10331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7854a94460ddca318103e73ecd5682a3.jpg","text":"TemporaryFile(/tmp/multipartBody3552218833102699569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142862992,"filename":"image_31122025_01_51_14_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4a3bce0842b124226d376e33f2622b4.jpg","text":"TemporaryFile(/tmp/multipartBody4338805752168861863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142862992,"filename":"image_31122025_01_51_54_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401812879","file1":"1401812836","file0":"1401812810","file4":"1401812957","file5":"1401812991","file3":"1401812915"},"map_files_photo_id_array":[{"photo_id":"1401812991","filename":"file5"},{"photo_id":"1401812879","filename":"file2"},{"photo_id":"1401812957","filename":"file4"},{"photo_id":"1401812836","filename":"file1"},{"photo_id":"1401812810","filename":"file0"},{"photo_id":"1401812915","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401812957":["hashtag1","hashtag2"]},{"1401812879":["hashtag1","hashtag2"]},{"1401812915":["hashtag1","hashtag2"]},{"1401812810":["hashtag1","hashtag2"]},{"1401812836":["hashtag1","hashtag2"]},{"1401812991":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401812957, 1401812879, 1401812915, 1401812810, 1401812836, 1401812991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.4089629650116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:01:02.669413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/51/image_31122025_01_52_04_10163.jpg', '/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_14_9817.jpg', '/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_24_9886.jpg', '/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_34_9876.jpg', '/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_44_9882.jpg', '/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_54_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/51/image_31122025_01_52_04_10163.jpg
/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_14_9817.jpg
/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_24_9886.jpg
/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_34_9876.jpg
/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_44_9882.jpg
/home/pi/Desktop/images/31122025/01/52/image_31122025_01_52_54_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401813611","1401813326","1401813541","1401813399","1401813474","1401813261"],"photo_ids_order":["1401813261","1401813326","1401813399","1401813474","1401813541","1401813611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a71208950f304411a07d1807d187b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5788376453122960724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142923333,"filename":"image_31122025_01_52_54_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adc12a46ecd9de4cfd6eea0e2984ff27.jpg","text":"TemporaryFile(/tmp/multipartBody1384995017646099819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142923333,"filename":"image_31122025_01_52_14_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17f9744c0b6816fa4bd5cda62d013111.jpg","text":"TemporaryFile(/tmp/multipartBody3124779032872150446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142923333,"filename":"image_31122025_01_52_44_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b9b9d3e640f986a3eaff34dc6737e7a.jpg","text":"TemporaryFile(/tmp/multipartBody4313004219026886270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142923333,"filename":"image_31122025_01_52_24_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a954183f587921aad0e1f86742376aba.jpg","text":"TemporaryFile(/tmp/multipartBody8731683762632896382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142923333,"filename":"image_31122025_01_52_34_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a625fa17ffb7a75c27f194c225ee3f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3274985491617564061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142923333,"filename":"image_31122025_01_52_04_10163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401813399","file1":"1401813326","file0":"1401813261","file4":"1401813541","file5":"1401813611","file3":"1401813474"},"map_files_photo_id_array":[{"photo_id":"1401813611","filename":"file5"},{"photo_id":"1401813399","filename":"file2"},{"photo_id":"1401813541","filename":"file4"},{"photo_id":"1401813326","filename":"file1"},{"photo_id":"1401813261","filename":"file0"},{"photo_id":"1401813474","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401813611":["hashtag1","hashtag2"]},{"1401813326":["hashtag1","hashtag2"]},{"1401813541":["hashtag1","hashtag2"]},{"1401813399":["hashtag1","hashtag2"]},{"1401813474":["hashtag1","hashtag2"]},{"1401813261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401813611, 1401813326, 1401813541, 1401813399, 1401813474, 1401813261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13810729980469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:01:42.029236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_32_2586.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_36_3732.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_39_2557.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_48_2600.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_51_3604.jpg', '/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_54_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_32_2586.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_36_3732.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_39_2557.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_48_2600.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_51_3604.jpg
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_15_54_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401814232","1401814019","1401813878","1401814170","1401814089","1401813951"],"photo_ids_order":["1401813878","1401813951","1401814019","1401814089","1401814170","1401814232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5d0607179f2848f79c4ce45ab5fdbd0.jpg","text":"TemporaryFile(/tmp/multipartBody5285820205783966544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142963971,"filename":"image_02112025_20_15_54_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25116e0997ac8bfebe5e84419300d09e.jpg","text":"TemporaryFile(/tmp/multipartBody1171997432340128362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142963971,"filename":"image_02112025_20_15_39_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/368eeb03086173ad9ab31547cd6e1905.jpg","text":"TemporaryFile(/tmp/multipartBody3619374937446663744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142963971,"filename":"image_02112025_20_15_32_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69db966d48742c81f38822901bf8013b.jpg","text":"TemporaryFile(/tmp/multipartBody6648521863415869465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142963971,"filename":"image_02112025_20_15_51_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/161c9232af465627bf820bff26fc2866.jpg","text":"TemporaryFile(/tmp/multipartBody8633013411094743925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142963971,"filename":"image_02112025_20_15_48_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13d60883da74d5cb29fd6cc3be3ace23.jpg","text":"TemporaryFile(/tmp/multipartBody486766594105099874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767142963971,"filename":"image_02112025_20_15_36_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401814019","file1":"1401813951","file0":"1401813878","file4":"1401814170","file5":"1401814232","file3":"1401814089"},"map_files_photo_id_array":[{"photo_id":"1401814232","filename":"file5"},{"photo_id":"1401814019","filename":"file2"},{"photo_id":"1401814170","filename":"file4"},{"photo_id":"1401813951","filename":"file1"},{"photo_id":"1401813878","filename":"file0"},{"photo_id":"1401814089","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401814232":["hashtag1","hashtag2"]},{"1401814019":["hashtag1","hashtag2"]},{"1401813878":["hashtag1","hashtag2"]},{"1401814170":["hashtag1","hashtag2"]},{"1401814089":["hashtag1","hashtag2"]},{"1401813951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401814232, 1401814019, 1401813878, 1401814170, 1401814089, 1401813951)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.86333107948303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:02:32.259731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/15/image_02112025_20_16_00_3742.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_09_3539.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_12_2642.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_14_2716.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_18_3727.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_26_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/15/image_02112025_20_16_00_3742.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_09_3539.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_12_2642.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_14_2716.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_18_3727.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_26_2839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401814622","1401814727","1401814514","1401814936","1401814830","1401814976"],"photo_ids_order":["1401814514","1401814622","1401814727","1401814830","1401814936","1401814976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e710a5c7404f34153e22067e9c9afa74.jpg","text":"TemporaryFile(/tmp/multipartBody6754108494699243878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143014162,"filename":"image_02112025_20_16_09_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/678e0bf31e84eeed6761686d74c8148c.jpg","text":"TemporaryFile(/tmp/multipartBody2700172543157826760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143014162,"filename":"image_02112025_20_16_12_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8f0a4a5cb587445546d127cbcd5f1c5.jpg","text":"TemporaryFile(/tmp/multipartBody7425660730997632117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143014162,"filename":"image_02112025_20_16_00_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4d7ae582fdbf2b834b83d9dbfaee7b5.jpg","text":"TemporaryFile(/tmp/multipartBody4884906865511710094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143014162,"filename":"image_02112025_20_16_18_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2171e16fbb0e9db355be4c6554c21ebb.jpg","text":"TemporaryFile(/tmp/multipartBody8195687078404575484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143014162,"filename":"image_02112025_20_16_14_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9dd02d7b6c56c109944e6fb335580ad7.jpg","text":"TemporaryFile(/tmp/multipartBody8465963799302013877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143014162,"filename":"image_02112025_20_16_26_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401814727","file1":"1401814622","file0":"1401814514","file4":"1401814936","file5":"1401814976","file3":"1401814830"},"map_files_photo_id_array":[{"photo_id":"1401814976","filename":"file5"},{"photo_id":"1401814727","filename":"file2"},{"photo_id":"1401814936","filename":"file4"},{"photo_id":"1401814622","filename":"file1"},{"photo_id":"1401814514","filename":"file0"},{"photo_id":"1401814830","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401814622":["hashtag1","hashtag2"]},{"1401814727":["hashtag1","hashtag2"]},{"1401814514":["hashtag1","hashtag2"]},{"1401814936":["hashtag1","hashtag2"]},{"1401814830":["hashtag1","hashtag2"]},{"1401814976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401814622, 1401814727, 1401814514, 1401814936, 1401814830, 1401814976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70028328895569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:03:12.424159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_30_3732.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_33_2695.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_35_2662.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_39_3637.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_42_2758.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_45_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_30_3732.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_33_2695.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_35_2662.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_39_3637.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_42_2758.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_45_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401815152","1401815212","1401815355","1401815115","1401815579","1401815492"],"photo_ids_order":["1401815115","1401815152","1401815212","1401815355","1401815492","1401815579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d87d11b227521c2844ca0d1e832ac282.jpg","text":"TemporaryFile(/tmp/multipartBody5924473587104440011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143054218,"filename":"image_02112025_20_16_33_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bce55f8dd2d4472a1da152e1cc437cb.jpg","text":"TemporaryFile(/tmp/multipartBody2028667740151311572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143054218,"filename":"image_02112025_20_16_35_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f7c073357430296a8467f24cf0ebc4c.jpg","text":"TemporaryFile(/tmp/multipartBody7806245537163138331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143054218,"filename":"image_02112025_20_16_39_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/690efc9e33c3cecfd7c134958c6376a6.jpg","text":"TemporaryFile(/tmp/multipartBody3895429249306753901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143054218,"filename":"image_02112025_20_16_30_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66daf4134220c30a45ac9be57d776432.jpg","text":"TemporaryFile(/tmp/multipartBody6960627232419956208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143054218,"filename":"image_02112025_20_16_45_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db54dae47737ed0f96eac17edf6c14f3.jpg","text":"TemporaryFile(/tmp/multipartBody279198393900735265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143054218,"filename":"image_02112025_20_16_42_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401815212","file1":"1401815152","file0":"1401815115","file4":"1401815492","file5":"1401815579","file3":"1401815355"},"map_files_photo_id_array":[{"photo_id":"1401815579","filename":"file5"},{"photo_id":"1401815212","filename":"file2"},{"photo_id":"1401815492","filename":"file4"},{"photo_id":"1401815152","filename":"file1"},{"photo_id":"1401815115","filename":"file0"},{"photo_id":"1401815355","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401815152":["hashtag1","hashtag2"]},{"1401815212":["hashtag1","hashtag2"]},{"1401815355":["hashtag1","hashtag2"]},{"1401815115":["hashtag1","hashtag2"]},{"1401815579":["hashtag1","hashtag2"]},{"1401815492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401815152, 1401815212, 1401815355, 1401815115, 1401815579, 1401815492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70110750198364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:04:03.218422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/52/image_31122025_01_53_04_10683.jpg', '/home/pi/Desktop/images/31122025/01/53/image_31122025_01_53_14_9663.jpg', '/home/pi/Desktop/images/31122025/01/53/image_31122025_01_53_24_9749.jpg', '/home/pi/Desktop/images/31122025/01/53/image_31122025_01_53_34_10642.jpg', '/home/pi/Desktop/images/31122025/01/53/image_31122025_01_53_44_9617.jpg', '/home/pi/Desktop/images/31122025/01/53/image_31122025_01_54_05_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/52/image_31122025_01_53_04_10683.jpg
/home/pi/Desktop/images/31122025/01/53/image_31122025_01_53_14_9663.jpg
/home/pi/Desktop/images/31122025/01/53/image_31122025_01_53_24_9749.jpg
/home/pi/Desktop/images/31122025/01/53/image_31122025_01_53_34_10642.jpg
/home/pi/Desktop/images/31122025/01/53/image_31122025_01_53_44_9617.jpg
/home/pi/Desktop/images/31122025/01/53/image_31122025_01_54_05_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401816192","1401816132","1401816228","1401816293","1401816347","1401816062"],"photo_ids_order":["1401816062","1401816132","1401816192","1401816228","1401816293","1401816347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c211ef19348bb01bf36c3b0a49105b3.jpg","text":"TemporaryFile(/tmp/multipartBody6362284211437613591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143106231,"filename":"image_31122025_01_53_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72886fcd7c8344ee57b90ad494594db3.jpg","text":"TemporaryFile(/tmp/multipartBody2880385838164271946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143106231,"filename":"image_31122025_01_53_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8e44855205e5cd80bd67041da5efdcb.jpg","text":"TemporaryFile(/tmp/multipartBody7413412861855333210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143106231,"filename":"image_31122025_01_53_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b0ad7338eb2a71a84d753f5895408d7.jpg","text":"TemporaryFile(/tmp/multipartBody5214917176756722572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143106231,"filename":"image_31122025_01_53_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/796dd56289a64dbed613881aaa5b51d0.jpg","text":"TemporaryFile(/tmp/multipartBody2930194452763689839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143106231,"filename":"image_31122025_01_54_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/861260d18ceba38b6b50237040896c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1389705744395372737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143106231,"filename":"image_31122025_01_53_04_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401816192","file1":"1401816132","file0":"1401816062","file4":"1401816293","file5":"1401816347","file3":"1401816228"},"map_files_photo_id_array":[{"photo_id":"1401816347","filename":"file5"},{"photo_id":"1401816192","filename":"file2"},{"photo_id":"1401816293","filename":"file4"},{"photo_id":"1401816132","filename":"file1"},{"photo_id":"1401816062","filename":"file0"},{"photo_id":"1401816228","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401816192":["hashtag1","hashtag2"]},{"1401816132":["hashtag1","hashtag2"]},{"1401816228":["hashtag1","hashtag2"]},{"1401816293":["hashtag1","hashtag2"]},{"1401816347":["hashtag1","hashtag2"]},{"1401816062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401816192, 1401816132, 1401816228, 1401816293, 1401816347, 1401816062)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.219889640808105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:05:03.107463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_14_9725.jpg', '/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_24_9723.jpg', '/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_35_10685.jpg', '/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_44_9645.jpg', '/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_54_9642.jpg', '/home/pi/Desktop/images/31122025/01/54/image_31122025_01_55_04_10111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_14_9725.jpg
/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_24_9723.jpg
/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_35_10685.jpg
/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_44_9645.jpg
/home/pi/Desktop/images/31122025/01/54/image_31122025_01_54_54_9642.jpg
/home/pi/Desktop/images/31122025/01/54/image_31122025_01_55_04_10111.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401816684","1401816759","1401816588","1401816573","1401816624","1401816571"],"photo_ids_order":["1401816571","1401816573","1401816588","1401816624","1401816684","1401816759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc85c53691f7f1c5245dcca05b5ae691.jpg","text":"TemporaryFile(/tmp/multipartBody4025047013990770276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143163781,"filename":"image_31122025_01_54_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c905f77a871d82c27ccf072a5de50b82.jpg","text":"TemporaryFile(/tmp/multipartBody2189338689840446643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143163781,"filename":"image_31122025_01_55_04_10111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b0340195fdf002c6009b1ac2bbb57ab.jpg","text":"TemporaryFile(/tmp/multipartBody7671774120932050573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143163781,"filename":"image_31122025_01_54_35_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01c73ad31512ae7d97f47cde3dc85fd6.jpg","text":"TemporaryFile(/tmp/multipartBody3521597775966433311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143163781,"filename":"image_31122025_01_54_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db7d0b0f637e607b3af0b9aa3f2a14fa.jpg","text":"TemporaryFile(/tmp/multipartBody4755328625976258969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143163781,"filename":"image_31122025_01_54_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/934a8511e758866dab7311c04e768965.jpg","text":"TemporaryFile(/tmp/multipartBody4109088667110321277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143163781,"filename":"image_31122025_01_54_14_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401816588","file1":"1401816573","file0":"1401816571","file4":"1401816684","file5":"1401816759","file3":"1401816624"},"map_files_photo_id_array":[{"photo_id":"1401816759","filename":"file5"},{"photo_id":"1401816588","filename":"file2"},{"photo_id":"1401816684","filename":"file4"},{"photo_id":"1401816573","filename":"file1"},{"photo_id":"1401816571","filename":"file0"},{"photo_id":"1401816624","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401816684":["hashtag1","hashtag2"]},{"1401816759":["hashtag1","hashtag2"]},{"1401816588":["hashtag1","hashtag2"]},{"1401816573":["hashtag1","hashtag2"]},{"1401816624":["hashtag1","hashtag2"]},{"1401816571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401816684, 1401816759, 1401816588, 1401816573, 1401816624, 1401816571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28128790855408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:05:42.394402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_51_6521.jpg', '/home/pi/Desktop/images/02112025/20/16/image_02112025_20_17_00_1616.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_04_1763.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_05_1674.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_09_3784.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_12_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_16_51_6521.jpg
/home/pi/Desktop/images/02112025/20/16/image_02112025_20_17_00_1616.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_04_1763.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_05_1674.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_09_3784.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_12_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817161","1401817140","1401816975","1401817163","1401817088","1401817037"],"photo_ids_order":["1401816975","1401817037","1401817088","1401817140","1401817161","1401817163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2a140f77478894e8249c5c3d879a952.jpg","text":"TemporaryFile(/tmp/multipartBody3998396713077718613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143204176,"filename":"image_02112025_20_17_09_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2906c4e6ab71e22965850687c1af702f.jpg","text":"TemporaryFile(/tmp/multipartBody8764422940852030688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143204176,"filename":"image_02112025_20_17_05_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e671c2495b4e023eb6b00d105b5aaea.jpg","text":"TemporaryFile(/tmp/multipartBody5480193346895498784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143204176,"filename":"image_02112025_20_16_51_6521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aea07e51d3900c605665ba4fcc23d485.jpg","text":"TemporaryFile(/tmp/multipartBody260636579413063914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143204176,"filename":"image_02112025_20_17_12_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0549e7fa738276fced077c3ab0f12644.jpg","text":"TemporaryFile(/tmp/multipartBody5628990295091880904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143204176,"filename":"image_02112025_20_17_04_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7168334544ebf9d50ac7831c1ea6088f.jpg","text":"TemporaryFile(/tmp/multipartBody8288282425843613651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143204176,"filename":"image_02112025_20_17_00_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817088","file1":"1401817037","file0":"1401816975","file4":"1401817161","file5":"1401817163","file3":"1401817140"},"map_files_photo_id_array":[{"photo_id":"1401817163","filename":"file5"},{"photo_id":"1401817088","filename":"file2"},{"photo_id":"1401817161","filename":"file4"},{"photo_id":"1401817037","filename":"file1"},{"photo_id":"1401816975","filename":"file0"},{"photo_id":"1401817140","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817161":["hashtag1","hashtag2"]},{"1401817140":["hashtag1","hashtag2"]},{"1401816975":["hashtag1","hashtag2"]},{"1401817163":["hashtag1","hashtag2"]},{"1401817088":["hashtag1","hashtag2"]},{"1401817037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817161, 1401817140, 1401816975, 1401817163, 1401817088, 1401817037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30519151687622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:06:22.643459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/55/image_31122025_01_55_14_9907.jpg', '/home/pi/Desktop/images/31122025/01/55/image_31122025_01_55_25_10574.jpg', '/home/pi/Desktop/images/31122025/01/55/image_31122025_01_55_34_9671.jpg', '/home/pi/Desktop/images/31122025/01/55/image_31122025_01_56_04_9751.jpg', '/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_14_9949.jpg', '/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_24_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/55/image_31122025_01_55_14_9907.jpg
/home/pi/Desktop/images/31122025/01/55/image_31122025_01_55_25_10574.jpg
/home/pi/Desktop/images/31122025/01/55/image_31122025_01_55_34_9671.jpg
/home/pi/Desktop/images/31122025/01/55/image_31122025_01_56_04_9751.jpg
/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_14_9949.jpg
/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_24_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817278","1401817170","1401817310","1401817198","1401817316","1401817237"],"photo_ids_order":["1401817170","1401817198","1401817237","1401817278","1401817310","1401817316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2edcb6f68913cde97ceb2edc48ed4408.jpg","text":"TemporaryFile(/tmp/multipartBody4282302844772147888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143243236,"filename":"image_31122025_01_56_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/982e1a793f48f9a986b26ed7b8f8e511.jpg","text":"TemporaryFile(/tmp/multipartBody2125026654711465599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143243236,"filename":"image_31122025_01_55_14_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b19e58e1286ed523d5c38ce164df1e5.jpg","text":"TemporaryFile(/tmp/multipartBody3647678974062546762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143243236,"filename":"image_31122025_01_56_14_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d73833158528aa7b40a802cc6458517.jpg","text":"TemporaryFile(/tmp/multipartBody2978052278940397323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143243236,"filename":"image_31122025_01_55_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/587ae9ae69adc7c37eedac38be177cca.jpg","text":"TemporaryFile(/tmp/multipartBody5396765965652752924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143243236,"filename":"image_31122025_01_56_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd6c191b0d3597f9554eaf5470c0d0bf.jpg","text":"TemporaryFile(/tmp/multipartBody8566097225943019447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143243236,"filename":"image_31122025_01_55_34_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817237","file1":"1401817198","file0":"1401817170","file4":"1401817310","file5":"1401817316","file3":"1401817278"},"map_files_photo_id_array":[{"photo_id":"1401817316","filename":"file5"},{"photo_id":"1401817237","filename":"file2"},{"photo_id":"1401817310","filename":"file4"},{"photo_id":"1401817198","filename":"file1"},{"photo_id":"1401817170","filename":"file0"},{"photo_id":"1401817278","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817278":["hashtag1","hashtag2"]},{"1401817170":["hashtag1","hashtag2"]},{"1401817310":["hashtag1","hashtag2"]},{"1401817198":["hashtag1","hashtag2"]},{"1401817316":["hashtag1","hashtag2"]},{"1401817237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817278, 1401817170, 1401817310, 1401817198, 1401817316, 1401817237)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.87777853012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:07:13.460304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_17_2690.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_26_2614.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_30_3690.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_35_2681.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_38_2940.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_44_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_17_2690.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_26_2614.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_30_3690.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_35_2681.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_38_2940.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_44_2621.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8671038150787354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:07:24.482713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_35_10606.jpg', '/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_44_9636.jpg', '/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_54_9687.jpg', '/home/pi/Desktop/images/31122025/01/56/image_31122025_01_57_04_9815.jpg', '/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_14_10545.jpg', '/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_24_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_35_10606.jpg
/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_44_9636.jpg
/home/pi/Desktop/images/31122025/01/56/image_31122025_01_56_54_9687.jpg
/home/pi/Desktop/images/31122025/01/56/image_31122025_01_57_04_9815.jpg
/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_14_10545.jpg
/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_24_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817408","1401817413","1401817419","1401817404","1401817421","1401817417"],"photo_ids_order":["1401817404","1401817408","1401817413","1401817417","1401817419","1401817421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18a927e405bb84ca7996a268f42b263d.jpg","text":"TemporaryFile(/tmp/multipartBody1799640508497133502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143305057,"filename":"image_31122025_01_56_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56872d0bb7c71d83a0e290a4aff346c9.jpg","text":"TemporaryFile(/tmp/multipartBody5197899586210131898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143305057,"filename":"image_31122025_01_56_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1ed54de1f1b8681ae1c2c5be7201789.jpg","text":"TemporaryFile(/tmp/multipartBody7232039494452430257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143305057,"filename":"image_31122025_01_57_14_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e0f5b86c0c3ac531ff5d2f860ece24f.jpg","text":"TemporaryFile(/tmp/multipartBody3540844847299713377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143305057,"filename":"image_31122025_01_56_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32d7e1e0d78c3bea3b23b71fae33939f.jpg","text":"TemporaryFile(/tmp/multipartBody3114434283522038133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143305057,"filename":"image_31122025_01_57_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8949156dd5f948d26ea2076d6117baf3.jpg","text":"TemporaryFile(/tmp/multipartBody17176523127531154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143305057,"filename":"image_31122025_01_57_04_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817413","file1":"1401817408","file0":"1401817404","file4":"1401817419","file5":"1401817421","file3":"1401817417"},"map_files_photo_id_array":[{"photo_id":"1401817421","filename":"file5"},{"photo_id":"1401817413","filename":"file2"},{"photo_id":"1401817419","filename":"file4"},{"photo_id":"1401817408","filename":"file1"},{"photo_id":"1401817404","filename":"file0"},{"photo_id":"1401817417","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817408":["hashtag1","hashtag2"]},{"1401817413":["hashtag1","hashtag2"]},{"1401817419":["hashtag1","hashtag2"]},{"1401817404":["hashtag1","hashtag2"]},{"1401817421":["hashtag1","hashtag2"]},{"1401817417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817408, 1401817413, 1401817419, 1401817404, 1401817421, 1401817417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.809269189834595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:08:03.215279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_35_10581.jpg', '/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_45_9988.jpg', '/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_54_9877.jpg', '/home/pi/Desktop/images/31122025/01/57/image_31122025_01_58_04_9763.jpg', '/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_14_9949.jpg', '/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_35_10581.jpg
/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_45_9988.jpg
/home/pi/Desktop/images/31122025/01/57/image_31122025_01_57_54_9877.jpg
/home/pi/Desktop/images/31122025/01/57/image_31122025_01_58_04_9763.jpg
/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_14_9949.jpg
/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_24_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817437","1401817422","1401817432","1401817435","1401817429","1401817426"],"photo_ids_order":["1401817422","1401817426","1401817429","1401817432","1401817435","1401817437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e56c90ebe3ada5472a14dac4dab843d.jpg","text":"TemporaryFile(/tmp/multipartBody6386326163307010529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143343834,"filename":"image_31122025_01_58_24_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3aa96555b5a69643fb0d0dac742ffc2.jpg","text":"TemporaryFile(/tmp/multipartBody6280365036115057213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143343834,"filename":"image_31122025_01_57_35_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f58af3b5e78eb3053f917b70541ecd57.jpg","text":"TemporaryFile(/tmp/multipartBody7717100971347808655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143343834,"filename":"image_31122025_01_58_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4d54098dddad4a87692f90af784d735.jpg","text":"TemporaryFile(/tmp/multipartBody3990892170823970592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143343834,"filename":"image_31122025_01_58_14_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36dd6c644cfd362d65e23ef51954c620.jpg","text":"TemporaryFile(/tmp/multipartBody2685054889033373575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143343834,"filename":"image_31122025_01_57_54_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a2eb14e5b8808b44dcffe42bbdc8fc6.jpg","text":"TemporaryFile(/tmp/multipartBody1934212786052946554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143343834,"filename":"image_31122025_01_57_45_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817429","file1":"1401817426","file0":"1401817422","file4":"1401817435","file5":"1401817437","file3":"1401817432"},"map_files_photo_id_array":[{"photo_id":"1401817437","filename":"file5"},{"photo_id":"1401817429","filename":"file2"},{"photo_id":"1401817435","filename":"file4"},{"photo_id":"1401817426","filename":"file1"},{"photo_id":"1401817422","filename":"file0"},{"photo_id":"1401817432","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817437":["hashtag1","hashtag2"]},{"1401817422":["hashtag1","hashtag2"]},{"1401817432":["hashtag1","hashtag2"]},{"1401817435":["hashtag1","hashtag2"]},{"1401817429":["hashtag1","hashtag2"]},{"1401817426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817437, 1401817422, 1401817432, 1401817435, 1401817429, 1401817426)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.46265411376953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:09:03.542656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_35_10600.jpg', '/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_44_9750.jpg', '/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_54_9669.jpg', '/home/pi/Desktop/images/31122025/01/58/image_31122025_01_59_05_10617.jpg', '/home/pi/Desktop/images/31122025/01/59/image_31122025_01_59_14_9677.jpg', '/home/pi/Desktop/images/31122025/01/59/image_31122025_01_59_24_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_35_10600.jpg
/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_44_9750.jpg
/home/pi/Desktop/images/31122025/01/58/image_31122025_01_58_54_9669.jpg
/home/pi/Desktop/images/31122025/01/58/image_31122025_01_59_05_10617.jpg
/home/pi/Desktop/images/31122025/01/59/image_31122025_01_59_14_9677.jpg
/home/pi/Desktop/images/31122025/01/59/image_31122025_01_59_24_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817470","1401817473","1401817481","1401817475","1401817478","1401817468"],"photo_ids_order":["1401817468","1401817470","1401817473","1401817475","1401817478","1401817481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c867b1bdefe62a367badd69b5e1ce33c.jpg","text":"TemporaryFile(/tmp/multipartBody5697326690848855592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143408923,"filename":"image_31122025_01_58_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4191ba74bc549df99166b447dbdf6dac.jpg","text":"TemporaryFile(/tmp/multipartBody8534306163061851206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143408923,"filename":"image_31122025_01_58_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4279255ea127e3cfc9b899258034646.jpg","text":"TemporaryFile(/tmp/multipartBody3899204982941608374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143408923,"filename":"image_31122025_01_59_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13a30e339543667c18a8cca6495935bb.jpg","text":"TemporaryFile(/tmp/multipartBody4622283479244970952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143408923,"filename":"image_31122025_01_59_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8fd8a99bd1e21ec84ee290d4430e644.jpg","text":"TemporaryFile(/tmp/multipartBody6291072743742847594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143408923,"filename":"image_31122025_01_59_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a08e7bca55e489afe213bea066220814.jpg","text":"TemporaryFile(/tmp/multipartBody7358778091989992431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143408923,"filename":"image_31122025_01_58_35_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817473","file1":"1401817470","file0":"1401817468","file4":"1401817478","file5":"1401817481","file3":"1401817475"},"map_files_photo_id_array":[{"photo_id":"1401817481","filename":"file5"},{"photo_id":"1401817473","filename":"file2"},{"photo_id":"1401817478","filename":"file4"},{"photo_id":"1401817470","filename":"file1"},{"photo_id":"1401817468","filename":"file0"},{"photo_id":"1401817475","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817470":["hashtag1","hashtag2"]},{"1401817473":["hashtag1","hashtag2"]},{"1401817481":["hashtag1","hashtag2"]},{"1401817475":["hashtag1","hashtag2"]},{"1401817478":["hashtag1","hashtag2"]},{"1401817468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817470, 1401817473, 1401817481, 1401817475, 1401817478, 1401817468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.23961019515991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:10:03.096691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/01/59/image_31122025_01_59_34_9741.jpg', '/home/pi/Desktop/images/31122025/01/59/image_31122025_01_59_54_9715.jpg', '/home/pi/Desktop/images/31122025/01/59/image_31122025_02_00_04_10668.jpg', '/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_14_9790.jpg', '/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_24_9795.jpg', '/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_34_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/01/59/image_31122025_01_59_34_9741.jpg
/home/pi/Desktop/images/31122025/01/59/image_31122025_01_59_54_9715.jpg
/home/pi/Desktop/images/31122025/01/59/image_31122025_02_00_04_10668.jpg
/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_14_9790.jpg
/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_24_9795.jpg
/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_34_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817507","1401817490","1401817503","1401817498","1401817492","1401817494"],"photo_ids_order":["1401817490","1401817492","1401817494","1401817498","1401817503","1401817507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79245923950efd156023cf236303b985.jpg","text":"TemporaryFile(/tmp/multipartBody3289928629672978719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143465110,"filename":"image_31122025_02_00_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d03a5bbad2df820223f0a983eeb7fef.jpg","text":"TemporaryFile(/tmp/multipartBody4055740324504801067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143465110,"filename":"image_31122025_01_59_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3ea56a7956b17aef22424aa0bfb6cbd.jpg","text":"TemporaryFile(/tmp/multipartBody5906333084192585691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143465110,"filename":"image_31122025_02_00_24_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26f49199e90dd78d6b14520bb6bca51e.jpg","text":"TemporaryFile(/tmp/multipartBody1284132688731038724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143465110,"filename":"image_31122025_02_00_14_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a24f20d05f6ff9af288b75a12fd8bb0f.jpg","text":"TemporaryFile(/tmp/multipartBody3086922891178050750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143465110,"filename":"image_31122025_01_59_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/608af5820750cf1e3b6dd5a1838a8cde.jpg","text":"TemporaryFile(/tmp/multipartBody7881463689703268366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143465110,"filename":"image_31122025_02_00_04_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817494","file1":"1401817492","file0":"1401817490","file4":"1401817503","file5":"1401817507","file3":"1401817498"},"map_files_photo_id_array":[{"photo_id":"1401817507","filename":"file5"},{"photo_id":"1401817494","filename":"file2"},{"photo_id":"1401817503","filename":"file4"},{"photo_id":"1401817492","filename":"file1"},{"photo_id":"1401817490","filename":"file0"},{"photo_id":"1401817498","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817507":["hashtag1","hashtag2"]},{"1401817490":["hashtag1","hashtag2"]},{"1401817503":["hashtag1","hashtag2"]},{"1401817498":["hashtag1","hashtag2"]},{"1401817492":["hashtag1","hashtag2"]},{"1401817494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817507, 1401817490, 1401817503, 1401817498, 1401817492, 1401817494)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.47967767715454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:11:02.489466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_45_10871.jpg', '/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_54_9062.jpg', '/home/pi/Desktop/images/31122025/02/00/image_31122025_02_01_04_10693.jpg', '/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_14_9606.jpg', '/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_25_10630.jpg', '/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_34_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_45_10871.jpg
/home/pi/Desktop/images/31122025/02/00/image_31122025_02_00_54_9062.jpg
/home/pi/Desktop/images/31122025/02/00/image_31122025_02_01_04_10693.jpg
/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_14_9606.jpg
/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_25_10630.jpg
/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_34_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817542","1401817545","1401817539","1401817548","1401817536","1401817532"],"photo_ids_order":["1401817532","1401817536","1401817539","1401817542","1401817545","1401817548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b687b0eb14176f65bd15c4ce9b01a89f.jpg","text":"TemporaryFile(/tmp/multipartBody8923810545896806384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143527490,"filename":"image_31122025_02_01_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4bd4d69c7550e9423ae9ce08a415fb4.jpg","text":"TemporaryFile(/tmp/multipartBody2268143595269264041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143527490,"filename":"image_31122025_02_01_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f04064e6e14b150a66a27b00fc2e451.jpg","text":"TemporaryFile(/tmp/multipartBody5662261420673627694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143527490,"filename":"image_31122025_02_01_04_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bf6a5061bd3276300a50e710cba86b1.jpg","text":"TemporaryFile(/tmp/multipartBody6207503919712876024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143527490,"filename":"image_31122025_02_01_34_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d98057a7ed3fbaf9bf1c0899cfe8fa4.jpg","text":"TemporaryFile(/tmp/multipartBody3942073442966699118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143527490,"filename":"image_31122025_02_00_54_9062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2413e098822744d2bf643ffd77df5945.jpg","text":"TemporaryFile(/tmp/multipartBody6693352253515485516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143527490,"filename":"image_31122025_02_00_45_10871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817539","file1":"1401817536","file0":"1401817532","file4":"1401817545","file5":"1401817548","file3":"1401817542"},"map_files_photo_id_array":[{"photo_id":"1401817548","filename":"file5"},{"photo_id":"1401817539","filename":"file2"},{"photo_id":"1401817545","filename":"file4"},{"photo_id":"1401817536","filename":"file1"},{"photo_id":"1401817532","filename":"file0"},{"photo_id":"1401817542","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817542":["hashtag1","hashtag2"]},{"1401817545":["hashtag1","hashtag2"]},{"1401817539":["hashtag1","hashtag2"]},{"1401817548":["hashtag1","hashtag2"]},{"1401817536":["hashtag1","hashtag2"]},{"1401817532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817542, 1401817545, 1401817539, 1401817548, 1401817536, 1401817532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.79765820503235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:12:02.585686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_44_9812.jpg', '/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_54_9661.jpg', '/home/pi/Desktop/images/31122025/02/01/image_31122025_02_02_04_10671.jpg', '/home/pi/Desktop/images/31122025/02/02/image_31122025_02_02_14_9816.jpg', '/home/pi/Desktop/images/31122025/02/02/image_31122025_02_02_24_9721.jpg', '/home/pi/Desktop/images/31122025/02/02/image_31122025_02_02_44_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_44_9812.jpg
/home/pi/Desktop/images/31122025/02/01/image_31122025_02_01_54_9661.jpg
/home/pi/Desktop/images/31122025/02/01/image_31122025_02_02_04_10671.jpg
/home/pi/Desktop/images/31122025/02/02/image_31122025_02_02_14_9816.jpg
/home/pi/Desktop/images/31122025/02/02/image_31122025_02_02_24_9721.jpg
/home/pi/Desktop/images/31122025/02/02/image_31122025_02_02_44_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817560","1401817562","1401817570","1401817564","1401817558","1401817567"],"photo_ids_order":["1401817558","1401817560","1401817562","1401817564","1401817567","1401817570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a879180bcb5baaff69ff7a937b1e8de3.jpg","text":"TemporaryFile(/tmp/multipartBody1665973750726869667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143585724,"filename":"image_31122025_02_01_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef054826a3e9a4bf5b261614834ef717.jpg","text":"TemporaryFile(/tmp/multipartBody4138954946135928276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143585724,"filename":"image_31122025_02_02_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48d7e5f2375a945ab06b1dd91872b2d1.jpg","text":"TemporaryFile(/tmp/multipartBody185161986671796486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143585724,"filename":"image_31122025_02_02_44_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34019eb72164ec2a3da322097dcfb402.jpg","text":"TemporaryFile(/tmp/multipartBody7522061754814986954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143585724,"filename":"image_31122025_02_02_14_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7035d2dd6512da5cd9a9cc7c195fd20.jpg","text":"TemporaryFile(/tmp/multipartBody4931731658295933619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143585724,"filename":"image_31122025_02_01_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bccc4b8aaa9a66220eb4ac86521f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody4281023197479630889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143585724,"filename":"image_31122025_02_02_24_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817562","file1":"1401817560","file0":"1401817558","file4":"1401817567","file5":"1401817570","file3":"1401817564"},"map_files_photo_id_array":[{"photo_id":"1401817570","filename":"file5"},{"photo_id":"1401817562","filename":"file2"},{"photo_id":"1401817567","filename":"file4"},{"photo_id":"1401817560","filename":"file1"},{"photo_id":"1401817558","filename":"file0"},{"photo_id":"1401817564","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817560":["hashtag1","hashtag2"]},{"1401817562":["hashtag1","hashtag2"]},{"1401817570":["hashtag1","hashtag2"]},{"1401817564":["hashtag1","hashtag2"]},{"1401817558":["hashtag1","hashtag2"]},{"1401817567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817560, 1401817562, 1401817570, 1401817564, 1401817558, 1401817567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64459037780762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:12:42.250391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_17_2690.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_26_2614.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_30_3690.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_35_2681.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_38_2940.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_44_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_17_2690.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_26_2614.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_30_3690.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_35_2681.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_38_2940.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_44_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817581","1401817584","1401817578","1401817595","1401817594","1401817593"],"photo_ids_order":["1401817578","1401817581","1401817584","1401817593","1401817594","1401817595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32750e0ada136393727b0759d09e699d.jpg","text":"TemporaryFile(/tmp/multipartBody8553168042200451880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143623994,"filename":"image_02112025_20_17_26_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7afc8ea06f8128ef142ed36f0910ec3c.jpg","text":"TemporaryFile(/tmp/multipartBody348267930696557828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143623994,"filename":"image_02112025_20_17_30_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e23a0dfa125fe85c6986057e970cc35.jpg","text":"TemporaryFile(/tmp/multipartBody1998539762892248016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143623994,"filename":"image_02112025_20_17_17_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e1174205484fb2069ac9ab8eb7a84d9.jpg","text":"TemporaryFile(/tmp/multipartBody6414156805503833316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143623994,"filename":"image_02112025_20_17_44_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db4529b6a4d2fc4afeb959373172915b.jpg","text":"TemporaryFile(/tmp/multipartBody7863893283008319207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143623994,"filename":"image_02112025_20_17_38_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c82a16bc522372ade28b1a3cceadf233.jpg","text":"TemporaryFile(/tmp/multipartBody8277863690564070453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143623994,"filename":"image_02112025_20_17_35_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817584","file1":"1401817581","file0":"1401817578","file4":"1401817594","file5":"1401817595","file3":"1401817593"},"map_files_photo_id_array":[{"photo_id":"1401817595","filename":"file5"},{"photo_id":"1401817584","filename":"file2"},{"photo_id":"1401817594","filename":"file4"},{"photo_id":"1401817581","filename":"file1"},{"photo_id":"1401817578","filename":"file0"},{"photo_id":"1401817593","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817581":["hashtag1","hashtag2"]},{"1401817584":["hashtag1","hashtag2"]},{"1401817578":["hashtag1","hashtag2"]},{"1401817595":["hashtag1","hashtag2"]},{"1401817594":["hashtag1","hashtag2"]},{"1401817593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817581, 1401817584, 1401817578, 1401817595, 1401817594, 1401817593)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.934322118759155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:13:32.557851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_47_2697.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_51_3601.jpg', '/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_56_2539.jpg', '/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_03_2708.jpg', '/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_09_3567.jpg', '/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_14_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_47_2697.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_51_3601.jpg
/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_56_2539.jpg
/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_03_2708.jpg
/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_09_3567.jpg
/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_14_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817623","1401817611","1401817607","1401817621","1401817615","1401817618"],"photo_ids_order":["1401817607","1401817611","1401817615","1401817618","1401817621","1401817623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6693a5b4360ad72d00c788300ff668e.jpg","text":"TemporaryFile(/tmp/multipartBody7594937085765499371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143674344,"filename":"image_02112025_20_18_14_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d88d4659098bff793af0b1c2ef65c111.jpg","text":"TemporaryFile(/tmp/multipartBody8613044204619577459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143674344,"filename":"image_02112025_20_17_51_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/491e18b5692dbecc4bca66f1b142f936.jpg","text":"TemporaryFile(/tmp/multipartBody6279474833616313653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143674344,"filename":"image_02112025_20_17_47_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f52978e7ddf2834f09c57b2fd1f3fcb4.jpg","text":"TemporaryFile(/tmp/multipartBody5251669583750379238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143674344,"filename":"image_02112025_20_18_09_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03b20d5f5e8639c459830be5d65ebae6.jpg","text":"TemporaryFile(/tmp/multipartBody8564033367848459973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143674344,"filename":"image_02112025_20_17_56_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e42f5e47f377387323091bb65405ca68.jpg","text":"TemporaryFile(/tmp/multipartBody3154486452329394522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143674344,"filename":"image_02112025_20_18_03_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817615","file1":"1401817611","file0":"1401817607","file4":"1401817621","file5":"1401817623","file3":"1401817618"},"map_files_photo_id_array":[{"photo_id":"1401817623","filename":"file5"},{"photo_id":"1401817615","filename":"file2"},{"photo_id":"1401817621","filename":"file4"},{"photo_id":"1401817611","filename":"file1"},{"photo_id":"1401817607","filename":"file0"},{"photo_id":"1401817618","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817623":["hashtag1","hashtag2"]},{"1401817611":["hashtag1","hashtag2"]},{"1401817607":["hashtag1","hashtag2"]},{"1401817621":["hashtag1","hashtag2"]},{"1401817615":["hashtag1","hashtag2"]},{"1401817618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817623, 1401817611, 1401817607, 1401817621, 1401817615, 1401817618)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401817615 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/20/17/image_02112025_20_17_56_2539.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.43186545372009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:14:43.523598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_18_3673.jpg', '/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_23_2754.jpg', '/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_27_3657.jpg', '/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_30_2824.jpg', '/home/pi/Desktop/images/02112025/20/18/image_02112025_20_19_00_1722.jpg', '/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_02_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_18_3673.jpg
/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_23_2754.jpg
/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_27_3657.jpg
/home/pi/Desktop/images/02112025/20/18/image_02112025_20_18_30_2824.jpg
/home/pi/Desktop/images/02112025/20/18/image_02112025_20_19_00_1722.jpg
/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_02_1749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817665","1401817667","1401817661","1401817657","1401817672","1401817669"],"photo_ids_order":["1401817657","1401817661","1401817665","1401817667","1401817669","1401817672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/965e884c3b0f7596a6fe4c1f1839753f.jpg","text":"TemporaryFile(/tmp/multipartBody5334645080705570163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143745421,"filename":"image_02112025_20_18_27_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3c8209988223e94d5886cc041dc78a2.jpg","text":"TemporaryFile(/tmp/multipartBody6780352054413784517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143745421,"filename":"image_02112025_20_18_30_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e6ab65b81b9615355f9562dfbca95e8.jpg","text":"TemporaryFile(/tmp/multipartBody1144656209483106129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143745421,"filename":"image_02112025_20_18_23_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbbf7f140114941c9dc20e056a271374.jpg","text":"TemporaryFile(/tmp/multipartBody3692610978587836911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143745421,"filename":"image_02112025_20_18_18_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73d5f509fd272a9415ae88e214ee00a8.jpg","text":"TemporaryFile(/tmp/multipartBody3969322894402331924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143745421,"filename":"image_02112025_20_19_02_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14187c42d7e4addc71bced9f94a951e3.jpg","text":"TemporaryFile(/tmp/multipartBody2713942614144230933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143745421,"filename":"image_02112025_20_19_00_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817665","file1":"1401817661","file0":"1401817657","file4":"1401817669","file5":"1401817672","file3":"1401817667"},"map_files_photo_id_array":[{"photo_id":"1401817672","filename":"file5"},{"photo_id":"1401817665","filename":"file2"},{"photo_id":"1401817669","filename":"file4"},{"photo_id":"1401817661","filename":"file1"},{"photo_id":"1401817657","filename":"file0"},{"photo_id":"1401817667","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817665":["hashtag1","hashtag2"]},{"1401817667":["hashtag1","hashtag2"]},{"1401817661":["hashtag1","hashtag2"]},{"1401817657":["hashtag1","hashtag2"]},{"1401817672":["hashtag1","hashtag2"]},{"1401817669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817665, 1401817667, 1401817661, 1401817657, 1401817672, 1401817669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20024633407593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:15:22.755748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/02/image_31122025_02_02_54_10652.jpg', '/home/pi/Desktop/images/31122025/02/02/image_31122025_02_03_04_9654.jpg', '/home/pi/Desktop/images/31122025/02/03/image_31122025_02_03_14_9957.jpg', '/home/pi/Desktop/images/31122025/02/03/image_31122025_02_03_24_9795.jpg', '/home/pi/Desktop/images/31122025/02/03/image_31122025_02_03_35_10658.jpg', '/home/pi/Desktop/images/31122025/02/03/image_31122025_02_03_54_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/02/image_31122025_02_02_54_10652.jpg
/home/pi/Desktop/images/31122025/02/02/image_31122025_02_03_04_9654.jpg
/home/pi/Desktop/images/31122025/02/03/image_31122025_02_03_14_9957.jpg
/home/pi/Desktop/images/31122025/02/03/image_31122025_02_03_24_9795.jpg
/home/pi/Desktop/images/31122025/02/03/image_31122025_02_03_35_10658.jpg
/home/pi/Desktop/images/31122025/02/03/image_31122025_02_03_54_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817689","1401817683","1401817679","1401817681","1401817692","1401817686"],"photo_ids_order":["1401817679","1401817681","1401817683","1401817686","1401817689","1401817692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/647aa5a38af79d4d01a1da0c63a233d6.jpg","text":"TemporaryFile(/tmp/multipartBody7324133553844075212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143783315,"filename":"image_31122025_02_03_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57283905005ed63e0d13798a38e228b5.jpg","text":"TemporaryFile(/tmp/multipartBody3964384625586673048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143783315,"filename":"image_31122025_02_03_14_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/defdfd00c4f92aa34768409812d0e220.jpg","text":"TemporaryFile(/tmp/multipartBody6512387846969811476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143783315,"filename":"image_31122025_02_02_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67b9a32e30297acce7868e1d0c535493.jpg","text":"TemporaryFile(/tmp/multipartBody4346100894723230031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143783315,"filename":"image_31122025_02_03_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f45e4db8038e62932569c005ac81bad.jpg","text":"TemporaryFile(/tmp/multipartBody8503273727058549598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143783315,"filename":"image_31122025_02_03_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8be5ca55587200391c85aec804ab2e1e.jpg","text":"TemporaryFile(/tmp/multipartBody7820651871371729057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143783315,"filename":"image_31122025_02_03_24_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817683","file1":"1401817681","file0":"1401817679","file4":"1401817689","file5":"1401817692","file3":"1401817686"},"map_files_photo_id_array":[{"photo_id":"1401817692","filename":"file5"},{"photo_id":"1401817683","filename":"file2"},{"photo_id":"1401817689","filename":"file4"},{"photo_id":"1401817681","filename":"file1"},{"photo_id":"1401817679","filename":"file0"},{"photo_id":"1401817686","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817689":["hashtag1","hashtag2"]},{"1401817683":["hashtag1","hashtag2"]},{"1401817679":["hashtag1","hashtag2"]},{"1401817681":["hashtag1","hashtag2"]},{"1401817692":["hashtag1","hashtag2"]},{"1401817686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817689, 1401817683, 1401817679, 1401817681, 1401817692, 1401817686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57762360572815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:16:02.412509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_04_10343.jpg', '/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_14_9755.jpg', '/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_24_9824.jpg', '/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_35_10653.jpg', '/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_44_9932.jpg', '/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_54_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_04_10343.jpg
/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_14_9755.jpg
/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_24_9824.jpg
/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_35_10653.jpg
/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_44_9932.jpg
/home/pi/Desktop/images/31122025/02/04/image_31122025_02_04_54_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817704","1401817701","1401817700","1401817696","1401817708","1401817698"],"photo_ids_order":["1401817696","1401817698","1401817700","1401817701","1401817704","1401817708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c05677b01c0b4162c1a5a93656a9018.jpg","text":"TemporaryFile(/tmp/multipartBody1589984205286197891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143823059,"filename":"image_31122025_02_04_44_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2199edafa82c1a485cf632f78c8b3acf.jpg","text":"TemporaryFile(/tmp/multipartBody7771831467244320363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143823059,"filename":"image_31122025_02_04_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4c30324875169fc8343fef14c88dd63.jpg","text":"TemporaryFile(/tmp/multipartBody4223099203753506910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143823059,"filename":"image_31122025_02_04_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca5ba3ae3067175b4fb1450bab15c3e0.jpg","text":"TemporaryFile(/tmp/multipartBody3120806101017070206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143823059,"filename":"image_31122025_02_04_04_10343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19854cc15e14eae21d3a13ca9c4a8a52.jpg","text":"TemporaryFile(/tmp/multipartBody8038636092740416403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143823059,"filename":"image_31122025_02_04_54_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b79dbff6edbd4fec5fdc010a6e61c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7128242368818820555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143823059,"filename":"image_31122025_02_04_14_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817700","file1":"1401817698","file0":"1401817696","file4":"1401817704","file5":"1401817708","file3":"1401817701"},"map_files_photo_id_array":[{"photo_id":"1401817708","filename":"file5"},{"photo_id":"1401817700","filename":"file2"},{"photo_id":"1401817704","filename":"file4"},{"photo_id":"1401817698","filename":"file1"},{"photo_id":"1401817696","filename":"file0"},{"photo_id":"1401817701","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817704":["hashtag1","hashtag2"]},{"1401817701":["hashtag1","hashtag2"]},{"1401817700":["hashtag1","hashtag2"]},{"1401817696":["hashtag1","hashtag2"]},{"1401817708":["hashtag1","hashtag2"]},{"1401817698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817704, 1401817701, 1401817700, 1401817696, 1401817708, 1401817698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.772613525390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:16:41.931227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_14_2569.jpg', '/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_20_2661.jpg', '/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_23_2906.jpg', '/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_26_2782.jpg', '/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_32_2752.jpg', '/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_51_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_14_2569.jpg
/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_20_2661.jpg
/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_23_2906.jpg
/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_26_2782.jpg
/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_32_2752.jpg
/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_51_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817731","1401817725","1401817728","1401817727","1401817726","1401817723"],"photo_ids_order":["1401817723","1401817725","1401817726","1401817727","1401817728","1401817731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef8bbb7ebb4fff41f90639f3f486d426.jpg","text":"TemporaryFile(/tmp/multipartBody1926610894116904216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143863827,"filename":"image_02112025_20_19_51_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6a90f5ea30e363573633090d7d4ee27.jpg","text":"TemporaryFile(/tmp/multipartBody6816321198699468939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143863827,"filename":"image_02112025_20_19_20_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82aa205a29361e119f088026042946a5.jpg","text":"TemporaryFile(/tmp/multipartBody6945566762395326236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143863827,"filename":"image_02112025_20_19_32_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed198c0a3ad637cc1a30a303953f289a.jpg","text":"TemporaryFile(/tmp/multipartBody1982397346887183494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143863827,"filename":"image_02112025_20_19_26_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0c5a4d2a76978fdd5c4826ec590a130.jpg","text":"TemporaryFile(/tmp/multipartBody8309889906647815390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143863827,"filename":"image_02112025_20_19_23_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38dc18194b5bd4bb74f8122930466bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1327844739866655391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143863827,"filename":"image_02112025_20_19_14_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817726","file1":"1401817725","file0":"1401817723","file4":"1401817728","file5":"1401817731","file3":"1401817727"},"map_files_photo_id_array":[{"photo_id":"1401817731","filename":"file5"},{"photo_id":"1401817726","filename":"file2"},{"photo_id":"1401817728","filename":"file4"},{"photo_id":"1401817725","filename":"file1"},{"photo_id":"1401817723","filename":"file0"},{"photo_id":"1401817727","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817731":["hashtag1","hashtag2"]},{"1401817725":["hashtag1","hashtag2"]},{"1401817728":["hashtag1","hashtag2"]},{"1401817727":["hashtag1","hashtag2"]},{"1401817726":["hashtag1","hashtag2"]},{"1401817723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817731, 1401817725, 1401817728, 1401817727, 1401817726, 1401817723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.046555519104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:17:22.143057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/04/image_31122025_02_05_04_9733.jpg', '/home/pi/Desktop/images/31122025/02/05/image_31122025_02_05_24_10673.jpg', '/home/pi/Desktop/images/31122025/02/05/image_31122025_02_05_44_9742.jpg', '/home/pi/Desktop/images/31122025/02/05/image_31122025_02_06_04_7614.jpg', '/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_14_9687.jpg', '/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/04/image_31122025_02_05_04_9733.jpg
/home/pi/Desktop/images/31122025/02/05/image_31122025_02_05_24_10673.jpg
/home/pi/Desktop/images/31122025/02/05/image_31122025_02_05_44_9742.jpg
/home/pi/Desktop/images/31122025/02/05/image_31122025_02_06_04_7614.jpg
/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_14_9687.jpg
/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_25_10368.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5470759868621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:17:32.244572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_56_2688.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_05_2906.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_08_2763.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_12_3601.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_17_2777.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_21_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/19/image_02112025_20_19_56_2688.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_05_2906.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_08_2763.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_12_3601.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_17_2777.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_21_3753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817766","1401817751","1401817754","1401817748","1401817757","1401817759"],"photo_ids_order":["1401817748","1401817751","1401817754","1401817757","1401817759","1401817766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ae83fad04ccdb97e27d89a81a1db5c6.jpg","text":"TemporaryFile(/tmp/multipartBody5269080862310065864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143914207,"filename":"image_02112025_20_20_21_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3194ceaff4ccb743ddaaea07dea73d35.jpg","text":"TemporaryFile(/tmp/multipartBody2121925632337068181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143914207,"filename":"image_02112025_20_20_05_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35b81caa540de2258c278d02baa53a47.jpg","text":"TemporaryFile(/tmp/multipartBody6612241273483323634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143914207,"filename":"image_02112025_20_20_08_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9aee965f5bafa68b1a8ab7c91964058.jpg","text":"TemporaryFile(/tmp/multipartBody1493484253495442916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143914207,"filename":"image_02112025_20_19_56_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e255322fd94f7433bc2bc3961fae40de.jpg","text":"TemporaryFile(/tmp/multipartBody7477517636168699753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143914207,"filename":"image_02112025_20_20_12_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5ee8b676def8a975712f2f5c3d2f4e5.jpg","text":"TemporaryFile(/tmp/multipartBody2214877397422883064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143914207,"filename":"image_02112025_20_20_17_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817754","file1":"1401817751","file0":"1401817748","file4":"1401817759","file5":"1401817766","file3":"1401817757"},"map_files_photo_id_array":[{"photo_id":"1401817766","filename":"file5"},{"photo_id":"1401817754","filename":"file2"},{"photo_id":"1401817759","filename":"file4"},{"photo_id":"1401817751","filename":"file1"},{"photo_id":"1401817748","filename":"file0"},{"photo_id":"1401817757","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817766":["hashtag1","hashtag2"]},{"1401817751":["hashtag1","hashtag2"]},{"1401817754":["hashtag1","hashtag2"]},{"1401817748":["hashtag1","hashtag2"]},{"1401817757":["hashtag1","hashtag2"]},{"1401817759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817766, 1401817751, 1401817754, 1401817748, 1401817757, 1401817759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.898006439208984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:18:12.490655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_23_2604.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_26_2746.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_32_2662.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_35_2688.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_38_3111.jpg', '/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_59_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_23_2604.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_26_2746.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_32_2662.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_35_2688.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_38_3111.jpg
/home/pi/Desktop/images/02112025/20/20/image_02112025_20_20_59_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817788","1401817781","1401817778","1401817774","1401817771","1401817785"],"photo_ids_order":["1401817771","1401817774","1401817778","1401817781","1401817785","1401817788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee7540a3f081bf9ccb9ef4d604c0d362.jpg","text":"TemporaryFile(/tmp/multipartBody4803892741924547132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143954255,"filename":"image_02112025_20_20_59_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44a7421a81bf1b9dd1250a1d7ab5aca5.jpg","text":"TemporaryFile(/tmp/multipartBody6119669702323570997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143954255,"filename":"image_02112025_20_20_35_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9084daf0c49aea54c962b7a7bb179249.jpg","text":"TemporaryFile(/tmp/multipartBody8867501806863883401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143954255,"filename":"image_02112025_20_20_32_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/400d8f11c59c819070c5a9f8647760ee.jpg","text":"TemporaryFile(/tmp/multipartBody4159518330434995757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143954255,"filename":"image_02112025_20_20_26_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36521cc3bc183c2657f4442012d54288.jpg","text":"TemporaryFile(/tmp/multipartBody4580481948668592913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143954255,"filename":"image_02112025_20_20_23_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27dc83a7e5e3419f914a6e8da5bf2c11.jpg","text":"TemporaryFile(/tmp/multipartBody6131700975544933023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767143954255,"filename":"image_02112025_20_20_38_3111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817778","file1":"1401817774","file0":"1401817771","file4":"1401817785","file5":"1401817788","file3":"1401817781"},"map_files_photo_id_array":[{"photo_id":"1401817788","filename":"file5"},{"photo_id":"1401817778","filename":"file2"},{"photo_id":"1401817785","filename":"file4"},{"photo_id":"1401817774","filename":"file1"},{"photo_id":"1401817771","filename":"file0"},{"photo_id":"1401817781","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817788":["hashtag1","hashtag2"]},{"1401817781":["hashtag1","hashtag2"]},{"1401817778":["hashtag1","hashtag2"]},{"1401817774":["hashtag1","hashtag2"]},{"1401817771":["hashtag1","hashtag2"]},{"1401817785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817788, 1401817781, 1401817778, 1401817774, 1401817771, 1401817785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9784255027771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:19:03.508760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/04/image_31122025_02_05_04_9733.jpg', '/home/pi/Desktop/images/31122025/02/05/image_31122025_02_05_24_10673.jpg', '/home/pi/Desktop/images/31122025/02/05/image_31122025_02_05_44_9742.jpg', '/home/pi/Desktop/images/31122025/02/05/image_31122025_02_06_04_7614.jpg', '/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_14_9687.jpg', '/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/04/image_31122025_02_05_04_9733.jpg
/home/pi/Desktop/images/31122025/02/05/image_31122025_02_05_24_10673.jpg
/home/pi/Desktop/images/31122025/02/05/image_31122025_02_05_44_9742.jpg
/home/pi/Desktop/images/31122025/02/05/image_31122025_02_06_04_7614.jpg
/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_14_9687.jpg
/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817821","1401817827","1401817835","1401817823","1401817831","1401817819"],"photo_ids_order":["1401817819","1401817821","1401817823","1401817827","1401817831","1401817835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/696ed1bd7a45b4eac3073ab8661fa802.jpg","text":"TemporaryFile(/tmp/multipartBody9093163992700116516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144004281,"filename":"image_31122025_02_05_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42cf8a34c063232fc9f5e55948d89acc.jpg","text":"TemporaryFile(/tmp/multipartBody6364892710197387371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144004281,"filename":"image_31122025_02_06_04_7614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4205d6e6084fb4e08569a64f6ba405d9.jpg","text":"TemporaryFile(/tmp/multipartBody4324327029955889997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144004281,"filename":"image_31122025_02_06_25_10368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/158ad064caeb4af9bac9ccedb0bb59ee.jpg","text":"TemporaryFile(/tmp/multipartBody783851996111574429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144004281,"filename":"image_31122025_02_05_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d09680272a4909ccc0bc727e53d13a5d.jpg","text":"TemporaryFile(/tmp/multipartBody5319933121562073180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144004281,"filename":"image_31122025_02_06_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f199dbefaa0af82900406e536206c3a.jpg","text":"TemporaryFile(/tmp/multipartBody1408049803581328921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144004281,"filename":"image_31122025_02_05_04_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817823","file1":"1401817821","file0":"1401817819","file4":"1401817831","file5":"1401817835","file3":"1401817827"},"map_files_photo_id_array":[{"photo_id":"1401817835","filename":"file5"},{"photo_id":"1401817823","filename":"file2"},{"photo_id":"1401817831","filename":"file4"},{"photo_id":"1401817821","filename":"file1"},{"photo_id":"1401817819","filename":"file0"},{"photo_id":"1401817827","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817821":["hashtag1","hashtag2"]},{"1401817827":["hashtag1","hashtag2"]},{"1401817835":["hashtag1","hashtag2"]},{"1401817823":["hashtag1","hashtag2"]},{"1401817831":["hashtag1","hashtag2"]},{"1401817819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817821, 1401817827, 1401817835, 1401817823, 1401817831, 1401817819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37356925010681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:19:42.588694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_03_3654.jpg', '/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_05_2778.jpg', '/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_08_2651.jpg', '/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_17_2569.jpg', '/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_26_2816.jpg', '/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_29_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_03_3654.jpg
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_05_2778.jpg
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_08_2651.jpg
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_17_2569.jpg
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_26_2816.jpg
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_29_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817848","1401817844","1401817847","1401817849","1401817852","1401817846"],"photo_ids_order":["1401817844","1401817846","1401817847","1401817848","1401817849","1401817852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ca1a266a01ef105e425124a0626ea39.jpg","text":"TemporaryFile(/tmp/multipartBody2196516574727857745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144044529,"filename":"image_02112025_20_21_17_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f9be141d86a9618c4342f319350e07d.jpg","text":"TemporaryFile(/tmp/multipartBody6673447360761188635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144044529,"filename":"image_02112025_20_21_03_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9a6b3bd8caa2daedd2a176d2c1b1057.jpg","text":"TemporaryFile(/tmp/multipartBody6854063126811631802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144044529,"filename":"image_02112025_20_21_08_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54229b58a58327e720545691d44aae27.jpg","text":"TemporaryFile(/tmp/multipartBody5176128310645340298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144044529,"filename":"image_02112025_20_21_26_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bd47e4d692db8b6aa77e3e316ed162d.jpg","text":"TemporaryFile(/tmp/multipartBody7937115139739094331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144044529,"filename":"image_02112025_20_21_29_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f60f95712047375883998b723f0181b.jpg","text":"TemporaryFile(/tmp/multipartBody4153888576331621176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144044529,"filename":"image_02112025_20_21_05_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817847","file1":"1401817846","file0":"1401817844","file4":"1401817849","file5":"1401817852","file3":"1401817848"},"map_files_photo_id_array":[{"photo_id":"1401817852","filename":"file5"},{"photo_id":"1401817847","filename":"file2"},{"photo_id":"1401817849","filename":"file4"},{"photo_id":"1401817846","filename":"file1"},{"photo_id":"1401817844","filename":"file0"},{"photo_id":"1401817848","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817848":["hashtag1","hashtag2"]},{"1401817844":["hashtag1","hashtag2"]},{"1401817847":["hashtag1","hashtag2"]},{"1401817849":["hashtag1","hashtag2"]},{"1401817852":["hashtag1","hashtag2"]},{"1401817846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817848, 1401817844, 1401817847, 1401817849, 1401817852, 1401817846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.132853984832764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:20:22.758482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_34_9811.jpg', '/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_44_9685.jpg', '/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_54_9697.jpg', '/home/pi/Desktop/images/31122025/02/06/image_31122025_02_07_04_10671.jpg', '/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_14_9620.jpg', '/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_24_9983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_34_9811.jpg
/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_44_9685.jpg
/home/pi/Desktop/images/31122025/02/06/image_31122025_02_06_54_9697.jpg
/home/pi/Desktop/images/31122025/02/06/image_31122025_02_07_04_10671.jpg
/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_14_9620.jpg
/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_24_9983.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817872","1401817866","1401817863","1401817868","1401817873","1401817870"],"photo_ids_order":["1401817863","1401817866","1401817868","1401817870","1401817872","1401817873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a2f20d165659c51713ba5df250f62fc.jpg","text":"TemporaryFile(/tmp/multipartBody1629532660014476472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144083349,"filename":"image_31122025_02_07_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3ab06a41a49d11798fec4da222c357f.jpg","text":"TemporaryFile(/tmp/multipartBody5031779918798844712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144083349,"filename":"image_31122025_02_06_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35a11b060c2f12d204a06efcef39ba2a.jpg","text":"TemporaryFile(/tmp/multipartBody8112268169311788030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144083349,"filename":"image_31122025_02_06_34_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/528f167fac8ad095bf9b849baf42cf7a.jpg","text":"TemporaryFile(/tmp/multipartBody4110070762002494538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144083349,"filename":"image_31122025_02_06_54_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbbf461bb9ec006b8631492bf34f70c5.jpg","text":"TemporaryFile(/tmp/multipartBody5640875661354003343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144083349,"filename":"image_31122025_02_07_24_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f3842ad50ed160bc5e4a562fad15e41.jpg","text":"TemporaryFile(/tmp/multipartBody3149618737565313931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144083349,"filename":"image_31122025_02_07_04_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817868","file1":"1401817866","file0":"1401817863","file4":"1401817872","file5":"1401817873","file3":"1401817870"},"map_files_photo_id_array":[{"photo_id":"1401817873","filename":"file5"},{"photo_id":"1401817868","filename":"file2"},{"photo_id":"1401817872","filename":"file4"},{"photo_id":"1401817866","filename":"file1"},{"photo_id":"1401817863","filename":"file0"},{"photo_id":"1401817870","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817872":["hashtag1","hashtag2"]},{"1401817866":["hashtag1","hashtag2"]},{"1401817863":["hashtag1","hashtag2"]},{"1401817868":["hashtag1","hashtag2"]},{"1401817873":["hashtag1","hashtag2"]},{"1401817870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817872, 1401817866, 1401817863, 1401817868, 1401817873, 1401817870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37864971160889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:21:02.678007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_35_10708.jpg', '/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_44_9718.jpg', '/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_54_9593.jpg', '/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_06_12312.jpg', '/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_14_7584.jpg', '/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_25_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_35_10708.jpg
/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_44_9718.jpg
/home/pi/Desktop/images/31122025/02/07/image_31122025_02_07_54_9593.jpg
/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_06_12312.jpg
/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_14_7584.jpg
/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_25_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817886","1401817891","1401817894","1401817888","1401817882","1401817896"],"photo_ids_order":["1401817882","1401817886","1401817888","1401817891","1401817894","1401817896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f121c1462ddb4d3fe74ba228a0919ca.jpg","text":"TemporaryFile(/tmp/multipartBody4677011537006585694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144123352,"filename":"image_31122025_02_07_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d08c9cf142e6b390e9e1522383f3177.jpg","text":"TemporaryFile(/tmp/multipartBody2302157956394891917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144123352,"filename":"image_31122025_02_08_06_12312.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2625ad59ba4b7823132b7f803da4b3ef.jpg","text":"TemporaryFile(/tmp/multipartBody9147889369662991769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144123352,"filename":"image_31122025_02_08_14_7584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2db1da898fd111ae696706bf8e9a7cc.jpg","text":"TemporaryFile(/tmp/multipartBody3486715585317897863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144123352,"filename":"image_31122025_02_07_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/748c17918381480f0c70b1ece3788bdf.jpg","text":"TemporaryFile(/tmp/multipartBody1664840982873468914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144123352,"filename":"image_31122025_02_07_35_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a964a4b7632ce1ef6702e5fb9096dda.jpg","text":"TemporaryFile(/tmp/multipartBody1148297133524521996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144123352,"filename":"image_31122025_02_08_25_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817888","file1":"1401817886","file0":"1401817882","file4":"1401817894","file5":"1401817896","file3":"1401817891"},"map_files_photo_id_array":[{"photo_id":"1401817896","filename":"file5"},{"photo_id":"1401817888","filename":"file2"},{"photo_id":"1401817894","filename":"file4"},{"photo_id":"1401817886","filename":"file1"},{"photo_id":"1401817882","filename":"file0"},{"photo_id":"1401817891","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817886":["hashtag1","hashtag2"]},{"1401817891":["hashtag1","hashtag2"]},{"1401817894":["hashtag1","hashtag2"]},{"1401817888":["hashtag1","hashtag2"]},{"1401817882":["hashtag1","hashtag2"]},{"1401817896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817886, 1401817891, 1401817894, 1401817888, 1401817882, 1401817896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50947713851929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:21:42.029661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_32_3564.jpg', '/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_41_2956.jpg', '/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_47_2862.jpg', '/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_03_9614.jpg', '/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_05_1835.jpg', '/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_06_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_32_3564.jpg
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_41_2956.jpg
/home/pi/Desktop/images/02112025/20/21/image_02112025_20_21_47_2862.jpg
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_03_9614.jpg
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_05_1835.jpg
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_06_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817911","1401817908","1401817910","1401817903","1401817912","1401817906"],"photo_ids_order":["1401817903","1401817906","1401817908","1401817910","1401817911","1401817912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0d04708d2d35299ec8eb4aee34298da.jpg","text":"TemporaryFile(/tmp/multipartBody7005872103147446084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144163942,"filename":"image_02112025_20_22_05_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a3a6895ef6224e2a960810c2e06b6e0.jpg","text":"TemporaryFile(/tmp/multipartBody3186366958016459706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144163942,"filename":"image_02112025_20_21_47_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3255ece2f9b9779a5acabed03078ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5426222660067466268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144163942,"filename":"image_02112025_20_22_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2b9087397a3ac2df167344bd0ce69a4.jpg","text":"TemporaryFile(/tmp/multipartBody810683143608040950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144163942,"filename":"image_02112025_20_21_32_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c48f4221b082a78cd00ccfb9ad41e82e.jpg","text":"TemporaryFile(/tmp/multipartBody26958415951473074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144163942,"filename":"image_02112025_20_22_06_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d8def5b7c6e0f844d2ea018b4ac8b27.jpg","text":"TemporaryFile(/tmp/multipartBody5584311298793071939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144163942,"filename":"image_02112025_20_21_41_2956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817908","file1":"1401817906","file0":"1401817903","file4":"1401817911","file5":"1401817912","file3":"1401817910"},"map_files_photo_id_array":[{"photo_id":"1401817912","filename":"file5"},{"photo_id":"1401817908","filename":"file2"},{"photo_id":"1401817911","filename":"file4"},{"photo_id":"1401817906","filename":"file1"},{"photo_id":"1401817903","filename":"file0"},{"photo_id":"1401817910","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401817911":["hashtag1","hashtag2"]},{"1401817908":["hashtag1","hashtag2"]},{"1401817910":["hashtag1","hashtag2"]},{"1401817903":["hashtag1","hashtag2"]},{"1401817912":["hashtag1","hashtag2"]},{"1401817906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401817911, 1401817908, 1401817910, 1401817903, 1401817912, 1401817906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.994338035583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:22:22.183877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_34_9672.jpg', '/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_44_9839.jpg', '/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_54_9748.jpg', '/home/pi/Desktop/images/31122025/02/08/image_31122025_02_09_05_10704.jpg', '/home/pi/Desktop/images/31122025/02/09/image_31122025_02_09_14_9770.jpg', '/home/pi/Desktop/images/31122025/02/09/image_31122025_02_09_24_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_34_9672.jpg
/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_44_9839.jpg
/home/pi/Desktop/images/31122025/02/08/image_31122025_02_08_54_9748.jpg
/home/pi/Desktop/images/31122025/02/08/image_31122025_02_09_05_10704.jpg
/home/pi/Desktop/images/31122025/02/09/image_31122025_02_09_14_9770.jpg
/home/pi/Desktop/images/31122025/02/09/image_31122025_02_09_24_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817932","1401817935","1401817929","1401817926","1401817922","1401817918"],"photo_ids_order":["1401817918","1401817922","1401817926","1401817929","1401817932","1401817935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49eaddba601eb3075ac12641518bc428.jpg","text":"TemporaryFile(/tmp/multipartBody3878610643224901337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144202806,"filename":"image_31122025_02_09_14_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59e22756c954cd813385e3533fec77d0.jpg","text":"TemporaryFile(/tmp/multipartBody6860087908103910813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144202806,"filename":"image_31122025_02_09_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6dbf0ff251fe83f508cf08b88eaf08ea.jpg","text":"TemporaryFile(/tmp/multipartBody7204882735912749267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144202806,"filename":"image_31122025_02_09_05_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a76dab276a408e41715165158cb964a.jpg","text":"TemporaryFile(/tmp/multipartBody9168710650064645314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144202806,"filename":"image_31122025_02_08_54_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9543b888295bf7104436eb79bcfb646e.jpg","text":"TemporaryFile(/tmp/multipartBody5004917853791018773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144202806,"filename":"image_31122025_02_08_44_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c005af0cbdcec3d716832afb06b88cdd.jpg","text":"TemporaryFile(/tmp/multipartBody420091112212363069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144202806,"filename":"image_31122025_02_08_34_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817926","file1":"1401817922","file0":"1401817918","file4":"1401817932","file5":"1401817935","file3":"1401817929"},"map_files_photo_id_array":[{"photo_id":"1401817935","filename":"file5"},{"photo_id":"1401817926","filename":"file2"},{"photo_id":"1401817932","filename":"file4"},{"photo_id":"1401817922","filename":"file1"},{"photo_id":"1401817918","filename":"file0"},{"photo_id":"1401817929","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817932":["hashtag1","hashtag2"]},{"1401817935":["hashtag1","hashtag2"]},{"1401817929":["hashtag1","hashtag2"]},{"1401817926":["hashtag1","hashtag2"]},{"1401817922":["hashtag1","hashtag2"]},{"1401817918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817932, 1401817935, 1401817929, 1401817926, 1401817922, 1401817918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08077549934387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:23:03.087561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/09/image_31122025_02_09_34_10057.jpg', '/home/pi/Desktop/images/31122025/02/09/image_31122025_02_09_44_10003.jpg', '/home/pi/Desktop/images/31122025/02/09/image_31122025_02_10_04_9776.jpg', '/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_15_10592.jpg', '/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_24_9657.jpg', '/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_34_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/09/image_31122025_02_09_34_10057.jpg
/home/pi/Desktop/images/31122025/02/09/image_31122025_02_09_44_10003.jpg
/home/pi/Desktop/images/31122025/02/09/image_31122025_02_10_04_9776.jpg
/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_15_10592.jpg
/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_24_9657.jpg
/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_34_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401817953","1401817970","1401817966","1401817960","1401817963","1401817957"],"photo_ids_order":["1401817953","1401817957","1401817960","1401817963","1401817966","1401817970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d0e6172c2c556638e30423abefb9d93.jpg","text":"TemporaryFile(/tmp/multipartBody6311649623218729978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144243720,"filename":"image_31122025_02_09_34_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7a0bb7a5dc6359e6be3926f344be311.jpg","text":"TemporaryFile(/tmp/multipartBody1173888050826773276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144243720,"filename":"image_31122025_02_10_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39efb60ea4d6afceb9352401606418b6.jpg","text":"TemporaryFile(/tmp/multipartBody2336086039981456828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144243720,"filename":"image_31122025_02_10_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/994dc77911c74fa2c91aebef22690d77.jpg","text":"TemporaryFile(/tmp/multipartBody8040880432817847684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144243720,"filename":"image_31122025_02_10_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4bd4b8c3d8a4ea4b609122d2308a176.jpg","text":"TemporaryFile(/tmp/multipartBody1541532643635939605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144243720,"filename":"image_31122025_02_10_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9552e5346c68562975824530129a9e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1495548624894262047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144243720,"filename":"image_31122025_02_09_44_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817960","file1":"1401817957","file0":"1401817953","file4":"1401817966","file5":"1401817970","file3":"1401817963"},"map_files_photo_id_array":[{"photo_id":"1401817970","filename":"file5"},{"photo_id":"1401817960","filename":"file2"},{"photo_id":"1401817966","filename":"file4"},{"photo_id":"1401817957","filename":"file1"},{"photo_id":"1401817953","filename":"file0"},{"photo_id":"1401817963","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401817953":["hashtag1","hashtag2"]},{"1401817970":["hashtag1","hashtag2"]},{"1401817966":["hashtag1","hashtag2"]},{"1401817960":["hashtag1","hashtag2"]},{"1401817963":["hashtag1","hashtag2"]},{"1401817957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401817953, 1401817970, 1401817966, 1401817960, 1401817963, 1401817957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00229477882385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:23:42.539156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_10_1700.jpg', '/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_12_2527.jpg', '/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_35_2725.jpg', '/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_38_3561.jpg', '/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_41_2747.jpg', '/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_56_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_10_1700.jpg
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_12_2527.jpg
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_35_2725.jpg
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_38_3561.jpg
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_41_2747.jpg
/home/pi/Desktop/images/02112025/20/22/image_02112025_20_22_56_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818001","1401817997","1401817982","1401817987","1401817978","1401817995"],"photo_ids_order":["1401817978","1401817982","1401817987","1401817995","1401817997","1401818001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aeaf330069e91f6ee50c9f0559ed184e.jpg","text":"TemporaryFile(/tmp/multipartBody1562102154651741099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144284469,"filename":"image_02112025_20_22_56_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7500a7c49a335a93fe8b1889b10c121.jpg","text":"TemporaryFile(/tmp/multipartBody2240373431298928871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144284469,"filename":"image_02112025_20_22_41_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/355d8658baff943a26209c6128425ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2535898461709796315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144284469,"filename":"image_02112025_20_22_12_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e1d034a7734dc5b15959a58bb675331.jpg","text":"TemporaryFile(/tmp/multipartBody9052520530211891664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144284469,"filename":"image_02112025_20_22_35_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82efe9b34f5587f5e7331a95462f3eef.jpg","text":"TemporaryFile(/tmp/multipartBody8458334459291112678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144284469,"filename":"image_02112025_20_22_10_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e457ae8c8b669301837a6d6dde132bc.jpg","text":"TemporaryFile(/tmp/multipartBody4564946085343032420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144284469,"filename":"image_02112025_20_22_38_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401817987","file1":"1401817982","file0":"1401817978","file4":"1401817997","file5":"1401818001","file3":"1401817995"},"map_files_photo_id_array":[{"photo_id":"1401818001","filename":"file5"},{"photo_id":"1401817987","filename":"file2"},{"photo_id":"1401817997","filename":"file4"},{"photo_id":"1401817982","filename":"file1"},{"photo_id":"1401817978","filename":"file0"},{"photo_id":"1401817995","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818001":["hashtag1","hashtag2"]},{"1401817997":["hashtag1","hashtag2"]},{"1401817982":["hashtag1","hashtag2"]},{"1401817987":["hashtag1","hashtag2"]},{"1401817978":["hashtag1","hashtag2"]},{"1401817995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818001, 1401817997, 1401817982, 1401817987, 1401817978, 1401817995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38029098510742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:24:22.860604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_45_11248.jpg', '/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_54_8857.jpg', '/home/pi/Desktop/images/31122025/02/10/image_31122025_02_11_04_10203.jpg', '/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_14_9692.jpg', '/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_24_9749.jpg', '/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_35_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_45_11248.jpg
/home/pi/Desktop/images/31122025/02/10/image_31122025_02_10_54_8857.jpg
/home/pi/Desktop/images/31122025/02/10/image_31122025_02_11_04_10203.jpg
/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_14_9692.jpg
/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_24_9749.jpg
/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_35_10780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818016","1401818025","1401818010","1401818027","1401818012","1401818008"],"photo_ids_order":["1401818008","1401818010","1401818012","1401818016","1401818025","1401818027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8769f9864d439cb37309c625bcb984ca.jpg","text":"TemporaryFile(/tmp/multipartBody3339945056276188109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144323468,"filename":"image_31122025_02_11_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6701158002c29a9871623621aefe728.jpg","text":"TemporaryFile(/tmp/multipartBody1551031570480401283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144323468,"filename":"image_31122025_02_11_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a85393f76a9328cd2980f1465233cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3489374850948802373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144323468,"filename":"image_31122025_02_10_54_8857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acb479b0b8eaa40378080f58d2d2c19d.jpg","text":"TemporaryFile(/tmp/multipartBody7299696274984417079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144323468,"filename":"image_31122025_02_11_35_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ef848e9289b94877b91afaefce4f259.jpg","text":"TemporaryFile(/tmp/multipartBody9080789953345549804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144323468,"filename":"image_31122025_02_11_04_10203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a69e49276a460b635e4f63eefc78005a.jpg","text":"TemporaryFile(/tmp/multipartBody9123457983974073811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144323468,"filename":"image_31122025_02_10_45_11248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818012","file1":"1401818010","file0":"1401818008","file4":"1401818025","file5":"1401818027","file3":"1401818016"},"map_files_photo_id_array":[{"photo_id":"1401818027","filename":"file5"},{"photo_id":"1401818012","filename":"file2"},{"photo_id":"1401818025","filename":"file4"},{"photo_id":"1401818010","filename":"file1"},{"photo_id":"1401818008","filename":"file0"},{"photo_id":"1401818016","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818016":["hashtag1","hashtag2"]},{"1401818025":["hashtag1","hashtag2"]},{"1401818010":["hashtag1","hashtag2"]},{"1401818027":["hashtag1","hashtag2"]},{"1401818012":["hashtag1","hashtag2"]},{"1401818008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818016, 1401818025, 1401818010, 1401818027, 1401818012, 1401818008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92275905609131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:25:02.607090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_44_9675.jpg', '/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_54_9559.jpg', '/home/pi/Desktop/images/31122025/02/11/image_31122025_02_12_05_10725.jpg', '/home/pi/Desktop/images/31122025/02/12/image_31122025_02_12_14_9898.jpg', '/home/pi/Desktop/images/31122025/02/12/image_31122025_02_12_24_9506.jpg', '/home/pi/Desktop/images/31122025/02/12/image_31122025_02_12_34_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_44_9675.jpg
/home/pi/Desktop/images/31122025/02/11/image_31122025_02_11_54_9559.jpg
/home/pi/Desktop/images/31122025/02/11/image_31122025_02_12_05_10725.jpg
/home/pi/Desktop/images/31122025/02/12/image_31122025_02_12_14_9898.jpg
/home/pi/Desktop/images/31122025/02/12/image_31122025_02_12_24_9506.jpg
/home/pi/Desktop/images/31122025/02/12/image_31122025_02_12_34_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818037","1401818057","1401818053","1401818047","1401818050","1401818031"],"photo_ids_order":["1401818031","1401818037","1401818047","1401818050","1401818053","1401818057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87eb304bb52c59b88147a34b0a45aad1.jpg","text":"TemporaryFile(/tmp/multipartBody3099843725612165614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144363249,"filename":"image_31122025_02_11_54_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15ae5c061473e0189c456db8776c4968.jpg","text":"TemporaryFile(/tmp/multipartBody3826752226181266915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144363249,"filename":"image_31122025_02_12_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b15463a2d3bd5335a167763f0bd24224.jpg","text":"TemporaryFile(/tmp/multipartBody3679672006885959042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144363249,"filename":"image_31122025_02_12_24_9506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f15b42165d7a7624c7d66a72854458e.jpg","text":"TemporaryFile(/tmp/multipartBody3135452880882840997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144363249,"filename":"image_31122025_02_12_05_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2636acaa8011ed8367da615de93fd69c.jpg","text":"TemporaryFile(/tmp/multipartBody365194563966531900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144363249,"filename":"image_31122025_02_12_14_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13e159de54840568b3addf7f0f2ce961.jpg","text":"TemporaryFile(/tmp/multipartBody7471705844671038663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144363249,"filename":"image_31122025_02_11_44_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818047","file1":"1401818037","file0":"1401818031","file4":"1401818053","file5":"1401818057","file3":"1401818050"},"map_files_photo_id_array":[{"photo_id":"1401818057","filename":"file5"},{"photo_id":"1401818047","filename":"file2"},{"photo_id":"1401818053","filename":"file4"},{"photo_id":"1401818037","filename":"file1"},{"photo_id":"1401818031","filename":"file0"},{"photo_id":"1401818050","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818037":["hashtag1","hashtag2"]},{"1401818057":["hashtag1","hashtag2"]},{"1401818053":["hashtag1","hashtag2"]},{"1401818047":["hashtag1","hashtag2"]},{"1401818050":["hashtag1","hashtag2"]},{"1401818031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818037, 1401818057, 1401818053, 1401818047, 1401818050, 1401818031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32610774040222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:25:41.914897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_05_2619.jpg', '/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_08_3557.jpg', '/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_11_2742.jpg', '/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_14_2667.jpg', '/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_23_3511.jpg', '/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_26_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_05_2619.jpg
/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_08_3557.jpg
/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_11_2742.jpg
/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_14_2667.jpg
/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_23_3511.jpg
/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_26_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818069","1401818066","1401818071","1401818068","1401818070","1401818073"],"photo_ids_order":["1401818066","1401818068","1401818069","1401818070","1401818071","1401818073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62a9679ba2ea89d04ddce880cecc5003.jpg","text":"TemporaryFile(/tmp/multipartBody6485362920688093013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144403814,"filename":"image_02112025_20_23_11_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50ffac471077b0d086a2ddfa5244ec03.jpg","text":"TemporaryFile(/tmp/multipartBody632217432635331690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144403814,"filename":"image_02112025_20_23_05_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89ae290d3d1aebefa4e477206f3f6a1e.jpg","text":"TemporaryFile(/tmp/multipartBody4098334137423479683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144403814,"filename":"image_02112025_20_23_23_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94ab17c5597a4e3aaf33aafffc503a40.jpg","text":"TemporaryFile(/tmp/multipartBody8177906570014131966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144403814,"filename":"image_02112025_20_23_08_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e540f7cad1e907e123a689f8dace25cf.jpg","text":"TemporaryFile(/tmp/multipartBody5452200556295102968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144403814,"filename":"image_02112025_20_23_14_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a91e3d9c24b7f4f30357d1065cd7c539.jpg","text":"TemporaryFile(/tmp/multipartBody292392901389230822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144403814,"filename":"image_02112025_20_23_26_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818069","file1":"1401818068","file0":"1401818066","file4":"1401818071","file5":"1401818073","file3":"1401818070"},"map_files_photo_id_array":[{"photo_id":"1401818073","filename":"file5"},{"photo_id":"1401818069","filename":"file2"},{"photo_id":"1401818071","filename":"file4"},{"photo_id":"1401818068","filename":"file1"},{"photo_id":"1401818066","filename":"file0"},{"photo_id":"1401818070","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818069":["hashtag1","hashtag2"]},{"1401818066":["hashtag1","hashtag2"]},{"1401818071":["hashtag1","hashtag2"]},{"1401818068":["hashtag1","hashtag2"]},{"1401818070":["hashtag1","hashtag2"]},{"1401818073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818069, 1401818066, 1401818071, 1401818068, 1401818070, 1401818073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59963083267212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:26:22.174878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/12/image_31122025_02_12_54_9407.jpg', '/home/pi/Desktop/images/31122025/02/12/image_31122025_02_13_05_10660.jpg', '/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_14_9720.jpg', '/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_24_9875.jpg', '/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_34_9849.jpg', '/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_44_10209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/12/image_31122025_02_12_54_9407.jpg
/home/pi/Desktop/images/31122025/02/12/image_31122025_02_13_05_10660.jpg
/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_14_9720.jpg
/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_24_9875.jpg
/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_34_9849.jpg
/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_44_10209.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818093","1401818086","1401818095","1401818089","1401818101","1401818091"],"photo_ids_order":["1401818086","1401818089","1401818091","1401818093","1401818095","1401818101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc422bd8f6ac92d93d5bc4eabf85479e.jpg","text":"TemporaryFile(/tmp/multipartBody746288609859663965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144442768,"filename":"image_31122025_02_13_24_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af7ba735ab589c64a75edacad3d08b78.jpg","text":"TemporaryFile(/tmp/multipartBody6764898364078025538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144442768,"filename":"image_31122025_02_12_54_9407.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be4b36ca5bc7d1cf08c51ffd98bb1f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1918651845432530103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144442768,"filename":"image_31122025_02_13_34_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/298926a7b049fa95ee4d7b043acdf428.jpg","text":"TemporaryFile(/tmp/multipartBody4692456212578879282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144442768,"filename":"image_31122025_02_13_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/483ef7a1f10863dd23a81c6057d1460c.jpg","text":"TemporaryFile(/tmp/multipartBody3977496370187142623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144442768,"filename":"image_31122025_02_13_44_10209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac5c6cb67b7afbec431ea40f3b8f1827.jpg","text":"TemporaryFile(/tmp/multipartBody8416366228413824655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144442768,"filename":"image_31122025_02_13_14_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818091","file1":"1401818089","file0":"1401818086","file4":"1401818095","file5":"1401818101","file3":"1401818093"},"map_files_photo_id_array":[{"photo_id":"1401818101","filename":"file5"},{"photo_id":"1401818091","filename":"file2"},{"photo_id":"1401818095","filename":"file4"},{"photo_id":"1401818089","filename":"file1"},{"photo_id":"1401818086","filename":"file0"},{"photo_id":"1401818093","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818093":["hashtag1","hashtag2"]},{"1401818086":["hashtag1","hashtag2"]},{"1401818095":["hashtag1","hashtag2"]},{"1401818089":["hashtag1","hashtag2"]},{"1401818101":["hashtag1","hashtag2"]},{"1401818091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818093, 1401818086, 1401818095, 1401818089, 1401818101, 1401818091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51835560798645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:27:02.926841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_54_9778.jpg', '/home/pi/Desktop/images/31122025/02/13/image_31122025_02_14_04_10127.jpg', '/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_14_9936.jpg', '/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_24_9926.jpg', '/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_34_9852.jpg', '/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_44_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/13/image_31122025_02_13_54_9778.jpg
/home/pi/Desktop/images/31122025/02/13/image_31122025_02_14_04_10127.jpg
/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_14_9936.jpg
/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_24_9926.jpg
/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_34_9852.jpg
/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_44_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818112","1401818124","1401818120","1401818114","1401818108","1401818116"],"photo_ids_order":["1401818108","1401818112","1401818114","1401818116","1401818120","1401818124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd109d2b9ee153344dc2631d1c5e4d85.jpg","text":"TemporaryFile(/tmp/multipartBody8144841518767374141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144483653,"filename":"image_31122025_02_14_04_10127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5e721630fa245a8b155d4330002bb88.jpg","text":"TemporaryFile(/tmp/multipartBody1396162980618553987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144483653,"filename":"image_31122025_02_14_44_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d475199f9bdb0ae0d227468a4bb0c81d.jpg","text":"TemporaryFile(/tmp/multipartBody7885726235563566085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144483653,"filename":"image_31122025_02_14_34_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d3a3e2a7f3ea76ec34998cd178e1f6c.jpg","text":"TemporaryFile(/tmp/multipartBody2424048490367134603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144483653,"filename":"image_31122025_02_14_14_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6830dd8065f39b4fb8927fc72038030f.jpg","text":"TemporaryFile(/tmp/multipartBody1446677372518626634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144483653,"filename":"image_31122025_02_13_54_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1c7a0601b95977fa85775d1b56f5cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8904367964465595252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144483653,"filename":"image_31122025_02_14_24_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818114","file1":"1401818112","file0":"1401818108","file4":"1401818120","file5":"1401818124","file3":"1401818116"},"map_files_photo_id_array":[{"photo_id":"1401818124","filename":"file5"},{"photo_id":"1401818114","filename":"file2"},{"photo_id":"1401818120","filename":"file4"},{"photo_id":"1401818112","filename":"file1"},{"photo_id":"1401818108","filename":"file0"},{"photo_id":"1401818116","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818112":["hashtag1","hashtag2"]},{"1401818124":["hashtag1","hashtag2"]},{"1401818120":["hashtag1","hashtag2"]},{"1401818114":["hashtag1","hashtag2"]},{"1401818108":["hashtag1","hashtag2"]},{"1401818116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818112, 1401818124, 1401818120, 1401818114, 1401818108, 1401818116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55210614204407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:27:42.375606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_59_2809.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_05_2570.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_17_2731.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_26_2675.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_29_2674.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_31_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/23/image_02112025_20_23_59_2809.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_05_2570.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_17_2731.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_26_2675.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_29_2674.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_31_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818148","1401818135","1401818132","1401818149","1401818143","1401818137"],"photo_ids_order":["1401818132","1401818135","1401818137","1401818143","1401818148","1401818149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcd3bb3e5c142ad6d85c3957d878c2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6752711337455289582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144524263,"filename":"image_02112025_20_24_29_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05315b8d8258686b7ac3b467f9015cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3333381639625857768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144524263,"filename":"image_02112025_20_24_05_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/008ff823854e8099fef9327613da8961.jpg","text":"TemporaryFile(/tmp/multipartBody1339153431029669368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144524263,"filename":"image_02112025_20_23_59_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a457bed5d3e6fd9f7d67895fcdbb7e9.jpg","text":"TemporaryFile(/tmp/multipartBody2977156306052183304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144524263,"filename":"image_02112025_20_24_31_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a973f5df7bcec634e00a6ca6c3d97404.jpg","text":"TemporaryFile(/tmp/multipartBody1822076343988353681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144524263,"filename":"image_02112025_20_24_26_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62ac63ba0ce5a9b277a0efe7b29c6043.jpg","text":"TemporaryFile(/tmp/multipartBody8162629058151636383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144524263,"filename":"image_02112025_20_24_17_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818137","file1":"1401818135","file0":"1401818132","file4":"1401818148","file5":"1401818149","file3":"1401818143"},"map_files_photo_id_array":[{"photo_id":"1401818149","filename":"file5"},{"photo_id":"1401818137","filename":"file2"},{"photo_id":"1401818148","filename":"file4"},{"photo_id":"1401818135","filename":"file1"},{"photo_id":"1401818132","filename":"file0"},{"photo_id":"1401818143","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818148":["hashtag1","hashtag2"]},{"1401818135":["hashtag1","hashtag2"]},{"1401818132":["hashtag1","hashtag2"]},{"1401818149":["hashtag1","hashtag2"]},{"1401818143":["hashtag1","hashtag2"]},{"1401818137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818148, 1401818135, 1401818132, 1401818149, 1401818143, 1401818137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.347267389297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:28:22.543337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_54_9788.jpg', '/home/pi/Desktop/images/31122025/02/14/image_31122025_02_15_04_9737.jpg', '/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_14_9964.jpg', '/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_25_10688.jpg', '/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_37_12754.jpg', '/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_44_6696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/14/image_31122025_02_14_54_9788.jpg
/home/pi/Desktop/images/31122025/02/14/image_31122025_02_15_04_9737.jpg
/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_14_9964.jpg
/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_25_10688.jpg
/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_37_12754.jpg
/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_44_6696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818160","1401818154","1401818168","1401818165","1401818163","1401818157"],"photo_ids_order":["1401818154","1401818157","1401818160","1401818163","1401818165","1401818168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46ed2a64f85650db1a1b777c86b119fe.jpg","text":"TemporaryFile(/tmp/multipartBody9142358283830697138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144563215,"filename":"image_31122025_02_15_14_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9b4960e846ccbbd5380d39fa0ae3ff2.jpg","text":"TemporaryFile(/tmp/multipartBody8325850307370253895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144563215,"filename":"image_31122025_02_14_54_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/933b44422d8001dc8327311f8d0f352e.jpg","text":"TemporaryFile(/tmp/multipartBody2758297213640426428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144563215,"filename":"image_31122025_02_15_44_6696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5527dd27e966213379c5248f94f313a1.jpg","text":"TemporaryFile(/tmp/multipartBody3891950680253646863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144563215,"filename":"image_31122025_02_15_37_12754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a1893aeb272b98830902a5b9c49341f.jpg","text":"TemporaryFile(/tmp/multipartBody750387993153481727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144563215,"filename":"image_31122025_02_15_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5a52618fd034f0c53b3d02307f72778.jpg","text":"TemporaryFile(/tmp/multipartBody4492769884751826851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144563215,"filename":"image_31122025_02_15_04_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818160","file1":"1401818157","file0":"1401818154","file4":"1401818165","file5":"1401818168","file3":"1401818163"},"map_files_photo_id_array":[{"photo_id":"1401818168","filename":"file5"},{"photo_id":"1401818160","filename":"file2"},{"photo_id":"1401818165","filename":"file4"},{"photo_id":"1401818157","filename":"file1"},{"photo_id":"1401818154","filename":"file0"},{"photo_id":"1401818163","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818160":["hashtag1","hashtag2"]},{"1401818154":["hashtag1","hashtag2"]},{"1401818168":["hashtag1","hashtag2"]},{"1401818165":["hashtag1","hashtag2"]},{"1401818163":["hashtag1","hashtag2"]},{"1401818157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818160, 1401818154, 1401818168, 1401818165, 1401818163, 1401818157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19909191131592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:29:03.728751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_54_9661.jpg', '/home/pi/Desktop/images/31122025/02/15/image_31122025_02_16_04_10195.jpg', '/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_15_10716.jpg', '/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_24_9741.jpg', '/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_34_9858.jpg', '/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_44_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/15/image_31122025_02_15_54_9661.jpg
/home/pi/Desktop/images/31122025/02/15/image_31122025_02_16_04_10195.jpg
/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_15_10716.jpg
/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_24_9741.jpg
/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_34_9858.jpg
/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_44_9857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818189","1401818201","1401818185","1401818193","1401818196","1401818181"],"photo_ids_order":["1401818181","1401818185","1401818189","1401818193","1401818196","1401818201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cf3b23c7182de5b63981dfbcc076725.jpg","text":"TemporaryFile(/tmp/multipartBody3346990408837416064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144604537,"filename":"image_31122025_02_16_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/636ab694aa31e093b7cb5f09fd9db796.jpg","text":"TemporaryFile(/tmp/multipartBody4173291496592716188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144604537,"filename":"image_31122025_02_16_44_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78663e91a65e763702451e95facd7ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2154845580262210673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144604537,"filename":"image_31122025_02_16_04_10195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66a112a9ed4d8d71b76fccdd61c810b4.jpg","text":"TemporaryFile(/tmp/multipartBody6688706213053926219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144604537,"filename":"image_31122025_02_16_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1599036e4d5ec6cbe13390be82d95c3.jpg","text":"TemporaryFile(/tmp/multipartBody2983722248307591299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144604537,"filename":"image_31122025_02_16_34_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edcf66e77c98f9ef757af9b2a38df2c1.jpg","text":"TemporaryFile(/tmp/multipartBody2955205522892318228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144604537,"filename":"image_31122025_02_15_54_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818189","file1":"1401818185","file0":"1401818181","file4":"1401818196","file5":"1401818201","file3":"1401818193"},"map_files_photo_id_array":[{"photo_id":"1401818201","filename":"file5"},{"photo_id":"1401818189","filename":"file2"},{"photo_id":"1401818196","filename":"file4"},{"photo_id":"1401818185","filename":"file1"},{"photo_id":"1401818181","filename":"file0"},{"photo_id":"1401818193","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818189":["hashtag1","hashtag2"]},{"1401818201":["hashtag1","hashtag2"]},{"1401818185":["hashtag1","hashtag2"]},{"1401818193":["hashtag1","hashtag2"]},{"1401818196":["hashtag1","hashtag2"]},{"1401818181":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818189, 1401818201, 1401818185, 1401818193, 1401818196, 1401818181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39259362220764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:29:42.837168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_35_3747.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_38_2558.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_40_2790.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_44_3606.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_47_2593.jpg', '/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_49_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_35_3747.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_38_2558.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_40_2790.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_44_3606.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_47_2593.jpg
/home/pi/Desktop/images/02112025/20/24/image_02112025_20_24_49_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818232","1401818235","1401818217","1401818215","1401818209","1401818212"],"photo_ids_order":["1401818209","1401818212","1401818215","1401818217","1401818232","1401818235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3836ae41f6f45dacf86f73a84781464b.jpg","text":"TemporaryFile(/tmp/multipartBody37553720185249757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144644769,"filename":"image_02112025_20_24_47_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7942cb7ae5fb4dd6c73f08e980483c96.jpg","text":"TemporaryFile(/tmp/multipartBody3942524598484954603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144644769,"filename":"image_02112025_20_24_49_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9dfe585e0f533d1fc002d5f5fc3395f2.jpg","text":"TemporaryFile(/tmp/multipartBody2688576874291116244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144644769,"filename":"image_02112025_20_24_44_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bcc1aa02f4a7e5255c7e771ca057912.jpg","text":"TemporaryFile(/tmp/multipartBody5321263764078400486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144644769,"filename":"image_02112025_20_24_40_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4572c6319ddd846cd865b614f4be34f6.jpg","text":"TemporaryFile(/tmp/multipartBody5363182614077924012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144644769,"filename":"image_02112025_20_24_35_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e341c27630fc88dc70c90354ada3a64d.jpg","text":"TemporaryFile(/tmp/multipartBody5692310390680635624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144644769,"filename":"image_02112025_20_24_38_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818215","file1":"1401818212","file0":"1401818209","file4":"1401818232","file5":"1401818235","file3":"1401818217"},"map_files_photo_id_array":[{"photo_id":"1401818235","filename":"file5"},{"photo_id":"1401818215","filename":"file2"},{"photo_id":"1401818232","filename":"file4"},{"photo_id":"1401818212","filename":"file1"},{"photo_id":"1401818209","filename":"file0"},{"photo_id":"1401818217","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818232":["hashtag1","hashtag2"]},{"1401818235":["hashtag1","hashtag2"]},{"1401818217":["hashtag1","hashtag2"]},{"1401818215":["hashtag1","hashtag2"]},{"1401818209":["hashtag1","hashtag2"]},{"1401818212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818232, 1401818235, 1401818217, 1401818215, 1401818209, 1401818212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.23837566375732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:31:02.881881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_54_9866.jpg', '/home/pi/Desktop/images/31122025/02/16/image_31122025_02_17_05_10694.jpg', '/home/pi/Desktop/images/31122025/02/17/image_31122025_02_17_14_9734.jpg', '/home/pi/Desktop/images/31122025/02/17/image_31122025_02_17_24_9980.jpg', '/home/pi/Desktop/images/31122025/02/17/image_31122025_02_17_34_9560.jpg', '/home/pi/Desktop/images/31122025/02/17/image_31122025_02_17_44_10315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/16/image_31122025_02_16_54_9866.jpg
/home/pi/Desktop/images/31122025/02/16/image_31122025_02_17_05_10694.jpg
/home/pi/Desktop/images/31122025/02/17/image_31122025_02_17_14_9734.jpg
/home/pi/Desktop/images/31122025/02/17/image_31122025_02_17_24_9980.jpg
/home/pi/Desktop/images/31122025/02/17/image_31122025_02_17_34_9560.jpg
/home/pi/Desktop/images/31122025/02/17/image_31122025_02_17_44_10315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818252","1401818255","1401818249","1401818246","1401818257","1401818262"],"photo_ids_order":["1401818246","1401818249","1401818252","1401818255","1401818257","1401818262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d84dc4987768275223e59c075f94d2a3.jpg","text":"TemporaryFile(/tmp/multipartBody8842650949068759058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144723590,"filename":"image_31122025_02_17_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/618796606176f030635e2b51c88f89ca.jpg","text":"TemporaryFile(/tmp/multipartBody6493165245389607598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144723590,"filename":"image_31122025_02_17_24_9980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2e3a8e4a1f9dface41b721383e218cb.jpg","text":"TemporaryFile(/tmp/multipartBody8792026823336713807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144723590,"filename":"image_31122025_02_17_05_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b881adc7dcac1b2d5fd9e6a98321f84.jpg","text":"TemporaryFile(/tmp/multipartBody4864712685605301021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144723590,"filename":"image_31122025_02_16_54_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5b2282b04f57cf611cb28349ba83bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7398306501429309777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144723590,"filename":"image_31122025_02_17_34_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/513e6236a1e7f82079109a1384d407ba.jpg","text":"TemporaryFile(/tmp/multipartBody7046658738614083898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144723590,"filename":"image_31122025_02_17_44_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818252","file1":"1401818249","file0":"1401818246","file4":"1401818257","file5":"1401818262","file3":"1401818255"},"map_files_photo_id_array":[{"photo_id":"1401818262","filename":"file5"},{"photo_id":"1401818252","filename":"file2"},{"photo_id":"1401818257","filename":"file4"},{"photo_id":"1401818249","filename":"file1"},{"photo_id":"1401818246","filename":"file0"},{"photo_id":"1401818255","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818252":["hashtag1","hashtag2"]},{"1401818255":["hashtag1","hashtag2"]},{"1401818249":["hashtag1","hashtag2"]},{"1401818246":["hashtag1","hashtag2"]},{"1401818257":["hashtag1","hashtag2"]},{"1401818262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818252, 1401818255, 1401818249, 1401818246, 1401818257, 1401818262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30513906478882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:31:42.260552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_04_2045.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_17_3632.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_27_4086.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_35_6366.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_36_1613.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_58_8783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_04_2045.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_17_3632.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_27_4086.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_35_6366.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_36_1613.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_58_8783.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.789491891860962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:32:02.838163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_14_9826.jpg', '/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_24_9804.jpg', '/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_34_9600.jpg', '/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_44_10668.jpg', '/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_54_9762.jpg', '/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_14_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_14_9826.jpg
/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_24_9804.jpg
/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_34_9600.jpg
/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_44_10668.jpg
/home/pi/Desktop/images/31122025/02/18/image_31122025_02_18_54_9762.jpg
/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_14_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818294","1401818282","1401818281","1401818284","1401818286","1401818289"],"photo_ids_order":["1401818281","1401818282","1401818284","1401818286","1401818289","1401818294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2428e00b1c81a81a9c0f45e3c5a62321.jpg","text":"TemporaryFile(/tmp/multipartBody4811752507668856920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144783567,"filename":"image_31122025_02_19_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29cc135d5cd43087206797c22a9559fe.jpg","text":"TemporaryFile(/tmp/multipartBody8127275919081414515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144783567,"filename":"image_31122025_02_18_24_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ad0121f723e15f0d07a1ddf1bd633fe.jpg","text":"TemporaryFile(/tmp/multipartBody2820464452191691370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144783567,"filename":"image_31122025_02_18_14_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c2b9849fb5c258538f7b8aba0c3a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1272738619806066012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144783567,"filename":"image_31122025_02_18_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15eab02e4d0fb4b7b2429a72edfd83fd.jpg","text":"TemporaryFile(/tmp/multipartBody868161581575024095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144783567,"filename":"image_31122025_02_18_44_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/646801435fa344b7b445a049fa518fc0.jpg","text":"TemporaryFile(/tmp/multipartBody569216773823721920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144783567,"filename":"image_31122025_02_18_54_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818284","file1":"1401818282","file0":"1401818281","file4":"1401818289","file5":"1401818294","file3":"1401818286"},"map_files_photo_id_array":[{"photo_id":"1401818294","filename":"file5"},{"photo_id":"1401818284","filename":"file2"},{"photo_id":"1401818289","filename":"file4"},{"photo_id":"1401818282","filename":"file1"},{"photo_id":"1401818281","filename":"file0"},{"photo_id":"1401818286","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818294":["hashtag1","hashtag2"]},{"1401818282":["hashtag1","hashtag2"]},{"1401818281":["hashtag1","hashtag2"]},{"1401818284":["hashtag1","hashtag2"]},{"1401818286":["hashtag1","hashtag2"]},{"1401818289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818294, 1401818282, 1401818281, 1401818284, 1401818286, 1401818289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03426766395569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:32:42.462701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_04_2045.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_17_3632.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_27_4086.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_35_6366.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_36_1613.jpg', '/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_58_8783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_04_2045.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_17_3632.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_27_4086.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_35_6366.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_36_1613.jpg
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_25_58_8783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818325","1401818319","1401818322","1401818315","1401818323","1401818317"],"photo_ids_order":["1401818315","1401818317","1401818319","1401818322","1401818323","1401818325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4901dde46f5aab1e449a68569e0d84bb.jpg","text":"TemporaryFile(/tmp/multipartBody2377363945391302469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144824204,"filename":"image_02112025_20_25_58_8783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d6016163b5c19f684622e1e41c11c82.jpg","text":"TemporaryFile(/tmp/multipartBody6279298402429029232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144824204,"filename":"image_02112025_20_25_27_4086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/606d83db8c807f5073204454fa088893.jpg","text":"TemporaryFile(/tmp/multipartBody3894137448202738072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144824204,"filename":"image_02112025_20_25_35_6366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5dfb8cc037dacb5ea49e26745fbe04c9.jpg","text":"TemporaryFile(/tmp/multipartBody6377781830946221342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144824204,"filename":"image_02112025_20_25_04_2045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f00354e52377caf7e9514b6b43e6b68.jpg","text":"TemporaryFile(/tmp/multipartBody5251853897252625791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144824204,"filename":"image_02112025_20_25_36_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccf87d8f450a27436fbbc75dd432a798.jpg","text":"TemporaryFile(/tmp/multipartBody5844654035188682011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144824204,"filename":"image_02112025_20_25_17_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818319","file1":"1401818317","file0":"1401818315","file4":"1401818323","file5":"1401818325","file3":"1401818322"},"map_files_photo_id_array":[{"photo_id":"1401818325","filename":"file5"},{"photo_id":"1401818319","filename":"file2"},{"photo_id":"1401818323","filename":"file4"},{"photo_id":"1401818317","filename":"file1"},{"photo_id":"1401818315","filename":"file0"},{"photo_id":"1401818322","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818325":["hashtag1","hashtag2"]},{"1401818319":["hashtag1","hashtag2"]},{"1401818322":["hashtag1","hashtag2"]},{"1401818315":["hashtag1","hashtag2"]},{"1401818323":["hashtag1","hashtag2"]},{"1401818317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818325, 1401818319, 1401818322, 1401818315, 1401818323, 1401818317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06521248817444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:33:22.671433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_25_10879.jpg', '/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_34_9617.jpg', '/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_44_9836.jpg', '/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_54_9723.jpg', '/home/pi/Desktop/images/31122025/02/19/image_31122025_02_20_05_10829.jpg', '/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_14_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_25_10879.jpg
/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_34_9617.jpg
/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_44_9836.jpg
/home/pi/Desktop/images/31122025/02/19/image_31122025_02_19_54_9723.jpg
/home/pi/Desktop/images/31122025/02/19/image_31122025_02_20_05_10829.jpg
/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_14_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818348","1401818342","1401818345","1401818339","1401818332","1401818335"],"photo_ids_order":["1401818332","1401818335","1401818339","1401818342","1401818345","1401818348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8893e074408b9e4fb5504191e198c9c.jpg","text":"TemporaryFile(/tmp/multipartBody4575331423633455501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144863267,"filename":"image_31122025_02_20_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42d494541d86acae6c876ace530112cd.jpg","text":"TemporaryFile(/tmp/multipartBody5477566551370176920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144863267,"filename":"image_31122025_02_19_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a909b92273e89b6b2d75c33057f629db.jpg","text":"TemporaryFile(/tmp/multipartBody5628804830270570173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144863267,"filename":"image_31122025_02_20_05_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8a3dec5e2875d29876a6517d473d792.jpg","text":"TemporaryFile(/tmp/multipartBody6847715798611407142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144863267,"filename":"image_31122025_02_19_44_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c1a6cfe39a8538b33bf659f13ab51be.jpg","text":"TemporaryFile(/tmp/multipartBody2210124862114138887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144863267,"filename":"image_31122025_02_19_25_10879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca4dd3061a373e827faa1cce072cbe33.jpg","text":"TemporaryFile(/tmp/multipartBody4668817713726261508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144863267,"filename":"image_31122025_02_19_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818339","file1":"1401818335","file0":"1401818332","file4":"1401818345","file5":"1401818348","file3":"1401818342"},"map_files_photo_id_array":[{"photo_id":"1401818348","filename":"file5"},{"photo_id":"1401818339","filename":"file2"},{"photo_id":"1401818345","filename":"file4"},{"photo_id":"1401818335","filename":"file1"},{"photo_id":"1401818332","filename":"file0"},{"photo_id":"1401818342","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818348":["hashtag1","hashtag2"]},{"1401818342":["hashtag1","hashtag2"]},{"1401818345":["hashtag1","hashtag2"]},{"1401818339":["hashtag1","hashtag2"]},{"1401818332":["hashtag1","hashtag2"]},{"1401818335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818348, 1401818342, 1401818345, 1401818339, 1401818332, 1401818335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21506190299988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:34:02.362340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_24_9740.jpg', '/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_44_9770.jpg', '/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_54_9670.jpg', '/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_14_9833.jpg', '/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_24_9693.jpg', '/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_24_9740.jpg
/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_44_9770.jpg
/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_54_9670.jpg
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_14_9833.jpg
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_24_9693.jpg
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_34_9642.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.586958646774292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:34:11.871191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/25/image_02112025_20_26_00_1678.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_02_1886.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_03_1695.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_05_1574.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_07_1696.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_08_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/25/image_02112025_20_26_00_1678.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_02_1886.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_03_1695.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_05_1574.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_07_1696.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_08_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818369","1401818380","1401818383","1401818377","1401818386","1401818373"],"photo_ids_order":["1401818369","1401818373","1401818377","1401818380","1401818383","1401818386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22554391f20fd212a497e66182620429.jpg","text":"TemporaryFile(/tmp/multipartBody5271088909787622239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144913739,"filename":"image_02112025_20_26_00_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/317048da1e1ea68607fc81b84465a40b.jpg","text":"TemporaryFile(/tmp/multipartBody7110074987237395358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144913739,"filename":"image_02112025_20_26_05_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1109047ba48e77c810ff9fb8c571c6a.jpg","text":"TemporaryFile(/tmp/multipartBody651907041005403851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144913739,"filename":"image_02112025_20_26_07_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81ffb1b30ac042ee2b9b9523f6a36398.jpg","text":"TemporaryFile(/tmp/multipartBody5162736086130792413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144913739,"filename":"image_02112025_20_26_03_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68e1e41276ef6b2297bff98c8458933d.jpg","text":"TemporaryFile(/tmp/multipartBody7350367571293433395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144913739,"filename":"image_02112025_20_26_08_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/706af0a89cbb6aa12e890007d6b3a43e.jpg","text":"TemporaryFile(/tmp/multipartBody5629777262460621070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144913739,"filename":"image_02112025_20_26_02_1886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818377","file1":"1401818373","file0":"1401818369","file4":"1401818383","file5":"1401818386","file3":"1401818380"},"map_files_photo_id_array":[{"photo_id":"1401818386","filename":"file5"},{"photo_id":"1401818377","filename":"file2"},{"photo_id":"1401818383","filename":"file4"},{"photo_id":"1401818373","filename":"file1"},{"photo_id":"1401818369","filename":"file0"},{"photo_id":"1401818380","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818369":["hashtag1","hashtag2"]},{"1401818380":["hashtag1","hashtag2"]},{"1401818383":["hashtag1","hashtag2"]},{"1401818377":["hashtag1","hashtag2"]},{"1401818386":["hashtag1","hashtag2"]},{"1401818373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818369, 1401818380, 1401818383, 1401818377, 1401818386, 1401818373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.862509965896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:35:02.838089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_24_9740.jpg', '/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_44_9770.jpg', '/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_54_9670.jpg', '/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_14_9833.jpg', '/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_24_9693.jpg', '/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_24_9740.jpg
/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_44_9770.jpg
/home/pi/Desktop/images/31122025/02/20/image_31122025_02_20_54_9670.jpg
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_14_9833.jpg
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_24_9693.jpg
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_34_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818435","1401818438","1401818408","1401818431","1401818419","1401818442"],"photo_ids_order":["1401818408","1401818419","1401818431","1401818435","1401818438","1401818442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d27d87a1ebe4b1c9e30f15193f73dfb.jpg","text":"TemporaryFile(/tmp/multipartBody4654978206263943063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144963476,"filename":"image_31122025_02_21_14_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26d3723238c9df19bb4ff8cbf7f65980.jpg","text":"TemporaryFile(/tmp/multipartBody8135692789105739986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144963476,"filename":"image_31122025_02_21_24_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebfd69fa9a17ffa13d86ff9bd2a0c325.jpg","text":"TemporaryFile(/tmp/multipartBody6881248306438606141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144963476,"filename":"image_31122025_02_20_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d4aff8d52459df45f35287bc1757053.jpg","text":"TemporaryFile(/tmp/multipartBody6972804812609047031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144963476,"filename":"image_31122025_02_20_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4a66184cbce2626565c74de4b34afd4.jpg","text":"TemporaryFile(/tmp/multipartBody3996248753591436928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144963476,"filename":"image_31122025_02_20_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f9f3d9703261ae90b67beb3c1c0b012.jpg","text":"TemporaryFile(/tmp/multipartBody6811270775250282619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767144963476,"filename":"image_31122025_02_21_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818431","file1":"1401818419","file0":"1401818408","file4":"1401818438","file5":"1401818442","file3":"1401818435"},"map_files_photo_id_array":[{"photo_id":"1401818442","filename":"file5"},{"photo_id":"1401818431","filename":"file2"},{"photo_id":"1401818438","filename":"file4"},{"photo_id":"1401818419","filename":"file1"},{"photo_id":"1401818408","filename":"file0"},{"photo_id":"1401818435","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818435":["hashtag1","hashtag2"]},{"1401818438":["hashtag1","hashtag2"]},{"1401818408":["hashtag1","hashtag2"]},{"1401818431":["hashtag1","hashtag2"]},{"1401818419":["hashtag1","hashtag2"]},{"1401818442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818435, 1401818438, 1401818408, 1401818431, 1401818419, 1401818442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9301815032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:35:42.038362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_10_1683.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_14_1595.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_17_1962.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_21_1816.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_35_3707.jpg', '/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_43_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_10_1683.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_14_1595.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_17_1962.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_21_1816.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_35_3707.jpg
/home/pi/Desktop/images/02112025/20/26/image_02112025_20_26_43_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818459","1401818450","1401818453","1401818455","1401818458","1401818457"],"photo_ids_order":["1401818450","1401818453","1401818455","1401818457","1401818458","1401818459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/852a7fee92e3a2bc3fc39c75250f0589.jpg","text":"TemporaryFile(/tmp/multipartBody5204619204859971946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145003951,"filename":"image_02112025_20_26_43_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f048dce59336eba512992d2536c1a08.jpg","text":"TemporaryFile(/tmp/multipartBody2956020083906537349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145003951,"filename":"image_02112025_20_26_10_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86fd59aba6fe64ddfe5261423cbb522b.jpg","text":"TemporaryFile(/tmp/multipartBody2502357959948979289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145003951,"filename":"image_02112025_20_26_14_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33e895b11fb0be57c94a22cd73ec7f95.jpg","text":"TemporaryFile(/tmp/multipartBody4403203095403977443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145003951,"filename":"image_02112025_20_26_17_1962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e431e39f94f0c2a8be47ec0dee3d3fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6098076896385893725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145003951,"filename":"image_02112025_20_26_35_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf9c519e149e093fc5cddd37b7521b9f.jpg","text":"TemporaryFile(/tmp/multipartBody1600549075821790154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145003951,"filename":"image_02112025_20_26_21_1816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818455","file1":"1401818453","file0":"1401818450","file4":"1401818458","file5":"1401818459","file3":"1401818457"},"map_files_photo_id_array":[{"photo_id":"1401818459","filename":"file5"},{"photo_id":"1401818455","filename":"file2"},{"photo_id":"1401818458","filename":"file4"},{"photo_id":"1401818453","filename":"file1"},{"photo_id":"1401818450","filename":"file0"},{"photo_id":"1401818457","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818459":["hashtag1","hashtag2"]},{"1401818450":["hashtag1","hashtag2"]},{"1401818453":["hashtag1","hashtag2"]},{"1401818455":["hashtag1","hashtag2"]},{"1401818458":["hashtag1","hashtag2"]},{"1401818457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818459, 1401818450, 1401818453, 1401818455, 1401818458, 1401818457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60998845100403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:36:22.283463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_44_10537.jpg', '/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_54_9679.jpg', '/home/pi/Desktop/images/31122025/02/21/image_31122025_02_22_04_9746.jpg', '/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_14_10670.jpg', '/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_24_9790.jpg', '/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_34_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_44_10537.jpg
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_21_54_9679.jpg
/home/pi/Desktop/images/31122025/02/21/image_31122025_02_22_04_9746.jpg
/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_14_10670.jpg
/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_24_9790.jpg
/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_34_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818477","1401818486","1401818471","1401818468","1401818473","1401818493"],"photo_ids_order":["1401818468","1401818471","1401818473","1401818477","1401818486","1401818493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e499dfd0f5ff1ef032373be35e25b4e.jpg","text":"TemporaryFile(/tmp/multipartBody9185251324193391889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145042877,"filename":"image_31122025_02_22_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f2092b1e00a665a820a59834e883d9e.jpg","text":"TemporaryFile(/tmp/multipartBody9145732810623868796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145042877,"filename":"image_31122025_02_22_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/277ea26337edfc12da8067e7b6b7a78a.jpg","text":"TemporaryFile(/tmp/multipartBody39091977474406161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145042877,"filename":"image_31122025_02_21_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f75eb28104f9ddcaba61f5c0cbf134a.jpg","text":"TemporaryFile(/tmp/multipartBody7714749696692568590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145042877,"filename":"image_31122025_02_21_44_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/706aa399ba9628c7ba34b3c9204fe658.jpg","text":"TemporaryFile(/tmp/multipartBody1822715430972550726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145042877,"filename":"image_31122025_02_22_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/646ebec257a2507af1f5337006448f4d.jpg","text":"TemporaryFile(/tmp/multipartBody400283041167251124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145042877,"filename":"image_31122025_02_22_34_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818473","file1":"1401818471","file0":"1401818468","file4":"1401818486","file5":"1401818493","file3":"1401818477"},"map_files_photo_id_array":[{"photo_id":"1401818493","filename":"file5"},{"photo_id":"1401818473","filename":"file2"},{"photo_id":"1401818486","filename":"file4"},{"photo_id":"1401818471","filename":"file1"},{"photo_id":"1401818468","filename":"file0"},{"photo_id":"1401818477","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818477":["hashtag1","hashtag2"]},{"1401818486":["hashtag1","hashtag2"]},{"1401818471":["hashtag1","hashtag2"]},{"1401818468":["hashtag1","hashtag2"]},{"1401818473":["hashtag1","hashtag2"]},{"1401818493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818477, 1401818486, 1401818471, 1401818468, 1401818473, 1401818493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.302093505859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:37:02.935268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_44_10519.jpg', '/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_54_9653.jpg', '/home/pi/Desktop/images/31122025/02/22/image_31122025_02_23_05_10560.jpg', '/home/pi/Desktop/images/31122025/02/23/image_31122025_02_23_14_9547.jpg', '/home/pi/Desktop/images/31122025/02/23/image_31122025_02_23_24_9790.jpg', '/home/pi/Desktop/images/31122025/02/23/image_31122025_02_23_44_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_44_10519.jpg
/home/pi/Desktop/images/31122025/02/22/image_31122025_02_22_54_9653.jpg
/home/pi/Desktop/images/31122025/02/22/image_31122025_02_23_05_10560.jpg
/home/pi/Desktop/images/31122025/02/23/image_31122025_02_23_14_9547.jpg
/home/pi/Desktop/images/31122025/02/23/image_31122025_02_23_24_9790.jpg
/home/pi/Desktop/images/31122025/02/23/image_31122025_02_23_44_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818517","1401818514","1401818510","1401818506","1401818500","1401818503"],"photo_ids_order":["1401818500","1401818503","1401818506","1401818510","1401818514","1401818517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebd5fe793b8bddee3876e8736f63b435.jpg","text":"TemporaryFile(/tmp/multipartBody5072696001295540590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145083576,"filename":"image_31122025_02_23_44_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac951ca370c4d5e391512da2e5a18534.jpg","text":"TemporaryFile(/tmp/multipartBody6986391057731188209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145083576,"filename":"image_31122025_02_23_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/199dc86969fa3f80353a5f24e14fdd90.jpg","text":"TemporaryFile(/tmp/multipartBody5596294301949948504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145083576,"filename":"image_31122025_02_23_14_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e01b2c1057cafedbda2cdb95e1ba000e.jpg","text":"TemporaryFile(/tmp/multipartBody1657991132447934184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145083576,"filename":"image_31122025_02_23_05_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adfd082be9070b8ee4919df6754907e8.jpg","text":"TemporaryFile(/tmp/multipartBody7649251977898001850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145083576,"filename":"image_31122025_02_22_44_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5196b6f4dba61cfc28b721f3e5ecf661.jpg","text":"TemporaryFile(/tmp/multipartBody1615726572963263552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145083576,"filename":"image_31122025_02_22_54_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818506","file1":"1401818503","file0":"1401818500","file4":"1401818514","file5":"1401818517","file3":"1401818510"},"map_files_photo_id_array":[{"photo_id":"1401818517","filename":"file5"},{"photo_id":"1401818506","filename":"file2"},{"photo_id":"1401818514","filename":"file4"},{"photo_id":"1401818503","filename":"file1"},{"photo_id":"1401818500","filename":"file0"},{"photo_id":"1401818510","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818517":["hashtag1","hashtag2"]},{"1401818514":["hashtag1","hashtag2"]},{"1401818510":["hashtag1","hashtag2"]},{"1401818506":["hashtag1","hashtag2"]},{"1401818500":["hashtag1","hashtag2"]},{"1401818503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818517, 1401818514, 1401818510, 1401818506, 1401818500, 1401818503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30155563354492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:37:42.360186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_20_5313.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_36_6324.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_38_1768.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_43_1680.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_45_1692.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_48_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_20_5313.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_36_6324.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_38_1768.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_43_1680.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_45_1692.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_48_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818546","1401818522","1401818525","1401818536","1401818527","1401818529"],"photo_ids_order":["1401818522","1401818525","1401818527","1401818529","1401818536","1401818546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3ba7840f27147b0162720d6306fa5cf.jpg","text":"TemporaryFile(/tmp/multipartBody525381506387179605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145124271,"filename":"image_02112025_20_27_48_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71ed9c87dc128ae5a2ac6291670eb61a.jpg","text":"TemporaryFile(/tmp/multipartBody9186685826824280059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145124271,"filename":"image_02112025_20_27_20_5313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f87977c880a308e0b20eb3daf3c26902.jpg","text":"TemporaryFile(/tmp/multipartBody6898292281607969334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145124271,"filename":"image_02112025_20_27_36_6324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8759e4c54748b2d60f413b81ec7dc2e2.jpg","text":"TemporaryFile(/tmp/multipartBody2569513959869121068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145124271,"filename":"image_02112025_20_27_45_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f863c62a60cba7c9a3eec709d820a6a6.jpg","text":"TemporaryFile(/tmp/multipartBody224706208667156579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145124271,"filename":"image_02112025_20_27_38_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f54c2d43c580db2f64ea044774f55e4.jpg","text":"TemporaryFile(/tmp/multipartBody5302280657212114331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145124271,"filename":"image_02112025_20_27_43_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818527","file1":"1401818525","file0":"1401818522","file4":"1401818536","file5":"1401818546","file3":"1401818529"},"map_files_photo_id_array":[{"photo_id":"1401818546","filename":"file5"},{"photo_id":"1401818527","filename":"file2"},{"photo_id":"1401818536","filename":"file4"},{"photo_id":"1401818525","filename":"file1"},{"photo_id":"1401818522","filename":"file0"},{"photo_id":"1401818529","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818546":["hashtag1","hashtag2"]},{"1401818522":["hashtag1","hashtag2"]},{"1401818525":["hashtag1","hashtag2"]},{"1401818536":["hashtag1","hashtag2"]},{"1401818527":["hashtag1","hashtag2"]},{"1401818529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818546, 1401818522, 1401818525, 1401818536, 1401818527, 1401818529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.472387075424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:38:22.651141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/23/image_31122025_02_23_54_9608.jpg', '/home/pi/Desktop/images/31122025/02/23/image_31122025_02_24_04_9679.jpg', '/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_15_10834.jpg', '/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_24_9645.jpg', '/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_34_9684.jpg', '/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_45_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/23/image_31122025_02_23_54_9608.jpg
/home/pi/Desktop/images/31122025/02/23/image_31122025_02_24_04_9679.jpg
/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_15_10834.jpg
/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_24_9645.jpg
/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_34_9684.jpg
/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_45_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818559","1401818564","1401818587","1401818581","1401818569","1401818556"],"photo_ids_order":["1401818556","1401818559","1401818564","1401818569","1401818581","1401818587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f32510080d066b21a9ca7f6239fb9163.jpg","text":"TemporaryFile(/tmp/multipartBody4427310438457331635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145163271,"filename":"image_31122025_02_24_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e9f62779eb07f2691f091b086c110eb.jpg","text":"TemporaryFile(/tmp/multipartBody4693468869718028813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145163271,"filename":"image_31122025_02_24_15_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53fe3a6ec97b66a820c769eda9239a81.jpg","text":"TemporaryFile(/tmp/multipartBody357135613240491787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145163271,"filename":"image_31122025_02_24_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e3840b4946e2d1a08d48479776954d0.jpg","text":"TemporaryFile(/tmp/multipartBody6308042566364864482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145163271,"filename":"image_31122025_02_24_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d85ad8515a1ec0db315c2d776c6959b.jpg","text":"TemporaryFile(/tmp/multipartBody2292921235984912876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145163271,"filename":"image_31122025_02_24_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92edb270f329064b6242e3180660e415.jpg","text":"TemporaryFile(/tmp/multipartBody2501388205421860370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145163271,"filename":"image_31122025_02_23_54_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818564","file1":"1401818559","file0":"1401818556","file4":"1401818581","file5":"1401818587","file3":"1401818569"},"map_files_photo_id_array":[{"photo_id":"1401818587","filename":"file5"},{"photo_id":"1401818564","filename":"file2"},{"photo_id":"1401818581","filename":"file4"},{"photo_id":"1401818559","filename":"file1"},{"photo_id":"1401818556","filename":"file0"},{"photo_id":"1401818569","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818559":["hashtag1","hashtag2"]},{"1401818564":["hashtag1","hashtag2"]},{"1401818587":["hashtag1","hashtag2"]},{"1401818581":["hashtag1","hashtag2"]},{"1401818569":["hashtag1","hashtag2"]},{"1401818556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818559, 1401818564, 1401818587, 1401818581, 1401818569, 1401818556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64295220375061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:39:03.782372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_54_9605.jpg', '/home/pi/Desktop/images/31122025/02/24/image_31122025_02_25_04_9832.jpg', '/home/pi/Desktop/images/31122025/02/25/image_31122025_02_25_14_9856.jpg', '/home/pi/Desktop/images/31122025/02/25/image_31122025_02_25_25_10649.jpg', '/home/pi/Desktop/images/31122025/02/25/image_31122025_02_25_34_9662.jpg', '/home/pi/Desktop/images/31122025/02/25/image_31122025_02_25_54_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/24/image_31122025_02_24_54_9605.jpg
/home/pi/Desktop/images/31122025/02/24/image_31122025_02_25_04_9832.jpg
/home/pi/Desktop/images/31122025/02/25/image_31122025_02_25_14_9856.jpg
/home/pi/Desktop/images/31122025/02/25/image_31122025_02_25_25_10649.jpg
/home/pi/Desktop/images/31122025/02/25/image_31122025_02_25_34_9662.jpg
/home/pi/Desktop/images/31122025/02/25/image_31122025_02_25_54_9956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818594","1401818607","1401818596","1401818611","1401818598","1401818602"],"photo_ids_order":["1401818594","1401818596","1401818598","1401818602","1401818607","1401818611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95af51de7217ccd41bf9e78e510fdd14.jpg","text":"TemporaryFile(/tmp/multipartBody2001686083020602605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145204531,"filename":"image_31122025_02_24_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b49a322198d8362d7f97c1a7b683a4c1.jpg","text":"TemporaryFile(/tmp/multipartBody5760274943085038490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145204531,"filename":"image_31122025_02_25_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0a86265b9a1900c52800d1c1fb4befb.jpg","text":"TemporaryFile(/tmp/multipartBody7998793982218435513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145204531,"filename":"image_31122025_02_25_04_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc7ae643ea58d2346cbe26fdf6341c75.jpg","text":"TemporaryFile(/tmp/multipartBody581776367735290716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145204531,"filename":"image_31122025_02_25_54_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6a795010663f9fe2b5a37ad893c496e.jpg","text":"TemporaryFile(/tmp/multipartBody2577464129508396957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145204531,"filename":"image_31122025_02_25_14_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7512c9d08368093b2e9505a346a8943a.jpg","text":"TemporaryFile(/tmp/multipartBody3577521997756288139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145204531,"filename":"image_31122025_02_25_25_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818598","file1":"1401818596","file0":"1401818594","file4":"1401818607","file5":"1401818611","file3":"1401818602"},"map_files_photo_id_array":[{"photo_id":"1401818611","filename":"file5"},{"photo_id":"1401818598","filename":"file2"},{"photo_id":"1401818607","filename":"file4"},{"photo_id":"1401818596","filename":"file1"},{"photo_id":"1401818594","filename":"file0"},{"photo_id":"1401818602","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818594":["hashtag1","hashtag2"]},{"1401818607":["hashtag1","hashtag2"]},{"1401818596":["hashtag1","hashtag2"]},{"1401818611":["hashtag1","hashtag2"]},{"1401818598":["hashtag1","hashtag2"]},{"1401818602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818594, 1401818607, 1401818596, 1401818611, 1401818598, 1401818602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74171757698059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:39:42.720139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_51_1697.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_55_1860.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_56_1590.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_58_1663.jpg', '/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_59_1632.jpg', '/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_03_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_51_1697.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_55_1860.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_56_1590.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_58_1663.jpg
/home/pi/Desktop/images/02112025/20/27/image_02112025_20_27_59_1632.jpg
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_03_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818622","1401818621","1401818618","1401818623","1401818626","1401818620"],"photo_ids_order":["1401818618","1401818620","1401818621","1401818622","1401818623","1401818626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30444b3191cf69be41334e512f875423.jpg","text":"TemporaryFile(/tmp/multipartBody1360870333075851921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145244616,"filename":"image_02112025_20_27_58_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a5f96df856be1d6ecc99adba5c6f5de.jpg","text":"TemporaryFile(/tmp/multipartBody208378672143588380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145244616,"filename":"image_02112025_20_27_56_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c41efcdc60941a4bb5020ba3e2332c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7518214036012296068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145244616,"filename":"image_02112025_20_27_51_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2d40404618de20a4dee603317812a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2099273280593304977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145244616,"filename":"image_02112025_20_27_59_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/313d16c6086fecaeeca779ac8285cdb6.jpg","text":"TemporaryFile(/tmp/multipartBody8687929534515216104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145244616,"filename":"image_02112025_20_28_03_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd448c80b379cc186a9ea9351419cedb.jpg","text":"TemporaryFile(/tmp/multipartBody4953390152193755025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145244616,"filename":"image_02112025_20_27_55_1860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818621","file1":"1401818620","file0":"1401818618","file4":"1401818623","file5":"1401818626","file3":"1401818622"},"map_files_photo_id_array":[{"photo_id":"1401818626","filename":"file5"},{"photo_id":"1401818621","filename":"file2"},{"photo_id":"1401818623","filename":"file4"},{"photo_id":"1401818620","filename":"file1"},{"photo_id":"1401818618","filename":"file0"},{"photo_id":"1401818622","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818622":["hashtag1","hashtag2"]},{"1401818621":["hashtag1","hashtag2"]},{"1401818618":["hashtag1","hashtag2"]},{"1401818623":["hashtag1","hashtag2"]},{"1401818626":["hashtag1","hashtag2"]},{"1401818620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818622, 1401818621, 1401818618, 1401818623, 1401818626, 1401818620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52012538909912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:40:21.855728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/25/image_31122025_02_26_04_9816.jpg', '/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_15_10826.jpg', '/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_24_9791.jpg', '/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_34_9537.jpg', '/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_45_10598.jpg', '/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_54_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/25/image_31122025_02_26_04_9816.jpg
/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_15_10826.jpg
/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_24_9791.jpg
/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_34_9537.jpg
/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_45_10598.jpg
/home/pi/Desktop/images/31122025/02/26/image_31122025_02_26_54_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818637","1401818651","1401818639","1401818641","1401818646","1401818634"],"photo_ids_order":["1401818634","1401818637","1401818639","1401818641","1401818646","1401818651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca468c6bdf2039489e56891c6a662269.jpg","text":"TemporaryFile(/tmp/multipartBody111029141704473439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145282443,"filename":"image_31122025_02_26_15_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0044bfd1e9cf6a26c84f93b3ca343ae.jpg","text":"TemporaryFile(/tmp/multipartBody7946225850655361371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145282443,"filename":"image_31122025_02_26_54_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea50dcb7d308c6a2a3df68d47f702f08.jpg","text":"TemporaryFile(/tmp/multipartBody1361915098626950097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145282443,"filename":"image_31122025_02_26_24_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7673968b4ad5cc2e1e4a72ca2ddde3a.jpg","text":"TemporaryFile(/tmp/multipartBody2371521930105016669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145282443,"filename":"image_31122025_02_26_34_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b39d6aeb96e19ed5ef03bc96e5fcd9f.jpg","text":"TemporaryFile(/tmp/multipartBody4693494401738160503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145282443,"filename":"image_31122025_02_26_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bff4f855acce007aa480cd02807a64d.jpg","text":"TemporaryFile(/tmp/multipartBody6160906127878441266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145282443,"filename":"image_31122025_02_26_04_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818639","file1":"1401818637","file0":"1401818634","file4":"1401818646","file5":"1401818651","file3":"1401818641"},"map_files_photo_id_array":[{"photo_id":"1401818651","filename":"file5"},{"photo_id":"1401818639","filename":"file2"},{"photo_id":"1401818646","filename":"file4"},{"photo_id":"1401818637","filename":"file1"},{"photo_id":"1401818634","filename":"file0"},{"photo_id":"1401818641","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818637":["hashtag1","hashtag2"]},{"1401818651":["hashtag1","hashtag2"]},{"1401818639":["hashtag1","hashtag2"]},{"1401818641":["hashtag1","hashtag2"]},{"1401818646":["hashtag1","hashtag2"]},{"1401818634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818637, 1401818651, 1401818639, 1401818641, 1401818646, 1401818634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81053900718689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:41:02.662217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/26/image_31122025_02_27_04_9530.jpg', '/home/pi/Desktop/images/31122025/02/27/image_31122025_02_27_24_9590.jpg', '/home/pi/Desktop/images/31122025/02/27/image_31122025_02_27_34_9625.jpg', '/home/pi/Desktop/images/31122025/02/27/image_31122025_02_27_45_10740.jpg', '/home/pi/Desktop/images/31122025/02/27/image_31122025_02_27_54_9708.jpg', '/home/pi/Desktop/images/31122025/02/27/image_31122025_02_28_04_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/26/image_31122025_02_27_04_9530.jpg
/home/pi/Desktop/images/31122025/02/27/image_31122025_02_27_24_9590.jpg
/home/pi/Desktop/images/31122025/02/27/image_31122025_02_27_34_9625.jpg
/home/pi/Desktop/images/31122025/02/27/image_31122025_02_27_45_10740.jpg
/home/pi/Desktop/images/31122025/02/27/image_31122025_02_27_54_9708.jpg
/home/pi/Desktop/images/31122025/02/27/image_31122025_02_28_04_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818658","1401818666","1401818671","1401818668","1401818662","1401818664"],"photo_ids_order":["1401818658","1401818662","1401818664","1401818666","1401818668","1401818671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed75a5a9ad4954ab7ddf6a3e7c26324b.jpg","text":"TemporaryFile(/tmp/multipartBody5149434132921574239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145323334,"filename":"image_31122025_02_27_04_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fcd9544790e8eeae7ec20d3a1fa97b9.jpg","text":"TemporaryFile(/tmp/multipartBody5461495363995799250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145323334,"filename":"image_31122025_02_27_45_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/874acbb0674f8927ba7ce89120891a15.jpg","text":"TemporaryFile(/tmp/multipartBody3186746613120536735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145323334,"filename":"image_31122025_02_28_04_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/332f63827f417ea6ab47ebce6a2f0c68.jpg","text":"TemporaryFile(/tmp/multipartBody7384671467293101988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145323334,"filename":"image_31122025_02_27_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/487c33bed1f5b7708e9afc05664a4a02.jpg","text":"TemporaryFile(/tmp/multipartBody1665761687998655111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145323334,"filename":"image_31122025_02_27_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c702084c84b9bee2717e509e8f84135.jpg","text":"TemporaryFile(/tmp/multipartBody7086258513863842751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145323334,"filename":"image_31122025_02_27_34_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818664","file1":"1401818662","file0":"1401818658","file4":"1401818668","file5":"1401818671","file3":"1401818666"},"map_files_photo_id_array":[{"photo_id":"1401818671","filename":"file5"},{"photo_id":"1401818664","filename":"file2"},{"photo_id":"1401818668","filename":"file4"},{"photo_id":"1401818662","filename":"file1"},{"photo_id":"1401818658","filename":"file0"},{"photo_id":"1401818666","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818658":["hashtag1","hashtag2"]},{"1401818666":["hashtag1","hashtag2"]},{"1401818671":["hashtag1","hashtag2"]},{"1401818668":["hashtag1","hashtag2"]},{"1401818662":["hashtag1","hashtag2"]},{"1401818664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818658, 1401818666, 1401818671, 1401818668, 1401818662, 1401818664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70208549499512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:41:42.090679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_06_1712.jpg', '/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_09_1780.jpg', '/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_11_1563.jpg', '/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_14_2571.jpg', '/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_35_3605.jpg', '/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_37_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_06_1712.jpg
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_09_1780.jpg
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_11_1563.jpg
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_14_2571.jpg
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_35_3605.jpg
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_37_2546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818696","1401818681","1401818684","1401818692","1401818686","1401818679"],"photo_ids_order":["1401818679","1401818681","1401818684","1401818686","1401818692","1401818696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c069bef0d93f27f6dca5d34f10b06a7.jpg","text":"TemporaryFile(/tmp/multipartBody2738613932647784326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145363993,"filename":"image_02112025_20_28_37_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d1df7dc78a20c74964b0bfcee539524.jpg","text":"TemporaryFile(/tmp/multipartBody1409875041623115517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145363993,"filename":"image_02112025_20_28_09_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/902f0dac7256e2e1cae1c3313c5234b1.jpg","text":"TemporaryFile(/tmp/multipartBody3129579661766760674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145363993,"filename":"image_02112025_20_28_11_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/507915b00e56e1c89a21c2a1eb4b5a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2387977772882500202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145363993,"filename":"image_02112025_20_28_35_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57350b5c662c2b398ab6d91a312a6482.jpg","text":"TemporaryFile(/tmp/multipartBody6906698183492273127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145363993,"filename":"image_02112025_20_28_14_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51d03fda85ea25e1dc8671177de09715.jpg","text":"TemporaryFile(/tmp/multipartBody9068567347709771814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145363993,"filename":"image_02112025_20_28_06_1712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818684","file1":"1401818681","file0":"1401818679","file4":"1401818692","file5":"1401818696","file3":"1401818686"},"map_files_photo_id_array":[{"photo_id":"1401818696","filename":"file5"},{"photo_id":"1401818684","filename":"file2"},{"photo_id":"1401818692","filename":"file4"},{"photo_id":"1401818681","filename":"file1"},{"photo_id":"1401818679","filename":"file0"},{"photo_id":"1401818686","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818696":["hashtag1","hashtag2"]},{"1401818681":["hashtag1","hashtag2"]},{"1401818684":["hashtag1","hashtag2"]},{"1401818692":["hashtag1","hashtag2"]},{"1401818686":["hashtag1","hashtag2"]},{"1401818679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818696, 1401818681, 1401818684, 1401818692, 1401818686, 1401818679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75367331504822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:42:22.288573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/28/image_31122025_02_28_25_10634.jpg', '/home/pi/Desktop/images/31122025/02/28/image_31122025_02_28_34_9788.jpg', '/home/pi/Desktop/images/31122025/02/28/image_31122025_02_28_44_9638.jpg', '/home/pi/Desktop/images/31122025/02/28/image_31122025_02_29_04_9629.jpg', '/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_14_9551.jpg', '/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_24_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/28/image_31122025_02_28_25_10634.jpg
/home/pi/Desktop/images/31122025/02/28/image_31122025_02_28_34_9788.jpg
/home/pi/Desktop/images/31122025/02/28/image_31122025_02_28_44_9638.jpg
/home/pi/Desktop/images/31122025/02/28/image_31122025_02_29_04_9629.jpg
/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_14_9551.jpg
/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_24_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818715","1401818709","1401818705","1401818722","1401818719","1401818701"],"photo_ids_order":["1401818701","1401818705","1401818709","1401818715","1401818719","1401818722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/768bf825377f06dff0759c39662761f9.jpg","text":"TemporaryFile(/tmp/multipartBody199028011334645613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145402880,"filename":"image_31122025_02_29_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa8d86c00fde5e63ce4e065639f61f97.jpg","text":"TemporaryFile(/tmp/multipartBody4422200718959079823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145402880,"filename":"image_31122025_02_28_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c6c7e71c51b4a0c550ac31048ae023f.jpg","text":"TemporaryFile(/tmp/multipartBody4724175368985632751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145402880,"filename":"image_31122025_02_28_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5176770a4a8120e7d733dc665fd9a3c3.jpg","text":"TemporaryFile(/tmp/multipartBody7249738956661268771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145402880,"filename":"image_31122025_02_29_24_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b971b8bfb7fed34c634856c99139454c.jpg","text":"TemporaryFile(/tmp/multipartBody4915123547688800543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145402880,"filename":"image_31122025_02_29_14_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/632099fbdd952b9e8a1196b1cdc61bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7400571411716372170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145402880,"filename":"image_31122025_02_28_25_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818709","file1":"1401818705","file0":"1401818701","file4":"1401818719","file5":"1401818722","file3":"1401818715"},"map_files_photo_id_array":[{"photo_id":"1401818722","filename":"file5"},{"photo_id":"1401818709","filename":"file2"},{"photo_id":"1401818719","filename":"file4"},{"photo_id":"1401818705","filename":"file1"},{"photo_id":"1401818701","filename":"file0"},{"photo_id":"1401818715","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818715":["hashtag1","hashtag2"]},{"1401818709":["hashtag1","hashtag2"]},{"1401818705":["hashtag1","hashtag2"]},{"1401818722":["hashtag1","hashtag2"]},{"1401818719":["hashtag1","hashtag2"]},{"1401818701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818715, 1401818709, 1401818705, 1401818722, 1401818719, 1401818701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89228081703186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:43:03.274676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_34_9796.jpg', '/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_44_9663.jpg', '/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_55_10640.jpg', '/home/pi/Desktop/images/31122025/02/29/image_31122025_02_30_04_9683.jpg', '/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_14_9585.jpg', '/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_25_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_34_9796.jpg
/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_44_9663.jpg
/home/pi/Desktop/images/31122025/02/29/image_31122025_02_29_55_10640.jpg
/home/pi/Desktop/images/31122025/02/29/image_31122025_02_30_04_9683.jpg
/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_14_9585.jpg
/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_25_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818739","1401818741","1401818744","1401818738","1401818749","1401818746"],"photo_ids_order":["1401818738","1401818739","1401818741","1401818744","1401818746","1401818749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f11374d5c349d4d3fd7e87e83dc1fe23.jpg","text":"TemporaryFile(/tmp/multipartBody444770196669500145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145443928,"filename":"image_31122025_02_29_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f405a8e880777ad526ad0896a2834c2.jpg","text":"TemporaryFile(/tmp/multipartBody8286889448151576176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145443928,"filename":"image_31122025_02_29_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8012844602de72cd2ef2a84075cb3361.jpg","text":"TemporaryFile(/tmp/multipartBody6229164301165171748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145443928,"filename":"image_31122025_02_30_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84587e6b8b623180639d6f16b3bb4f04.jpg","text":"TemporaryFile(/tmp/multipartBody876411684202850966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145443928,"filename":"image_31122025_02_29_34_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8636213ca9665f140d17c245115f162a.jpg","text":"TemporaryFile(/tmp/multipartBody8287190503546224405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145443928,"filename":"image_31122025_02_30_25_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b66cb1d5a97a4f7192f5b7f543165e49.jpg","text":"TemporaryFile(/tmp/multipartBody3897617413730655172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145443928,"filename":"image_31122025_02_30_14_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818741","file1":"1401818739","file0":"1401818738","file4":"1401818746","file5":"1401818749","file3":"1401818744"},"map_files_photo_id_array":[{"photo_id":"1401818749","filename":"file5"},{"photo_id":"1401818741","filename":"file2"},{"photo_id":"1401818746","filename":"file4"},{"photo_id":"1401818739","filename":"file1"},{"photo_id":"1401818738","filename":"file0"},{"photo_id":"1401818744","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818739":["hashtag1","hashtag2"]},{"1401818741":["hashtag1","hashtag2"]},{"1401818744":["hashtag1","hashtag2"]},{"1401818738":["hashtag1","hashtag2"]},{"1401818749":["hashtag1","hashtag2"]},{"1401818746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818739, 1401818741, 1401818744, 1401818738, 1401818749, 1401818746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.184553384780884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:43:42.587066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_50_2784.jpg', '/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_52_2788.jpg', '/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_55_2732.jpg', '/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_10_2763.jpg', '/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_19_2629.jpg', '/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_22_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_50_2784.jpg
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_52_2788.jpg
/home/pi/Desktop/images/02112025/20/28/image_02112025_20_28_55_2732.jpg
/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_10_2763.jpg
/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_19_2629.jpg
/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_22_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818768","1401818762","1401818759","1401818767","1401818764","1401818766"],"photo_ids_order":["1401818759","1401818762","1401818764","1401818766","1401818767","1401818768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fbb9253760bada19ed39092ee1fd934.jpg","text":"TemporaryFile(/tmp/multipartBody3362876707613171021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145484529,"filename":"image_02112025_20_29_22_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a692893146f5f628a23fba17a19e119.jpg","text":"TemporaryFile(/tmp/multipartBody1722802899072581340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145484529,"filename":"image_02112025_20_28_52_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/789b0c2d88b243ad62509ee1fb663e17.jpg","text":"TemporaryFile(/tmp/multipartBody1339938897794512253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145484529,"filename":"image_02112025_20_28_50_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5b7d1bc271e6f1438a5bdf630d7bc06.jpg","text":"TemporaryFile(/tmp/multipartBody6407038217141261711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145484529,"filename":"image_02112025_20_29_19_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d67e32d56347d5d3e38be8b8bd003fa6.jpg","text":"TemporaryFile(/tmp/multipartBody850174922782381080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145484529,"filename":"image_02112025_20_28_55_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45ea6999ad608eb9bd09271880d9d0bf.jpg","text":"TemporaryFile(/tmp/multipartBody6902478320783856934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145484529,"filename":"image_02112025_20_29_10_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818764","file1":"1401818762","file0":"1401818759","file4":"1401818767","file5":"1401818768","file3":"1401818766"},"map_files_photo_id_array":[{"photo_id":"1401818768","filename":"file5"},{"photo_id":"1401818764","filename":"file2"},{"photo_id":"1401818767","filename":"file4"},{"photo_id":"1401818762","filename":"file1"},{"photo_id":"1401818759","filename":"file0"},{"photo_id":"1401818766","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818768":["hashtag1","hashtag2"]},{"1401818762":["hashtag1","hashtag2"]},{"1401818759":["hashtag1","hashtag2"]},{"1401818767":["hashtag1","hashtag2"]},{"1401818764":["hashtag1","hashtag2"]},{"1401818766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818768, 1401818762, 1401818759, 1401818767, 1401818764, 1401818766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4128942489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:44:22.866632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_34_9731.jpg', '/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_44_9702.jpg', '/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_54_9674.jpg', '/home/pi/Desktop/images/31122025/02/30/image_31122025_02_31_05_10818.jpg', '/home/pi/Desktop/images/31122025/02/31/image_31122025_02_31_14_9637.jpg', '/home/pi/Desktop/images/31122025/02/31/image_31122025_02_31_44_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_34_9731.jpg
/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_44_9702.jpg
/home/pi/Desktop/images/31122025/02/30/image_31122025_02_30_54_9674.jpg
/home/pi/Desktop/images/31122025/02/30/image_31122025_02_31_05_10818.jpg
/home/pi/Desktop/images/31122025/02/31/image_31122025_02_31_14_9637.jpg
/home/pi/Desktop/images/31122025/02/31/image_31122025_02_31_44_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818783","1401818791","1401818779","1401818788","1401818776","1401818793"],"photo_ids_order":["1401818776","1401818779","1401818783","1401818788","1401818791","1401818793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c36e91166bdc11b0951d5601619aa873.jpg","text":"TemporaryFile(/tmp/multipartBody3251712959095830043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145523490,"filename":"image_31122025_02_30_54_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da73a145c4966373c619337c8b51001d.jpg","text":"TemporaryFile(/tmp/multipartBody1990055307182580535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145523490,"filename":"image_31122025_02_31_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bdf2475521a6569e473ae7d7df0c49d.jpg","text":"TemporaryFile(/tmp/multipartBody6139467374534607372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145523490,"filename":"image_31122025_02_30_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/721c1e36c3204391903214d8abc8ff81.jpg","text":"TemporaryFile(/tmp/multipartBody5442650283714116105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145523490,"filename":"image_31122025_02_31_05_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9466d736b9e774be9ef83cc7ac515ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2665224851478039981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145523490,"filename":"image_31122025_02_30_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76bac2c6096e970ed409af4dfd8fc394.jpg","text":"TemporaryFile(/tmp/multipartBody1513283039688386977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145523490,"filename":"image_31122025_02_31_44_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818783","file1":"1401818779","file0":"1401818776","file4":"1401818791","file5":"1401818793","file3":"1401818788"},"map_files_photo_id_array":[{"photo_id":"1401818793","filename":"file5"},{"photo_id":"1401818783","filename":"file2"},{"photo_id":"1401818791","filename":"file4"},{"photo_id":"1401818779","filename":"file1"},{"photo_id":"1401818776","filename":"file0"},{"photo_id":"1401818788","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818783":["hashtag1","hashtag2"]},{"1401818791":["hashtag1","hashtag2"]},{"1401818779":["hashtag1","hashtag2"]},{"1401818788":["hashtag1","hashtag2"]},{"1401818776":["hashtag1","hashtag2"]},{"1401818793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818783, 1401818791, 1401818779, 1401818788, 1401818776, 1401818793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.389431953430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:45:02.561456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/31/image_31122025_02_31_54_9740.jpg', '/home/pi/Desktop/images/31122025/02/31/image_31122025_02_32_04_9785.jpg', '/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_14_10655.jpg', '/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_24_9652.jpg', '/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_34_9665.jpg', '/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_44_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/31/image_31122025_02_31_54_9740.jpg
/home/pi/Desktop/images/31122025/02/31/image_31122025_02_32_04_9785.jpg
/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_14_10655.jpg
/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_24_9652.jpg
/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_34_9665.jpg
/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_44_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818808","1401818805","1401818798","1401818810","1401818813","1401818801"],"photo_ids_order":["1401818798","1401818801","1401818805","1401818808","1401818810","1401818813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55ed36d32515a25f241098ccf2dbd378.jpg","text":"TemporaryFile(/tmp/multipartBody1575198737610210711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145563261,"filename":"image_31122025_02_32_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61ef1c575af458ab9707149d66ad042d.jpg","text":"TemporaryFile(/tmp/multipartBody1764678566791525719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145563261,"filename":"image_31122025_02_32_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2acb28aa3e74ad7a9a0234f896b99d0.jpg","text":"TemporaryFile(/tmp/multipartBody3849008759950300960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145563261,"filename":"image_31122025_02_31_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fce608f2c07b245a518a399b32942f26.jpg","text":"TemporaryFile(/tmp/multipartBody4520217373627323160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145563261,"filename":"image_31122025_02_32_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffd3f3c6dce264c9d435226b966c005b.jpg","text":"TemporaryFile(/tmp/multipartBody5875374789683917725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145563261,"filename":"image_31122025_02_32_44_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdbd0a419292b660ca12930a3117a799.jpg","text":"TemporaryFile(/tmp/multipartBody8273411470102651999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145563261,"filename":"image_31122025_02_32_04_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818805","file1":"1401818801","file0":"1401818798","file4":"1401818810","file5":"1401818813","file3":"1401818808"},"map_files_photo_id_array":[{"photo_id":"1401818813","filename":"file5"},{"photo_id":"1401818805","filename":"file2"},{"photo_id":"1401818810","filename":"file4"},{"photo_id":"1401818801","filename":"file1"},{"photo_id":"1401818798","filename":"file0"},{"photo_id":"1401818808","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818808":["hashtag1","hashtag2"]},{"1401818805":["hashtag1","hashtag2"]},{"1401818798":["hashtag1","hashtag2"]},{"1401818810":["hashtag1","hashtag2"]},{"1401818813":["hashtag1","hashtag2"]},{"1401818801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818808, 1401818805, 1401818798, 1401818810, 1401818813, 1401818801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.325435161590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:45:41.969064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_31_2791.jpg', '/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_58_2638.jpg', '/home/pi/Desktop/images/02112025/20/30/image_02112025_20_30_04_2897.jpg', '/home/pi/Desktop/images/02112025/20/30/image_02112025_20_30_22_2610.jpg', '/home/pi/Desktop/images/02112025/20/30/image_02112025_20_30_25_2737.jpg', '/home/pi/Desktop/images/02112025/20/31/image_02112025_20_31_55_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_31_2791.jpg
/home/pi/Desktop/images/02112025/20/29/image_02112025_20_29_58_2638.jpg
/home/pi/Desktop/images/02112025/20/30/image_02112025_20_30_04_2897.jpg
/home/pi/Desktop/images/02112025/20/30/image_02112025_20_30_22_2610.jpg
/home/pi/Desktop/images/02112025/20/30/image_02112025_20_30_25_2737.jpg
/home/pi/Desktop/images/02112025/20/31/image_02112025_20_31_55_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818835","1401818823","1401818831","1401818833","1401818821","1401818818"],"photo_ids_order":["1401818818","1401818821","1401818823","1401818831","1401818833","1401818835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dddd20cb7b322e8257d1d581fc90d222.jpg","text":"TemporaryFile(/tmp/multipartBody3382374776516030761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145603933,"filename":"image_02112025_20_31_55_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1e8eb1dbde3b1aace6fd4cf1677f39f.jpg","text":"TemporaryFile(/tmp/multipartBody8848583211161335340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145603933,"filename":"image_02112025_20_30_04_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a4c3a2f8929d99f054ac8d3fd5fed48.jpg","text":"TemporaryFile(/tmp/multipartBody2980757390603922739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145603933,"filename":"image_02112025_20_30_22_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13198f6ddbb9f0ef709d8dbe602c2162.jpg","text":"TemporaryFile(/tmp/multipartBody4765213825858757403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145603933,"filename":"image_02112025_20_30_25_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41f2909e4ed0676f76633ef4c135fdc9.jpg","text":"TemporaryFile(/tmp/multipartBody8955941022170367104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145603933,"filename":"image_02112025_20_29_58_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fe501c208253e605f7cf59afcc1d33b.jpg","text":"TemporaryFile(/tmp/multipartBody2658659152429578792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145603933,"filename":"image_02112025_20_29_31_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818823","file1":"1401818821","file0":"1401818818","file4":"1401818833","file5":"1401818835","file3":"1401818831"},"map_files_photo_id_array":[{"photo_id":"1401818835","filename":"file5"},{"photo_id":"1401818823","filename":"file2"},{"photo_id":"1401818833","filename":"file4"},{"photo_id":"1401818821","filename":"file1"},{"photo_id":"1401818818","filename":"file0"},{"photo_id":"1401818831","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818835":["hashtag1","hashtag2"]},{"1401818823":["hashtag1","hashtag2"]},{"1401818831":["hashtag1","hashtag2"]},{"1401818833":["hashtag1","hashtag2"]},{"1401818821":["hashtag1","hashtag2"]},{"1401818818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818835, 1401818823, 1401818831, 1401818833, 1401818821, 1401818818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80449056625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:46:22.145881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_54_9730.jpg', '/home/pi/Desktop/images/31122025/02/33/image_31122025_02_33_54_9819.jpg', '/home/pi/Desktop/images/31122025/02/33/image_31122025_02_34_04_9634.jpg', '/home/pi/Desktop/images/31122025/02/34/image_31122025_02_34_25_9822.jpg', '/home/pi/Desktop/images/31122025/02/34/image_31122025_02_34_34_9552.jpg', '/home/pi/Desktop/images/31122025/02/34/image_31122025_02_34_44_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/32/image_31122025_02_32_54_9730.jpg
/home/pi/Desktop/images/31122025/02/33/image_31122025_02_33_54_9819.jpg
/home/pi/Desktop/images/31122025/02/33/image_31122025_02_34_04_9634.jpg
/home/pi/Desktop/images/31122025/02/34/image_31122025_02_34_25_9822.jpg
/home/pi/Desktop/images/31122025/02/34/image_31122025_02_34_34_9552.jpg
/home/pi/Desktop/images/31122025/02/34/image_31122025_02_34_44_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818841","1401818855","1401818849","1401818843","1401818852","1401818845"],"photo_ids_order":["1401818841","1401818843","1401818845","1401818849","1401818852","1401818855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43de6286df44b5767bfd0220210b5319.jpg","text":"TemporaryFile(/tmp/multipartBody2797373344228776515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145642770,"filename":"image_31122025_02_32_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8a1dbb04bddc4824f5d518a365716d4.jpg","text":"TemporaryFile(/tmp/multipartBody8084242244702609608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145642770,"filename":"image_31122025_02_34_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e21b829e59eac4b7c36115289b27b53.jpg","text":"TemporaryFile(/tmp/multipartBody1992206377525703990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145642770,"filename":"image_31122025_02_34_25_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2acec15ac0cd2d76407315243b432bf.jpg","text":"TemporaryFile(/tmp/multipartBody1939188969763881526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145642770,"filename":"image_31122025_02_33_54_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/148654f23255c26b07797496f964eb88.jpg","text":"TemporaryFile(/tmp/multipartBody7008859519674170689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145642770,"filename":"image_31122025_02_34_34_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e0e184ae13675006378a3361a96903f.jpg","text":"TemporaryFile(/tmp/multipartBody2606421740170739457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145642770,"filename":"image_31122025_02_34_04_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818845","file1":"1401818843","file0":"1401818841","file4":"1401818852","file5":"1401818855","file3":"1401818849"},"map_files_photo_id_array":[{"photo_id":"1401818855","filename":"file5"},{"photo_id":"1401818845","filename":"file2"},{"photo_id":"1401818852","filename":"file4"},{"photo_id":"1401818843","filename":"file1"},{"photo_id":"1401818841","filename":"file0"},{"photo_id":"1401818849","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818841":["hashtag1","hashtag2"]},{"1401818855":["hashtag1","hashtag2"]},{"1401818849":["hashtag1","hashtag2"]},{"1401818843":["hashtag1","hashtag2"]},{"1401818852":["hashtag1","hashtag2"]},{"1401818845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818841, 1401818855, 1401818849, 1401818843, 1401818852, 1401818845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4097843170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:47:03.095302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/34/image_31122025_02_34_55_10878.jpg', '/home/pi/Desktop/images/31122025/02/34/image_31122025_02_35_04_9794.jpg', '/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_14_9631.jpg', '/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_25_10555.jpg', '/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_34_9784.jpg', '/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_44_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/34/image_31122025_02_34_55_10878.jpg
/home/pi/Desktop/images/31122025/02/34/image_31122025_02_35_04_9794.jpg
/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_14_9631.jpg
/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_25_10555.jpg
/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_34_9784.jpg
/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_44_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818879","1401818858","1401818875","1401818860","1401818871","1401818868"],"photo_ids_order":["1401818858","1401818860","1401818868","1401818871","1401818875","1401818879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfc1cf64dd647252ca65395ec7c975b8.jpg","text":"TemporaryFile(/tmp/multipartBody1697333807797724026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145683745,"filename":"image_31122025_02_35_44_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a0b1b658903916ce8ab7cf5e922e27b.jpg","text":"TemporaryFile(/tmp/multipartBody5651209873461461401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145683745,"filename":"image_31122025_02_34_55_10878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f50089fa5c481c7aa79f0d9421185f18.jpg","text":"TemporaryFile(/tmp/multipartBody6446999256644223883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145683745,"filename":"image_31122025_02_35_34_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b952a5c5bab1357460a5d00770e69d1c.jpg","text":"TemporaryFile(/tmp/multipartBody4509460241803892494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145683745,"filename":"image_31122025_02_35_04_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a28f853539b8b7ea376d5533454afd42.jpg","text":"TemporaryFile(/tmp/multipartBody2859181496712127484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145683745,"filename":"image_31122025_02_35_25_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7da28d2714512b67e6c1b5950c6e071d.jpg","text":"TemporaryFile(/tmp/multipartBody1416309098584998194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145683745,"filename":"image_31122025_02_35_14_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818868","file1":"1401818860","file0":"1401818858","file4":"1401818875","file5":"1401818879","file3":"1401818871"},"map_files_photo_id_array":[{"photo_id":"1401818879","filename":"file5"},{"photo_id":"1401818868","filename":"file2"},{"photo_id":"1401818875","filename":"file4"},{"photo_id":"1401818860","filename":"file1"},{"photo_id":"1401818858","filename":"file0"},{"photo_id":"1401818871","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818879":["hashtag1","hashtag2"]},{"1401818858":["hashtag1","hashtag2"]},{"1401818875":["hashtag1","hashtag2"]},{"1401818860":["hashtag1","hashtag2"]},{"1401818871":["hashtag1","hashtag2"]},{"1401818868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818879, 1401818858, 1401818875, 1401818860, 1401818871, 1401818868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94912028312683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:47:42.457697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/31/image_02112025_20_31_58_3609.jpg', '/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_10_2685.jpg', '/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_13_2683.jpg', '/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_16_3731.jpg', '/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_19_2778.jpg', '/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_26_3810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/31/image_02112025_20_31_58_3609.jpg
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_10_2685.jpg
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_13_2683.jpg
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_16_3731.jpg
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_19_2778.jpg
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_26_3810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818891","1401818894","1401818890","1401818887","1401818892","1401818889"],"photo_ids_order":["1401818887","1401818889","1401818890","1401818891","1401818892","1401818894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa4c66789dc5f90bdbbd1d9d2ea64909.jpg","text":"TemporaryFile(/tmp/multipartBody569497884649076383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145724356,"filename":"image_02112025_20_32_16_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65aace6af7adf131ac957a15720f592f.jpg","text":"TemporaryFile(/tmp/multipartBody7567312306070173844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145724356,"filename":"image_02112025_20_32_26_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a5544917508edfe1809650443c85e0b.jpg","text":"TemporaryFile(/tmp/multipartBody2069582255503808703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145724356,"filename":"image_02112025_20_32_13_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bfd678834439b277d41c2d8db45e281.jpg","text":"TemporaryFile(/tmp/multipartBody4558065946899368873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145724356,"filename":"image_02112025_20_31_58_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02c33345d53b7a11579d1039a4f4254a.jpg","text":"TemporaryFile(/tmp/multipartBody7239054099264985126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145724356,"filename":"image_02112025_20_32_19_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6085f20a605454d800402ac89146a9db.jpg","text":"TemporaryFile(/tmp/multipartBody1066526371113274493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145724356,"filename":"image_02112025_20_32_10_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818890","file1":"1401818889","file0":"1401818887","file4":"1401818892","file5":"1401818894","file3":"1401818891"},"map_files_photo_id_array":[{"photo_id":"1401818894","filename":"file5"},{"photo_id":"1401818890","filename":"file2"},{"photo_id":"1401818892","filename":"file4"},{"photo_id":"1401818889","filename":"file1"},{"photo_id":"1401818887","filename":"file0"},{"photo_id":"1401818891","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818891":["hashtag1","hashtag2"]},{"1401818894":["hashtag1","hashtag2"]},{"1401818890":["hashtag1","hashtag2"]},{"1401818887":["hashtag1","hashtag2"]},{"1401818892":["hashtag1","hashtag2"]},{"1401818889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818891, 1401818894, 1401818890, 1401818887, 1401818892, 1401818889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29484510421753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:48:22.623796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_54_9808.jpg', '/home/pi/Desktop/images/31122025/02/35/image_31122025_02_36_04_10555.jpg', '/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_14_9702.jpg', '/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_24_9811.jpg', '/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_35_10686.jpg', '/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_44_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/35/image_31122025_02_35_54_9808.jpg
/home/pi/Desktop/images/31122025/02/35/image_31122025_02_36_04_10555.jpg
/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_14_9702.jpg
/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_24_9811.jpg
/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_35_10686.jpg
/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_44_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818916","1401818918","1401818914","1401818911","1401818905","1401818908"],"photo_ids_order":["1401818905","1401818908","1401818911","1401818914","1401818916","1401818918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/805e8a1351bdf4f500ebbc5d9b23e82d.jpg","text":"TemporaryFile(/tmp/multipartBody9084026490012801150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145763241,"filename":"image_31122025_02_36_35_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ed42b45e5a9f2ca2cafa414b4c7d37f.jpg","text":"TemporaryFile(/tmp/multipartBody1318928051812139383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145763241,"filename":"image_31122025_02_36_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/413bebc62077766bd23bee7b54c58386.jpg","text":"TemporaryFile(/tmp/multipartBody7120964203291566654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145763241,"filename":"image_31122025_02_36_24_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64da1ff9ed710afd8873959bdb20c3a8.jpg","text":"TemporaryFile(/tmp/multipartBody8751085180354990716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145763241,"filename":"image_31122025_02_36_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7aee79981e2c45c10adb7c1183a3013d.jpg","text":"TemporaryFile(/tmp/multipartBody7395422826773723837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145763241,"filename":"image_31122025_02_35_54_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db95e2540479853497fc3f270e8d63f9.jpg","text":"TemporaryFile(/tmp/multipartBody7601674643823838792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145763241,"filename":"image_31122025_02_36_04_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818911","file1":"1401818908","file0":"1401818905","file4":"1401818916","file5":"1401818918","file3":"1401818914"},"map_files_photo_id_array":[{"photo_id":"1401818918","filename":"file5"},{"photo_id":"1401818911","filename":"file2"},{"photo_id":"1401818916","filename":"file4"},{"photo_id":"1401818908","filename":"file1"},{"photo_id":"1401818905","filename":"file0"},{"photo_id":"1401818914","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818916":["hashtag1","hashtag2"]},{"1401818918":["hashtag1","hashtag2"]},{"1401818914":["hashtag1","hashtag2"]},{"1401818911":["hashtag1","hashtag2"]},{"1401818905":["hashtag1","hashtag2"]},{"1401818908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818916, 1401818918, 1401818914, 1401818911, 1401818905, 1401818908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.567482709884644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:49:02.898177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_54_9696.jpg', '/home/pi/Desktop/images/31122025/02/36/image_31122025_02_37_04_9774.jpg', '/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_15_10772.jpg', '/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_24_9753.jpg', '/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_34_9768.jpg', '/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/36/image_31122025_02_36_54_9696.jpg
/home/pi/Desktop/images/31122025/02/36/image_31122025_02_37_04_9774.jpg
/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_15_10772.jpg
/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_24_9753.jpg
/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_34_9768.jpg
/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_44_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818928","1401818939","1401818932","1401818935","1401818926","1401818937"],"photo_ids_order":["1401818926","1401818928","1401818932","1401818935","1401818937","1401818939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8007391299f5b64d96de77b6a35f75a9.jpg","text":"TemporaryFile(/tmp/multipartBody2737203746500888894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145803659,"filename":"image_31122025_02_37_04_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2ef1a7fb43649dcf019054beb54052c.jpg","text":"TemporaryFile(/tmp/multipartBody5595222513171390078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145803659,"filename":"image_31122025_02_37_44_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a513513a80da8154961daeb6dbd3d124.jpg","text":"TemporaryFile(/tmp/multipartBody653214881812914561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145803659,"filename":"image_31122025_02_37_15_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f14a1545952b6dd41eacffdb964dbfaa.jpg","text":"TemporaryFile(/tmp/multipartBody2141397853670840551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145803659,"filename":"image_31122025_02_37_24_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52bbf791641ec7699e0350ecf1e8d573.jpg","text":"TemporaryFile(/tmp/multipartBody610914768078522710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145803659,"filename":"image_31122025_02_36_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/848ab81a406ee6221309b8398bc97de4.jpg","text":"TemporaryFile(/tmp/multipartBody7289836161631432331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145803659,"filename":"image_31122025_02_37_34_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818932","file1":"1401818928","file0":"1401818926","file4":"1401818937","file5":"1401818939","file3":"1401818935"},"map_files_photo_id_array":[{"photo_id":"1401818939","filename":"file5"},{"photo_id":"1401818932","filename":"file2"},{"photo_id":"1401818937","filename":"file4"},{"photo_id":"1401818928","filename":"file1"},{"photo_id":"1401818926","filename":"file0"},{"photo_id":"1401818935","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818928":["hashtag1","hashtag2"]},{"1401818939":["hashtag1","hashtag2"]},{"1401818932":["hashtag1","hashtag2"]},{"1401818935":["hashtag1","hashtag2"]},{"1401818926":["hashtag1","hashtag2"]},{"1401818937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818928, 1401818939, 1401818932, 1401818935, 1401818926, 1401818937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.906705379486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:49:41.924918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_40_2625.jpg', '/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_49_2760.jpg', '/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_55_2752.jpg', '/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_58_3656.jpg', '/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_10_2552.jpg', '/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_16_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_40_2625.jpg
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_49_2760.jpg
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_55_2752.jpg
/home/pi/Desktop/images/02112025/20/32/image_02112025_20_32_58_3656.jpg
/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_10_2552.jpg
/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_16_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818954","1401818959","1401818950","1401818947","1401818967","1401818952"],"photo_ids_order":["1401818947","1401818950","1401818952","1401818954","1401818959","1401818967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26436b1529044eaa8eca9e65acad3bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7561215959813776982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145843821,"filename":"image_02112025_20_32_58_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6b89c7d270c8dfb96a178002a44c9e0.jpg","text":"TemporaryFile(/tmp/multipartBody3085337766850164343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145843821,"filename":"image_02112025_20_33_10_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3d562a6ebda2b2828b6be4c474173c1.jpg","text":"TemporaryFile(/tmp/multipartBody4739778453784957190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145843821,"filename":"image_02112025_20_32_49_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d497f301df3834ab52659d683a6a1847.jpg","text":"TemporaryFile(/tmp/multipartBody3613673172558902392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145843821,"filename":"image_02112025_20_32_40_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ffe989fb1f069699797359f0b1e7ca1.jpg","text":"TemporaryFile(/tmp/multipartBody624083730770868109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145843821,"filename":"image_02112025_20_33_16_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82272d02aedc55e4d500467ae12e40c0.jpg","text":"TemporaryFile(/tmp/multipartBody1210101860817242638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145843821,"filename":"image_02112025_20_32_55_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818952","file1":"1401818950","file0":"1401818947","file4":"1401818959","file5":"1401818967","file3":"1401818954"},"map_files_photo_id_array":[{"photo_id":"1401818967","filename":"file5"},{"photo_id":"1401818952","filename":"file2"},{"photo_id":"1401818959","filename":"file4"},{"photo_id":"1401818950","filename":"file1"},{"photo_id":"1401818947","filename":"file0"},{"photo_id":"1401818954","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401818954":["hashtag1","hashtag2"]},{"1401818959":["hashtag1","hashtag2"]},{"1401818950":["hashtag1","hashtag2"]},{"1401818947":["hashtag1","hashtag2"]},{"1401818967":["hashtag1","hashtag2"]},{"1401818952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401818954, 1401818959, 1401818950, 1401818947, 1401818967, 1401818952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7023024559021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:50:22.086662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_54_10622.jpg', '/home/pi/Desktop/images/31122025/02/37/image_31122025_02_38_04_9713.jpg', '/home/pi/Desktop/images/31122025/02/38/image_31122025_02_38_34_9565.jpg', '/home/pi/Desktop/images/31122025/02/38/image_31122025_02_38_45_10620.jpg', '/home/pi/Desktop/images/31122025/02/38/image_31122025_02_38_54_9603.jpg', '/home/pi/Desktop/images/31122025/02/38/image_31122025_02_39_04_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/37/image_31122025_02_37_54_10622.jpg
/home/pi/Desktop/images/31122025/02/37/image_31122025_02_38_04_9713.jpg
/home/pi/Desktop/images/31122025/02/38/image_31122025_02_38_34_9565.jpg
/home/pi/Desktop/images/31122025/02/38/image_31122025_02_38_45_10620.jpg
/home/pi/Desktop/images/31122025/02/38/image_31122025_02_38_54_9603.jpg
/home/pi/Desktop/images/31122025/02/38/image_31122025_02_39_04_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401818975","1401818995","1401818983","1401818980","1401818991","1401818997"],"photo_ids_order":["1401818975","1401818980","1401818983","1401818991","1401818995","1401818997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1d51acdd20b424cf8fce3b229a68bff.jpg","text":"TemporaryFile(/tmp/multipartBody6350599910091558752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145882711,"filename":"image_31122025_02_37_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae5e1b3b9d288306bc15c56ced9f2608.jpg","text":"TemporaryFile(/tmp/multipartBody7154848309335161818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145882711,"filename":"image_31122025_02_38_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/defcdbe04b7d52749ea68142bcb071bf.jpg","text":"TemporaryFile(/tmp/multipartBody6407694058648453648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145882711,"filename":"image_31122025_02_38_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b60411b085b16432f90c8332ed12fea.jpg","text":"TemporaryFile(/tmp/multipartBody4282327203120941530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145882711,"filename":"image_31122025_02_38_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0590593d07bd4d2c2216b748aba34f3.jpg","text":"TemporaryFile(/tmp/multipartBody6020131691372078211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145882711,"filename":"image_31122025_02_38_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1baec1b5b87c0133c600c5faf75a0356.jpg","text":"TemporaryFile(/tmp/multipartBody8630701575533856207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145882711,"filename":"image_31122025_02_39_04_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401818983","file1":"1401818980","file0":"1401818975","file4":"1401818995","file5":"1401818997","file3":"1401818991"},"map_files_photo_id_array":[{"photo_id":"1401818997","filename":"file5"},{"photo_id":"1401818983","filename":"file2"},{"photo_id":"1401818995","filename":"file4"},{"photo_id":"1401818980","filename":"file1"},{"photo_id":"1401818975","filename":"file0"},{"photo_id":"1401818991","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401818975":["hashtag1","hashtag2"]},{"1401818995":["hashtag1","hashtag2"]},{"1401818983":["hashtag1","hashtag2"]},{"1401818980":["hashtag1","hashtag2"]},{"1401818991":["hashtag1","hashtag2"]},{"1401818997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401818975, 1401818995, 1401818983, 1401818980, 1401818991, 1401818997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.367806911468506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:51:02.928406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_15_10775.jpg', '/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_24_9709.jpg', '/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_34_9655.jpg', '/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_45_10682.jpg', '/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_54_9576.jpg', '/home/pi/Desktop/images/31122025/02/39/image_31122025_02_40_04_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_15_10775.jpg
/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_24_9709.jpg
/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_34_9655.jpg
/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_45_10682.jpg
/home/pi/Desktop/images/31122025/02/39/image_31122025_02_39_54_9576.jpg
/home/pi/Desktop/images/31122025/02/39/image_31122025_02_40_04_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819003","1401819011","1401819007","1401819018","1401819015","1401819000"],"photo_ids_order":["1401819000","1401819003","1401819007","1401819011","1401819015","1401819018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16448d75d4fa11d283aeed3583a0d318.jpg","text":"TemporaryFile(/tmp/multipartBody363918633864247352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145923560,"filename":"image_31122025_02_39_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63d0e4977e8d45bb919b1215a09af9d9.jpg","text":"TemporaryFile(/tmp/multipartBody3085035921137943627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145923560,"filename":"image_31122025_02_39_45_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1aff63375903922a45a16831a19600cc.jpg","text":"TemporaryFile(/tmp/multipartBody6236399531123077621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145923560,"filename":"image_31122025_02_39_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c7c284ddb3118ffa3db134b081249fe.jpg","text":"TemporaryFile(/tmp/multipartBody4197348592594887786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145923560,"filename":"image_31122025_02_40_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b72eadee3f5ddda35d1c125f0e2b16ea.jpg","text":"TemporaryFile(/tmp/multipartBody5001529803534215956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145923560,"filename":"image_31122025_02_39_54_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d27adc50a6b0a370b8c836b087e392ac.jpg","text":"TemporaryFile(/tmp/multipartBody7434944262484712354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145923560,"filename":"image_31122025_02_39_15_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819007","file1":"1401819003","file0":"1401819000","file4":"1401819015","file5":"1401819018","file3":"1401819011"},"map_files_photo_id_array":[{"photo_id":"1401819018","filename":"file5"},{"photo_id":"1401819007","filename":"file2"},{"photo_id":"1401819015","filename":"file4"},{"photo_id":"1401819003","filename":"file1"},{"photo_id":"1401819000","filename":"file0"},{"photo_id":"1401819011","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819003":["hashtag1","hashtag2"]},{"1401819011":["hashtag1","hashtag2"]},{"1401819007":["hashtag1","hashtag2"]},{"1401819018":["hashtag1","hashtag2"]},{"1401819015":["hashtag1","hashtag2"]},{"1401819000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819003, 1401819011, 1401819007, 1401819018, 1401819015, 1401819000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3551127910614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:51:42.301386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_19_2631.jpg', '/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_25_2720.jpg', '/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_31_2882.jpg', '/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_37_3754.jpg', '/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_43_2572.jpg', '/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_07_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_19_2631.jpg
/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_25_2720.jpg
/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_31_2882.jpg
/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_37_3754.jpg
/home/pi/Desktop/images/02112025/20/33/image_02112025_20_33_43_2572.jpg
/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_07_2763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819035","1401819029","1401819023","1401819026","1401819031","1401819033"],"photo_ids_order":["1401819023","1401819026","1401819029","1401819031","1401819033","1401819035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b191d76ebe43390b26015b3a221f2b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6187546852334523984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145964206,"filename":"image_02112025_20_34_07_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a223b3614de4de43d5a82ba064ab5235.jpg","text":"TemporaryFile(/tmp/multipartBody3887780547880350642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145964206,"filename":"image_02112025_20_33_31_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c745cf2cf24b7a36cc16e43165faedc9.jpg","text":"TemporaryFile(/tmp/multipartBody6495933648009632238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145964206,"filename":"image_02112025_20_33_19_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d603d0645a5755b8d88d3617e9f694e.jpg","text":"TemporaryFile(/tmp/multipartBody4276608317641090018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145964206,"filename":"image_02112025_20_33_25_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f216500e7df1d179b20c75cc2fc7552.jpg","text":"TemporaryFile(/tmp/multipartBody216895372061968133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145964206,"filename":"image_02112025_20_33_37_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/277bfc64c901e7a98a9e2f1862432b85.jpg","text":"TemporaryFile(/tmp/multipartBody2554815297364621331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767145964206,"filename":"image_02112025_20_33_43_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819029","file1":"1401819026","file0":"1401819023","file4":"1401819033","file5":"1401819035","file3":"1401819031"},"map_files_photo_id_array":[{"photo_id":"1401819035","filename":"file5"},{"photo_id":"1401819029","filename":"file2"},{"photo_id":"1401819033","filename":"file4"},{"photo_id":"1401819026","filename":"file1"},{"photo_id":"1401819023","filename":"file0"},{"photo_id":"1401819031","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401819035":["hashtag1","hashtag2"]},{"1401819029":["hashtag1","hashtag2"]},{"1401819023":["hashtag1","hashtag2"]},{"1401819026":["hashtag1","hashtag2"]},{"1401819031":["hashtag1","hashtag2"]},{"1401819033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401819035, 1401819029, 1401819023, 1401819026, 1401819031, 1401819033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91438031196594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:52:22.545906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_15_10721.jpg', '/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_24_9652.jpg', '/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_34_9795.jpg', '/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_44_9755.jpg', '/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_55_10700.jpg', '/home/pi/Desktop/images/31122025/02/40/image_31122025_02_41_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_15_10721.jpg
/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_24_9652.jpg
/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_34_9795.jpg
/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_44_9755.jpg
/home/pi/Desktop/images/31122025/02/40/image_31122025_02_40_55_10700.jpg
/home/pi/Desktop/images/31122025/02/40/image_31122025_02_41_04_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819052","1401819046","1401819055","1401819040","1401819043","1401819057"],"photo_ids_order":["1401819040","1401819043","1401819046","1401819052","1401819055","1401819057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a5c1d20dc4b1486ac7400bef05e211d.jpg","text":"TemporaryFile(/tmp/multipartBody5370269209157279300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146003136,"filename":"image_31122025_02_40_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/202762cc1087b2190d22a2ee72c3fa60.jpg","text":"TemporaryFile(/tmp/multipartBody738908410771276845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146003136,"filename":"image_31122025_02_40_34_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e11dd72a7cd1a862c49d3901e6371542.jpg","text":"TemporaryFile(/tmp/multipartBody7012097017543537234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146003136,"filename":"image_31122025_02_40_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed6e8d2c2edcb2fff42c690d42d6a5cf.jpg","text":"TemporaryFile(/tmp/multipartBody8785541333492118166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146003136,"filename":"image_31122025_02_40_15_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ebbf21842f4d6afaecf5ae04559df21.jpg","text":"TemporaryFile(/tmp/multipartBody4411909691436877018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146003136,"filename":"image_31122025_02_40_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dcd90ef3b37ae0cecab1200944883656.jpg","text":"TemporaryFile(/tmp/multipartBody7436456351329991238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146003136,"filename":"image_31122025_02_41_04_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819046","file1":"1401819043","file0":"1401819040","file4":"1401819055","file5":"1401819057","file3":"1401819052"},"map_files_photo_id_array":[{"photo_id":"1401819057","filename":"file5"},{"photo_id":"1401819046","filename":"file2"},{"photo_id":"1401819055","filename":"file4"},{"photo_id":"1401819043","filename":"file1"},{"photo_id":"1401819040","filename":"file0"},{"photo_id":"1401819052","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819052":["hashtag1","hashtag2"]},{"1401819046":["hashtag1","hashtag2"]},{"1401819055":["hashtag1","hashtag2"]},{"1401819040":["hashtag1","hashtag2"]},{"1401819043":["hashtag1","hashtag2"]},{"1401819057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819052, 1401819046, 1401819055, 1401819040, 1401819043, 1401819057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41394376754761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:53:03.274901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/41/image_31122025_02_41_14_9869.jpg', '/home/pi/Desktop/images/31122025/02/41/image_31122025_02_41_24_9812.jpg', '/home/pi/Desktop/images/31122025/02/41/image_31122025_02_41_45_10710.jpg', '/home/pi/Desktop/images/31122025/02/41/image_31122025_02_41_54_9672.jpg', '/home/pi/Desktop/images/31122025/02/41/image_31122025_02_42_04_9726.jpg', '/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_14_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/41/image_31122025_02_41_14_9869.jpg
/home/pi/Desktop/images/31122025/02/41/image_31122025_02_41_24_9812.jpg
/home/pi/Desktop/images/31122025/02/41/image_31122025_02_41_45_10710.jpg
/home/pi/Desktop/images/31122025/02/41/image_31122025_02_41_54_9672.jpg
/home/pi/Desktop/images/31122025/02/41/image_31122025_02_42_04_9726.jpg
/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_14_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819065","1401819089","1401819074","1401819068","1401819091","1401819083"],"photo_ids_order":["1401819065","1401819068","1401819074","1401819083","1401819089","1401819091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79b333b3da46ea1294fb969c5c543d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4406232366017363098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146043944,"filename":"image_31122025_02_41_14_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfea5534d85f304d0d1765ec096db678.jpg","text":"TemporaryFile(/tmp/multipartBody3756601345939502995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146043944,"filename":"image_31122025_02_42_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/115aa6042ec231a503decd60a6ff100f.jpg","text":"TemporaryFile(/tmp/multipartBody3382510891835719946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146043944,"filename":"image_31122025_02_41_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3c1221cbd5f5cb8acf5861faa42b128.jpg","text":"TemporaryFile(/tmp/multipartBody4406888957529698822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146043944,"filename":"image_31122025_02_41_24_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/088fde8351375897de3b28795dfc90dd.jpg","text":"TemporaryFile(/tmp/multipartBody7647112166499634726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146043944,"filename":"image_31122025_02_42_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2d9566c1679588b6737be1be0c10ec8.jpg","text":"TemporaryFile(/tmp/multipartBody7279623758558083781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146043944,"filename":"image_31122025_02_41_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819074","file1":"1401819068","file0":"1401819065","file4":"1401819089","file5":"1401819091","file3":"1401819083"},"map_files_photo_id_array":[{"photo_id":"1401819091","filename":"file5"},{"photo_id":"1401819074","filename":"file2"},{"photo_id":"1401819089","filename":"file4"},{"photo_id":"1401819068","filename":"file1"},{"photo_id":"1401819065","filename":"file0"},{"photo_id":"1401819083","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819065":["hashtag1","hashtag2"]},{"1401819089":["hashtag1","hashtag2"]},{"1401819074":["hashtag1","hashtag2"]},{"1401819068":["hashtag1","hashtag2"]},{"1401819091":["hashtag1","hashtag2"]},{"1401819083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819065, 1401819089, 1401819074, 1401819068, 1401819091, 1401819083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2061493396759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:53:42.626338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_10_3679.jpg', '/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_13_2592.jpg', '/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_22_2727.jpg', '/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_25_2586.jpg', '/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_36_2646.jpg', '/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_40_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_10_3679.jpg
/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_13_2592.jpg
/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_22_2727.jpg
/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_25_2586.jpg
/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_36_2646.jpg
/home/pi/Desktop/images/02112025/20/34/image_02112025_20_34_40_3566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819102","1401819113","1401819109","1401819118","1401819106","1401819117"],"photo_ids_order":["1401819102","1401819106","1401819109","1401819113","1401819117","1401819118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1452740d5f2b559843a21253fef0e518.jpg","text":"TemporaryFile(/tmp/multipartBody5090420993947564178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146084526,"filename":"image_02112025_20_34_10_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0d28b03b3fb4a061126f61753817b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8649130216429823848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146084526,"filename":"image_02112025_20_34_25_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b703f93af796c9dc666222f884241cf.jpg","text":"TemporaryFile(/tmp/multipartBody8466594460128298636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146084526,"filename":"image_02112025_20_34_22_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cff6cd9959f431771ab3823abc29862a.jpg","text":"TemporaryFile(/tmp/multipartBody3637734055363496428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146084526,"filename":"image_02112025_20_34_40_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c10889a0926f4abbcd2f96b27351de8b.jpg","text":"TemporaryFile(/tmp/multipartBody4927104229017329859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146084526,"filename":"image_02112025_20_34_13_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d53b5b1c74a989f7b025215a4e1592ab.jpg","text":"TemporaryFile(/tmp/multipartBody444686762304195886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146084526,"filename":"image_02112025_20_34_36_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819109","file1":"1401819106","file0":"1401819102","file4":"1401819117","file5":"1401819118","file3":"1401819113"},"map_files_photo_id_array":[{"photo_id":"1401819118","filename":"file5"},{"photo_id":"1401819109","filename":"file2"},{"photo_id":"1401819117","filename":"file4"},{"photo_id":"1401819106","filename":"file1"},{"photo_id":"1401819102","filename":"file0"},{"photo_id":"1401819113","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401819102":["hashtag1","hashtag2"]},{"1401819113":["hashtag1","hashtag2"]},{"1401819109":["hashtag1","hashtag2"]},{"1401819118":["hashtag1","hashtag2"]},{"1401819106":["hashtag1","hashtag2"]},{"1401819117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401819102, 1401819113, 1401819109, 1401819118, 1401819106, 1401819117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9534649848938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:54:22.795837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_25_10896.jpg', '/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_34_9651.jpg', '/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_44_9633.jpg', '/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_54_9872.jpg', '/home/pi/Desktop/images/31122025/02/42/image_31122025_02_43_05_10735.jpg', '/home/pi/Desktop/images/31122025/02/43/image_31122025_02_43_14_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_25_10896.jpg
/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_34_9651.jpg
/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_44_9633.jpg
/home/pi/Desktop/images/31122025/02/42/image_31122025_02_42_54_9872.jpg
/home/pi/Desktop/images/31122025/02/42/image_31122025_02_43_05_10735.jpg
/home/pi/Desktop/images/31122025/02/43/image_31122025_02_43_14_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819134","1401819128","1401819131","1401819125","1401819139","1401819150"],"photo_ids_order":["1401819125","1401819128","1401819131","1401819134","1401819139","1401819150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36b4b0c74dd0c5e23892dd3c85ccd211.jpg","text":"TemporaryFile(/tmp/multipartBody3817623615906680624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146123415,"filename":"image_31122025_02_42_54_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a667a7424eb6f841854e708b97091a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7460488139098630474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146123415,"filename":"image_31122025_02_42_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae70da443782b4160baa7b45a171b782.jpg","text":"TemporaryFile(/tmp/multipartBody4582924227252923400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146123415,"filename":"image_31122025_02_42_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebbbc53c3cbdadf0fc35952f22c31a54.jpg","text":"TemporaryFile(/tmp/multipartBody6399042908508886571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146123415,"filename":"image_31122025_02_42_25_10896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/340158028e597b688588be4e7825da50.jpg","text":"TemporaryFile(/tmp/multipartBody2271888962600641365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146123415,"filename":"image_31122025_02_43_05_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5f936d1b8e24898b88c52d0e2418162.jpg","text":"TemporaryFile(/tmp/multipartBody7638908941937749208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146123415,"filename":"image_31122025_02_43_14_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819131","file1":"1401819128","file0":"1401819125","file4":"1401819139","file5":"1401819150","file3":"1401819134"},"map_files_photo_id_array":[{"photo_id":"1401819150","filename":"file5"},{"photo_id":"1401819131","filename":"file2"},{"photo_id":"1401819139","filename":"file4"},{"photo_id":"1401819128","filename":"file1"},{"photo_id":"1401819125","filename":"file0"},{"photo_id":"1401819134","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819134":["hashtag1","hashtag2"]},{"1401819128":["hashtag1","hashtag2"]},{"1401819131":["hashtag1","hashtag2"]},{"1401819125":["hashtag1","hashtag2"]},{"1401819139":["hashtag1","hashtag2"]},{"1401819150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819134, 1401819128, 1401819131, 1401819125, 1401819139, 1401819150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.489113569259644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:55:02.690170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/43/image_31122025_02_43_24_9666.jpg', '/home/pi/Desktop/images/31122025/02/43/image_31122025_02_43_34_10703.jpg', '/home/pi/Desktop/images/31122025/02/43/image_31122025_02_43_44_9601.jpg', '/home/pi/Desktop/images/31122025/02/43/image_31122025_02_44_05_10810.jpg', '/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_14_9690.jpg', '/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_24_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/43/image_31122025_02_43_24_9666.jpg
/home/pi/Desktop/images/31122025/02/43/image_31122025_02_43_34_10703.jpg
/home/pi/Desktop/images/31122025/02/43/image_31122025_02_43_44_9601.jpg
/home/pi/Desktop/images/31122025/02/43/image_31122025_02_44_05_10810.jpg
/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_14_9690.jpg
/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_24_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819152","1401819161","1401819169","1401819157","1401819154","1401819165"],"photo_ids_order":["1401819152","1401819154","1401819157","1401819161","1401819165","1401819169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c56104172b9cd9c2d1c5f37eb7b80517.jpg","text":"TemporaryFile(/tmp/multipartBody2780329265679629003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146163354,"filename":"image_31122025_02_43_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c79d4e2a6aa79c408466e45dd6ab101.jpg","text":"TemporaryFile(/tmp/multipartBody2086573839364897876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146163354,"filename":"image_31122025_02_44_05_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d9e37c96ec893e8620f4d11af332a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5058044941749476552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146163354,"filename":"image_31122025_02_44_24_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ac41b553fc5600b6096af1c14747c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6639804145212238497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146163354,"filename":"image_31122025_02_43_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b0c97afce42b8005991b454b6d2cec7.jpg","text":"TemporaryFile(/tmp/multipartBody6414943928565821824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146163354,"filename":"image_31122025_02_43_34_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbaed1f46bd647d9062ce91f8f40bfcf.jpg","text":"TemporaryFile(/tmp/multipartBody6025349575698007634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146163354,"filename":"image_31122025_02_44_14_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819157","file1":"1401819154","file0":"1401819152","file4":"1401819165","file5":"1401819169","file3":"1401819161"},"map_files_photo_id_array":[{"photo_id":"1401819169","filename":"file5"},{"photo_id":"1401819157","filename":"file2"},{"photo_id":"1401819165","filename":"file4"},{"photo_id":"1401819154","filename":"file1"},{"photo_id":"1401819152","filename":"file0"},{"photo_id":"1401819161","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819152":["hashtag1","hashtag2"]},{"1401819161":["hashtag1","hashtag2"]},{"1401819169":["hashtag1","hashtag2"]},{"1401819157":["hashtag1","hashtag2"]},{"1401819154":["hashtag1","hashtag2"]},{"1401819165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819152, 1401819161, 1401819169, 1401819157, 1401819154, 1401819165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52934193611145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:55:42.027201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/35/image_02112025_20_35_39_2670.jpg', '/home/pi/Desktop/images/02112025/20/35/image_02112025_20_35_43_3696.jpg', '/home/pi/Desktop/images/02112025/20/35/image_02112025_20_35_48_2661.jpg', '/home/pi/Desktop/images/02112025/20/36/image_02112025_20_36_09_2609.jpg', '/home/pi/Desktop/images/02112025/20/36/image_02112025_20_36_19_3397.jpg', '/home/pi/Desktop/images/02112025/20/36/image_02112025_20_36_40_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/35/image_02112025_20_35_39_2670.jpg
/home/pi/Desktop/images/02112025/20/35/image_02112025_20_35_43_3696.jpg
/home/pi/Desktop/images/02112025/20/35/image_02112025_20_35_48_2661.jpg
/home/pi/Desktop/images/02112025/20/36/image_02112025_20_36_09_2609.jpg
/home/pi/Desktop/images/02112025/20/36/image_02112025_20_36_19_3397.jpg
/home/pi/Desktop/images/02112025/20/36/image_02112025_20_36_40_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819185","1401819179","1401819176","1401819181","1401819174","1401819183"],"photo_ids_order":["1401819174","1401819176","1401819179","1401819181","1401819183","1401819185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26bb81833cb0709b886aa212996138f6.jpg","text":"TemporaryFile(/tmp/multipartBody1215645774787178228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146203932,"filename":"image_02112025_20_36_40_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ae7b44ad276dc7e8b76b10f18b6cda4.jpg","text":"TemporaryFile(/tmp/multipartBody4337270203998992672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146203932,"filename":"image_02112025_20_35_48_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/272b5018f0fb8d9ea2fdcabeef20f705.jpg","text":"TemporaryFile(/tmp/multipartBody4097858262367673833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146203932,"filename":"image_02112025_20_35_43_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0baa4fdfa6fb8e70077c232b7af110d.jpg","text":"TemporaryFile(/tmp/multipartBody349639030143593279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146203932,"filename":"image_02112025_20_36_09_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/022d8395cb96ea2687cea29d7aad71c2.jpg","text":"TemporaryFile(/tmp/multipartBody1921841565283256514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146203932,"filename":"image_02112025_20_35_39_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e4709330763bddcdb5d0da71bfbd8ac.jpg","text":"TemporaryFile(/tmp/multipartBody2599374651412570297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146203932,"filename":"image_02112025_20_36_19_3397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819179","file1":"1401819176","file0":"1401819174","file4":"1401819183","file5":"1401819185","file3":"1401819181"},"map_files_photo_id_array":[{"photo_id":"1401819185","filename":"file5"},{"photo_id":"1401819179","filename":"file2"},{"photo_id":"1401819183","filename":"file4"},{"photo_id":"1401819176","filename":"file1"},{"photo_id":"1401819174","filename":"file0"},{"photo_id":"1401819181","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401819185":["hashtag1","hashtag2"]},{"1401819179":["hashtag1","hashtag2"]},{"1401819176":["hashtag1","hashtag2"]},{"1401819181":["hashtag1","hashtag2"]},{"1401819174":["hashtag1","hashtag2"]},{"1401819183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401819185, 1401819179, 1401819176, 1401819181, 1401819174, 1401819183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.084770917892456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 02:56:22.230294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_35_10586.jpg', '/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_44_9631.jpg', '/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_54_9688.jpg', '/home/pi/Desktop/images/31122025/02/44/image_31122025_02_45_04_9784.jpg', '/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_15_10848.jpg', '/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_24_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_35_10586.jpg
/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_44_9631.jpg
/home/pi/Desktop/images/31122025/02/44/image_31122025_02_44_54_9688.jpg
/home/pi/Desktop/images/31122025/02/44/image_31122025_02_45_04_9784.jpg
/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_15_10848.jpg
/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_24_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819200","1401819203","1401819206","1401819198","1401819192","1401819195"],"photo_ids_order":["1401819192","1401819195","1401819198","1401819200","1401819203","1401819206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9698296ec18e7f07119582cd81eb50e8.jpg","text":"TemporaryFile(/tmp/multipartBody8881934741177758982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146242854,"filename":"image_31122025_02_45_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d285c52d9de29fc432ffd2886025ab0c.jpg","text":"TemporaryFile(/tmp/multipartBody9115454701338754749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146242854,"filename":"image_31122025_02_45_15_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee6d544994bd554ed7b5f7b94c762872.jpg","text":"TemporaryFile(/tmp/multipartBody8231504565007257635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146242854,"filename":"image_31122025_02_45_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed84bd4065c01b84a30a37dc6f8fca51.jpg","text":"TemporaryFile(/tmp/multipartBody7316645090056729128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146242854,"filename":"image_31122025_02_44_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b66e22f722d444285eaa80a86407c3c.jpg","text":"TemporaryFile(/tmp/multipartBody121542428812304436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146242854,"filename":"image_31122025_02_44_35_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9e58f4801c122256ca3cfc3a8d13e16.jpg","text":"TemporaryFile(/tmp/multipartBody3149297146745308272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146242854,"filename":"image_31122025_02_44_44_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819198","file1":"1401819195","file0":"1401819192","file4":"1401819203","file5":"1401819206","file3":"1401819200"},"map_files_photo_id_array":[{"photo_id":"1401819206","filename":"file5"},{"photo_id":"1401819198","filename":"file2"},{"photo_id":"1401819203","filename":"file4"},{"photo_id":"1401819195","filename":"file1"},{"photo_id":"1401819192","filename":"file0"},{"photo_id":"1401819200","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819200":["hashtag1","hashtag2"]},{"1401819203":["hashtag1","hashtag2"]},{"1401819206":["hashtag1","hashtag2"]},{"1401819198":["hashtag1","hashtag2"]},{"1401819192":["hashtag1","hashtag2"]},{"1401819195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819200, 1401819203, 1401819206, 1401819198, 1401819192, 1401819195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6503803730011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:57:03.046403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_34_9662.jpg', '/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_45_10628.jpg', '/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_54_9664.jpg', '/home/pi/Desktop/images/31122025/02/45/image_31122025_02_46_04_9887.jpg', '/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_14_9875.jpg', '/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_24_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_34_9662.jpg
/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_45_10628.jpg
/home/pi/Desktop/images/31122025/02/45/image_31122025_02_45_54_9664.jpg
/home/pi/Desktop/images/31122025/02/45/image_31122025_02_46_04_9887.jpg
/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_14_9875.jpg
/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_24_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819230","1401819241","1401819238","1401819232","1401819234","1401819228"],"photo_ids_order":["1401819228","1401819230","1401819232","1401819234","1401819238","1401819241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a695a8914deaa6766207ba3fa9540f4.jpg","text":"TemporaryFile(/tmp/multipartBody7831851676389648486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146283686,"filename":"image_31122025_02_45_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b50fe808107752a1377d70458da62f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8181755437604215960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146283686,"filename":"image_31122025_02_46_24_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a4daf2b8b49e697a532ff3d55db4acc.jpg","text":"TemporaryFile(/tmp/multipartBody2217652817521587471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146283686,"filename":"image_31122025_02_46_14_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cc564f21d77a33fe520de5f5c8a54e5.jpg","text":"TemporaryFile(/tmp/multipartBody8165201042881999585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146283686,"filename":"image_31122025_02_45_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b57bc41241d4e8e02aabdbf86672d56.jpg","text":"TemporaryFile(/tmp/multipartBody6337300653148761184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146283686,"filename":"image_31122025_02_46_04_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4db89895be3aac86241fb101782733f3.jpg","text":"TemporaryFile(/tmp/multipartBody2729617391795648740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146283686,"filename":"image_31122025_02_45_34_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819232","file1":"1401819230","file0":"1401819228","file4":"1401819238","file5":"1401819241","file3":"1401819234"},"map_files_photo_id_array":[{"photo_id":"1401819241","filename":"file5"},{"photo_id":"1401819232","filename":"file2"},{"photo_id":"1401819238","filename":"file4"},{"photo_id":"1401819230","filename":"file1"},{"photo_id":"1401819228","filename":"file0"},{"photo_id":"1401819234","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819230":["hashtag1","hashtag2"]},{"1401819241":["hashtag1","hashtag2"]},{"1401819238":["hashtag1","hashtag2"]},{"1401819232":["hashtag1","hashtag2"]},{"1401819234":["hashtag1","hashtag2"]},{"1401819228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819230, 1401819241, 1401819238, 1401819232, 1401819234, 1401819228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.603211879730225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 02:57:42.543523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/39/image_02112025_20_39_55_2907.jpg', '/home/pi/Desktop/images/02112025/20/39/image_02112025_20_39_57_2705.jpg', '/home/pi/Desktop/images/02112025/20/41/image_02112025_20_41_45_3770.jpg', '/home/pi/Desktop/images/02112025/20/41/image_02112025_20_41_48_2645.jpg', '/home/pi/Desktop/images/02112025/20/45/image_02112025_20_45_36_2719.jpg', '/home/pi/Desktop/images/02112025/20/45/image_02112025_20_45_38_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/39/image_02112025_20_39_55_2907.jpg
/home/pi/Desktop/images/02112025/20/39/image_02112025_20_39_57_2705.jpg
/home/pi/Desktop/images/02112025/20/41/image_02112025_20_41_45_3770.jpg
/home/pi/Desktop/images/02112025/20/41/image_02112025_20_41_48_2645.jpg
/home/pi/Desktop/images/02112025/20/45/image_02112025_20_45_36_2719.jpg
/home/pi/Desktop/images/02112025/20/45/image_02112025_20_45_38_2595.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8390462398529053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 02:59:03.805366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_35_10700.jpg', '/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_44_9606.jpg', '/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_54_9713.jpg', '/home/pi/Desktop/images/31122025/02/46/image_31122025_02_47_05_10692.jpg', '/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_14_9682.jpg', '/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_24_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_35_10700.jpg
/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_44_9606.jpg
/home/pi/Desktop/images/31122025/02/46/image_31122025_02_46_54_9713.jpg
/home/pi/Desktop/images/31122025/02/46/image_31122025_02_47_05_10692.jpg
/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_14_9682.jpg
/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_24_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819284","1401819326","1401819269","1401819265","1401819279","1401819276"],"photo_ids_order":["1401819265","1401819269","1401819276","1401819279","1401819284","1401819326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4b4c7699c915ceddd21db15a3069e11.jpg","text":"TemporaryFile(/tmp/multipartBody7593839239148401747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146404613,"filename":"image_31122025_02_47_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aabcbd183bd5a03ab8dfe30174c2c136.jpg","text":"TemporaryFile(/tmp/multipartBody4514927332095528365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146404613,"filename":"image_31122025_02_47_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a672b51ff64ab72b482b75c6421ad025.jpg","text":"TemporaryFile(/tmp/multipartBody4018310951794793038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146404613,"filename":"image_31122025_02_46_44_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8dc13633080c6e2cd2655df6b394f81.jpg","text":"TemporaryFile(/tmp/multipartBody4411200021297625453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146404613,"filename":"image_31122025_02_46_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0bb976c88c9e8a726d91e770d2131f5.jpg","text":"TemporaryFile(/tmp/multipartBody1712317732835116086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146404613,"filename":"image_31122025_02_47_05_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82d25ac349aa5451d280d2e98881b979.jpg","text":"TemporaryFile(/tmp/multipartBody258165651364875629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146404613,"filename":"image_31122025_02_46_54_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819276","file1":"1401819269","file0":"1401819265","file4":"1401819284","file5":"1401819326","file3":"1401819279"},"map_files_photo_id_array":[{"photo_id":"1401819326","filename":"file5"},{"photo_id":"1401819276","filename":"file2"},{"photo_id":"1401819284","filename":"file4"},{"photo_id":"1401819269","filename":"file1"},{"photo_id":"1401819265","filename":"file0"},{"photo_id":"1401819279","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819284":["hashtag1","hashtag2"]},{"1401819326":["hashtag1","hashtag2"]},{"1401819269":["hashtag1","hashtag2"]},{"1401819265":["hashtag1","hashtag2"]},{"1401819279":["hashtag1","hashtag2"]},{"1401819276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819284, 1401819326, 1401819269, 1401819265, 1401819279, 1401819276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68279528617859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:00:02.490649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_35_10712.jpg', '/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_44_9767.jpg', '/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_54_9649.jpg', '/home/pi/Desktop/images/31122025/02/47/image_31122025_02_48_04_9759.jpg', '/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_15_10769.jpg', '/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_24_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_35_10712.jpg
/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_44_9767.jpg
/home/pi/Desktop/images/31122025/02/47/image_31122025_02_47_54_9649.jpg
/home/pi/Desktop/images/31122025/02/47/image_31122025_02_48_04_9759.jpg
/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_15_10769.jpg
/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_24_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401819772","1401819928","1401819696","1401820033","1401819846","1401819995"],"photo_ids_order":["1401819696","1401819772","1401819846","1401819928","1401819995","1401820033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/490ec2c317c5e72ab054e62591bc7856.jpg","text":"TemporaryFile(/tmp/multipartBody7877223942912918735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146463133,"filename":"image_31122025_02_47_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b45ae3cdbf6bb53da0dae9ae216951c3.jpg","text":"TemporaryFile(/tmp/multipartBody5735473811487317540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146463133,"filename":"image_31122025_02_48_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/437ec28022f527551c6fa778844bae9c.jpg","text":"TemporaryFile(/tmp/multipartBody8741513653045697181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146463133,"filename":"image_31122025_02_47_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3c9157508bb60b16c6e877ebd0772dc.jpg","text":"TemporaryFile(/tmp/multipartBody3226012423250728748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146463133,"filename":"image_31122025_02_48_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0452aef2e71c1007f7f2f28e1c03462c.jpg","text":"TemporaryFile(/tmp/multipartBody8280024237809153626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146463133,"filename":"image_31122025_02_47_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/460717e512c263a60a2ff1acaa9efb88.jpg","text":"TemporaryFile(/tmp/multipartBody2510758797995420879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146463133,"filename":"image_31122025_02_48_15_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401819846","file1":"1401819772","file0":"1401819696","file4":"1401819995","file5":"1401820033","file3":"1401819928"},"map_files_photo_id_array":[{"photo_id":"1401820033","filename":"file5"},{"photo_id":"1401819846","filename":"file2"},{"photo_id":"1401819995","filename":"file4"},{"photo_id":"1401819772","filename":"file1"},{"photo_id":"1401819696","filename":"file0"},{"photo_id":"1401819928","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401819772":["hashtag1","hashtag2"]},{"1401819928":["hashtag1","hashtag2"]},{"1401819696":["hashtag1","hashtag2"]},{"1401820033":["hashtag1","hashtag2"]},{"1401819846":["hashtag1","hashtag2"]},{"1401819995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401819772, 1401819928, 1401819696, 1401820033, 1401819846, 1401819995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.483376026153564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:00:42.037748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/39/image_02112025_20_39_55_2907.jpg', '/home/pi/Desktop/images/02112025/20/39/image_02112025_20_39_57_2705.jpg', '/home/pi/Desktop/images/02112025/20/41/image_02112025_20_41_45_3770.jpg', '/home/pi/Desktop/images/02112025/20/41/image_02112025_20_41_48_2645.jpg', '/home/pi/Desktop/images/02112025/20/45/image_02112025_20_45_36_2719.jpg', '/home/pi/Desktop/images/02112025/20/45/image_02112025_20_45_38_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/39/image_02112025_20_39_55_2907.jpg
/home/pi/Desktop/images/02112025/20/39/image_02112025_20_39_57_2705.jpg
/home/pi/Desktop/images/02112025/20/41/image_02112025_20_41_45_3770.jpg
/home/pi/Desktop/images/02112025/20/41/image_02112025_20_41_48_2645.jpg
/home/pi/Desktop/images/02112025/20/45/image_02112025_20_45_36_2719.jpg
/home/pi/Desktop/images/02112025/20/45/image_02112025_20_45_38_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401820407","1401820499","1401820220","1401820447","1401820342","1401820296"],"photo_ids_order":["1401820220","1401820296","1401820342","1401820407","1401820447","1401820499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/091c65f32635f8eaae87e475efb5c92d.jpg","text":"TemporaryFile(/tmp/multipartBody6023023203414141391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146503782,"filename":"image_02112025_20_41_48_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cad02dc7cc408e490b941f55116a7eb.jpg","text":"TemporaryFile(/tmp/multipartBody3876708122633512839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146503782,"filename":"image_02112025_20_45_38_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdf97bcc9095cf39f62989c7187056e1.jpg","text":"TemporaryFile(/tmp/multipartBody3539164969276370536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146503782,"filename":"image_02112025_20_39_55_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a380f4f3bee73cc5dea213411f61f7ee.jpg","text":"TemporaryFile(/tmp/multipartBody4828688070282028300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146503782,"filename":"image_02112025_20_45_36_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9bd032f71b8a6c95f7567b518e752a3.jpg","text":"TemporaryFile(/tmp/multipartBody2731095224400087398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146503782,"filename":"image_02112025_20_41_45_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54c7ac9f2ca0e1b020eb3128f64f5286.jpg","text":"TemporaryFile(/tmp/multipartBody6306427786656260903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146503782,"filename":"image_02112025_20_39_57_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401820342","file1":"1401820296","file0":"1401820220","file4":"1401820447","file5":"1401820499","file3":"1401820407"},"map_files_photo_id_array":[{"photo_id":"1401820499","filename":"file5"},{"photo_id":"1401820342","filename":"file2"},{"photo_id":"1401820447","filename":"file4"},{"photo_id":"1401820296","filename":"file1"},{"photo_id":"1401820220","filename":"file0"},{"photo_id":"1401820407","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401820407":["hashtag1","hashtag2"]},{"1401820499":["hashtag1","hashtag2"]},{"1401820220":["hashtag1","hashtag2"]},{"1401820447":["hashtag1","hashtag2"]},{"1401820342":["hashtag1","hashtag2"]},{"1401820296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401820407, 1401820499, 1401820220, 1401820447, 1401820342, 1401820296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35316038131714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:01:22.186956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_34_9597.jpg', '/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_44_10714.jpg', '/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_54_9797.jpg', '/home/pi/Desktop/images/31122025/02/48/image_31122025_02_49_04_9510.jpg', '/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_15_10774.jpg', '/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_24_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_34_9597.jpg
/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_44_10714.jpg
/home/pi/Desktop/images/31122025/02/48/image_31122025_02_48_54_9797.jpg
/home/pi/Desktop/images/31122025/02/48/image_31122025_02_49_04_9510.jpg
/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_15_10774.jpg
/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_24_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401820620","1401820617","1401820613","1401820627","1401820615","1401820623"],"photo_ids_order":["1401820613","1401820615","1401820617","1401820620","1401820623","1401820627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9361331410a2db09a6caed1c3a1a4129.jpg","text":"TemporaryFile(/tmp/multipartBody8427849356707769627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146542781,"filename":"image_31122025_02_49_04_9510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca138bde0c484edbbb01f8700e6ce513.jpg","text":"TemporaryFile(/tmp/multipartBody2378012903433450097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146542781,"filename":"image_31122025_02_48_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfc743f55e61a371b966293257d3e467.jpg","text":"TemporaryFile(/tmp/multipartBody8397752239613054921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146542781,"filename":"image_31122025_02_48_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a08f0b9d6bc50bc9a7e76fd8a70a1729.jpg","text":"TemporaryFile(/tmp/multipartBody3059560805613226228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146542781,"filename":"image_31122025_02_49_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5eaa6f1b2c9292e4ad1a535467e951f.jpg","text":"TemporaryFile(/tmp/multipartBody1759098454267174804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146542781,"filename":"image_31122025_02_48_44_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42ab26944916b44689b7e618c2bfe7a8.jpg","text":"TemporaryFile(/tmp/multipartBody4285859017573731356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146542781,"filename":"image_31122025_02_49_15_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401820617","file1":"1401820615","file0":"1401820613","file4":"1401820623","file5":"1401820627","file3":"1401820620"},"map_files_photo_id_array":[{"photo_id":"1401820627","filename":"file5"},{"photo_id":"1401820617","filename":"file2"},{"photo_id":"1401820623","filename":"file4"},{"photo_id":"1401820615","filename":"file1"},{"photo_id":"1401820613","filename":"file0"},{"photo_id":"1401820620","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401820620":["hashtag1","hashtag2"]},{"1401820617":["hashtag1","hashtag2"]},{"1401820613":["hashtag1","hashtag2"]},{"1401820627":["hashtag1","hashtag2"]},{"1401820615":["hashtag1","hashtag2"]},{"1401820623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401820620, 1401820617, 1401820613, 1401820627, 1401820615, 1401820623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.225265979766846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:02:02.891340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_34_9907.jpg', '/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_44_9682.jpg', '/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_55_10680.jpg', '/home/pi/Desktop/images/31122025/02/49/image_31122025_02_50_04_9556.jpg', '/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_14_9745.jpg', '/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_25_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_34_9907.jpg
/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_44_9682.jpg
/home/pi/Desktop/images/31122025/02/49/image_31122025_02_49_55_10680.jpg
/home/pi/Desktop/images/31122025/02/49/image_31122025_02_50_04_9556.jpg
/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_14_9745.jpg
/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_25_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401820719","1401820634","1401820757","1401820678","1401820639","1401820633"],"photo_ids_order":["1401820633","1401820634","1401820639","1401820678","1401820719","1401820757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d60615c70c1a4594b4a7d9fb2e1fb93c.jpg","text":"TemporaryFile(/tmp/multipartBody3080121447510533852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146583530,"filename":"image_31122025_02_50_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/363052eae28766fb9d8545699af8e27d.jpg","text":"TemporaryFile(/tmp/multipartBody4628386202156455589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146583530,"filename":"image_31122025_02_49_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bbda619a41228bf5cd79c2f5b768876.jpg","text":"TemporaryFile(/tmp/multipartBody1618088138873066778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146583530,"filename":"image_31122025_02_50_25_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57d722ea72f014553eef224f418d35db.jpg","text":"TemporaryFile(/tmp/multipartBody8299136275750809956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146583530,"filename":"image_31122025_02_50_04_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ff4685b382ea34bba35026899527cd7.jpg","text":"TemporaryFile(/tmp/multipartBody6586012005795750941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146583530,"filename":"image_31122025_02_49_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b35b2db97cb88c6bda84585cecdb6bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3091381674062577266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146583530,"filename":"image_31122025_02_49_34_9907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401820639","file1":"1401820634","file0":"1401820633","file4":"1401820719","file5":"1401820757","file3":"1401820678"},"map_files_photo_id_array":[{"photo_id":"1401820757","filename":"file5"},{"photo_id":"1401820639","filename":"file2"},{"photo_id":"1401820719","filename":"file4"},{"photo_id":"1401820634","filename":"file1"},{"photo_id":"1401820633","filename":"file0"},{"photo_id":"1401820678","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401820719":["hashtag1","hashtag2"]},{"1401820634":["hashtag1","hashtag2"]},{"1401820757":["hashtag1","hashtag2"]},{"1401820678":["hashtag1","hashtag2"]},{"1401820639":["hashtag1","hashtag2"]},{"1401820633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401820719, 1401820634, 1401820757, 1401820678, 1401820639, 1401820633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.402318239212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:02:42.597789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/46/image_02112025_20_46_03_2595.jpg', '/home/pi/Desktop/images/02112025/20/46/image_02112025_20_46_30_3578.jpg', '/home/pi/Desktop/images/02112025/20/46/image_02112025_20_46_39_3668.jpg', '/home/pi/Desktop/images/02112025/20/46/image_02112025_20_46_44_2697.jpg', '/home/pi/Desktop/images/02112025/20/47/image_02112025_20_47_47_2593.jpg', '/home/pi/Desktop/images/02112025/20/47/image_02112025_20_47_51_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/46/image_02112025_20_46_03_2595.jpg
/home/pi/Desktop/images/02112025/20/46/image_02112025_20_46_30_3578.jpg
/home/pi/Desktop/images/02112025/20/46/image_02112025_20_46_39_3668.jpg
/home/pi/Desktop/images/02112025/20/46/image_02112025_20_46_44_2697.jpg
/home/pi/Desktop/images/02112025/20/47/image_02112025_20_47_47_2593.jpg
/home/pi/Desktop/images/02112025/20/47/image_02112025_20_47_51_3588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821108","1401821392","1401821221","1401821430","1401821325","1401821412"],"photo_ids_order":["1401821108","1401821221","1401821325","1401821392","1401821412","1401821430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e498532c86278f6cf4346e41efec46e0.jpg","text":"TemporaryFile(/tmp/multipartBody6125703574333417622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146624537,"filename":"image_02112025_20_46_03_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f7353c66a5b551f2eb0fa135c0ceb03.jpg","text":"TemporaryFile(/tmp/multipartBody8472222160089446780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146624537,"filename":"image_02112025_20_46_44_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7071df88fe5a645e2b85f4393310aed.jpg","text":"TemporaryFile(/tmp/multipartBody3244675622341530667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146624537,"filename":"image_02112025_20_46_30_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/731d452c5de9f4e0332cbef65fb40a06.jpg","text":"TemporaryFile(/tmp/multipartBody6275285452362776343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146624537,"filename":"image_02112025_20_47_51_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2c34e2e101e25690fb2622e72869cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6014968731052285786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146624537,"filename":"image_02112025_20_46_39_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a23a07f602dd2f6332c71f9e2f16dda5.jpg","text":"TemporaryFile(/tmp/multipartBody3142236246726973148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146624537,"filename":"image_02112025_20_47_47_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821325","file1":"1401821221","file0":"1401821108","file4":"1401821412","file5":"1401821430","file3":"1401821392"},"map_files_photo_id_array":[{"photo_id":"1401821430","filename":"file5"},{"photo_id":"1401821325","filename":"file2"},{"photo_id":"1401821412","filename":"file4"},{"photo_id":"1401821221","filename":"file1"},{"photo_id":"1401821108","filename":"file0"},{"photo_id":"1401821392","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401821108":["hashtag1","hashtag2"]},{"1401821392":["hashtag1","hashtag2"]},{"1401821221":["hashtag1","hashtag2"]},{"1401821430":["hashtag1","hashtag2"]},{"1401821325":["hashtag1","hashtag2"]},{"1401821412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401821108, 1401821392, 1401821221, 1401821430, 1401821325, 1401821412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65979361534119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:03:22.703860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_34_9736.jpg', '/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_44_9600.jpg', '/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_54_9724.jpg', '/home/pi/Desktop/images/31122025/02/50/image_31122025_02_51_04_10675.jpg', '/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_14_9738.jpg', '/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_24_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_34_9736.jpg
/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_44_9600.jpg
/home/pi/Desktop/images/31122025/02/50/image_31122025_02_50_54_9724.jpg
/home/pi/Desktop/images/31122025/02/50/image_31122025_02_51_04_10675.jpg
/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_14_9738.jpg
/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_24_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821471","1401821648","1401821561","1401821467","1401821646","1401821637"],"photo_ids_order":["1401821467","1401821471","1401821561","1401821637","1401821646","1401821648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa73e58af8323605f5c3a70d8cfae08b.jpg","text":"TemporaryFile(/tmp/multipartBody1248287034393605595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146663292,"filename":"image_31122025_02_50_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0ddb8c53e3014fd522c8caacc8522b7.jpg","text":"TemporaryFile(/tmp/multipartBody4595704836889443274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146663292,"filename":"image_31122025_02_51_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8e6cf00d245bbac7322f43572c32820.jpg","text":"TemporaryFile(/tmp/multipartBody3797005625698041848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146663292,"filename":"image_31122025_02_50_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63ad879df83f5fc6f6c4dc3555858a36.jpg","text":"TemporaryFile(/tmp/multipartBody4081702457200843728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146663292,"filename":"image_31122025_02_50_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53d1814a00c620dfe97a98df9f5b82c1.jpg","text":"TemporaryFile(/tmp/multipartBody3931870823860779120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146663292,"filename":"image_31122025_02_51_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52398ed9e2a606869ea03bf3db641480.jpg","text":"TemporaryFile(/tmp/multipartBody5656760989525797523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146663292,"filename":"image_31122025_02_51_04_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821561","file1":"1401821471","file0":"1401821467","file4":"1401821646","file5":"1401821648","file3":"1401821637"},"map_files_photo_id_array":[{"photo_id":"1401821648","filename":"file5"},{"photo_id":"1401821561","filename":"file2"},{"photo_id":"1401821646","filename":"file4"},{"photo_id":"1401821471","filename":"file1"},{"photo_id":"1401821467","filename":"file0"},{"photo_id":"1401821637","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401821471":["hashtag1","hashtag2"]},{"1401821648":["hashtag1","hashtag2"]},{"1401821561":["hashtag1","hashtag2"]},{"1401821467":["hashtag1","hashtag2"]},{"1401821646":["hashtag1","hashtag2"]},{"1401821637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401821471, 1401821648, 1401821561, 1401821467, 1401821646, 1401821637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69400405883789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:04:02.624895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_34_10605.jpg', '/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_44_9560.jpg', '/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_55_10561.jpg', '/home/pi/Desktop/images/31122025/02/51/image_31122025_02_52_05_9926.jpg', '/home/pi/Desktop/images/31122025/02/52/image_31122025_02_52_14_9772.jpg', '/home/pi/Desktop/images/31122025/02/52/image_31122025_02_52_24_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_34_10605.jpg
/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_44_9560.jpg
/home/pi/Desktop/images/31122025/02/51/image_31122025_02_51_55_10561.jpg
/home/pi/Desktop/images/31122025/02/51/image_31122025_02_52_05_9926.jpg
/home/pi/Desktop/images/31122025/02/52/image_31122025_02_52_14_9772.jpg
/home/pi/Desktop/images/31122025/02/52/image_31122025_02_52_24_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821737","1401821763","1401821772","1401821766","1401821769","1401821760"],"photo_ids_order":["1401821737","1401821760","1401821763","1401821766","1401821769","1401821772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36bc9501f6fb921baee16f55dd241a56.jpg","text":"TemporaryFile(/tmp/multipartBody6133345320174139086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146703277,"filename":"image_31122025_02_51_34_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fb36abe327ff55957dbfe82ded11b3e.jpg","text":"TemporaryFile(/tmp/multipartBody1233321930802632310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146703277,"filename":"image_31122025_02_51_55_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1830360b200a285fdd12a2421d1bf7e4.jpg","text":"TemporaryFile(/tmp/multipartBody145266829095456359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146703277,"filename":"image_31122025_02_52_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf8636c5c4d097fb3eaeee2bb4ac4d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4509919929373797803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146703277,"filename":"image_31122025_02_52_05_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b148277794cce2a28fa2b8887cdbf02f.jpg","text":"TemporaryFile(/tmp/multipartBody4754029225594307378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146703277,"filename":"image_31122025_02_52_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57343f0bb594acd05cdbd7d055656852.jpg","text":"TemporaryFile(/tmp/multipartBody6345329592273060509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146703277,"filename":"image_31122025_02_51_44_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821763","file1":"1401821760","file0":"1401821737","file4":"1401821769","file5":"1401821772","file3":"1401821766"},"map_files_photo_id_array":[{"photo_id":"1401821772","filename":"file5"},{"photo_id":"1401821763","filename":"file2"},{"photo_id":"1401821769","filename":"file4"},{"photo_id":"1401821760","filename":"file1"},{"photo_id":"1401821737","filename":"file0"},{"photo_id":"1401821766","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401821737":["hashtag1","hashtag2"]},{"1401821763":["hashtag1","hashtag2"]},{"1401821772":["hashtag1","hashtag2"]},{"1401821766":["hashtag1","hashtag2"]},{"1401821769":["hashtag1","hashtag2"]},{"1401821760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401821737, 1401821763, 1401821772, 1401821766, 1401821769, 1401821760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79801058769226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:04:41.908840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_21_2609.jpg', '/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_24_2602.jpg', '/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_33_3729.jpg', '/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_44_2629.jpg', '/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_51_2737.jpg', '/home/pi/Desktop/images/02112025/20/49/image_02112025_20_49_12_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_21_2609.jpg
/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_24_2602.jpg
/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_33_3729.jpg
/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_44_2629.jpg
/home/pi/Desktop/images/02112025/20/48/image_02112025_20_48_51_2737.jpg
/home/pi/Desktop/images/02112025/20/49/image_02112025_20_49_12_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821813","1401821794","1401821815","1401821812","1401821784","1401821811"],"photo_ids_order":["1401821784","1401821794","1401821811","1401821812","1401821813","1401821815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc6a3fc48217fda6297fa2e0a4ab1210.jpg","text":"TemporaryFile(/tmp/multipartBody5086498023482237980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146743816,"filename":"image_02112025_20_48_51_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4100ce92859cb1c3f6b269f611100948.jpg","text":"TemporaryFile(/tmp/multipartBody5323608076684789639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146743816,"filename":"image_02112025_20_48_24_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85d668cd983d3211680b721e57d2daa6.jpg","text":"TemporaryFile(/tmp/multipartBody8706459212357644798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146743816,"filename":"image_02112025_20_49_12_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1fc0bda4118fa24597fa5352eb2c31a.jpg","text":"TemporaryFile(/tmp/multipartBody7653452107904016281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146743816,"filename":"image_02112025_20_48_44_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ed815cc429e4a15edc24f9ca1847af2.jpg","text":"TemporaryFile(/tmp/multipartBody1896927521873951362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146743816,"filename":"image_02112025_20_48_21_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45658496f90cde494ff94775a3088875.jpg","text":"TemporaryFile(/tmp/multipartBody652519981583728429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146743816,"filename":"image_02112025_20_48_33_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821811","file1":"1401821794","file0":"1401821784","file4":"1401821813","file5":"1401821815","file3":"1401821812"},"map_files_photo_id_array":[{"photo_id":"1401821815","filename":"file5"},{"photo_id":"1401821811","filename":"file2"},{"photo_id":"1401821813","filename":"file4"},{"photo_id":"1401821794","filename":"file1"},{"photo_id":"1401821784","filename":"file0"},{"photo_id":"1401821812","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401821813":["hashtag1","hashtag2"]},{"1401821794":["hashtag1","hashtag2"]},{"1401821815":["hashtag1","hashtag2"]},{"1401821812":["hashtag1","hashtag2"]},{"1401821784":["hashtag1","hashtag2"]},{"1401821811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401821813, 1401821794, 1401821815, 1401821812, 1401821784, 1401821811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28650259971619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:05:22.104469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/52/image_31122025_02_52_44_9707.jpg', '/home/pi/Desktop/images/31122025/02/52/image_31122025_02_52_54_9747.jpg', '/home/pi/Desktop/images/31122025/02/52/image_31122025_02_53_05_10555.jpg', '/home/pi/Desktop/images/31122025/02/53/image_31122025_02_53_14_9821.jpg', '/home/pi/Desktop/images/31122025/02/53/image_31122025_02_53_24_9725.jpg', '/home/pi/Desktop/images/31122025/02/53/image_31122025_02_53_45_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/52/image_31122025_02_52_44_9707.jpg
/home/pi/Desktop/images/31122025/02/52/image_31122025_02_52_54_9747.jpg
/home/pi/Desktop/images/31122025/02/52/image_31122025_02_53_05_10555.jpg
/home/pi/Desktop/images/31122025/02/53/image_31122025_02_53_14_9821.jpg
/home/pi/Desktop/images/31122025/02/53/image_31122025_02_53_24_9725.jpg
/home/pi/Desktop/images/31122025/02/53/image_31122025_02_53_45_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821837","1401821831","1401821824","1401821827","1401821835","1401821820"],"photo_ids_order":["1401821820","1401821824","1401821827","1401821831","1401821835","1401821837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee49b60f6edb2cc3e6b4a6294d48baed.jpg","text":"TemporaryFile(/tmp/multipartBody8754528115757850753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146782699,"filename":"image_31122025_02_53_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b95a477f5cf7bfb8726aaae798fd6249.jpg","text":"TemporaryFile(/tmp/multipartBody6266239585396679216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146782699,"filename":"image_31122025_02_53_14_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d16d0e9aec8056e6448ea3709f76079e.jpg","text":"TemporaryFile(/tmp/multipartBody5302607245388171264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146782699,"filename":"image_31122025_02_52_54_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38d8fe6e88da63d629a732e6081a9099.jpg","text":"TemporaryFile(/tmp/multipartBody7552439182256825561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146782699,"filename":"image_31122025_02_53_05_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbbee9c1424d1e79c8a6a018d8698075.jpg","text":"TemporaryFile(/tmp/multipartBody2376421199331551234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146782699,"filename":"image_31122025_02_53_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb79c1827756b44c4eea5d8b3145bf92.jpg","text":"TemporaryFile(/tmp/multipartBody1631561558177423856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146782699,"filename":"image_31122025_02_52_44_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821827","file1":"1401821824","file0":"1401821820","file4":"1401821835","file5":"1401821837","file3":"1401821831"},"map_files_photo_id_array":[{"photo_id":"1401821837","filename":"file5"},{"photo_id":"1401821827","filename":"file2"},{"photo_id":"1401821835","filename":"file4"},{"photo_id":"1401821824","filename":"file1"},{"photo_id":"1401821820","filename":"file0"},{"photo_id":"1401821831","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401821837":["hashtag1","hashtag2"]},{"1401821831":["hashtag1","hashtag2"]},{"1401821824":["hashtag1","hashtag2"]},{"1401821827":["hashtag1","hashtag2"]},{"1401821835":["hashtag1","hashtag2"]},{"1401821820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401821837, 1401821831, 1401821824, 1401821827, 1401821835, 1401821820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6798951625824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:06:02.679415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/53/image_31122025_02_53_54_9736.jpg', '/home/pi/Desktop/images/31122025/02/53/image_31122025_02_54_04_9598.jpg', '/home/pi/Desktop/images/31122025/02/54/image_31122025_02_54_15_10724.jpg', '/home/pi/Desktop/images/31122025/02/54/image_31122025_02_54_34_9553.jpg', '/home/pi/Desktop/images/31122025/02/54/image_31122025_02_54_44_10573.jpg', '/home/pi/Desktop/images/31122025/02/54/image_31122025_02_54_54_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/53/image_31122025_02_53_54_9736.jpg
/home/pi/Desktop/images/31122025/02/53/image_31122025_02_54_04_9598.jpg
/home/pi/Desktop/images/31122025/02/54/image_31122025_02_54_15_10724.jpg
/home/pi/Desktop/images/31122025/02/54/image_31122025_02_54_34_9553.jpg
/home/pi/Desktop/images/31122025/02/54/image_31122025_02_54_44_10573.jpg
/home/pi/Desktop/images/31122025/02/54/image_31122025_02_54_54_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821849","1401821846","1401821851","1401821863","1401821857","1401821867"],"photo_ids_order":["1401821846","1401821849","1401821851","1401821857","1401821863","1401821867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c172cc7a0f32661547ea72bf48cc0bb9.jpg","text":"TemporaryFile(/tmp/multipartBody8081013601142205318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146823293,"filename":"image_31122025_02_54_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9595588782d1aa35a281fe92bdd3f531.jpg","text":"TemporaryFile(/tmp/multipartBody1504991775843259439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146823293,"filename":"image_31122025_02_53_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6dab1d921d01f9cf63301e21e90cdd8a.jpg","text":"TemporaryFile(/tmp/multipartBody5961327707653440693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146823293,"filename":"image_31122025_02_54_15_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b80c4fcd525278c0d683241938d8d2c3.jpg","text":"TemporaryFile(/tmp/multipartBody3161002870675882474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146823293,"filename":"image_31122025_02_54_44_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b665cda10d4b889b8b7713e6139f1cc.jpg","text":"TemporaryFile(/tmp/multipartBody1190555419963769499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146823293,"filename":"image_31122025_02_54_34_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd86902a55895d76539b2d6381bdbc32.jpg","text":"TemporaryFile(/tmp/multipartBody5087542207696521061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146823293,"filename":"image_31122025_02_54_54_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821851","file1":"1401821849","file0":"1401821846","file4":"1401821863","file5":"1401821867","file3":"1401821857"},"map_files_photo_id_array":[{"photo_id":"1401821867","filename":"file5"},{"photo_id":"1401821851","filename":"file2"},{"photo_id":"1401821863","filename":"file4"},{"photo_id":"1401821849","filename":"file1"},{"photo_id":"1401821846","filename":"file0"},{"photo_id":"1401821857","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401821849":["hashtag1","hashtag2"]},{"1401821846":["hashtag1","hashtag2"]},{"1401821851":["hashtag1","hashtag2"]},{"1401821863":["hashtag1","hashtag2"]},{"1401821857":["hashtag1","hashtag2"]},{"1401821867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401821849, 1401821846, 1401821851, 1401821863, 1401821857, 1401821867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86402201652527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:06:42.275640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/49/image_02112025_20_49_23_2619.jpg', '/home/pi/Desktop/images/02112025/20/49/image_02112025_20_49_30_3686.jpg', '/home/pi/Desktop/images/02112025/20/50/image_02112025_20_50_18_2897.jpg', '/home/pi/Desktop/images/02112025/20/50/image_02112025_20_50_20_2734.jpg', '/home/pi/Desktop/images/02112025/20/51/image_02112025_20_51_38_2600.jpg', '/home/pi/Desktop/images/02112025/20/51/image_02112025_20_51_41_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/49/image_02112025_20_49_23_2619.jpg
/home/pi/Desktop/images/02112025/20/49/image_02112025_20_49_30_3686.jpg
/home/pi/Desktop/images/02112025/20/50/image_02112025_20_50_18_2897.jpg
/home/pi/Desktop/images/02112025/20/50/image_02112025_20_50_20_2734.jpg
/home/pi/Desktop/images/02112025/20/51/image_02112025_20_51_38_2600.jpg
/home/pi/Desktop/images/02112025/20/51/image_02112025_20_51_41_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821882","1401821879","1401821896","1401821893","1401821891","1401821888"],"photo_ids_order":["1401821879","1401821882","1401821888","1401821891","1401821893","1401821896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ba658545b1d6809f9c9b0a04fdae629.jpg","text":"TemporaryFile(/tmp/multipartBody3949186466575919891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146864165,"filename":"image_02112025_20_49_30_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4af6479238aedc0914141acbd570a80b.jpg","text":"TemporaryFile(/tmp/multipartBody6020043140648919695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146864165,"filename":"image_02112025_20_49_23_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aabf86311c5307080c151beab591be9e.jpg","text":"TemporaryFile(/tmp/multipartBody932050509008991721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146864165,"filename":"image_02112025_20_51_41_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea628b3d540a1647cda50e5e87cf68d8.jpg","text":"TemporaryFile(/tmp/multipartBody5689025192242628428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146864165,"filename":"image_02112025_20_51_38_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e9f1de6088ae7e978b127e86d2ef14c.jpg","text":"TemporaryFile(/tmp/multipartBody4705325139879807129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146864165,"filename":"image_02112025_20_50_20_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1442068a64376c1e7dbb5f2ab778c237.jpg","text":"TemporaryFile(/tmp/multipartBody1739567077433150747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146864165,"filename":"image_02112025_20_50_18_2897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821888","file1":"1401821882","file0":"1401821879","file4":"1401821893","file5":"1401821896","file3":"1401821891"},"map_files_photo_id_array":[{"photo_id":"1401821896","filename":"file5"},{"photo_id":"1401821888","filename":"file2"},{"photo_id":"1401821893","filename":"file4"},{"photo_id":"1401821882","filename":"file1"},{"photo_id":"1401821879","filename":"file0"},{"photo_id":"1401821891","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401821882":["hashtag1","hashtag2"]},{"1401821879":["hashtag1","hashtag2"]},{"1401821896":["hashtag1","hashtag2"]},{"1401821893":["hashtag1","hashtag2"]},{"1401821891":["hashtag1","hashtag2"]},{"1401821888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401821882, 1401821879, 1401821896, 1401821893, 1401821891, 1401821888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.110037326812744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:07:22.422184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/54/image_31122025_02_55_04_9600.jpg', '/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_15_10836.jpg', '/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_24_9625.jpg', '/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_34_9599.jpg', '/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_45_10641.jpg', '/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/54/image_31122025_02_55_04_9600.jpg
/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_15_10836.jpg
/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_24_9625.jpg
/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_34_9599.jpg
/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_45_10641.jpg
/home/pi/Desktop/images/31122025/02/55/image_31122025_02_55_54_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821903","1401821920","1401821913","1401821907","1401821916","1401821910"],"photo_ids_order":["1401821903","1401821907","1401821910","1401821913","1401821916","1401821920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e24d9b3860f39e011ec1cf8c6086920f.jpg","text":"TemporaryFile(/tmp/multipartBody4788406296153439010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146903016,"filename":"image_31122025_02_55_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11373b7c0d16393cf869905897e861e4.jpg","text":"TemporaryFile(/tmp/multipartBody333897517963816858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146903016,"filename":"image_31122025_02_55_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8657f723385ef9d19adaef9601d14a2a.jpg","text":"TemporaryFile(/tmp/multipartBody9077132842013464665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146903016,"filename":"image_31122025_02_55_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1be381dc5a323ec328e637147963d685.jpg","text":"TemporaryFile(/tmp/multipartBody3081794139903104034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146903016,"filename":"image_31122025_02_55_15_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/770223df1202cdb63bb4862aec5e77a1.jpg","text":"TemporaryFile(/tmp/multipartBody8019020174789225186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146903016,"filename":"image_31122025_02_55_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2db35bb9fd60e5a2ef79a477638bd272.jpg","text":"TemporaryFile(/tmp/multipartBody2538501192925116617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146903016,"filename":"image_31122025_02_55_24_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821910","file1":"1401821907","file0":"1401821903","file4":"1401821916","file5":"1401821920","file3":"1401821913"},"map_files_photo_id_array":[{"photo_id":"1401821920","filename":"file5"},{"photo_id":"1401821910","filename":"file2"},{"photo_id":"1401821916","filename":"file4"},{"photo_id":"1401821907","filename":"file1"},{"photo_id":"1401821903","filename":"file0"},{"photo_id":"1401821913","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401821903":["hashtag1","hashtag2"]},{"1401821920":["hashtag1","hashtag2"]},{"1401821913":["hashtag1","hashtag2"]},{"1401821907":["hashtag1","hashtag2"]},{"1401821916":["hashtag1","hashtag2"]},{"1401821910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401821903, 1401821920, 1401821913, 1401821907, 1401821916, 1401821910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98723864555359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:08:03.196623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/55/image_31122025_02_56_04_9703.jpg', '/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_15_10811.jpg', '/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_24_9608.jpg', '/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_34_9635.jpg', '/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_45_10592.jpg', '/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_54_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/55/image_31122025_02_56_04_9703.jpg
/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_15_10811.jpg
/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_24_9608.jpg
/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_34_9635.jpg
/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_45_10592.jpg
/home/pi/Desktop/images/31122025/02/56/image_31122025_02_56_54_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821924","1401821935","1401821929","1401821923","1401821925","1401821940"],"photo_ids_order":["1401821923","1401821924","1401821925","1401821929","1401821935","1401821940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e0821942a72bfd5dc72dcf14ae94372.jpg","text":"TemporaryFile(/tmp/multipartBody4682295561174628644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146943884,"filename":"image_31122025_02_56_15_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1a6abb2b642d9d7f19e0c4b1f55c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody5680572614812145777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146943884,"filename":"image_31122025_02_56_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34a2d6069a92937d7e4cfbd4071c89d1.jpg","text":"TemporaryFile(/tmp/multipartBody7534950735929866181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146943884,"filename":"image_31122025_02_56_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3869719074180073fb19e7ec2a3a46e.jpg","text":"TemporaryFile(/tmp/multipartBody5532583364020961119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146943884,"filename":"image_31122025_02_56_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2d067ae9d8c278a51c314c3545b8c1f.jpg","text":"TemporaryFile(/tmp/multipartBody3688587356540223728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146943884,"filename":"image_31122025_02_56_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aca1b33817f7f2aed980a11450e10233.jpg","text":"TemporaryFile(/tmp/multipartBody4824145002388413939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146943884,"filename":"image_31122025_02_56_54_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821925","file1":"1401821924","file0":"1401821923","file4":"1401821935","file5":"1401821940","file3":"1401821929"},"map_files_photo_id_array":[{"photo_id":"1401821940","filename":"file5"},{"photo_id":"1401821925","filename":"file2"},{"photo_id":"1401821935","filename":"file4"},{"photo_id":"1401821924","filename":"file1"},{"photo_id":"1401821923","filename":"file0"},{"photo_id":"1401821929","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401821924":["hashtag1","hashtag2"]},{"1401821935":["hashtag1","hashtag2"]},{"1401821929":["hashtag1","hashtag2"]},{"1401821923":["hashtag1","hashtag2"]},{"1401821925":["hashtag1","hashtag2"]},{"1401821940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401821924, 1401821935, 1401821929, 1401821923, 1401821925, 1401821940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62769079208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:08:42.671229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/52/image_02112025_20_52_56_2598.jpg', '/home/pi/Desktop/images/02112025/20/53/image_02112025_20_53_17_2556.jpg', '/home/pi/Desktop/images/02112025/20/53/image_02112025_20_53_44_3598.jpg', '/home/pi/Desktop/images/02112025/20/53/image_02112025_20_53_56_2660.jpg', '/home/pi/Desktop/images/02112025/20/53/image_02112025_20_53_59_2628.jpg', '/home/pi/Desktop/images/02112025/20/54/image_02112025_20_54_26_3901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/52/image_02112025_20_52_56_2598.jpg
/home/pi/Desktop/images/02112025/20/53/image_02112025_20_53_17_2556.jpg
/home/pi/Desktop/images/02112025/20/53/image_02112025_20_53_44_3598.jpg
/home/pi/Desktop/images/02112025/20/53/image_02112025_20_53_56_2660.jpg
/home/pi/Desktop/images/02112025/20/53/image_02112025_20_53_59_2628.jpg
/home/pi/Desktop/images/02112025/20/54/image_02112025_20_54_26_3901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821960","1401821965","1401821959","1401821962","1401821956","1401821961"],"photo_ids_order":["1401821956","1401821959","1401821960","1401821961","1401821962","1401821965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dafdeaad88ceebf55a6b5f4288176b48.jpg","text":"TemporaryFile(/tmp/multipartBody3967208249795487413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146984613,"filename":"image_02112025_20_53_44_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6262b32725f6dbbe897406378027955.jpg","text":"TemporaryFile(/tmp/multipartBody6183800989179320037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146984613,"filename":"image_02112025_20_54_26_3901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0aace3c10b94ff6132845cb2efac9674.jpg","text":"TemporaryFile(/tmp/multipartBody2263986735938919281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146984613,"filename":"image_02112025_20_53_17_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4aad719382a79296c6d8d312050fa291.jpg","text":"TemporaryFile(/tmp/multipartBody8576098730588494583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146984613,"filename":"image_02112025_20_53_59_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3990bbbbe8fa88692ae65672c780fcbf.jpg","text":"TemporaryFile(/tmp/multipartBody4918331015540578778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146984613,"filename":"image_02112025_20_52_56_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e884ac8ab1db713a6212ab9c9f1699b.jpg","text":"TemporaryFile(/tmp/multipartBody988020054661654948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767146984613,"filename":"image_02112025_20_53_56_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821960","file1":"1401821959","file0":"1401821956","file4":"1401821962","file5":"1401821965","file3":"1401821961"},"map_files_photo_id_array":[{"photo_id":"1401821965","filename":"file5"},{"photo_id":"1401821960","filename":"file2"},{"photo_id":"1401821962","filename":"file4"},{"photo_id":"1401821959","filename":"file1"},{"photo_id":"1401821956","filename":"file0"},{"photo_id":"1401821961","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401821960":["hashtag1","hashtag2"]},{"1401821965":["hashtag1","hashtag2"]},{"1401821959":["hashtag1","hashtag2"]},{"1401821962":["hashtag1","hashtag2"]},{"1401821956":["hashtag1","hashtag2"]},{"1401821961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401821960, 1401821965, 1401821959, 1401821962, 1401821956, 1401821961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.267184019088745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:09:22.969535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/56/image_31122025_02_57_04_9747.jpg', '/home/pi/Desktop/images/31122025/02/57/image_31122025_02_57_15_10718.jpg', '/home/pi/Desktop/images/31122025/02/57/image_31122025_02_57_24_9608.jpg', '/home/pi/Desktop/images/31122025/02/57/image_31122025_02_57_34_9622.jpg', '/home/pi/Desktop/images/31122025/02/57/image_31122025_02_57_44_10548.jpg', '/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_15_10799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/56/image_31122025_02_57_04_9747.jpg
/home/pi/Desktop/images/31122025/02/57/image_31122025_02_57_15_10718.jpg
/home/pi/Desktop/images/31122025/02/57/image_31122025_02_57_24_9608.jpg
/home/pi/Desktop/images/31122025/02/57/image_31122025_02_57_34_9622.jpg
/home/pi/Desktop/images/31122025/02/57/image_31122025_02_57_44_10548.jpg
/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_15_10799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401821981","1401821978","1401821983","1401821974","1401821985","1401821979"],"photo_ids_order":["1401821974","1401821978","1401821979","1401821981","1401821983","1401821985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/333a669e5e82f6e05f38b9f7f65ee67e.jpg","text":"TemporaryFile(/tmp/multipartBody6004496651546044998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147023569,"filename":"image_31122025_02_57_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99aa217be6366460b73484aa199f5474.jpg","text":"TemporaryFile(/tmp/multipartBody2013407251910273423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147023569,"filename":"image_31122025_02_57_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4efacdfd0d591e0b2528a57840586cf0.jpg","text":"TemporaryFile(/tmp/multipartBody8520879205928976964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147023569,"filename":"image_31122025_02_57_44_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1431095a7208d674397f6f354b8537d5.jpg","text":"TemporaryFile(/tmp/multipartBody1695086987197408639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147023569,"filename":"image_31122025_02_57_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6bf214c77a7472c8fdf1e3013fcf784.jpg","text":"TemporaryFile(/tmp/multipartBody8877143530720903437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147023569,"filename":"image_31122025_02_58_15_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e0870dbda9c9cd0797877c1a15b5ca8.jpg","text":"TemporaryFile(/tmp/multipartBody2445905855051628856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147023569,"filename":"image_31122025_02_57_24_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401821979","file1":"1401821978","file0":"1401821974","file4":"1401821983","file5":"1401821985","file3":"1401821981"},"map_files_photo_id_array":[{"photo_id":"1401821985","filename":"file5"},{"photo_id":"1401821979","filename":"file2"},{"photo_id":"1401821983","filename":"file4"},{"photo_id":"1401821978","filename":"file1"},{"photo_id":"1401821974","filename":"file0"},{"photo_id":"1401821981","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401821981":["hashtag1","hashtag2"]},{"1401821978":["hashtag1","hashtag2"]},{"1401821983":["hashtag1","hashtag2"]},{"1401821974":["hashtag1","hashtag2"]},{"1401821985":["hashtag1","hashtag2"]},{"1401821979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401821981, 1401821978, 1401821983, 1401821974, 1401821985, 1401821979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.413166999816895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:10:02.406291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_24_9683.jpg', '/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_34_9680.jpg', '/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_44_9720.jpg', '/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_54_10678.jpg', '/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_14_9844.jpg', '/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_34_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_24_9683.jpg
/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_34_9680.jpg
/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_44_9720.jpg
/home/pi/Desktop/images/31122025/02/58/image_31122025_02_58_54_10678.jpg
/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_14_9844.jpg
/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_34_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822002","1401822005","1401822008","1401821995","1401821997","1401822000"],"photo_ids_order":["1401821995","1401821997","1401822000","1401822002","1401822005","1401822008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7347f8dd9719e32a2b962d21b42e12c.jpg","text":"TemporaryFile(/tmp/multipartBody5592426758175648970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147063038,"filename":"image_31122025_02_58_54_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60aa01204da147125a63431013168ca3.jpg","text":"TemporaryFile(/tmp/multipartBody3638060772748113217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147063038,"filename":"image_31122025_02_59_14_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/366f84cb7cd588b0861e64d7ca68147c.jpg","text":"TemporaryFile(/tmp/multipartBody7475381633798978792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147063038,"filename":"image_31122025_02_59_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/656993f2e9debd77af1cab0c9ed6dba5.jpg","text":"TemporaryFile(/tmp/multipartBody2227062199120281943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147063038,"filename":"image_31122025_02_58_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c0bb5875cac1e51160cad39648d43d9.jpg","text":"TemporaryFile(/tmp/multipartBody2042671620376800881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147063038,"filename":"image_31122025_02_58_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c606314c4a70434ae51a05d33e4d537.jpg","text":"TemporaryFile(/tmp/multipartBody7763743097105924532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147063038,"filename":"image_31122025_02_58_44_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822000","file1":"1401821997","file0":"1401821995","file4":"1401822005","file5":"1401822008","file3":"1401822002"},"map_files_photo_id_array":[{"photo_id":"1401822008","filename":"file5"},{"photo_id":"1401822000","filename":"file2"},{"photo_id":"1401822005","filename":"file4"},{"photo_id":"1401821997","filename":"file1"},{"photo_id":"1401821995","filename":"file0"},{"photo_id":"1401822002","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822002":["hashtag1","hashtag2"]},{"1401822005":["hashtag1","hashtag2"]},{"1401822008":["hashtag1","hashtag2"]},{"1401821995":["hashtag1","hashtag2"]},{"1401821997":["hashtag1","hashtag2"]},{"1401822000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822002, 1401822005, 1401822008, 1401821995, 1401821997, 1401822000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.791372299194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:10:41.996834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/54/image_02112025_20_54_35_2983.jpg', '/home/pi/Desktop/images/02112025/20/54/image_02112025_20_54_46_2645.jpg', '/home/pi/Desktop/images/02112025/20/56/image_02112025_20_56_38_3760.jpg', '/home/pi/Desktop/images/02112025/20/57/image_02112025_20_57_26_2690.jpg', '/home/pi/Desktop/images/02112025/20/57/image_02112025_20_57_53_3666.jpg', '/home/pi/Desktop/images/02112025/20/58/image_02112025_20_58_37_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/54/image_02112025_20_54_35_2983.jpg
/home/pi/Desktop/images/02112025/20/54/image_02112025_20_54_46_2645.jpg
/home/pi/Desktop/images/02112025/20/56/image_02112025_20_56_38_3760.jpg
/home/pi/Desktop/images/02112025/20/57/image_02112025_20_57_26_2690.jpg
/home/pi/Desktop/images/02112025/20/57/image_02112025_20_57_53_3666.jpg
/home/pi/Desktop/images/02112025/20/58/image_02112025_20_58_37_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822023","1401822034","1401822043","1401822025","1401822027","1401822020"],"photo_ids_order":["1401822020","1401822023","1401822025","1401822027","1401822034","1401822043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56c9e54fe74592a7c9f307c3f66a2523.jpg","text":"TemporaryFile(/tmp/multipartBody4570966146961923378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147103903,"filename":"image_02112025_20_54_46_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cb774b1069f42153c3723a20fc111cc.jpg","text":"TemporaryFile(/tmp/multipartBody5989429341024278281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147103903,"filename":"image_02112025_20_57_53_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11d1565b89a5529d333c438725ab734e.jpg","text":"TemporaryFile(/tmp/multipartBody2541038351634096553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147103903,"filename":"image_02112025_20_58_37_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a2db47ba58204141e50e1b70bd2eb70.jpg","text":"TemporaryFile(/tmp/multipartBody1928842775474679069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147103903,"filename":"image_02112025_20_56_38_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/147484ff7a94413fb0eb993297d551c6.jpg","text":"TemporaryFile(/tmp/multipartBody4983661123999529383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147103903,"filename":"image_02112025_20_57_26_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4264f9b6837641eae197cebfca639733.jpg","text":"TemporaryFile(/tmp/multipartBody6120008549099837183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147103903,"filename":"image_02112025_20_54_35_2983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822025","file1":"1401822023","file0":"1401822020","file4":"1401822034","file5":"1401822043","file3":"1401822027"},"map_files_photo_id_array":[{"photo_id":"1401822043","filename":"file5"},{"photo_id":"1401822025","filename":"file2"},{"photo_id":"1401822034","filename":"file4"},{"photo_id":"1401822023","filename":"file1"},{"photo_id":"1401822020","filename":"file0"},{"photo_id":"1401822027","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822023":["hashtag1","hashtag2"]},{"1401822034":["hashtag1","hashtag2"]},{"1401822043":["hashtag1","hashtag2"]},{"1401822025":["hashtag1","hashtag2"]},{"1401822027":["hashtag1","hashtag2"]},{"1401822020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822023, 1401822034, 1401822043, 1401822025, 1401822027, 1401822020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.885981798172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:11:22.196806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_44_9666.jpg', '/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_54_10632.jpg', '/home/pi/Desktop/images/31122025/02/59/image_31122025_03_00_04_9833.jpg', '/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_14_9618.jpg', '/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_25_10772.jpg', '/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_34_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_44_9666.jpg
/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_54_10632.jpg
/home/pi/Desktop/images/31122025/02/59/image_31122025_03_00_04_9833.jpg
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_14_9618.jpg
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_25_10772.jpg
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_34_9772.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.48849010467529297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:11:32.200046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/20/58/image_02112025_20_58_59_2718.jpg', '/home/pi/Desktop/images/02112025/20/59/image_02112025_20_59_19_2653.jpg', '/home/pi/Desktop/images/02112025/20/59/image_02112025_20_59_28_2573.jpg', '/home/pi/Desktop/images/02112025/20/59/image_02112025_20_59_31_2651.jpg', '/home/pi/Desktop/images/02112025/20/59/image_02112025_20_59_49_2640.jpg', '/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_13_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/20/58/image_02112025_20_58_59_2718.jpg
/home/pi/Desktop/images/02112025/20/59/image_02112025_20_59_19_2653.jpg
/home/pi/Desktop/images/02112025/20/59/image_02112025_20_59_28_2573.jpg
/home/pi/Desktop/images/02112025/20/59/image_02112025_20_59_31_2651.jpg
/home/pi/Desktop/images/02112025/20/59/image_02112025_20_59_49_2640.jpg
/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_13_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822082","1401822070","1401822064","1401822073","1401822060","1401822078"],"photo_ids_order":["1401822060","1401822064","1401822070","1401822073","1401822078","1401822082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc27d6e118bc3ab8d9d00c38d1da7a16.jpg","text":"TemporaryFile(/tmp/multipartBody1114855978799997199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147154140,"filename":"image_02112025_21_01_13_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be2f819a50376bde09c22d99adb5714e.jpg","text":"TemporaryFile(/tmp/multipartBody5206293428068094479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147154140,"filename":"image_02112025_20_59_28_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b8e9c70847f6ba55807ce0283a8a6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5440539881585994429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147154140,"filename":"image_02112025_20_59_19_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9ad8826440eee651025909ce676059b.jpg","text":"TemporaryFile(/tmp/multipartBody137601445693923407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147154140,"filename":"image_02112025_20_59_31_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3333a7137bfbb0f96b4223c67138e0a9.jpg","text":"TemporaryFile(/tmp/multipartBody5801100352902330921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147154140,"filename":"image_02112025_20_58_59_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02aa5ebcd8b4e55cbdb65f0c48fb2537.jpg","text":"TemporaryFile(/tmp/multipartBody9028731369877133359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147154140,"filename":"image_02112025_20_59_49_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822070","file1":"1401822064","file0":"1401822060","file4":"1401822078","file5":"1401822082","file3":"1401822073"},"map_files_photo_id_array":[{"photo_id":"1401822082","filename":"file5"},{"photo_id":"1401822070","filename":"file2"},{"photo_id":"1401822078","filename":"file4"},{"photo_id":"1401822064","filename":"file1"},{"photo_id":"1401822060","filename":"file0"},{"photo_id":"1401822073","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822082":["hashtag1","hashtag2"]},{"1401822070":["hashtag1","hashtag2"]},{"1401822064":["hashtag1","hashtag2"]},{"1401822073":["hashtag1","hashtag2"]},{"1401822060":["hashtag1","hashtag2"]},{"1401822078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822082, 1401822070, 1401822064, 1401822073, 1401822060, 1401822078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86225986480713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:12:12.359334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_18_2803.jpg', '/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_22_3619.jpg', '/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_31_3817.jpg', '/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_40_3757.jpg', '/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_48_2979.jpg', '/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_57_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_18_2803.jpg
/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_22_3619.jpg
/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_31_3817.jpg
/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_40_3757.jpg
/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_48_2979.jpg
/home/pi/Desktop/images/02112025/21/01/image_02112025_21_01_57_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822091","1401822099","1401822103","1401822087","1401822084","1401822095"],"photo_ids_order":["1401822084","1401822087","1401822091","1401822095","1401822099","1401822103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b577554622601369e2404e75aa9c24c.jpg","text":"TemporaryFile(/tmp/multipartBody8208245810223049472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147194121,"filename":"image_02112025_21_01_31_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f121bd5aa612e9ba09199b0d307c1314.jpg","text":"TemporaryFile(/tmp/multipartBody4048375519742760714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147194121,"filename":"image_02112025_21_01_48_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/727e9f69a6f161bffca9a9be86e3f209.jpg","text":"TemporaryFile(/tmp/multipartBody580648525225782376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147194121,"filename":"image_02112025_21_01_57_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a99e34b22629ec9b2639d314a90b2d8.jpg","text":"TemporaryFile(/tmp/multipartBody3466263673619895442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147194121,"filename":"image_02112025_21_01_22_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5702d4ac455d290c39bef7b979eabafd.jpg","text":"TemporaryFile(/tmp/multipartBody2632459551406597535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147194121,"filename":"image_02112025_21_01_18_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b465060324cf4ad4480516784557ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2082012280316126128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147194121,"filename":"image_02112025_21_01_40_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822091","file1":"1401822087","file0":"1401822084","file4":"1401822099","file5":"1401822103","file3":"1401822095"},"map_files_photo_id_array":[{"photo_id":"1401822103","filename":"file5"},{"photo_id":"1401822091","filename":"file2"},{"photo_id":"1401822099","filename":"file4"},{"photo_id":"1401822087","filename":"file1"},{"photo_id":"1401822084","filename":"file0"},{"photo_id":"1401822095","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822091":["hashtag1","hashtag2"]},{"1401822099":["hashtag1","hashtag2"]},{"1401822103":["hashtag1","hashtag2"]},{"1401822087":["hashtag1","hashtag2"]},{"1401822084":["hashtag1","hashtag2"]},{"1401822095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822091, 1401822099, 1401822103, 1401822087, 1401822084, 1401822095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98467946052551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:13:03.294222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_44_9666.jpg', '/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_54_10632.jpg', '/home/pi/Desktop/images/31122025/02/59/image_31122025_03_00_04_9833.jpg', '/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_14_9618.jpg', '/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_25_10772.jpg', '/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_34_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_44_9666.jpg
/home/pi/Desktop/images/31122025/02/59/image_31122025_02_59_54_10632.jpg
/home/pi/Desktop/images/31122025/02/59/image_31122025_03_00_04_9833.jpg
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_14_9618.jpg
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_25_10772.jpg
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_34_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822122","1401822131","1401822148","1401822144","1401822140","1401822128"],"photo_ids_order":["1401822122","1401822128","1401822131","1401822140","1401822144","1401822148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/582495cb71dbcea5ef339a29851e28fb.jpg","text":"TemporaryFile(/tmp/multipartBody774507555963511647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147243940,"filename":"image_31122025_02_59_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35f3b118e310cfc8ffff79830118bbe9.jpg","text":"TemporaryFile(/tmp/multipartBody5441765817873049340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147243940,"filename":"image_31122025_03_00_04_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca32db927fbeaed96b0151e24197a0ac.jpg","text":"TemporaryFile(/tmp/multipartBody1974704807507825512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147243940,"filename":"image_31122025_03_00_34_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60984c678985a9d5b23abe1fdca799c9.jpg","text":"TemporaryFile(/tmp/multipartBody6190693592536211013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147243940,"filename":"image_31122025_03_00_25_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ded29214adbf63f1269bb27a86e98527.jpg","text":"TemporaryFile(/tmp/multipartBody8712097960365203817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147243940,"filename":"image_31122025_03_00_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd760a334285d901b407ec886146e706.jpg","text":"TemporaryFile(/tmp/multipartBody1748913716866729750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147243940,"filename":"image_31122025_02_59_54_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822131","file1":"1401822128","file0":"1401822122","file4":"1401822144","file5":"1401822148","file3":"1401822140"},"map_files_photo_id_array":[{"photo_id":"1401822148","filename":"file5"},{"photo_id":"1401822131","filename":"file2"},{"photo_id":"1401822144","filename":"file4"},{"photo_id":"1401822128","filename":"file1"},{"photo_id":"1401822122","filename":"file0"},{"photo_id":"1401822140","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822122":["hashtag1","hashtag2"]},{"1401822131":["hashtag1","hashtag2"]},{"1401822148":["hashtag1","hashtag2"]},{"1401822144":["hashtag1","hashtag2"]},{"1401822140":["hashtag1","hashtag2"]},{"1401822128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822122, 1401822131, 1401822148, 1401822144, 1401822140, 1401822128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14689230918884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:13:42.682855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/02/image_02112025_21_02_12_2677.jpg', '/home/pi/Desktop/images/02112025/21/02/image_02112025_21_02_22_2572.jpg', '/home/pi/Desktop/images/02112025/21/02/image_02112025_21_02_48_1779.jpg', '/home/pi/Desktop/images/02112025/21/02/image_02112025_21_02_57_1713.jpg', '/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_02_1587.jpg', '/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_03_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/02/image_02112025_21_02_12_2677.jpg
/home/pi/Desktop/images/02112025/21/02/image_02112025_21_02_22_2572.jpg
/home/pi/Desktop/images/02112025/21/02/image_02112025_21_02_48_1779.jpg
/home/pi/Desktop/images/02112025/21/02/image_02112025_21_02_57_1713.jpg
/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_02_1587.jpg
/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_03_1584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822175","1401822157","1401822170","1401822164","1401822167","1401822161"],"photo_ids_order":["1401822157","1401822161","1401822164","1401822167","1401822170","1401822175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31a3bcb68a449cf1468166a59fa802e4.jpg","text":"TemporaryFile(/tmp/multipartBody7279521172202305348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147284571,"filename":"image_02112025_21_03_03_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84278625d43bae43f02df4635acf231e.jpg","text":"TemporaryFile(/tmp/multipartBody8268388276110855351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147284571,"filename":"image_02112025_21_02_12_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0de5d4b86b380b45cdfef9826b8d58b5.jpg","text":"TemporaryFile(/tmp/multipartBody1564110639156972721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147284571,"filename":"image_02112025_21_03_02_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14c288493124bbc08d01e8deb1012c21.jpg","text":"TemporaryFile(/tmp/multipartBody7468222972192747309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147284571,"filename":"image_02112025_21_02_48_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de7d1991a151c62cafeacd7f6e6b7975.jpg","text":"TemporaryFile(/tmp/multipartBody5580033484361105287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147284571,"filename":"image_02112025_21_02_57_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/133fb26893b5e86cb04a40add9c416dd.jpg","text":"TemporaryFile(/tmp/multipartBody6730081054959261394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147284571,"filename":"image_02112025_21_02_22_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822164","file1":"1401822161","file0":"1401822157","file4":"1401822170","file5":"1401822175","file3":"1401822167"},"map_files_photo_id_array":[{"photo_id":"1401822175","filename":"file5"},{"photo_id":"1401822164","filename":"file2"},{"photo_id":"1401822170","filename":"file4"},{"photo_id":"1401822161","filename":"file1"},{"photo_id":"1401822157","filename":"file0"},{"photo_id":"1401822167","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822175":["hashtag1","hashtag2"]},{"1401822157":["hashtag1","hashtag2"]},{"1401822170":["hashtag1","hashtag2"]},{"1401822164":["hashtag1","hashtag2"]},{"1401822167":["hashtag1","hashtag2"]},{"1401822161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822175, 1401822157, 1401822170, 1401822164, 1401822167, 1401822161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81321477890015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:14:30.141596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_44_9689.jpg', '/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_55_10651.jpg', '/home/pi/Desktop/images/31122025/03/00/image_31122025_03_01_04_9761.jpg', '/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_14_9551.jpg', '/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_25_10664.jpg', '/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_44_9689.jpg
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_00_55_10651.jpg
/home/pi/Desktop/images/31122025/03/00/image_31122025_03_01_04_9761.jpg
/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_14_9551.jpg
/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_25_10664.jpg
/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_34_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822208","1401822192","1401822210","1401822204","1401822213","1401822185"],"photo_ids_order":["1401822185","1401822192","1401822204","1401822208","1401822210","1401822213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/406a03e91e41c5e3a2c36a42d36ba7b8.jpg","text":"TemporaryFile(/tmp/multipartBody3641508945734455048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147330715,"filename":"image_31122025_03_01_14_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/632fd1b207dd0f9d8e10632a904cb5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6856387862616088764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147330715,"filename":"image_31122025_03_00_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eef81e5af511df999e67ee8ed7104cac.jpg","text":"TemporaryFile(/tmp/multipartBody207371974754331264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147330715,"filename":"image_31122025_03_01_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fab06c2d48f66c73573dbdd82bbabfdc.jpg","text":"TemporaryFile(/tmp/multipartBody6588936202096887318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147330715,"filename":"image_31122025_03_01_04_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fb5e4eac43182e7ee100fcfa19140a3.jpg","text":"TemporaryFile(/tmp/multipartBody8549848778636792243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147330715,"filename":"image_31122025_03_01_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cf7d3b35cd030b5dc097bcb9b10a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody6489458318471506538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147330715,"filename":"image_31122025_03_00_44_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822204","file1":"1401822192","file0":"1401822185","file4":"1401822210","file5":"1401822213","file3":"1401822208"},"map_files_photo_id_array":[{"photo_id":"1401822213","filename":"file5"},{"photo_id":"1401822204","filename":"file2"},{"photo_id":"1401822210","filename":"file4"},{"photo_id":"1401822192","filename":"file1"},{"photo_id":"1401822185","filename":"file0"},{"photo_id":"1401822208","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822208":["hashtag1","hashtag2"]},{"1401822192":["hashtag1","hashtag2"]},{"1401822210":["hashtag1","hashtag2"]},{"1401822204":["hashtag1","hashtag2"]},{"1401822213":["hashtag1","hashtag2"]},{"1401822185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822208, 1401822192, 1401822210, 1401822204, 1401822213, 1401822185)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401822204 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31122025/03/00/image_31122025_03_01_04_9761.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.98687124252319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:15:32.524234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_06_2646.jpg', '/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_12_2664.jpg', '/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_23_11038.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_09_1688.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_11_1731.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_13_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_06_2646.jpg
/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_12_2664.jpg
/home/pi/Desktop/images/02112025/21/03/image_02112025_21_03_23_11038.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_09_1688.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_11_1731.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_13_1710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822242","1401822239","1401822244","1401822247","1401822252","1401822246"],"photo_ids_order":["1401822239","1401822242","1401822244","1401822246","1401822247","1401822252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2ea6fc81b6eff76449105b56bcebcb1.jpg","text":"TemporaryFile(/tmp/multipartBody1489689744851452489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147394439,"filename":"image_02112025_21_03_12_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62bab994f168c7921d33ec37228d2d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3538010312059254935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147394439,"filename":"image_02112025_21_03_06_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19734ebf1f2a698df9003f2a7fc175e7.jpg","text":"TemporaryFile(/tmp/multipartBody3417413916465801711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147394439,"filename":"image_02112025_21_03_23_11038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b33f03492973a8ccda47e333f7421190.jpg","text":"TemporaryFile(/tmp/multipartBody6150924039377793784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147394439,"filename":"image_02112025_21_04_11_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/180f85b7acdfa9b100e066f061b5ec9b.jpg","text":"TemporaryFile(/tmp/multipartBody3832139839530925742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147394439,"filename":"image_02112025_21_04_13_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c9ab2483ba08a4613b0f0fb9b8890fb.jpg","text":"TemporaryFile(/tmp/multipartBody2207858116487201839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147394439,"filename":"image_02112025_21_04_09_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822244","file1":"1401822242","file0":"1401822239","file4":"1401822247","file5":"1401822252","file3":"1401822246"},"map_files_photo_id_array":[{"photo_id":"1401822252","filename":"file5"},{"photo_id":"1401822244","filename":"file2"},{"photo_id":"1401822247","filename":"file4"},{"photo_id":"1401822242","filename":"file1"},{"photo_id":"1401822239","filename":"file0"},{"photo_id":"1401822246","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822242":["hashtag1","hashtag2"]},{"1401822239":["hashtag1","hashtag2"]},{"1401822244":["hashtag1","hashtag2"]},{"1401822247":["hashtag1","hashtag2"]},{"1401822252":["hashtag1","hashtag2"]},{"1401822246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822242, 1401822239, 1401822244, 1401822247, 1401822252, 1401822246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3149254322052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:16:12.623896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_20_2633.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_22_1826.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_29_3436.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_30_1620.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_54_2966.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_05_00_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_20_2633.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_22_1826.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_29_3436.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_30_1620.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_54_2966.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_05_00_1747.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.6703393459320068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:16:22.605245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_44_9685.jpg', '/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_55_10664.jpg', '/home/pi/Desktop/images/31122025/03/01/image_31122025_03_02_04_9570.jpg', '/home/pi/Desktop/images/31122025/03/02/image_31122025_03_02_14_9700.jpg', '/home/pi/Desktop/images/31122025/03/02/image_31122025_03_02_25_10668.jpg', '/home/pi/Desktop/images/31122025/03/02/image_31122025_03_02_34_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_44_9685.jpg
/home/pi/Desktop/images/31122025/03/01/image_31122025_03_01_55_10664.jpg
/home/pi/Desktop/images/31122025/03/01/image_31122025_03_02_04_9570.jpg
/home/pi/Desktop/images/31122025/03/02/image_31122025_03_02_14_9700.jpg
/home/pi/Desktop/images/31122025/03/02/image_31122025_03_02_25_10668.jpg
/home/pi/Desktop/images/31122025/03/02/image_31122025_03_02_34_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822277","1401822271","1401822279","1401822273","1401822276","1401822266"],"photo_ids_order":["1401822266","1401822271","1401822273","1401822276","1401822277","1401822279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d5d9f1de4c3bc2d47c17f388040ed91.jpg","text":"TemporaryFile(/tmp/multipartBody6360304616009345343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147443174,"filename":"image_31122025_03_02_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96e291c145a661bc8e1cab4459c3eae0.jpg","text":"TemporaryFile(/tmp/multipartBody1716035553991375960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147443174,"filename":"image_31122025_03_01_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42548a7359f6ed4b93c1d1bdf5e71cb3.jpg","text":"TemporaryFile(/tmp/multipartBody8768882979088619730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147443174,"filename":"image_31122025_03_02_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47550fdde619e2c85e0e2b8312d45836.jpg","text":"TemporaryFile(/tmp/multipartBody9199827953409641816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147443174,"filename":"image_31122025_03_02_04_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64a780371f65086f43739a849bdfdc44.jpg","text":"TemporaryFile(/tmp/multipartBody7349163028071130711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147443174,"filename":"image_31122025_03_02_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55b60c92577ba184322954a0f82a3ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1455688791013301394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147443174,"filename":"image_31122025_03_01_44_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822273","file1":"1401822271","file0":"1401822266","file4":"1401822277","file5":"1401822279","file3":"1401822276"},"map_files_photo_id_array":[{"photo_id":"1401822279","filename":"file5"},{"photo_id":"1401822273","filename":"file2"},{"photo_id":"1401822277","filename":"file4"},{"photo_id":"1401822271","filename":"file1"},{"photo_id":"1401822266","filename":"file0"},{"photo_id":"1401822276","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822277":["hashtag1","hashtag2"]},{"1401822271":["hashtag1","hashtag2"]},{"1401822279":["hashtag1","hashtag2"]},{"1401822273":["hashtag1","hashtag2"]},{"1401822276":["hashtag1","hashtag2"]},{"1401822266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822277, 1401822271, 1401822279, 1401822273, 1401822276, 1401822266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36321949958801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:17:02.628170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/02/image_31122025_03_02_54_9693.jpg', '/home/pi/Desktop/images/31122025/03/02/image_31122025_03_03_04_10666.jpg', '/home/pi/Desktop/images/31122025/03/03/image_31122025_03_03_24_9657.jpg', '/home/pi/Desktop/images/31122025/03/03/image_31122025_03_03_34_10626.jpg', '/home/pi/Desktop/images/31122025/03/03/image_31122025_03_03_44_9845.jpg', '/home/pi/Desktop/images/31122025/03/03/image_31122025_03_03_54_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/02/image_31122025_03_02_54_9693.jpg
/home/pi/Desktop/images/31122025/03/02/image_31122025_03_03_04_10666.jpg
/home/pi/Desktop/images/31122025/03/03/image_31122025_03_03_24_9657.jpg
/home/pi/Desktop/images/31122025/03/03/image_31122025_03_03_34_10626.jpg
/home/pi/Desktop/images/31122025/03/03/image_31122025_03_03_44_9845.jpg
/home/pi/Desktop/images/31122025/03/03/image_31122025_03_03_54_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822340","1401822337","1401822322","1401822334","1401822301","1401822332"],"photo_ids_order":["1401822301","1401822322","1401822332","1401822334","1401822337","1401822340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/621af0dfaedc68bebe3537f26848663e.jpg","text":"TemporaryFile(/tmp/multipartBody1214750456191102166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147483286,"filename":"image_31122025_03_03_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ce96bda359d6657abf629b930cf0de9.jpg","text":"TemporaryFile(/tmp/multipartBody8641201574276114307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147483286,"filename":"image_31122025_03_03_44_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7725ccb68a5c3e097ed0bffc50b13868.jpg","text":"TemporaryFile(/tmp/multipartBody4786448541808638590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147483286,"filename":"image_31122025_03_03_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/295b0dcbd4dbb7bdd49eac2c973032a3.jpg","text":"TemporaryFile(/tmp/multipartBody6117749812059265539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147483286,"filename":"image_31122025_03_03_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77aa404f703a41b78693f929b5afadc9.jpg","text":"TemporaryFile(/tmp/multipartBody6841318251178907997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147483286,"filename":"image_31122025_03_02_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f4679a863a55b4090a05fc51b326ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1446639493150941456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147483286,"filename":"image_31122025_03_03_24_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822332","file1":"1401822322","file0":"1401822301","file4":"1401822337","file5":"1401822340","file3":"1401822334"},"map_files_photo_id_array":[{"photo_id":"1401822340","filename":"file5"},{"photo_id":"1401822332","filename":"file2"},{"photo_id":"1401822337","filename":"file4"},{"photo_id":"1401822322","filename":"file1"},{"photo_id":"1401822301","filename":"file0"},{"photo_id":"1401822334","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822340":["hashtag1","hashtag2"]},{"1401822337":["hashtag1","hashtag2"]},{"1401822322":["hashtag1","hashtag2"]},{"1401822334":["hashtag1","hashtag2"]},{"1401822301":["hashtag1","hashtag2"]},{"1401822332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822340, 1401822337, 1401822322, 1401822334, 1401822301, 1401822332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32953405380249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:17:41.879904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_20_2633.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_22_1826.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_29_3436.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_30_1620.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_54_2966.jpg', '/home/pi/Desktop/images/02112025/21/04/image_02112025_21_05_00_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_20_2633.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_22_1826.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_29_3436.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_30_1620.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_04_54_2966.jpg
/home/pi/Desktop/images/02112025/21/04/image_02112025_21_05_00_1747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822361","1401822355","1401822349","1401822358","1401822363","1401822365"],"photo_ids_order":["1401822349","1401822355","1401822358","1401822361","1401822363","1401822365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cffb583925f3d57fdc106f74b7beef6a.jpg","text":"TemporaryFile(/tmp/multipartBody4337948658789882071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147523627,"filename":"image_02112025_21_04_30_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b60d9e654567a29f8906b065f7863d4.jpg","text":"TemporaryFile(/tmp/multipartBody1615416151369704902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147523627,"filename":"image_02112025_21_04_22_1826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95598c7d29ebfcc9485ba234a63c6ffe.jpg","text":"TemporaryFile(/tmp/multipartBody7756200358176484656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147523627,"filename":"image_02112025_21_04_20_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54dd1bfe213f80e45d73e150a22b517e.jpg","text":"TemporaryFile(/tmp/multipartBody7404930769790656763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147523627,"filename":"image_02112025_21_04_29_3436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60683712f2a2a95bdf7be20274178635.jpg","text":"TemporaryFile(/tmp/multipartBody6635625909575462452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147523627,"filename":"image_02112025_21_04_54_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81cc15b41f419e043eccafb1468f51e7.jpg","text":"TemporaryFile(/tmp/multipartBody76671389122137634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147523627,"filename":"image_02112025_21_05_00_1747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822358","file1":"1401822355","file0":"1401822349","file4":"1401822363","file5":"1401822365","file3":"1401822361"},"map_files_photo_id_array":[{"photo_id":"1401822365","filename":"file5"},{"photo_id":"1401822358","filename":"file2"},{"photo_id":"1401822363","filename":"file4"},{"photo_id":"1401822355","filename":"file1"},{"photo_id":"1401822349","filename":"file0"},{"photo_id":"1401822361","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822361":["hashtag1","hashtag2"]},{"1401822355":["hashtag1","hashtag2"]},{"1401822349":["hashtag1","hashtag2"]},{"1401822358":["hashtag1","hashtag2"]},{"1401822363":["hashtag1","hashtag2"]},{"1401822365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822361, 1401822355, 1401822349, 1401822358, 1401822363, 1401822365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.950772285461426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:18:22.076160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/03/image_31122025_03_04_04_9818.jpg', '/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_14_10565.jpg', '/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_24_9620.jpg', '/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_35_10575.jpg', '/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_44_9771.jpg', '/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/03/image_31122025_03_04_04_9818.jpg
/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_14_10565.jpg
/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_24_9620.jpg
/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_35_10575.jpg
/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_44_9771.jpg
/home/pi/Desktop/images/31122025/03/04/image_31122025_03_04_54_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822388","1401822379","1401822375","1401822395","1401822383","1401822371"],"photo_ids_order":["1401822371","1401822375","1401822379","1401822383","1401822388","1401822395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f87e6b7b7766bb23fe8c11ae3e261ae.jpg","text":"TemporaryFile(/tmp/multipartBody1307662628207903979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147562707,"filename":"image_31122025_03_04_44_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8533939caaffea6cebfef3569632787.jpg","text":"TemporaryFile(/tmp/multipartBody3808744807889978242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147562707,"filename":"image_31122025_03_04_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cc7f6b3d07a4b47901883a07f8578a6.jpg","text":"TemporaryFile(/tmp/multipartBody5673637916969776255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147562707,"filename":"image_31122025_03_04_14_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47ae5cec5b30a6f1021d2b1c79bebe8c.jpg","text":"TemporaryFile(/tmp/multipartBody7399323489715680344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147562707,"filename":"image_31122025_03_04_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0a038104ef92bb706dceb4de22c601f.jpg","text":"TemporaryFile(/tmp/multipartBody1529565251889264852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147562707,"filename":"image_31122025_03_04_35_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a13fcc5f68d7c4558dd96839eaf8231.jpg","text":"TemporaryFile(/tmp/multipartBody8801916938141114156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147562707,"filename":"image_31122025_03_04_04_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822379","file1":"1401822375","file0":"1401822371","file4":"1401822388","file5":"1401822395","file3":"1401822383"},"map_files_photo_id_array":[{"photo_id":"1401822395","filename":"file5"},{"photo_id":"1401822379","filename":"file2"},{"photo_id":"1401822388","filename":"file4"},{"photo_id":"1401822375","filename":"file1"},{"photo_id":"1401822371","filename":"file0"},{"photo_id":"1401822383","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822388":["hashtag1","hashtag2"]},{"1401822379":["hashtag1","hashtag2"]},{"1401822375":["hashtag1","hashtag2"]},{"1401822395":["hashtag1","hashtag2"]},{"1401822383":["hashtag1","hashtag2"]},{"1401822371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822388, 1401822379, 1401822375, 1401822395, 1401822383, 1401822371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73294806480408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:19:03.365195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/04/image_31122025_03_05_05_10607.jpg', '/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_14_9724.jpg', '/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_24_9639.jpg', '/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_35_10724.jpg', '/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_44_9589.jpg', '/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_54_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/04/image_31122025_03_05_05_10607.jpg
/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_14_9724.jpg
/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_24_9639.jpg
/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_35_10724.jpg
/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_44_9589.jpg
/home/pi/Desktop/images/31122025/03/05/image_31122025_03_05_54_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822416","1401822401","1401822403","1401822412","1401822406","1401822409"],"photo_ids_order":["1401822401","1401822403","1401822406","1401822409","1401822412","1401822416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/700ac81ae774bc4380a1626ed2f02a40.jpg","text":"TemporaryFile(/tmp/multipartBody7411108169912976342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147604206,"filename":"image_31122025_03_05_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5915b548516ca36a07162ce7f70297cc.jpg","text":"TemporaryFile(/tmp/multipartBody8127446023270277032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147604206,"filename":"image_31122025_03_05_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c5b0ab1988b538f27a4a34884ca8c34.jpg","text":"TemporaryFile(/tmp/multipartBody5652582781332671390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147604206,"filename":"image_31122025_03_05_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac8ca02aa33e9e558243fa006f8f08a7.jpg","text":"TemporaryFile(/tmp/multipartBody2283463980486194945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147604206,"filename":"image_31122025_03_05_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7760b9b5d78115a46bf535bbc1b16e5e.jpg","text":"TemporaryFile(/tmp/multipartBody4129083195641241855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147604206,"filename":"image_31122025_03_05_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3be1e7a0ea56a139ce3d4de2799c104.jpg","text":"TemporaryFile(/tmp/multipartBody596211720671658701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147604206,"filename":"image_31122025_03_05_35_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822406","file1":"1401822403","file0":"1401822401","file4":"1401822412","file5":"1401822416","file3":"1401822409"},"map_files_photo_id_array":[{"photo_id":"1401822416","filename":"file5"},{"photo_id":"1401822406","filename":"file2"},{"photo_id":"1401822412","filename":"file4"},{"photo_id":"1401822403","filename":"file1"},{"photo_id":"1401822401","filename":"file0"},{"photo_id":"1401822409","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822416":["hashtag1","hashtag2"]},{"1401822401":["hashtag1","hashtag2"]},{"1401822403":["hashtag1","hashtag2"]},{"1401822412":["hashtag1","hashtag2"]},{"1401822406":["hashtag1","hashtag2"]},{"1401822409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822416, 1401822401, 1401822403, 1401822412, 1401822406, 1401822409)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.09349536895752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:20:02.807947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/05/image_31122025_03_06_05_10705.jpg', '/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_15_9869.jpg', '/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_24_9573.jpg', '/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_34_9758.jpg', '/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_44_9887.jpg', '/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_55_10913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/05/image_31122025_03_06_05_10705.jpg
/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_15_9869.jpg
/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_24_9573.jpg
/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_34_9758.jpg
/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_44_9887.jpg
/home/pi/Desktop/images/31122025/03/06/image_31122025_03_06_55_10913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822440","1401822448","1401822436","1401822430","1401822433","1401822444"],"photo_ids_order":["1401822430","1401822433","1401822436","1401822440","1401822444","1401822448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b41653bdf766d82b0b3731aba698d29d.jpg","text":"TemporaryFile(/tmp/multipartBody5191242692421924916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147663425,"filename":"image_31122025_03_06_34_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c98807e1d8606381e20548a0376728aa.jpg","text":"TemporaryFile(/tmp/multipartBody7484540045333402232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147663425,"filename":"image_31122025_03_06_55_10913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a577f1080da5c5f123e5f417bc08204.jpg","text":"TemporaryFile(/tmp/multipartBody8506419158886472502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147663425,"filename":"image_31122025_03_06_24_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc9e99f0f34bc99e153a78d2d2b23f36.jpg","text":"TemporaryFile(/tmp/multipartBody563501655109104474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147663425,"filename":"image_31122025_03_06_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/094c281e9716d46c7219ca622ef5555f.jpg","text":"TemporaryFile(/tmp/multipartBody4397385282045726102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147663425,"filename":"image_31122025_03_06_15_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/638937af82a7f6c5da66c90f3de94f56.jpg","text":"TemporaryFile(/tmp/multipartBody6822192486733142487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147663425,"filename":"image_31122025_03_06_44_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822436","file1":"1401822433","file0":"1401822430","file4":"1401822444","file5":"1401822448","file3":"1401822440"},"map_files_photo_id_array":[{"photo_id":"1401822448","filename":"file5"},{"photo_id":"1401822436","filename":"file2"},{"photo_id":"1401822444","filename":"file4"},{"photo_id":"1401822433","filename":"file1"},{"photo_id":"1401822430","filename":"file0"},{"photo_id":"1401822440","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822440":["hashtag1","hashtag2"]},{"1401822448":["hashtag1","hashtag2"]},{"1401822436":["hashtag1","hashtag2"]},{"1401822430":["hashtag1","hashtag2"]},{"1401822433":["hashtag1","hashtag2"]},{"1401822444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822440, 1401822448, 1401822436, 1401822430, 1401822433, 1401822444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98872184753418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:20:42.413741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_01_1757.jpg', '/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_15_1621.jpg', '/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_17_2391.jpg', '/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_33_2194.jpg', '/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_42_1620.jpg', '/home/pi/Desktop/images/02112025/21/05/image_02112025_21_06_00_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_01_1757.jpg
/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_15_1621.jpg
/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_17_2391.jpg
/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_33_2194.jpg
/home/pi/Desktop/images/02112025/21/05/image_02112025_21_05_42_1620.jpg
/home/pi/Desktop/images/02112025/21/05/image_02112025_21_06_00_1554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822469","1401822457","1401822471","1401822459","1401822461","1401822467"],"photo_ids_order":["1401822457","1401822459","1401822461","1401822467","1401822469","1401822471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/727d2e34e3b1fec6d4e3f0c11dcda25f.jpg","text":"TemporaryFile(/tmp/multipartBody4596262382471550617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147704354,"filename":"image_02112025_21_05_42_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/812e423400f725c86cae90ba61826352.jpg","text":"TemporaryFile(/tmp/multipartBody5346758224086246067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147704354,"filename":"image_02112025_21_05_01_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7af55ff16c83548232d6d7c55998106.jpg","text":"TemporaryFile(/tmp/multipartBody5795794617147867038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147704354,"filename":"image_02112025_21_06_00_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8249f8b565e479e250e2bb5252b4ec31.jpg","text":"TemporaryFile(/tmp/multipartBody3084756465464236126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147704354,"filename":"image_02112025_21_05_15_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2972a17e05fdc3140db2ed1a412d65b.jpg","text":"TemporaryFile(/tmp/multipartBody7946593650753544842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147704354,"filename":"image_02112025_21_05_17_2391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/daba6df95f981c5bf65609bfb84f7a1f.jpg","text":"TemporaryFile(/tmp/multipartBody6881022271749204331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147704354,"filename":"image_02112025_21_05_33_2194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822461","file1":"1401822459","file0":"1401822457","file4":"1401822469","file5":"1401822471","file3":"1401822467"},"map_files_photo_id_array":[{"photo_id":"1401822471","filename":"file5"},{"photo_id":"1401822461","filename":"file2"},{"photo_id":"1401822469","filename":"file4"},{"photo_id":"1401822459","filename":"file1"},{"photo_id":"1401822457","filename":"file0"},{"photo_id":"1401822467","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822469":["hashtag1","hashtag2"]},{"1401822457":["hashtag1","hashtag2"]},{"1401822471":["hashtag1","hashtag2"]},{"1401822459":["hashtag1","hashtag2"]},{"1401822461":["hashtag1","hashtag2"]},{"1401822467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822469, 1401822457, 1401822471, 1401822459, 1401822461, 1401822467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.634554862976074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:21:22.601841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/06/image_31122025_03_07_04_9554.jpg', '/home/pi/Desktop/images/31122025/03/07/image_31122025_03_07_14_9863.jpg', '/home/pi/Desktop/images/31122025/03/07/image_31122025_03_07_25_10593.jpg', '/home/pi/Desktop/images/31122025/03/07/image_31122025_03_07_44_9566.jpg', '/home/pi/Desktop/images/31122025/03/07/image_31122025_03_07_54_10622.jpg', '/home/pi/Desktop/images/31122025/03/07/image_31122025_03_08_04_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/06/image_31122025_03_07_04_9554.jpg
/home/pi/Desktop/images/31122025/03/07/image_31122025_03_07_14_9863.jpg
/home/pi/Desktop/images/31122025/03/07/image_31122025_03_07_25_10593.jpg
/home/pi/Desktop/images/31122025/03/07/image_31122025_03_07_44_9566.jpg
/home/pi/Desktop/images/31122025/03/07/image_31122025_03_07_54_10622.jpg
/home/pi/Desktop/images/31122025/03/07/image_31122025_03_08_04_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822481","1401822478","1401822492","1401822480","1401822488","1401822485"],"photo_ids_order":["1401822478","1401822480","1401822481","1401822485","1401822488","1401822492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02503506bde2e520844fe649254fb2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6970208767119924087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147743194,"filename":"image_31122025_03_07_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acdfb3a464c8ba707e79e0addc7b11c1.jpg","text":"TemporaryFile(/tmp/multipartBody4778291917107277980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147743194,"filename":"image_31122025_03_07_04_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d600787cd548c2a7ae01479bf3018a2.jpg","text":"TemporaryFile(/tmp/multipartBody730375654481956221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147743194,"filename":"image_31122025_03_08_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27b337482f07fb2b55558ea195a5f6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8587785721454464015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147743194,"filename":"image_31122025_03_07_14_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bc0bb0502ec12049f7c236bec0e20ab.jpg","text":"TemporaryFile(/tmp/multipartBody515847359368798598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147743194,"filename":"image_31122025_03_07_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24179ae52719e39b9fdf7e02203e97b7.jpg","text":"TemporaryFile(/tmp/multipartBody2957931716918990134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147743194,"filename":"image_31122025_03_07_44_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822481","file1":"1401822480","file0":"1401822478","file4":"1401822488","file5":"1401822492","file3":"1401822485"},"map_files_photo_id_array":[{"photo_id":"1401822492","filename":"file5"},{"photo_id":"1401822481","filename":"file2"},{"photo_id":"1401822488","filename":"file4"},{"photo_id":"1401822480","filename":"file1"},{"photo_id":"1401822478","filename":"file0"},{"photo_id":"1401822485","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822481":["hashtag1","hashtag2"]},{"1401822478":["hashtag1","hashtag2"]},{"1401822492":["hashtag1","hashtag2"]},{"1401822480":["hashtag1","hashtag2"]},{"1401822488":["hashtag1","hashtag2"]},{"1401822485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822481, 1401822478, 1401822492, 1401822480, 1401822488, 1401822485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.652302980422974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:22:03.280642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_14_9848.jpg', '/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_25_10560.jpg', '/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_34_9814.jpg', '/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_44_9637.jpg', '/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_55_10669.jpg', '/home/pi/Desktop/images/31122025/03/08/image_31122025_03_09_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_14_9848.jpg
/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_25_10560.jpg
/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_34_9814.jpg
/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_44_9637.jpg
/home/pi/Desktop/images/31122025/03/08/image_31122025_03_08_55_10669.jpg
/home/pi/Desktop/images/31122025/03/08/image_31122025_03_09_04_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822506","1401822495","1401822513","1401822510","1401822497","1401822518"],"photo_ids_order":["1401822495","1401822497","1401822506","1401822510","1401822513","1401822518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84490baeb52f6f2974c6c8d2b9dee41d.jpg","text":"TemporaryFile(/tmp/multipartBody5970379031028765923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147783904,"filename":"image_31122025_03_08_34_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95aebc6cfc007d2cd0ef8fc8ca3517d0.jpg","text":"TemporaryFile(/tmp/multipartBody4665290821134073091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147783904,"filename":"image_31122025_03_08_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd0d3120aa4a00130756d741b8939a32.jpg","text":"TemporaryFile(/tmp/multipartBody540375565809926308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147783904,"filename":"image_31122025_03_08_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d137dca8bc0152678f77c64927ba1e46.jpg","text":"TemporaryFile(/tmp/multipartBody8976078776400568134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147783904,"filename":"image_31122025_03_08_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cff2c332a1569da13abae699d9e2c687.jpg","text":"TemporaryFile(/tmp/multipartBody8304679957124921757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147783904,"filename":"image_31122025_03_08_25_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a09e338e4810105a314e54b94cdeb974.jpg","text":"TemporaryFile(/tmp/multipartBody7803456125442318213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147783904,"filename":"image_31122025_03_09_04_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822506","file1":"1401822497","file0":"1401822495","file4":"1401822513","file5":"1401822518","file3":"1401822510"},"map_files_photo_id_array":[{"photo_id":"1401822518","filename":"file5"},{"photo_id":"1401822506","filename":"file2"},{"photo_id":"1401822513","filename":"file4"},{"photo_id":"1401822497","filename":"file1"},{"photo_id":"1401822495","filename":"file0"},{"photo_id":"1401822510","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822506":["hashtag1","hashtag2"]},{"1401822495":["hashtag1","hashtag2"]},{"1401822513":["hashtag1","hashtag2"]},{"1401822510":["hashtag1","hashtag2"]},{"1401822497":["hashtag1","hashtag2"]},{"1401822518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822506, 1401822495, 1401822513, 1401822510, 1401822497, 1401822518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76142382621765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:22:42.784225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_05_1598.jpg', '/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_17_1550.jpg', '/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_21_2745.jpg', '/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_24_2872.jpg', '/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_27_2628.jpg', '/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_42_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_05_1598.jpg
/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_17_1550.jpg
/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_21_2745.jpg
/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_24_2872.jpg
/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_27_2628.jpg
/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_42_2586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822548","1401822541","1401822535","1401822550","1401822538","1401822537"],"photo_ids_order":["1401822535","1401822537","1401822538","1401822541","1401822548","1401822550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb7a86bb37cdc87a120c630d39c63f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2897089033105900375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147824684,"filename":"image_02112025_21_06_27_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe442922619210883b2e9cb762fb1df9.jpg","text":"TemporaryFile(/tmp/multipartBody8130293269032810034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147824684,"filename":"image_02112025_21_06_24_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9f98f11d14b84d64bfdba1c8ab23e7e.jpg","text":"TemporaryFile(/tmp/multipartBody2916049539865720238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147824684,"filename":"image_02112025_21_06_05_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17049065fba2f579b4ff631603cba97d.jpg","text":"TemporaryFile(/tmp/multipartBody4177916885071647517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147824684,"filename":"image_02112025_21_06_42_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb634258938bbf5fc6e76dc7f49407f0.jpg","text":"TemporaryFile(/tmp/multipartBody7250009100441692782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147824684,"filename":"image_02112025_21_06_21_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b7d724a7da054c424bbfa7b9f092d39.jpg","text":"TemporaryFile(/tmp/multipartBody5518802670166957134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147824684,"filename":"image_02112025_21_06_17_1550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822538","file1":"1401822537","file0":"1401822535","file4":"1401822548","file5":"1401822550","file3":"1401822541"},"map_files_photo_id_array":[{"photo_id":"1401822550","filename":"file5"},{"photo_id":"1401822538","filename":"file2"},{"photo_id":"1401822548","filename":"file4"},{"photo_id":"1401822537","filename":"file1"},{"photo_id":"1401822535","filename":"file0"},{"photo_id":"1401822541","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822548":["hashtag1","hashtag2"]},{"1401822541":["hashtag1","hashtag2"]},{"1401822535":["hashtag1","hashtag2"]},{"1401822550":["hashtag1","hashtag2"]},{"1401822538":["hashtag1","hashtag2"]},{"1401822537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822548, 1401822541, 1401822535, 1401822550, 1401822538, 1401822537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97714447975159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:23:21.948214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_14_9585.jpg', '/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_24_9805.jpg', '/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_34_10620.jpg', '/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_44_9777.jpg', '/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_54_9820.jpg', '/home/pi/Desktop/images/31122025/03/09/image_31122025_03_10_05_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_14_9585.jpg
/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_24_9805.jpg
/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_34_10620.jpg
/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_44_9777.jpg
/home/pi/Desktop/images/31122025/03/09/image_31122025_03_09_54_9820.jpg
/home/pi/Desktop/images/31122025/03/09/image_31122025_03_10_05_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822571","1401822568","1401822564","1401822558","1401822561","1401822566"],"photo_ids_order":["1401822558","1401822561","1401822564","1401822566","1401822568","1401822571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5891d62076ccfd5da196e0f68ebfc058.jpg","text":"TemporaryFile(/tmp/multipartBody8322830380065090865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147862577,"filename":"image_31122025_03_10_05_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11e6ab3cd5a907262e433be685463aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4081901300470959466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147862577,"filename":"image_31122025_03_09_54_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c74d494d81025df5daa9cd7665392fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5114268520399285918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147862577,"filename":"image_31122025_03_09_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fd92cf207f5387c6e85858945c04442.jpg","text":"TemporaryFile(/tmp/multipartBody7808643887434821524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147862577,"filename":"image_31122025_03_09_14_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8bd55dcc474f75f9079b5c1f752d947.jpg","text":"TemporaryFile(/tmp/multipartBody1325132656581989085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147862577,"filename":"image_31122025_03_09_24_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/412af9a25bc0790aada35af430b10452.jpg","text":"TemporaryFile(/tmp/multipartBody4007127784154354803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147862577,"filename":"image_31122025_03_09_44_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822564","file1":"1401822561","file0":"1401822558","file4":"1401822568","file5":"1401822571","file3":"1401822566"},"map_files_photo_id_array":[{"photo_id":"1401822571","filename":"file5"},{"photo_id":"1401822564","filename":"file2"},{"photo_id":"1401822568","filename":"file4"},{"photo_id":"1401822561","filename":"file1"},{"photo_id":"1401822558","filename":"file0"},{"photo_id":"1401822566","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822571":["hashtag1","hashtag2"]},{"1401822568":["hashtag1","hashtag2"]},{"1401822564":["hashtag1","hashtag2"]},{"1401822558":["hashtag1","hashtag2"]},{"1401822561":["hashtag1","hashtag2"]},{"1401822566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822571, 1401822568, 1401822564, 1401822558, 1401822561, 1401822566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.778385162353516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:24:02.927553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_14_9650.jpg', '/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_24_9694.jpg', '/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_35_10609.jpg', '/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_44_9603.jpg', '/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_54_9617.jpg', '/home/pi/Desktop/images/31122025/03/10/image_31122025_03_11_05_10831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_14_9650.jpg
/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_24_9694.jpg
/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_35_10609.jpg
/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_44_9603.jpg
/home/pi/Desktop/images/31122025/03/10/image_31122025_03_10_54_9617.jpg
/home/pi/Desktop/images/31122025/03/10/image_31122025_03_11_05_10831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822605","1401822598","1401822610","1401822607","1401822585","1401822603"],"photo_ids_order":["1401822585","1401822598","1401822603","1401822605","1401822607","1401822610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83d77362409c9db4ac7742c7274d50c2.jpg","text":"TemporaryFile(/tmp/multipartBody7446616352174892653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147903644,"filename":"image_31122025_03_10_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6158a8130f211b7d4783f0da75c60b84.jpg","text":"TemporaryFile(/tmp/multipartBody3765225024947994002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147903644,"filename":"image_31122025_03_10_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfd1751395e5dd7d3615ff3baecadbba.jpg","text":"TemporaryFile(/tmp/multipartBody1347963546013549326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147903644,"filename":"image_31122025_03_11_05_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a32b7606efb5c78e43bb9f8c0d9dc032.jpg","text":"TemporaryFile(/tmp/multipartBody3850204544480185319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147903644,"filename":"image_31122025_03_10_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/112724071fde733428bdf6460d3bcc86.jpg","text":"TemporaryFile(/tmp/multipartBody4026560436559429769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147903644,"filename":"image_31122025_03_10_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/749cbab08cbb030b682d06fab79e64fa.jpg","text":"TemporaryFile(/tmp/multipartBody5620885482018005297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147903644,"filename":"image_31122025_03_10_35_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822603","file1":"1401822598","file0":"1401822585","file4":"1401822607","file5":"1401822610","file3":"1401822605"},"map_files_photo_id_array":[{"photo_id":"1401822610","filename":"file5"},{"photo_id":"1401822603","filename":"file2"},{"photo_id":"1401822607","filename":"file4"},{"photo_id":"1401822598","filename":"file1"},{"photo_id":"1401822585","filename":"file0"},{"photo_id":"1401822605","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822605":["hashtag1","hashtag2"]},{"1401822598":["hashtag1","hashtag2"]},{"1401822610":["hashtag1","hashtag2"]},{"1401822607":["hashtag1","hashtag2"]},{"1401822585":["hashtag1","hashtag2"]},{"1401822603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822605, 1401822598, 1401822610, 1401822607, 1401822585, 1401822603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.827871799468994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:24:42.211956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_45_3640.jpg', '/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_06_2727.jpg', '/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_09_3567.jpg', '/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_13_3494.jpg', '/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_15_2683.jpg', '/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_18_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/06/image_02112025_21_06_45_3640.jpg
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_06_2727.jpg
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_09_3567.jpg
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_13_3494.jpg
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_15_2683.jpg
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_18_2554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822640","1401822634","1401822643","1401822637","1401822642","1401822641"],"photo_ids_order":["1401822634","1401822637","1401822640","1401822641","1401822642","1401822643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecaadaae618dc66d30d5f9aa4d399b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6755707126702431868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147944109,"filename":"image_02112025_21_07_09_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb8ef04c1d5ecb37080fa260f514bed4.jpg","text":"TemporaryFile(/tmp/multipartBody5983774900111813507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147944109,"filename":"image_02112025_21_06_45_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fbb7372d78310632a3e1d1e8fd4a8fb.jpg","text":"TemporaryFile(/tmp/multipartBody3459321543438290174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147944109,"filename":"image_02112025_21_07_18_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/167fd52bfc19af438e0ff85820e7f72e.jpg","text":"TemporaryFile(/tmp/multipartBody9221099652500689234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147944109,"filename":"image_02112025_21_07_06_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4ee8f77b9ae5d3e0f686f214936e23d.jpg","text":"TemporaryFile(/tmp/multipartBody1760840897217900342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147944109,"filename":"image_02112025_21_07_15_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6355526f6073a5bcbd6c455ed54ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody5533675670746830662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147944109,"filename":"image_02112025_21_07_13_3494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822640","file1":"1401822637","file0":"1401822634","file4":"1401822642","file5":"1401822643","file3":"1401822641"},"map_files_photo_id_array":[{"photo_id":"1401822643","filename":"file5"},{"photo_id":"1401822640","filename":"file2"},{"photo_id":"1401822642","filename":"file4"},{"photo_id":"1401822637","filename":"file1"},{"photo_id":"1401822634","filename":"file0"},{"photo_id":"1401822641","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822640":["hashtag1","hashtag2"]},{"1401822634":["hashtag1","hashtag2"]},{"1401822643":["hashtag1","hashtag2"]},{"1401822637":["hashtag1","hashtag2"]},{"1401822642":["hashtag1","hashtag2"]},{"1401822641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822640, 1401822634, 1401822643, 1401822637, 1401822642, 1401822641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.080939292907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:25:22.337751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_14_9623.jpg', '/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_24_9688.jpg', '/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_34_9689.jpg', '/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_44_10575.jpg', '/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_54_9575.jpg', '/home/pi/Desktop/images/31122025/03/11/image_31122025_03_12_05_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_14_9623.jpg
/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_24_9688.jpg
/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_34_9689.jpg
/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_44_10575.jpg
/home/pi/Desktop/images/31122025/03/11/image_31122025_03_11_54_9575.jpg
/home/pi/Desktop/images/31122025/03/11/image_31122025_03_12_05_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822667","1401822652","1401822662","1401822656","1401822665","1401822659"],"photo_ids_order":["1401822652","1401822656","1401822659","1401822662","1401822665","1401822667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3678e70887294319dbf0c2e7caa74065.jpg","text":"TemporaryFile(/tmp/multipartBody2254098312258771991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147982928,"filename":"image_31122025_03_12_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5099809081f98865485023ee15f6e490.jpg","text":"TemporaryFile(/tmp/multipartBody3005666846007700189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147982928,"filename":"image_31122025_03_11_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5400737800db8ef5000731eb92533a68.jpg","text":"TemporaryFile(/tmp/multipartBody4368709577996139013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147982928,"filename":"image_31122025_03_11_44_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb5825e1beac7000c9f73456cd7c319d.jpg","text":"TemporaryFile(/tmp/multipartBody802253642246597877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147982928,"filename":"image_31122025_03_11_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80de28fb80944a158658d8a54787ec89.jpg","text":"TemporaryFile(/tmp/multipartBody8853927854322629077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147982928,"filename":"image_31122025_03_11_54_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e0e36fe518c68077dd09e9890635be1.jpg","text":"TemporaryFile(/tmp/multipartBody1082345119309178989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767147982928,"filename":"image_31122025_03_11_34_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822659","file1":"1401822656","file0":"1401822652","file4":"1401822665","file5":"1401822667","file3":"1401822662"},"map_files_photo_id_array":[{"photo_id":"1401822667","filename":"file5"},{"photo_id":"1401822659","filename":"file2"},{"photo_id":"1401822665","filename":"file4"},{"photo_id":"1401822656","filename":"file1"},{"photo_id":"1401822652","filename":"file0"},{"photo_id":"1401822662","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822667":["hashtag1","hashtag2"]},{"1401822652":["hashtag1","hashtag2"]},{"1401822662":["hashtag1","hashtag2"]},{"1401822656":["hashtag1","hashtag2"]},{"1401822665":["hashtag1","hashtag2"]},{"1401822659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822667, 1401822652, 1401822662, 1401822656, 1401822665, 1401822659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5570068359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:26:03.058147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_14_9690.jpg', '/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_24_9663.jpg', '/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_35_10667.jpg', '/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_44_9631.jpg', '/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_54_9659.jpg', '/home/pi/Desktop/images/31122025/03/12/image_31122025_03_13_04_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_14_9690.jpg
/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_24_9663.jpg
/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_35_10667.jpg
/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_44_9631.jpg
/home/pi/Desktop/images/31122025/03/12/image_31122025_03_12_54_9659.jpg
/home/pi/Desktop/images/31122025/03/12/image_31122025_03_13_04_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822673","1401822676","1401822687","1401822669","1401822684","1401822680"],"photo_ids_order":["1401822669","1401822673","1401822676","1401822680","1401822684","1401822687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c90dbf24449fad036127c332d0bad313.jpg","text":"TemporaryFile(/tmp/multipartBody5041358152746057047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148023682,"filename":"image_31122025_03_12_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9931b2f172f3d4757c3fe8aea1c8ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8655781611386219306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148023682,"filename":"image_31122025_03_12_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/598ab6216f38f23de15cef59f8da4ae4.jpg","text":"TemporaryFile(/tmp/multipartBody5012191050212181532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148023682,"filename":"image_31122025_03_13_04_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f3352ea0f3c916125f6d8e7cca93f77.jpg","text":"TemporaryFile(/tmp/multipartBody8722084592702439263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148023682,"filename":"image_31122025_03_12_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80534a3859602e9c47817c22e0a7a6d9.jpg","text":"TemporaryFile(/tmp/multipartBody4153976128782553822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148023682,"filename":"image_31122025_03_12_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcd3bec5d5761bb810995e9e85735fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7697606468625968288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148023682,"filename":"image_31122025_03_12_44_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822676","file1":"1401822673","file0":"1401822669","file4":"1401822684","file5":"1401822687","file3":"1401822680"},"map_files_photo_id_array":[{"photo_id":"1401822687","filename":"file5"},{"photo_id":"1401822676","filename":"file2"},{"photo_id":"1401822684","filename":"file4"},{"photo_id":"1401822673","filename":"file1"},{"photo_id":"1401822669","filename":"file0"},{"photo_id":"1401822680","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822673":["hashtag1","hashtag2"]},{"1401822676":["hashtag1","hashtag2"]},{"1401822687":["hashtag1","hashtag2"]},{"1401822669":["hashtag1","hashtag2"]},{"1401822684":["hashtag1","hashtag2"]},{"1401822680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822673, 1401822676, 1401822687, 1401822669, 1401822684, 1401822680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43871712684631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:26:42.597602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_42_3366.jpg', '/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_44_1705.jpg', '/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_49_1801.jpg', '/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_55_1870.jpg', '/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_33_3829.jpg', '/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_36_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_42_3366.jpg
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_44_1705.jpg
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_49_1801.jpg
/home/pi/Desktop/images/02112025/21/07/image_02112025_21_07_55_1870.jpg
/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_33_3829.jpg
/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_36_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822704","1401822718","1401822706","1401822699","1401822708","1401822702"],"photo_ids_order":["1401822699","1401822702","1401822704","1401822706","1401822708","1401822718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/563d0af1eeb9e1cedae041e2b6a8e6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4480888336306361085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148064486,"filename":"image_02112025_21_07_49_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ed6d50a609d8449e9fa0e48df965b13.jpg","text":"TemporaryFile(/tmp/multipartBody1023094898177319380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148064486,"filename":"image_02112025_21_08_36_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cdb5820c8f97cc311edc0a98e1b2880.jpg","text":"TemporaryFile(/tmp/multipartBody7915203236426625818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148064486,"filename":"image_02112025_21_07_55_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec4915dcd597a18da329d5f07a6d05a2.jpg","text":"TemporaryFile(/tmp/multipartBody6781672072414959010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148064486,"filename":"image_02112025_21_07_42_3366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2dfbe59275b3a9b07ee4a53eeb74595.jpg","text":"TemporaryFile(/tmp/multipartBody4412044715216144709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148064486,"filename":"image_02112025_21_08_33_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbd6e3ea08e44abea50bc6c4714cc7c2.jpg","text":"TemporaryFile(/tmp/multipartBody9175261777783210458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148064486,"filename":"image_02112025_21_07_44_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822704","file1":"1401822702","file0":"1401822699","file4":"1401822708","file5":"1401822718","file3":"1401822706"},"map_files_photo_id_array":[{"photo_id":"1401822718","filename":"file5"},{"photo_id":"1401822704","filename":"file2"},{"photo_id":"1401822708","filename":"file4"},{"photo_id":"1401822702","filename":"file1"},{"photo_id":"1401822699","filename":"file0"},{"photo_id":"1401822706","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822704":["hashtag1","hashtag2"]},{"1401822718":["hashtag1","hashtag2"]},{"1401822706":["hashtag1","hashtag2"]},{"1401822699":["hashtag1","hashtag2"]},{"1401822708":["hashtag1","hashtag2"]},{"1401822702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822704, 1401822718, 1401822706, 1401822699, 1401822708, 1401822702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14356756210327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:27:22.775641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_14_9694.jpg', '/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_24_9669.jpg', '/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_34_10623.jpg', '/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_44_9727.jpg', '/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_54_9778.jpg', '/home/pi/Desktop/images/31122025/03/13/image_31122025_03_14_05_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_14_9694.jpg
/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_24_9669.jpg
/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_34_10623.jpg
/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_44_9727.jpg
/home/pi/Desktop/images/31122025/03/13/image_31122025_03_13_54_9778.jpg
/home/pi/Desktop/images/31122025/03/13/image_31122025_03_14_05_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822728","1401822733","1401822727","1401822730","1401822740","1401822737"],"photo_ids_order":["1401822727","1401822728","1401822730","1401822733","1401822737","1401822740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edf2a7d90eb5a93fcc1b0aa73a64cc63.jpg","text":"TemporaryFile(/tmp/multipartBody2672075707091265854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148103368,"filename":"image_31122025_03_13_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9d4ae7856c9d75670301e6f4f59bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody6944483636407580055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148103368,"filename":"image_31122025_03_13_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4fbe2ad99b0d1aa97ac8ace6bd35981.jpg","text":"TemporaryFile(/tmp/multipartBody9076712250275902841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148103368,"filename":"image_31122025_03_13_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db57137cc98cd9b71250e7087dfe5c05.jpg","text":"TemporaryFile(/tmp/multipartBody1705751805141599148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148103368,"filename":"image_31122025_03_13_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bad098e7b3d04eb833ac91f285e961a.jpg","text":"TemporaryFile(/tmp/multipartBody8319241270549333612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148103368,"filename":"image_31122025_03_14_05_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d78387cd65c8139518ed2d6f677f285.jpg","text":"TemporaryFile(/tmp/multipartBody5307245360427766186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148103368,"filename":"image_31122025_03_13_54_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822730","file1":"1401822728","file0":"1401822727","file4":"1401822737","file5":"1401822740","file3":"1401822733"},"map_files_photo_id_array":[{"photo_id":"1401822740","filename":"file5"},{"photo_id":"1401822730","filename":"file2"},{"photo_id":"1401822737","filename":"file4"},{"photo_id":"1401822728","filename":"file1"},{"photo_id":"1401822727","filename":"file0"},{"photo_id":"1401822733","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822728":["hashtag1","hashtag2"]},{"1401822733":["hashtag1","hashtag2"]},{"1401822727":["hashtag1","hashtag2"]},{"1401822730":["hashtag1","hashtag2"]},{"1401822740":["hashtag1","hashtag2"]},{"1401822737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822728, 1401822733, 1401822727, 1401822730, 1401822740, 1401822737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.26538038253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:28:07.250381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_14_9552.jpg', '/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_24_9748.jpg', '/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_35_10611.jpg', '/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_44_9533.jpg', '/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_54_9840.jpg', '/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_05_11431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_14_9552.jpg
/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_24_9748.jpg
/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_35_10611.jpg
/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_44_9533.jpg
/home/pi/Desktop/images/31122025/03/14/image_31122025_03_14_54_9840.jpg
/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_05_11431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822775","1401822751","1401822750","1401822767","1401822761","1401822755"],"photo_ids_order":["1401822750","1401822751","1401822755","1401822761","1401822767","1401822775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70b8d9ed0127a542e109644782532a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5922328063916540661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148150206,"filename":"image_31122025_03_15_05_11431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d9c7a8b2a48f4750663973e98a8ccab.jpg","text":"TemporaryFile(/tmp/multipartBody2945106518467621709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148150206,"filename":"image_31122025_03_14_24_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffebfe2187e305894f6cc15078dd7322.jpg","text":"TemporaryFile(/tmp/multipartBody5820533631971013704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148150206,"filename":"image_31122025_03_14_14_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/536edadc00d14591c7d920726a2f713b.jpg","text":"TemporaryFile(/tmp/multipartBody43661239573644143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148150206,"filename":"image_31122025_03_14_54_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c9a4c06faac51d0fcd53f8076ffd779.jpg","text":"TemporaryFile(/tmp/multipartBody3917781531325170666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148150206,"filename":"image_31122025_03_14_44_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/434439e24bcbb5f3563cee4ab6984250.jpg","text":"TemporaryFile(/tmp/multipartBody6748078869959922810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148150206,"filename":"image_31122025_03_14_35_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822755","file1":"1401822751","file0":"1401822750","file4":"1401822767","file5":"1401822775","file3":"1401822761"},"map_files_photo_id_array":[{"photo_id":"1401822775","filename":"file5"},{"photo_id":"1401822755","filename":"file2"},{"photo_id":"1401822767","filename":"file4"},{"photo_id":"1401822751","filename":"file1"},{"photo_id":"1401822750","filename":"file0"},{"photo_id":"1401822761","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822775":["hashtag1","hashtag2"]},{"1401822751":["hashtag1","hashtag2"]},{"1401822750":["hashtag1","hashtag2"]},{"1401822767":["hashtag1","hashtag2"]},{"1401822761":["hashtag1","hashtag2"]},{"1401822755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822775, 1401822751, 1401822750, 1401822767, 1401822761, 1401822755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.025484800338745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:29:03.153946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_14_8599.jpg', '/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_25_10676.jpg', '/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_34_9738.jpg', '/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_44_9793.jpg', '/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_54_9849.jpg', '/home/pi/Desktop/images/31122025/03/15/image_31122025_03_16_04_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_14_8599.jpg
/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_25_10676.jpg
/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_34_9738.jpg
/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_44_9793.jpg
/home/pi/Desktop/images/31122025/03/15/image_31122025_03_15_54_9849.jpg
/home/pi/Desktop/images/31122025/03/15/image_31122025_03_16_04_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822803","1401822812","1401822800","1401822808","1401822795","1401822798"],"photo_ids_order":["1401822795","1401822798","1401822800","1401822803","1401822808","1401822812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba86edcd1b0e19db7d1e7cd3c5ca70f6.jpg","text":"TemporaryFile(/tmp/multipartBody5269699176272137458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148203926,"filename":"image_31122025_03_15_44_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8bdb29966ee55adad2248ad57d28fac.jpg","text":"TemporaryFile(/tmp/multipartBody3834744716656076853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148203926,"filename":"image_31122025_03_16_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00d1d261de9727b580ca8610bcd4471e.jpg","text":"TemporaryFile(/tmp/multipartBody307403517142019170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148203926,"filename":"image_31122025_03_15_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8357a6ae362054f4a625531bd7fa7db.jpg","text":"TemporaryFile(/tmp/multipartBody2992550239324537350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148203926,"filename":"image_31122025_03_15_54_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab2482700fbefa413f35986c4410b747.jpg","text":"TemporaryFile(/tmp/multipartBody7176699318926818498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148203926,"filename":"image_31122025_03_15_14_8599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da8ea03e347009090f664d346d259857.jpg","text":"TemporaryFile(/tmp/multipartBody987635316667866191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148203926,"filename":"image_31122025_03_15_25_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822800","file1":"1401822798","file0":"1401822795","file4":"1401822808","file5":"1401822812","file3":"1401822803"},"map_files_photo_id_array":[{"photo_id":"1401822812","filename":"file5"},{"photo_id":"1401822800","filename":"file2"},{"photo_id":"1401822808","filename":"file4"},{"photo_id":"1401822798","filename":"file1"},{"photo_id":"1401822795","filename":"file0"},{"photo_id":"1401822803","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822803":["hashtag1","hashtag2"]},{"1401822812":["hashtag1","hashtag2"]},{"1401822800":["hashtag1","hashtag2"]},{"1401822808":["hashtag1","hashtag2"]},{"1401822795":["hashtag1","hashtag2"]},{"1401822798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822803, 1401822812, 1401822800, 1401822808, 1401822795, 1401822798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.967928647994995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:29:41.988770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_41_5284.jpg', '/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_46_1652.jpg', '/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_51_3621.jpg', '/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_02_2657.jpg', '/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_33_3542.jpg', '/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_38_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_41_5284.jpg
/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_46_1652.jpg
/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_51_3621.jpg
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_02_2657.jpg
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_33_3542.jpg
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_38_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8c0cg9321</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8c0cg9321</strong>.
uploaded 0 photos
time to upload: 45.13942766189575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:30:32.379303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_41_5284.jpg', '/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_46_1652.jpg', '/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_51_3621.jpg', '/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_02_2657.jpg', '/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_33_3542.jpg', '/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_38_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_41_5284.jpg
/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_46_1652.jpg
/home/pi/Desktop/images/02112025/21/08/image_02112025_21_08_51_3621.jpg
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_02_2657.jpg
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_33_3542.jpg
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_38_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822845","1401822856","1401822858","1401822851","1401822854","1401822848"],"photo_ids_order":["1401822845","1401822848","1401822851","1401822854","1401822856","1401822858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67ba0354edd30a75aea7b6fa604a8d49.jpg","text":"TemporaryFile(/tmp/multipartBody2656347117533061109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148294170,"filename":"image_02112025_21_08_41_5284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3dd494447a9ab6753655e64e9cc5159.jpg","text":"TemporaryFile(/tmp/multipartBody392869860380574454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148294170,"filename":"image_02112025_21_09_33_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/687c80e6a702f3bf2badcf758a177132.jpg","text":"TemporaryFile(/tmp/multipartBody873832978029399315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148294170,"filename":"image_02112025_21_09_38_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5c24cfae9668906d37adadbb3054dc7.jpg","text":"TemporaryFile(/tmp/multipartBody2030670227609649080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148294170,"filename":"image_02112025_21_08_51_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4203555bc72c03d70cd6b88011a1479.jpg","text":"TemporaryFile(/tmp/multipartBody8904930295046413281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148294170,"filename":"image_02112025_21_09_02_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4c095bafd10b15a4848472dfaf1d7c1.jpg","text":"TemporaryFile(/tmp/multipartBody8368014995866059707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148294170,"filename":"image_02112025_21_08_46_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822851","file1":"1401822848","file0":"1401822845","file4":"1401822856","file5":"1401822858","file3":"1401822854"},"map_files_photo_id_array":[{"photo_id":"1401822858","filename":"file5"},{"photo_id":"1401822851","filename":"file2"},{"photo_id":"1401822856","filename":"file4"},{"photo_id":"1401822848","filename":"file1"},{"photo_id":"1401822845","filename":"file0"},{"photo_id":"1401822854","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822845":["hashtag1","hashtag2"]},{"1401822856":["hashtag1","hashtag2"]},{"1401822858":["hashtag1","hashtag2"]},{"1401822851":["hashtag1","hashtag2"]},{"1401822854":["hashtag1","hashtag2"]},{"1401822848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822845, 1401822856, 1401822858, 1401822851, 1401822854, 1401822848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38003492355347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:31:12.465431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_42_3107.jpg', '/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_45_3460.jpg', '/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_57_1809.jpg', '/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_15_1623.jpg', '/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_16_1719.jpg', '/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_28_11061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_42_3107.jpg
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_45_3460.jpg
/home/pi/Desktop/images/02112025/21/09/image_02112025_21_09_57_1809.jpg
/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_15_1623.jpg
/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_16_1719.jpg
/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_28_11061.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822873","1401822882","1401822876","1401822879","1401822870","1401822863"],"photo_ids_order":["1401822863","1401822870","1401822873","1401822876","1401822879","1401822882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f0e2d465279430f8b8d0562a0b8a925.jpg","text":"TemporaryFile(/tmp/multipartBody5536279586831350040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148334252,"filename":"image_02112025_21_09_57_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19df3218a2651fa8286e07ffa608bcaf.jpg","text":"TemporaryFile(/tmp/multipartBody1637683198824707521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148334252,"filename":"image_02112025_21_10_28_11061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5082ae7e060d43e993fe4d6852feaaf4.jpg","text":"TemporaryFile(/tmp/multipartBody6633677632460696626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148334252,"filename":"image_02112025_21_10_15_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c7eca692553898dccfc16a313a6478d.jpg","text":"TemporaryFile(/tmp/multipartBody8330115182585334834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148334252,"filename":"image_02112025_21_10_16_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/955e74b01f5b391be89492d370d41553.jpg","text":"TemporaryFile(/tmp/multipartBody3988110230922776502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148334252,"filename":"image_02112025_21_09_45_3460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89366c0d714b77b059c4c28460ef24aa.jpg","text":"TemporaryFile(/tmp/multipartBody8820988366494338502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148334252,"filename":"image_02112025_21_09_42_3107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822873","file1":"1401822870","file0":"1401822863","file4":"1401822879","file5":"1401822882","file3":"1401822876"},"map_files_photo_id_array":[{"photo_id":"1401822882","filename":"file5"},{"photo_id":"1401822873","filename":"file2"},{"photo_id":"1401822879","filename":"file4"},{"photo_id":"1401822870","filename":"file1"},{"photo_id":"1401822863","filename":"file0"},{"photo_id":"1401822876","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822873":["hashtag1","hashtag2"]},{"1401822882":["hashtag1","hashtag2"]},{"1401822876":["hashtag1","hashtag2"]},{"1401822879":["hashtag1","hashtag2"]},{"1401822870":["hashtag1","hashtag2"]},{"1401822863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822873, 1401822882, 1401822876, 1401822879, 1401822870, 1401822863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1670560836792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:32:03.050672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_14_10742.jpg', '/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_24_9690.jpg', '/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_34_9641.jpg', '/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_45_10771.jpg', '/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_54_9920.jpg', '/home/pi/Desktop/images/31122025/03/16/image_31122025_03_17_04_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_14_10742.jpg
/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_24_9690.jpg
/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_34_9641.jpg
/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_45_10771.jpg
/home/pi/Desktop/images/31122025/03/16/image_31122025_03_16_54_9920.jpg
/home/pi/Desktop/images/31122025/03/16/image_31122025_03_17_04_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822892","1401822895","1401822908","1401822898","1401822901","1401822904"],"photo_ids_order":["1401822892","1401822895","1401822898","1401822901","1401822904","1401822908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5841fd969f813c4fceeb036ce25623c.jpg","text":"TemporaryFile(/tmp/multipartBody4513054618422173839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148383663,"filename":"image_31122025_03_16_14_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bacdde71ac591f160f15fb7e7b460014.jpg","text":"TemporaryFile(/tmp/multipartBody8732631006969064048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148383663,"filename":"image_31122025_03_16_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/000328eca4291a1a0d33cebe5d2a6391.jpg","text":"TemporaryFile(/tmp/multipartBody4939267421694180769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148383663,"filename":"image_31122025_03_17_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba4600219210f666be20020e9256bdfe.jpg","text":"TemporaryFile(/tmp/multipartBody2167968765309652865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148383663,"filename":"image_31122025_03_16_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77d7759b7a971e0b208d392504d99800.jpg","text":"TemporaryFile(/tmp/multipartBody7529447301325199121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148383663,"filename":"image_31122025_03_16_45_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cee49e993c4275cc7ba0798c0858850.jpg","text":"TemporaryFile(/tmp/multipartBody4862253822029921526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148383663,"filename":"image_31122025_03_16_54_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822898","file1":"1401822895","file0":"1401822892","file4":"1401822904","file5":"1401822908","file3":"1401822901"},"map_files_photo_id_array":[{"photo_id":"1401822908","filename":"file5"},{"photo_id":"1401822898","filename":"file2"},{"photo_id":"1401822904","filename":"file4"},{"photo_id":"1401822895","filename":"file1"},{"photo_id":"1401822892","filename":"file0"},{"photo_id":"1401822901","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822892":["hashtag1","hashtag2"]},{"1401822895":["hashtag1","hashtag2"]},{"1401822908":["hashtag1","hashtag2"]},{"1401822898":["hashtag1","hashtag2"]},{"1401822901":["hashtag1","hashtag2"]},{"1401822904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822892, 1401822895, 1401822908, 1401822898, 1401822901, 1401822904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18291163444519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:32:42.722228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_45_17555.jpg', '/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_12_1706.jpg', '/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_19_1570.jpg', '/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_56_1808.jpg', '/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_25_18704.jpg', '/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_28_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_45_17555.jpg
/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_12_1706.jpg
/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_19_1570.jpg
/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_56_1808.jpg
/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_25_18704.jpg
/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_28_1672.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.784531593322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:33:02.631747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/17/image_31122025_03_17_24_10744.jpg', '/home/pi/Desktop/images/31122025/03/17/image_31122025_03_17_34_9701.jpg', '/home/pi/Desktop/images/31122025/03/17/image_31122025_03_17_44_9664.jpg', '/home/pi/Desktop/images/31122025/03/17/image_31122025_03_17_55_10887.jpg', '/home/pi/Desktop/images/31122025/03/17/image_31122025_03_18_04_9715.jpg', '/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_14_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/17/image_31122025_03_17_24_10744.jpg
/home/pi/Desktop/images/31122025/03/17/image_31122025_03_17_34_9701.jpg
/home/pi/Desktop/images/31122025/03/17/image_31122025_03_17_44_9664.jpg
/home/pi/Desktop/images/31122025/03/17/image_31122025_03_17_55_10887.jpg
/home/pi/Desktop/images/31122025/03/17/image_31122025_03_18_04_9715.jpg
/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_14_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822944","1401822938","1401822945","1401822933","1401822947","1401822941"],"photo_ids_order":["1401822933","1401822938","1401822941","1401822944","1401822945","1401822947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11bbe7f99aea317c34815afaf1ff8c33.jpg","text":"TemporaryFile(/tmp/multipartBody1505461652253218335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148443285,"filename":"image_31122025_03_17_55_10887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f73f09f0ffd0ff4e27d5b1538d7678c2.jpg","text":"TemporaryFile(/tmp/multipartBody561715976501783422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148443285,"filename":"image_31122025_03_17_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9099befdbcbbcf867de031323d928ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4730517759121968891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148443285,"filename":"image_31122025_03_18_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5244a32a12bc502d94297e04b20e1db6.jpg","text":"TemporaryFile(/tmp/multipartBody2008510507199792129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148443285,"filename":"image_31122025_03_17_24_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1990a84b541a142ac0a373adaa5148c.jpg","text":"TemporaryFile(/tmp/multipartBody739920114089312024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148443285,"filename":"image_31122025_03_18_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6c46f4ae27eb63144a6987dc7cdd3b1.jpg","text":"TemporaryFile(/tmp/multipartBody5426419416152068461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148443285,"filename":"image_31122025_03_17_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822941","file1":"1401822938","file0":"1401822933","file4":"1401822945","file5":"1401822947","file3":"1401822944"},"map_files_photo_id_array":[{"photo_id":"1401822947","filename":"file5"},{"photo_id":"1401822941","filename":"file2"},{"photo_id":"1401822945","filename":"file4"},{"photo_id":"1401822938","filename":"file1"},{"photo_id":"1401822933","filename":"file0"},{"photo_id":"1401822944","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822944":["hashtag1","hashtag2"]},{"1401822938":["hashtag1","hashtag2"]},{"1401822945":["hashtag1","hashtag2"]},{"1401822933":["hashtag1","hashtag2"]},{"1401822947":["hashtag1","hashtag2"]},{"1401822941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822944, 1401822938, 1401822945, 1401822933, 1401822947, 1401822941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.674107789993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:33:41.907683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_45_17555.jpg', '/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_12_1706.jpg', '/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_19_1570.jpg', '/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_56_1808.jpg', '/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_25_18704.jpg', '/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_28_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/10/image_02112025_21_10_45_17555.jpg
/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_12_1706.jpg
/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_19_1570.jpg
/home/pi/Desktop/images/02112025/21/11/image_02112025_21_11_56_1808.jpg
/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_25_18704.jpg
/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_28_1672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822970","1401822966","1401822960","1401822963","1401822968","1401822956"],"photo_ids_order":["1401822956","1401822960","1401822963","1401822966","1401822968","1401822970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d49aaac7d58f6c15ad15ba478bb49c6b.jpg","text":"TemporaryFile(/tmp/multipartBody7086532087698300320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148483675,"filename":"image_02112025_21_12_28_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e840ac946c9af40827f6945fce6b72d2.jpg","text":"TemporaryFile(/tmp/multipartBody2802980066450847229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148483675,"filename":"image_02112025_21_11_56_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afa84e33eefed9616e19a6172c172eeb.jpg","text":"TemporaryFile(/tmp/multipartBody7244723367949167323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148483675,"filename":"image_02112025_21_11_12_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20ba0a735aca59abb750facc1466f462.jpg","text":"TemporaryFile(/tmp/multipartBody2207755139464488386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148483675,"filename":"image_02112025_21_11_19_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2a9a5d1e41f615b836438e62803c830.jpg","text":"TemporaryFile(/tmp/multipartBody242765082304231587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148483675,"filename":"image_02112025_21_12_25_18704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b6456534461202684c27984c584664d.jpg","text":"TemporaryFile(/tmp/multipartBody7830120148859110879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148483675,"filename":"image_02112025_21_10_45_17555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822963","file1":"1401822960","file0":"1401822956","file4":"1401822968","file5":"1401822970","file3":"1401822966"},"map_files_photo_id_array":[{"photo_id":"1401822970","filename":"file5"},{"photo_id":"1401822963","filename":"file2"},{"photo_id":"1401822968","filename":"file4"},{"photo_id":"1401822960","filename":"file1"},{"photo_id":"1401822956","filename":"file0"},{"photo_id":"1401822966","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401822970":["hashtag1","hashtag2"]},{"1401822966":["hashtag1","hashtag2"]},{"1401822960":["hashtag1","hashtag2"]},{"1401822963":["hashtag1","hashtag2"]},{"1401822968":["hashtag1","hashtag2"]},{"1401822956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401822970, 1401822966, 1401822960, 1401822963, 1401822968, 1401822956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60170245170593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:34:22.012331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_24_9782.jpg', '/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_35_10704.jpg', '/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_44_9660.jpg', '/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_54_9761.jpg', '/home/pi/Desktop/images/31122025/03/18/image_31122025_03_19_05_10707.jpg', '/home/pi/Desktop/images/31122025/03/19/image_31122025_03_19_14_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_24_9782.jpg
/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_35_10704.jpg
/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_44_9660.jpg
/home/pi/Desktop/images/31122025/03/18/image_31122025_03_18_54_9761.jpg
/home/pi/Desktop/images/31122025/03/18/image_31122025_03_19_05_10707.jpg
/home/pi/Desktop/images/31122025/03/19/image_31122025_03_19_14_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401822991","1401822988","1401822976","1401822984","1401822998","1401822980"],"photo_ids_order":["1401822976","1401822980","1401822984","1401822988","1401822991","1401822998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71911f67cd292b1d3d81d2b3001b53ed.jpg","text":"TemporaryFile(/tmp/multipartBody8500953073171932496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148522572,"filename":"image_31122025_03_19_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4b939783a66b31233f57b97a4a5a5b4.jpg","text":"TemporaryFile(/tmp/multipartBody6201555688861440464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148522572,"filename":"image_31122025_03_18_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef8bd136579f9d6795be710662d5c944.jpg","text":"TemporaryFile(/tmp/multipartBody281755050274194119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148522572,"filename":"image_31122025_03_18_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b3f6c5f885a520dcfdc3fc5a6fe9bcf.jpg","text":"TemporaryFile(/tmp/multipartBody38252076131225571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148522572,"filename":"image_31122025_03_18_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cb3103881e9c40d5b8551b72d53046d.jpg","text":"TemporaryFile(/tmp/multipartBody6904316482751684613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148522572,"filename":"image_31122025_03_19_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d27622b03c36386866c8ff8d17e8bcc.jpg","text":"TemporaryFile(/tmp/multipartBody40025627554371138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148522572,"filename":"image_31122025_03_18_35_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401822984","file1":"1401822980","file0":"1401822976","file4":"1401822991","file5":"1401822998","file3":"1401822988"},"map_files_photo_id_array":[{"photo_id":"1401822998","filename":"file5"},{"photo_id":"1401822984","filename":"file2"},{"photo_id":"1401822991","filename":"file4"},{"photo_id":"1401822980","filename":"file1"},{"photo_id":"1401822976","filename":"file0"},{"photo_id":"1401822988","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401822991":["hashtag1","hashtag2"]},{"1401822988":["hashtag1","hashtag2"]},{"1401822976":["hashtag1","hashtag2"]},{"1401822984":["hashtag1","hashtag2"]},{"1401822998":["hashtag1","hashtag2"]},{"1401822980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401822991, 1401822988, 1401822976, 1401822984, 1401822998, 1401822980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94606947898865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:35:03.086860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/19/image_31122025_03_19_24_9675.jpg', '/home/pi/Desktop/images/31122025/03/19/image_31122025_03_19_44_9737.jpg', '/home/pi/Desktop/images/31122025/03/19/image_31122025_03_19_54_9749.jpg', '/home/pi/Desktop/images/31122025/03/19/image_31122025_03_20_04_9789.jpg', '/home/pi/Desktop/images/31122025/03/20/image_31122025_03_20_15_10831.jpg', '/home/pi/Desktop/images/31122025/03/20/image_31122025_03_20_24_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/19/image_31122025_03_19_24_9675.jpg
/home/pi/Desktop/images/31122025/03/19/image_31122025_03_19_44_9737.jpg
/home/pi/Desktop/images/31122025/03/19/image_31122025_03_19_54_9749.jpg
/home/pi/Desktop/images/31122025/03/19/image_31122025_03_20_04_9789.jpg
/home/pi/Desktop/images/31122025/03/20/image_31122025_03_20_15_10831.jpg
/home/pi/Desktop/images/31122025/03/20/image_31122025_03_20_24_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823024","1401823020","1401823017","1401823032","1401823028","1401823013"],"photo_ids_order":["1401823013","1401823017","1401823020","1401823024","1401823028","1401823032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/064f79999c8c3c40b4797657ae5112a6.jpg","text":"TemporaryFile(/tmp/multipartBody3545993837091742259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148563738,"filename":"image_31122025_03_20_04_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1d3a6255d2c2a96daed75479898b94a.jpg","text":"TemporaryFile(/tmp/multipartBody5184669187173915956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148563738,"filename":"image_31122025_03_19_54_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75ebfd7cf50822893606f7cffd419ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5538759699871572661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148563738,"filename":"image_31122025_03_19_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/947e9a8ea647ab81bed8a89757f56f81.jpg","text":"TemporaryFile(/tmp/multipartBody1920786183805259981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148563738,"filename":"image_31122025_03_20_24_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f360712c041ad2f3dd3618bfa17f47c.jpg","text":"TemporaryFile(/tmp/multipartBody6742395215626354382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148563738,"filename":"image_31122025_03_20_15_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/402c9f6b8ac8a635cbbb5d68ee405dab.jpg","text":"TemporaryFile(/tmp/multipartBody1999956023988985284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148563738,"filename":"image_31122025_03_19_24_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823020","file1":"1401823017","file0":"1401823013","file4":"1401823028","file5":"1401823032","file3":"1401823024"},"map_files_photo_id_array":[{"photo_id":"1401823032","filename":"file5"},{"photo_id":"1401823020","filename":"file2"},{"photo_id":"1401823028","filename":"file4"},{"photo_id":"1401823017","filename":"file1"},{"photo_id":"1401823013","filename":"file0"},{"photo_id":"1401823024","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823024":["hashtag1","hashtag2"]},{"1401823020":["hashtag1","hashtag2"]},{"1401823017":["hashtag1","hashtag2"]},{"1401823032":["hashtag1","hashtag2"]},{"1401823028":["hashtag1","hashtag2"]},{"1401823013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823024, 1401823020, 1401823017, 1401823032, 1401823028, 1401823013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.727185010910034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:35:42.323063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_32_1752.jpg', '/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_35_1658.jpg', '/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_07_3017.jpg', '/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_20_2765.jpg', '/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_22_2625.jpg', '/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_26_3319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_32_1752.jpg
/home/pi/Desktop/images/02112025/21/12/image_02112025_21_12_35_1658.jpg
/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_07_3017.jpg
/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_20_2765.jpg
/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_22_2625.jpg
/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_26_3319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823054","1401823042","1401823045","1401823050","1401823038","1401823052"],"photo_ids_order":["1401823038","1401823042","1401823045","1401823050","1401823052","1401823054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da09db52c2aff9c571122998e98dc4be.jpg","text":"TemporaryFile(/tmp/multipartBody155241166969031413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148604270,"filename":"image_02112025_21_14_26_3319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cca1e0666a7c274d1dcd0bdc68fbca03.jpg","text":"TemporaryFile(/tmp/multipartBody6825215128508243248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148604270,"filename":"image_02112025_21_12_35_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6191a7be7a12a330b8c24213b65a6f1.jpg","text":"TemporaryFile(/tmp/multipartBody8279502367328315561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148604270,"filename":"image_02112025_21_14_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/616a1bb3652ed9b5e33c0d2d6ffb09e6.jpg","text":"TemporaryFile(/tmp/multipartBody5920640006449368556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148604270,"filename":"image_02112025_21_14_20_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f9310cb15726e86b13dd90028430f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6431210072988429673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148604270,"filename":"image_02112025_21_12_32_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38c14b8a1b44378b9c136bfd776245f4.jpg","text":"TemporaryFile(/tmp/multipartBody3647167927449122355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148604270,"filename":"image_02112025_21_14_22_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823045","file1":"1401823042","file0":"1401823038","file4":"1401823052","file5":"1401823054","file3":"1401823050"},"map_files_photo_id_array":[{"photo_id":"1401823054","filename":"file5"},{"photo_id":"1401823045","filename":"file2"},{"photo_id":"1401823052","filename":"file4"},{"photo_id":"1401823042","filename":"file1"},{"photo_id":"1401823038","filename":"file0"},{"photo_id":"1401823050","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823054":["hashtag1","hashtag2"]},{"1401823042":["hashtag1","hashtag2"]},{"1401823045":["hashtag1","hashtag2"]},{"1401823050":["hashtag1","hashtag2"]},{"1401823038":["hashtag1","hashtag2"]},{"1401823052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823054, 1401823042, 1401823045, 1401823050, 1401823038, 1401823052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40872263908386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:36:22.520285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/20/image_31122025_03_20_34_9613.jpg', '/home/pi/Desktop/images/31122025/03/20/image_31122025_03_20_55_10865.jpg', '/home/pi/Desktop/images/31122025/03/20/image_31122025_03_21_04_9661.jpg', '/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_14_9605.jpg', '/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_25_10696.jpg', '/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_34_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/20/image_31122025_03_20_34_9613.jpg
/home/pi/Desktop/images/31122025/03/20/image_31122025_03_20_55_10865.jpg
/home/pi/Desktop/images/31122025/03/20/image_31122025_03_21_04_9661.jpg
/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_14_9605.jpg
/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_25_10696.jpg
/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_34_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823069","1401823066","1401823062","1401823076","1401823064","1401823072"],"photo_ids_order":["1401823062","1401823064","1401823066","1401823069","1401823072","1401823076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6198eca23e6fe08c50f86d5dabc4e1d4.jpg","text":"TemporaryFile(/tmp/multipartBody8106275090981797093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148643116,"filename":"image_31122025_03_21_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d5e9e35f0faa8a90279462a15b35af0.jpg","text":"TemporaryFile(/tmp/multipartBody4610065184952153457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148643116,"filename":"image_31122025_03_21_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f974551b0ff467dd13c603c994f6d19.jpg","text":"TemporaryFile(/tmp/multipartBody6426301562150035293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148643116,"filename":"image_31122025_03_20_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f2966f5879bb3c86fa86515725c973a.jpg","text":"TemporaryFile(/tmp/multipartBody8359519533824251745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148643116,"filename":"image_31122025_03_21_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba68acccb967eff3a8d96da5e6cc411b.jpg","text":"TemporaryFile(/tmp/multipartBody7108314984993051759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148643116,"filename":"image_31122025_03_20_55_10865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98b7c699853b374270614ca2bf3943b7.jpg","text":"TemporaryFile(/tmp/multipartBody2502261689615399083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148643116,"filename":"image_31122025_03_21_25_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823066","file1":"1401823064","file0":"1401823062","file4":"1401823072","file5":"1401823076","file3":"1401823069"},"map_files_photo_id_array":[{"photo_id":"1401823076","filename":"file5"},{"photo_id":"1401823066","filename":"file2"},{"photo_id":"1401823072","filename":"file4"},{"photo_id":"1401823064","filename":"file1"},{"photo_id":"1401823062","filename":"file0"},{"photo_id":"1401823069","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823069":["hashtag1","hashtag2"]},{"1401823066":["hashtag1","hashtag2"]},{"1401823062":["hashtag1","hashtag2"]},{"1401823076":["hashtag1","hashtag2"]},{"1401823064":["hashtag1","hashtag2"]},{"1401823072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823069, 1401823066, 1401823062, 1401823076, 1401823064, 1401823072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.094786643981934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:37:03.295413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_44_9888.jpg', '/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_54_9613.jpg', '/home/pi/Desktop/images/31122025/03/21/image_31122025_03_22_04_10638.jpg', '/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_14_9806.jpg', '/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_24_9683.jpg', '/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_35_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_44_9888.jpg
/home/pi/Desktop/images/31122025/03/21/image_31122025_03_21_54_9613.jpg
/home/pi/Desktop/images/31122025/03/21/image_31122025_03_22_04_10638.jpg
/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_14_9806.jpg
/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_24_9683.jpg
/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_35_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823084","1401823086","1401823089","1401823097","1401823082","1401823093"],"photo_ids_order":["1401823082","1401823084","1401823086","1401823089","1401823093","1401823097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0de1b853dd4ecc04be1e459143b2c6ad.jpg","text":"TemporaryFile(/tmp/multipartBody8594364113974688765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148683942,"filename":"image_31122025_03_21_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b930b201d53d59e6434a2c89a9d7a85b.jpg","text":"TemporaryFile(/tmp/multipartBody3276434721350757086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148683942,"filename":"image_31122025_03_22_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4400ffe5b3fe0c9fed6ff6cc5d087317.jpg","text":"TemporaryFile(/tmp/multipartBody8579485763628240811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148683942,"filename":"image_31122025_03_22_14_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16da4b41b55fbffd3f9b40f2efe1a854.jpg","text":"TemporaryFile(/tmp/multipartBody273948361902698436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148683942,"filename":"image_31122025_03_22_35_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c20ab6f18b9841ca6d5545c8e6d8c94.jpg","text":"TemporaryFile(/tmp/multipartBody2981380802438517664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148683942,"filename":"image_31122025_03_21_44_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3c544e9aafd1bf6cafec56ee9b401ec.jpg","text":"TemporaryFile(/tmp/multipartBody336309113612869953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148683942,"filename":"image_31122025_03_22_24_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823086","file1":"1401823084","file0":"1401823082","file4":"1401823093","file5":"1401823097","file3":"1401823089"},"map_files_photo_id_array":[{"photo_id":"1401823097","filename":"file5"},{"photo_id":"1401823086","filename":"file2"},{"photo_id":"1401823093","filename":"file4"},{"photo_id":"1401823084","filename":"file1"},{"photo_id":"1401823082","filename":"file0"},{"photo_id":"1401823089","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823084":["hashtag1","hashtag2"]},{"1401823086":["hashtag1","hashtag2"]},{"1401823089":["hashtag1","hashtag2"]},{"1401823097":["hashtag1","hashtag2"]},{"1401823082":["hashtag1","hashtag2"]},{"1401823093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823084, 1401823086, 1401823089, 1401823097, 1401823082, 1401823093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54760432243347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:37:42.769637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_29_3627.jpg', '/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_40_2692.jpg', '/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_49_2770.jpg', '/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_56_3774.jpg', '/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_06_1619.jpg', '/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_08_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_29_3627.jpg
/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_40_2692.jpg
/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_49_2770.jpg
/home/pi/Desktop/images/02112025/21/14/image_02112025_21_14_56_3774.jpg
/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_06_1619.jpg
/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_08_1687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823117","1401823105","1401823114","1401823108","1401823113","1401823107"],"photo_ids_order":["1401823105","1401823107","1401823108","1401823113","1401823114","1401823117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25ba9d9f6e69f210935734b3cc23f3e7.jpg","text":"TemporaryFile(/tmp/multipartBody2674772894866638546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148724665,"filename":"image_02112025_21_15_08_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb0fe09830671371bb28547e005e097f.jpg","text":"TemporaryFile(/tmp/multipartBody2373158542698030758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148724665,"filename":"image_02112025_21_14_29_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3eb5963ce94742429dce9847050ff92.jpg","text":"TemporaryFile(/tmp/multipartBody6079525765750358030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148724665,"filename":"image_02112025_21_15_06_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7965521aafdefd1613943c8dd823b990.jpg","text":"TemporaryFile(/tmp/multipartBody3730205318964567379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148724665,"filename":"image_02112025_21_14_49_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bf9c9d6d1e2e9fd9b7a330aa285d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody1031924311432206066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148724665,"filename":"image_02112025_21_14_56_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/237a36c5603e35aa9eb6bc4a9ae58714.jpg","text":"TemporaryFile(/tmp/multipartBody9047614086667100704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148724665,"filename":"image_02112025_21_14_40_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823108","file1":"1401823107","file0":"1401823105","file4":"1401823114","file5":"1401823117","file3":"1401823113"},"map_files_photo_id_array":[{"photo_id":"1401823117","filename":"file5"},{"photo_id":"1401823108","filename":"file2"},{"photo_id":"1401823114","filename":"file4"},{"photo_id":"1401823107","filename":"file1"},{"photo_id":"1401823105","filename":"file0"},{"photo_id":"1401823113","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823117":["hashtag1","hashtag2"]},{"1401823105":["hashtag1","hashtag2"]},{"1401823114":["hashtag1","hashtag2"]},{"1401823108":["hashtag1","hashtag2"]},{"1401823113":["hashtag1","hashtag2"]},{"1401823107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823117, 1401823105, 1401823114, 1401823108, 1401823113, 1401823107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.005046129226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:38:21.959116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_44_9714.jpg', '/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_54_10028.jpg', '/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_15_10589.jpg', '/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_24_9776.jpg', '/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_34_9591.jpg', '/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_45_10540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_44_9714.jpg
/home/pi/Desktop/images/31122025/03/22/image_31122025_03_22_54_10028.jpg
/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_15_10589.jpg
/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_24_9776.jpg
/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_34_9591.jpg
/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_45_10540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823135","1401823140","1401823128","1401823131","1401823136","1401823124"],"photo_ids_order":["1401823124","1401823128","1401823131","1401823135","1401823136","1401823140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9119365da10e98dfde512d80c42659b.jpg","text":"TemporaryFile(/tmp/multipartBody8750788780660139188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148762549,"filename":"image_31122025_03_23_24_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c36d34e9db72bbbbfc34c7ad0b011ff.jpg","text":"TemporaryFile(/tmp/multipartBody8480184505815233166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148762549,"filename":"image_31122025_03_23_45_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74748c2832ba166cf4f00c83b9a65c83.jpg","text":"TemporaryFile(/tmp/multipartBody151595965089217434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148762549,"filename":"image_31122025_03_22_54_10028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb4739ee7c95b9760f87b3c0dc0cec42.jpg","text":"TemporaryFile(/tmp/multipartBody6559761885852409795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148762549,"filename":"image_31122025_03_23_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f70d040d0c7350b39c42eb41937696b.jpg","text":"TemporaryFile(/tmp/multipartBody4187944276050811124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148762549,"filename":"image_31122025_03_23_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ccc3efd97f0fe443afcabaab3f84cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3521757385536260009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148762549,"filename":"image_31122025_03_22_44_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823131","file1":"1401823128","file0":"1401823124","file4":"1401823136","file5":"1401823140","file3":"1401823135"},"map_files_photo_id_array":[{"photo_id":"1401823140","filename":"file5"},{"photo_id":"1401823131","filename":"file2"},{"photo_id":"1401823136","filename":"file4"},{"photo_id":"1401823128","filename":"file1"},{"photo_id":"1401823124","filename":"file0"},{"photo_id":"1401823135","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823135":["hashtag1","hashtag2"]},{"1401823140":["hashtag1","hashtag2"]},{"1401823128":["hashtag1","hashtag2"]},{"1401823131":["hashtag1","hashtag2"]},{"1401823136":["hashtag1","hashtag2"]},{"1401823124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823135, 1401823140, 1401823128, 1401823131, 1401823136, 1401823124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75139045715332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:39:02.879975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_54_9797.jpg', '/home/pi/Desktop/images/31122025/03/23/image_31122025_03_24_04_9783.jpg', '/home/pi/Desktop/images/31122025/03/24/image_31122025_03_24_14_9729.jpg', '/home/pi/Desktop/images/31122025/03/24/image_31122025_03_24_34_9524.jpg', '/home/pi/Desktop/images/31122025/03/24/image_31122025_03_24_45_10600.jpg', '/home/pi/Desktop/images/31122025/03/24/image_31122025_03_25_04_9958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/23/image_31122025_03_23_54_9797.jpg
/home/pi/Desktop/images/31122025/03/23/image_31122025_03_24_04_9783.jpg
/home/pi/Desktop/images/31122025/03/24/image_31122025_03_24_14_9729.jpg
/home/pi/Desktop/images/31122025/03/24/image_31122025_03_24_34_9524.jpg
/home/pi/Desktop/images/31122025/03/24/image_31122025_03_24_45_10600.jpg
/home/pi/Desktop/images/31122025/03/24/image_31122025_03_25_04_9958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823168","1401823153","1401823161","1401823163","1401823166","1401823171"],"photo_ids_order":["1401823153","1401823161","1401823163","1401823166","1401823168","1401823171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/618e77a8f9a6da95a58b68398101991d.jpg","text":"TemporaryFile(/tmp/multipartBody3038616979839681888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148803600,"filename":"image_31122025_03_24_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f2e9230d2261c8f7f9844a823ae7892.jpg","text":"TemporaryFile(/tmp/multipartBody2754051944412819494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148803600,"filename":"image_31122025_03_23_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caed83a5a4eb5f3514f53c580278b265.jpg","text":"TemporaryFile(/tmp/multipartBody741673136157893436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148803600,"filename":"image_31122025_03_24_04_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2593124ca4e52f951bc25230b5b181b.jpg","text":"TemporaryFile(/tmp/multipartBody1239068981946297518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148803600,"filename":"image_31122025_03_24_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8ff22e4a5bc1d28af441e84e128c8e0.jpg","text":"TemporaryFile(/tmp/multipartBody2813898356027131080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148803600,"filename":"image_31122025_03_24_34_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c4bdf16461eab2aea45e9ac1ef2d0fa.jpg","text":"TemporaryFile(/tmp/multipartBody1922299406274138053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148803600,"filename":"image_31122025_03_25_04_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823163","file1":"1401823161","file0":"1401823153","file4":"1401823168","file5":"1401823171","file3":"1401823166"},"map_files_photo_id_array":[{"photo_id":"1401823171","filename":"file5"},{"photo_id":"1401823163","filename":"file2"},{"photo_id":"1401823168","filename":"file4"},{"photo_id":"1401823161","filename":"file1"},{"photo_id":"1401823153","filename":"file0"},{"photo_id":"1401823166","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823168":["hashtag1","hashtag2"]},{"1401823153":["hashtag1","hashtag2"]},{"1401823161":["hashtag1","hashtag2"]},{"1401823163":["hashtag1","hashtag2"]},{"1401823166":["hashtag1","hashtag2"]},{"1401823171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823168, 1401823153, 1401823161, 1401823163, 1401823166, 1401823171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.939985036849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:39:42.092000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_16_2821.jpg', '/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_20_3722.jpg', '/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_23_2690.jpg', '/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_48_1705.jpg', '/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_49_1640.jpg', '/home/pi/Desktop/images/02112025/21/15/image_02112025_21_16_00_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_16_2821.jpg
/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_20_3722.jpg
/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_23_2690.jpg
/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_48_1705.jpg
/home/pi/Desktop/images/02112025/21/15/image_02112025_21_15_49_1640.jpg
/home/pi/Desktop/images/02112025/21/15/image_02112025_21_16_00_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823197","1401823201","1401823185","1401823188","1401823196","1401823198"],"photo_ids_order":["1401823185","1401823188","1401823196","1401823197","1401823198","1401823201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c107707c79b067cf969c996e3e6e35d.jpg","text":"TemporaryFile(/tmp/multipartBody2250512227823283938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148848665,"filename":"image_02112025_21_15_48_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52fff05c4c5a390cf9e098cde55a3fe7.jpg","text":"TemporaryFile(/tmp/multipartBody895809816076222153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148848665,"filename":"image_02112025_21_16_00_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58ef041e8a615af0a4cb80046abefa0e.jpg","text":"TemporaryFile(/tmp/multipartBody8148127686457502087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148848665,"filename":"image_02112025_21_15_16_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37624586ffe00be5a6e3ebf81635fe6f.jpg","text":"TemporaryFile(/tmp/multipartBody5859295861541671156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148848665,"filename":"image_02112025_21_15_20_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae82ae085b2fcaf1c63a9766f4efa06b.jpg","text":"TemporaryFile(/tmp/multipartBody276743604437415459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148848665,"filename":"image_02112025_21_15_23_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f06fcc4f8beb3f510f674b36fdcb2826.jpg","text":"TemporaryFile(/tmp/multipartBody6232317664833774352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148848665,"filename":"image_02112025_21_15_49_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823196","file1":"1401823188","file0":"1401823185","file4":"1401823198","file5":"1401823201","file3":"1401823197"},"map_files_photo_id_array":[{"photo_id":"1401823201","filename":"file5"},{"photo_id":"1401823196","filename":"file2"},{"photo_id":"1401823198","filename":"file4"},{"photo_id":"1401823188","filename":"file1"},{"photo_id":"1401823185","filename":"file0"},{"photo_id":"1401823197","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823197":["hashtag1","hashtag2"]},{"1401823201":["hashtag1","hashtag2"]},{"1401823185":["hashtag1","hashtag2"]},{"1401823188":["hashtag1","hashtag2"]},{"1401823196":["hashtag1","hashtag2"]},{"1401823198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823197, 1401823201, 1401823185, 1401823188, 1401823196, 1401823198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.842684745788574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:40:32.319913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_04_1660.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_07_1716.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_11_1630.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_12_1627.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_16_1739.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_17_1726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_04_1660.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_07_1716.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_11_1630.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_12_1627.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_16_1739.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_17_1726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823237","1401823225","1401823219","1401823215","1401823232","1401823229"],"photo_ids_order":["1401823215","1401823219","1401823225","1401823229","1401823232","1401823237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d4345cc28e24759ce9b62f92a6fe9f1.jpg","text":"TemporaryFile(/tmp/multipartBody3633346036899287039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148894234,"filename":"image_02112025_21_16_17_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c277ceca188a0ddecbbf374b961263c.jpg","text":"TemporaryFile(/tmp/multipartBody498496513899876747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148894234,"filename":"image_02112025_21_16_11_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/043f72e7614309230968b73f0c354af6.jpg","text":"TemporaryFile(/tmp/multipartBody6718514357293081882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148894234,"filename":"image_02112025_21_16_07_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64c46d59725aed1ac9f6a281e4fc511c.jpg","text":"TemporaryFile(/tmp/multipartBody1053062668925095477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148894234,"filename":"image_02112025_21_16_04_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abb829d4f45464c828ff62abf47f2f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3088339643208764010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148894234,"filename":"image_02112025_21_16_16_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0be847238dec94700a991afb743dff7c.jpg","text":"TemporaryFile(/tmp/multipartBody8381504412775568402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148894234,"filename":"image_02112025_21_16_12_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823225","file1":"1401823219","file0":"1401823215","file4":"1401823232","file5":"1401823237","file3":"1401823229"},"map_files_photo_id_array":[{"photo_id":"1401823237","filename":"file5"},{"photo_id":"1401823225","filename":"file2"},{"photo_id":"1401823232","filename":"file4"},{"photo_id":"1401823219","filename":"file1"},{"photo_id":"1401823215","filename":"file0"},{"photo_id":"1401823229","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823237":["hashtag1","hashtag2"]},{"1401823225":["hashtag1","hashtag2"]},{"1401823219":["hashtag1","hashtag2"]},{"1401823215":["hashtag1","hashtag2"]},{"1401823232":["hashtag1","hashtag2"]},{"1401823229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823237, 1401823225, 1401823219, 1401823215, 1401823232, 1401823229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84973073005676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:41:12.421580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_20_1542.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_26_5476.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_29_1543.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_31_1549.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_37_2888.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_49_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_20_1542.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_26_5476.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_29_1543.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_31_1549.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_37_2888.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_49_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823252","1401823249","1401823240","1401823243","1401823246","1401823254"],"photo_ids_order":["1401823240","1401823243","1401823246","1401823249","1401823252","1401823254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/defcdeeee274dbaaf88f89f4359ce6e2.jpg","text":"TemporaryFile(/tmp/multipartBody3063820742466746154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148934195,"filename":"image_02112025_21_16_37_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce10af77bcc53b01bd900990eb47851a.jpg","text":"TemporaryFile(/tmp/multipartBody1940370481597878576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148934195,"filename":"image_02112025_21_16_31_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cb7adf376bd42acb67ec28ea395402b.jpg","text":"TemporaryFile(/tmp/multipartBody7854816226982310323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148934195,"filename":"image_02112025_21_16_20_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e06f06f45e4efc5c2286f2f5e72f1e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1582234366100965472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148934195,"filename":"image_02112025_21_16_26_5476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7865fd892f16eeb9aa90492478ac927f.jpg","text":"TemporaryFile(/tmp/multipartBody8570781157762287912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148934195,"filename":"image_02112025_21_16_29_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5acd1c23db4bbd4110bf101496556ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8253068936222381431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148934195,"filename":"image_02112025_21_16_49_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823246","file1":"1401823243","file0":"1401823240","file4":"1401823252","file5":"1401823254","file3":"1401823249"},"map_files_photo_id_array":[{"photo_id":"1401823254","filename":"file5"},{"photo_id":"1401823246","filename":"file2"},{"photo_id":"1401823252","filename":"file4"},{"photo_id":"1401823243","filename":"file1"},{"photo_id":"1401823240","filename":"file0"},{"photo_id":"1401823249","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823252":["hashtag1","hashtag2"]},{"1401823249":["hashtag1","hashtag2"]},{"1401823240":["hashtag1","hashtag2"]},{"1401823243":["hashtag1","hashtag2"]},{"1401823246":["hashtag1","hashtag2"]},{"1401823254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823252, 1401823249, 1401823240, 1401823243, 1401823246, 1401823254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.859336853027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:42:03.048818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_14_9745.jpg', '/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_24_9701.jpg', '/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_35_10716.jpg', '/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_44_9748.jpg', '/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_54_9634.jpg', '/home/pi/Desktop/images/31122025/03/26/image_31122025_03_26_24_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_14_9745.jpg
/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_24_9701.jpg
/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_35_10716.jpg
/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_44_9748.jpg
/home/pi/Desktop/images/31122025/03/25/image_31122025_03_25_54_9634.jpg
/home/pi/Desktop/images/31122025/03/26/image_31122025_03_26_24_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823273","1401823276","1401823266","1401823269","1401823280","1401823271"],"photo_ids_order":["1401823266","1401823269","1401823271","1401823273","1401823276","1401823280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bce054d64ab08efafb6e6bd92468ad33.jpg","text":"TemporaryFile(/tmp/multipartBody6173142159119727250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148983672,"filename":"image_31122025_03_25_44_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08b1d4554272beb212a51062cc72db82.jpg","text":"TemporaryFile(/tmp/multipartBody7119812898824331784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148983672,"filename":"image_31122025_03_25_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19cc23153570c055ead51f9ae1d22ac1.jpg","text":"TemporaryFile(/tmp/multipartBody4368993731500704437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148983672,"filename":"image_31122025_03_25_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ba2c1449715e4bbf921aef3a42cb0c9.jpg","text":"TemporaryFile(/tmp/multipartBody3877167099062182463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148983672,"filename":"image_31122025_03_25_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e3f942a2d450ea71efe5932f2f3674a.jpg","text":"TemporaryFile(/tmp/multipartBody1267924528773209746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148983672,"filename":"image_31122025_03_26_24_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a4db1932a1f7954cb254d0f9f761e57.jpg","text":"TemporaryFile(/tmp/multipartBody7042302241740744098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767148983672,"filename":"image_31122025_03_25_35_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823271","file1":"1401823269","file0":"1401823266","file4":"1401823276","file5":"1401823280","file3":"1401823273"},"map_files_photo_id_array":[{"photo_id":"1401823280","filename":"file5"},{"photo_id":"1401823271","filename":"file2"},{"photo_id":"1401823276","filename":"file4"},{"photo_id":"1401823269","filename":"file1"},{"photo_id":"1401823266","filename":"file0"},{"photo_id":"1401823273","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823273":["hashtag1","hashtag2"]},{"1401823276":["hashtag1","hashtag2"]},{"1401823266":["hashtag1","hashtag2"]},{"1401823269":["hashtag1","hashtag2"]},{"1401823280":["hashtag1","hashtag2"]},{"1401823271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823273, 1401823276, 1401823266, 1401823269, 1401823280, 1401823271)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.94042444229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:43:03.281168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/26/image_31122025_03_26_34_9623.jpg', '/home/pi/Desktop/images/31122025/03/26/image_31122025_03_26_44_10564.jpg', '/home/pi/Desktop/images/31122025/03/26/image_31122025_03_26_54_9746.jpg', '/home/pi/Desktop/images/31122025/03/26/image_31122025_03_27_04_9779.jpg', '/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_15_10717.jpg', '/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_24_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/26/image_31122025_03_26_34_9623.jpg
/home/pi/Desktop/images/31122025/03/26/image_31122025_03_26_44_10564.jpg
/home/pi/Desktop/images/31122025/03/26/image_31122025_03_26_54_9746.jpg
/home/pi/Desktop/images/31122025/03/26/image_31122025_03_27_04_9779.jpg
/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_15_10717.jpg
/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_24_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823321","1401823320","1401823323","1401823317","1401823319","1401823313"],"photo_ids_order":["1401823313","1401823317","1401823319","1401823320","1401823321","1401823323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5f3d128f5c242d8ac97e0f4e39d7f97.jpg","text":"TemporaryFile(/tmp/multipartBody2118738044303219042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149043911,"filename":"image_31122025_03_27_15_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46f356c3b0a1f507cd0f18c11c84a3ca.jpg","text":"TemporaryFile(/tmp/multipartBody5147167692842112660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149043911,"filename":"image_31122025_03_27_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66d829826e25488e7d7a682e98166b57.jpg","text":"TemporaryFile(/tmp/multipartBody8170409604695682958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149043911,"filename":"image_31122025_03_27_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9afd0d32b905f91e5955da0e7eb4fa42.jpg","text":"TemporaryFile(/tmp/multipartBody3172480300537625517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149043911,"filename":"image_31122025_03_26_44_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc8fa8292113c5fe750c70bcf8c3a17f.jpg","text":"TemporaryFile(/tmp/multipartBody2569959520522456950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149043911,"filename":"image_31122025_03_26_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7692403f0f8cbaba2c0a6fe067c437b6.jpg","text":"TemporaryFile(/tmp/multipartBody4072377896359282200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149043911,"filename":"image_31122025_03_26_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823319","file1":"1401823317","file0":"1401823313","file4":"1401823321","file5":"1401823323","file3":"1401823320"},"map_files_photo_id_array":[{"photo_id":"1401823323","filename":"file5"},{"photo_id":"1401823319","filename":"file2"},{"photo_id":"1401823321","filename":"file4"},{"photo_id":"1401823317","filename":"file1"},{"photo_id":"1401823313","filename":"file0"},{"photo_id":"1401823320","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823321":["hashtag1","hashtag2"]},{"1401823320":["hashtag1","hashtag2"]},{"1401823323":["hashtag1","hashtag2"]},{"1401823317":["hashtag1","hashtag2"]},{"1401823319":["hashtag1","hashtag2"]},{"1401823313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823321, 1401823320, 1401823323, 1401823317, 1401823319, 1401823313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55599617958069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:43:42.685049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_53_3569.jpg', '/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_55_2635.jpg', '/home/pi/Desktop/images/02112025/21/17/image_02112025_21_17_14_2942.jpg', '/home/pi/Desktop/images/02112025/21/17/image_02112025_21_17_16_2667.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_06_1653.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_08_1598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_53_3569.jpg
/home/pi/Desktop/images/02112025/21/16/image_02112025_21_16_55_2635.jpg
/home/pi/Desktop/images/02112025/21/17/image_02112025_21_17_14_2942.jpg
/home/pi/Desktop/images/02112025/21/17/image_02112025_21_17_16_2667.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_06_1653.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_08_1598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823354","1401823333","1401823342","1401823339","1401823344","1401823358"],"photo_ids_order":["1401823333","1401823339","1401823342","1401823344","1401823354","1401823358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f09678974b242b2f774631ced77479b5.jpg","text":"TemporaryFile(/tmp/multipartBody3392936805872324478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149084587,"filename":"image_02112025_21_18_06_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa91cfbca032cc55f7ce1140e2ee46b8.jpg","text":"TemporaryFile(/tmp/multipartBody9016629779429667592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149084587,"filename":"image_02112025_21_16_53_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5be8ead14b7c932073eccc2af1664b36.jpg","text":"TemporaryFile(/tmp/multipartBody1597342905321483046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149084587,"filename":"image_02112025_21_17_14_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b1737b9fe0877f11f9c6281952f29df.jpg","text":"TemporaryFile(/tmp/multipartBody8078406656379674380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149084587,"filename":"image_02112025_21_16_55_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d832f1a9e72bcef661bd66fbeca8ca49.jpg","text":"TemporaryFile(/tmp/multipartBody6642955186951300374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149084587,"filename":"image_02112025_21_17_16_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c351d3e9ef64f07bb26b0eabab51779c.jpg","text":"TemporaryFile(/tmp/multipartBody4102013873016310183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149084587,"filename":"image_02112025_21_18_08_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823342","file1":"1401823339","file0":"1401823333","file4":"1401823354","file5":"1401823358","file3":"1401823344"},"map_files_photo_id_array":[{"photo_id":"1401823358","filename":"file5"},{"photo_id":"1401823342","filename":"file2"},{"photo_id":"1401823354","filename":"file4"},{"photo_id":"1401823339","filename":"file1"},{"photo_id":"1401823333","filename":"file0"},{"photo_id":"1401823344","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823354":["hashtag1","hashtag2"]},{"1401823333":["hashtag1","hashtag2"]},{"1401823342":["hashtag1","hashtag2"]},{"1401823339":["hashtag1","hashtag2"]},{"1401823344":["hashtag1","hashtag2"]},{"1401823358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823354, 1401823333, 1401823342, 1401823339, 1401823344, 1401823358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11063241958618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:44:21.968778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_34_9781.jpg', '/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_45_10661.jpg', '/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_54_9737.jpg', '/home/pi/Desktop/images/31122025/03/27/image_31122025_03_28_04_9638.jpg', '/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_14_9744.jpg', '/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_24_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_34_9781.jpg
/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_45_10661.jpg
/home/pi/Desktop/images/31122025/03/27/image_31122025_03_27_54_9737.jpg
/home/pi/Desktop/images/31122025/03/27/image_31122025_03_28_04_9638.jpg
/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_14_9744.jpg
/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_24_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823387","1401823363","1401823374","1401823371","1401823367","1401823379"],"photo_ids_order":["1401823363","1401823367","1401823371","1401823374","1401823379","1401823387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/081ea5fc874be8b286a4d692a9081655.jpg","text":"TemporaryFile(/tmp/multipartBody1909854707974846365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149122591,"filename":"image_31122025_03_28_24_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c0edc833e26c123ec3f30afe132bad1.jpg","text":"TemporaryFile(/tmp/multipartBody5340871426232857015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149122591,"filename":"image_31122025_03_27_34_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af96bc27fb0da3cfab05adcc4a2d3bee.jpg","text":"TemporaryFile(/tmp/multipartBody3130441424013939337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149122591,"filename":"image_31122025_03_28_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b55d31474f4c44aa95bd948e8030d527.jpg","text":"TemporaryFile(/tmp/multipartBody6168109484404860735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149122591,"filename":"image_31122025_03_27_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44fbac14679a8ead3eab8e7e5c645a25.jpg","text":"TemporaryFile(/tmp/multipartBody2233562235385243559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149122591,"filename":"image_31122025_03_27_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/928b3cf4c56cd9d1db6ef6bbf459d75f.jpg","text":"TemporaryFile(/tmp/multipartBody3537989770813747079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149122591,"filename":"image_31122025_03_28_14_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823371","file1":"1401823367","file0":"1401823363","file4":"1401823379","file5":"1401823387","file3":"1401823374"},"map_files_photo_id_array":[{"photo_id":"1401823387","filename":"file5"},{"photo_id":"1401823371","filename":"file2"},{"photo_id":"1401823379","filename":"file4"},{"photo_id":"1401823367","filename":"file1"},{"photo_id":"1401823363","filename":"file0"},{"photo_id":"1401823374","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823387":["hashtag1","hashtag2"]},{"1401823363":["hashtag1","hashtag2"]},{"1401823374":["hashtag1","hashtag2"]},{"1401823371":["hashtag1","hashtag2"]},{"1401823367":["hashtag1","hashtag2"]},{"1401823379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823387, 1401823363, 1401823374, 1401823371, 1401823367, 1401823379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48848223686218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:45:02.803847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_34_9706.jpg', '/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_44_9561.jpg', '/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_54_10007.jpg', '/home/pi/Desktop/images/31122025/03/28/image_31122025_03_29_04_10586.jpg', '/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_14_9828.jpg', '/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_24_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_34_9706.jpg
/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_44_9561.jpg
/home/pi/Desktop/images/31122025/03/28/image_31122025_03_28_54_10007.jpg
/home/pi/Desktop/images/31122025/03/28/image_31122025_03_29_04_10586.jpg
/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_14_9828.jpg
/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_24_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823392","1401823403","1401823412","1401823406","1401823415","1401823409"],"photo_ids_order":["1401823392","1401823403","1401823406","1401823409","1401823412","1401823415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1c4f0c85edf35ee1707c5163a5acdc5.jpg","text":"TemporaryFile(/tmp/multipartBody2486165837580665371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149163505,"filename":"image_31122025_03_28_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb9f036f051dbb2a960536e06ff59aad.jpg","text":"TemporaryFile(/tmp/multipartBody1332140075960008893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149163505,"filename":"image_31122025_03_28_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bbbb81005585709065f6dca9eb56df5.jpg","text":"TemporaryFile(/tmp/multipartBody4114851535398098807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149163505,"filename":"image_31122025_03_29_14_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f46190ed0d2fa21a27ecb550dd0f6c2d.jpg","text":"TemporaryFile(/tmp/multipartBody990653010236300074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149163505,"filename":"image_31122025_03_28_54_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d1cd5ed53ae74ed030e4d763270908f.jpg","text":"TemporaryFile(/tmp/multipartBody3874739558511449152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149163505,"filename":"image_31122025_03_29_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2bbf8df4257fa7847ff5c943c125e62.jpg","text":"TemporaryFile(/tmp/multipartBody6889632665797302602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149163505,"filename":"image_31122025_03_29_04_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823406","file1":"1401823403","file0":"1401823392","file4":"1401823412","file5":"1401823415","file3":"1401823409"},"map_files_photo_id_array":[{"photo_id":"1401823415","filename":"file5"},{"photo_id":"1401823406","filename":"file2"},{"photo_id":"1401823412","filename":"file4"},{"photo_id":"1401823403","filename":"file1"},{"photo_id":"1401823392","filename":"file0"},{"photo_id":"1401823409","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823392":["hashtag1","hashtag2"]},{"1401823403":["hashtag1","hashtag2"]},{"1401823412":["hashtag1","hashtag2"]},{"1401823406":["hashtag1","hashtag2"]},{"1401823415":["hashtag1","hashtag2"]},{"1401823409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823392, 1401823403, 1401823412, 1401823406, 1401823415, 1401823409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.911521434783936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:45:42.076448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_10_1677.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_15_1770.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_18_1790.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_20_1566.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_27_6709.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_28_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_10_1677.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_15_1770.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_18_1790.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_20_1566.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_27_6709.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_28_1626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823429","1401823420","1401823423","1401823431","1401823425","1401823427"],"photo_ids_order":["1401823420","1401823423","1401823425","1401823427","1401823429","1401823431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf10bc75934c68b6d5896b81bf18fece.jpg","text":"TemporaryFile(/tmp/multipartBody269040052819862771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149203975,"filename":"image_02112025_21_18_27_6709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d61535f7493c124be6662e9f9350be6.jpg","text":"TemporaryFile(/tmp/multipartBody1933933389468768811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149203975,"filename":"image_02112025_21_18_10_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92eacdfd1a54872cf73347a611cc2040.jpg","text":"TemporaryFile(/tmp/multipartBody749407447030929115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149203975,"filename":"image_02112025_21_18_15_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55af3a33ea5431176ea2a5856d573931.jpg","text":"TemporaryFile(/tmp/multipartBody5762953141715608509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149203975,"filename":"image_02112025_21_18_28_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea62d53e082efb82763eb3d541255aad.jpg","text":"TemporaryFile(/tmp/multipartBody9133612586970050270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149203975,"filename":"image_02112025_21_18_18_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/085a64c9cdfd450577b0c75f0b5639f1.jpg","text":"TemporaryFile(/tmp/multipartBody8258873505704846047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149203975,"filename":"image_02112025_21_18_20_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823425","file1":"1401823423","file0":"1401823420","file4":"1401823429","file5":"1401823431","file3":"1401823427"},"map_files_photo_id_array":[{"photo_id":"1401823431","filename":"file5"},{"photo_id":"1401823425","filename":"file2"},{"photo_id":"1401823429","filename":"file4"},{"photo_id":"1401823423","filename":"file1"},{"photo_id":"1401823420","filename":"file0"},{"photo_id":"1401823427","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823429":["hashtag1","hashtag2"]},{"1401823420":["hashtag1","hashtag2"]},{"1401823423":["hashtag1","hashtag2"]},{"1401823431":["hashtag1","hashtag2"]},{"1401823425":["hashtag1","hashtag2"]},{"1401823427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823429, 1401823420, 1401823423, 1401823431, 1401823425, 1401823427)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.18242287635803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:46:32.173967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_32_1759.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_33_1655.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_35_1618.jpg', '/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_58_1843.jpg', '/home/pi/Desktop/images/02112025/21/20/image_02112025_21_20_22_1743.jpg', '/home/pi/Desktop/images/02112025/21/20/image_02112025_21_20_26_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_32_1759.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_33_1655.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_35_1618.jpg
/home/pi/Desktop/images/02112025/21/18/image_02112025_21_18_58_1843.jpg
/home/pi/Desktop/images/02112025/21/20/image_02112025_21_20_22_1743.jpg
/home/pi/Desktop/images/02112025/21/20/image_02112025_21_20_26_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823456","1401823438","1401823452","1401823446","1401823449","1401823454"],"photo_ids_order":["1401823438","1401823446","1401823449","1401823452","1401823454","1401823456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27d6ae09ab943bad1110915b4632a614.jpg","text":"TemporaryFile(/tmp/multipartBody5547818338881236376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149253958,"filename":"image_02112025_21_20_26_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a51b378ed8b738375a03169c5b1f030f.jpg","text":"TemporaryFile(/tmp/multipartBody5416645457552140278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149253958,"filename":"image_02112025_21_18_32_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/049201e34104f7af7f1e65999443bc4e.jpg","text":"TemporaryFile(/tmp/multipartBody5383370901279023513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149253958,"filename":"image_02112025_21_18_58_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6ef455cf664cb794c0e8d2caf6d3776.jpg","text":"TemporaryFile(/tmp/multipartBody1586656704334540539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149253958,"filename":"image_02112025_21_18_33_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4cb8ffbd68624e269566f464ff7c6c76.jpg","text":"TemporaryFile(/tmp/multipartBody6837539764324732987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149253958,"filename":"image_02112025_21_18_35_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea8d44c6045c93d0e9b515761c7db4b9.jpg","text":"TemporaryFile(/tmp/multipartBody8725062820402562346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149253958,"filename":"image_02112025_21_20_22_1743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823449","file1":"1401823446","file0":"1401823438","file4":"1401823454","file5":"1401823456","file3":"1401823452"},"map_files_photo_id_array":[{"photo_id":"1401823456","filename":"file5"},{"photo_id":"1401823449","filename":"file2"},{"photo_id":"1401823454","filename":"file4"},{"photo_id":"1401823446","filename":"file1"},{"photo_id":"1401823438","filename":"file0"},{"photo_id":"1401823452","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823456":["hashtag1","hashtag2"]},{"1401823438":["hashtag1","hashtag2"]},{"1401823452":["hashtag1","hashtag2"]},{"1401823446":["hashtag1","hashtag2"]},{"1401823449":["hashtag1","hashtag2"]},{"1401823454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823456, 1401823438, 1401823452, 1401823446, 1401823449, 1401823454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49640393257141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:47:12.482656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/20/image_02112025_21_20_32_3305.jpg', '/home/pi/Desktop/images/02112025/21/20/image_02112025_21_20_56_1654.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_08_9856.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_09_1655.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_27_17549.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_29_1823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/20/image_02112025_21_20_32_3305.jpg
/home/pi/Desktop/images/02112025/21/20/image_02112025_21_20_56_1654.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_08_9856.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_09_1655.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_27_17549.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_29_1823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823472","1401823466","1401823469","1401823460","1401823463","1401823457"],"photo_ids_order":["1401823457","1401823460","1401823463","1401823466","1401823469","1401823472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de929f4f75e00bbeb70ae69eec6dadb9.jpg","text":"TemporaryFile(/tmp/multipartBody6694011920676391957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149294266,"filename":"image_02112025_21_21_29_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/722ec1c5ecbc0dc0827739972a92d868.jpg","text":"TemporaryFile(/tmp/multipartBody3440448421433526676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149294266,"filename":"image_02112025_21_21_09_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caaeef9947c0c8d3c11f0735b5aef212.jpg","text":"TemporaryFile(/tmp/multipartBody777910075042436835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149294266,"filename":"image_02112025_21_21_27_17549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f727fc07b9224c1c7f2f322dacb6cca4.jpg","text":"TemporaryFile(/tmp/multipartBody339966524473311431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149294266,"filename":"image_02112025_21_20_56_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6091337ddbb4efa6565146ebf8f9beb.jpg","text":"TemporaryFile(/tmp/multipartBody4633167316868312168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149294266,"filename":"image_02112025_21_21_08_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf9530f48a3c6c7e390bcce5c1f72b11.jpg","text":"TemporaryFile(/tmp/multipartBody8688502298442293863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149294266,"filename":"image_02112025_21_20_32_3305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823463","file1":"1401823460","file0":"1401823457","file4":"1401823469","file5":"1401823472","file3":"1401823466"},"map_files_photo_id_array":[{"photo_id":"1401823472","filename":"file5"},{"photo_id":"1401823463","filename":"file2"},{"photo_id":"1401823469","filename":"file4"},{"photo_id":"1401823460","filename":"file1"},{"photo_id":"1401823457","filename":"file0"},{"photo_id":"1401823466","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823472":["hashtag1","hashtag2"]},{"1401823466":["hashtag1","hashtag2"]},{"1401823469":["hashtag1","hashtag2"]},{"1401823460":["hashtag1","hashtag2"]},{"1401823463":["hashtag1","hashtag2"]},{"1401823457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823472, 1401823466, 1401823469, 1401823460, 1401823463, 1401823457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11281228065491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:48:03.129216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_35_10651.jpg', '/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_45_10052.jpg', '/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_54_9734.jpg', '/home/pi/Desktop/images/31122025/03/29/image_31122025_03_30_04_9808.jpg', '/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_14_9711.jpg', '/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_24_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_35_10651.jpg
/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_45_10052.jpg
/home/pi/Desktop/images/31122025/03/29/image_31122025_03_29_54_9734.jpg
/home/pi/Desktop/images/31122025/03/29/image_31122025_03_30_04_9808.jpg
/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_14_9711.jpg
/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_24_9943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823486","1401823480","1401823491","1401823488","1401823483","1401823477"],"photo_ids_order":["1401823477","1401823480","1401823483","1401823486","1401823488","1401823491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ead2a71595bb8c20185ab9b37dcfbbd7.jpg","text":"TemporaryFile(/tmp/multipartBody1431949282960850587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149343770,"filename":"image_31122025_03_30_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d6252d7c4463e87071f9777460e2999.jpg","text":"TemporaryFile(/tmp/multipartBody3464220738419524560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149343770,"filename":"image_31122025_03_29_45_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e56d4ce6aa516a950a4bbe97d0b13818.jpg","text":"TemporaryFile(/tmp/multipartBody2162115104615793377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149343770,"filename":"image_31122025_03_30_24_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91a9c37815be03f1c5ea5c28c48367a5.jpg","text":"TemporaryFile(/tmp/multipartBody5600845195028381149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149343770,"filename":"image_31122025_03_30_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98833174f1fe97b1634d1e168596d734.jpg","text":"TemporaryFile(/tmp/multipartBody4687620070960051700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149343770,"filename":"image_31122025_03_29_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d62ea62c0eaa5762bc5b1321f4b9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3832663536272739784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149343770,"filename":"image_31122025_03_29_35_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823483","file1":"1401823480","file0":"1401823477","file4":"1401823488","file5":"1401823491","file3":"1401823486"},"map_files_photo_id_array":[{"photo_id":"1401823491","filename":"file5"},{"photo_id":"1401823483","filename":"file2"},{"photo_id":"1401823488","filename":"file4"},{"photo_id":"1401823480","filename":"file1"},{"photo_id":"1401823477","filename":"file0"},{"photo_id":"1401823486","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823486":["hashtag1","hashtag2"]},{"1401823480":["hashtag1","hashtag2"]},{"1401823491":["hashtag1","hashtag2"]},{"1401823488":["hashtag1","hashtag2"]},{"1401823483":["hashtag1","hashtag2"]},{"1401823477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823486, 1401823480, 1401823491, 1401823488, 1401823483, 1401823477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.428006649017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:48:42.574634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_47_14987.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_49_1722.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_54_1606.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_56_1556.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_57_1757.jpg', '/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_59_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_47_14987.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_49_1722.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_54_1606.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_56_1556.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_57_1757.jpg
/home/pi/Desktop/images/02112025/21/21/image_02112025_21_21_59_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823501","1401823510","1401823504","1401823512","1401823506","1401823508"],"photo_ids_order":["1401823501","1401823504","1401823506","1401823508","1401823510","1401823512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64eb901c5996023741d74307bf408693.jpg","text":"TemporaryFile(/tmp/multipartBody2075191641532857525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149384373,"filename":"image_02112025_21_21_47_14987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/916755af019ca1f7d7af045f0c8ef088.jpg","text":"TemporaryFile(/tmp/multipartBody1309764671106613999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149384373,"filename":"image_02112025_21_21_57_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/971dc5cd0bd2f2724b2d8095df83156c.jpg","text":"TemporaryFile(/tmp/multipartBody197133746252013882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149384373,"filename":"image_02112025_21_21_49_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0115f20e778dda0ebcf37253bcae0408.jpg","text":"TemporaryFile(/tmp/multipartBody2175109511984781776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149384373,"filename":"image_02112025_21_21_59_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e1543c6cd5721c866f076f9e5ce6898.jpg","text":"TemporaryFile(/tmp/multipartBody53859996946995882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149384373,"filename":"image_02112025_21_21_54_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cf787011c44fe1be45730df367a91a2.jpg","text":"TemporaryFile(/tmp/multipartBody3848356787155762178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149384373,"filename":"image_02112025_21_21_56_1556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823506","file1":"1401823504","file0":"1401823501","file4":"1401823510","file5":"1401823512","file3":"1401823508"},"map_files_photo_id_array":[{"photo_id":"1401823512","filename":"file5"},{"photo_id":"1401823506","filename":"file2"},{"photo_id":"1401823510","filename":"file4"},{"photo_id":"1401823504","filename":"file1"},{"photo_id":"1401823501","filename":"file0"},{"photo_id":"1401823508","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823501":["hashtag1","hashtag2"]},{"1401823510":["hashtag1","hashtag2"]},{"1401823504":["hashtag1","hashtag2"]},{"1401823512":["hashtag1","hashtag2"]},{"1401823506":["hashtag1","hashtag2"]},{"1401823508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823501, 1401823510, 1401823504, 1401823512, 1401823506, 1401823508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86542868614197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:49:21.827063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_35_10807.jpg', '/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_44_9678.jpg', '/home/pi/Desktop/images/31122025/03/30/image_31122025_03_31_05_10641.jpg', '/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_14_9692.jpg', '/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_24_9747.jpg', '/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_34_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_35_10807.jpg
/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_44_9678.jpg
/home/pi/Desktop/images/31122025/03/30/image_31122025_03_31_05_10641.jpg
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_14_9692.jpg
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_24_9747.jpg
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_34_9743.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.48985743522644043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:49:31.881350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/22/image_02112025_21_22_16_10550.jpg', '/home/pi/Desktop/images/02112025/21/22/image_02112025_21_22_18_1590.jpg', '/home/pi/Desktop/images/02112025/21/22/image_02112025_21_22_21_1668.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_01_1721.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_04_2662.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_12_4898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/22/image_02112025_21_22_16_10550.jpg
/home/pi/Desktop/images/02112025/21/22/image_02112025_21_22_18_1590.jpg
/home/pi/Desktop/images/02112025/21/22/image_02112025_21_22_21_1668.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_01_1721.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_04_2662.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_12_4898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823540","1401823528","1401823542","1401823536","1401823538","1401823532"],"photo_ids_order":["1401823528","1401823532","1401823536","1401823538","1401823540","1401823542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4487a1bd5c52d3b62fadb97e7d9a52f.jpg","text":"TemporaryFile(/tmp/multipartBody233815503493605883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149433803,"filename":"image_02112025_21_23_04_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd7a3887199b2207c14277ea24bc54ae.jpg","text":"TemporaryFile(/tmp/multipartBody6849829503249648008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149433803,"filename":"image_02112025_21_22_16_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e20760c8c8a63f6e1c02ce6a803bb737.jpg","text":"TemporaryFile(/tmp/multipartBody3521898822974750921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149433803,"filename":"image_02112025_21_23_12_4898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6398fd2e6f3150485ddc5f8b6068a437.jpg","text":"TemporaryFile(/tmp/multipartBody7818474900281775606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149433803,"filename":"image_02112025_21_22_21_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e513474ede7bd8401253f6cca11f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody4934559741553176481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149433803,"filename":"image_02112025_21_23_01_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71a0f3a571ad0c31463826f18ad35562.jpg","text":"TemporaryFile(/tmp/multipartBody1273986900483110563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149433803,"filename":"image_02112025_21_22_18_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823536","file1":"1401823532","file0":"1401823528","file4":"1401823540","file5":"1401823542","file3":"1401823538"},"map_files_photo_id_array":[{"photo_id":"1401823542","filename":"file5"},{"photo_id":"1401823536","filename":"file2"},{"photo_id":"1401823540","filename":"file4"},{"photo_id":"1401823532","filename":"file1"},{"photo_id":"1401823528","filename":"file0"},{"photo_id":"1401823538","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823540":["hashtag1","hashtag2"]},{"1401823528":["hashtag1","hashtag2"]},{"1401823542":["hashtag1","hashtag2"]},{"1401823536":["hashtag1","hashtag2"]},{"1401823538":["hashtag1","hashtag2"]},{"1401823532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823540, 1401823528, 1401823542, 1401823536, 1401823538, 1401823532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10977101325989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:50:12.000209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_16_1748.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_17_1616.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_19_1623.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_21_1566.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_22_1607.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_24_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_16_1748.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_17_1616.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_19_1623.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_21_1566.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_22_1607.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_24_1803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823557","1401823545","1401823548","1401823553","1401823559","1401823550"],"photo_ids_order":["1401823545","1401823548","1401823550","1401823553","1401823557","1401823559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8ce482bddd25e28ad691c5226500588.jpg","text":"TemporaryFile(/tmp/multipartBody525876748553054203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149473809,"filename":"image_02112025_21_23_22_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19693ec913c6f132949578819d95cd3e.jpg","text":"TemporaryFile(/tmp/multipartBody3666403688038521719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149473809,"filename":"image_02112025_21_23_16_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/480a9b6de4a92ee6420449b98e509572.jpg","text":"TemporaryFile(/tmp/multipartBody260014624145596537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149473809,"filename":"image_02112025_21_23_17_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e1a70a545e5abd1589f5b78214b8b71.jpg","text":"TemporaryFile(/tmp/multipartBody1439962991713802039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149473809,"filename":"image_02112025_21_23_21_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e051995578421627496fddcff86d5bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6403706520592691775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149473809,"filename":"image_02112025_21_23_24_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ed29b29f6cafb64ca852a857ea1d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody8041371742075378742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149473809,"filename":"image_02112025_21_23_19_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823550","file1":"1401823548","file0":"1401823545","file4":"1401823557","file5":"1401823559","file3":"1401823553"},"map_files_photo_id_array":[{"photo_id":"1401823559","filename":"file5"},{"photo_id":"1401823550","filename":"file2"},{"photo_id":"1401823557","filename":"file4"},{"photo_id":"1401823548","filename":"file1"},{"photo_id":"1401823545","filename":"file0"},{"photo_id":"1401823553","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823557":["hashtag1","hashtag2"]},{"1401823545":["hashtag1","hashtag2"]},{"1401823548":["hashtag1","hashtag2"]},{"1401823553":["hashtag1","hashtag2"]},{"1401823559":["hashtag1","hashtag2"]},{"1401823550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823557, 1401823545, 1401823548, 1401823553, 1401823559, 1401823550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76508140563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:51:02.909557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_35_10807.jpg', '/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_44_9678.jpg', '/home/pi/Desktop/images/31122025/03/30/image_31122025_03_31_05_10641.jpg', '/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_14_9692.jpg', '/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_24_9747.jpg', '/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_34_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_35_10807.jpg
/home/pi/Desktop/images/31122025/03/30/image_31122025_03_30_44_9678.jpg
/home/pi/Desktop/images/31122025/03/30/image_31122025_03_31_05_10641.jpg
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_14_9692.jpg
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_24_9747.jpg
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_34_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823570","1401823573","1401823586","1401823580","1401823588","1401823576"],"photo_ids_order":["1401823570","1401823573","1401823576","1401823580","1401823586","1401823588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89b75b619a715e680cea37986c53ddd1.jpg","text":"TemporaryFile(/tmp/multipartBody4510057185551206760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149523545,"filename":"image_31122025_03_30_35_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2eb3475cc404c7a68278ae9718008d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2623577266961513269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149523545,"filename":"image_31122025_03_30_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/904db762923f5c11d3cf54d92e246591.jpg","text":"TemporaryFile(/tmp/multipartBody5793365162573123152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149523545,"filename":"image_31122025_03_31_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a4eae9a01d804ee5f52b81449f06a82.jpg","text":"TemporaryFile(/tmp/multipartBody4905347576018516913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149523545,"filename":"image_31122025_03_31_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/348836937f8d10160bdfaa14598aaf4f.jpg","text":"TemporaryFile(/tmp/multipartBody6251446275506939706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149523545,"filename":"image_31122025_03_31_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e6a9b4b0b910643ef60212e82aa1999.jpg","text":"TemporaryFile(/tmp/multipartBody4254102337748131335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149523545,"filename":"image_31122025_03_31_05_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823576","file1":"1401823573","file0":"1401823570","file4":"1401823586","file5":"1401823588","file3":"1401823580"},"map_files_photo_id_array":[{"photo_id":"1401823588","filename":"file5"},{"photo_id":"1401823576","filename":"file2"},{"photo_id":"1401823586","filename":"file4"},{"photo_id":"1401823573","filename":"file1"},{"photo_id":"1401823570","filename":"file0"},{"photo_id":"1401823580","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823570":["hashtag1","hashtag2"]},{"1401823573":["hashtag1","hashtag2"]},{"1401823586":["hashtag1","hashtag2"]},{"1401823580":["hashtag1","hashtag2"]},{"1401823588":["hashtag1","hashtag2"]},{"1401823576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823570, 1401823573, 1401823586, 1401823580, 1401823588, 1401823576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20184826850891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:51:42.230923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_26_1626.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_29_1577.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_32_1656.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_34_1648.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_41_1753.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_47_5781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_26_1626.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_29_1577.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_32_1656.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_34_1648.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_41_1753.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_47_5781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823600","1401823593","1401823596","1401823598","1401823602","1401823604"],"photo_ids_order":["1401823593","1401823596","1401823598","1401823600","1401823602","1401823604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a5902da58ea24354241f6ad89e4ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody2604358834917392047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149564133,"filename":"image_02112025_21_23_34_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e760d8998ed6224e0b98e24cfdbfa61.jpg","text":"TemporaryFile(/tmp/multipartBody7157814827390925535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149564133,"filename":"image_02112025_21_23_26_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/577befffb53af9786f1d00354bb7ad81.jpg","text":"TemporaryFile(/tmp/multipartBody2184402935255528073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149564133,"filename":"image_02112025_21_23_29_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9764e867eef4871934b838c96bb0611e.jpg","text":"TemporaryFile(/tmp/multipartBody7446982175358909126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149564133,"filename":"image_02112025_21_23_32_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0402a0d3af7d5b8fd4480fa3e39a78de.jpg","text":"TemporaryFile(/tmp/multipartBody7405485887085740582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149564133,"filename":"image_02112025_21_23_41_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/312f8d3b4eb539188afa75b99d59384c.jpg","text":"TemporaryFile(/tmp/multipartBody5773526830514187517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149564133,"filename":"image_02112025_21_23_47_5781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823598","file1":"1401823596","file0":"1401823593","file4":"1401823602","file5":"1401823604","file3":"1401823600"},"map_files_photo_id_array":[{"photo_id":"1401823604","filename":"file5"},{"photo_id":"1401823598","filename":"file2"},{"photo_id":"1401823602","filename":"file4"},{"photo_id":"1401823596","filename":"file1"},{"photo_id":"1401823593","filename":"file0"},{"photo_id":"1401823600","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823600":["hashtag1","hashtag2"]},{"1401823593":["hashtag1","hashtag2"]},{"1401823596":["hashtag1","hashtag2"]},{"1401823598":["hashtag1","hashtag2"]},{"1401823602":["hashtag1","hashtag2"]},{"1401823604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823600, 1401823593, 1401823596, 1401823598, 1401823602, 1401823604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97090172767639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:52:22.434080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_44_10610.jpg', '/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_54_9700.jpg', '/home/pi/Desktop/images/31122025/03/31/image_31122025_03_32_04_9720.jpg', '/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_15_10738.jpg', '/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_24_9608.jpg', '/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_34_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_44_10610.jpg
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_31_54_9700.jpg
/home/pi/Desktop/images/31122025/03/31/image_31122025_03_32_04_9720.jpg
/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_15_10738.jpg
/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_24_9608.jpg
/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_34_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823627","1401823609","1401823620","1401823616","1401823631","1401823613"],"photo_ids_order":["1401823609","1401823613","1401823616","1401823620","1401823627","1401823631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a56d83a00692eb677bf3833b2b0d819a.jpg","text":"TemporaryFile(/tmp/multipartBody9171042363307716531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149603026,"filename":"image_31122025_03_32_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce725ee46c641c8c2cf230c48dc9d6a7.jpg","text":"TemporaryFile(/tmp/multipartBody7223873356809892588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149603026,"filename":"image_31122025_03_31_44_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a57b907c01f91826d27130242227dfb.jpg","text":"TemporaryFile(/tmp/multipartBody2949404059598968602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149603026,"filename":"image_31122025_03_32_15_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e55eac11295e53523df284181a87bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4156537800499934230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149603026,"filename":"image_31122025_03_32_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe22574dd785cab3afe97a127ec03880.jpg","text":"TemporaryFile(/tmp/multipartBody8319383202793494440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149603026,"filename":"image_31122025_03_32_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edb74e970672ad8499ea257a0860185a.jpg","text":"TemporaryFile(/tmp/multipartBody3055556352553220810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149603026,"filename":"image_31122025_03_31_54_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823616","file1":"1401823613","file0":"1401823609","file4":"1401823627","file5":"1401823631","file3":"1401823620"},"map_files_photo_id_array":[{"photo_id":"1401823631","filename":"file5"},{"photo_id":"1401823616","filename":"file2"},{"photo_id":"1401823627","filename":"file4"},{"photo_id":"1401823613","filename":"file1"},{"photo_id":"1401823609","filename":"file0"},{"photo_id":"1401823620","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823627":["hashtag1","hashtag2"]},{"1401823609":["hashtag1","hashtag2"]},{"1401823620":["hashtag1","hashtag2"]},{"1401823616":["hashtag1","hashtag2"]},{"1401823631":["hashtag1","hashtag2"]},{"1401823613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823627, 1401823609, 1401823620, 1401823616, 1401823631, 1401823613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7043342590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:53:03.074856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_44_9733.jpg', '/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_54_10659.jpg', '/home/pi/Desktop/images/31122025/03/32/image_31122025_03_33_04_9689.jpg', '/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_14_9640.jpg', '/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_24_10599.jpg', '/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_34_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_44_9733.jpg
/home/pi/Desktop/images/31122025/03/32/image_31122025_03_32_54_10659.jpg
/home/pi/Desktop/images/31122025/03/32/image_31122025_03_33_04_9689.jpg
/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_14_9640.jpg
/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_24_10599.jpg
/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_34_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823642","1401823639","1401823641","1401823650","1401823646","1401823640"],"photo_ids_order":["1401823639","1401823640","1401823641","1401823642","1401823646","1401823650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcbd22bfa1c188b2ce8d817b1f6bec05.jpg","text":"TemporaryFile(/tmp/multipartBody6695334625257729922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149643725,"filename":"image_31122025_03_33_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ebaa71f021a2b24e633c1804bcb0825.jpg","text":"TemporaryFile(/tmp/multipartBody9044756311383766876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149643725,"filename":"image_31122025_03_32_44_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1208331aed3cc982c69755d7fc922341.jpg","text":"TemporaryFile(/tmp/multipartBody8117604091261537633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149643725,"filename":"image_31122025_03_33_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36df235ae6422db58b7fac0968ed1b54.jpg","text":"TemporaryFile(/tmp/multipartBody1032919276555821834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149643725,"filename":"image_31122025_03_33_34_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e13720add8e1ee9a0af68c8322692c9.jpg","text":"TemporaryFile(/tmp/multipartBody564542676322416258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149643725,"filename":"image_31122025_03_33_24_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1d746c5f2d4fbcf379dca5067f8f294.jpg","text":"TemporaryFile(/tmp/multipartBody8162867316294899734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149643725,"filename":"image_31122025_03_32_54_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823641","file1":"1401823640","file0":"1401823639","file4":"1401823646","file5":"1401823650","file3":"1401823642"},"map_files_photo_id_array":[{"photo_id":"1401823650","filename":"file5"},{"photo_id":"1401823641","filename":"file2"},{"photo_id":"1401823646","filename":"file4"},{"photo_id":"1401823640","filename":"file1"},{"photo_id":"1401823639","filename":"file0"},{"photo_id":"1401823642","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823642":["hashtag1","hashtag2"]},{"1401823639":["hashtag1","hashtag2"]},{"1401823641":["hashtag1","hashtag2"]},{"1401823650":["hashtag1","hashtag2"]},{"1401823646":["hashtag1","hashtag2"]},{"1401823640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823642, 1401823639, 1401823641, 1401823650, 1401823646, 1401823640)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.434181928634644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:54:08.889739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_44_9587.jpg', '/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_54_10676.jpg', '/home/pi/Desktop/images/31122025/03/33/image_31122025_03_34_04_9662.jpg', '/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_14_9683.jpg', '/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_24_10599.jpg', '/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_34_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_44_9587.jpg
/home/pi/Desktop/images/31122025/03/33/image_31122025_03_33_54_10676.jpg
/home/pi/Desktop/images/31122025/03/33/image_31122025_03_34_04_9662.jpg
/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_14_9683.jpg
/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_24_10599.jpg
/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_34_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823678","1401823686","1401823671","1401823689","1401823674","1401823682"],"photo_ids_order":["1401823671","1401823674","1401823678","1401823682","1401823686","1401823689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7096d7e58b2852b691054599cf82546b.jpg","text":"TemporaryFile(/tmp/multipartBody9008691651666147510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149709607,"filename":"image_31122025_03_34_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95a7872ac90fc6b6f92772b517935317.jpg","text":"TemporaryFile(/tmp/multipartBody8166416404805039906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149709607,"filename":"image_31122025_03_34_24_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/049d2acc7e4d27863e40a571d4573a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8364829197502575852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149709607,"filename":"image_31122025_03_33_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cd153de97ac3162a39aa2515f1d40ad.jpg","text":"TemporaryFile(/tmp/multipartBody7588662544394093118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149709607,"filename":"image_31122025_03_34_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10e35a15d1e4b81d8302fbebc7110c51.jpg","text":"TemporaryFile(/tmp/multipartBody8084024381562308416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149709607,"filename":"image_31122025_03_33_54_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/445dd94af92b683055ab3a1c05b3e742.jpg","text":"TemporaryFile(/tmp/multipartBody3329776492803300742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149709607,"filename":"image_31122025_03_34_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823678","file1":"1401823674","file0":"1401823671","file4":"1401823686","file5":"1401823689","file3":"1401823682"},"map_files_photo_id_array":[{"photo_id":"1401823689","filename":"file5"},{"photo_id":"1401823678","filename":"file2"},{"photo_id":"1401823686","filename":"file4"},{"photo_id":"1401823674","filename":"file1"},{"photo_id":"1401823671","filename":"file0"},{"photo_id":"1401823682","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823678":["hashtag1","hashtag2"]},{"1401823686":["hashtag1","hashtag2"]},{"1401823671":["hashtag1","hashtag2"]},{"1401823689":["hashtag1","hashtag2"]},{"1401823674":["hashtag1","hashtag2"]},{"1401823682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823678, 1401823686, 1401823671, 1401823689, 1401823674, 1401823682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28050208091736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:54:48.026466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_48_1537.jpg', '/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_50_1648.jpg', '/home/pi/Desktop/images/02112025/21/24/image_02112025_21_24_02_1688.jpg', '/home/pi/Desktop/images/02112025/21/24/image_02112025_21_24_14_11412.jpg', '/home/pi/Desktop/images/02112025/21/24/image_02112025_21_24_33_1619.jpg', '/home/pi/Desktop/images/02112025/21/24/image_02112025_21_24_34_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_48_1537.jpg
/home/pi/Desktop/images/02112025/21/23/image_02112025_21_23_50_1648.jpg
/home/pi/Desktop/images/02112025/21/24/image_02112025_21_24_02_1688.jpg
/home/pi/Desktop/images/02112025/21/24/image_02112025_21_24_14_11412.jpg
/home/pi/Desktop/images/02112025/21/24/image_02112025_21_24_33_1619.jpg
/home/pi/Desktop/images/02112025/21/24/image_02112025_21_24_34_1660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823705","1401823707","1401823715","1401823709","1401823703","1401823712"],"photo_ids_order":["1401823703","1401823705","1401823707","1401823709","1401823712","1401823715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f89b5f144c087079b75223d1efdbf42f.jpg","text":"TemporaryFile(/tmp/multipartBody8487368631279410759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149749954,"filename":"image_02112025_21_23_50_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/007ab12606ed48d0834029c0ef5029f1.jpg","text":"TemporaryFile(/tmp/multipartBody7362789018673512887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149749954,"filename":"image_02112025_21_24_02_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc6dd1885f2a9201f51867a41e124efc.jpg","text":"TemporaryFile(/tmp/multipartBody2152072824202794937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149749954,"filename":"image_02112025_21_24_34_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8fabd5c386960f1f329a23f0f5fe8fa.jpg","text":"TemporaryFile(/tmp/multipartBody3133982292329298300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149749954,"filename":"image_02112025_21_24_14_11412.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dade852093edc95e8ecd6c5643af292.jpg","text":"TemporaryFile(/tmp/multipartBody4481125158288721180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149749954,"filename":"image_02112025_21_23_48_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/000fe62e6aa1881d2707a22b6db6f760.jpg","text":"TemporaryFile(/tmp/multipartBody4507924018962703846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149749954,"filename":"image_02112025_21_24_33_1619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823707","file1":"1401823705","file0":"1401823703","file4":"1401823712","file5":"1401823715","file3":"1401823709"},"map_files_photo_id_array":[{"photo_id":"1401823715","filename":"file5"},{"photo_id":"1401823707","filename":"file2"},{"photo_id":"1401823712","filename":"file4"},{"photo_id":"1401823705","filename":"file1"},{"photo_id":"1401823703","filename":"file0"},{"photo_id":"1401823709","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823705":["hashtag1","hashtag2"]},{"1401823707":["hashtag1","hashtag2"]},{"1401823715":["hashtag1","hashtag2"]},{"1401823709":["hashtag1","hashtag2"]},{"1401823703":["hashtag1","hashtag2"]},{"1401823712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823705, 1401823707, 1401823715, 1401823709, 1401823703, 1401823712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.327481746673584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-31 03:55:32.109044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/25/image_02112025_21_25_02_1514.jpg', '/home/pi/Desktop/images/02112025/21/25/image_02112025_21_25_04_1730.jpg', '/home/pi/Desktop/images/02112025/21/25/image_02112025_21_25_06_1602.jpg', '/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_33_19761.jpg', '/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_38_3101.jpg', '/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_39_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/25/image_02112025_21_25_02_1514.jpg
/home/pi/Desktop/images/02112025/21/25/image_02112025_21_25_04_1730.jpg
/home/pi/Desktop/images/02112025/21/25/image_02112025_21_25_06_1602.jpg
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_33_19761.jpg
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_38_3101.jpg
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_39_1689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823732","1401823735","1401823734","1401823727","1401823736","1401823730"],"photo_ids_order":["1401823727","1401823730","1401823732","1401823734","1401823735","1401823736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3808e90f0921a247b4d473dd998292d.jpg","text":"TemporaryFile(/tmp/multipartBody6161021058841784349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149804049,"filename":"image_02112025_21_25_06_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c7c073dad59a09b11a0face02bf07ca.jpg","text":"TemporaryFile(/tmp/multipartBody317889867136238796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149804049,"filename":"image_02112025_21_28_38_3101.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce9c291d46492397b04680dbc0428f61.jpg","text":"TemporaryFile(/tmp/multipartBody687298989163824185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149804049,"filename":"image_02112025_21_28_33_19761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12337ddc625f34c812430f7443590c65.jpg","text":"TemporaryFile(/tmp/multipartBody4208632141330931894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149804049,"filename":"image_02112025_21_25_02_1514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/987f8551d6e72895ad923b06cdf4d07f.jpg","text":"TemporaryFile(/tmp/multipartBody3236725109330582599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149804049,"filename":"image_02112025_21_28_39_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3b457280390ddbb6a7e356b11bc7a95.jpg","text":"TemporaryFile(/tmp/multipartBody9134747077025861712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149804049,"filename":"image_02112025_21_25_04_1730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823732","file1":"1401823730","file0":"1401823727","file4":"1401823735","file5":"1401823736","file3":"1401823734"},"map_files_photo_id_array":[{"photo_id":"1401823736","filename":"file5"},{"photo_id":"1401823732","filename":"file2"},{"photo_id":"1401823735","filename":"file4"},{"photo_id":"1401823730","filename":"file1"},{"photo_id":"1401823727","filename":"file0"},{"photo_id":"1401823734","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823732":["hashtag1","hashtag2"]},{"1401823735":["hashtag1","hashtag2"]},{"1401823734":["hashtag1","hashtag2"]},{"1401823727":["hashtag1","hashtag2"]},{"1401823736":["hashtag1","hashtag2"]},{"1401823730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823732, 1401823735, 1401823734, 1401823727, 1401823736, 1401823730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.99663543701172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 03:56:22.401430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_44_9662.jpg', '/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_54_10571.jpg', '/home/pi/Desktop/images/31122025/03/34/image_31122025_03_35_04_9654.jpg', '/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_14_9774.jpg', '/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_25_10790.jpg', '/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_34_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_44_9662.jpg
/home/pi/Desktop/images/31122025/03/34/image_31122025_03_34_54_10571.jpg
/home/pi/Desktop/images/31122025/03/34/image_31122025_03_35_04_9654.jpg
/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_14_9774.jpg
/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_25_10790.jpg
/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_34_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823765","1401823752","1401823755","1401823749","1401823746","1401823763"],"photo_ids_order":["1401823746","1401823749","1401823752","1401823755","1401823763","1401823765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7d58b85ba9527fc8c181886909c98a6.jpg","text":"TemporaryFile(/tmp/multipartBody942837544694927763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149843028,"filename":"image_31122025_03_35_34_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e29eb2149df1281ee41c8b71475046f.jpg","text":"TemporaryFile(/tmp/multipartBody5945155573645718602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149843028,"filename":"image_31122025_03_35_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49837705074e9a76a24079daedfebe13.jpg","text":"TemporaryFile(/tmp/multipartBody2734991839294889518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149843028,"filename":"image_31122025_03_35_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3395dd0557e87898037c275f53f4fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1973130511918516995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149843028,"filename":"image_31122025_03_34_54_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/defe57aac461e79a3bc66b6ade90389f.jpg","text":"TemporaryFile(/tmp/multipartBody4014929273395527750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149843028,"filename":"image_31122025_03_34_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e29d1572b760b0c53ff9d5d2bdc73bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3298828049513154995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149843028,"filename":"image_31122025_03_35_25_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823752","file1":"1401823749","file0":"1401823746","file4":"1401823763","file5":"1401823765","file3":"1401823755"},"map_files_photo_id_array":[{"photo_id":"1401823765","filename":"file5"},{"photo_id":"1401823752","filename":"file2"},{"photo_id":"1401823763","filename":"file4"},{"photo_id":"1401823749","filename":"file1"},{"photo_id":"1401823746","filename":"file0"},{"photo_id":"1401823755","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823765":["hashtag1","hashtag2"]},{"1401823752":["hashtag1","hashtag2"]},{"1401823755":["hashtag1","hashtag2"]},{"1401823749":["hashtag1","hashtag2"]},{"1401823746":["hashtag1","hashtag2"]},{"1401823763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823765, 1401823752, 1401823755, 1401823749, 1401823746, 1401823763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32228684425354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:57:03.239187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_44_9786.jpg', '/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_54_9719.jpg', '/home/pi/Desktop/images/31122025/03/35/image_31122025_03_36_05_10657.jpg', '/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_14_9702.jpg', '/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_24_9807.jpg', '/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_35_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_44_9786.jpg
/home/pi/Desktop/images/31122025/03/35/image_31122025_03_35_54_9719.jpg
/home/pi/Desktop/images/31122025/03/35/image_31122025_03_36_05_10657.jpg
/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_14_9702.jpg
/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_24_9807.jpg
/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_35_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823777","1401823785","1401823773","1401823781","1401823766","1401823769"],"photo_ids_order":["1401823766","1401823769","1401823773","1401823777","1401823781","1401823785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdc95b93403221691c95d8b7cd4e576a.jpg","text":"TemporaryFile(/tmp/multipartBody3737468466811580747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149883891,"filename":"image_31122025_03_36_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cda73909927f43c4f3eb1e6bb4435929.jpg","text":"TemporaryFile(/tmp/multipartBody3688766149407113121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149883891,"filename":"image_31122025_03_36_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b3539934cf201d3b0d46581aaa176aa.jpg","text":"TemporaryFile(/tmp/multipartBody2391800697288904130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149883891,"filename":"image_31122025_03_36_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f664b05690f3c7bd1a6b12ff2dde2820.jpg","text":"TemporaryFile(/tmp/multipartBody6541475776393209648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149883891,"filename":"image_31122025_03_36_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cbe7ac414f434a13de0643cac5b1e16.jpg","text":"TemporaryFile(/tmp/multipartBody5025360263678705698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149883891,"filename":"image_31122025_03_35_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd9abf8c9881a277698d8fbade4678d8.jpg","text":"TemporaryFile(/tmp/multipartBody3630325041186524924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149883891,"filename":"image_31122025_03_35_54_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823773","file1":"1401823769","file0":"1401823766","file4":"1401823781","file5":"1401823785","file3":"1401823777"},"map_files_photo_id_array":[{"photo_id":"1401823785","filename":"file5"},{"photo_id":"1401823773","filename":"file2"},{"photo_id":"1401823781","filename":"file4"},{"photo_id":"1401823769","filename":"file1"},{"photo_id":"1401823766","filename":"file0"},{"photo_id":"1401823777","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401823777":["hashtag1","hashtag2"]},{"1401823785":["hashtag1","hashtag2"]},{"1401823773":["hashtag1","hashtag2"]},{"1401823781":["hashtag1","hashtag2"]},{"1401823766":["hashtag1","hashtag2"]},{"1401823769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401823777, 1401823785, 1401823773, 1401823781, 1401823766, 1401823769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96613526344299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 03:57:42.691972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_41_1619.jpg', '/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_49_6111.jpg', '/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_50_1662.jpg', '/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_54_1656.jpg', '/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_57_1593.jpg', '/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_59_1801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_41_1619.jpg
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_49_6111.jpg
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_50_1662.jpg
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_54_1656.jpg
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_57_1593.jpg
/home/pi/Desktop/images/02112025/21/28/image_02112025_21_28_59_1801.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401823798","1401823791","1401823794","1401823796","1401823800","1401823802"],"photo_ids_order":["1401823791","1401823794","1401823796","1401823798","1401823800","1401823802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f95ffad5da27130f0650ed8b1e905966.jpg","text":"TemporaryFile(/tmp/multipartBody9212012664163451493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149924579,"filename":"image_02112025_21_28_54_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40d89311aa7b205d702193f6600da617.jpg","text":"TemporaryFile(/tmp/multipartBody4925338382420026213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149924579,"filename":"image_02112025_21_28_41_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70014a94a1ac9ae1e23dcd4c1bb138bf.jpg","text":"TemporaryFile(/tmp/multipartBody8248994508483703322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149924579,"filename":"image_02112025_21_28_49_6111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ab180cd442c9038449cfff16b47300d.jpg","text":"TemporaryFile(/tmp/multipartBody2774838986786467470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149924579,"filename":"image_02112025_21_28_50_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80982cc31329eb5ff6f3b1a45d926bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8579837690778861446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149924579,"filename":"image_02112025_21_28_57_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0345a610e8d231e08f9ae963dab20fb9.jpg","text":"TemporaryFile(/tmp/multipartBody3968826211793746280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767149924579,"filename":"image_02112025_21_28_59_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401823796","file1":"1401823794","file0":"1401823791","file4":"1401823800","file5":"1401823802","file3":"1401823798"},"map_files_photo_id_array":[{"photo_id":"1401823802","filename":"file5"},{"photo_id":"1401823796","filename":"file2"},{"photo_id":"1401823800","filename":"file4"},{"photo_id":"1401823794","filename":"file1"},{"photo_id":"1401823791","filename":"file0"},{"photo_id":"1401823798","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401823798":["hashtag1","hashtag2"]},{"1401823791":["hashtag1","hashtag2"]},{"1401823794":["hashtag1","hashtag2"]},{"1401823796":["hashtag1","hashtag2"]},{"1401823800":["hashtag1","hashtag2"]},{"1401823802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401823798, 1401823791, 1401823794, 1401823796, 1401823800, 1401823802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90376424789429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 03:59:02.948657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_44_9812.jpg', '/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_54_9698.jpg', '/home/pi/Desktop/images/31122025/03/36/image_31122025_03_37_04_9660.jpg', '/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_14_10701.jpg', '/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_24_9669.jpg', '/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_34_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_44_9812.jpg
/home/pi/Desktop/images/31122025/03/36/image_31122025_03_36_54_9698.jpg
/home/pi/Desktop/images/31122025/03/36/image_31122025_03_37_04_9660.jpg
/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_14_10701.jpg
/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_24_9669.jpg
/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_34_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401824038","1401824079","1401823998","1401823956","1401824165","1401824126"],"photo_ids_order":["1401823956","1401823998","1401824038","1401824079","1401824126","1401824165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0dd9a93bc2207e58cbff0d359848380a.jpg","text":"TemporaryFile(/tmp/multipartBody3722724153242156806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150003826,"filename":"image_31122025_03_37_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1990c805f810f3f24998baea77f55a01.jpg","text":"TemporaryFile(/tmp/multipartBody862849841496675653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150003826,"filename":"image_31122025_03_37_14_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8affc88dd5b82cc9d9714cc4192d433.jpg","text":"TemporaryFile(/tmp/multipartBody7145406604269345945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150003826,"filename":"image_31122025_03_36_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e24ac4fbba31c2d2ad4d03a85d7482ff.jpg","text":"TemporaryFile(/tmp/multipartBody4939561886518104428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150003826,"filename":"image_31122025_03_36_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f428fa1f5c09b5e1202a489b5470bb0a.jpg","text":"TemporaryFile(/tmp/multipartBody4435851184774220285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150003826,"filename":"image_31122025_03_37_34_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b12c13808c5ad9ccbe915b3efe30a49.jpg","text":"TemporaryFile(/tmp/multipartBody4676932900061419353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150003826,"filename":"image_31122025_03_37_24_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401824038","file1":"1401823998","file0":"1401823956","file4":"1401824126","file5":"1401824165","file3":"1401824079"},"map_files_photo_id_array":[{"photo_id":"1401824165","filename":"file5"},{"photo_id":"1401824038","filename":"file2"},{"photo_id":"1401824126","filename":"file4"},{"photo_id":"1401823998","filename":"file1"},{"photo_id":"1401823956","filename":"file0"},{"photo_id":"1401824079","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401824038":["hashtag1","hashtag2"]},{"1401824079":["hashtag1","hashtag2"]},{"1401823998":["hashtag1","hashtag2"]},{"1401823956":["hashtag1","hashtag2"]},{"1401824165":["hashtag1","hashtag2"]},{"1401824126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401824038, 1401824079, 1401823998, 1401823956, 1401824165, 1401824126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65714931488037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:00:02.643655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_45_10588.jpg', '/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_54_9569.jpg', '/home/pi/Desktop/images/31122025/03/37/image_31122025_03_38_04_9630.jpg', '/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_15_10839.jpg', '/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_24_9668.jpg', '/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_34_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_45_10588.jpg
/home/pi/Desktop/images/31122025/03/37/image_31122025_03_37_54_9569.jpg
/home/pi/Desktop/images/31122025/03/37/image_31122025_03_38_04_9630.jpg
/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_15_10839.jpg
/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_24_9668.jpg
/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_34_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401824322","1401824334","1401824363","1401824330","1401824405","1401824326"],"photo_ids_order":["1401824322","1401824326","1401824330","1401824334","1401824363","1401824405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a98632750fb0fc9f066b501ca5b955bf.jpg","text":"TemporaryFile(/tmp/multipartBody3955311172017565405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150063272,"filename":"image_31122025_03_37_45_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b15c4ba3270572a77dc9ac20dd46615.jpg","text":"TemporaryFile(/tmp/multipartBody1098950639693668345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150063272,"filename":"image_31122025_03_38_15_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f92ac132e87171efa2b94b85f2fe6375.jpg","text":"TemporaryFile(/tmp/multipartBody404214389141547305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150063272,"filename":"image_31122025_03_38_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54174b9f457635e87b9b11b4aef68d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1762106880029008202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150063272,"filename":"image_31122025_03_38_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92c198b65e70b0ce303cb50ef458fda7.jpg","text":"TemporaryFile(/tmp/multipartBody8342710934222280349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150063272,"filename":"image_31122025_03_38_34_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89b8a4fd187f8b46cde2fa5aace77963.jpg","text":"TemporaryFile(/tmp/multipartBody5095952067281381832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150063272,"filename":"image_31122025_03_37_54_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401824330","file1":"1401824326","file0":"1401824322","file4":"1401824363","file5":"1401824405","file3":"1401824334"},"map_files_photo_id_array":[{"photo_id":"1401824405","filename":"file5"},{"photo_id":"1401824330","filename":"file2"},{"photo_id":"1401824363","filename":"file4"},{"photo_id":"1401824326","filename":"file1"},{"photo_id":"1401824322","filename":"file0"},{"photo_id":"1401824334","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401824322":["hashtag1","hashtag2"]},{"1401824334":["hashtag1","hashtag2"]},{"1401824363":["hashtag1","hashtag2"]},{"1401824330":["hashtag1","hashtag2"]},{"1401824405":["hashtag1","hashtag2"]},{"1401824326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401824322, 1401824334, 1401824363, 1401824330, 1401824405, 1401824326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07428550720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:00:42.220901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_01_1719.jpg', '/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_07_1740.jpg', '/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_12_4338.jpg', '/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_25_2827.jpg', '/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_32_3738.jpg', '/home/pi/Desktop/images/02112025/21/31/image_02112025_21_31_11_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_01_1719.jpg
/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_07_1740.jpg
/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_12_4338.jpg
/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_25_2827.jpg
/home/pi/Desktop/images/02112025/21/29/image_02112025_21_29_32_3738.jpg
/home/pi/Desktop/images/02112025/21/31/image_02112025_21_31_11_3660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401824803","1401824679","1401824727","1401824590","1401824884","1401824635"],"photo_ids_order":["1401824590","1401824635","1401824679","1401824727","1401824803","1401824884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e152bcffb688138b21e32b68d7d8ad8e.jpg","text":"TemporaryFile(/tmp/multipartBody6825108866109632942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150104185,"filename":"image_02112025_21_29_32_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff0526f32721848b2ead28a90d080058.jpg","text":"TemporaryFile(/tmp/multipartBody6915531575120642896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150104185,"filename":"image_02112025_21_29_12_4338.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9587853a9f0009cca0f7ea8b97ae3e0.jpg","text":"TemporaryFile(/tmp/multipartBody8172111592367337680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150104185,"filename":"image_02112025_21_29_25_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/328d1d000e3a70cb38f17af6b21c9072.jpg","text":"TemporaryFile(/tmp/multipartBody7106376370285157788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150104185,"filename":"image_02112025_21_29_01_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b8003b5cab700caa609a27c2e09ef81.jpg","text":"TemporaryFile(/tmp/multipartBody4218193748300944583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150104185,"filename":"image_02112025_21_31_11_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0779d0870d5e843f0df660f0a97461db.jpg","text":"TemporaryFile(/tmp/multipartBody3305333506543460849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150104185,"filename":"image_02112025_21_29_07_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401824679","file1":"1401824635","file0":"1401824590","file4":"1401824803","file5":"1401824884","file3":"1401824727"},"map_files_photo_id_array":[{"photo_id":"1401824884","filename":"file5"},{"photo_id":"1401824679","filename":"file2"},{"photo_id":"1401824803","filename":"file4"},{"photo_id":"1401824635","filename":"file1"},{"photo_id":"1401824590","filename":"file0"},{"photo_id":"1401824727","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401824803":["hashtag1","hashtag2"]},{"1401824679":["hashtag1","hashtag2"]},{"1401824727":["hashtag1","hashtag2"]},{"1401824590":["hashtag1","hashtag2"]},{"1401824884":["hashtag1","hashtag2"]},{"1401824635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401824803, 1401824679, 1401824727, 1401824590, 1401824884, 1401824635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49230599403381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:01:32.355352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/31/image_02112025_21_31_35_2847.jpg', '/home/pi/Desktop/images/02112025/21/31/image_02112025_21_31_37_2544.jpg', '/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_16_2631.jpg', '/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_22_2621.jpg', '/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_25_2750.jpg', '/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_29_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/31/image_02112025_21_31_35_2847.jpg
/home/pi/Desktop/images/02112025/21/31/image_02112025_21_31_37_2544.jpg
/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_16_2631.jpg
/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_22_2621.jpg
/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_25_2750.jpg
/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_29_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401825294","1401825135","1401825216","1401825330","1401825257","1401825173"],"photo_ids_order":["1401825135","1401825173","1401825216","1401825257","1401825294","1401825330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/384aa936bda469fa2f38b554a4fe17d8.jpg","text":"TemporaryFile(/tmp/multipartBody2163882141351961217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150154580,"filename":"image_02112025_21_32_25_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4848f96c833599f42f91a65c535b030d.jpg","text":"TemporaryFile(/tmp/multipartBody830583405615635356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150154580,"filename":"image_02112025_21_31_35_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0acb70ac0b19d70d43d962ca80bf3e62.jpg","text":"TemporaryFile(/tmp/multipartBody447755842108725067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150154580,"filename":"image_02112025_21_32_16_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0ebded1262d8967ac4e409a69fd0fef.jpg","text":"TemporaryFile(/tmp/multipartBody381135460187953443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150154580,"filename":"image_02112025_21_32_29_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3852b51d92f450cee70a4a6af68e928d.jpg","text":"TemporaryFile(/tmp/multipartBody2166398489576388812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150154580,"filename":"image_02112025_21_32_22_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c57bfba0873bff418accb179022cbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5680980781094588952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150154580,"filename":"image_02112025_21_31_37_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401825216","file1":"1401825173","file0":"1401825135","file4":"1401825294","file5":"1401825330","file3":"1401825257"},"map_files_photo_id_array":[{"photo_id":"1401825330","filename":"file5"},{"photo_id":"1401825216","filename":"file2"},{"photo_id":"1401825294","filename":"file4"},{"photo_id":"1401825173","filename":"file1"},{"photo_id":"1401825135","filename":"file0"},{"photo_id":"1401825257","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401825294":["hashtag1","hashtag2"]},{"1401825135":["hashtag1","hashtag2"]},{"1401825216":["hashtag1","hashtag2"]},{"1401825330":["hashtag1","hashtag2"]},{"1401825257":["hashtag1","hashtag2"]},{"1401825173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401825294, 1401825135, 1401825216, 1401825330, 1401825257, 1401825173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74952983856201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:02:12.491433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_40_2653.jpg', '/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_49_2564.jpg', '/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_55_2653.jpg', '/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_05_2923.jpg', '/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_19_2711.jpg', '/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_22_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_40_2653.jpg
/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_49_2564.jpg
/home/pi/Desktop/images/02112025/21/32/image_02112025_21_32_55_2653.jpg
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_05_2923.jpg
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_19_2711.jpg
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_22_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401825393","1401825402","1401825389","1401825401","1401825396","1401825400"],"photo_ids_order":["1401825389","1401825393","1401825396","1401825400","1401825401","1401825402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39dd97570133b47dc0f0c3465f983ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7935564023474905927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150194270,"filename":"image_02112025_21_32_49_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfaae89c326ef8aa8be08f3dc17eb326.jpg","text":"TemporaryFile(/tmp/multipartBody8466788299670558526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150194270,"filename":"image_02112025_21_33_22_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8f9cda1d27d457f56952d5ba89536ac.jpg","text":"TemporaryFile(/tmp/multipartBody8426945360174038906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150194270,"filename":"image_02112025_21_32_40_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ced0e83dd8a4d58281e7429822e8cf3d.jpg","text":"TemporaryFile(/tmp/multipartBody2474164764359384699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150194270,"filename":"image_02112025_21_33_19_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15c2eb3ba14f8355a2c27ae989281429.jpg","text":"TemporaryFile(/tmp/multipartBody2032707197660963161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150194270,"filename":"image_02112025_21_32_55_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1561d93929b88ec6d5064673225f5d5.jpg","text":"TemporaryFile(/tmp/multipartBody5571147109732195902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150194270,"filename":"image_02112025_21_33_05_2923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401825396","file1":"1401825393","file0":"1401825389","file4":"1401825401","file5":"1401825402","file3":"1401825400"},"map_files_photo_id_array":[{"photo_id":"1401825402","filename":"file5"},{"photo_id":"1401825396","filename":"file2"},{"photo_id":"1401825401","filename":"file4"},{"photo_id":"1401825393","filename":"file1"},{"photo_id":"1401825389","filename":"file0"},{"photo_id":"1401825400","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401825393":["hashtag1","hashtag2"]},{"1401825402":["hashtag1","hashtag2"]},{"1401825389":["hashtag1","hashtag2"]},{"1401825401":["hashtag1","hashtag2"]},{"1401825396":["hashtag1","hashtag2"]},{"1401825400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401825393, 1401825402, 1401825389, 1401825401, 1401825396, 1401825400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99171471595764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:03:09.626991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:03:19.084425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_26_3628.jpg', '/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_28_2698.jpg', '/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_35_3950.jpg', '/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_37_2011.jpg', '/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_40_3665.jpg', '/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_47_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_26_3628.jpg
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_28_2698.jpg
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_35_3950.jpg
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_37_2011.jpg
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_40_3665.jpg
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_47_3567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826221","1401826044","1401825834","1401826177","1401825946","1401826239"],"photo_ids_order":["1401825834","1401825946","1401826044","1401826177","1401826221","1401826239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2c08e65ce2d635357220f27b50f4a26.jpg","text":"TemporaryFile(/tmp/multipartBody5290340585492101492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150260995,"filename":"image_02112025_21_33_40_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59767d85abfa60784b471c22bb6e624a.jpg","text":"TemporaryFile(/tmp/multipartBody1570219666678012684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150260995,"filename":"image_02112025_21_33_35_3950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c3e0da07de30bb798d76760b48ccdc1.jpg","text":"TemporaryFile(/tmp/multipartBody856208315707374866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150260995,"filename":"image_02112025_21_33_26_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59a54b55302bd2060c7abaef59f9ce1c.jpg","text":"TemporaryFile(/tmp/multipartBody1813972115727217325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150260995,"filename":"image_02112025_21_33_37_2011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7222542f1c4bec5bc2c303183645678c.jpg","text":"TemporaryFile(/tmp/multipartBody74937953255320545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150260995,"filename":"image_02112025_21_33_28_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0749640414d2d0fe97c90cf008c2e99.jpg","text":"TemporaryFile(/tmp/multipartBody4995056659955921333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150260995,"filename":"image_02112025_21_33_47_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826044","file1":"1401825946","file0":"1401825834","file4":"1401826221","file5":"1401826239","file3":"1401826177"},"map_files_photo_id_array":[{"photo_id":"1401826239","filename":"file5"},{"photo_id":"1401826044","filename":"file2"},{"photo_id":"1401826221","filename":"file4"},{"photo_id":"1401825946","filename":"file1"},{"photo_id":"1401825834","filename":"file0"},{"photo_id":"1401826177","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826221":["hashtag1","hashtag2"]},{"1401826044":["hashtag1","hashtag2"]},{"1401825834":["hashtag1","hashtag2"]},{"1401826177":["hashtag1","hashtag2"]},{"1401825946":["hashtag1","hashtag2"]},{"1401826239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826221, 1401826044, 1401825834, 1401826177, 1401825946, 1401826239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47313690185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:04:02.829763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_44_9640.jpg', '/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_55_10667.jpg', '/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_14_9585.jpg', '/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_25_10754.jpg', '/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_34_9609.jpg', '/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_44_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_44_9640.jpg
/home/pi/Desktop/images/31122025/03/38/image_31122025_03_38_55_10667.jpg
/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_14_9585.jpg
/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_25_10754.jpg
/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_34_9609.jpg
/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_44_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826413","1401826421","1401826372","1401826432","1401826437","1401826425"],"photo_ids_order":["1401826372","1401826413","1401826421","1401826425","1401826432","1401826437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e3c56ef3bac116ef706cb55884bb14d.jpg","text":"TemporaryFile(/tmp/multipartBody3126831237329921053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150303484,"filename":"image_31122025_03_38_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5dce37c3d64aeafe3cd49617ebe6985.jpg","text":"TemporaryFile(/tmp/multipartBody6059111760935822893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150303484,"filename":"image_31122025_03_39_14_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43c4cb69135a1ed2df4108ec78776334.jpg","text":"TemporaryFile(/tmp/multipartBody1724637906574400654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150303484,"filename":"image_31122025_03_38_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac2801f10f92c46af8c24749e017ff91.jpg","text":"TemporaryFile(/tmp/multipartBody3783807899747428366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150303484,"filename":"image_31122025_03_39_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/974bdab18172f390028e6eee0d4a5bab.jpg","text":"TemporaryFile(/tmp/multipartBody301324181650802621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150303484,"filename":"image_31122025_03_39_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2f790c62a5b36d7df941e24c8f3cf0a.jpg","text":"TemporaryFile(/tmp/multipartBody6657439460868842997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150303484,"filename":"image_31122025_03_39_25_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826421","file1":"1401826413","file0":"1401826372","file4":"1401826432","file5":"1401826437","file3":"1401826425"},"map_files_photo_id_array":[{"photo_id":"1401826437","filename":"file5"},{"photo_id":"1401826421","filename":"file2"},{"photo_id":"1401826432","filename":"file4"},{"photo_id":"1401826413","filename":"file1"},{"photo_id":"1401826372","filename":"file0"},{"photo_id":"1401826425","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826413":["hashtag1","hashtag2"]},{"1401826421":["hashtag1","hashtag2"]},{"1401826372":["hashtag1","hashtag2"]},{"1401826432":["hashtag1","hashtag2"]},{"1401826437":["hashtag1","hashtag2"]},{"1401826425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826413, 1401826421, 1401826372, 1401826432, 1401826437, 1401826425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.807504177093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:04:42.189434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_58_2696.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_01_3040.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_07_2602.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_11_3692.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_16_2753.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_25_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_58_2696.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_01_3040.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_07_2602.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_11_3692.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_16_2753.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_25_2784.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8217346668243408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:05:05.926051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_54_10643.jpg', '/home/pi/Desktop/images/31122025/03/39/image_31122025_03_40_04_9701.jpg', '/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_14_9860.jpg', '/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_24_9793.jpg', '/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_35_10819.jpg', '/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_45_9987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/39/image_31122025_03_39_54_10643.jpg
/home/pi/Desktop/images/31122025/03/39/image_31122025_03_40_04_9701.jpg
/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_14_9860.jpg
/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_24_9793.jpg
/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_35_10819.jpg
/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_45_9987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826478","1401826487","1401826472","1401826481","1401826475","1401826485"],"photo_ids_order":["1401826472","1401826475","1401826478","1401826481","1401826485","1401826487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d9bb14b25df82f050226790ecab908f.jpg","text":"TemporaryFile(/tmp/multipartBody8349899435489055422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150368469,"filename":"image_31122025_03_40_14_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65b6fc5d7ebc41cf65475b68f347dce6.jpg","text":"TemporaryFile(/tmp/multipartBody8997578682310251030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150368469,"filename":"image_31122025_03_40_45_9987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f8029b4f4f42620858f729d129c61af.jpg","text":"TemporaryFile(/tmp/multipartBody6849751737875603852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150368469,"filename":"image_31122025_03_39_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/966687b9439969540865e1b55a1dec92.jpg","text":"TemporaryFile(/tmp/multipartBody6502460561620075528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150368469,"filename":"image_31122025_03_40_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80b3b4b07c31be937a4173b276e07dad.jpg","text":"TemporaryFile(/tmp/multipartBody5365276661302252537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150368469,"filename":"image_31122025_03_40_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30a78a63dd7c50be7c8eb5e9ba82cbff.jpg","text":"TemporaryFile(/tmp/multipartBody2781802192343799472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150368469,"filename":"image_31122025_03_40_35_10819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826478","file1":"1401826475","file0":"1401826472","file4":"1401826485","file5":"1401826487","file3":"1401826481"},"map_files_photo_id_array":[{"photo_id":"1401826487","filename":"file5"},{"photo_id":"1401826478","filename":"file2"},{"photo_id":"1401826485","filename":"file4"},{"photo_id":"1401826475","filename":"file1"},{"photo_id":"1401826472","filename":"file0"},{"photo_id":"1401826481","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826478":["hashtag1","hashtag2"]},{"1401826487":["hashtag1","hashtag2"]},{"1401826472":["hashtag1","hashtag2"]},{"1401826481":["hashtag1","hashtag2"]},{"1401826475":["hashtag1","hashtag2"]},{"1401826485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826478, 1401826487, 1401826472, 1401826481, 1401826475, 1401826485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12512683868408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:05:45.384321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_58_2696.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_01_3040.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_07_2602.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_11_3692.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_16_2753.jpg', '/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_25_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/33/image_02112025_21_33_58_2696.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_01_3040.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_07_2602.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_11_3692.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_16_2753.jpg
/home/pi/Desktop/images/02112025/21/34/image_02112025_21_34_25_2784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826512","1401826500","1401826503","1401826508","1401826494","1401826497"],"photo_ids_order":["1401826494","1401826497","1401826500","1401826503","1401826508","1401826512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cf0eceabc01ebd69a105885ace2b742.jpg","text":"TemporaryFile(/tmp/multipartBody516651981983900813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150407171,"filename":"image_02112025_21_34_25_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c87ffa46a9788c7ef9c7a1997afe3245.jpg","text":"TemporaryFile(/tmp/multipartBody5928667580288817631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150407171,"filename":"image_02112025_21_34_07_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/780fd79bea6ea099c8b8c0c1a34a422c.jpg","text":"TemporaryFile(/tmp/multipartBody1177499192044937036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150407171,"filename":"image_02112025_21_34_11_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/628fdca488bdfc2d01084bfa3de85625.jpg","text":"TemporaryFile(/tmp/multipartBody6104913237468767035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150407171,"filename":"image_02112025_21_34_16_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b6cc33fa4451d40f0241f10934696e1.jpg","text":"TemporaryFile(/tmp/multipartBody3251880138098544473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150407171,"filename":"image_02112025_21_33_58_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a1703e651ebb16644a852ba9b0a4840.jpg","text":"TemporaryFile(/tmp/multipartBody1516651491977876565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150407171,"filename":"image_02112025_21_34_01_3040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826500","file1":"1401826497","file0":"1401826494","file4":"1401826508","file5":"1401826512","file3":"1401826503"},"map_files_photo_id_array":[{"photo_id":"1401826512","filename":"file5"},{"photo_id":"1401826500","filename":"file2"},{"photo_id":"1401826508","filename":"file4"},{"photo_id":"1401826497","filename":"file1"},{"photo_id":"1401826494","filename":"file0"},{"photo_id":"1401826503","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826512":["hashtag1","hashtag2"]},{"1401826500":["hashtag1","hashtag2"]},{"1401826503":["hashtag1","hashtag2"]},{"1401826508":["hashtag1","hashtag2"]},{"1401826494":["hashtag1","hashtag2"]},{"1401826497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826512, 1401826500, 1401826503, 1401826508, 1401826494, 1401826497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16996741294861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:06:25.627603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_55_9981.jpg', '/home/pi/Desktop/images/31122025/03/40/image_31122025_03_41_04_9725.jpg', '/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_14_9700.jpg', '/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_25_10614.jpg', '/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_35_10055.jpg', '/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_44_9040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/40/image_31122025_03_40_55_9981.jpg
/home/pi/Desktop/images/31122025/03/40/image_31122025_03_41_04_9725.jpg
/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_14_9700.jpg
/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_25_10614.jpg
/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_35_10055.jpg
/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_44_9040.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826533","1401826529","1401826520","1401826526","1401826522","1401826524"],"photo_ids_order":["1401826520","1401826522","1401826524","1401826526","1401826529","1401826533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25292a064df636d0519658be4a8450b8.jpg","text":"TemporaryFile(/tmp/multipartBody7834253642053877294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150446193,"filename":"image_31122025_03_41_44_9040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e956df2c39ba29acca969beee771ddb6.jpg","text":"TemporaryFile(/tmp/multipartBody6541884734734611780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150446193,"filename":"image_31122025_03_41_35_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/146bdba2dee08116bdc511c1e4bb01d8.jpg","text":"TemporaryFile(/tmp/multipartBody6692577630440838904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150446193,"filename":"image_31122025_03_40_55_9981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc1086f55822065e3fdf0902f59241e2.jpg","text":"TemporaryFile(/tmp/multipartBody2681054034303189072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150446193,"filename":"image_31122025_03_41_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d3774820a11a6656ece6d2e6e010e5f.jpg","text":"TemporaryFile(/tmp/multipartBody545369550014007596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150446193,"filename":"image_31122025_03_41_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b119497f73999686fb7d4c4095a63264.jpg","text":"TemporaryFile(/tmp/multipartBody6654507693724567112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150446193,"filename":"image_31122025_03_41_14_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826524","file1":"1401826522","file0":"1401826520","file4":"1401826529","file5":"1401826533","file3":"1401826526"},"map_files_photo_id_array":[{"photo_id":"1401826533","filename":"file5"},{"photo_id":"1401826524","filename":"file2"},{"photo_id":"1401826529","filename":"file4"},{"photo_id":"1401826522","filename":"file1"},{"photo_id":"1401826520","filename":"file0"},{"photo_id":"1401826526","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826533":["hashtag1","hashtag2"]},{"1401826529":["hashtag1","hashtag2"]},{"1401826520":["hashtag1","hashtag2"]},{"1401826526":["hashtag1","hashtag2"]},{"1401826522":["hashtag1","hashtag2"]},{"1401826524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826533, 1401826529, 1401826520, 1401826526, 1401826522, 1401826524)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 35.82041525840759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:07:15.887016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_01_2548.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_04_3730.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_07_2662.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_10_2656.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_26_3717.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_31_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_01_2548.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_04_3730.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_07_2662.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_10_2656.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_26_3717.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_31_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826571","1401826565","1401826568","1401826576","1401826579","1401826573"],"photo_ids_order":["1401826565","1401826568","1401826571","1401826573","1401826576","1401826579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc45bf9231fe6e65da0d0d9b09b8b50a.jpg","text":"TemporaryFile(/tmp/multipartBody2428746682689451801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150497648,"filename":"image_02112025_21_35_07_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/354e8b6e16f3659503505a509decd61e.jpg","text":"TemporaryFile(/tmp/multipartBody2643322931683208046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150497648,"filename":"image_02112025_21_35_01_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c4269dace7d7d6e8e15b0fa8a472020.jpg","text":"TemporaryFile(/tmp/multipartBody554789541412218388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150497648,"filename":"image_02112025_21_35_04_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e887d0e8447659577d0a8fcd4119bb14.jpg","text":"TemporaryFile(/tmp/multipartBody3779102915225583286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150497648,"filename":"image_02112025_21_35_26_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1f0e17d1c064dc91ba07ddffb2f7f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2905977019417416013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150497648,"filename":"image_02112025_21_35_31_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d73c0a854c396d8a59f879643174ea12.jpg","text":"TemporaryFile(/tmp/multipartBody4930284947889385775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150497648,"filename":"image_02112025_21_35_10_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826571","file1":"1401826568","file0":"1401826565","file4":"1401826576","file5":"1401826579","file3":"1401826573"},"map_files_photo_id_array":[{"photo_id":"1401826579","filename":"file5"},{"photo_id":"1401826571","filename":"file2"},{"photo_id":"1401826576","filename":"file4"},{"photo_id":"1401826568","filename":"file1"},{"photo_id":"1401826565","filename":"file0"},{"photo_id":"1401826573","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826571":["hashtag1","hashtag2"]},{"1401826565":["hashtag1","hashtag2"]},{"1401826568":["hashtag1","hashtag2"]},{"1401826576":["hashtag1","hashtag2"]},{"1401826579":["hashtag1","hashtag2"]},{"1401826573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826571, 1401826565, 1401826568, 1401826576, 1401826579, 1401826573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.273086071014404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:08:02.943201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_54_10593.jpg', '/home/pi/Desktop/images/31122025/03/41/image_31122025_03_42_04_9843.jpg', '/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_14_9696.jpg', '/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_25_10848.jpg', '/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_35_9876.jpg', '/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_44_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/41/image_31122025_03_41_54_10593.jpg
/home/pi/Desktop/images/31122025/03/41/image_31122025_03_42_04_9843.jpg
/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_14_9696.jpg
/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_25_10848.jpg
/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_35_9876.jpg
/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_44_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826595","1401826594","1401826606","1401826599","1401826596","1401826602"],"photo_ids_order":["1401826594","1401826595","1401826596","1401826599","1401826602","1401826606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10f7497bae48e68f2abfb5ffac28875e.jpg","text":"TemporaryFile(/tmp/multipartBody4038997627147276150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150543551,"filename":"image_31122025_03_42_04_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b705872f1a81d2e846dfe72e0160a051.jpg","text":"TemporaryFile(/tmp/multipartBody4441767500319394585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150543551,"filename":"image_31122025_03_41_54_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7da19594c69a49720f81e9007f001a86.jpg","text":"TemporaryFile(/tmp/multipartBody715777575035889682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150543551,"filename":"image_31122025_03_42_44_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5e3049f5715ce07b583badfb58e6d74.jpg","text":"TemporaryFile(/tmp/multipartBody4867515547044820333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150543551,"filename":"image_31122025_03_42_25_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a743874b8d2d37ccfae800b63ce1bf8e.jpg","text":"TemporaryFile(/tmp/multipartBody2203246533237136226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150543551,"filename":"image_31122025_03_42_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0452e40c63159fa6661e7a5d9b672872.jpg","text":"TemporaryFile(/tmp/multipartBody4216799062910143635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150543551,"filename":"image_31122025_03_42_35_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826596","file1":"1401826595","file0":"1401826594","file4":"1401826602","file5":"1401826606","file3":"1401826599"},"map_files_photo_id_array":[{"photo_id":"1401826606","filename":"file5"},{"photo_id":"1401826596","filename":"file2"},{"photo_id":"1401826602","filename":"file4"},{"photo_id":"1401826595","filename":"file1"},{"photo_id":"1401826594","filename":"file0"},{"photo_id":"1401826599","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826595":["hashtag1","hashtag2"]},{"1401826594":["hashtag1","hashtag2"]},{"1401826606":["hashtag1","hashtag2"]},{"1401826599":["hashtag1","hashtag2"]},{"1401826596":["hashtag1","hashtag2"]},{"1401826602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826595, 1401826594, 1401826606, 1401826599, 1401826596, 1401826602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.532344341278076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:08:42.472693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_34_2845.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_40_2836.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_43_2636.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_52_2965.jpg', '/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_55_2908.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_01_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_34_2845.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_40_2836.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_43_2636.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_52_2965.jpg
/home/pi/Desktop/images/02112025/21/35/image_02112025_21_35_55_2908.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_01_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826626","1401826634","1401826619","1401826636","1401826639","1401826623"],"photo_ids_order":["1401826619","1401826623","1401826626","1401826634","1401826636","1401826639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a514b929665591fba7a330513ae8dd1.jpg","text":"TemporaryFile(/tmp/multipartBody7786561949083516368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150584376,"filename":"image_02112025_21_35_43_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/658199a5d4bcdc0f89df3ebc51e22b9a.jpg","text":"TemporaryFile(/tmp/multipartBody3753043061566599363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150584376,"filename":"image_02112025_21_35_52_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/789d4a71e88e84bb0ad3b4901a2a9079.jpg","text":"TemporaryFile(/tmp/multipartBody5741227087724741423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150584376,"filename":"image_02112025_21_35_34_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f95b29fa0c42866008a527658ad2fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6235463526766513516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150584376,"filename":"image_02112025_21_35_55_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecc36106a532e4bae1bf8b7b92320ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8704124132147400913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150584376,"filename":"image_02112025_21_36_01_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ec9a49fd5261197994a61dfd5700d94.jpg","text":"TemporaryFile(/tmp/multipartBody627617670628371022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150584376,"filename":"image_02112025_21_35_40_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826626","file1":"1401826623","file0":"1401826619","file4":"1401826636","file5":"1401826639","file3":"1401826634"},"map_files_photo_id_array":[{"photo_id":"1401826639","filename":"file5"},{"photo_id":"1401826626","filename":"file2"},{"photo_id":"1401826636","filename":"file4"},{"photo_id":"1401826623","filename":"file1"},{"photo_id":"1401826619","filename":"file0"},{"photo_id":"1401826634","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826626":["hashtag1","hashtag2"]},{"1401826634":["hashtag1","hashtag2"]},{"1401826619":["hashtag1","hashtag2"]},{"1401826636":["hashtag1","hashtag2"]},{"1401826639":["hashtag1","hashtag2"]},{"1401826623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826626, 1401826634, 1401826619, 1401826636, 1401826639, 1401826623)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.10072612762451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:09:32.632477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_07_2534.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_10_2717.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_19_2595.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_22_3727.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_25_2715.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_31_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_07_2534.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_10_2717.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_19_2595.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_22_3727.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_25_2715.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_31_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826667","1401826654","1401826657","1401826651","1401826671","1401826662"],"photo_ids_order":["1401826651","1401826654","1401826657","1401826662","1401826667","1401826671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2270c96b859919177305d6158389df6.jpg","text":"TemporaryFile(/tmp/multipartBody6885767354203917509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150634415,"filename":"image_02112025_21_36_25_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76a542b29704300fb0da615b67718b05.jpg","text":"TemporaryFile(/tmp/multipartBody7308818046176167704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150634415,"filename":"image_02112025_21_36_10_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2dab29df36485889809353e499a03bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5848474084832339763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150634415,"filename":"image_02112025_21_36_19_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/890d76c013584d2d9eb210319bfadb1f.jpg","text":"TemporaryFile(/tmp/multipartBody3067208125658810920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150634415,"filename":"image_02112025_21_36_07_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76ae5b9b61e6736ef199ada2c8533c70.jpg","text":"TemporaryFile(/tmp/multipartBody3124140447794364244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150634415,"filename":"image_02112025_21_36_31_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b77338efeac509ced9f2ca11d051025.jpg","text":"TemporaryFile(/tmp/multipartBody2348812606530543912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150634415,"filename":"image_02112025_21_36_22_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826657","file1":"1401826654","file0":"1401826651","file4":"1401826667","file5":"1401826671","file3":"1401826662"},"map_files_photo_id_array":[{"photo_id":"1401826671","filename":"file5"},{"photo_id":"1401826657","filename":"file2"},{"photo_id":"1401826667","filename":"file4"},{"photo_id":"1401826654","filename":"file1"},{"photo_id":"1401826651","filename":"file0"},{"photo_id":"1401826662","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826667":["hashtag1","hashtag2"]},{"1401826654":["hashtag1","hashtag2"]},{"1401826657":["hashtag1","hashtag2"]},{"1401826651":["hashtag1","hashtag2"]},{"1401826671":["hashtag1","hashtag2"]},{"1401826662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826667, 1401826654, 1401826657, 1401826651, 1401826671, 1401826662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.693337202072144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:10:12.843102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_40_2775.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_46_3758.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_52_2580.jpg', '/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_55_2950.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_04_2782.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_10_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_40_2775.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_46_3758.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_52_2580.jpg
/home/pi/Desktop/images/02112025/21/36/image_02112025_21_36_55_2950.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_04_2782.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_10_2809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826682","1401826679","1401826696","1401826692","1401826686","1401826689"],"photo_ids_order":["1401826679","1401826682","1401826686","1401826689","1401826692","1401826696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47756603644c87b2ab1a6507eeb9c756.jpg","text":"TemporaryFile(/tmp/multipartBody2351241891318063649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150674625,"filename":"image_02112025_21_36_46_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c3b7dc4f19c17d616c43f06bb88f3c6.jpg","text":"TemporaryFile(/tmp/multipartBody471235007395076684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150674625,"filename":"image_02112025_21_36_40_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75a36ef740110c984b214be82de40c66.jpg","text":"TemporaryFile(/tmp/multipartBody1008958606123456053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150674625,"filename":"image_02112025_21_37_10_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c1e6de1007ff978b3c5e421157060b5.jpg","text":"TemporaryFile(/tmp/multipartBody1520529032192346760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150674625,"filename":"image_02112025_21_37_04_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cf32a37e60ab3bb84cc065b5713317c.jpg","text":"TemporaryFile(/tmp/multipartBody8069579337574460786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150674625,"filename":"image_02112025_21_36_52_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60934962758ef979c8e511ea29f5c286.jpg","text":"TemporaryFile(/tmp/multipartBody9153690834481174660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150674625,"filename":"image_02112025_21_36_55_2950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826686","file1":"1401826682","file0":"1401826679","file4":"1401826692","file5":"1401826696","file3":"1401826689"},"map_files_photo_id_array":[{"photo_id":"1401826696","filename":"file5"},{"photo_id":"1401826686","filename":"file2"},{"photo_id":"1401826692","filename":"file4"},{"photo_id":"1401826682","filename":"file1"},{"photo_id":"1401826679","filename":"file0"},{"photo_id":"1401826689","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826682":["hashtag1","hashtag2"]},{"1401826679":["hashtag1","hashtag2"]},{"1401826696":["hashtag1","hashtag2"]},{"1401826692":["hashtag1","hashtag2"]},{"1401826686":["hashtag1","hashtag2"]},{"1401826689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826682, 1401826679, 1401826696, 1401826692, 1401826686, 1401826689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67089772224426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:11:02.780951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_54_9921.jpg', '/home/pi/Desktop/images/31122025/03/42/image_31122025_03_43_04_9671.jpg', '/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_14_9812.jpg', '/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_25_10806.jpg', '/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_34_9657.jpg', '/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_44_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/42/image_31122025_03_42_54_9921.jpg
/home/pi/Desktop/images/31122025/03/42/image_31122025_03_43_04_9671.jpg
/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_14_9812.jpg
/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_25_10806.jpg
/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_34_9657.jpg
/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_44_10047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826719","1401826727","1401826721","1401826724","1401826714","1401826716"],"photo_ids_order":["1401826714","1401826716","1401826719","1401826721","1401826724","1401826727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a0b789edd5b01f1216bbeb466c2d339.jpg","text":"TemporaryFile(/tmp/multipartBody9042944827558497671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150723431,"filename":"image_31122025_03_43_14_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b90aa6c927236ea85a6d57cf684bc55.jpg","text":"TemporaryFile(/tmp/multipartBody4321411687667524493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150723431,"filename":"image_31122025_03_43_44_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77f086d1a29e5832a84951b3962d5340.jpg","text":"TemporaryFile(/tmp/multipartBody1220754936807290080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150723431,"filename":"image_31122025_03_43_25_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cda1a479498611d85686bad7d4a2772.jpg","text":"TemporaryFile(/tmp/multipartBody2945138445234594278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150723431,"filename":"image_31122025_03_43_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db9ea2d05ba12bce5e9233ddbc2a4935.jpg","text":"TemporaryFile(/tmp/multipartBody7480502912048305366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150723431,"filename":"image_31122025_03_42_54_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10ce48416f05fc10e86731903f67acfc.jpg","text":"TemporaryFile(/tmp/multipartBody6573551633749542751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150723431,"filename":"image_31122025_03_43_04_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826719","file1":"1401826716","file0":"1401826714","file4":"1401826724","file5":"1401826727","file3":"1401826721"},"map_files_photo_id_array":[{"photo_id":"1401826727","filename":"file5"},{"photo_id":"1401826719","filename":"file2"},{"photo_id":"1401826724","filename":"file4"},{"photo_id":"1401826716","filename":"file1"},{"photo_id":"1401826714","filename":"file0"},{"photo_id":"1401826721","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826719":["hashtag1","hashtag2"]},{"1401826727":["hashtag1","hashtag2"]},{"1401826721":["hashtag1","hashtag2"]},{"1401826724":["hashtag1","hashtag2"]},{"1401826714":["hashtag1","hashtag2"]},{"1401826716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826719, 1401826727, 1401826721, 1401826724, 1401826714, 1401826716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74453139305115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:11:42.184274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_13_2880.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_16_3692.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_19_2672.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_25_3664.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_28_2646.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_31_2914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_13_2880.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_16_3692.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_19_2672.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_25_3664.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_28_2646.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_31_2914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826742","1401826753","1401826756","1401826747","1401826740","1401826737"],"photo_ids_order":["1401826737","1401826740","1401826742","1401826747","1401826753","1401826756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e2a27071b6bdb775ee08a255acba60c.jpg","text":"TemporaryFile(/tmp/multipartBody3689288701002777489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150764099,"filename":"image_02112025_21_37_19_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a80c1c6bcc087b9d68b7ecedaafd4b2b.jpg","text":"TemporaryFile(/tmp/multipartBody6399852380891428583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150764099,"filename":"image_02112025_21_37_28_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6eebf57698c24234c9a36f87b4cebe97.jpg","text":"TemporaryFile(/tmp/multipartBody679034320837400889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150764099,"filename":"image_02112025_21_37_31_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0320692cc3afb0d225b9127971c1485.jpg","text":"TemporaryFile(/tmp/multipartBody5568064724821171484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150764099,"filename":"image_02112025_21_37_25_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e7117eb7a4324cdee266608444aeb00.jpg","text":"TemporaryFile(/tmp/multipartBody4450282618541881113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150764099,"filename":"image_02112025_21_37_16_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad61c6e65b473ceb2b5e03264fe3e56c.jpg","text":"TemporaryFile(/tmp/multipartBody3280713284998781081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150764099,"filename":"image_02112025_21_37_13_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826742","file1":"1401826740","file0":"1401826737","file4":"1401826753","file5":"1401826756","file3":"1401826747"},"map_files_photo_id_array":[{"photo_id":"1401826756","filename":"file5"},{"photo_id":"1401826742","filename":"file2"},{"photo_id":"1401826753","filename":"file4"},{"photo_id":"1401826740","filename":"file1"},{"photo_id":"1401826737","filename":"file0"},{"photo_id":"1401826747","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826742":["hashtag1","hashtag2"]},{"1401826753":["hashtag1","hashtag2"]},{"1401826756":["hashtag1","hashtag2"]},{"1401826747":["hashtag1","hashtag2"]},{"1401826740":["hashtag1","hashtag2"]},{"1401826737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826742, 1401826753, 1401826756, 1401826747, 1401826740, 1401826737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34173130989075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:12:22.345226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_54_9667.jpg', '/home/pi/Desktop/images/31122025/03/43/image_31122025_03_44_04_9748.jpg', '/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_14_10555.jpg', '/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_24_9659.jpg', '/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_44_9676.jpg', '/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_54_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_54_9667.jpg
/home/pi/Desktop/images/31122025/03/43/image_31122025_03_44_04_9748.jpg
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_14_10555.jpg
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_24_9659.jpg
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_44_9676.jpg
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_54_9815.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4861729145050049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:12:32.395511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_34_3550.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_45_5445.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_47_1649.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_52_3713.jpg', '/home/pi/Desktop/images/02112025/21/37/image_02112025_21_38_01_3749.jpg', '/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_04_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_34_3550.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_45_5445.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_47_1649.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_37_52_3713.jpg
/home/pi/Desktop/images/02112025/21/37/image_02112025_21_38_01_3749.jpg
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_04_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826781","1401826789","1401826785","1401826770","1401826773","1401826776"],"photo_ids_order":["1401826770","1401826773","1401826776","1401826781","1401826785","1401826789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05b1a68a4faf3f9ad4bc5bfc7e6a12e9.jpg","text":"TemporaryFile(/tmp/multipartBody3521973016594086407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150814296,"filename":"image_02112025_21_37_52_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef84d9720f4134ea3fe30ebd02f215e2.jpg","text":"TemporaryFile(/tmp/multipartBody7552821749823451060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150814296,"filename":"image_02112025_21_38_04_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0ed363005f9d9a8c0a1013ce68bbc6c.jpg","text":"TemporaryFile(/tmp/multipartBody8645175631932324550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150814296,"filename":"image_02112025_21_38_01_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1db3fe6eaa8006663cec93a808f3cc7c.jpg","text":"TemporaryFile(/tmp/multipartBody5071750499523659412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150814296,"filename":"image_02112025_21_37_34_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71fafa1042a67712e85ff7b8d0465a96.jpg","text":"TemporaryFile(/tmp/multipartBody4431450121266396562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150814296,"filename":"image_02112025_21_37_45_5445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e641dae3f6314d03e4237a902267ce4.jpg","text":"TemporaryFile(/tmp/multipartBody944466353334528798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150814296,"filename":"image_02112025_21_37_47_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826776","file1":"1401826773","file0":"1401826770","file4":"1401826785","file5":"1401826789","file3":"1401826781"},"map_files_photo_id_array":[{"photo_id":"1401826789","filename":"file5"},{"photo_id":"1401826776","filename":"file2"},{"photo_id":"1401826785","filename":"file4"},{"photo_id":"1401826773","filename":"file1"},{"photo_id":"1401826770","filename":"file0"},{"photo_id":"1401826781","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826781":["hashtag1","hashtag2"]},{"1401826789":["hashtag1","hashtag2"]},{"1401826785":["hashtag1","hashtag2"]},{"1401826770":["hashtag1","hashtag2"]},{"1401826773":["hashtag1","hashtag2"]},{"1401826776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826781, 1401826789, 1401826785, 1401826770, 1401826773, 1401826776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70060133934021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:13:12.558485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_07_2711.jpg', '/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_09_2772.jpg', '/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_13_3743.jpg', '/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_28_2669.jpg', '/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_31_2873.jpg', '/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_42_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_07_2711.jpg
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_09_2772.jpg
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_13_3743.jpg
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_28_2669.jpg
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_31_2873.jpg
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_42_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826824","1401826818","1401826831","1401826819","1401826827","1401826821"],"photo_ids_order":["1401826818","1401826819","1401826821","1401826824","1401826827","1401826831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/095e1857264eee45fc3603d7d23842ee.jpg","text":"TemporaryFile(/tmp/multipartBody3753622412816109226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150854334,"filename":"image_02112025_21_38_28_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2491ebfb22caf570e489f4cac485b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4175124882711553853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150854334,"filename":"image_02112025_21_38_07_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aedcb13ada03062cb759e35d67c30130.jpg","text":"TemporaryFile(/tmp/multipartBody6984696649382496221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150854334,"filename":"image_02112025_21_38_42_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c59418ac32c98b3c4838cf236467063.jpg","text":"TemporaryFile(/tmp/multipartBody2681914755382972862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150854334,"filename":"image_02112025_21_38_09_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5887882747d37f59acb6538f4451ac93.jpg","text":"TemporaryFile(/tmp/multipartBody567555037627083699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150854334,"filename":"image_02112025_21_38_31_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc70249539582c85b7b4dfb87caa2768.jpg","text":"TemporaryFile(/tmp/multipartBody2559132282024392148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150854334,"filename":"image_02112025_21_38_13_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826821","file1":"1401826819","file0":"1401826818","file4":"1401826827","file5":"1401826831","file3":"1401826824"},"map_files_photo_id_array":[{"photo_id":"1401826831","filename":"file5"},{"photo_id":"1401826821","filename":"file2"},{"photo_id":"1401826827","filename":"file4"},{"photo_id":"1401826819","filename":"file1"},{"photo_id":"1401826818","filename":"file0"},{"photo_id":"1401826824","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826824":["hashtag1","hashtag2"]},{"1401826818":["hashtag1","hashtag2"]},{"1401826831":["hashtag1","hashtag2"]},{"1401826819":["hashtag1","hashtag2"]},{"1401826827":["hashtag1","hashtag2"]},{"1401826821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826824, 1401826818, 1401826831, 1401826819, 1401826827, 1401826821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12363910675049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:14:03.471371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_54_9667.jpg', '/home/pi/Desktop/images/31122025/03/43/image_31122025_03_44_04_9748.jpg', '/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_14_10555.jpg', '/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_24_9659.jpg', '/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_44_9676.jpg', '/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_54_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/43/image_31122025_03_43_54_9667.jpg
/home/pi/Desktop/images/31122025/03/43/image_31122025_03_44_04_9748.jpg
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_14_10555.jpg
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_24_9659.jpg
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_44_9676.jpg
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_44_54_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826856","1401826853","1401826858","1401826851","1401826854","1401826848"],"photo_ids_order":["1401826848","1401826851","1401826853","1401826854","1401826856","1401826858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d0849a0593b3ed77e90e1fdcebb3e8e.jpg","text":"TemporaryFile(/tmp/multipartBody709625174512884540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150904703,"filename":"image_31122025_03_44_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84b36574a78d6f6b4c75f8bf168aa19c.jpg","text":"TemporaryFile(/tmp/multipartBody2388656598108746830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150904703,"filename":"image_31122025_03_44_14_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62847fa8d14939bd4ecaac7f15e3fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody3497722020576158474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150904703,"filename":"image_31122025_03_44_54_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/167561b016c19f9a339db4e92fbaf0df.jpg","text":"TemporaryFile(/tmp/multipartBody4557268519537381569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150904703,"filename":"image_31122025_03_44_04_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/871ee7b560811aa17ad133fc950e5c66.jpg","text":"TemporaryFile(/tmp/multipartBody1940766915962581266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150904703,"filename":"image_31122025_03_44_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae9fb48b0faf4847253bdaeab5f3b63e.jpg","text":"TemporaryFile(/tmp/multipartBody9047425208479387639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150904703,"filename":"image_31122025_03_43_54_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826853","file1":"1401826851","file0":"1401826848","file4":"1401826856","file5":"1401826858","file3":"1401826854"},"map_files_photo_id_array":[{"photo_id":"1401826858","filename":"file5"},{"photo_id":"1401826853","filename":"file2"},{"photo_id":"1401826856","filename":"file4"},{"photo_id":"1401826851","filename":"file1"},{"photo_id":"1401826848","filename":"file0"},{"photo_id":"1401826854","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826856":["hashtag1","hashtag2"]},{"1401826853":["hashtag1","hashtag2"]},{"1401826858":["hashtag1","hashtag2"]},{"1401826851":["hashtag1","hashtag2"]},{"1401826854":["hashtag1","hashtag2"]},{"1401826848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826856, 1401826853, 1401826858, 1401826851, 1401826854, 1401826848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62659931182861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:14:42.958050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_44_1852.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_01_4041.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_07_5623.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_40_2870.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_52_2716.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_57_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_44_1852.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_01_4041.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_07_5623.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_40_2870.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_52_2716.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_57_2733.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.795172929763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:15:02.712615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/44/image_31122025_03_45_04_9743.jpg', '/home/pi/Desktop/images/31122025/03/45/image_31122025_03_45_14_10659.jpg', '/home/pi/Desktop/images/31122025/03/45/image_31122025_03_45_24_9613.jpg', '/home/pi/Desktop/images/31122025/03/45/image_31122025_03_45_35_10611.jpg', '/home/pi/Desktop/images/31122025/03/45/image_31122025_03_45_54_9824.jpg', '/home/pi/Desktop/images/31122025/03/45/image_31122025_03_46_04_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/44/image_31122025_03_45_04_9743.jpg
/home/pi/Desktop/images/31122025/03/45/image_31122025_03_45_14_10659.jpg
/home/pi/Desktop/images/31122025/03/45/image_31122025_03_45_24_9613.jpg
/home/pi/Desktop/images/31122025/03/45/image_31122025_03_45_35_10611.jpg
/home/pi/Desktop/images/31122025/03/45/image_31122025_03_45_54_9824.jpg
/home/pi/Desktop/images/31122025/03/45/image_31122025_03_46_04_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826895","1401826889","1401826891","1401826890","1401826884","1401826893"],"photo_ids_order":["1401826884","1401826889","1401826890","1401826891","1401826893","1401826895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34ae7247c9e557b21e892779b5630a94.jpg","text":"TemporaryFile(/tmp/multipartBody6740577808555499924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150963416,"filename":"image_31122025_03_46_04_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/008d08661df61ed5bf491eac17d3c7f8.jpg","text":"TemporaryFile(/tmp/multipartBody6978359134363624840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150963416,"filename":"image_31122025_03_45_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4d349b530f4a8209987aca4d591c0ef.jpg","text":"TemporaryFile(/tmp/multipartBody7632731106899372198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150963416,"filename":"image_31122025_03_45_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b64954ec9b1b07a4357dde8158be7ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8546993691580040348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150963416,"filename":"image_31122025_03_45_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e82ab8763300255df304ebe8cd526ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7510268447675656583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150963416,"filename":"image_31122025_03_45_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b25b800577a8125417f384b8954ef3b0.jpg","text":"TemporaryFile(/tmp/multipartBody4858138143653877126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767150963416,"filename":"image_31122025_03_45_54_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826890","file1":"1401826889","file0":"1401826884","file4":"1401826893","file5":"1401826895","file3":"1401826891"},"map_files_photo_id_array":[{"photo_id":"1401826895","filename":"file5"},{"photo_id":"1401826890","filename":"file2"},{"photo_id":"1401826893","filename":"file4"},{"photo_id":"1401826889","filename":"file1"},{"photo_id":"1401826884","filename":"file0"},{"photo_id":"1401826891","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826895":["hashtag1","hashtag2"]},{"1401826889":["hashtag1","hashtag2"]},{"1401826891":["hashtag1","hashtag2"]},{"1401826890":["hashtag1","hashtag2"]},{"1401826884":["hashtag1","hashtag2"]},{"1401826893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826895, 1401826889, 1401826891, 1401826890, 1401826884, 1401826893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67818331718445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:15:42.136721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_44_1852.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_01_4041.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_07_5623.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_40_2870.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_52_2716.jpg', '/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_57_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/38/image_02112025_21_38_44_1852.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_01_4041.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_07_5623.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_40_2870.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_52_2716.jpg
/home/pi/Desktop/images/02112025/21/39/image_02112025_21_39_57_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826917","1401826910","1401826913","1401826907","1401826915","1401826903"],"photo_ids_order":["1401826903","1401826907","1401826910","1401826913","1401826915","1401826917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e230a1cb5a1169dbaa6b9d2c393450c.jpg","text":"TemporaryFile(/tmp/multipartBody3544434703764576779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151003908,"filename":"image_02112025_21_39_57_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86141c25d0de7e2f47b89001eb3e37bb.jpg","text":"TemporaryFile(/tmp/multipartBody4630245187999399790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151003908,"filename":"image_02112025_21_39_07_5623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff087d8b25e5820dbca4edf2fe0c583a.jpg","text":"TemporaryFile(/tmp/multipartBody2956203544853554015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151003908,"filename":"image_02112025_21_39_40_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a30ef68e29516152c556c79bd9febbfa.jpg","text":"TemporaryFile(/tmp/multipartBody1126843977064614415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151003908,"filename":"image_02112025_21_39_01_4041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b96b2940e3768d1e832b137b0d5e5ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8830149881483410974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151003908,"filename":"image_02112025_21_39_52_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/131948e9c320c27786990caf901cae02.jpg","text":"TemporaryFile(/tmp/multipartBody2713999446998016929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151003908,"filename":"image_02112025_21_38_44_1852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826910","file1":"1401826907","file0":"1401826903","file4":"1401826915","file5":"1401826917","file3":"1401826913"},"map_files_photo_id_array":[{"photo_id":"1401826917","filename":"file5"},{"photo_id":"1401826910","filename":"file2"},{"photo_id":"1401826915","filename":"file4"},{"photo_id":"1401826907","filename":"file1"},{"photo_id":"1401826903","filename":"file0"},{"photo_id":"1401826913","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826917":["hashtag1","hashtag2"]},{"1401826910":["hashtag1","hashtag2"]},{"1401826913":["hashtag1","hashtag2"]},{"1401826907":["hashtag1","hashtag2"]},{"1401826915":["hashtag1","hashtag2"]},{"1401826903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826917, 1401826910, 1401826913, 1401826907, 1401826915, 1401826903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27797722816467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:16:22.338979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_15_10636.jpg', '/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_24_9691.jpg', '/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_34_9620.jpg', '/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_44_9778.jpg', '/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_54_10420.jpg', '/home/pi/Desktop/images/31122025/03/46/image_31122025_03_47_04_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_15_10636.jpg
/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_24_9691.jpg
/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_34_9620.jpg
/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_44_9778.jpg
/home/pi/Desktop/images/31122025/03/46/image_31122025_03_46_54_10420.jpg
/home/pi/Desktop/images/31122025/03/46/image_31122025_03_47_04_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826931","1401826933","1401826921","1401826924","1401826927","1401826941"],"photo_ids_order":["1401826921","1401826924","1401826927","1401826931","1401826933","1401826941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecc26976d268631b3b1e9cda7cef142f.jpg","text":"TemporaryFile(/tmp/multipartBody7943010978032762483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151042983,"filename":"image_31122025_03_46_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8c4b8662226afa442e8deeb440fba81.jpg","text":"TemporaryFile(/tmp/multipartBody8083400687314440631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151042983,"filename":"image_31122025_03_46_54_10420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fdce55d6f7c9e67b1dbf8e4a4966118.jpg","text":"TemporaryFile(/tmp/multipartBody2710735507022520295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151042983,"filename":"image_31122025_03_46_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78755c6458fb4b5e96e7808c62fdc914.jpg","text":"TemporaryFile(/tmp/multipartBody6244752696303725626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151042983,"filename":"image_31122025_03_46_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b765eadc4167aee6c84c8d51cf7ace45.jpg","text":"TemporaryFile(/tmp/multipartBody1785976503509699988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151042983,"filename":"image_31122025_03_46_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4121ce7b647320c83d477cda35e75702.jpg","text":"TemporaryFile(/tmp/multipartBody5722688154066961861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151042983,"filename":"image_31122025_03_47_04_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826927","file1":"1401826924","file0":"1401826921","file4":"1401826933","file5":"1401826941","file3":"1401826931"},"map_files_photo_id_array":[{"photo_id":"1401826941","filename":"file5"},{"photo_id":"1401826927","filename":"file2"},{"photo_id":"1401826933","filename":"file4"},{"photo_id":"1401826924","filename":"file1"},{"photo_id":"1401826921","filename":"file0"},{"photo_id":"1401826931","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826931":["hashtag1","hashtag2"]},{"1401826933":["hashtag1","hashtag2"]},{"1401826921":["hashtag1","hashtag2"]},{"1401826924":["hashtag1","hashtag2"]},{"1401826927":["hashtag1","hashtag2"]},{"1401826941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826931, 1401826933, 1401826921, 1401826924, 1401826927, 1401826941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58031129837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:17:03.199871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/47/image_31122025_03_47_15_10994.jpg', '/home/pi/Desktop/images/31122025/03/47/image_31122025_03_47_34_9697.jpg', '/home/pi/Desktop/images/31122025/03/47/image_31122025_03_47_44_9659.jpg', '/home/pi/Desktop/images/31122025/03/47/image_31122025_03_47_55_10741.jpg', '/home/pi/Desktop/images/31122025/03/47/image_31122025_03_48_04_9694.jpg', '/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_14_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/47/image_31122025_03_47_15_10994.jpg
/home/pi/Desktop/images/31122025/03/47/image_31122025_03_47_34_9697.jpg
/home/pi/Desktop/images/31122025/03/47/image_31122025_03_47_44_9659.jpg
/home/pi/Desktop/images/31122025/03/47/image_31122025_03_47_55_10741.jpg
/home/pi/Desktop/images/31122025/03/47/image_31122025_03_48_04_9694.jpg
/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_14_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826961","1401826955","1401826951","1401826948","1401826957","1401826953"],"photo_ids_order":["1401826948","1401826951","1401826953","1401826955","1401826957","1401826961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1889f5d159e257a07c9d5ae5d50b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2869784810022190788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151083853,"filename":"image_31122025_03_48_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbe4f1db4488cc0ca6a5b1b2e8835dbb.jpg","text":"TemporaryFile(/tmp/multipartBody1029622288259748665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151083853,"filename":"image_31122025_03_47_55_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12896902b14dddc0247dda9eac2ac975.jpg","text":"TemporaryFile(/tmp/multipartBody464854059681168510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151083853,"filename":"image_31122025_03_47_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9b152ecc71fec03d64adc9b712593ed.jpg","text":"TemporaryFile(/tmp/multipartBody4257916386353205253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151083853,"filename":"image_31122025_03_47_15_10994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a8b27c03ddf112bd5bef26e744c5e5d.jpg","text":"TemporaryFile(/tmp/multipartBody1075114068280030901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151083853,"filename":"image_31122025_03_48_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/542939d25d4421137c9822f873304bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2343564445868989364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151083853,"filename":"image_31122025_03_47_44_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826953","file1":"1401826951","file0":"1401826948","file4":"1401826957","file5":"1401826961","file3":"1401826955"},"map_files_photo_id_array":[{"photo_id":"1401826961","filename":"file5"},{"photo_id":"1401826953","filename":"file2"},{"photo_id":"1401826957","filename":"file4"},{"photo_id":"1401826951","filename":"file1"},{"photo_id":"1401826948","filename":"file0"},{"photo_id":"1401826955","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826961":["hashtag1","hashtag2"]},{"1401826955":["hashtag1","hashtag2"]},{"1401826951":["hashtag1","hashtag2"]},{"1401826948":["hashtag1","hashtag2"]},{"1401826957":["hashtag1","hashtag2"]},{"1401826953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826961, 1401826955, 1401826951, 1401826948, 1401826957, 1401826953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.929752349853516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:17:42.595879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_04_2663.jpg', '/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_07_2921.jpg', '/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_09_2663.jpg', '/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_15_2668.jpg', '/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_21_5752.jpg', '/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_29_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_04_2663.jpg
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_07_2921.jpg
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_09_2663.jpg
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_15_2668.jpg
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_21_5752.jpg
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_29_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826973","1401826976","1401826970","1401826966","1401826980","1401826983"],"photo_ids_order":["1401826966","1401826970","1401826973","1401826976","1401826980","1401826983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89ce0301c3deee1ea89d822f27e76a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3995966564518570169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151124492,"filename":"image_02112025_21_40_09_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be0581800c5e2cb778e875ce1beecdf8.jpg","text":"TemporaryFile(/tmp/multipartBody8838400953258547437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151124492,"filename":"image_02112025_21_40_15_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7290a2bf790a6e6c15e245e08f1d498f.jpg","text":"TemporaryFile(/tmp/multipartBody8121630065485589087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151124492,"filename":"image_02112025_21_40_07_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6e035b815ef51857d06fa3009f9d526.jpg","text":"TemporaryFile(/tmp/multipartBody5285824162927160516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151124492,"filename":"image_02112025_21_40_04_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17a72e7dcf65a19173e816e606128c39.jpg","text":"TemporaryFile(/tmp/multipartBody5404743627115656862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151124492,"filename":"image_02112025_21_40_21_5752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af72d23a20cdcd741d76a2ae7e229a12.jpg","text":"TemporaryFile(/tmp/multipartBody3879228785926259928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151124492,"filename":"image_02112025_21_40_29_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826973","file1":"1401826970","file0":"1401826966","file4":"1401826980","file5":"1401826983","file3":"1401826976"},"map_files_photo_id_array":[{"photo_id":"1401826983","filename":"file5"},{"photo_id":"1401826973","filename":"file2"},{"photo_id":"1401826980","filename":"file4"},{"photo_id":"1401826970","filename":"file1"},{"photo_id":"1401826966","filename":"file0"},{"photo_id":"1401826976","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401826973":["hashtag1","hashtag2"]},{"1401826976":["hashtag1","hashtag2"]},{"1401826970":["hashtag1","hashtag2"]},{"1401826966":["hashtag1","hashtag2"]},{"1401826980":["hashtag1","hashtag2"]},{"1401826983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401826973, 1401826976, 1401826970, 1401826966, 1401826980, 1401826983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34625029563904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:18:22.782049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_24_9729.jpg', '/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_34_10270.jpg', '/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_44_9838.jpg', '/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_54_9723.jpg', '/home/pi/Desktop/images/31122025/03/48/image_31122025_03_49_04_10762.jpg', '/home/pi/Desktop/images/31122025/03/49/image_31122025_03_49_14_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_24_9729.jpg
/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_34_10270.jpg
/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_44_9838.jpg
/home/pi/Desktop/images/31122025/03/48/image_31122025_03_48_54_9723.jpg
/home/pi/Desktop/images/31122025/03/48/image_31122025_03_49_04_10762.jpg
/home/pi/Desktop/images/31122025/03/49/image_31122025_03_49_14_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401826988","1401826996","1401826984","1401826993","1401826986","1401827001"],"photo_ids_order":["1401826984","1401826986","1401826988","1401826993","1401826996","1401827001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8458758181896df611216f14b860e484.jpg","text":"TemporaryFile(/tmp/multipartBody4122720318796117605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151163403,"filename":"image_31122025_03_48_44_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/678522606734cff30c185e284bb05d00.jpg","text":"TemporaryFile(/tmp/multipartBody2701421625646965685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151163403,"filename":"image_31122025_03_49_04_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ca3e18c1edc3b25da8f927ce3f1cebf.jpg","text":"TemporaryFile(/tmp/multipartBody1844554925791161256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151163403,"filename":"image_31122025_03_48_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/461aed3e80776dbd0921daa48a727dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1121861881562884206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151163403,"filename":"image_31122025_03_48_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b919bb62bbae0cef9a2f186ae1b166b0.jpg","text":"TemporaryFile(/tmp/multipartBody1510306425231602095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151163403,"filename":"image_31122025_03_48_34_10270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37b8cbf43c6db1d600f043bf151a6bb8.jpg","text":"TemporaryFile(/tmp/multipartBody893437614854015273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151163403,"filename":"image_31122025_03_49_14_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401826988","file1":"1401826986","file0":"1401826984","file4":"1401826996","file5":"1401827001","file3":"1401826993"},"map_files_photo_id_array":[{"photo_id":"1401827001","filename":"file5"},{"photo_id":"1401826988","filename":"file2"},{"photo_id":"1401826996","filename":"file4"},{"photo_id":"1401826986","filename":"file1"},{"photo_id":"1401826984","filename":"file0"},{"photo_id":"1401826993","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401826988":["hashtag1","hashtag2"]},{"1401826996":["hashtag1","hashtag2"]},{"1401826984":["hashtag1","hashtag2"]},{"1401826993":["hashtag1","hashtag2"]},{"1401826986":["hashtag1","hashtag2"]},{"1401827001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401826988, 1401826996, 1401826984, 1401826993, 1401826986, 1401827001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.089026927948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:19:02.853929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/49/image_31122025_03_49_24_9569.jpg', '/home/pi/Desktop/images/31122025/03/49/image_31122025_03_49_34_10649.jpg', '/home/pi/Desktop/images/31122025/03/49/image_31122025_03_50_04_9827.jpg', '/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_14_10611.jpg', '/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_24_9761.jpg', '/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_35_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/49/image_31122025_03_49_24_9569.jpg
/home/pi/Desktop/images/31122025/03/49/image_31122025_03_49_34_10649.jpg
/home/pi/Desktop/images/31122025/03/49/image_31122025_03_50_04_9827.jpg
/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_14_10611.jpg
/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_24_9761.jpg
/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_35_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827018","1401827020","1401827023","1401827017","1401827013","1401827016"],"photo_ids_order":["1401827013","1401827016","1401827017","1401827018","1401827020","1401827023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db408fd91ddc92bc45965267380f7cc0.jpg","text":"TemporaryFile(/tmp/multipartBody2829325903827031389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151203620,"filename":"image_31122025_03_50_14_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1f4dc5a1fc918907d2450eede00f238.jpg","text":"TemporaryFile(/tmp/multipartBody2488096818887894688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151203620,"filename":"image_31122025_03_50_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/711b941de78944c9cf9bc3882ac19d73.jpg","text":"TemporaryFile(/tmp/multipartBody2721104096870155483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151203620,"filename":"image_31122025_03_50_35_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64698080bb5cbd0d44872ab2361d002f.jpg","text":"TemporaryFile(/tmp/multipartBody7509214426220048702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151203620,"filename":"image_31122025_03_50_04_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/156c8783662bde308d869c3439fd5a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8598240884890018321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151203620,"filename":"image_31122025_03_49_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf11360876e2eca6eeb8b4a3e3c80239.jpg","text":"TemporaryFile(/tmp/multipartBody5295593363433689516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151203620,"filename":"image_31122025_03_49_34_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827017","file1":"1401827016","file0":"1401827013","file4":"1401827020","file5":"1401827023","file3":"1401827018"},"map_files_photo_id_array":[{"photo_id":"1401827023","filename":"file5"},{"photo_id":"1401827017","filename":"file2"},{"photo_id":"1401827020","filename":"file4"},{"photo_id":"1401827016","filename":"file1"},{"photo_id":"1401827013","filename":"file0"},{"photo_id":"1401827018","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827018":["hashtag1","hashtag2"]},{"1401827020":["hashtag1","hashtag2"]},{"1401827023":["hashtag1","hashtag2"]},{"1401827017":["hashtag1","hashtag2"]},{"1401827013":["hashtag1","hashtag2"]},{"1401827016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827018, 1401827020, 1401827023, 1401827017, 1401827013, 1401827016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49005889892578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:19:41.961744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_43_2899.jpg', '/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_48_2600.jpg', '/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_55_2774.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_04_2656.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_06_2704.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_14_7795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_43_2899.jpg
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_48_2600.jpg
/home/pi/Desktop/images/02112025/21/40/image_02112025_21_40_55_2774.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_04_2656.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_06_2704.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_14_7795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827042","1401827036","1401827045","1401827033","1401827038","1401827040"],"photo_ids_order":["1401827033","1401827036","1401827038","1401827040","1401827042","1401827045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5630ca55023b8457d86f3716acbfdd5.jpg","text":"TemporaryFile(/tmp/multipartBody7542660038661298470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151243745,"filename":"image_02112025_21_41_06_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c28311a0f588982e2a9e39cbcdfdaef6.jpg","text":"TemporaryFile(/tmp/multipartBody6539658999644289952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151243745,"filename":"image_02112025_21_40_48_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27cff6aedfe94da198698b66cc033628.jpg","text":"TemporaryFile(/tmp/multipartBody941320532964293343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151243745,"filename":"image_02112025_21_41_14_7795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c79b27ec205fdba189fac7766a08ad3d.jpg","text":"TemporaryFile(/tmp/multipartBody7031769746972975187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151243745,"filename":"image_02112025_21_40_43_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dcfd04193fee5b99aa3154b7565be49.jpg","text":"TemporaryFile(/tmp/multipartBody8057281445631604805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151243745,"filename":"image_02112025_21_40_55_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a46ebc32a28bcd0468a3f52b5982b41c.jpg","text":"TemporaryFile(/tmp/multipartBody5508482984467116596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151243745,"filename":"image_02112025_21_41_04_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827038","file1":"1401827036","file0":"1401827033","file4":"1401827042","file5":"1401827045","file3":"1401827040"},"map_files_photo_id_array":[{"photo_id":"1401827045","filename":"file5"},{"photo_id":"1401827038","filename":"file2"},{"photo_id":"1401827042","filename":"file4"},{"photo_id":"1401827036","filename":"file1"},{"photo_id":"1401827033","filename":"file0"},{"photo_id":"1401827040","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827042":["hashtag1","hashtag2"]},{"1401827036":["hashtag1","hashtag2"]},{"1401827045":["hashtag1","hashtag2"]},{"1401827033":["hashtag1","hashtag2"]},{"1401827038":["hashtag1","hashtag2"]},{"1401827040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827042, 1401827036, 1401827045, 1401827033, 1401827038, 1401827040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14333391189575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:20:22.250546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_44_9685.jpg', '/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_54_9591.jpg', '/home/pi/Desktop/images/31122025/03/50/image_31122025_03_51_05_10623.jpg', '/home/pi/Desktop/images/31122025/03/51/image_31122025_03_51_14_9571.jpg', '/home/pi/Desktop/images/31122025/03/51/image_31122025_03_51_24_9767.jpg', '/home/pi/Desktop/images/31122025/03/51/image_31122025_03_51_35_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_44_9685.jpg
/home/pi/Desktop/images/31122025/03/50/image_31122025_03_50_54_9591.jpg
/home/pi/Desktop/images/31122025/03/50/image_31122025_03_51_05_10623.jpg
/home/pi/Desktop/images/31122025/03/51/image_31122025_03_51_14_9571.jpg
/home/pi/Desktop/images/31122025/03/51/image_31122025_03_51_24_9767.jpg
/home/pi/Desktop/images/31122025/03/51/image_31122025_03_51_35_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827060","1401827059","1401827050","1401827053","1401827064","1401827055"],"photo_ids_order":["1401827050","1401827053","1401827055","1401827059","1401827060","1401827064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fed0161c08cbab7f24610f696d03dca8.jpg","text":"TemporaryFile(/tmp/multipartBody3675176048117268390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151282846,"filename":"image_31122025_03_51_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c614c108ba09a204c5adae66613d9b6.jpg","text":"TemporaryFile(/tmp/multipartBody3447968368788484474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151282846,"filename":"image_31122025_03_51_14_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/622300462b2ca7f2f78348dfc4e4cff3.jpg","text":"TemporaryFile(/tmp/multipartBody4564848090508342463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151282846,"filename":"image_31122025_03_50_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c77968b986c7ffdb192596ff8b82948.jpg","text":"TemporaryFile(/tmp/multipartBody3352946815137742476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151282846,"filename":"image_31122025_03_50_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69cca95d80a274fb61d4ad9b288e8865.jpg","text":"TemporaryFile(/tmp/multipartBody3764888485607598755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151282846,"filename":"image_31122025_03_51_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dc83893704ab74d74497ad8c9f0c37f.jpg","text":"TemporaryFile(/tmp/multipartBody616118920897346042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151282846,"filename":"image_31122025_03_51_05_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827055","file1":"1401827053","file0":"1401827050","file4":"1401827060","file5":"1401827064","file3":"1401827059"},"map_files_photo_id_array":[{"photo_id":"1401827064","filename":"file5"},{"photo_id":"1401827055","filename":"file2"},{"photo_id":"1401827060","filename":"file4"},{"photo_id":"1401827053","filename":"file1"},{"photo_id":"1401827050","filename":"file0"},{"photo_id":"1401827059","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827060":["hashtag1","hashtag2"]},{"1401827059":["hashtag1","hashtag2"]},{"1401827050":["hashtag1","hashtag2"]},{"1401827053":["hashtag1","hashtag2"]},{"1401827064":["hashtag1","hashtag2"]},{"1401827055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827060, 1401827059, 1401827050, 1401827053, 1401827064, 1401827055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15099358558655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:21:03.117384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/51/image_31122025_03_52_05_10812.jpg', '/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_14_9586.jpg', '/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_24_9735.jpg', '/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_35_10653.jpg', '/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_44_9595.jpg', '/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_54_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/51/image_31122025_03_52_05_10812.jpg
/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_14_9586.jpg
/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_24_9735.jpg
/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_35_10653.jpg
/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_44_9595.jpg
/home/pi/Desktop/images/31122025/03/52/image_31122025_03_52_54_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827102","1401827104","1401827107","1401827076","1401827091","1401827079"],"photo_ids_order":["1401827076","1401827079","1401827091","1401827102","1401827104","1401827107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/281a15237bceaa46324f050c6889a93e.jpg","text":"TemporaryFile(/tmp/multipartBody3029069762317206511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151323821,"filename":"image_31122025_03_52_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66b78e7abb456e2a4d1cdae8abfa1082.jpg","text":"TemporaryFile(/tmp/multipartBody1923776420474347030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151323821,"filename":"image_31122025_03_52_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2318df80710d67bcea6727735b0a2459.jpg","text":"TemporaryFile(/tmp/multipartBody1779895788537406478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151323821,"filename":"image_31122025_03_52_54_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2a776e26b6ae823479b0fb469f015b5.jpg","text":"TemporaryFile(/tmp/multipartBody7622159816799391644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151323821,"filename":"image_31122025_03_52_05_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/804cd8f80b91cd1c701e6027fa47dcb5.jpg","text":"TemporaryFile(/tmp/multipartBody9203998093642812921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151323821,"filename":"image_31122025_03_52_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dd5416bc310ca1c5dd788e9a76033c8.jpg","text":"TemporaryFile(/tmp/multipartBody8535936629733074247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151323821,"filename":"image_31122025_03_52_14_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827091","file1":"1401827079","file0":"1401827076","file4":"1401827104","file5":"1401827107","file3":"1401827102"},"map_files_photo_id_array":[{"photo_id":"1401827107","filename":"file5"},{"photo_id":"1401827091","filename":"file2"},{"photo_id":"1401827104","filename":"file4"},{"photo_id":"1401827079","filename":"file1"},{"photo_id":"1401827076","filename":"file0"},{"photo_id":"1401827102","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827102":["hashtag1","hashtag2"]},{"1401827104":["hashtag1","hashtag2"]},{"1401827107":["hashtag1","hashtag2"]},{"1401827076":["hashtag1","hashtag2"]},{"1401827091":["hashtag1","hashtag2"]},{"1401827079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827102, 1401827104, 1401827107, 1401827076, 1401827091, 1401827079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.682817697525024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:21:42.593745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_17_3058.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_19_1646.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_31_2898.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_34_2833.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_40_3865.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_45_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_17_3058.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_19_1646.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_31_2898.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_34_2833.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_40_3865.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_45_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827129","1401827120","1401827123","1401827117","1401827126","1401827113"],"photo_ids_order":["1401827113","1401827117","1401827120","1401827123","1401827126","1401827129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79b653d6e5e76c1538df39c7697326d4.jpg","text":"TemporaryFile(/tmp/multipartBody254127455927727995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151364491,"filename":"image_02112025_21_41_45_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d616e54bac5bc53ff9de3f3180e0912e.jpg","text":"TemporaryFile(/tmp/multipartBody1062962640071786569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151364491,"filename":"image_02112025_21_41_31_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b5f8b3e215704c3229bf1b305961fa6.jpg","text":"TemporaryFile(/tmp/multipartBody58222492066793170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151364491,"filename":"image_02112025_21_41_34_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e6cdcf3a7de899acf6a09f394f8db68.jpg","text":"TemporaryFile(/tmp/multipartBody6270616251199713728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151364491,"filename":"image_02112025_21_41_19_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5909f8024055b89b63e73cbb0baa7aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4649909052064866369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151364491,"filename":"image_02112025_21_41_40_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60859b92cfe13fb7c894dd01ea4212c0.jpg","text":"TemporaryFile(/tmp/multipartBody4167708447546635025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151364491,"filename":"image_02112025_21_41_17_3058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827120","file1":"1401827117","file0":"1401827113","file4":"1401827126","file5":"1401827129","file3":"1401827123"},"map_files_photo_id_array":[{"photo_id":"1401827129","filename":"file5"},{"photo_id":"1401827120","filename":"file2"},{"photo_id":"1401827126","filename":"file4"},{"photo_id":"1401827117","filename":"file1"},{"photo_id":"1401827113","filename":"file0"},{"photo_id":"1401827123","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827129":["hashtag1","hashtag2"]},{"1401827120":["hashtag1","hashtag2"]},{"1401827123":["hashtag1","hashtag2"]},{"1401827117":["hashtag1","hashtag2"]},{"1401827126":["hashtag1","hashtag2"]},{"1401827113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827129, 1401827120, 1401827123, 1401827117, 1401827126, 1401827113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71859121322632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:22:22.747947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_14_9887.jpg', '/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_24_9663.jpg', '/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_35_10657.jpg', '/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_44_9582.jpg', '/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_54_9695.jpg', '/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_14_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_14_9887.jpg
/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_24_9663.jpg
/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_35_10657.jpg
/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_44_9582.jpg
/home/pi/Desktop/images/31122025/03/53/image_31122025_03_53_54_9695.jpg
/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_14_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827132","1401827149","1401827134","1401827142","1401827136","1401827145"],"photo_ids_order":["1401827132","1401827134","1401827136","1401827142","1401827145","1401827149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f234847d99bd09b5fe825f0c452f0aef.jpg","text":"TemporaryFile(/tmp/multipartBody6263203056693000810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151403367,"filename":"image_31122025_03_53_14_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9488b011d5843880d30defd240af0af4.jpg","text":"TemporaryFile(/tmp/multipartBody6767926462653757348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151403367,"filename":"image_31122025_03_54_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dacfc05693cd8ae0641f64c50ff7eba6.jpg","text":"TemporaryFile(/tmp/multipartBody3277994192121134602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151403367,"filename":"image_31122025_03_53_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/594efdd00d6f4efda8a7c21dcc0edc0c.jpg","text":"TemporaryFile(/tmp/multipartBody8152687952254242153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151403367,"filename":"image_31122025_03_53_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/653c4e73e1d61690d35440e17144c28d.jpg","text":"TemporaryFile(/tmp/multipartBody5200497564148134165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151403367,"filename":"image_31122025_03_53_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6a18852b81c00fa295d0323c2ec7b10.jpg","text":"TemporaryFile(/tmp/multipartBody2224605817084824181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151403367,"filename":"image_31122025_03_53_54_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827136","file1":"1401827134","file0":"1401827132","file4":"1401827145","file5":"1401827149","file3":"1401827142"},"map_files_photo_id_array":[{"photo_id":"1401827149","filename":"file5"},{"photo_id":"1401827136","filename":"file2"},{"photo_id":"1401827145","filename":"file4"},{"photo_id":"1401827134","filename":"file1"},{"photo_id":"1401827132","filename":"file0"},{"photo_id":"1401827142","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827132":["hashtag1","hashtag2"]},{"1401827149":["hashtag1","hashtag2"]},{"1401827134":["hashtag1","hashtag2"]},{"1401827142":["hashtag1","hashtag2"]},{"1401827136":["hashtag1","hashtag2"]},{"1401827145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827132, 1401827149, 1401827134, 1401827142, 1401827136, 1401827145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66057896614075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:23:02.905349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_24_9800.jpg', '/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_34_9859.jpg', '/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_44_10603.jpg', '/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_54_9632.jpg', '/home/pi/Desktop/images/31122025/03/55/image_31122025_03_55_14_9681.jpg', '/home/pi/Desktop/images/31122025/03/55/image_31122025_03_55_24_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_24_9800.jpg
/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_34_9859.jpg
/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_44_10603.jpg
/home/pi/Desktop/images/31122025/03/54/image_31122025_03_54_54_9632.jpg
/home/pi/Desktop/images/31122025/03/55/image_31122025_03_55_14_9681.jpg
/home/pi/Desktop/images/31122025/03/55/image_31122025_03_55_24_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827164","1401827167","1401827161","1401827169","1401827163","1401827165"],"photo_ids_order":["1401827161","1401827163","1401827164","1401827165","1401827167","1401827169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/125de36ace8914cbc288f091c4bd59c4.jpg","text":"TemporaryFile(/tmp/multipartBody8416718299389729729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151443547,"filename":"image_31122025_03_54_44_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d74f5885c34eb2c4e15f91f7858f627.jpg","text":"TemporaryFile(/tmp/multipartBody8870918825398617428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151443547,"filename":"image_31122025_03_55_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23b58dea1a65ffe04ef772b1307a1923.jpg","text":"TemporaryFile(/tmp/multipartBody13358979519875722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151443547,"filename":"image_31122025_03_54_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/712886337cece4da5f427b4794a8d638.jpg","text":"TemporaryFile(/tmp/multipartBody7876848480647245042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151443547,"filename":"image_31122025_03_55_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2792a238281b0f1850d3b7160d2c46d9.jpg","text":"TemporaryFile(/tmp/multipartBody1494605515747650414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151443547,"filename":"image_31122025_03_54_34_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48c014d44f611a2e7b8de271033fc6b0.jpg","text":"TemporaryFile(/tmp/multipartBody506831544638992107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151443547,"filename":"image_31122025_03_54_54_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827164","file1":"1401827163","file0":"1401827161","file4":"1401827167","file5":"1401827169","file3":"1401827165"},"map_files_photo_id_array":[{"photo_id":"1401827169","filename":"file5"},{"photo_id":"1401827164","filename":"file2"},{"photo_id":"1401827167","filename":"file4"},{"photo_id":"1401827163","filename":"file1"},{"photo_id":"1401827161","filename":"file0"},{"photo_id":"1401827165","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827164":["hashtag1","hashtag2"]},{"1401827167":["hashtag1","hashtag2"]},{"1401827161":["hashtag1","hashtag2"]},{"1401827169":["hashtag1","hashtag2"]},{"1401827163":["hashtag1","hashtag2"]},{"1401827165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827164, 1401827167, 1401827161, 1401827169, 1401827163, 1401827165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57568359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:23:42.087512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_48_2821.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_52_3653.jpg', '/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_57_2641.jpg', '/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_06_2791.jpg', '/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_09_2737.jpg', '/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_15_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_48_2821.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_52_3653.jpg
/home/pi/Desktop/images/02112025/21/41/image_02112025_21_41_57_2641.jpg
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_06_2791.jpg
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_09_2737.jpg
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_15_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827195","1401827197","1401827179","1401827188","1401827184","1401827192"],"photo_ids_order":["1401827179","1401827184","1401827188","1401827192","1401827195","1401827197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/246af657e211fea88c04850964ba7e45.jpg","text":"TemporaryFile(/tmp/multipartBody5964295412191157904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151483967,"filename":"image_02112025_21_42_09_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a17d46f7d5cee79ecbcaaafef09bec6f.jpg","text":"TemporaryFile(/tmp/multipartBody72267090363458885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151483967,"filename":"image_02112025_21_42_15_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1222ee99b73b747244e9d0ac4b47278.jpg","text":"TemporaryFile(/tmp/multipartBody7422966210941852910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151483967,"filename":"image_02112025_21_41_48_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5350906c2901a42747edb82c1c9c869a.jpg","text":"TemporaryFile(/tmp/multipartBody7489163844723269247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151483967,"filename":"image_02112025_21_41_57_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ae3cacaeb256c64bc861206cdd77712.jpg","text":"TemporaryFile(/tmp/multipartBody6351453041924963613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151483967,"filename":"image_02112025_21_41_52_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e164bed9caf5ec75ade4974992f7823b.jpg","text":"TemporaryFile(/tmp/multipartBody2301140386672845088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151483967,"filename":"image_02112025_21_42_06_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827188","file1":"1401827184","file0":"1401827179","file4":"1401827195","file5":"1401827197","file3":"1401827192"},"map_files_photo_id_array":[{"photo_id":"1401827197","filename":"file5"},{"photo_id":"1401827188","filename":"file2"},{"photo_id":"1401827195","filename":"file4"},{"photo_id":"1401827184","filename":"file1"},{"photo_id":"1401827179","filename":"file0"},{"photo_id":"1401827192","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827195":["hashtag1","hashtag2"]},{"1401827197":["hashtag1","hashtag2"]},{"1401827179":["hashtag1","hashtag2"]},{"1401827188":["hashtag1","hashtag2"]},{"1401827184":["hashtag1","hashtag2"]},{"1401827192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827195, 1401827197, 1401827179, 1401827188, 1401827184, 1401827192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37065768241882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:24:22.254720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/55/image_31122025_03_55_54_9771.jpg', '/home/pi/Desktop/images/31122025/03/55/image_31122025_03_56_04_9785.jpg', '/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_15_10685.jpg', '/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_24_9579.jpg', '/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_34_9726.jpg', '/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_44_10183.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/55/image_31122025_03_55_54_9771.jpg
/home/pi/Desktop/images/31122025/03/55/image_31122025_03_56_04_9785.jpg
/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_15_10685.jpg
/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_24_9579.jpg
/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_34_9726.jpg
/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_44_10183.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827212","1401827215","1401827209","1401827218","1401827203","1401827206"],"photo_ids_order":["1401827203","1401827206","1401827209","1401827212","1401827215","1401827218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f68caab586070e4b65e8dfbe5a5c9cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7569592232811212499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151522842,"filename":"image_31122025_03_56_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b303365616fe945830e8f7d3058d96b.jpg","text":"TemporaryFile(/tmp/multipartBody5153643154173210448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151522842,"filename":"image_31122025_03_56_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bce1b2772da8341887c1cbf7c722659.jpg","text":"TemporaryFile(/tmp/multipartBody995726295784122935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151522842,"filename":"image_31122025_03_56_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b38c5b860fd3fa230698591b3a1f649.jpg","text":"TemporaryFile(/tmp/multipartBody7452238321534487220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151522842,"filename":"image_31122025_03_56_44_10183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c56bae9e379938135df999231b8bb09c.jpg","text":"TemporaryFile(/tmp/multipartBody5601770314318688765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151522842,"filename":"image_31122025_03_55_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0a978efcf2fd16f9357ba89418caaf0.jpg","text":"TemporaryFile(/tmp/multipartBody2094738551750083536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151522842,"filename":"image_31122025_03_56_04_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827209","file1":"1401827206","file0":"1401827203","file4":"1401827215","file5":"1401827218","file3":"1401827212"},"map_files_photo_id_array":[{"photo_id":"1401827218","filename":"file5"},{"photo_id":"1401827209","filename":"file2"},{"photo_id":"1401827215","filename":"file4"},{"photo_id":"1401827206","filename":"file1"},{"photo_id":"1401827203","filename":"file0"},{"photo_id":"1401827212","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827212":["hashtag1","hashtag2"]},{"1401827215":["hashtag1","hashtag2"]},{"1401827209":["hashtag1","hashtag2"]},{"1401827218":["hashtag1","hashtag2"]},{"1401827203":["hashtag1","hashtag2"]},{"1401827206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827212, 1401827215, 1401827209, 1401827218, 1401827203, 1401827206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.453723192214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:25:03.030948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_54_9709.jpg', '/home/pi/Desktop/images/31122025/03/56/image_31122025_03_57_04_10709.jpg', '/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_14_9755.jpg', '/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_24_9574.jpg', '/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_34_10634.jpg', '/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_45_10105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/56/image_31122025_03_56_54_9709.jpg
/home/pi/Desktop/images/31122025/03/56/image_31122025_03_57_04_10709.jpg
/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_14_9755.jpg
/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_24_9574.jpg
/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_34_10634.jpg
/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_45_10105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827234","1401827231","1401827227","1401827224","1401827238","1401827229"],"photo_ids_order":["1401827224","1401827227","1401827229","1401827231","1401827234","1401827238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b7deb02545636fa3716f64904b53c97.jpg","text":"TemporaryFile(/tmp/multipartBody7106630043732349580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151563773,"filename":"image_31122025_03_57_34_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45d6d2cdeb9b0cd343029f1361f791cc.jpg","text":"TemporaryFile(/tmp/multipartBody3756729330620296038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151563773,"filename":"image_31122025_03_57_24_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0e52bb20322f2b734c7523f02e1c0b3.jpg","text":"TemporaryFile(/tmp/multipartBody5752603350106914193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151563773,"filename":"image_31122025_03_57_04_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a976ccdc6b5d2134bf3f2923a27ac1d1.jpg","text":"TemporaryFile(/tmp/multipartBody7494293542093814147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151563773,"filename":"image_31122025_03_56_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f44dd3784c215d9aec01b4d8c8d87cf.jpg","text":"TemporaryFile(/tmp/multipartBody942226787012078549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151563773,"filename":"image_31122025_03_57_45_10105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed4370bda87ee68dd447976e07efe9a9.jpg","text":"TemporaryFile(/tmp/multipartBody1528354946980012735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151563773,"filename":"image_31122025_03_57_14_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827229","file1":"1401827227","file0":"1401827224","file4":"1401827234","file5":"1401827238","file3":"1401827231"},"map_files_photo_id_array":[{"photo_id":"1401827238","filename":"file5"},{"photo_id":"1401827229","filename":"file2"},{"photo_id":"1401827234","filename":"file4"},{"photo_id":"1401827227","filename":"file1"},{"photo_id":"1401827224","filename":"file0"},{"photo_id":"1401827231","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827234":["hashtag1","hashtag2"]},{"1401827231":["hashtag1","hashtag2"]},{"1401827227":["hashtag1","hashtag2"]},{"1401827224":["hashtag1","hashtag2"]},{"1401827238":["hashtag1","hashtag2"]},{"1401827229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827234, 1401827231, 1401827227, 1401827224, 1401827238, 1401827229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35022211074829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:25:42.375713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_18_2711.jpg', '/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_22_3635.jpg', '/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_36_2574.jpg', '/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_39_2604.jpg', '/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_43_3667.jpg', '/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_45_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_18_2711.jpg
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_22_3635.jpg
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_36_2574.jpg
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_39_2604.jpg
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_43_3667.jpg
/home/pi/Desktop/images/02112025/21/42/image_02112025_21_42_45_2819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827243","1401827257","1401827253","1401827259","1401827250","1401827247"],"photo_ids_order":["1401827243","1401827247","1401827250","1401827253","1401827257","1401827259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/072d00c062da78c513f3b0987b89aa04.jpg","text":"TemporaryFile(/tmp/multipartBody2828936871608200523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151604263,"filename":"image_02112025_21_42_18_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4dd74646c9f059723ae09851254e49ed.jpg","text":"TemporaryFile(/tmp/multipartBody7709648565088170640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151604263,"filename":"image_02112025_21_42_43_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f0ae7dcebf7037152cce6f396e4f149.jpg","text":"TemporaryFile(/tmp/multipartBody6988936066363370195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151604263,"filename":"image_02112025_21_42_39_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef9707a758d26617c1366b2026d7ce57.jpg","text":"TemporaryFile(/tmp/multipartBody5803576395210614382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151604263,"filename":"image_02112025_21_42_45_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2cfc6e8aec8abaf6225251997708b62.jpg","text":"TemporaryFile(/tmp/multipartBody2766457504824085243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151604263,"filename":"image_02112025_21_42_36_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7901eee29b149f66f8c3bb4506b7afe.jpg","text":"TemporaryFile(/tmp/multipartBody5720052020069270223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151604263,"filename":"image_02112025_21_42_22_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827250","file1":"1401827247","file0":"1401827243","file4":"1401827257","file5":"1401827259","file3":"1401827253"},"map_files_photo_id_array":[{"photo_id":"1401827259","filename":"file5"},{"photo_id":"1401827250","filename":"file2"},{"photo_id":"1401827257","filename":"file4"},{"photo_id":"1401827247","filename":"file1"},{"photo_id":"1401827243","filename":"file0"},{"photo_id":"1401827253","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827243":["hashtag1","hashtag2"]},{"1401827257":["hashtag1","hashtag2"]},{"1401827253":["hashtag1","hashtag2"]},{"1401827259":["hashtag1","hashtag2"]},{"1401827250":["hashtag1","hashtag2"]},{"1401827247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827243, 1401827257, 1401827253, 1401827259, 1401827250, 1401827247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02282667160034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:26:22.508987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_54_9524.jpg', '/home/pi/Desktop/images/31122025/03/57/image_31122025_03_58_05_10576.jpg', '/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_14_9571.jpg', '/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_24_9724.jpg', '/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_35_10713.jpg', '/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/57/image_31122025_03_57_54_9524.jpg
/home/pi/Desktop/images/31122025/03/57/image_31122025_03_58_05_10576.jpg
/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_14_9571.jpg
/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_24_9724.jpg
/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_35_10713.jpg
/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_44_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827273","1401827267","1401827263","1401827265","1401827279","1401827270"],"photo_ids_order":["1401827263","1401827265","1401827267","1401827270","1401827273","1401827279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57c37ea990ffb737ec8450d4e23643e8.jpg","text":"TemporaryFile(/tmp/multipartBody6855022538644068001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151643130,"filename":"image_31122025_03_58_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e781a36bcac1b2f6d93c6dca2ac30ba.jpg","text":"TemporaryFile(/tmp/multipartBody2704319354357602619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151643130,"filename":"image_31122025_03_58_14_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31ff917fa65720c9b3b988a2f47992e3.jpg","text":"TemporaryFile(/tmp/multipartBody1346086978751839755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151643130,"filename":"image_31122025_03_57_54_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f86bd7e4c06566aa51d3bf331738978f.jpg","text":"TemporaryFile(/tmp/multipartBody3798921857107205505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151643130,"filename":"image_31122025_03_58_05_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4fd84b9b7ffe23ba446bde95ee973d4.jpg","text":"TemporaryFile(/tmp/multipartBody350828296142956318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151643130,"filename":"image_31122025_03_58_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9de5799e1b41d4cc1ebff49871101ab.jpg","text":"TemporaryFile(/tmp/multipartBody8809627708138351724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151643130,"filename":"image_31122025_03_58_24_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827267","file1":"1401827265","file0":"1401827263","file4":"1401827273","file5":"1401827279","file3":"1401827270"},"map_files_photo_id_array":[{"photo_id":"1401827279","filename":"file5"},{"photo_id":"1401827267","filename":"file2"},{"photo_id":"1401827273","filename":"file4"},{"photo_id":"1401827265","filename":"file1"},{"photo_id":"1401827263","filename":"file0"},{"photo_id":"1401827270","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827273":["hashtag1","hashtag2"]},{"1401827267":["hashtag1","hashtag2"]},{"1401827263":["hashtag1","hashtag2"]},{"1401827265":["hashtag1","hashtag2"]},{"1401827279":["hashtag1","hashtag2"]},{"1401827270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827273, 1401827267, 1401827263, 1401827265, 1401827279, 1401827270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.258867025375366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:27:03.261424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_55_10326.jpg', '/home/pi/Desktop/images/31122025/03/58/image_31122025_03_59_04_9759.jpg', '/home/pi/Desktop/images/31122025/03/59/image_31122025_03_59_14_9682.jpg', '/home/pi/Desktop/images/31122025/03/59/image_31122025_03_59_34_10562.jpg', '/home/pi/Desktop/images/31122025/03/59/image_31122025_03_59_44_9551.jpg', '/home/pi/Desktop/images/31122025/03/59/image_31122025_03_59_54_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/58/image_31122025_03_58_55_10326.jpg
/home/pi/Desktop/images/31122025/03/58/image_31122025_03_59_04_9759.jpg
/home/pi/Desktop/images/31122025/03/59/image_31122025_03_59_14_9682.jpg
/home/pi/Desktop/images/31122025/03/59/image_31122025_03_59_34_10562.jpg
/home/pi/Desktop/images/31122025/03/59/image_31122025_03_59_44_9551.jpg
/home/pi/Desktop/images/31122025/03/59/image_31122025_03_59_54_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827294","1401827305","1401827295","1401827297","1401827301","1401827291"],"photo_ids_order":["1401827291","1401827294","1401827295","1401827297","1401827301","1401827305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4eeb17312f8e614885812d467412f6a2.jpg","text":"TemporaryFile(/tmp/multipartBody762894311032496505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151683945,"filename":"image_31122025_03_59_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4be56b6fd31a5c3e68907b67c16c5d22.jpg","text":"TemporaryFile(/tmp/multipartBody7771318882501523660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151683945,"filename":"image_31122025_03_59_54_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a94159b52bc6664966f32f46572e67ae.jpg","text":"TemporaryFile(/tmp/multipartBody2410207045463872634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151683945,"filename":"image_31122025_03_59_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/087d790d590c3c748c24ea51275fd5cd.jpg","text":"TemporaryFile(/tmp/multipartBody1562975703920261039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151683945,"filename":"image_31122025_03_59_34_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a9df1c6cb6a6ef89867ae5e491d1f71.jpg","text":"TemporaryFile(/tmp/multipartBody7835609641779308186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151683945,"filename":"image_31122025_03_59_44_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0e47d44497da07fb96d75d64ac16525.jpg","text":"TemporaryFile(/tmp/multipartBody4758924904077994254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151683945,"filename":"image_31122025_03_58_55_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827295","file1":"1401827294","file0":"1401827291","file4":"1401827301","file5":"1401827305","file3":"1401827297"},"map_files_photo_id_array":[{"photo_id":"1401827305","filename":"file5"},{"photo_id":"1401827295","filename":"file2"},{"photo_id":"1401827301","filename":"file4"},{"photo_id":"1401827294","filename":"file1"},{"photo_id":"1401827291","filename":"file0"},{"photo_id":"1401827297","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827294":["hashtag1","hashtag2"]},{"1401827305":["hashtag1","hashtag2"]},{"1401827295":["hashtag1","hashtag2"]},{"1401827297":["hashtag1","hashtag2"]},{"1401827301":["hashtag1","hashtag2"]},{"1401827291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827294, 1401827305, 1401827295, 1401827297, 1401827301, 1401827291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7857928276062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:27:42.796861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_18_2635.jpg', '/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_34_3573.jpg', '/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_39_2686.jpg', '/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_48_2664.jpg', '/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_54_2668.jpg', '/home/pi/Desktop/images/02112025/21/44/image_02112025_21_44_12_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_18_2635.jpg
/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_34_3573.jpg
/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_39_2686.jpg
/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_48_2664.jpg
/home/pi/Desktop/images/02112025/21/43/image_02112025_21_43_54_2668.jpg
/home/pi/Desktop/images/02112025/21/44/image_02112025_21_44_12_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827321","1401827312","1401827314","1401827316","1401827325","1401827319"],"photo_ids_order":["1401827312","1401827314","1401827316","1401827319","1401827321","1401827325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f54d1ac6d10f622edfff7d8201e48407.jpg","text":"TemporaryFile(/tmp/multipartBody6512547252235670813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151724711,"filename":"image_02112025_21_43_54_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3841c9ccc9e26a751dacd75289a10e8.jpg","text":"TemporaryFile(/tmp/multipartBody771008901793838888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151724711,"filename":"image_02112025_21_43_18_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82ad4b7e40adcab2b4b0a4b1dae80790.jpg","text":"TemporaryFile(/tmp/multipartBody626603642722392729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151724711,"filename":"image_02112025_21_43_34_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fb65a8e261b464045e17e09a8a4a77e.jpg","text":"TemporaryFile(/tmp/multipartBody4742069566161023707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151724711,"filename":"image_02112025_21_43_39_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00391998937d705c8d921df1a28915f0.jpg","text":"TemporaryFile(/tmp/multipartBody7710545792756908104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151724711,"filename":"image_02112025_21_44_12_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49b0395813a7db5d9cea9d92e3b3671c.jpg","text":"TemporaryFile(/tmp/multipartBody6853386797453848198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151724711,"filename":"image_02112025_21_43_48_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827316","file1":"1401827314","file0":"1401827312","file4":"1401827321","file5":"1401827325","file3":"1401827319"},"map_files_photo_id_array":[{"photo_id":"1401827325","filename":"file5"},{"photo_id":"1401827316","filename":"file2"},{"photo_id":"1401827321","filename":"file4"},{"photo_id":"1401827314","filename":"file1"},{"photo_id":"1401827312","filename":"file0"},{"photo_id":"1401827319","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827321":["hashtag1","hashtag2"]},{"1401827312":["hashtag1","hashtag2"]},{"1401827314":["hashtag1","hashtag2"]},{"1401827316":["hashtag1","hashtag2"]},{"1401827325":["hashtag1","hashtag2"]},{"1401827319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827321, 1401827312, 1401827314, 1401827316, 1401827325, 1401827319)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.17863464355469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:28:31.940388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/44/image_02112025_21_44_24_2738.jpg', '/home/pi/Desktop/images/02112025/21/44/image_02112025_21_44_33_2626.jpg', '/home/pi/Desktop/images/02112025/21/44/image_02112025_21_44_51_2806.jpg', '/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_13_1707.jpg', '/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_15_1716.jpg', '/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_18_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/44/image_02112025_21_44_24_2738.jpg
/home/pi/Desktop/images/02112025/21/44/image_02112025_21_44_33_2626.jpg
/home/pi/Desktop/images/02112025/21/44/image_02112025_21_44_51_2806.jpg
/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_13_1707.jpg
/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_15_1716.jpg
/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_18_3735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401827351","1401827348","1401827342","1401827344","1401827355","1401827340"],"photo_ids_order":["1401827340","1401827342","1401827344","1401827348","1401827351","1401827355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/693bf18fce7df24a7b48699e7096fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody8452123342852614105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151773836,"filename":"image_02112025_21_45_15_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03f1752e98758e916bc8691c3546afa5.jpg","text":"TemporaryFile(/tmp/multipartBody769711849913183004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151773836,"filename":"image_02112025_21_45_13_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e0d1a5bb5f7692b49ce2457355eb7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1758812182663909549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151773836,"filename":"image_02112025_21_44_33_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f814506bed796e66d9a86394439142f1.jpg","text":"TemporaryFile(/tmp/multipartBody4410690082517465138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151773836,"filename":"image_02112025_21_44_51_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35362116df31f49808e9ab9fa1cebe47.jpg","text":"TemporaryFile(/tmp/multipartBody4083295231546272786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151773836,"filename":"image_02112025_21_45_18_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e9bce278b527670a3b12e48b7424bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4695877750813291303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151773836,"filename":"image_02112025_21_44_24_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827344","file1":"1401827342","file0":"1401827340","file4":"1401827351","file5":"1401827355","file3":"1401827348"},"map_files_photo_id_array":[{"photo_id":"1401827355","filename":"file5"},{"photo_id":"1401827344","filename":"file2"},{"photo_id":"1401827351","filename":"file4"},{"photo_id":"1401827342","filename":"file1"},{"photo_id":"1401827340","filename":"file0"},{"photo_id":"1401827348","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827351":["hashtag1","hashtag2"]},{"1401827348":["hashtag1","hashtag2"]},{"1401827342":["hashtag1","hashtag2"]},{"1401827344":["hashtag1","hashtag2"]},{"1401827355":["hashtag1","hashtag2"]},{"1401827340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827351, 1401827348, 1401827342, 1401827344, 1401827355, 1401827340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.05724310874939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:29:22.878191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/03/59/image_31122025_04_00_04_9697.jpg', '/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_14_9598.jpg', '/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_24_10649.jpg', '/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_34_9805.jpg', '/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_44_9665.jpg', '/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_54_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/03/59/image_31122025_04_00_04_9697.jpg
/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_14_9598.jpg
/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_24_10649.jpg
/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_34_9805.jpg
/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_44_9665.jpg
/home/pi/Desktop/images/31122025/04/00/image_31122025_04_00_54_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827372","1401827380","1401827374","1401827368","1401827383","1401827376"],"photo_ids_order":["1401827368","1401827372","1401827374","1401827376","1401827380","1401827383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f943acc943318afde1b90d2e9e4a58f6.jpg","text":"TemporaryFile(/tmp/multipartBody1054292162999486639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151823438,"filename":"image_31122025_04_00_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9293a18a4cf78dccf1fb09036d620fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4896866113403395965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151823438,"filename":"image_31122025_04_00_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1624342f8840b0699da0f13fae7c894b.jpg","text":"TemporaryFile(/tmp/multipartBody6607266992075337569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151823438,"filename":"image_31122025_04_00_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c852ff343622c3e04c2b5091bb72c60.jpg","text":"TemporaryFile(/tmp/multipartBody6315948713013547414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151823438,"filename":"image_31122025_04_00_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/860aac5b026a380923dbd612753ee625.jpg","text":"TemporaryFile(/tmp/multipartBody4937352882623259864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151823438,"filename":"image_31122025_04_00_54_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1c3e620461e455fa66061b70daf8959.jpg","text":"TemporaryFile(/tmp/multipartBody7042255881641611847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151823438,"filename":"image_31122025_04_00_34_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827374","file1":"1401827372","file0":"1401827368","file4":"1401827380","file5":"1401827383","file3":"1401827376"},"map_files_photo_id_array":[{"photo_id":"1401827383","filename":"file5"},{"photo_id":"1401827374","filename":"file2"},{"photo_id":"1401827380","filename":"file4"},{"photo_id":"1401827372","filename":"file1"},{"photo_id":"1401827368","filename":"file0"},{"photo_id":"1401827376","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827372":["hashtag1","hashtag2"]},{"1401827380":["hashtag1","hashtag2"]},{"1401827374":["hashtag1","hashtag2"]},{"1401827368":["hashtag1","hashtag2"]},{"1401827383":["hashtag1","hashtag2"]},{"1401827376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827372, 1401827380, 1401827374, 1401827368, 1401827383, 1401827376)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.83744287490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:30:12.169183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_30_2748.jpg', '/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_37_3669.jpg', '/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_45_2761.jpg', '/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_03_2605.jpg', '/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_15_3598.jpg', '/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_27_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_30_2748.jpg
/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_37_3669.jpg
/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_45_2761.jpg
/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_03_2605.jpg
/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_15_3598.jpg
/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_27_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827392","1401827405","1401827401","1401827403","1401827396","1401827399"],"photo_ids_order":["1401827392","1401827396","1401827399","1401827401","1401827403","1401827405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3b8a7be2282e80b747f6a11db0de795.jpg","text":"TemporaryFile(/tmp/multipartBody7470494885437177699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151889665,"filename":"image_02112025_21_45_30_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21823ad4ad2fe4dcbf08b9a0d83456f3.jpg","text":"TemporaryFile(/tmp/multipartBody8127164117909831031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151889665,"filename":"image_02112025_21_46_27_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f3e1a00ca9cb8cabb7b94d4c5b214c0.jpg","text":"TemporaryFile(/tmp/multipartBody2057101090685234315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151889665,"filename":"image_02112025_21_46_03_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59c314a80a8aacc08ec09d7e9cca686e.jpg","text":"TemporaryFile(/tmp/multipartBody5091646485614563302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151889665,"filename":"image_02112025_21_46_15_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83463ffa706e7f19a04e3f4c86d8207c.jpg","text":"TemporaryFile(/tmp/multipartBody7396378230014095946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151889665,"filename":"image_02112025_21_45_37_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/115ea2df2cf423f6870a522f5478d834.jpg","text":"TemporaryFile(/tmp/multipartBody5908476844993839937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151889665,"filename":"image_02112025_21_45_45_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827399","file1":"1401827396","file0":"1401827392","file4":"1401827403","file5":"1401827405","file3":"1401827401"},"map_files_photo_id_array":[{"photo_id":"1401827405","filename":"file5"},{"photo_id":"1401827399","filename":"file2"},{"photo_id":"1401827403","filename":"file4"},{"photo_id":"1401827396","filename":"file1"},{"photo_id":"1401827392","filename":"file0"},{"photo_id":"1401827401","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827392":["hashtag1","hashtag2"]},{"1401827405":["hashtag1","hashtag2"]},{"1401827401":["hashtag1","hashtag2"]},{"1401827403":["hashtag1","hashtag2"]},{"1401827396":["hashtag1","hashtag2"]},{"1401827399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827392, 1401827405, 1401827401, 1401827403, 1401827396, 1401827399)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401827399 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/21/45/image_02112025_21_45_45_2761.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 72.60775947570801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:31:34.585602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_51_2960.jpg', '/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_57_3671.jpg', '/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_03_2733.jpg', '/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_18_3543.jpg', '/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_21_2706.jpg', '/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_33_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_51_2960.jpg
/home/pi/Desktop/images/02112025/21/46/image_02112025_21_46_57_3671.jpg
/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_03_2733.jpg
/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_18_3543.jpg
/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_21_2706.jpg
/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_33_3597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827429","1401827425","1401827433","1401827442","1401827436","1401827439"],"photo_ids_order":["1401827425","1401827429","1401827433","1401827436","1401827439","1401827442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efb7fea8e70aca0a62745685fb71aae7.jpg","text":"TemporaryFile(/tmp/multipartBody186074772554826901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151962181,"filename":"image_02112025_21_46_57_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2f40a0e72ab6f8d981d929b579b32a2.jpg","text":"TemporaryFile(/tmp/multipartBody6635084436769504425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151962181,"filename":"image_02112025_21_46_51_2960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c45137746996a8bf474eb080e8748de.jpg","text":"TemporaryFile(/tmp/multipartBody3466614159873560784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151962181,"filename":"image_02112025_21_47_03_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4cc5f3dded66443bbca7127e2fd45db2.jpg","text":"TemporaryFile(/tmp/multipartBody3479929431944513256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151962181,"filename":"image_02112025_21_47_33_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00bc245957334e4f985564cd9b22c617.jpg","text":"TemporaryFile(/tmp/multipartBody5686911058860704216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151962181,"filename":"image_02112025_21_47_18_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ff69f1a09e9a4d5286c301eba8dbd5b.jpg","text":"TemporaryFile(/tmp/multipartBody635676870345074053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767151962181,"filename":"image_02112025_21_47_21_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827433","file1":"1401827429","file0":"1401827425","file4":"1401827439","file5":"1401827442","file3":"1401827436"},"map_files_photo_id_array":[{"photo_id":"1401827442","filename":"file5"},{"photo_id":"1401827433","filename":"file2"},{"photo_id":"1401827439","filename":"file4"},{"photo_id":"1401827429","filename":"file1"},{"photo_id":"1401827425","filename":"file0"},{"photo_id":"1401827436","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827429":["hashtag1","hashtag2"]},{"1401827425":["hashtag1","hashtag2"]},{"1401827433":["hashtag1","hashtag2"]},{"1401827442":["hashtag1","hashtag2"]},{"1401827436":["hashtag1","hashtag2"]},{"1401827439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827429, 1401827425, 1401827433, 1401827442, 1401827436, 1401827439)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.93919634819031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:32:32.587960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_39_2809.jpg', '/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_45_3739.jpg', '/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_51_3576.jpg', '/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_57_2578.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_03_3753.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_08_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_39_2809.jpg
/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_45_3739.jpg
/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_51_3576.jpg
/home/pi/Desktop/images/02112025/21/47/image_02112025_21_47_57_2578.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_03_3753.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_08_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827467","1401827461","1401827464","1401827452","1401827454","1401827457"],"photo_ids_order":["1401827452","1401827454","1401827457","1401827461","1401827464","1401827467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bd2b4797f82663597eea704112de446.jpg","text":"TemporaryFile(/tmp/multipartBody3991300417179369241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152014489,"filename":"image_02112025_21_48_08_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cfd193538281a059c1be37b5c4e9df8.jpg","text":"TemporaryFile(/tmp/multipartBody8710481819749619379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152014489,"filename":"image_02112025_21_47_57_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2417a7feb16f87e84770539ea055d928.jpg","text":"TemporaryFile(/tmp/multipartBody3150465049333124136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152014489,"filename":"image_02112025_21_48_03_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05976661de0a845b2463a6c557b315dc.jpg","text":"TemporaryFile(/tmp/multipartBody8656867743141054422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152014489,"filename":"image_02112025_21_47_39_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/543d44532f28a46725cb1889ea987313.jpg","text":"TemporaryFile(/tmp/multipartBody4789056821255576637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152014489,"filename":"image_02112025_21_47_45_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26ce3a4454ae90a164aab307130b6891.jpg","text":"TemporaryFile(/tmp/multipartBody7939966832305847833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152014489,"filename":"image_02112025_21_47_51_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827457","file1":"1401827454","file0":"1401827452","file4":"1401827464","file5":"1401827467","file3":"1401827461"},"map_files_photo_id_array":[{"photo_id":"1401827467","filename":"file5"},{"photo_id":"1401827457","filename":"file2"},{"photo_id":"1401827464","filename":"file4"},{"photo_id":"1401827454","filename":"file1"},{"photo_id":"1401827452","filename":"file0"},{"photo_id":"1401827461","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827467":["hashtag1","hashtag2"]},{"1401827461":["hashtag1","hashtag2"]},{"1401827464":["hashtag1","hashtag2"]},{"1401827452":["hashtag1","hashtag2"]},{"1401827454":["hashtag1","hashtag2"]},{"1401827457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827467, 1401827461, 1401827464, 1401827452, 1401827454, 1401827457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.255786657333374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:33:11.888048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_12_3796.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_15_2628.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_17_2627.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_21_3664.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_24_2618.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_33_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_12_3796.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_15_2628.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_17_2627.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_21_3664.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_24_2618.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_33_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827473","1401827476","1401827478","1401827480","1401827474","1401827483"],"photo_ids_order":["1401827473","1401827474","1401827476","1401827478","1401827480","1401827483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c6f5e787c29f20fb926edffcd5652e1.jpg","text":"TemporaryFile(/tmp/multipartBody7521786599047342740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152053696,"filename":"image_02112025_21_48_12_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1298f9988e80dcaf171b7f26d3e827c5.jpg","text":"TemporaryFile(/tmp/multipartBody8396271429677662938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152053696,"filename":"image_02112025_21_48_17_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/faa5efb6b90f841764ee7ec88f467e67.jpg","text":"TemporaryFile(/tmp/multipartBody7883355415864028267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152053696,"filename":"image_02112025_21_48_21_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d8bcef943af6cc9e7fdaabf49e3f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody2525820000516770338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152053696,"filename":"image_02112025_21_48_24_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9a7a35011c24a49b5d34b0911944f8c.jpg","text":"TemporaryFile(/tmp/multipartBody3940830430361160239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152053696,"filename":"image_02112025_21_48_15_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/784686172e51181457efd49a8c0b5c74.jpg","text":"TemporaryFile(/tmp/multipartBody7275513711455626500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152053696,"filename":"image_02112025_21_48_33_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827476","file1":"1401827474","file0":"1401827473","file4":"1401827480","file5":"1401827483","file3":"1401827478"},"map_files_photo_id_array":[{"photo_id":"1401827483","filename":"file5"},{"photo_id":"1401827476","filename":"file2"},{"photo_id":"1401827480","filename":"file4"},{"photo_id":"1401827474","filename":"file1"},{"photo_id":"1401827473","filename":"file0"},{"photo_id":"1401827478","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827473":["hashtag1","hashtag2"]},{"1401827476":["hashtag1","hashtag2"]},{"1401827478":["hashtag1","hashtag2"]},{"1401827480":["hashtag1","hashtag2"]},{"1401827474":["hashtag1","hashtag2"]},{"1401827483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827473, 1401827476, 1401827478, 1401827480, 1401827474, 1401827483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36846590042114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:34:02.816029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/01/image_31122025_04_01_14_9735.jpg', '/home/pi/Desktop/images/31122025/04/01/image_31122025_04_01_24_9746.jpg', '/home/pi/Desktop/images/31122025/04/01/image_31122025_04_01_44_9604.jpg', '/home/pi/Desktop/images/31122025/04/01/image_31122025_04_01_54_9797.jpg', '/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_15_10769.jpg', '/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_24_9899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/01/image_31122025_04_01_14_9735.jpg
/home/pi/Desktop/images/31122025/04/01/image_31122025_04_01_24_9746.jpg
/home/pi/Desktop/images/31122025/04/01/image_31122025_04_01_44_9604.jpg
/home/pi/Desktop/images/31122025/04/01/image_31122025_04_01_54_9797.jpg
/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_15_10769.jpg
/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_24_9899.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827501","1401827497","1401827503","1401827499","1401827505","1401827508"],"photo_ids_order":["1401827497","1401827499","1401827501","1401827503","1401827505","1401827508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f7ead7e9b99c9bcfbec19223388ceb2.jpg","text":"TemporaryFile(/tmp/multipartBody3114624319620191648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152103501,"filename":"image_31122025_04_01_44_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0f97e070a3aa727fb096da680a139cf.jpg","text":"TemporaryFile(/tmp/multipartBody2816935020402919456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152103501,"filename":"image_31122025_04_01_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cf535975e3fe1d9335d80c5f9f55b33.jpg","text":"TemporaryFile(/tmp/multipartBody2786572623516047637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152103501,"filename":"image_31122025_04_01_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54293117c066ba100fe55d9abf161cee.jpg","text":"TemporaryFile(/tmp/multipartBody8006472050779070922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152103501,"filename":"image_31122025_04_01_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f2c5109a1cdcddb32c45e39ca99c0a8.jpg","text":"TemporaryFile(/tmp/multipartBody6824388807120795796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152103501,"filename":"image_31122025_04_02_15_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79632ed2cebb4ec0c01a6bd9df6dc7c4.jpg","text":"TemporaryFile(/tmp/multipartBody4327758770596774414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152103501,"filename":"image_31122025_04_02_24_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827501","file1":"1401827499","file0":"1401827497","file4":"1401827505","file5":"1401827508","file3":"1401827503"},"map_files_photo_id_array":[{"photo_id":"1401827508","filename":"file5"},{"photo_id":"1401827501","filename":"file2"},{"photo_id":"1401827505","filename":"file4"},{"photo_id":"1401827499","filename":"file1"},{"photo_id":"1401827497","filename":"file0"},{"photo_id":"1401827503","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827501":["hashtag1","hashtag2"]},{"1401827497":["hashtag1","hashtag2"]},{"1401827503":["hashtag1","hashtag2"]},{"1401827499":["hashtag1","hashtag2"]},{"1401827505":["hashtag1","hashtag2"]},{"1401827508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827501, 1401827497, 1401827503, 1401827499, 1401827505, 1401827508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3285117149353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:34:42.170688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_45_2794.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_50_2638.jpg', '/home/pi/Desktop/images/02112025/21/48/image_02112025_21_49_00_2843.jpg', '/home/pi/Desktop/images/02112025/21/49/image_02112025_21_49_06_2977.jpg', '/home/pi/Desktop/images/02112025/21/49/image_02112025_21_49_09_2704.jpg', '/home/pi/Desktop/images/02112025/21/49/image_02112025_21_49_21_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_45_2794.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_48_50_2638.jpg
/home/pi/Desktop/images/02112025/21/48/image_02112025_21_49_00_2843.jpg
/home/pi/Desktop/images/02112025/21/49/image_02112025_21_49_06_2977.jpg
/home/pi/Desktop/images/02112025/21/49/image_02112025_21_49_09_2704.jpg
/home/pi/Desktop/images/02112025/21/49/image_02112025_21_49_21_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827537","1401827531","1401827524","1401827533","1401827527","1401827529"],"photo_ids_order":["1401827524","1401827527","1401827529","1401827531","1401827533","1401827537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e38c79138115f22e66d1c7fa2a07a2da.jpg","text":"TemporaryFile(/tmp/multipartBody1599979297294180275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152144059,"filename":"image_02112025_21_49_21_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d60dda785168b21f17857468ffac05e7.jpg","text":"TemporaryFile(/tmp/multipartBody3881676708921063371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152144059,"filename":"image_02112025_21_49_06_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7b1cd68e40a32c1a60132d14d61c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody7697255384938814375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152144059,"filename":"image_02112025_21_48_45_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec2b6d6ef19b5728c88f45e94cbcefa6.jpg","text":"TemporaryFile(/tmp/multipartBody8456755041857882480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152144059,"filename":"image_02112025_21_49_09_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e41d7cbfcbfc6c4daf631c782e14e5d2.jpg","text":"TemporaryFile(/tmp/multipartBody4671692668795496931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152144059,"filename":"image_02112025_21_48_50_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63e0afa947f7933380a12d962d139236.jpg","text":"TemporaryFile(/tmp/multipartBody8081975440571808835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152144059,"filename":"image_02112025_21_49_00_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827529","file1":"1401827527","file0":"1401827524","file4":"1401827533","file5":"1401827537","file3":"1401827531"},"map_files_photo_id_array":[{"photo_id":"1401827537","filename":"file5"},{"photo_id":"1401827529","filename":"file2"},{"photo_id":"1401827533","filename":"file4"},{"photo_id":"1401827527","filename":"file1"},{"photo_id":"1401827524","filename":"file0"},{"photo_id":"1401827531","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827537":["hashtag1","hashtag2"]},{"1401827531":["hashtag1","hashtag2"]},{"1401827524":["hashtag1","hashtag2"]},{"1401827533":["hashtag1","hashtag2"]},{"1401827527":["hashtag1","hashtag2"]},{"1401827529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827537, 1401827531, 1401827524, 1401827533, 1401827527, 1401827529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69813108444214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:35:22.336806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_34_9616.jpg', '/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_44_9752.jpg', '/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_54_10638.jpg', '/home/pi/Desktop/images/31122025/04/02/image_31122025_04_03_04_9572.jpg', '/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_14_9777.jpg', '/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_25_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_34_9616.jpg
/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_44_9752.jpg
/home/pi/Desktop/images/31122025/04/02/image_31122025_04_02_54_10638.jpg
/home/pi/Desktop/images/31122025/04/02/image_31122025_04_03_04_9572.jpg
/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_14_9777.jpg
/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_25_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827546","1401827548","1401827557","1401827542","1401827551","1401827553"],"photo_ids_order":["1401827542","1401827546","1401827548","1401827551","1401827553","1401827557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e47bf4a0b3b7194694143ff21cf874f.jpg","text":"TemporaryFile(/tmp/multipartBody3637368854117348849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152182934,"filename":"image_31122025_04_02_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d1768a28acff432101efe6c24017f9c.jpg","text":"TemporaryFile(/tmp/multipartBody6901051556726425227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152182934,"filename":"image_31122025_04_02_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71e2d4f34e67023d4aa041da5629368d.jpg","text":"TemporaryFile(/tmp/multipartBody704787837898946480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152182934,"filename":"image_31122025_04_03_25_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92338a47a94863ac45758c7bc64c13c8.jpg","text":"TemporaryFile(/tmp/multipartBody1454169712506994518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152182934,"filename":"image_31122025_04_02_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7ce501a8763475f5c83c8905026b6d6.jpg","text":"TemporaryFile(/tmp/multipartBody3047984773020858403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152182934,"filename":"image_31122025_04_03_04_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/863f9193ed6d9b9a0d7a6d1e80963c55.jpg","text":"TemporaryFile(/tmp/multipartBody1126456872885818491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152182934,"filename":"image_31122025_04_03_14_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827548","file1":"1401827546","file0":"1401827542","file4":"1401827553","file5":"1401827557","file3":"1401827551"},"map_files_photo_id_array":[{"photo_id":"1401827557","filename":"file5"},{"photo_id":"1401827548","filename":"file2"},{"photo_id":"1401827553","filename":"file4"},{"photo_id":"1401827546","filename":"file1"},{"photo_id":"1401827542","filename":"file0"},{"photo_id":"1401827551","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827546":["hashtag1","hashtag2"]},{"1401827548":["hashtag1","hashtag2"]},{"1401827557":["hashtag1","hashtag2"]},{"1401827542":["hashtag1","hashtag2"]},{"1401827551":["hashtag1","hashtag2"]},{"1401827553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827546, 1401827548, 1401827557, 1401827542, 1401827551, 1401827553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07737183570862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:36:03.008176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_34_9677.jpg', '/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_44_10311.jpg', '/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_54_9673.jpg', '/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_09_14657.jpg', '/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_14_5031.jpg', '/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_34_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_34_9677.jpg
/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_44_10311.jpg
/home/pi/Desktop/images/31122025/04/03/image_31122025_04_03_54_9673.jpg
/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_09_14657.jpg
/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_14_5031.jpg
/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_34_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827567","1401827572","1401827575","1401827569","1401827571","1401827573"],"photo_ids_order":["1401827567","1401827569","1401827571","1401827572","1401827573","1401827575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a79f0aada55e434d086b15f4da31cfaf.jpg","text":"TemporaryFile(/tmp/multipartBody9155069045133446208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152223665,"filename":"image_31122025_04_03_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a0076320dc0be0b5c7a9da7e56b5c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1286173713205823279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152223665,"filename":"image_31122025_04_04_09_14657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31d8d4e8d7075a9f1f9d64e343c75033.jpg","text":"TemporaryFile(/tmp/multipartBody1102368116316794291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152223665,"filename":"image_31122025_04_04_34_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e828d8f429c2e6401e81ed8fdef175d.jpg","text":"TemporaryFile(/tmp/multipartBody1781802612676371753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152223665,"filename":"image_31122025_04_03_44_10311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c76560445c5b61956300575ee935be8.jpg","text":"TemporaryFile(/tmp/multipartBody1772107712444178332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152223665,"filename":"image_31122025_04_03_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc93a2c202fbbd4696707f16ade90ff4.jpg","text":"TemporaryFile(/tmp/multipartBody5419498173661245673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152223665,"filename":"image_31122025_04_04_14_5031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827571","file1":"1401827569","file0":"1401827567","file4":"1401827573","file5":"1401827575","file3":"1401827572"},"map_files_photo_id_array":[{"photo_id":"1401827575","filename":"file5"},{"photo_id":"1401827571","filename":"file2"},{"photo_id":"1401827573","filename":"file4"},{"photo_id":"1401827569","filename":"file1"},{"photo_id":"1401827567","filename":"file0"},{"photo_id":"1401827572","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827567":["hashtag1","hashtag2"]},{"1401827572":["hashtag1","hashtag2"]},{"1401827575":["hashtag1","hashtag2"]},{"1401827569":["hashtag1","hashtag2"]},{"1401827571":["hashtag1","hashtag2"]},{"1401827573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827567, 1401827572, 1401827575, 1401827569, 1401827571, 1401827573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28799271583557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:36:42.461961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_06_2986.jpg', '/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_09_2656.jpg', '/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_15_3909.jpg', '/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_53_2750.jpg', '/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_57_3721.jpg', '/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_02_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_06_2986.jpg
/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_09_2656.jpg
/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_15_3909.jpg
/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_53_2750.jpg
/home/pi/Desktop/images/02112025/21/50/image_02112025_21_50_57_3721.jpg
/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_02_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827599","1401827584","1401827593","1401827596","1401827602","1401827589"],"photo_ids_order":["1401827584","1401827589","1401827593","1401827596","1401827599","1401827602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dab9b8a8c9f7720d7b7fe6ab3d6eef46.jpg","text":"TemporaryFile(/tmp/multipartBody3872158032545289846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152264420,"filename":"image_02112025_21_50_57_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0a102c27ee6a45c82f08cc25558858d.jpg","text":"TemporaryFile(/tmp/multipartBody1648045457470471373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152264420,"filename":"image_02112025_21_50_06_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3c0dc729b8469261e88327ff04e1423.jpg","text":"TemporaryFile(/tmp/multipartBody998794406566433394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152264420,"filename":"image_02112025_21_50_15_3909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e23caf9c1f43b0505096f84802964dc.jpg","text":"TemporaryFile(/tmp/multipartBody2124756913976219323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152264420,"filename":"image_02112025_21_50_53_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d375584e6e13a82c1b3fb0e16e1e3ad.jpg","text":"TemporaryFile(/tmp/multipartBody564598233988942867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152264420,"filename":"image_02112025_21_51_02_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09144f66aae2151aceb8e77f004ab55c.jpg","text":"TemporaryFile(/tmp/multipartBody5586229607963566276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152264420,"filename":"image_02112025_21_50_09_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827593","file1":"1401827589","file0":"1401827584","file4":"1401827599","file5":"1401827602","file3":"1401827596"},"map_files_photo_id_array":[{"photo_id":"1401827602","filename":"file5"},{"photo_id":"1401827593","filename":"file2"},{"photo_id":"1401827599","filename":"file4"},{"photo_id":"1401827589","filename":"file1"},{"photo_id":"1401827584","filename":"file0"},{"photo_id":"1401827596","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827599":["hashtag1","hashtag2"]},{"1401827584":["hashtag1","hashtag2"]},{"1401827593":["hashtag1","hashtag2"]},{"1401827596":["hashtag1","hashtag2"]},{"1401827602":["hashtag1","hashtag2"]},{"1401827589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827599, 1401827584, 1401827593, 1401827596, 1401827602, 1401827589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2468945980072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:37:22.671773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_44_9680.jpg', '/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_54_9895.jpg', '/home/pi/Desktop/images/31122025/04/04/image_31122025_04_05_04_9808.jpg', '/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_14_9919.jpg', '/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_25_10715.jpg', '/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_34_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_44_9680.jpg
/home/pi/Desktop/images/31122025/04/04/image_31122025_04_04_54_9895.jpg
/home/pi/Desktop/images/31122025/04/04/image_31122025_04_05_04_9808.jpg
/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_14_9919.jpg
/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_25_10715.jpg
/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_34_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827612","1401827606","1401827609","1401827616","1401827619","1401827607"],"photo_ids_order":["1401827606","1401827607","1401827609","1401827612","1401827616","1401827619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/761db352da72dfe37e84f1e02915454a.jpg","text":"TemporaryFile(/tmp/multipartBody1714195171572002392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152303265,"filename":"image_31122025_04_05_14_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a35dc4ac2fd3bbc37ac974aa42d557c6.jpg","text":"TemporaryFile(/tmp/multipartBody4604749773636696668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152303265,"filename":"image_31122025_04_04_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9da2f40345b94a3b34511209a7ae719e.jpg","text":"TemporaryFile(/tmp/multipartBody6868321744448701549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152303265,"filename":"image_31122025_04_05_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26a556cea1c857d0153c8a4f945d812a.jpg","text":"TemporaryFile(/tmp/multipartBody1972886430232714739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152303265,"filename":"image_31122025_04_05_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c62744e48aa694b7c7b9c9cae05937c.jpg","text":"TemporaryFile(/tmp/multipartBody609602719093488617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152303265,"filename":"image_31122025_04_05_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eca7d914f602410804726902a3a064f8.jpg","text":"TemporaryFile(/tmp/multipartBody1197257969418561774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152303265,"filename":"image_31122025_04_04_54_9895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827609","file1":"1401827607","file0":"1401827606","file4":"1401827616","file5":"1401827619","file3":"1401827612"},"map_files_photo_id_array":[{"photo_id":"1401827619","filename":"file5"},{"photo_id":"1401827609","filename":"file2"},{"photo_id":"1401827616","filename":"file4"},{"photo_id":"1401827607","filename":"file1"},{"photo_id":"1401827606","filename":"file0"},{"photo_id":"1401827612","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827612":["hashtag1","hashtag2"]},{"1401827606":["hashtag1","hashtag2"]},{"1401827609":["hashtag1","hashtag2"]},{"1401827616":["hashtag1","hashtag2"]},{"1401827619":["hashtag1","hashtag2"]},{"1401827607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827612, 1401827606, 1401827609, 1401827616, 1401827619, 1401827607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.933167934417725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:38:03.261818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_44_9654.jpg', '/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_55_10689.jpg', '/home/pi/Desktop/images/31122025/04/05/image_31122025_04_06_05_9897.jpg', '/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_14_9757.jpg', '/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_24_9669.jpg', '/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_35_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_44_9654.jpg
/home/pi/Desktop/images/31122025/04/05/image_31122025_04_05_55_10689.jpg
/home/pi/Desktop/images/31122025/04/05/image_31122025_04_06_05_9897.jpg
/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_14_9757.jpg
/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_24_9669.jpg
/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_35_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827642","1401827633","1401827635","1401827638","1401827631","1401827628"],"photo_ids_order":["1401827628","1401827631","1401827633","1401827635","1401827638","1401827642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b7083aabb41ad53617ee4eed8b8b8a0.jpg","text":"TemporaryFile(/tmp/multipartBody2518332776710591292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152343913,"filename":"image_31122025_04_06_35_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5153a95991da27198295facef2535572.jpg","text":"TemporaryFile(/tmp/multipartBody8026711380353489714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152343913,"filename":"image_31122025_04_06_05_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b13e541cfc84bab2c4bd4d16d5e7a0e5.jpg","text":"TemporaryFile(/tmp/multipartBody4727686355514490488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152343913,"filename":"image_31122025_04_06_14_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/240d19bce0617e27071982aab75a676c.jpg","text":"TemporaryFile(/tmp/multipartBody3494847831199463054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152343913,"filename":"image_31122025_04_06_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ea6f70e66cf7541f76a03bb4090d09a.jpg","text":"TemporaryFile(/tmp/multipartBody6573700854751581300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152343913,"filename":"image_31122025_04_05_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/205e9b3cd5a88c30b7e3fc853f0086c3.jpg","text":"TemporaryFile(/tmp/multipartBody5111471467757032925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152343913,"filename":"image_31122025_04_05_44_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827633","file1":"1401827631","file0":"1401827628","file4":"1401827638","file5":"1401827642","file3":"1401827635"},"map_files_photo_id_array":[{"photo_id":"1401827642","filename":"file5"},{"photo_id":"1401827633","filename":"file2"},{"photo_id":"1401827638","filename":"file4"},{"photo_id":"1401827631","filename":"file1"},{"photo_id":"1401827628","filename":"file0"},{"photo_id":"1401827635","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827642":["hashtag1","hashtag2"]},{"1401827633":["hashtag1","hashtag2"]},{"1401827635":["hashtag1","hashtag2"]},{"1401827638":["hashtag1","hashtag2"]},{"1401827631":["hashtag1","hashtag2"]},{"1401827628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827642, 1401827633, 1401827635, 1401827638, 1401827631, 1401827628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.793288707733154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:38:42.886017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_27_3606.jpg', '/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_29_2620.jpg', '/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_47_2870.jpg', '/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_53_2726.jpg', '/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_57_3707.jpg', '/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_02_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_27_3606.jpg
/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_29_2620.jpg
/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_47_2870.jpg
/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_53_2726.jpg
/home/pi/Desktop/images/02112025/21/51/image_02112025_21_51_57_3707.jpg
/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_02_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827674","1401827659","1401827664","1401827667","1401827672","1401827669"],"photo_ids_order":["1401827659","1401827664","1401827667","1401827669","1401827672","1401827674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55aba25ba553e4dc62c1edff3b565ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4310943107388551849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152384800,"filename":"image_02112025_21_52_02_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae18f74457f19f784409a579a057bdc9.jpg","text":"TemporaryFile(/tmp/multipartBody7546380586109022716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152384800,"filename":"image_02112025_21_51_27_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7719f831bd828e5c95c9ea634430397f.jpg","text":"TemporaryFile(/tmp/multipartBody7195755227682072018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152384800,"filename":"image_02112025_21_51_29_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f5c4ee9fd596f5ab39a88a1d9f061f5.jpg","text":"TemporaryFile(/tmp/multipartBody382445378155923789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152384800,"filename":"image_02112025_21_51_47_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53e07a13a559713cbac5b9ce0485532d.jpg","text":"TemporaryFile(/tmp/multipartBody1506310493193884048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152384800,"filename":"image_02112025_21_51_57_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94525bf008225b6a4299b8fd8ecb1596.jpg","text":"TemporaryFile(/tmp/multipartBody409925176103593954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152384800,"filename":"image_02112025_21_51_53_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827667","file1":"1401827664","file0":"1401827659","file4":"1401827672","file5":"1401827674","file3":"1401827669"},"map_files_photo_id_array":[{"photo_id":"1401827674","filename":"file5"},{"photo_id":"1401827667","filename":"file2"},{"photo_id":"1401827672","filename":"file4"},{"photo_id":"1401827664","filename":"file1"},{"photo_id":"1401827659","filename":"file0"},{"photo_id":"1401827669","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827674":["hashtag1","hashtag2"]},{"1401827659":["hashtag1","hashtag2"]},{"1401827664":["hashtag1","hashtag2"]},{"1401827667":["hashtag1","hashtag2"]},{"1401827672":["hashtag1","hashtag2"]},{"1401827669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827674, 1401827659, 1401827664, 1401827667, 1401827672, 1401827669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22093605995178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:39:32.118937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_14_2590.jpg', '/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_29_1604.jpg', '/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_35_2624.jpg', '/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_38_2544.jpg', '/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_42_3873.jpg', '/home/pi/Desktop/images/02112025/21/53/image_02112025_21_53_29_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_14_2590.jpg
/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_29_1604.jpg
/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_35_2624.jpg
/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_38_2544.jpg
/home/pi/Desktop/images/02112025/21/52/image_02112025_21_52_42_3873.jpg
/home/pi/Desktop/images/02112025/21/53/image_02112025_21_53_29_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827683","1401827686","1401827697","1401827700","1401827690","1401827693"],"photo_ids_order":["1401827683","1401827686","1401827690","1401827693","1401827697","1401827700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5446e02f33f3bc919b704119b0a50c6.jpg","text":"TemporaryFile(/tmp/multipartBody8196044769833774072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152434046,"filename":"image_02112025_21_52_14_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1bf7b2c025805a51d573e0437ccf045.jpg","text":"TemporaryFile(/tmp/multipartBody1334318138747771631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152434046,"filename":"image_02112025_21_52_29_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44d8eeb04b44b1ea4f24ff9ae655c10f.jpg","text":"TemporaryFile(/tmp/multipartBody2108514311111834673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152434046,"filename":"image_02112025_21_52_42_3873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7a92ea8ee8ed33f0f974a349c000dbd.jpg","text":"TemporaryFile(/tmp/multipartBody7297378485886170562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152434046,"filename":"image_02112025_21_53_29_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f8fcd6a985eb9dd9f1334a8937c4339.jpg","text":"TemporaryFile(/tmp/multipartBody9011360521339071857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152434046,"filename":"image_02112025_21_52_35_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bb2ac9a75043eb0922dbdc298f680a6.jpg","text":"TemporaryFile(/tmp/multipartBody7251039079262768151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152434046,"filename":"image_02112025_21_52_38_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827690","file1":"1401827686","file0":"1401827683","file4":"1401827697","file5":"1401827700","file3":"1401827693"},"map_files_photo_id_array":[{"photo_id":"1401827700","filename":"file5"},{"photo_id":"1401827690","filename":"file2"},{"photo_id":"1401827697","filename":"file4"},{"photo_id":"1401827686","filename":"file1"},{"photo_id":"1401827683","filename":"file0"},{"photo_id":"1401827693","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827683":["hashtag1","hashtag2"]},{"1401827686":["hashtag1","hashtag2"]},{"1401827697":["hashtag1","hashtag2"]},{"1401827700":["hashtag1","hashtag2"]},{"1401827690":["hashtag1","hashtag2"]},{"1401827693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827683, 1401827686, 1401827697, 1401827700, 1401827690, 1401827693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48080134391785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:40:12.255688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/53/image_02112025_21_53_42_3767.jpg', '/home/pi/Desktop/images/02112025/21/53/image_02112025_21_53_44_2655.jpg', '/home/pi/Desktop/images/02112025/21/53/image_02112025_21_53_59_2943.jpg', '/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_08_3651.jpg', '/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_11_2549.jpg', '/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_17_2927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/53/image_02112025_21_53_42_3767.jpg
/home/pi/Desktop/images/02112025/21/53/image_02112025_21_53_44_2655.jpg
/home/pi/Desktop/images/02112025/21/53/image_02112025_21_53_59_2943.jpg
/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_08_3651.jpg
/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_11_2549.jpg
/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_17_2927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827717","1401827720","1401827710","1401827707","1401827712","1401827706"],"photo_ids_order":["1401827706","1401827707","1401827710","1401827712","1401827717","1401827720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d14b751715a3178aa6a55f3d8b9ffc4.jpg","text":"TemporaryFile(/tmp/multipartBody4392491598671176345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152474038,"filename":"image_02112025_21_54_11_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f44c8083030751e42ec58ab4a1596e5.jpg","text":"TemporaryFile(/tmp/multipartBody3754498875701117535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152474038,"filename":"image_02112025_21_54_17_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea3344bc0311081cc06f16dc7a9d4f7c.jpg","text":"TemporaryFile(/tmp/multipartBody2753994809424339944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152474038,"filename":"image_02112025_21_53_59_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e30e2f3185b086556087c99c3a83c883.jpg","text":"TemporaryFile(/tmp/multipartBody8439304552200272409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152474038,"filename":"image_02112025_21_53_44_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4a446dc6bb7eaa3a1d95b3921699a85.jpg","text":"TemporaryFile(/tmp/multipartBody4624994171508067314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152474038,"filename":"image_02112025_21_54_08_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b7c1ff7da4f7108afe5c7dbbef32ee3.jpg","text":"TemporaryFile(/tmp/multipartBody4412359916613956164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152474038,"filename":"image_02112025_21_53_42_3767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827710","file1":"1401827707","file0":"1401827706","file4":"1401827717","file5":"1401827720","file3":"1401827712"},"map_files_photo_id_array":[{"photo_id":"1401827720","filename":"file5"},{"photo_id":"1401827710","filename":"file2"},{"photo_id":"1401827717","filename":"file4"},{"photo_id":"1401827707","filename":"file1"},{"photo_id":"1401827706","filename":"file0"},{"photo_id":"1401827712","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827717":["hashtag1","hashtag2"]},{"1401827720":["hashtag1","hashtag2"]},{"1401827710":["hashtag1","hashtag2"]},{"1401827707":["hashtag1","hashtag2"]},{"1401827712":["hashtag1","hashtag2"]},{"1401827706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827717, 1401827720, 1401827710, 1401827707, 1401827712, 1401827706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35099744796753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:41:03.124638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_44_9654.jpg', '/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_54_9735.jpg', '/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_14_9502.jpg', '/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_24_9597.jpg', '/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_34_10617.jpg', '/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_44_9654.jpg
/home/pi/Desktop/images/31122025/04/06/image_31122025_04_06_54_9735.jpg
/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_14_9502.jpg
/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_24_9597.jpg
/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_34_10617.jpg
/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_44_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827741","1401827744","1401827747","1401827740","1401827745","1401827739"],"photo_ids_order":["1401827739","1401827740","1401827741","1401827744","1401827745","1401827747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c33964e0026db5ab48f758398cf4a53.jpg","text":"TemporaryFile(/tmp/multipartBody8921054369294742616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152523794,"filename":"image_31122025_04_07_14_9502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e433bc14a73fd05be4ee36e19a9ea93.jpg","text":"TemporaryFile(/tmp/multipartBody4353798040704383671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152523794,"filename":"image_31122025_04_07_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de80d9e001c1e4a3f6e93363661c630c.jpg","text":"TemporaryFile(/tmp/multipartBody4474393776538750187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152523794,"filename":"image_31122025_04_07_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cb403bdf90d56423583d937b7e83046.jpg","text":"TemporaryFile(/tmp/multipartBody534891820051250253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152523794,"filename":"image_31122025_04_06_54_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/867ee57a7c27faa5d3c6266e55071e47.jpg","text":"TemporaryFile(/tmp/multipartBody3998790411364301506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152523794,"filename":"image_31122025_04_07_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49eeb811416e382dc7c4eccec80ae007.jpg","text":"TemporaryFile(/tmp/multipartBody2862528047629084473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152523794,"filename":"image_31122025_04_06_44_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827741","file1":"1401827740","file0":"1401827739","file4":"1401827745","file5":"1401827747","file3":"1401827744"},"map_files_photo_id_array":[{"photo_id":"1401827747","filename":"file5"},{"photo_id":"1401827741","filename":"file2"},{"photo_id":"1401827745","filename":"file4"},{"photo_id":"1401827740","filename":"file1"},{"photo_id":"1401827739","filename":"file0"},{"photo_id":"1401827744","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827741":["hashtag1","hashtag2"]},{"1401827744":["hashtag1","hashtag2"]},{"1401827747":["hashtag1","hashtag2"]},{"1401827740":["hashtag1","hashtag2"]},{"1401827745":["hashtag1","hashtag2"]},{"1401827739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827741, 1401827744, 1401827747, 1401827740, 1401827745, 1401827739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.217199087142944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:41:42.502092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_21_3685.jpg', '/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_33_3742.jpg', '/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_35_2579.jpg', '/home/pi/Desktop/images/02112025/21/55/image_02112025_21_55_02_2802.jpg', '/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_05_2631.jpg', '/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_17_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_21_3685.jpg
/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_33_3742.jpg
/home/pi/Desktop/images/02112025/21/54/image_02112025_21_54_35_2579.jpg
/home/pi/Desktop/images/02112025/21/55/image_02112025_21_55_02_2802.jpg
/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_05_2631.jpg
/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_17_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827756","1401827770","1401827764","1401827761","1401827769","1401827766"],"photo_ids_order":["1401827756","1401827761","1401827764","1401827766","1401827769","1401827770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67bec1dae0661b1458d4e0576ae660f5.jpg","text":"TemporaryFile(/tmp/multipartBody7421253369293008589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152564398,"filename":"image_02112025_21_54_21_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfd6aa1520861a8cf1265000843ce206.jpg","text":"TemporaryFile(/tmp/multipartBody1215323680826961116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152564398,"filename":"image_02112025_21_56_17_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68ad3dfd00cd0e6763af74fc83be961e.jpg","text":"TemporaryFile(/tmp/multipartBody7743346664316467927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152564398,"filename":"image_02112025_21_54_35_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c971d1a523bd89422bbebb7123965755.jpg","text":"TemporaryFile(/tmp/multipartBody636287515399392272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152564398,"filename":"image_02112025_21_54_33_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3735282b0914aecd44ba59f3acac3a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3525078793044282298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152564398,"filename":"image_02112025_21_56_05_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c0000de1d470f56da2ff83602de0827.jpg","text":"TemporaryFile(/tmp/multipartBody2751295929890552179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152564398,"filename":"image_02112025_21_55_02_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827764","file1":"1401827761","file0":"1401827756","file4":"1401827769","file5":"1401827770","file3":"1401827766"},"map_files_photo_id_array":[{"photo_id":"1401827770","filename":"file5"},{"photo_id":"1401827764","filename":"file2"},{"photo_id":"1401827769","filename":"file4"},{"photo_id":"1401827761","filename":"file1"},{"photo_id":"1401827756","filename":"file0"},{"photo_id":"1401827766","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827756":["hashtag1","hashtag2"]},{"1401827770":["hashtag1","hashtag2"]},{"1401827764":["hashtag1","hashtag2"]},{"1401827761":["hashtag1","hashtag2"]},{"1401827769":["hashtag1","hashtag2"]},{"1401827766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827756, 1401827770, 1401827764, 1401827761, 1401827769, 1401827766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97657513618469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:42:22.688728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_54_9788.jpg', '/home/pi/Desktop/images/31122025/04/07/image_31122025_04_08_05_10637.jpg', '/home/pi/Desktop/images/31122025/04/08/image_31122025_04_08_14_9794.jpg', '/home/pi/Desktop/images/31122025/04/08/image_31122025_04_08_24_9620.jpg', '/home/pi/Desktop/images/31122025/04/08/image_31122025_04_08_44_10616.jpg', '/home/pi/Desktop/images/31122025/04/08/image_31122025_04_08_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/07/image_31122025_04_07_54_9788.jpg
/home/pi/Desktop/images/31122025/04/07/image_31122025_04_08_05_10637.jpg
/home/pi/Desktop/images/31122025/04/08/image_31122025_04_08_14_9794.jpg
/home/pi/Desktop/images/31122025/04/08/image_31122025_04_08_24_9620.jpg
/home/pi/Desktop/images/31122025/04/08/image_31122025_04_08_44_10616.jpg
/home/pi/Desktop/images/31122025/04/08/image_31122025_04_08_54_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827783","1401827777","1401827779","1401827798","1401827792","1401827774"],"photo_ids_order":["1401827774","1401827777","1401827779","1401827783","1401827792","1401827798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e22fe5cba507f1b063d44cdb167c0d7f.jpg","text":"TemporaryFile(/tmp/multipartBody7661024865741876709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152603277,"filename":"image_31122025_04_08_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8f5bc6c1bcad80d1164ad2f8e8c63e5.jpg","text":"TemporaryFile(/tmp/multipartBody6172390839416637608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152603277,"filename":"image_31122025_04_08_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5e997f7773a1a6cf5a774d6b87f432e.jpg","text":"TemporaryFile(/tmp/multipartBody358585159585876530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152603277,"filename":"image_31122025_04_08_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8a8b8eb8da0a71307cc557e922a6494.jpg","text":"TemporaryFile(/tmp/multipartBody6985172869313099731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152603277,"filename":"image_31122025_04_08_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0037125ce2810b7ee4500333daf70879.jpg","text":"TemporaryFile(/tmp/multipartBody2532819864082177927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152603277,"filename":"image_31122025_04_08_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ace6420c066b8ea3ad8c8640b40c78e2.jpg","text":"TemporaryFile(/tmp/multipartBody6197492996632215920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152603277,"filename":"image_31122025_04_07_54_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827779","file1":"1401827777","file0":"1401827774","file4":"1401827792","file5":"1401827798","file3":"1401827783"},"map_files_photo_id_array":[{"photo_id":"1401827798","filename":"file5"},{"photo_id":"1401827779","filename":"file2"},{"photo_id":"1401827792","filename":"file4"},{"photo_id":"1401827777","filename":"file1"},{"photo_id":"1401827774","filename":"file0"},{"photo_id":"1401827783","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827783":["hashtag1","hashtag2"]},{"1401827777":["hashtag1","hashtag2"]},{"1401827779":["hashtag1","hashtag2"]},{"1401827798":["hashtag1","hashtag2"]},{"1401827792":["hashtag1","hashtag2"]},{"1401827774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827783, 1401827777, 1401827779, 1401827798, 1401827792, 1401827774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5941002368927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:43:02.507805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/08/image_31122025_04_09_04_9698.jpg', '/home/pi/Desktop/images/31122025/04/09/image_31122025_04_09_14_10773.jpg', '/home/pi/Desktop/images/31122025/04/09/image_31122025_04_09_34_9730.jpg', '/home/pi/Desktop/images/31122025/04/09/image_31122025_04_09_45_10666.jpg', '/home/pi/Desktop/images/31122025/04/09/image_31122025_04_09_54_9669.jpg', '/home/pi/Desktop/images/31122025/04/09/image_31122025_04_10_05_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/08/image_31122025_04_09_04_9698.jpg
/home/pi/Desktop/images/31122025/04/09/image_31122025_04_09_14_10773.jpg
/home/pi/Desktop/images/31122025/04/09/image_31122025_04_09_34_9730.jpg
/home/pi/Desktop/images/31122025/04/09/image_31122025_04_09_45_10666.jpg
/home/pi/Desktop/images/31122025/04/09/image_31122025_04_09_54_9669.jpg
/home/pi/Desktop/images/31122025/04/09/image_31122025_04_10_05_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827813","1401827807","1401827809","1401827806","1401827811","1401827808"],"photo_ids_order":["1401827806","1401827807","1401827808","1401827809","1401827811","1401827813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba4feba8ca8a3525e989e906dba0a120.jpg","text":"TemporaryFile(/tmp/multipartBody4545860425419656369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152643152,"filename":"image_31122025_04_10_05_10455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f1f2fb9209d97246d7765c2ed1e4ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8818478780311945019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152643152,"filename":"image_31122025_04_09_14_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/708b6df1e4b69f90b13511438f6998b1.jpg","text":"TemporaryFile(/tmp/multipartBody3817126070379292639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152643152,"filename":"image_31122025_04_09_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99c59626e9fffb48df31861afe763c19.jpg","text":"TemporaryFile(/tmp/multipartBody3978312282985825790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152643152,"filename":"image_31122025_04_09_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0b0f30135289bb286dce525b2356482.jpg","text":"TemporaryFile(/tmp/multipartBody3589807742668176982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152643152,"filename":"image_31122025_04_09_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fddf5a96063537da5de999bd1ae4aa7c.jpg","text":"TemporaryFile(/tmp/multipartBody1853712141369121951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152643152,"filename":"image_31122025_04_09_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827808","file1":"1401827807","file0":"1401827806","file4":"1401827811","file5":"1401827813","file3":"1401827809"},"map_files_photo_id_array":[{"photo_id":"1401827813","filename":"file5"},{"photo_id":"1401827808","filename":"file2"},{"photo_id":"1401827811","filename":"file4"},{"photo_id":"1401827807","filename":"file1"},{"photo_id":"1401827806","filename":"file0"},{"photo_id":"1401827809","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827813":["hashtag1","hashtag2"]},{"1401827807":["hashtag1","hashtag2"]},{"1401827809":["hashtag1","hashtag2"]},{"1401827806":["hashtag1","hashtag2"]},{"1401827811":["hashtag1","hashtag2"]},{"1401827808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827813, 1401827807, 1401827809, 1401827806, 1401827811, 1401827808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13649106025696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:43:41.879490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_26_2820.jpg', '/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_56_2517.jpg', '/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_59_3601.jpg', '/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_05_2773.jpg', '/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_07_2653.jpg', '/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_11_3833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_26_2820.jpg
/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_56_2517.jpg
/home/pi/Desktop/images/02112025/21/56/image_02112025_21_56_59_3601.jpg
/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_05_2773.jpg
/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_07_2653.jpg
/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_11_3833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827843","1401827839","1401827833","1401827836","1401827830","1401827826"],"photo_ids_order":["1401827826","1401827830","1401827833","1401827836","1401827839","1401827843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62c4876b7805c3b2811b9b8d13084f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4365171984122369371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152683764,"filename":"image_02112025_21_57_11_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8d14bf01a0dda6689f2d19cebeeba6b.jpg","text":"TemporaryFile(/tmp/multipartBody4717249375543112941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152683764,"filename":"image_02112025_21_57_07_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0aed405ee9f2426032a03c50e8e780f5.jpg","text":"TemporaryFile(/tmp/multipartBody7975748476770106072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152683764,"filename":"image_02112025_21_56_59_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebbaa0faa3940601508575903d496df4.jpg","text":"TemporaryFile(/tmp/multipartBody4061837031829480753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152683764,"filename":"image_02112025_21_57_05_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6a125dc5b73883a8ce01f18db19b49f.jpg","text":"TemporaryFile(/tmp/multipartBody2001447020456496995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152683764,"filename":"image_02112025_21_56_56_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5350162701be35df41f52e3f4b8f2dce.jpg","text":"TemporaryFile(/tmp/multipartBody3556466895061586066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152683764,"filename":"image_02112025_21_56_26_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827833","file1":"1401827830","file0":"1401827826","file4":"1401827839","file5":"1401827843","file3":"1401827836"},"map_files_photo_id_array":[{"photo_id":"1401827843","filename":"file5"},{"photo_id":"1401827833","filename":"file2"},{"photo_id":"1401827839","filename":"file4"},{"photo_id":"1401827830","filename":"file1"},{"photo_id":"1401827826","filename":"file0"},{"photo_id":"1401827836","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827843":["hashtag1","hashtag2"]},{"1401827839":["hashtag1","hashtag2"]},{"1401827833":["hashtag1","hashtag2"]},{"1401827836":["hashtag1","hashtag2"]},{"1401827830":["hashtag1","hashtag2"]},{"1401827826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827843, 1401827839, 1401827833, 1401827836, 1401827830, 1401827826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69612741470337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:44:22.155671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_14_9761.jpg', '/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_24_9770.jpg', '/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_34_9698.jpg', '/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_45_10643.jpg', '/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_54_9660.jpg', '/home/pi/Desktop/images/31122025/04/10/image_31122025_04_11_04_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_14_9761.jpg
/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_24_9770.jpg
/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_34_9698.jpg
/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_45_10643.jpg
/home/pi/Desktop/images/31122025/04/10/image_31122025_04_10_54_9660.jpg
/home/pi/Desktop/images/31122025/04/10/image_31122025_04_11_04_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827861","1401827858","1401827854","1401827865","1401827859","1401827850"],"photo_ids_order":["1401827850","1401827854","1401827858","1401827859","1401827861","1401827865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb1f6e98ae19069b129ae565bb2b4037.jpg","text":"TemporaryFile(/tmp/multipartBody7462220614422234886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152722800,"filename":"image_31122025_04_10_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f60b2e8c3e05abaf05183f9dc9772567.jpg","text":"TemporaryFile(/tmp/multipartBody8185694427465540422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152722800,"filename":"image_31122025_04_10_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d0d772e0c8a362a16d829120dfa32b6.jpg","text":"TemporaryFile(/tmp/multipartBody8669218254036187085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152722800,"filename":"image_31122025_04_10_24_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c582cd5475d8983935e63a380a0eb3a.jpg","text":"TemporaryFile(/tmp/multipartBody2978087164875012539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152722800,"filename":"image_31122025_04_11_04_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc0eaa49823163ffc13a0cc79094c9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7941044125266347760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152722800,"filename":"image_31122025_04_10_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7e6eb9c0bd3c618732c9d945759fc8b.jpg","text":"TemporaryFile(/tmp/multipartBody7950035390327598656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152722800,"filename":"image_31122025_04_10_14_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827858","file1":"1401827854","file0":"1401827850","file4":"1401827861","file5":"1401827865","file3":"1401827859"},"map_files_photo_id_array":[{"photo_id":"1401827865","filename":"file5"},{"photo_id":"1401827858","filename":"file2"},{"photo_id":"1401827861","filename":"file4"},{"photo_id":"1401827854","filename":"file1"},{"photo_id":"1401827850","filename":"file0"},{"photo_id":"1401827859","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827861":["hashtag1","hashtag2"]},{"1401827858":["hashtag1","hashtag2"]},{"1401827854":["hashtag1","hashtag2"]},{"1401827865":["hashtag1","hashtag2"]},{"1401827859":["hashtag1","hashtag2"]},{"1401827850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827861, 1401827858, 1401827854, 1401827865, 1401827859, 1401827850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02637076377869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:45:02.760815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_15_10603.jpg', '/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_24_9647.jpg', '/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_34_9702.jpg', '/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_45_10688.jpg', '/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_54_9571.jpg', '/home/pi/Desktop/images/31122025/04/11/image_31122025_04_12_04_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_15_10603.jpg
/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_24_9647.jpg
/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_34_9702.jpg
/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_45_10688.jpg
/home/pi/Desktop/images/31122025/04/11/image_31122025_04_11_54_9571.jpg
/home/pi/Desktop/images/31122025/04/11/image_31122025_04_12_04_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827882","1401827875","1401827884","1401827891","1401827879","1401827888"],"photo_ids_order":["1401827875","1401827879","1401827882","1401827884","1401827888","1401827891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8a18a71cec89c54792fcbd6f55221bc.jpg","text":"TemporaryFile(/tmp/multipartBody8808231571551863334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152763452,"filename":"image_31122025_04_11_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0525faf52aca84475726b191e50e9613.jpg","text":"TemporaryFile(/tmp/multipartBody6480891260392487064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152763452,"filename":"image_31122025_04_11_15_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4424431badceb955a4e9aaa9f635bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3842826797489819499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152763452,"filename":"image_31122025_04_11_45_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eee329b6adbbd71c86293d689fd9d2c8.jpg","text":"TemporaryFile(/tmp/multipartBody4145083904761362144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152763452,"filename":"image_31122025_04_12_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/972c1a822295a69823e5971dfdc6bf2e.jpg","text":"TemporaryFile(/tmp/multipartBody588707742225272982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152763452,"filename":"image_31122025_04_11_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7cb278cc7e52fe14e1fcfba8854a8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3242643983202819026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152763452,"filename":"image_31122025_04_11_54_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827882","file1":"1401827879","file0":"1401827875","file4":"1401827888","file5":"1401827891","file3":"1401827884"},"map_files_photo_id_array":[{"photo_id":"1401827891","filename":"file5"},{"photo_id":"1401827882","filename":"file2"},{"photo_id":"1401827888","filename":"file4"},{"photo_id":"1401827879","filename":"file1"},{"photo_id":"1401827875","filename":"file0"},{"photo_id":"1401827884","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827882":["hashtag1","hashtag2"]},{"1401827875":["hashtag1","hashtag2"]},{"1401827884":["hashtag1","hashtag2"]},{"1401827891":["hashtag1","hashtag2"]},{"1401827879":["hashtag1","hashtag2"]},{"1401827888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827882, 1401827875, 1401827884, 1401827891, 1401827879, 1401827888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.841612339019775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:45:42.273521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_17_2871.jpg', '/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_28_2598.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_05_3651.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_14_3664.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_26_3596.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_32_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_17_2871.jpg
/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_28_2598.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_05_3651.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_14_3664.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_26_3596.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_32_3635.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7981650829315186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:46:02.899450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/12/image_31122025_04_12_15_10668.jpg', '/home/pi/Desktop/images/31122025/04/12/image_31122025_04_12_24_9692.jpg', '/home/pi/Desktop/images/31122025/04/12/image_31122025_04_12_34_9558.jpg', '/home/pi/Desktop/images/31122025/04/12/image_31122025_04_12_45_10683.jpg', '/home/pi/Desktop/images/31122025/04/12/image_31122025_04_13_04_9658.jpg', '/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_14_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/12/image_31122025_04_12_15_10668.jpg
/home/pi/Desktop/images/31122025/04/12/image_31122025_04_12_24_9692.jpg
/home/pi/Desktop/images/31122025/04/12/image_31122025_04_12_34_9558.jpg
/home/pi/Desktop/images/31122025/04/12/image_31122025_04_12_45_10683.jpg
/home/pi/Desktop/images/31122025/04/12/image_31122025_04_13_04_9658.jpg
/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_14_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827915","1401827917","1401827922","1401827919","1401827913","1401827916"],"photo_ids_order":["1401827913","1401827915","1401827916","1401827917","1401827919","1401827922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdc2dc561625d95d784f65bbdd437a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4297932370370863918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152823584,"filename":"image_31122025_04_12_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1628bc2908f64739497cfe69ca06cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1635002681933141865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152823584,"filename":"image_31122025_04_12_45_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7570c015911ae82ad7214be1c8b65c71.jpg","text":"TemporaryFile(/tmp/multipartBody1255923711325961196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152823584,"filename":"image_31122025_04_13_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae267e7f63d0ca28bf9ba4df1f94777b.jpg","text":"TemporaryFile(/tmp/multipartBody5606394282279548019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152823584,"filename":"image_31122025_04_13_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbe3d1e97d5dbbcad36d04ac1565d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody8632739831754469000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152823584,"filename":"image_31122025_04_12_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/921da071152c19e02f720f9a42f67c86.jpg","text":"TemporaryFile(/tmp/multipartBody6194853646557981796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152823584,"filename":"image_31122025_04_12_34_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827916","file1":"1401827915","file0":"1401827913","file4":"1401827919","file5":"1401827922","file3":"1401827917"},"map_files_photo_id_array":[{"photo_id":"1401827922","filename":"file5"},{"photo_id":"1401827916","filename":"file2"},{"photo_id":"1401827919","filename":"file4"},{"photo_id":"1401827915","filename":"file1"},{"photo_id":"1401827913","filename":"file0"},{"photo_id":"1401827917","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827915":["hashtag1","hashtag2"]},{"1401827917":["hashtag1","hashtag2"]},{"1401827922":["hashtag1","hashtag2"]},{"1401827919":["hashtag1","hashtag2"]},{"1401827913":["hashtag1","hashtag2"]},{"1401827916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827915, 1401827917, 1401827922, 1401827919, 1401827913, 1401827916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89355254173279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:46:42.529529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_17_2871.jpg', '/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_28_2598.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_05_3651.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_14_3664.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_26_3596.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_32_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_17_2871.jpg
/home/pi/Desktop/images/02112025/21/57/image_02112025_21_57_28_2598.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_05_3651.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_14_3664.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_26_3596.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_32_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827939","1401827944","1401827932","1401827941","1401827935","1401827937"],"photo_ids_order":["1401827932","1401827935","1401827937","1401827939","1401827941","1401827944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6895dd013d595cb176f5276b8fae180c.jpg","text":"TemporaryFile(/tmp/multipartBody7925960357367950544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152864293,"filename":"image_02112025_21_58_14_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8165f797460e8ac76c81167b89764a9.jpg","text":"TemporaryFile(/tmp/multipartBody5795731743083361612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152864293,"filename":"image_02112025_21_58_32_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/216b68af6c7d65fd6d32bcf645ba211d.jpg","text":"TemporaryFile(/tmp/multipartBody4385444711524342415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152864293,"filename":"image_02112025_21_57_17_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b925e51b3afbaf94e1c01423bba82355.jpg","text":"TemporaryFile(/tmp/multipartBody3660092668081515931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152864293,"filename":"image_02112025_21_58_26_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1969533f950910b5998a3188fc7eca8e.jpg","text":"TemporaryFile(/tmp/multipartBody3518236289737454175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152864293,"filename":"image_02112025_21_57_28_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b7cda0c9843008770def93994c55eea.jpg","text":"TemporaryFile(/tmp/multipartBody187911250334421178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152864293,"filename":"image_02112025_21_58_05_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827937","file1":"1401827935","file0":"1401827932","file4":"1401827941","file5":"1401827944","file3":"1401827939"},"map_files_photo_id_array":[{"photo_id":"1401827944","filename":"file5"},{"photo_id":"1401827937","filename":"file2"},{"photo_id":"1401827941","filename":"file4"},{"photo_id":"1401827935","filename":"file1"},{"photo_id":"1401827932","filename":"file0"},{"photo_id":"1401827939","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401827939":["hashtag1","hashtag2"]},{"1401827944":["hashtag1","hashtag2"]},{"1401827932":["hashtag1","hashtag2"]},{"1401827941":["hashtag1","hashtag2"]},{"1401827935":["hashtag1","hashtag2"]},{"1401827937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401827939, 1401827944, 1401827932, 1401827941, 1401827935, 1401827937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78760886192322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:47:22.725510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_24_9899.jpg', '/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_35_10671.jpg', '/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_44_9626.jpg', '/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_54_9621.jpg', '/home/pi/Desktop/images/31122025/04/13/image_31122025_04_14_04_10668.jpg', '/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_14_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_24_9899.jpg
/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_35_10671.jpg
/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_44_9626.jpg
/home/pi/Desktop/images/31122025/04/13/image_31122025_04_13_54_9621.jpg
/home/pi/Desktop/images/31122025/04/13/image_31122025_04_14_04_10668.jpg
/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_14_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827960","1401827954","1401827962","1401827956","1401827958","1401827951"],"photo_ids_order":["1401827951","1401827954","1401827956","1401827958","1401827960","1401827962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/304849ca65a3dea5794259ca9c6ef346.jpg","text":"TemporaryFile(/tmp/multipartBody7551257822783390196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152903317,"filename":"image_31122025_04_14_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73554c3be0234e63de19f0b4fe5e28c6.jpg","text":"TemporaryFile(/tmp/multipartBody3641593122081120055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152903317,"filename":"image_31122025_04_13_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/874b06025c762cf54e81fe46c16fe56e.jpg","text":"TemporaryFile(/tmp/multipartBody2602994388024323029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152903317,"filename":"image_31122025_04_14_14_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f82187e3916c25884507f828907ef4c0.jpg","text":"TemporaryFile(/tmp/multipartBody3967304196792280426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152903317,"filename":"image_31122025_04_13_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c003bf3e634e387123127e0f73382908.jpg","text":"TemporaryFile(/tmp/multipartBody585992225241497272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152903317,"filename":"image_31122025_04_13_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec55cc756bfaa034e9835c2d539b5eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2843113877061833264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152903317,"filename":"image_31122025_04_13_24_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827956","file1":"1401827954","file0":"1401827951","file4":"1401827960","file5":"1401827962","file3":"1401827958"},"map_files_photo_id_array":[{"photo_id":"1401827962","filename":"file5"},{"photo_id":"1401827956","filename":"file2"},{"photo_id":"1401827960","filename":"file4"},{"photo_id":"1401827954","filename":"file1"},{"photo_id":"1401827951","filename":"file0"},{"photo_id":"1401827958","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827960":["hashtag1","hashtag2"]},{"1401827954":["hashtag1","hashtag2"]},{"1401827962":["hashtag1","hashtag2"]},{"1401827956":["hashtag1","hashtag2"]},{"1401827958":["hashtag1","hashtag2"]},{"1401827951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827960, 1401827954, 1401827962, 1401827956, 1401827958, 1401827951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57605004310608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:48:02.358853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_24_9761.jpg', '/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_35_10736.jpg', '/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_44_9595.jpg', '/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_54_9673.jpg', '/home/pi/Desktop/images/31122025/04/14/image_31122025_04_15_05_10552.jpg', '/home/pi/Desktop/images/31122025/04/15/image_31122025_04_15_14_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_24_9761.jpg
/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_35_10736.jpg
/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_44_9595.jpg
/home/pi/Desktop/images/31122025/04/14/image_31122025_04_14_54_9673.jpg
/home/pi/Desktop/images/31122025/04/14/image_31122025_04_15_05_10552.jpg
/home/pi/Desktop/images/31122025/04/15/image_31122025_04_15_14_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401827981","1401827975","1401827977","1401827979","1401827978","1401827972"],"photo_ids_order":["1401827972","1401827975","1401827977","1401827978","1401827979","1401827981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc0ed6add76e37f9e39f3af7dc422fec.jpg","text":"TemporaryFile(/tmp/multipartBody6540215027555738532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152943004,"filename":"image_31122025_04_15_14_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ef41a0bd60969790f3616733b3d6d4c.jpg","text":"TemporaryFile(/tmp/multipartBody8876375051339089137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152943004,"filename":"image_31122025_04_14_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5e6c85a6b4e2e8c41a8cb26e1a811f2.jpg","text":"TemporaryFile(/tmp/multipartBody9023445413466796562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152943004,"filename":"image_31122025_04_14_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7478e84e82126b2aa3ea2e12ffc31e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3663824895179912546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152943004,"filename":"image_31122025_04_15_05_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad4a2e0befcf30a956cc4fd58f7982c3.jpg","text":"TemporaryFile(/tmp/multipartBody8500742633324032613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152943004,"filename":"image_31122025_04_14_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bd0bd013da5f94a9a55bb8537a0554c.jpg","text":"TemporaryFile(/tmp/multipartBody5826203818978343993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152943004,"filename":"image_31122025_04_14_24_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827977","file1":"1401827975","file0":"1401827972","file4":"1401827979","file5":"1401827981","file3":"1401827978"},"map_files_photo_id_array":[{"photo_id":"1401827981","filename":"file5"},{"photo_id":"1401827977","filename":"file2"},{"photo_id":"1401827979","filename":"file4"},{"photo_id":"1401827975","filename":"file1"},{"photo_id":"1401827972","filename":"file0"},{"photo_id":"1401827978","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401827981":["hashtag1","hashtag2"]},{"1401827975":["hashtag1","hashtag2"]},{"1401827977":["hashtag1","hashtag2"]},{"1401827979":["hashtag1","hashtag2"]},{"1401827978":["hashtag1","hashtag2"]},{"1401827972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401827981, 1401827975, 1401827977, 1401827979, 1401827978, 1401827972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09604549407959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:48:41.912551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_35_2678.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_44_3738.jpg', '/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_59_2551.jpg', '/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_01_2665.jpg', '/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_08_2603.jpg', '/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_17_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_35_2678.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_44_3738.jpg
/home/pi/Desktop/images/02112025/21/58/image_02112025_21_58_59_2551.jpg
/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_01_2665.jpg
/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_08_2603.jpg
/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_17_2875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828002","1401828005","1401827995","1401828007","1401827991","1401827999"],"photo_ids_order":["1401827991","1401827995","1401827999","1401828002","1401828005","1401828007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26e086c537f3a3b90871a0ae92dcbd24.jpg","text":"TemporaryFile(/tmp/multipartBody699317914159756842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152983826,"filename":"image_02112025_21_59_01_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67efa842e755497b365bbf48e92e0872.jpg","text":"TemporaryFile(/tmp/multipartBody4656807658487340279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152983826,"filename":"image_02112025_21_59_08_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6fd90147afb0d08189f47e8f1f5901e.jpg","text":"TemporaryFile(/tmp/multipartBody208439349143617320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152983826,"filename":"image_02112025_21_58_44_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c028718426acff03585a5a080fbff56c.jpg","text":"TemporaryFile(/tmp/multipartBody1627647027957474223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152983826,"filename":"image_02112025_21_59_17_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff438f3587a5f0e7354adfd381ecfc6c.jpg","text":"TemporaryFile(/tmp/multipartBody3324886938475011165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152983826,"filename":"image_02112025_21_58_35_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c1c112f701fd63d1d93c2e856d8aec3.jpg","text":"TemporaryFile(/tmp/multipartBody191767449202388595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767152983826,"filename":"image_02112025_21_58_59_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401827999","file1":"1401827995","file0":"1401827991","file4":"1401828005","file5":"1401828007","file3":"1401828002"},"map_files_photo_id_array":[{"photo_id":"1401828007","filename":"file5"},{"photo_id":"1401827999","filename":"file2"},{"photo_id":"1401828005","filename":"file4"},{"photo_id":"1401827995","filename":"file1"},{"photo_id":"1401827991","filename":"file0"},{"photo_id":"1401828002","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401828002":["hashtag1","hashtag2"]},{"1401828005":["hashtag1","hashtag2"]},{"1401827995":["hashtag1","hashtag2"]},{"1401828007":["hashtag1","hashtag2"]},{"1401827991":["hashtag1","hashtag2"]},{"1401827999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401828002, 1401828005, 1401827995, 1401828007, 1401827991, 1401827999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80410194396973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:49:22.026022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/15/image_31122025_04_15_24_9645.jpg', '/home/pi/Desktop/images/31122025/04/15/image_31122025_04_15_44_10548.jpg', '/home/pi/Desktop/images/31122025/04/15/image_31122025_04_15_54_9810.jpg', '/home/pi/Desktop/images/31122025/04/15/image_31122025_04_16_04_9708.jpg', '/home/pi/Desktop/images/31122025/04/16/image_31122025_04_16_24_9684.jpg', '/home/pi/Desktop/images/31122025/04/16/image_31122025_04_16_34_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/15/image_31122025_04_15_24_9645.jpg
/home/pi/Desktop/images/31122025/04/15/image_31122025_04_15_44_10548.jpg
/home/pi/Desktop/images/31122025/04/15/image_31122025_04_15_54_9810.jpg
/home/pi/Desktop/images/31122025/04/15/image_31122025_04_16_04_9708.jpg
/home/pi/Desktop/images/31122025/04/16/image_31122025_04_16_24_9684.jpg
/home/pi/Desktop/images/31122025/04/16/image_31122025_04_16_34_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828023","1401828017","1401828026","1401828012","1401828020","1401828014"],"photo_ids_order":["1401828012","1401828014","1401828017","1401828020","1401828023","1401828026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de5b353723894097cfac6839d88aaa10.jpg","text":"TemporaryFile(/tmp/multipartBody7850556530843725065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153022621,"filename":"image_31122025_04_16_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caeb3fae28ec4e31112c46abdce3ee72.jpg","text":"TemporaryFile(/tmp/multipartBody988161566718101824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153022621,"filename":"image_31122025_04_15_54_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf239a69b8ebc0bbde450bc183734bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1306121549763358850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153022621,"filename":"image_31122025_04_16_34_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbf6993f958868ed558a9fa9dbd3a184.jpg","text":"TemporaryFile(/tmp/multipartBody4968815068682055226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153022621,"filename":"image_31122025_04_15_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa47dfe72a40c5644ec253878c5a8b69.jpg","text":"TemporaryFile(/tmp/multipartBody6835854520011887586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153022621,"filename":"image_31122025_04_16_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/001a77859b17e4299492d491c4922513.jpg","text":"TemporaryFile(/tmp/multipartBody14626605272799470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153022621,"filename":"image_31122025_04_15_44_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828017","file1":"1401828014","file0":"1401828012","file4":"1401828023","file5":"1401828026","file3":"1401828020"},"map_files_photo_id_array":[{"photo_id":"1401828026","filename":"file5"},{"photo_id":"1401828017","filename":"file2"},{"photo_id":"1401828023","filename":"file4"},{"photo_id":"1401828014","filename":"file1"},{"photo_id":"1401828012","filename":"file0"},{"photo_id":"1401828020","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828023":["hashtag1","hashtag2"]},{"1401828017":["hashtag1","hashtag2"]},{"1401828026":["hashtag1","hashtag2"]},{"1401828012":["hashtag1","hashtag2"]},{"1401828020":["hashtag1","hashtag2"]},{"1401828014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828023, 1401828017, 1401828026, 1401828012, 1401828020, 1401828014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94240140914917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:50:02.772350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/16/image_31122025_04_16_44_9762.jpg', '/home/pi/Desktop/images/31122025/04/16/image_31122025_04_16_54_9757.jpg', '/home/pi/Desktop/images/31122025/04/16/image_31122025_04_17_04_10594.jpg', '/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_14_9746.jpg', '/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_24_9654.jpg', '/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_34_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/16/image_31122025_04_16_44_9762.jpg
/home/pi/Desktop/images/31122025/04/16/image_31122025_04_16_54_9757.jpg
/home/pi/Desktop/images/31122025/04/16/image_31122025_04_17_04_10594.jpg
/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_14_9746.jpg
/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_24_9654.jpg
/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_34_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828037","1401828040","1401828042","1401828045","1401828032","1401828035"],"photo_ids_order":["1401828032","1401828035","1401828037","1401828040","1401828042","1401828045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4313fbc1a33dbe6359d21ebb4c51099c.jpg","text":"TemporaryFile(/tmp/multipartBody3009702376884113889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153063390,"filename":"image_31122025_04_17_04_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5d1e5f33c71f55037ac0da8146bb0dc.jpg","text":"TemporaryFile(/tmp/multipartBody1792309282779428419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153063390,"filename":"image_31122025_04_17_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6e573604b7afbb36cda140c3824b1b2.jpg","text":"TemporaryFile(/tmp/multipartBody4725277909123081020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153063390,"filename":"image_31122025_04_17_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3da3a124c5068221ca53943d19141812.jpg","text":"TemporaryFile(/tmp/multipartBody4311490463979560150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153063390,"filename":"image_31122025_04_17_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e810bcc41db5d6805551d2fb1d7006af.jpg","text":"TemporaryFile(/tmp/multipartBody1061383660062099428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153063390,"filename":"image_31122025_04_16_44_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a160b2129f54434a6a7aa668169a75fd.jpg","text":"TemporaryFile(/tmp/multipartBody7574830460010064937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153063390,"filename":"image_31122025_04_16_54_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828037","file1":"1401828035","file0":"1401828032","file4":"1401828042","file5":"1401828045","file3":"1401828040"},"map_files_photo_id_array":[{"photo_id":"1401828045","filename":"file5"},{"photo_id":"1401828037","filename":"file2"},{"photo_id":"1401828042","filename":"file4"},{"photo_id":"1401828035","filename":"file1"},{"photo_id":"1401828032","filename":"file0"},{"photo_id":"1401828040","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828037":["hashtag1","hashtag2"]},{"1401828040":["hashtag1","hashtag2"]},{"1401828042":["hashtag1","hashtag2"]},{"1401828045":["hashtag1","hashtag2"]},{"1401828032":["hashtag1","hashtag2"]},{"1401828035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828037, 1401828040, 1401828042, 1401828045, 1401828032, 1401828035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65447950363159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:50:42.315875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_26_3720.jpg', '/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_34_2754.jpg', '/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_50_2605.jpg', '/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_56_2809.jpg', '/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_35_3650.jpg', '/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_38_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_26_3720.jpg
/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_34_2754.jpg
/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_50_2605.jpg
/home/pi/Desktop/images/02112025/21/59/image_02112025_21_59_56_2809.jpg
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_35_3650.jpg
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_38_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828064","1401828058","1401828067","1401828060","1401828054","1401828062"],"photo_ids_order":["1401828054","1401828058","1401828060","1401828062","1401828064","1401828067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2876aaa3a6e5d654f6b34d8ca9bc438.jpg","text":"TemporaryFile(/tmp/multipartBody2817224105615308371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153104223,"filename":"image_02112025_22_00_35_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97ed742044d440814560d3b3a9a07228.jpg","text":"TemporaryFile(/tmp/multipartBody4695588063033100758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153104223,"filename":"image_02112025_21_59_34_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db43888b9b08a2b9b44c1dc2ff897b20.jpg","text":"TemporaryFile(/tmp/multipartBody2867162678672992712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153104223,"filename":"image_02112025_22_00_38_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a404abe5fb6bbd4c8325ff31415d8e9.jpg","text":"TemporaryFile(/tmp/multipartBody6716772107582136747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153104223,"filename":"image_02112025_21_59_50_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0748bf9e49d0de331efd742ba704b62.jpg","text":"TemporaryFile(/tmp/multipartBody1730890460579966583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153104223,"filename":"image_02112025_21_59_26_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/180b9ed871aff2a5479d53dd59c9d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody3570554025998803973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153104223,"filename":"image_02112025_21_59_56_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828060","file1":"1401828058","file0":"1401828054","file4":"1401828064","file5":"1401828067","file3":"1401828062"},"map_files_photo_id_array":[{"photo_id":"1401828067","filename":"file5"},{"photo_id":"1401828060","filename":"file2"},{"photo_id":"1401828064","filename":"file4"},{"photo_id":"1401828058","filename":"file1"},{"photo_id":"1401828054","filename":"file0"},{"photo_id":"1401828062","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401828064":["hashtag1","hashtag2"]},{"1401828058":["hashtag1","hashtag2"]},{"1401828067":["hashtag1","hashtag2"]},{"1401828060":["hashtag1","hashtag2"]},{"1401828054":["hashtag1","hashtag2"]},{"1401828062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401828064, 1401828058, 1401828067, 1401828060, 1401828054, 1401828062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.719359397888184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:51:22.590827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_44_9876.jpg', '/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_54_9644.jpg', '/home/pi/Desktop/images/31122025/04/17/image_31122025_04_18_05_10674.jpg', '/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_14_9583.jpg', '/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_24_9781.jpg', '/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_35_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_44_9876.jpg
/home/pi/Desktop/images/31122025/04/17/image_31122025_04_17_54_9644.jpg
/home/pi/Desktop/images/31122025/04/17/image_31122025_04_18_05_10674.jpg
/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_14_9583.jpg
/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_24_9781.jpg
/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_35_10586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828079","1401828081","1401828083","1401828077","1401828086","1401828074"],"photo_ids_order":["1401828074","1401828077","1401828079","1401828081","1401828083","1401828086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/130e5b9dbdbc04081abf89b64c7442fa.jpg","text":"TemporaryFile(/tmp/multipartBody1302901397537042877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153143178,"filename":"image_31122025_04_18_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6279d56507ac172917e5589342845c65.jpg","text":"TemporaryFile(/tmp/multipartBody622936855445427239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153143178,"filename":"image_31122025_04_18_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c046603894380f69db57817d432f228b.jpg","text":"TemporaryFile(/tmp/multipartBody2183161427839281252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153143178,"filename":"image_31122025_04_18_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b4a619693c1a56b0b9032249a29907c.jpg","text":"TemporaryFile(/tmp/multipartBody5595188247676913134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153143178,"filename":"image_31122025_04_17_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eadc0962efd0d21a15f0baa7cc724cb2.jpg","text":"TemporaryFile(/tmp/multipartBody829539003633369436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153143178,"filename":"image_31122025_04_18_35_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79b325257913d9381f16bd2869af4845.jpg","text":"TemporaryFile(/tmp/multipartBody4515208922519483707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153143178,"filename":"image_31122025_04_17_44_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828079","file1":"1401828077","file0":"1401828074","file4":"1401828083","file5":"1401828086","file3":"1401828081"},"map_files_photo_id_array":[{"photo_id":"1401828086","filename":"file5"},{"photo_id":"1401828079","filename":"file2"},{"photo_id":"1401828083","filename":"file4"},{"photo_id":"1401828077","filename":"file1"},{"photo_id":"1401828074","filename":"file0"},{"photo_id":"1401828081","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828079":["hashtag1","hashtag2"]},{"1401828081":["hashtag1","hashtag2"]},{"1401828083":["hashtag1","hashtag2"]},{"1401828077":["hashtag1","hashtag2"]},{"1401828086":["hashtag1","hashtag2"]},{"1401828074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828079, 1401828081, 1401828083, 1401828077, 1401828086, 1401828074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2804970741272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:52:02.977384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:52:12.747225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_44_3679.jpg', '/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_50_3450.jpg', '/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_53_2658.jpg', '/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_55_2730.jpg', '/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_04_2661.jpg', '/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_14_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_44_3679.jpg
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_50_3450.jpg
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_53_2658.jpg
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_55_2730.jpg
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_04_2661.jpg
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_14_2629.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.6681177616119385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:52:22.666900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_44_9571.jpg', '/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_54_9812.jpg', '/home/pi/Desktop/images/31122025/04/18/image_31122025_04_19_05_10617.jpg', '/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_14_9564.jpg', '/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_24_9685.jpg', '/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_35_10845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_44_9571.jpg
/home/pi/Desktop/images/31122025/04/18/image_31122025_04_18_54_9812.jpg
/home/pi/Desktop/images/31122025/04/18/image_31122025_04_19_05_10617.jpg
/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_14_9564.jpg
/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_24_9685.jpg
/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_35_10845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828101","1401828119","1401828115","1401828111","1401828105","1401828108"],"photo_ids_order":["1401828101","1401828105","1401828108","1401828111","1401828115","1401828119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cc853c8fbdb4efa231e993c4a1834e7.jpg","text":"TemporaryFile(/tmp/multipartBody4418655903631100139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153203223,"filename":"image_31122025_04_18_44_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62fc53472ff4ae9f8b41dd236164969f.jpg","text":"TemporaryFile(/tmp/multipartBody257304902668953092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153203223,"filename":"image_31122025_04_19_35_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93743c6045ccc4f22a4092a04d956f0c.jpg","text":"TemporaryFile(/tmp/multipartBody361181997741992689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153203223,"filename":"image_31122025_04_19_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44e7d143bbe0e0e0604feff58d1a2d6d.jpg","text":"TemporaryFile(/tmp/multipartBody9158230568191813431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153203223,"filename":"image_31122025_04_19_14_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6189fad04d5bcfa1543ee39685d76852.jpg","text":"TemporaryFile(/tmp/multipartBody8107562239129267237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153203223,"filename":"image_31122025_04_18_54_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73391a1a5a57e3bce202d36f49487737.jpg","text":"TemporaryFile(/tmp/multipartBody8133150744937392385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153203223,"filename":"image_31122025_04_19_05_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828108","file1":"1401828105","file0":"1401828101","file4":"1401828115","file5":"1401828119","file3":"1401828111"},"map_files_photo_id_array":[{"photo_id":"1401828119","filename":"file5"},{"photo_id":"1401828108","filename":"file2"},{"photo_id":"1401828115","filename":"file4"},{"photo_id":"1401828105","filename":"file1"},{"photo_id":"1401828101","filename":"file0"},{"photo_id":"1401828111","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828101":["hashtag1","hashtag2"]},{"1401828119":["hashtag1","hashtag2"]},{"1401828115":["hashtag1","hashtag2"]},{"1401828111":["hashtag1","hashtag2"]},{"1401828105":["hashtag1","hashtag2"]},{"1401828108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828101, 1401828119, 1401828115, 1401828111, 1401828105, 1401828108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99515223503113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:53:02.733236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_44_9698.jpg', '/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_54_9960.jpg', '/home/pi/Desktop/images/31122025/04/19/image_31122025_04_20_04_9565.jpg', '/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_15_10661.jpg', '/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_24_9542.jpg', '/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_34_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_44_9698.jpg
/home/pi/Desktop/images/31122025/04/19/image_31122025_04_19_54_9960.jpg
/home/pi/Desktop/images/31122025/04/19/image_31122025_04_20_04_9565.jpg
/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_15_10661.jpg
/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_24_9542.jpg
/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_34_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828130","1401828135","1401828129","1401828132","1401828126","1401828128"],"photo_ids_order":["1401828126","1401828128","1401828129","1401828130","1401828132","1401828135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/657963743dc6ecbc1dfc10c5177de9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7753890181491264430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153243409,"filename":"image_31122025_04_20_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ea9e2cd4ae1002cb6a307aeb57886fe.jpg","text":"TemporaryFile(/tmp/multipartBody2641544597693328667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153243409,"filename":"image_31122025_04_20_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49551ee167de159018e3f6c56d373cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7544910889061389362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153243409,"filename":"image_31122025_04_20_04_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16562e5598ac7eb0a6f5ba0de474c58a.jpg","text":"TemporaryFile(/tmp/multipartBody8285551849964190174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153243409,"filename":"image_31122025_04_20_24_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edc6ee30e6e8e9a1825bc55bfc9d7a3a.jpg","text":"TemporaryFile(/tmp/multipartBody4297048172025325095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153243409,"filename":"image_31122025_04_19_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca7016ab737697b2d363c7a4c7a5fc08.jpg","text":"TemporaryFile(/tmp/multipartBody7263157244943443825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153243409,"filename":"image_31122025_04_19_54_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828129","file1":"1401828128","file0":"1401828126","file4":"1401828132","file5":"1401828135","file3":"1401828130"},"map_files_photo_id_array":[{"photo_id":"1401828135","filename":"file5"},{"photo_id":"1401828129","filename":"file2"},{"photo_id":"1401828132","filename":"file4"},{"photo_id":"1401828128","filename":"file1"},{"photo_id":"1401828126","filename":"file0"},{"photo_id":"1401828130","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828130":["hashtag1","hashtag2"]},{"1401828135":["hashtag1","hashtag2"]},{"1401828129":["hashtag1","hashtag2"]},{"1401828132":["hashtag1","hashtag2"]},{"1401828126":["hashtag1","hashtag2"]},{"1401828128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828130, 1401828135, 1401828129, 1401828132, 1401828126, 1401828128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.998087882995605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:53:41.929501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_44_3679.jpg', '/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_50_3450.jpg', '/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_53_2658.jpg', '/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_55_2730.jpg', '/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_04_2661.jpg', '/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_14_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_44_3679.jpg
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_50_3450.jpg
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_53_2658.jpg
/home/pi/Desktop/images/02112025/22/00/image_02112025_22_00_55_2730.jpg
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_04_2661.jpg
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_14_2629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828153","1401828156","1401828159","1401828150","1401828164","1401828146"],"photo_ids_order":["1401828146","1401828150","1401828153","1401828156","1401828159","1401828164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6785cd4427f7349a26e6e7c8bef2f36a.jpg","text":"TemporaryFile(/tmp/multipartBody1854828260384588551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153283546,"filename":"image_02112025_22_00_53_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/249f6b181f578c4cb55f9ec55f348e5f.jpg","text":"TemporaryFile(/tmp/multipartBody2099047464230208153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153283546,"filename":"image_02112025_22_00_55_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bd6871bf8476410e843eeb69e610134.jpg","text":"TemporaryFile(/tmp/multipartBody3585181349282607039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153283546,"filename":"image_02112025_22_01_04_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13074c4555bd0ba07d72b1dc3e32a4ba.jpg","text":"TemporaryFile(/tmp/multipartBody4091378018779693892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153283546,"filename":"image_02112025_22_00_50_3450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cf176c43bea364d52839923541ab11b.jpg","text":"TemporaryFile(/tmp/multipartBody8919080498935250557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153283546,"filename":"image_02112025_22_01_14_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c4e08e4751157f1a785123fa30f863b.jpg","text":"TemporaryFile(/tmp/multipartBody4565829949712696405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153283546,"filename":"image_02112025_22_00_44_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828153","file1":"1401828150","file0":"1401828146","file4":"1401828159","file5":"1401828164","file3":"1401828156"},"map_files_photo_id_array":[{"photo_id":"1401828164","filename":"file5"},{"photo_id":"1401828153","filename":"file2"},{"photo_id":"1401828159","filename":"file4"},{"photo_id":"1401828150","filename":"file1"},{"photo_id":"1401828146","filename":"file0"},{"photo_id":"1401828156","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401828153":["hashtag1","hashtag2"]},{"1401828156":["hashtag1","hashtag2"]},{"1401828159":["hashtag1","hashtag2"]},{"1401828150":["hashtag1","hashtag2"]},{"1401828164":["hashtag1","hashtag2"]},{"1401828146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401828153, 1401828156, 1401828159, 1401828150, 1401828164, 1401828146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.275232791900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:54:22.199209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_45_10765.jpg', '/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_54_9634.jpg', '/home/pi/Desktop/images/31122025/04/20/image_31122025_04_21_04_9844.jpg', '/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_15_10650.jpg', '/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_24_9741.jpg', '/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_34_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_45_10765.jpg
/home/pi/Desktop/images/31122025/04/20/image_31122025_04_20_54_9634.jpg
/home/pi/Desktop/images/31122025/04/20/image_31122025_04_21_04_9844.jpg
/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_15_10650.jpg
/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_24_9741.jpg
/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_34_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828181","1401828178","1401828177","1401828176","1401828179","1401828173"],"photo_ids_order":["1401828173","1401828176","1401828177","1401828178","1401828179","1401828181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/213acbc229fe75375ebb3e0221e60798.jpg","text":"TemporaryFile(/tmp/multipartBody1979397027461088503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153322788,"filename":"image_31122025_04_21_34_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ea51f08d6ddc22ff43667c602f9bd40.jpg","text":"TemporaryFile(/tmp/multipartBody4812135042086468678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153322788,"filename":"image_31122025_04_21_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/356bff18a2d1019cd90f6b1c5a4e4c56.jpg","text":"TemporaryFile(/tmp/multipartBody4005041023183449830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153322788,"filename":"image_31122025_04_21_04_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cb97c9677a8d8a048b01f29b85c05a7.jpg","text":"TemporaryFile(/tmp/multipartBody8122906562698491466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153322788,"filename":"image_31122025_04_20_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e346ebe0272842642802174f5c1a9c6.jpg","text":"TemporaryFile(/tmp/multipartBody3479593733271099335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153322788,"filename":"image_31122025_04_21_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d6971785f0090fab244c21b9e9c6e32.jpg","text":"TemporaryFile(/tmp/multipartBody5137621967378644080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153322788,"filename":"image_31122025_04_20_45_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828177","file1":"1401828176","file0":"1401828173","file4":"1401828179","file5":"1401828181","file3":"1401828178"},"map_files_photo_id_array":[{"photo_id":"1401828181","filename":"file5"},{"photo_id":"1401828177","filename":"file2"},{"photo_id":"1401828179","filename":"file4"},{"photo_id":"1401828176","filename":"file1"},{"photo_id":"1401828173","filename":"file0"},{"photo_id":"1401828178","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828181":["hashtag1","hashtag2"]},{"1401828178":["hashtag1","hashtag2"]},{"1401828177":["hashtag1","hashtag2"]},{"1401828176":["hashtag1","hashtag2"]},{"1401828179":["hashtag1","hashtag2"]},{"1401828173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828181, 1401828178, 1401828177, 1401828176, 1401828179, 1401828173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71534752845764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:55:02.972287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_44_9672.jpg', '/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_55_10738.jpg', '/home/pi/Desktop/images/31122025/04/21/image_31122025_04_22_04_9678.jpg', '/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_14_9615.jpg', '/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_25_10745.jpg', '/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_34_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_44_9672.jpg
/home/pi/Desktop/images/31122025/04/21/image_31122025_04_21_55_10738.jpg
/home/pi/Desktop/images/31122025/04/21/image_31122025_04_22_04_9678.jpg
/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_14_9615.jpg
/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_25_10745.jpg
/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_34_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828199","1401828211","1401828208","1401828202","1401828204","1401828194"],"photo_ids_order":["1401828194","1401828199","1401828202","1401828204","1401828208","1401828211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2225d71ed635e9be7536e1faaca2f75a.jpg","text":"TemporaryFile(/tmp/multipartBody2922471036993791470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153363626,"filename":"image_31122025_04_21_55_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ca615b83e2db215777e19dc5a2659a2.jpg","text":"TemporaryFile(/tmp/multipartBody7043497200105471354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153363626,"filename":"image_31122025_04_22_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db7cb009036b255626e5f91ddac0bc04.jpg","text":"TemporaryFile(/tmp/multipartBody4109959373052116556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153363626,"filename":"image_31122025_04_22_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/078b6cd78fba2d01d84695aa02da4057.jpg","text":"TemporaryFile(/tmp/multipartBody3848417166186034843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153363626,"filename":"image_31122025_04_22_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/174e1f62bac14c0292a3db7a634d9f50.jpg","text":"TemporaryFile(/tmp/multipartBody7988235536883776306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153363626,"filename":"image_31122025_04_22_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/438660aabd956c85afcd401a2529d1de.jpg","text":"TemporaryFile(/tmp/multipartBody4983720608947350481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153363626,"filename":"image_31122025_04_21_44_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828202","file1":"1401828199","file0":"1401828194","file4":"1401828208","file5":"1401828211","file3":"1401828204"},"map_files_photo_id_array":[{"photo_id":"1401828211","filename":"file5"},{"photo_id":"1401828202","filename":"file2"},{"photo_id":"1401828208","filename":"file4"},{"photo_id":"1401828199","filename":"file1"},{"photo_id":"1401828194","filename":"file0"},{"photo_id":"1401828204","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828199":["hashtag1","hashtag2"]},{"1401828211":["hashtag1","hashtag2"]},{"1401828208":["hashtag1","hashtag2"]},{"1401828202":["hashtag1","hashtag2"]},{"1401828204":["hashtag1","hashtag2"]},{"1401828194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828199, 1401828211, 1401828208, 1401828202, 1401828204, 1401828194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54636788368225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:55:42.388802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_20_3588.jpg', '/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_22_2633.jpg', '/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_31_2651.jpg', '/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_38_3800.jpg', '/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_47_3658.jpg', '/home/pi/Desktop/images/02112025/22/02/image_02112025_22_02_53_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_20_3588.jpg
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_22_2633.jpg
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_31_2651.jpg
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_38_3800.jpg
/home/pi/Desktop/images/02112025/22/01/image_02112025_22_01_47_3658.jpg
/home/pi/Desktop/images/02112025/22/02/image_02112025_22_02_53_3550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828234","1401828228","1401828216","1401828231","1401828225","1401828219"],"photo_ids_order":["1401828216","1401828219","1401828225","1401828228","1401828231","1401828234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5c0763e1b6ce696b8c3b5c4793a253e.jpg","text":"TemporaryFile(/tmp/multipartBody2873918696432724810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153404306,"filename":"image_02112025_22_02_53_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fce69ecdba461d14ef0882d01c681368.jpg","text":"TemporaryFile(/tmp/multipartBody525559900096655509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153404306,"filename":"image_02112025_22_01_38_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c1907e045a7a33156c72958a84135fb.jpg","text":"TemporaryFile(/tmp/multipartBody982254128447317655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153404306,"filename":"image_02112025_22_01_20_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c7595a65a41086868ab944905492ff2.jpg","text":"TemporaryFile(/tmp/multipartBody8769886344498874593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153404306,"filename":"image_02112025_22_01_47_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba82eb0c34187f834c9901fcc8a91ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2231392668158002960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153404306,"filename":"image_02112025_22_01_31_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf30176872ac23beba8b170019884a97.jpg","text":"TemporaryFile(/tmp/multipartBody9144327964367274587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153404306,"filename":"image_02112025_22_01_22_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828225","file1":"1401828219","file0":"1401828216","file4":"1401828231","file5":"1401828234","file3":"1401828228"},"map_files_photo_id_array":[{"photo_id":"1401828234","filename":"file5"},{"photo_id":"1401828225","filename":"file2"},{"photo_id":"1401828231","filename":"file4"},{"photo_id":"1401828219","filename":"file1"},{"photo_id":"1401828216","filename":"file0"},{"photo_id":"1401828228","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401828234":["hashtag1","hashtag2"]},{"1401828228":["hashtag1","hashtag2"]},{"1401828216":["hashtag1","hashtag2"]},{"1401828231":["hashtag1","hashtag2"]},{"1401828225":["hashtag1","hashtag2"]},{"1401828219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401828234, 1401828228, 1401828216, 1401828231, 1401828225, 1401828219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60307550430298 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:56:32.606391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_02_3576.jpg', '/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_26_2842.jpg', '/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_31_2556.jpg', '/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_37_2697.jpg', '/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_43_2528.jpg', '/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_56_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_02_3576.jpg
/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_26_2842.jpg
/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_31_2556.jpg
/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_37_2697.jpg
/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_43_2528.jpg
/home/pi/Desktop/images/02112025/22/03/image_02112025_22_03_56_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828259","1401828252","1401828246","1401828261","1401828249","1401828257"],"photo_ids_order":["1401828246","1401828249","1401828252","1401828257","1401828259","1401828261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53eb5032a4cb83e215ea1d34d0730149.jpg","text":"TemporaryFile(/tmp/multipartBody91763023233929307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153455915,"filename":"image_02112025_22_03_43_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1620cfcb7d8a62613267120db75789d3.jpg","text":"TemporaryFile(/tmp/multipartBody6636156956071784724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153455915,"filename":"image_02112025_22_03_31_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e45f53628a2ec180aaa722dd25d7e023.jpg","text":"TemporaryFile(/tmp/multipartBody7595305617215716229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153455915,"filename":"image_02112025_22_03_02_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5ba5676ce61c5c6ef8f211dc4d299c7.jpg","text":"TemporaryFile(/tmp/multipartBody5428160310900959108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153455915,"filename":"image_02112025_22_03_56_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2040a89d78d607224ca4074fa9a04949.jpg","text":"TemporaryFile(/tmp/multipartBody4833316271140582283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153455915,"filename":"image_02112025_22_03_26_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d562b365fde01ba148c47cbf193d26b8.jpg","text":"TemporaryFile(/tmp/multipartBody8175038991513864996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153455915,"filename":"image_02112025_22_03_37_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828252","file1":"1401828249","file0":"1401828246","file4":"1401828259","file5":"1401828261","file3":"1401828257"},"map_files_photo_id_array":[{"photo_id":"1401828261","filename":"file5"},{"photo_id":"1401828252","filename":"file2"},{"photo_id":"1401828259","filename":"file4"},{"photo_id":"1401828249","filename":"file1"},{"photo_id":"1401828246","filename":"file0"},{"photo_id":"1401828257","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401828259":["hashtag1","hashtag2"]},{"1401828252":["hashtag1","hashtag2"]},{"1401828246":["hashtag1","hashtag2"]},{"1401828261":["hashtag1","hashtag2"]},{"1401828249":["hashtag1","hashtag2"]},{"1401828257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401828259, 1401828252, 1401828246, 1401828261, 1401828249, 1401828257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31560492515564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 04:57:22.747283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_44_9787.jpg', '/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_54_9789.jpg', '/home/pi/Desktop/images/31122025/04/22/image_31122025_04_23_04_10655.jpg', '/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_14_9754.jpg', '/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_24_9612.jpg', '/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_35_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_44_9787.jpg
/home/pi/Desktop/images/31122025/04/22/image_31122025_04_22_54_9789.jpg
/home/pi/Desktop/images/31122025/04/22/image_31122025_04_23_04_10655.jpg
/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_14_9754.jpg
/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_24_9612.jpg
/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_35_10786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828280","1401828274","1401828283","1401828277","1401828279","1401828281"],"photo_ids_order":["1401828274","1401828277","1401828279","1401828280","1401828281","1401828283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bdc9e6aabb7fe8a33e45f077e1e9697.jpg","text":"TemporaryFile(/tmp/multipartBody3445022040132975546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153503311,"filename":"image_31122025_04_23_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88d206a6e0be11e045ef5821848b8f26.jpg","text":"TemporaryFile(/tmp/multipartBody6777666767528528278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153503311,"filename":"image_31122025_04_22_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c3c778e64200524699cd6a612f3a13a.jpg","text":"TemporaryFile(/tmp/multipartBody130354741611745825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153503311,"filename":"image_31122025_04_23_35_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e45a268e76924145dcaae8dac02b209.jpg","text":"TemporaryFile(/tmp/multipartBody3812828433214863867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153503311,"filename":"image_31122025_04_22_54_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0f0ff3dee567af165c39e55476841a2.jpg","text":"TemporaryFile(/tmp/multipartBody4555683293461404829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153503311,"filename":"image_31122025_04_23_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4d9dfd680f3c9de239933ef5430f020.jpg","text":"TemporaryFile(/tmp/multipartBody333964163493822058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153503311,"filename":"image_31122025_04_23_24_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828279","file1":"1401828277","file0":"1401828274","file4":"1401828281","file5":"1401828283","file3":"1401828280"},"map_files_photo_id_array":[{"photo_id":"1401828283","filename":"file5"},{"photo_id":"1401828279","filename":"file2"},{"photo_id":"1401828281","filename":"file4"},{"photo_id":"1401828277","filename":"file1"},{"photo_id":"1401828274","filename":"file0"},{"photo_id":"1401828280","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828280":["hashtag1","hashtag2"]},{"1401828274":["hashtag1","hashtag2"]},{"1401828283":["hashtag1","hashtag2"]},{"1401828277":["hashtag1","hashtag2"]},{"1401828279":["hashtag1","hashtag2"]},{"1401828281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828280, 1401828274, 1401828283, 1401828277, 1401828279, 1401828281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72821927070618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 04:59:02.975656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_44_9677.jpg', '/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_54_9679.jpg', '/home/pi/Desktop/images/31122025/04/23/image_31122025_04_24_04_9848.jpg', '/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_15_10728.jpg', '/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_24_9674.jpg', '/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_34_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_44_9677.jpg
/home/pi/Desktop/images/31122025/04/23/image_31122025_04_23_54_9679.jpg
/home/pi/Desktop/images/31122025/04/23/image_31122025_04_24_04_9848.jpg
/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_15_10728.jpg
/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_24_9674.jpg
/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_34_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401828428","1401828309","1401828303","1401828389","1401828470","1401828347"],"photo_ids_order":["1401828303","1401828309","1401828347","1401828389","1401828428","1401828470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a7a814cc4d0fabb5e1ab1889b836e8a.jpg","text":"TemporaryFile(/tmp/multipartBody9116256221035136298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153603777,"filename":"image_31122025_04_24_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f274bcbb72b57fc147f3a2efa3586d57.jpg","text":"TemporaryFile(/tmp/multipartBody2615149816022653208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153603777,"filename":"image_31122025_04_23_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f9d9aea8c833b4a4509647e7c7ff2b8.jpg","text":"TemporaryFile(/tmp/multipartBody6350291533318777093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153603777,"filename":"image_31122025_04_23_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17b8e5fef954bfafd406f4a853391650.jpg","text":"TemporaryFile(/tmp/multipartBody3916584957685704693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153603777,"filename":"image_31122025_04_24_15_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1a69e9a4b4b116d8e4ca113b36cb8d4.jpg","text":"TemporaryFile(/tmp/multipartBody6953128875715086486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153603777,"filename":"image_31122025_04_24_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49dc4b42f93106ad8ca4da71579e6d59.jpg","text":"TemporaryFile(/tmp/multipartBody4441084129525491201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153603777,"filename":"image_31122025_04_24_04_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828347","file1":"1401828309","file0":"1401828303","file4":"1401828428","file5":"1401828470","file3":"1401828389"},"map_files_photo_id_array":[{"photo_id":"1401828470","filename":"file5"},{"photo_id":"1401828347","filename":"file2"},{"photo_id":"1401828428","filename":"file4"},{"photo_id":"1401828309","filename":"file1"},{"photo_id":"1401828303","filename":"file0"},{"photo_id":"1401828389","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401828428":["hashtag1","hashtag2"]},{"1401828309":["hashtag1","hashtag2"]},{"1401828303":["hashtag1","hashtag2"]},{"1401828389":["hashtag1","hashtag2"]},{"1401828470":["hashtag1","hashtag2"]},{"1401828347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401828428, 1401828309, 1401828303, 1401828389, 1401828470, 1401828347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.369338035583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 04:59:42.197440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_07_2663.jpg', '/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_16_2797.jpg', '/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_35_2853.jpg', '/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_37_2695.jpg', '/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_40_2784.jpg', '/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_44_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_07_2663.jpg
/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_16_2797.jpg
/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_35_2853.jpg
/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_37_2695.jpg
/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_40_2784.jpg
/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_44_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401829027","1401828802","1401828924","1401828683","1401828603","1401828641"],"photo_ids_order":["1401828603","1401828641","1401828683","1401828802","1401828924","1401829027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/711188cc56ccad682050b5f28d6419ee.jpg","text":"TemporaryFile(/tmp/multipartBody5536073391578069939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153644102,"filename":"image_02112025_22_04_44_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cda8a44bd08514bf0557bb47f71bea4.jpg","text":"TemporaryFile(/tmp/multipartBody2807897651398248088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153644102,"filename":"image_02112025_22_04_37_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e7f7e097b4b5b083a7ec41fe24f848b.jpg","text":"TemporaryFile(/tmp/multipartBody3093106220376069284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153644102,"filename":"image_02112025_22_04_40_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3d89b5c49f24159cd644e02e5347a52.jpg","text":"TemporaryFile(/tmp/multipartBody5795594315438426044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153644102,"filename":"image_02112025_22_04_35_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3df7c0b89196b4c7a78105c5c8227fbf.jpg","text":"TemporaryFile(/tmp/multipartBody3499220760881827594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153644102,"filename":"image_02112025_22_04_07_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0241e98ac980bab21380c92aaf946c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5372393566607360083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153644102,"filename":"image_02112025_22_04_16_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401828683","file1":"1401828641","file0":"1401828603","file4":"1401828924","file5":"1401829027","file3":"1401828802"},"map_files_photo_id_array":[{"photo_id":"1401829027","filename":"file5"},{"photo_id":"1401828683","filename":"file2"},{"photo_id":"1401828924","filename":"file4"},{"photo_id":"1401828641","filename":"file1"},{"photo_id":"1401828603","filename":"file0"},{"photo_id":"1401828802","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401829027":["hashtag1","hashtag2"]},{"1401828802":["hashtag1","hashtag2"]},{"1401828924":["hashtag1","hashtag2"]},{"1401828683":["hashtag1","hashtag2"]},{"1401828603":["hashtag1","hashtag2"]},{"1401828641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401829027, 1401828802, 1401828924, 1401828683, 1401828603, 1401828641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81673240661621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:00:32.311412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_46_2578.jpg', '/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_56_3660.jpg', '/home/pi/Desktop/images/02112025/22/05/image_02112025_22_05_10_3676.jpg', '/home/pi/Desktop/images/02112025/22/05/image_02112025_22_05_16_2634.jpg', '/home/pi/Desktop/images/02112025/22/05/image_02112025_22_05_28_3625.jpg', '/home/pi/Desktop/images/02112025/22/05/image_02112025_22_05_55_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_46_2578.jpg
/home/pi/Desktop/images/02112025/22/04/image_02112025_22_04_56_3660.jpg
/home/pi/Desktop/images/02112025/22/05/image_02112025_22_05_10_3676.jpg
/home/pi/Desktop/images/02112025/22/05/image_02112025_22_05_16_2634.jpg
/home/pi/Desktop/images/02112025/22/05/image_02112025_22_05_28_3625.jpg
/home/pi/Desktop/images/02112025/22/05/image_02112025_22_05_55_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401829777","1401829633","1401829758","1401829773","1401829871","1401829798"],"photo_ids_order":["1401829633","1401829758","1401829773","1401829777","1401829798","1401829871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc3bca7aa0dd3fc21aac906d233d0133.jpg","text":"TemporaryFile(/tmp/multipartBody2642844279565947038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153694098,"filename":"image_02112025_22_05_16_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c90007a710c58ac7d9be2430c500fcbf.jpg","text":"TemporaryFile(/tmp/multipartBody5657511839833862690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153694098,"filename":"image_02112025_22_04_46_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caf9da0d53155531e58847bb48f4e977.jpg","text":"TemporaryFile(/tmp/multipartBody2387541811787892442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153694098,"filename":"image_02112025_22_04_56_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bb3bcc03b42b7e261207d7719bf15e9.jpg","text":"TemporaryFile(/tmp/multipartBody7228188039892322985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153694098,"filename":"image_02112025_22_05_10_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/149808935c55acee906b008741d47568.jpg","text":"TemporaryFile(/tmp/multipartBody4961295769156227323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153694098,"filename":"image_02112025_22_05_55_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6567eb031e1137f7264978feb35c6647.jpg","text":"TemporaryFile(/tmp/multipartBody2491650701680248459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153694098,"filename":"image_02112025_22_05_28_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401829773","file1":"1401829758","file0":"1401829633","file4":"1401829798","file5":"1401829871","file3":"1401829777"},"map_files_photo_id_array":[{"photo_id":"1401829871","filename":"file5"},{"photo_id":"1401829773","filename":"file2"},{"photo_id":"1401829798","filename":"file4"},{"photo_id":"1401829758","filename":"file1"},{"photo_id":"1401829633","filename":"file0"},{"photo_id":"1401829777","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401829777":["hashtag1","hashtag2"]},{"1401829633":["hashtag1","hashtag2"]},{"1401829758":["hashtag1","hashtag2"]},{"1401829773":["hashtag1","hashtag2"]},{"1401829871":["hashtag1","hashtag2"]},{"1401829798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401829777, 1401829633, 1401829758, 1401829773, 1401829871, 1401829798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27757525444031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:01:12.558240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_04_2610.jpg', '/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_13_2607.jpg', '/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_27_2622.jpg', '/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_34_2775.jpg', '/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_36_2454.jpg', '/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_40_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_04_2610.jpg
/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_13_2607.jpg
/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_27_2622.jpg
/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_34_2775.jpg
/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_36_2454.jpg
/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_40_3737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401830298","1401830448","1401830390","1401830168","1401830258","1401830222"],"photo_ids_order":["1401830168","1401830222","1401830258","1401830298","1401830390","1401830448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb618a36d1bcef6402e202bdfe45ca04.jpg","text":"TemporaryFile(/tmp/multipartBody3391351739236645298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153734382,"filename":"image_02112025_22_06_34_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0586e7e2d0a8ef11d42519b7f7fc2af7.jpg","text":"TemporaryFile(/tmp/multipartBody5912732119659579137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153734382,"filename":"image_02112025_22_06_40_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e91b2d0869dadeb3ad1bee8f9e1227e.jpg","text":"TemporaryFile(/tmp/multipartBody7700539675205185831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153734382,"filename":"image_02112025_22_06_36_2454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c387dc8161fb42ffa38f8ffc3bfcc129.jpg","text":"TemporaryFile(/tmp/multipartBody7299460892382490259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153734382,"filename":"image_02112025_22_06_04_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bfc2e356feaf635810410995672f8e0.jpg","text":"TemporaryFile(/tmp/multipartBody3987992435102342518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153734382,"filename":"image_02112025_22_06_27_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c411b429ffd694c6c757a1160054b8af.jpg","text":"TemporaryFile(/tmp/multipartBody4137066841593157513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153734382,"filename":"image_02112025_22_06_13_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401830258","file1":"1401830222","file0":"1401830168","file4":"1401830390","file5":"1401830448","file3":"1401830298"},"map_files_photo_id_array":[{"photo_id":"1401830448","filename":"file5"},{"photo_id":"1401830258","filename":"file2"},{"photo_id":"1401830390","filename":"file4"},{"photo_id":"1401830222","filename":"file1"},{"photo_id":"1401830168","filename":"file0"},{"photo_id":"1401830298","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401830298":["hashtag1","hashtag2"]},{"1401830448":["hashtag1","hashtag2"]},{"1401830390":["hashtag1","hashtag2"]},{"1401830168":["hashtag1","hashtag2"]},{"1401830258":["hashtag1","hashtag2"]},{"1401830222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401830298, 1401830448, 1401830390, 1401830168, 1401830258, 1401830222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22838497161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:02:03.243495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_44_9832.jpg', '/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_55_10699.jpg', '/home/pi/Desktop/images/31122025/04/24/image_31122025_04_25_04_9861.jpg', '/home/pi/Desktop/images/31122025/04/25/image_31122025_04_25_24_9699.jpg', '/home/pi/Desktop/images/31122025/04/25/image_31122025_04_25_34_10545.jpg', '/home/pi/Desktop/images/31122025/04/25/image_31122025_04_25_44_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_44_9832.jpg
/home/pi/Desktop/images/31122025/04/24/image_31122025_04_24_55_10699.jpg
/home/pi/Desktop/images/31122025/04/24/image_31122025_04_25_04_9861.jpg
/home/pi/Desktop/images/31122025/04/25/image_31122025_04_25_24_9699.jpg
/home/pi/Desktop/images/31122025/04/25/image_31122025_04_25_34_10545.jpg
/home/pi/Desktop/images/31122025/04/25/image_31122025_04_25_44_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401830714","1401830791","1401830752","1401830839","1401830883","1401830675"],"photo_ids_order":["1401830675","1401830714","1401830752","1401830791","1401830839","1401830883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/217268ea133a46c3e90ea26987e8a9da.jpg","text":"TemporaryFile(/tmp/multipartBody1277990165403901984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153783862,"filename":"image_31122025_04_24_55_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4edfbb8185ed5345314610412365af17.jpg","text":"TemporaryFile(/tmp/multipartBody4066865473339081628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153783862,"filename":"image_31122025_04_25_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7ce81124105a536d696a7e3c1ca4961.jpg","text":"TemporaryFile(/tmp/multipartBody2190358310700290850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153783862,"filename":"image_31122025_04_25_04_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3a624cd7e212b909531e9469db4fdfa.jpg","text":"TemporaryFile(/tmp/multipartBody8086791524484155954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153783862,"filename":"image_31122025_04_25_34_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5145aad775ada94bae9733421ff9c015.jpg","text":"TemporaryFile(/tmp/multipartBody6905995187266418378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153783862,"filename":"image_31122025_04_25_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07e8c4052f375b845fe74a29c76eb2e2.jpg","text":"TemporaryFile(/tmp/multipartBody6359970477092075224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153783862,"filename":"image_31122025_04_24_44_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401830752","file1":"1401830714","file0":"1401830675","file4":"1401830839","file5":"1401830883","file3":"1401830791"},"map_files_photo_id_array":[{"photo_id":"1401830883","filename":"file5"},{"photo_id":"1401830752","filename":"file2"},{"photo_id":"1401830839","filename":"file4"},{"photo_id":"1401830714","filename":"file1"},{"photo_id":"1401830675","filename":"file0"},{"photo_id":"1401830791","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401830714":["hashtag1","hashtag2"]},{"1401830791":["hashtag1","hashtag2"]},{"1401830752":["hashtag1","hashtag2"]},{"1401830839":["hashtag1","hashtag2"]},{"1401830883":["hashtag1","hashtag2"]},{"1401830675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401830714, 1401830791, 1401830752, 1401830839, 1401830883, 1401830675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22916007041931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:02:42.785288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_43_2794.jpg', '/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_47_4317.jpg', '/home/pi/Desktop/images/02112025/22/07/image_02112025_22_07_31_2745.jpg', '/home/pi/Desktop/images/02112025/22/07/image_02112025_22_07_33_2750.jpg', '/home/pi/Desktop/images/02112025/22/07/image_02112025_22_07_46_3753.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_01_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_43_2794.jpg
/home/pi/Desktop/images/02112025/22/06/image_02112025_22_06_47_4317.jpg
/home/pi/Desktop/images/02112025/22/07/image_02112025_22_07_31_2745.jpg
/home/pi/Desktop/images/02112025/22/07/image_02112025_22_07_33_2750.jpg
/home/pi/Desktop/images/02112025/22/07/image_02112025_22_07_46_3753.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_01_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831060","1401831054","1401831063","1401831057","1401831021","1401831068"],"photo_ids_order":["1401831021","1401831054","1401831057","1401831060","1401831063","1401831068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5ad391d2928e7c675887139c8f50585.jpg","text":"TemporaryFile(/tmp/multipartBody7557759005762144835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153824687,"filename":"image_02112025_22_07_33_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd9f860296917be70786ff4a982645db.jpg","text":"TemporaryFile(/tmp/multipartBody7523463621006092857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153824687,"filename":"image_02112025_22_06_47_4317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c24fbddc0edfcd3da91d20e867989a21.jpg","text":"TemporaryFile(/tmp/multipartBody3823865834091258212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153824687,"filename":"image_02112025_22_07_46_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44b4b0a47f55a836f986acaa330a24e8.jpg","text":"TemporaryFile(/tmp/multipartBody8602656686554225742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153824687,"filename":"image_02112025_22_07_31_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1899e6e0b28c215f67bbcd80bd226266.jpg","text":"TemporaryFile(/tmp/multipartBody7778142629085849253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153824687,"filename":"image_02112025_22_06_43_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/741b435a5ebced1901d3320c91767259.jpg","text":"TemporaryFile(/tmp/multipartBody2968405886572549200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153824687,"filename":"image_02112025_22_08_01_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831057","file1":"1401831054","file0":"1401831021","file4":"1401831063","file5":"1401831068","file3":"1401831060"},"map_files_photo_id_array":[{"photo_id":"1401831068","filename":"file5"},{"photo_id":"1401831057","filename":"file2"},{"photo_id":"1401831063","filename":"file4"},{"photo_id":"1401831054","filename":"file1"},{"photo_id":"1401831021","filename":"file0"},{"photo_id":"1401831060","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401831060":["hashtag1","hashtag2"]},{"1401831054":["hashtag1","hashtag2"]},{"1401831063":["hashtag1","hashtag2"]},{"1401831057":["hashtag1","hashtag2"]},{"1401831021":["hashtag1","hashtag2"]},{"1401831068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401831060, 1401831054, 1401831063, 1401831057, 1401831021, 1401831068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91334271430969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:03:21.896461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/25/image_31122025_04_25_54_9708.jpg', '/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_14_9835.jpg', '/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_24_9664.jpg', '/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_35_10806.jpg', '/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_44_9591.jpg', '/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_54_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/25/image_31122025_04_25_54_9708.jpg
/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_14_9835.jpg
/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_24_9664.jpg
/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_35_10806.jpg
/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_44_9591.jpg
/home/pi/Desktop/images/31122025/04/26/image_31122025_04_26_54_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831079","1401831083","1401831086","1401831091","1401831088","1401831076"],"photo_ids_order":["1401831076","1401831079","1401831083","1401831086","1401831088","1401831091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c6aa04a9f04131a3608f08525c72633.jpg","text":"TemporaryFile(/tmp/multipartBody2313386383437525738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153862482,"filename":"image_31122025_04_26_14_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/835f507b2d37ce049708d5f1b7855f27.jpg","text":"TemporaryFile(/tmp/multipartBody4982082075029323543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153862482,"filename":"image_31122025_04_26_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efd68b56ad2f33da69edbec633845e08.jpg","text":"TemporaryFile(/tmp/multipartBody1601630455208279136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153862482,"filename":"image_31122025_04_26_35_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bceb2f97899dfe5973ddcbac55b896aa.jpg","text":"TemporaryFile(/tmp/multipartBody4676724156347677318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153862482,"filename":"image_31122025_04_26_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b430b20ede7bf29b721343a4f1602ac.jpg","text":"TemporaryFile(/tmp/multipartBody5209882021742785928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153862482,"filename":"image_31122025_04_26_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e653d8d79466d875aab1a603d2dcab70.jpg","text":"TemporaryFile(/tmp/multipartBody4770026656323700622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153862482,"filename":"image_31122025_04_25_54_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831083","file1":"1401831079","file0":"1401831076","file4":"1401831088","file5":"1401831091","file3":"1401831086"},"map_files_photo_id_array":[{"photo_id":"1401831091","filename":"file5"},{"photo_id":"1401831083","filename":"file2"},{"photo_id":"1401831088","filename":"file4"},{"photo_id":"1401831079","filename":"file1"},{"photo_id":"1401831076","filename":"file0"},{"photo_id":"1401831086","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831079":["hashtag1","hashtag2"]},{"1401831083":["hashtag1","hashtag2"]},{"1401831086":["hashtag1","hashtag2"]},{"1401831091":["hashtag1","hashtag2"]},{"1401831088":["hashtag1","hashtag2"]},{"1401831076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831079, 1401831083, 1401831086, 1401831091, 1401831088, 1401831076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.388526916503906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:04:02.857094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/26/image_31122025_04_27_05_10687.jpg', '/home/pi/Desktop/images/31122025/04/27/image_31122025_04_27_14_9734.jpg', '/home/pi/Desktop/images/31122025/04/27/image_31122025_04_27_24_9552.jpg', '/home/pi/Desktop/images/31122025/04/27/image_31122025_04_27_44_10596.jpg', '/home/pi/Desktop/images/31122025/04/27/image_31122025_04_27_54_9787.jpg', '/home/pi/Desktop/images/31122025/04/27/image_31122025_04_28_04_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/26/image_31122025_04_27_05_10687.jpg
/home/pi/Desktop/images/31122025/04/27/image_31122025_04_27_14_9734.jpg
/home/pi/Desktop/images/31122025/04/27/image_31122025_04_27_24_9552.jpg
/home/pi/Desktop/images/31122025/04/27/image_31122025_04_27_44_10596.jpg
/home/pi/Desktop/images/31122025/04/27/image_31122025_04_27_54_9787.jpg
/home/pi/Desktop/images/31122025/04/27/image_31122025_04_28_04_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831376","1401831228","1401831339","1401831269","1401831305","1401831190"],"photo_ids_order":["1401831190","1401831228","1401831269","1401831305","1401831339","1401831376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b7d45761ea9d4394b7d18a20534384d.jpg","text":"TemporaryFile(/tmp/multipartBody1379905099144227687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153903601,"filename":"image_31122025_04_28_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b60db7c42b209fa2db72ee4ceb340c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6555877053375407762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153903601,"filename":"image_31122025_04_27_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc7a9fc9d8a700098dfa814076754781.jpg","text":"TemporaryFile(/tmp/multipartBody1685435721553130244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153903601,"filename":"image_31122025_04_27_54_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84444414fca0a900d8c00207a8bdf15d.jpg","text":"TemporaryFile(/tmp/multipartBody6547114529758709536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153903601,"filename":"image_31122025_04_27_24_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b8d714abf2e93489feec429919b9db1.jpg","text":"TemporaryFile(/tmp/multipartBody4930092939906985684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153903601,"filename":"image_31122025_04_27_44_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0f6b2be9a91a6bbc1baf121b024ff44.jpg","text":"TemporaryFile(/tmp/multipartBody9057282861620179164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153903601,"filename":"image_31122025_04_27_05_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831269","file1":"1401831228","file0":"1401831190","file4":"1401831339","file5":"1401831376","file3":"1401831305"},"map_files_photo_id_array":[{"photo_id":"1401831376","filename":"file5"},{"photo_id":"1401831269","filename":"file2"},{"photo_id":"1401831339","filename":"file4"},{"photo_id":"1401831228","filename":"file1"},{"photo_id":"1401831190","filename":"file0"},{"photo_id":"1401831305","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831376":["hashtag1","hashtag2"]},{"1401831228":["hashtag1","hashtag2"]},{"1401831339":["hashtag1","hashtag2"]},{"1401831269":["hashtag1","hashtag2"]},{"1401831305":["hashtag1","hashtag2"]},{"1401831190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831376, 1401831228, 1401831339, 1401831269, 1401831305, 1401831190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98681855201721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:04:42.171174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_07_3673.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_10_2532.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_12_2812.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_19_2695.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_21_2668.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_28_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_07_3673.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_10_2532.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_12_2812.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_19_2695.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_21_2668.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_28_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831448","1401831529","1401831453","1401831488","1401831545","1401831559"],"photo_ids_order":["1401831448","1401831453","1401831488","1401831529","1401831545","1401831559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af4908b902ae615ab00eaf51879bc777.jpg","text":"TemporaryFile(/tmp/multipartBody3198713111894529448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153944073,"filename":"image_02112025_22_08_07_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7ee8623dfb9a5ef415d790002f67ea5.jpg","text":"TemporaryFile(/tmp/multipartBody5928302170497541344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153944073,"filename":"image_02112025_22_08_19_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f59f2f2308f6a63c0885a56a0cc83cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2087308011303141312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153944073,"filename":"image_02112025_22_08_10_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1664361e34785611b0e4a8979406b561.jpg","text":"TemporaryFile(/tmp/multipartBody5077018390830082283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153944073,"filename":"image_02112025_22_08_12_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d05f5d89d0f9ef0b4a2d1520006efbf.jpg","text":"TemporaryFile(/tmp/multipartBody3150070987192961764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153944073,"filename":"image_02112025_22_08_21_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00b5e3e891353ac8d07d3460b18727c2.jpg","text":"TemporaryFile(/tmp/multipartBody1201394910064562321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153944073,"filename":"image_02112025_22_08_28_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831488","file1":"1401831453","file0":"1401831448","file4":"1401831545","file5":"1401831559","file3":"1401831529"},"map_files_photo_id_array":[{"photo_id":"1401831559","filename":"file5"},{"photo_id":"1401831488","filename":"file2"},{"photo_id":"1401831545","filename":"file4"},{"photo_id":"1401831453","filename":"file1"},{"photo_id":"1401831448","filename":"file0"},{"photo_id":"1401831529","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401831448":["hashtag1","hashtag2"]},{"1401831529":["hashtag1","hashtag2"]},{"1401831453":["hashtag1","hashtag2"]},{"1401831488":["hashtag1","hashtag2"]},{"1401831545":["hashtag1","hashtag2"]},{"1401831559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401831448, 1401831529, 1401831453, 1401831488, 1401831545, 1401831559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87035250663757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:05:22.362579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/28/image_31122025_04_28_14_9769.jpg', '/home/pi/Desktop/images/31122025/04/28/image_31122025_04_28_34_9630.jpg', '/home/pi/Desktop/images/31122025/04/28/image_31122025_04_28_45_10658.jpg', '/home/pi/Desktop/images/31122025/04/28/image_31122025_04_28_54_9717.jpg', '/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_14_9809.jpg', '/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_24_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/28/image_31122025_04_28_14_9769.jpg
/home/pi/Desktop/images/31122025/04/28/image_31122025_04_28_34_9630.jpg
/home/pi/Desktop/images/31122025/04/28/image_31122025_04_28_45_10658.jpg
/home/pi/Desktop/images/31122025/04/28/image_31122025_04_28_54_9717.jpg
/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_14_9809.jpg
/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_24_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831613","1401831615","1401831620","1401831623","1401831617","1401831626"],"photo_ids_order":["1401831613","1401831615","1401831617","1401831620","1401831623","1401831626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1bf11fa7e01d344e38785654e4870aa.jpg","text":"TemporaryFile(/tmp/multipartBody449903157520598308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153982986,"filename":"image_31122025_04_28_14_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7eacf92914b4f88cc50ae55bea183d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8880324861252005590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153982986,"filename":"image_31122025_04_28_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bcf1f448691472edaa92e2a0296d96d.jpg","text":"TemporaryFile(/tmp/multipartBody5616703683297376922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153982986,"filename":"image_31122025_04_28_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caf6cd05527cee9f0fd6c5d6bd70b1a1.jpg","text":"TemporaryFile(/tmp/multipartBody1118698740279512763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153982986,"filename":"image_31122025_04_29_14_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd7818c671221a0d08ff1c17439a9f22.jpg","text":"TemporaryFile(/tmp/multipartBody7185572211790322392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153982986,"filename":"image_31122025_04_28_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a0e4dda7b05518d2f23281420752fa1.jpg","text":"TemporaryFile(/tmp/multipartBody496460705997536065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767153982986,"filename":"image_31122025_04_29_24_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831617","file1":"1401831615","file0":"1401831613","file4":"1401831623","file5":"1401831626","file3":"1401831620"},"map_files_photo_id_array":[{"photo_id":"1401831626","filename":"file5"},{"photo_id":"1401831617","filename":"file2"},{"photo_id":"1401831623","filename":"file4"},{"photo_id":"1401831615","filename":"file1"},{"photo_id":"1401831613","filename":"file0"},{"photo_id":"1401831620","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831613":["hashtag1","hashtag2"]},{"1401831615":["hashtag1","hashtag2"]},{"1401831620":["hashtag1","hashtag2"]},{"1401831623":["hashtag1","hashtag2"]},{"1401831617":["hashtag1","hashtag2"]},{"1401831626":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831613, 1401831615, 1401831620, 1401831623, 1401831617, 1401831626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.379037857055664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:06:02.883512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_34_9628.jpg', '/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_44_10250.jpg', '/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_54_9618.jpg', '/home/pi/Desktop/images/31122025/04/29/image_31122025_04_30_05_10679.jpg', '/home/pi/Desktop/images/31122025/04/30/image_31122025_04_30_14_9623.jpg', '/home/pi/Desktop/images/31122025/04/30/image_31122025_04_30_25_10272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_34_9628.jpg
/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_44_10250.jpg
/home/pi/Desktop/images/31122025/04/29/image_31122025_04_29_54_9618.jpg
/home/pi/Desktop/images/31122025/04/29/image_31122025_04_30_05_10679.jpg
/home/pi/Desktop/images/31122025/04/30/image_31122025_04_30_14_9623.jpg
/home/pi/Desktop/images/31122025/04/30/image_31122025_04_30_25_10272.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831652","1401831643","1401831639","1401831647","1401831656","1401831635"],"photo_ids_order":["1401831635","1401831639","1401831643","1401831647","1401831652","1401831656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4f2f3db05536d4915e33c3676526bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8160932461391167592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154023512,"filename":"image_31122025_04_30_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/182a8a1ed7a26881106e4c12c4a34a29.jpg","text":"TemporaryFile(/tmp/multipartBody5481195968562291187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154023512,"filename":"image_31122025_04_29_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/daae4e700c347cecdaefb69054a4e244.jpg","text":"TemporaryFile(/tmp/multipartBody3498709172012415128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154023512,"filename":"image_31122025_04_29_44_10250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4214750809b4d6af18a001c1234a4925.jpg","text":"TemporaryFile(/tmp/multipartBody2660288422009531512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154023512,"filename":"image_31122025_04_30_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a14f5fa015848edc281649dd74fe128f.jpg","text":"TemporaryFile(/tmp/multipartBody2723765395003568061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154023512,"filename":"image_31122025_04_30_25_10272.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b536513031d8c97b8ac270fba55bb078.jpg","text":"TemporaryFile(/tmp/multipartBody1413310723376557072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154023512,"filename":"image_31122025_04_29_34_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831643","file1":"1401831639","file0":"1401831635","file4":"1401831652","file5":"1401831656","file3":"1401831647"},"map_files_photo_id_array":[{"photo_id":"1401831656","filename":"file5"},{"photo_id":"1401831643","filename":"file2"},{"photo_id":"1401831652","filename":"file4"},{"photo_id":"1401831639","filename":"file1"},{"photo_id":"1401831635","filename":"file0"},{"photo_id":"1401831647","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831652":["hashtag1","hashtag2"]},{"1401831643":["hashtag1","hashtag2"]},{"1401831639":["hashtag1","hashtag2"]},{"1401831647":["hashtag1","hashtag2"]},{"1401831656":["hashtag1","hashtag2"]},{"1401831635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831652, 1401831643, 1401831639, 1401831647, 1401831656, 1401831635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.481489181518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:06:42.529270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_43_2683.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_48_2631.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_52_3649.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_57_2717.jpg', '/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_09_2625.jpg', '/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_21_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_43_2683.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_48_2631.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_52_3649.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_57_2717.jpg
/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_09_2625.jpg
/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_21_2672.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8071246147155762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:07:03.461263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/30/image_31122025_04_30_35_10022.jpg', '/home/pi/Desktop/images/31122025/04/30/image_31122025_04_30_54_9596.jpg', '/home/pi/Desktop/images/31122025/04/30/image_31122025_04_31_05_10815.jpg', '/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_14_9716.jpg', '/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_24_9789.jpg', '/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_34_10130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/30/image_31122025_04_30_35_10022.jpg
/home/pi/Desktop/images/31122025/04/30/image_31122025_04_30_54_9596.jpg
/home/pi/Desktop/images/31122025/04/30/image_31122025_04_31_05_10815.jpg
/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_14_9716.jpg
/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_24_9789.jpg
/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_34_10130.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831692","1401831695","1401831689","1401831682","1401831685","1401831679"],"photo_ids_order":["1401831679","1401831682","1401831685","1401831689","1401831692","1401831695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d5a76208b3c6a415ad17c21d5e45b31.jpg","text":"TemporaryFile(/tmp/multipartBody5145192742754080879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154084102,"filename":"image_31122025_04_31_24_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b14394ad54d5d70fe1ffdae15a8b847e.jpg","text":"TemporaryFile(/tmp/multipartBody4444639551867170543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154084102,"filename":"image_31122025_04_31_34_10130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd081c8ef0601852b21da4be1eda9279.jpg","text":"TemporaryFile(/tmp/multipartBody4994291071113355150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154084102,"filename":"image_31122025_04_31_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2df1164ed5d272cd1471936c7db4f695.jpg","text":"TemporaryFile(/tmp/multipartBody4355150585614377943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154084102,"filename":"image_31122025_04_30_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6ecf25f065f3f8b1f95ba538a7713bb.jpg","text":"TemporaryFile(/tmp/multipartBody3168543498882150330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154084102,"filename":"image_31122025_04_31_05_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d527bd7c46c969faa239730736debc94.jpg","text":"TemporaryFile(/tmp/multipartBody9125390050004409652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154084102,"filename":"image_31122025_04_30_35_10022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831685","file1":"1401831682","file0":"1401831679","file4":"1401831692","file5":"1401831695","file3":"1401831689"},"map_files_photo_id_array":[{"photo_id":"1401831695","filename":"file5"},{"photo_id":"1401831685","filename":"file2"},{"photo_id":"1401831692","filename":"file4"},{"photo_id":"1401831682","filename":"file1"},{"photo_id":"1401831679","filename":"file0"},{"photo_id":"1401831689","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831692":["hashtag1","hashtag2"]},{"1401831695":["hashtag1","hashtag2"]},{"1401831689":["hashtag1","hashtag2"]},{"1401831682":["hashtag1","hashtag2"]},{"1401831685":["hashtag1","hashtag2"]},{"1401831679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831692, 1401831695, 1401831689, 1401831682, 1401831685, 1401831679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.281150341033936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:07:42.676404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_43_2683.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_48_2631.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_52_3649.jpg', '/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_57_2717.jpg', '/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_09_2625.jpg', '/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_21_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_43_2683.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_48_2631.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_52_3649.jpg
/home/pi/Desktop/images/02112025/22/08/image_02112025_22_08_57_2717.jpg
/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_09_2625.jpg
/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_21_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831706","1401831703","1401831714","1401831708","1401831701","1401831710"],"photo_ids_order":["1401831701","1401831703","1401831706","1401831708","1401831710","1401831714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0521acdf999f51bccbc66925670521c.jpg","text":"TemporaryFile(/tmp/multipartBody7191578815770699471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154124444,"filename":"image_02112025_22_08_52_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/042d9948ce068dbd1bbebb67225d6948.jpg","text":"TemporaryFile(/tmp/multipartBody7724494020037555851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154124444,"filename":"image_02112025_22_08_48_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c52acb3cd25039cbf1019a5be9158b2.jpg","text":"TemporaryFile(/tmp/multipartBody5140056794105104146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154124444,"filename":"image_02112025_22_09_21_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b63725bb8c5ccb08516b2d2f53cbfffc.jpg","text":"TemporaryFile(/tmp/multipartBody5099241041601974283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154124444,"filename":"image_02112025_22_08_57_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8abea863692752d4be3461c2b2a96517.jpg","text":"TemporaryFile(/tmp/multipartBody5299233289234907037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154124444,"filename":"image_02112025_22_08_43_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49c788d6bfb5f2b7919a952e053d0edc.jpg","text":"TemporaryFile(/tmp/multipartBody7571826742120565537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154124444,"filename":"image_02112025_22_09_09_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831706","file1":"1401831703","file0":"1401831701","file4":"1401831710","file5":"1401831714","file3":"1401831708"},"map_files_photo_id_array":[{"photo_id":"1401831714","filename":"file5"},{"photo_id":"1401831706","filename":"file2"},{"photo_id":"1401831710","filename":"file4"},{"photo_id":"1401831703","filename":"file1"},{"photo_id":"1401831701","filename":"file0"},{"photo_id":"1401831708","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401831706":["hashtag1","hashtag2"]},{"1401831703":["hashtag1","hashtag2"]},{"1401831714":["hashtag1","hashtag2"]},{"1401831708":["hashtag1","hashtag2"]},{"1401831701":["hashtag1","hashtag2"]},{"1401831710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401831706, 1401831703, 1401831714, 1401831708, 1401831701, 1401831710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79539966583252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:08:21.817739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_44_9613.jpg', '/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_55_10678.jpg', '/home/pi/Desktop/images/31122025/04/31/image_31122025_04_32_04_9772.jpg', '/home/pi/Desktop/images/31122025/04/32/image_31122025_04_32_14_9643.jpg', '/home/pi/Desktop/images/31122025/04/32/image_31122025_04_32_34_10585.jpg', '/home/pi/Desktop/images/31122025/04/32/image_31122025_04_32_44_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_44_9613.jpg
/home/pi/Desktop/images/31122025/04/31/image_31122025_04_31_55_10678.jpg
/home/pi/Desktop/images/31122025/04/31/image_31122025_04_32_04_9772.jpg
/home/pi/Desktop/images/31122025/04/32/image_31122025_04_32_14_9643.jpg
/home/pi/Desktop/images/31122025/04/32/image_31122025_04_32_34_10585.jpg
/home/pi/Desktop/images/31122025/04/32/image_31122025_04_32_44_9547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831730","1401831726","1401831740","1401831734","1401831737","1401831722"],"photo_ids_order":["1401831722","1401831726","1401831730","1401831734","1401831737","1401831740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22f183653cb1f4011aeddd049c22cae2.jpg","text":"TemporaryFile(/tmp/multipartBody8935166734317935717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154162413,"filename":"image_31122025_04_32_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe79cd48613f453af431915e9bb630ec.jpg","text":"TemporaryFile(/tmp/multipartBody1807568017211017595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154162413,"filename":"image_31122025_04_31_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79ea2214bd1acdf9b231398e4a00e6b3.jpg","text":"TemporaryFile(/tmp/multipartBody8618642294233935614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154162413,"filename":"image_31122025_04_32_44_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/020a94cac7749494216441b7e44ebf5a.jpg","text":"TemporaryFile(/tmp/multipartBody6438794099815151771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154162413,"filename":"image_31122025_04_32_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ebf660da7a15bf89162d9d8adf21a29.jpg","text":"TemporaryFile(/tmp/multipartBody6637730589216555963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154162413,"filename":"image_31122025_04_32_34_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16360e10efa4626a1a1904ee20d79d40.jpg","text":"TemporaryFile(/tmp/multipartBody8361645358063072893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154162413,"filename":"image_31122025_04_31_44_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831730","file1":"1401831726","file0":"1401831722","file4":"1401831737","file5":"1401831740","file3":"1401831734"},"map_files_photo_id_array":[{"photo_id":"1401831740","filename":"file5"},{"photo_id":"1401831730","filename":"file2"},{"photo_id":"1401831737","filename":"file4"},{"photo_id":"1401831726","filename":"file1"},{"photo_id":"1401831722","filename":"file0"},{"photo_id":"1401831734","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831730":["hashtag1","hashtag2"]},{"1401831726":["hashtag1","hashtag2"]},{"1401831740":["hashtag1","hashtag2"]},{"1401831734":["hashtag1","hashtag2"]},{"1401831737":["hashtag1","hashtag2"]},{"1401831722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831730, 1401831726, 1401831740, 1401831734, 1401831737, 1401831722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92379713058472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:09:03.117567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/32/image_31122025_04_32_54_10122.jpg', '/home/pi/Desktop/images/31122025/04/32/image_31122025_04_33_04_9862.jpg', '/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_15_10666.jpg', '/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_24_9726.jpg', '/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_34_9645.jpg', '/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_45_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/32/image_31122025_04_32_54_10122.jpg
/home/pi/Desktop/images/31122025/04/32/image_31122025_04_33_04_9862.jpg
/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_15_10666.jpg
/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_24_9726.jpg
/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_34_9645.jpg
/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_45_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831751","1401831753","1401831756","1401831758","1401831760","1401831763"],"photo_ids_order":["1401831751","1401831753","1401831756","1401831758","1401831760","1401831763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7809c77141fd7c4ebe942e99805e9488.jpg","text":"TemporaryFile(/tmp/multipartBody5372795426254795877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154203874,"filename":"image_31122025_04_32_54_10122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d32233cb09cc0fe49e53be8fa79dd09.jpg","text":"TemporaryFile(/tmp/multipartBody7311923815351617802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154203874,"filename":"image_31122025_04_33_04_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa7ec2fe2ecc256408b0e9fac5a86706.jpg","text":"TemporaryFile(/tmp/multipartBody1977507276127092679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154203874,"filename":"image_31122025_04_33_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/032f59f25b973501d174decc68157428.jpg","text":"TemporaryFile(/tmp/multipartBody7820646607873284823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154203874,"filename":"image_31122025_04_33_24_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bd8c56ea854e08140f21e78c9ffe78b.jpg","text":"TemporaryFile(/tmp/multipartBody7000612948694069992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154203874,"filename":"image_31122025_04_33_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37ad2769c7f341734c70bf8f8560b796.jpg","text":"TemporaryFile(/tmp/multipartBody1579112660786299696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154203874,"filename":"image_31122025_04_33_45_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831756","file1":"1401831753","file0":"1401831751","file4":"1401831760","file5":"1401831763","file3":"1401831758"},"map_files_photo_id_array":[{"photo_id":"1401831763","filename":"file5"},{"photo_id":"1401831756","filename":"file2"},{"photo_id":"1401831760","filename":"file4"},{"photo_id":"1401831753","filename":"file1"},{"photo_id":"1401831751","filename":"file0"},{"photo_id":"1401831758","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831751":["hashtag1","hashtag2"]},{"1401831753":["hashtag1","hashtag2"]},{"1401831756":["hashtag1","hashtag2"]},{"1401831758":["hashtag1","hashtag2"]},{"1401831760":["hashtag1","hashtag2"]},{"1401831763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831751, 1401831753, 1401831756, 1401831758, 1401831760, 1401831763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.653584003448486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:09:42.158526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_39_2668.jpg', '/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_45_2623.jpg', '/home/pi/Desktop/images/02112025/22/10/image_02112025_22_10_07_3011.jpg', '/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_10_2832.jpg', '/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_17_2912.jpg', '/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_32_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_39_2668.jpg
/home/pi/Desktop/images/02112025/22/09/image_02112025_22_09_45_2623.jpg
/home/pi/Desktop/images/02112025/22/10/image_02112025_22_10_07_3011.jpg
/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_10_2832.jpg
/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_17_2912.jpg
/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_32_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831780","1401831779","1401831773","1401831781","1401831775","1401831778"],"photo_ids_order":["1401831773","1401831775","1401831778","1401831779","1401831780","1401831781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/622e22ff431a305eeeaf82d1628cff75.jpg","text":"TemporaryFile(/tmp/multipartBody1542812964529822238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154244074,"filename":"image_02112025_22_11_17_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9b80d76fd75c17b338536925b617cdf.jpg","text":"TemporaryFile(/tmp/multipartBody5501170151405088065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154244074,"filename":"image_02112025_22_11_10_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ff19d044e3c51606ad009be932d12d5.jpg","text":"TemporaryFile(/tmp/multipartBody433979311557527880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154244074,"filename":"image_02112025_22_09_39_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7d82cf6f923b793786ecb677c91c95c.jpg","text":"TemporaryFile(/tmp/multipartBody901962866313045665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154244074,"filename":"image_02112025_22_11_32_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d311d4b6accea845b35a45a10bf8b823.jpg","text":"TemporaryFile(/tmp/multipartBody5276733867454807669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154244074,"filename":"image_02112025_22_09_45_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/380623ef66b74b546bffe7646825cf80.jpg","text":"TemporaryFile(/tmp/multipartBody7919222168731928748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154244074,"filename":"image_02112025_22_10_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831778","file1":"1401831775","file0":"1401831773","file4":"1401831780","file5":"1401831781","file3":"1401831779"},"map_files_photo_id_array":[{"photo_id":"1401831781","filename":"file5"},{"photo_id":"1401831778","filename":"file2"},{"photo_id":"1401831780","filename":"file4"},{"photo_id":"1401831775","filename":"file1"},{"photo_id":"1401831773","filename":"file0"},{"photo_id":"1401831779","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401831780":["hashtag1","hashtag2"]},{"1401831779":["hashtag1","hashtag2"]},{"1401831773":["hashtag1","hashtag2"]},{"1401831781":["hashtag1","hashtag2"]},{"1401831775":["hashtag1","hashtag2"]},{"1401831778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401831780, 1401831779, 1401831773, 1401831781, 1401831775, 1401831778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74214434623718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:10:22.284337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_54_9800.jpg', '/home/pi/Desktop/images/31122025/04/34/image_31122025_04_34_14_9716.jpg', '/home/pi/Desktop/images/31122025/04/34/image_31122025_04_34_24_10531.jpg', '/home/pi/Desktop/images/31122025/04/34/image_31122025_04_34_34_9553.jpg', '/home/pi/Desktop/images/31122025/04/34/image_31122025_04_34_44_9777.jpg', '/home/pi/Desktop/images/31122025/04/34/image_31122025_04_35_05_9894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/33/image_31122025_04_33_54_9800.jpg
/home/pi/Desktop/images/31122025/04/34/image_31122025_04_34_14_9716.jpg
/home/pi/Desktop/images/31122025/04/34/image_31122025_04_34_24_10531.jpg
/home/pi/Desktop/images/31122025/04/34/image_31122025_04_34_34_9553.jpg
/home/pi/Desktop/images/31122025/04/34/image_31122025_04_34_44_9777.jpg
/home/pi/Desktop/images/31122025/04/34/image_31122025_04_35_05_9894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831794","1401831797","1401831791","1401831803","1401831787","1401831806"],"photo_ids_order":["1401831787","1401831791","1401831794","1401831797","1401831803","1401831806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fdaa59a57033f845ce4ad719b2f517b.jpg","text":"TemporaryFile(/tmp/multipartBody7217399250686470605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154282879,"filename":"image_31122025_04_34_24_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d325c82f6c7797ef53d840fed3b71aa2.jpg","text":"TemporaryFile(/tmp/multipartBody3730821831948182231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154282879,"filename":"image_31122025_04_34_34_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bee4e0df5baf08e6b3cf97a3c09b8f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2081300668886888803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154282879,"filename":"image_31122025_04_34_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76fb278a5ae1e81ccc771138ca378a6e.jpg","text":"TemporaryFile(/tmp/multipartBody1280500043911577444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154282879,"filename":"image_31122025_04_34_44_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/514091bbee6ec77b5fed1d54f02f0890.jpg","text":"TemporaryFile(/tmp/multipartBody164267609035782284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154282879,"filename":"image_31122025_04_33_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23c2fbc2e4512f963293aa0b9bdc9720.jpg","text":"TemporaryFile(/tmp/multipartBody6918805559426297616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154282879,"filename":"image_31122025_04_35_05_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831794","file1":"1401831791","file0":"1401831787","file4":"1401831803","file5":"1401831806","file3":"1401831797"},"map_files_photo_id_array":[{"photo_id":"1401831806","filename":"file5"},{"photo_id":"1401831794","filename":"file2"},{"photo_id":"1401831803","filename":"file4"},{"photo_id":"1401831791","filename":"file1"},{"photo_id":"1401831787","filename":"file0"},{"photo_id":"1401831797","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831794":["hashtag1","hashtag2"]},{"1401831797":["hashtag1","hashtag2"]},{"1401831791":["hashtag1","hashtag2"]},{"1401831803":["hashtag1","hashtag2"]},{"1401831787":["hashtag1","hashtag2"]},{"1401831806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831794, 1401831797, 1401831791, 1401831803, 1401831787, 1401831806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64760971069336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:11:03.101547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_14_9699.jpg', '/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_24_9688.jpg', '/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_35_10787.jpg', '/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_44_9684.jpg', '/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_54_9795.jpg', '/home/pi/Desktop/images/31122025/04/35/image_31122025_04_36_04_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_14_9699.jpg
/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_24_9688.jpg
/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_35_10787.jpg
/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_44_9684.jpg
/home/pi/Desktop/images/31122025/04/35/image_31122025_04_35_54_9795.jpg
/home/pi/Desktop/images/31122025/04/35/image_31122025_04_36_04_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831814","1401831827","1401831821","1401831830","1401831824","1401831818"],"photo_ids_order":["1401831814","1401831818","1401831821","1401831824","1401831827","1401831830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20ae283def88c9265d32b9d26bc47729.jpg","text":"TemporaryFile(/tmp/multipartBody5745950685978424742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154323749,"filename":"image_31122025_04_35_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd3fdc5de0cd991efb010a5c539528d2.jpg","text":"TemporaryFile(/tmp/multipartBody368186478991490461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154323749,"filename":"image_31122025_04_35_54_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d48ee499edc5f909b2e48d6011b2f84d.jpg","text":"TemporaryFile(/tmp/multipartBody6326188404050122746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154323749,"filename":"image_31122025_04_35_35_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aa4975165c08e042be82e1ddd58aa3d.jpg","text":"TemporaryFile(/tmp/multipartBody6242117618446796737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154323749,"filename":"image_31122025_04_36_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5cbeb56d89764fc6bf1387821f9e698.jpg","text":"TemporaryFile(/tmp/multipartBody4225792519212127494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154323749,"filename":"image_31122025_04_35_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c58c60aef218b2200dfbffeff58c726b.jpg","text":"TemporaryFile(/tmp/multipartBody7633850397798242284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154323749,"filename":"image_31122025_04_35_24_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831821","file1":"1401831818","file0":"1401831814","file4":"1401831827","file5":"1401831830","file3":"1401831824"},"map_files_photo_id_array":[{"photo_id":"1401831830","filename":"file5"},{"photo_id":"1401831821","filename":"file2"},{"photo_id":"1401831827","filename":"file4"},{"photo_id":"1401831818","filename":"file1"},{"photo_id":"1401831814","filename":"file0"},{"photo_id":"1401831824","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831814":["hashtag1","hashtag2"]},{"1401831827":["hashtag1","hashtag2"]},{"1401831821":["hashtag1","hashtag2"]},{"1401831830":["hashtag1","hashtag2"]},{"1401831824":["hashtag1","hashtag2"]},{"1401831818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831814, 1401831827, 1401831821, 1401831830, 1401831824, 1401831818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.349372148513794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:11:42.651546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_34_2565.jpg', '/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_37_2730.jpg', '/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_41_3666.jpg', '/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_53_2902.jpg', '/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_58_2564.jpg', '/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_02_3828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_34_2565.jpg
/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_37_2730.jpg
/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_41_3666.jpg
/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_53_2902.jpg
/home/pi/Desktop/images/02112025/22/11/image_02112025_22_11_58_2564.jpg
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_02_3828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831847","1401831843","1401831845","1401831839","1401831836","1401831841"],"photo_ids_order":["1401831836","1401831839","1401831841","1401831843","1401831845","1401831847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/971162818cb036939892bd8a0ea083d5.jpg","text":"TemporaryFile(/tmp/multipartBody5457130662896773024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154364559,"filename":"image_02112025_22_12_02_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fc45fa8c892bca471971e94eb3f740a.jpg","text":"TemporaryFile(/tmp/multipartBody9197171565671562772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154364559,"filename":"image_02112025_22_11_53_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83e3411b191b0f2902ac65cc6eff46cc.jpg","text":"TemporaryFile(/tmp/multipartBody1397490829028484757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154364559,"filename":"image_02112025_22_11_58_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbf7995401e6d34489c6e5ba9c336d96.jpg","text":"TemporaryFile(/tmp/multipartBody2336845556452584634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154364559,"filename":"image_02112025_22_11_37_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47ad44ab13d28b1c5d95d7d4a9b8edc7.jpg","text":"TemporaryFile(/tmp/multipartBody4577625835340316192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154364559,"filename":"image_02112025_22_11_34_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e99813c6885ae0becc924760ca623e8.jpg","text":"TemporaryFile(/tmp/multipartBody320468181196418627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154364559,"filename":"image_02112025_22_11_41_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831841","file1":"1401831839","file0":"1401831836","file4":"1401831845","file5":"1401831847","file3":"1401831843"},"map_files_photo_id_array":[{"photo_id":"1401831847","filename":"file5"},{"photo_id":"1401831841","filename":"file2"},{"photo_id":"1401831845","filename":"file4"},{"photo_id":"1401831839","filename":"file1"},{"photo_id":"1401831836","filename":"file0"},{"photo_id":"1401831843","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401831847":["hashtag1","hashtag2"]},{"1401831843":["hashtag1","hashtag2"]},{"1401831845":["hashtag1","hashtag2"]},{"1401831839":["hashtag1","hashtag2"]},{"1401831836":["hashtag1","hashtag2"]},{"1401831841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401831847, 1401831843, 1401831845, 1401831839, 1401831836, 1401831841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79788041114807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:12:22.827431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_15_10745.jpg', '/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_24_9611.jpg', '/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_34_9556.jpg', '/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_44_10591.jpg', '/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_54_9585.jpg', '/home/pi/Desktop/images/31122025/04/36/image_31122025_04_37_05_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_15_10745.jpg
/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_24_9611.jpg
/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_34_9556.jpg
/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_44_10591.jpg
/home/pi/Desktop/images/31122025/04/36/image_31122025_04_36_54_9585.jpg
/home/pi/Desktop/images/31122025/04/36/image_31122025_04_37_05_10762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831865","1401831870","1401831852","1401831857","1401831854","1401831862"],"photo_ids_order":["1401831852","1401831854","1401831857","1401831862","1401831865","1401831870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf46a01669803c26d253f6b2f28205a1.jpg","text":"TemporaryFile(/tmp/multipartBody2503794797621226628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154403420,"filename":"image_31122025_04_36_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcbb87ad0c78820a0631d38e7a1c8f38.jpg","text":"TemporaryFile(/tmp/multipartBody6856043283908480916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154403420,"filename":"image_31122025_04_37_05_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/918f7ccaabeb1697e8e615d297eabdda.jpg","text":"TemporaryFile(/tmp/multipartBody1268104267031738455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154403420,"filename":"image_31122025_04_36_15_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/303d3b32a81d0ae3777fee100e1f2c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7813680165223780279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154403420,"filename":"image_31122025_04_36_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e66ba4eb841018ee6cf18347cf1cd894.jpg","text":"TemporaryFile(/tmp/multipartBody615552773457030176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154403420,"filename":"image_31122025_04_36_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03a1e9a79a9016007a0e880308a57275.jpg","text":"TemporaryFile(/tmp/multipartBody4264738544752468186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154403420,"filename":"image_31122025_04_36_44_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831857","file1":"1401831854","file0":"1401831852","file4":"1401831865","file5":"1401831870","file3":"1401831862"},"map_files_photo_id_array":[{"photo_id":"1401831870","filename":"file5"},{"photo_id":"1401831857","filename":"file2"},{"photo_id":"1401831865","filename":"file4"},{"photo_id":"1401831854","filename":"file1"},{"photo_id":"1401831852","filename":"file0"},{"photo_id":"1401831862","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831865":["hashtag1","hashtag2"]},{"1401831870":["hashtag1","hashtag2"]},{"1401831852":["hashtag1","hashtag2"]},{"1401831857":["hashtag1","hashtag2"]},{"1401831854":["hashtag1","hashtag2"]},{"1401831862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831865, 1401831870, 1401831852, 1401831857, 1401831854, 1401831862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3606333732605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:13:02.711669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_14_9768.jpg', '/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_24_9663.jpg', '/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_34_9642.jpg', '/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_44_10680.jpg', '/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_54_9638.jpg', '/home/pi/Desktop/images/31122025/04/37/image_31122025_04_38_04_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_14_9768.jpg
/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_24_9663.jpg
/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_34_9642.jpg
/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_44_10680.jpg
/home/pi/Desktop/images/31122025/04/37/image_31122025_04_37_54_9638.jpg
/home/pi/Desktop/images/31122025/04/37/image_31122025_04_38_04_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831893","1401831896","1401831890","1401831884","1401831887","1401831889"],"photo_ids_order":["1401831884","1401831887","1401831889","1401831890","1401831893","1401831896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e75947939edf07fe25ea4ac9e786c89.jpg","text":"TemporaryFile(/tmp/multipartBody8035912105929720523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154443350,"filename":"image_31122025_04_37_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0185fe8f96ee06161a37535e4872066f.jpg","text":"TemporaryFile(/tmp/multipartBody3407424839310556262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154443350,"filename":"image_31122025_04_38_04_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36e9fa975b1c5cb83d5b68c7c5d3b5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5320721372803073811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154443350,"filename":"image_31122025_04_37_44_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30092b84677211327991328d74fc97eb.jpg","text":"TemporaryFile(/tmp/multipartBody7068524564911971528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154443350,"filename":"image_31122025_04_37_14_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ee68c34940465884a9a3c2deb917370.jpg","text":"TemporaryFile(/tmp/multipartBody4112874042755412125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154443350,"filename":"image_31122025_04_37_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/836234a1206d5800bccf964140ac7529.jpg","text":"TemporaryFile(/tmp/multipartBody1289954324139552209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154443350,"filename":"image_31122025_04_37_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831889","file1":"1401831887","file0":"1401831884","file4":"1401831893","file5":"1401831896","file3":"1401831890"},"map_files_photo_id_array":[{"photo_id":"1401831896","filename":"file5"},{"photo_id":"1401831889","filename":"file2"},{"photo_id":"1401831893","filename":"file4"},{"photo_id":"1401831887","filename":"file1"},{"photo_id":"1401831884","filename":"file0"},{"photo_id":"1401831890","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831893":["hashtag1","hashtag2"]},{"1401831896":["hashtag1","hashtag2"]},{"1401831890":["hashtag1","hashtag2"]},{"1401831884":["hashtag1","hashtag2"]},{"1401831887":["hashtag1","hashtag2"]},{"1401831889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831893, 1401831896, 1401831890, 1401831884, 1401831887, 1401831889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51519799232483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:13:42.051210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_10_2749.jpg', '/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_28_2701.jpg', '/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_35_3762.jpg', '/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_37_2739.jpg', '/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_47_3029.jpg', '/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_52_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_10_2749.jpg
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_28_2701.jpg
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_35_3762.jpg
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_37_2739.jpg
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_47_3029.jpg
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_52_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831907","1401831912","1401831906","1401831909","1401831908","1401831905"],"photo_ids_order":["1401831905","1401831906","1401831907","1401831908","1401831909","1401831912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a35a748e053325f1068bd639075e8603.jpg","text":"TemporaryFile(/tmp/multipartBody6944843135709012295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154483995,"filename":"image_02112025_22_12_35_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44ee667879cd238205b8d0ed83b1b570.jpg","text":"TemporaryFile(/tmp/multipartBody9170259649389408384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154483995,"filename":"image_02112025_22_12_52_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0084ec4fbc5e277f227bb53eab9eadc.jpg","text":"TemporaryFile(/tmp/multipartBody291062662217214491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154483995,"filename":"image_02112025_22_12_28_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5480465c3fe04b1ad2372513d5d44bb.jpg","text":"TemporaryFile(/tmp/multipartBody5457274168493509339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154483995,"filename":"image_02112025_22_12_47_3029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b762ad8b77c680afe7a069a55e244f0.jpg","text":"TemporaryFile(/tmp/multipartBody6322157066469639384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154483995,"filename":"image_02112025_22_12_37_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5243e9415857186152eac416f502638f.jpg","text":"TemporaryFile(/tmp/multipartBody1282447769766300932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154483995,"filename":"image_02112025_22_12_10_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831907","file1":"1401831906","file0":"1401831905","file4":"1401831909","file5":"1401831912","file3":"1401831908"},"map_files_photo_id_array":[{"photo_id":"1401831912","filename":"file5"},{"photo_id":"1401831907","filename":"file2"},{"photo_id":"1401831909","filename":"file4"},{"photo_id":"1401831906","filename":"file1"},{"photo_id":"1401831905","filename":"file0"},{"photo_id":"1401831908","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401831907":["hashtag1","hashtag2"]},{"1401831912":["hashtag1","hashtag2"]},{"1401831906":["hashtag1","hashtag2"]},{"1401831909":["hashtag1","hashtag2"]},{"1401831908":["hashtag1","hashtag2"]},{"1401831905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401831907, 1401831912, 1401831906, 1401831909, 1401831908, 1401831905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.778050899505615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:14:22.407593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_15_10719.jpg', '/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_24_9638.jpg', '/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_34_9571.jpg', '/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_44_10611.jpg', '/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_54_9892.jpg', '/home/pi/Desktop/images/31122025/04/38/image_31122025_04_39_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_15_10719.jpg
/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_24_9638.jpg
/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_34_9571.jpg
/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_44_10611.jpg
/home/pi/Desktop/images/31122025/04/38/image_31122025_04_38_54_9892.jpg
/home/pi/Desktop/images/31122025/04/38/image_31122025_04_39_04_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831928","1401831933","1401831930","1401831926","1401831920","1401831923"],"photo_ids_order":["1401831920","1401831923","1401831926","1401831928","1401831930","1401831933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f790d761c939ed11c47320b5ae79129c.jpg","text":"TemporaryFile(/tmp/multipartBody5805206475272249101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154523010,"filename":"image_31122025_04_38_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/558912ed6f7feeff311c136fa264d583.jpg","text":"TemporaryFile(/tmp/multipartBody1975740307420161360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154523010,"filename":"image_31122025_04_39_04_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86081bacd9e141f4f43b0acd7cdefcef.jpg","text":"TemporaryFile(/tmp/multipartBody730295064825328544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154523010,"filename":"image_31122025_04_38_54_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f298a41badb51ef6fe2f08523537bac4.jpg","text":"TemporaryFile(/tmp/multipartBody3974159269232071946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154523010,"filename":"image_31122025_04_38_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6046f6774b4aa5b5acc497cf6c4f0b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3127571627455012575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154523010,"filename":"image_31122025_04_38_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0e24bcd12580e854d29d8d34d140d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5681920418918644020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154523010,"filename":"image_31122025_04_38_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831926","file1":"1401831923","file0":"1401831920","file4":"1401831930","file5":"1401831933","file3":"1401831928"},"map_files_photo_id_array":[{"photo_id":"1401831933","filename":"file5"},{"photo_id":"1401831926","filename":"file2"},{"photo_id":"1401831930","filename":"file4"},{"photo_id":"1401831923","filename":"file1"},{"photo_id":"1401831920","filename":"file0"},{"photo_id":"1401831928","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831928":["hashtag1","hashtag2"]},{"1401831933":["hashtag1","hashtag2"]},{"1401831930":["hashtag1","hashtag2"]},{"1401831926":["hashtag1","hashtag2"]},{"1401831920":["hashtag1","hashtag2"]},{"1401831923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831928, 1401831933, 1401831930, 1401831926, 1401831920, 1401831923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42306566238403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:15:03.034147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_14_9862.jpg', '/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_24_9820.jpg', '/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_34_10593.jpg', '/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_44_9511.jpg', '/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_54_9816.jpg', '/home/pi/Desktop/images/31122025/04/39/image_31122025_04_40_04_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_14_9862.jpg
/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_24_9820.jpg
/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_34_10593.jpg
/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_44_9511.jpg
/home/pi/Desktop/images/31122025/04/39/image_31122025_04_39_54_9816.jpg
/home/pi/Desktop/images/31122025/04/39/image_31122025_04_40_04_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831966","1401831960","1401831954","1401831963","1401831957","1401831950"],"photo_ids_order":["1401831950","1401831954","1401831957","1401831960","1401831963","1401831966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63b0da9c6460101861c35a3f2b18ee13.jpg","text":"TemporaryFile(/tmp/multipartBody2559831290922391811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154564035,"filename":"image_31122025_04_40_04_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d54789f7b36c2ca1a043dd762f4e1400.jpg","text":"TemporaryFile(/tmp/multipartBody2953560955637475794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154564035,"filename":"image_31122025_04_39_44_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8b067671de9813f94e486756343ab27.jpg","text":"TemporaryFile(/tmp/multipartBody4161408815207182689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154564035,"filename":"image_31122025_04_39_24_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c532fcebcde74bf8abf0a549b2d23841.jpg","text":"TemporaryFile(/tmp/multipartBody7695157621160680519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154564035,"filename":"image_31122025_04_39_54_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/317dd9026322551ecf12dbd6f469ae86.jpg","text":"TemporaryFile(/tmp/multipartBody5901656453666348132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154564035,"filename":"image_31122025_04_39_34_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e247fe058b0542970aa391bffce9929.jpg","text":"TemporaryFile(/tmp/multipartBody1927616689577513030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154564035,"filename":"image_31122025_04_39_14_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831957","file1":"1401831954","file0":"1401831950","file4":"1401831963","file5":"1401831966","file3":"1401831960"},"map_files_photo_id_array":[{"photo_id":"1401831966","filename":"file5"},{"photo_id":"1401831957","filename":"file2"},{"photo_id":"1401831963","filename":"file4"},{"photo_id":"1401831954","filename":"file1"},{"photo_id":"1401831950","filename":"file0"},{"photo_id":"1401831960","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831966":["hashtag1","hashtag2"]},{"1401831960":["hashtag1","hashtag2"]},{"1401831954":["hashtag1","hashtag2"]},{"1401831963":["hashtag1","hashtag2"]},{"1401831957":["hashtag1","hashtag2"]},{"1401831950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831966, 1401831960, 1401831954, 1401831963, 1401831957, 1401831950)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.46098709106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:16:02.764273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/40/image_31122025_04_40_14_9608.jpg', '/home/pi/Desktop/images/31122025/04/40/image_31122025_04_40_25_10632.jpg', '/home/pi/Desktop/images/31122025/04/40/image_31122025_04_40_34_9695.jpg', '/home/pi/Desktop/images/31122025/04/40/image_31122025_04_40_44_9568.jpg', '/home/pi/Desktop/images/31122025/04/40/image_31122025_04_41_04_9591.jpg', '/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_14_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/40/image_31122025_04_40_14_9608.jpg
/home/pi/Desktop/images/31122025/04/40/image_31122025_04_40_25_10632.jpg
/home/pi/Desktop/images/31122025/04/40/image_31122025_04_40_34_9695.jpg
/home/pi/Desktop/images/31122025/04/40/image_31122025_04_40_44_9568.jpg
/home/pi/Desktop/images/31122025/04/40/image_31122025_04_41_04_9591.jpg
/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_14_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401831979","1401831978","1401831981","1401831975","1401831980","1401831983"],"photo_ids_order":["1401831975","1401831978","1401831979","1401831980","1401831981","1401831983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/434fa2addab0df8862664df6cdd0051f.jpg","text":"TemporaryFile(/tmp/multipartBody7415845472259463078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154623396,"filename":"image_31122025_04_40_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/487530a82087042119b16b283324a94a.jpg","text":"TemporaryFile(/tmp/multipartBody415436166869937262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154623396,"filename":"image_31122025_04_40_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cb4bf33ae6cc40125ec3e9ab637247e.jpg","text":"TemporaryFile(/tmp/multipartBody4456030051735178786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154623396,"filename":"image_31122025_04_41_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf7d500cd86a80d7acdb048a969dfc1b.jpg","text":"TemporaryFile(/tmp/multipartBody4235517306324842381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154623396,"filename":"image_31122025_04_40_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04e976877d9aed744e127f65e941bc73.jpg","text":"TemporaryFile(/tmp/multipartBody5901643591639487748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154623396,"filename":"image_31122025_04_40_44_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffea72cc945acb536c36d26cb21b8b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4356495637661879958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154623396,"filename":"image_31122025_04_41_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401831979","file1":"1401831978","file0":"1401831975","file4":"1401831981","file5":"1401831983","file3":"1401831980"},"map_files_photo_id_array":[{"photo_id":"1401831983","filename":"file5"},{"photo_id":"1401831979","filename":"file2"},{"photo_id":"1401831981","filename":"file4"},{"photo_id":"1401831978","filename":"file1"},{"photo_id":"1401831975","filename":"file0"},{"photo_id":"1401831980","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401831979":["hashtag1","hashtag2"]},{"1401831978":["hashtag1","hashtag2"]},{"1401831981":["hashtag1","hashtag2"]},{"1401831975":["hashtag1","hashtag2"]},{"1401831980":["hashtag1","hashtag2"]},{"1401831983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401831979, 1401831978, 1401831981, 1401831975, 1401831980, 1401831983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29902410507202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:16:42.265143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_55_2690.jpg', '/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_59_3751.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_01_2914.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_04_2674.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_07_2649.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_11_3811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_55_2690.jpg
/home/pi/Desktop/images/02112025/22/12/image_02112025_22_12_59_3751.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_01_2914.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_04_2674.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_07_2649.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_11_3811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832012","1401832000","1401831996","1401832011","1401832005","1401832010"],"photo_ids_order":["1401831996","1401832000","1401832005","1401832010","1401832011","1401832012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c6bc934d523c164fd4b87c70590b6f3.jpg","text":"TemporaryFile(/tmp/multipartBody7474563011160933835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154664167,"filename":"image_02112025_22_13_11_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e97f07ed13df93d445cb4c43e185e168.jpg","text":"TemporaryFile(/tmp/multipartBody477919621622027956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154664167,"filename":"image_02112025_22_12_59_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bddf4e0ab5f4ebda4097a6ff08ebb07.jpg","text":"TemporaryFile(/tmp/multipartBody5594837503261148625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154664167,"filename":"image_02112025_22_12_55_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/451c034809058a0e8b4aafb11caa90fa.jpg","text":"TemporaryFile(/tmp/multipartBody2724719233874043435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154664167,"filename":"image_02112025_22_13_07_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16be4d99c5b5c3351d4f1270adfb1291.jpg","text":"TemporaryFile(/tmp/multipartBody1903104816443000016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154664167,"filename":"image_02112025_22_13_01_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0828b41c16af7a9c6a1489d2b03348b2.jpg","text":"TemporaryFile(/tmp/multipartBody6457381670846213713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154664167,"filename":"image_02112025_22_13_04_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832005","file1":"1401832000","file0":"1401831996","file4":"1401832011","file5":"1401832012","file3":"1401832010"},"map_files_photo_id_array":[{"photo_id":"1401832012","filename":"file5"},{"photo_id":"1401832005","filename":"file2"},{"photo_id":"1401832011","filename":"file4"},{"photo_id":"1401832000","filename":"file1"},{"photo_id":"1401831996","filename":"file0"},{"photo_id":"1401832010","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832012":["hashtag1","hashtag2"]},{"1401832000":["hashtag1","hashtag2"]},{"1401831996":["hashtag1","hashtag2"]},{"1401832011":["hashtag1","hashtag2"]},{"1401832005":["hashtag1","hashtag2"]},{"1401832010":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832012, 1401832000, 1401831996, 1401832011, 1401832005, 1401832010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73028254508972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:17:22.440903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_25_10724.jpg', '/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_34_9608.jpg', '/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_44_9795.jpg', '/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_55_10753.jpg', '/home/pi/Desktop/images/31122025/04/41/image_31122025_04_42_04_9646.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_14_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_25_10724.jpg
/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_34_9608.jpg
/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_44_9795.jpg
/home/pi/Desktop/images/31122025/04/41/image_31122025_04_41_55_10753.jpg
/home/pi/Desktop/images/31122025/04/41/image_31122025_04_42_04_9646.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_14_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832031","1401832025","1401832019","1401832028","1401832022","1401832016"],"photo_ids_order":["1401832016","1401832019","1401832022","1401832025","1401832028","1401832031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/468791bba6d27b1ca84de72b118239a4.jpg","text":"TemporaryFile(/tmp/multipartBody7362464367150116851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154703031,"filename":"image_31122025_04_42_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b5f8beffd166352fe1d93019ef88327.jpg","text":"TemporaryFile(/tmp/multipartBody2148929402806098512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154703031,"filename":"image_31122025_04_41_55_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2855cf4d0c0ee32795336dd8a536acf2.jpg","text":"TemporaryFile(/tmp/multipartBody5324427743322626942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154703031,"filename":"image_31122025_04_41_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d9ae93952812b86c333af1ec3be3b01.jpg","text":"TemporaryFile(/tmp/multipartBody6985101945798380026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154703031,"filename":"image_31122025_04_42_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1416edd0a851cdcd5c4cc8a823c19b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8646909764628474007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154703031,"filename":"image_31122025_04_41_44_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6407a0b3615807ddd3874d576d4e46f8.jpg","text":"TemporaryFile(/tmp/multipartBody9142544789290240321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154703031,"filename":"image_31122025_04_41_25_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832022","file1":"1401832019","file0":"1401832016","file4":"1401832028","file5":"1401832031","file3":"1401832025"},"map_files_photo_id_array":[{"photo_id":"1401832031","filename":"file5"},{"photo_id":"1401832022","filename":"file2"},{"photo_id":"1401832028","filename":"file4"},{"photo_id":"1401832019","filename":"file1"},{"photo_id":"1401832016","filename":"file0"},{"photo_id":"1401832025","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832031":["hashtag1","hashtag2"]},{"1401832025":["hashtag1","hashtag2"]},{"1401832019":["hashtag1","hashtag2"]},{"1401832028":["hashtag1","hashtag2"]},{"1401832022":["hashtag1","hashtag2"]},{"1401832016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832031, 1401832025, 1401832019, 1401832028, 1401832022, 1401832016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28474140167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:18:02.764727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_24_9843.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_35_10627.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_44_9567.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_55_10562.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_43_04_9623.jpg', '/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_24_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_24_9843.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_35_10627.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_44_9567.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_55_10562.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_43_04_9623.jpg
/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_24_9877.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5018410682678223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:18:12.331687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_16_2667.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_25_2562.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_29_3776.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_31_2732.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_37_2767.jpg', '/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_43_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_16_2667.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_25_2562.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_29_3776.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_31_2732.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_37_2767.jpg
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_43_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832050","1401832047","1401832056","1401832043","1401832052","1401832039"],"photo_ids_order":["1401832039","1401832043","1401832047","1401832050","1401832052","1401832056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a94c0272bb41a7c03301ad6193799da6.jpg","text":"TemporaryFile(/tmp/multipartBody7221627742619831466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154754118,"filename":"image_02112025_22_13_31_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/599eca1d87daeea1a4db1971bcc733b5.jpg","text":"TemporaryFile(/tmp/multipartBody3123025327858298996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154754118,"filename":"image_02112025_22_13_29_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09a457dff58655eef36b4f7f47eb7df2.jpg","text":"TemporaryFile(/tmp/multipartBody308848281152012544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154754118,"filename":"image_02112025_22_13_43_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc2602c43bd5309c505296b9dc745347.jpg","text":"TemporaryFile(/tmp/multipartBody9199179251570181949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154754118,"filename":"image_02112025_22_13_25_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c33009af0887e4a82ed58855a48cea76.jpg","text":"TemporaryFile(/tmp/multipartBody5804212179744409915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154754118,"filename":"image_02112025_22_13_37_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4dee313682587fbbc8c88db43027fa85.jpg","text":"TemporaryFile(/tmp/multipartBody5156829101987690491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154754118,"filename":"image_02112025_22_13_16_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832047","file1":"1401832043","file0":"1401832039","file4":"1401832052","file5":"1401832056","file3":"1401832050"},"map_files_photo_id_array":[{"photo_id":"1401832056","filename":"file5"},{"photo_id":"1401832047","filename":"file2"},{"photo_id":"1401832052","filename":"file4"},{"photo_id":"1401832043","filename":"file1"},{"photo_id":"1401832039","filename":"file0"},{"photo_id":"1401832050","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832050":["hashtag1","hashtag2"]},{"1401832047":["hashtag1","hashtag2"]},{"1401832056":["hashtag1","hashtag2"]},{"1401832043":["hashtag1","hashtag2"]},{"1401832052":["hashtag1","hashtag2"]},{"1401832039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832050, 1401832047, 1401832056, 1401832043, 1401832052, 1401832039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54312252998352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:19:03.512858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_24_9843.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_35_10627.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_44_9567.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_55_10562.jpg', '/home/pi/Desktop/images/31122025/04/42/image_31122025_04_43_04_9623.jpg', '/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_24_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_24_9843.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_35_10627.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_44_9567.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_42_55_10562.jpg
/home/pi/Desktop/images/31122025/04/42/image_31122025_04_43_04_9623.jpg
/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_24_9877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832083","1401832074","1401832076","1401832079","1401832072","1401832069"],"photo_ids_order":["1401832069","1401832072","1401832074","1401832076","1401832079","1401832083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d60737cd85a161d32a1d6b1baa066e7.jpg","text":"TemporaryFile(/tmp/multipartBody4841261647521210938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154804218,"filename":"image_31122025_04_43_24_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4651c1629d74517f53558b1ccf5acf22.jpg","text":"TemporaryFile(/tmp/multipartBody3528177965800782180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154804218,"filename":"image_31122025_04_42_44_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d11e8e1de3b26dba546ef8da7482cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5241512673754013563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154804218,"filename":"image_31122025_04_42_55_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bcc98e5b6482c4b0cb3ef7906be9f71.jpg","text":"TemporaryFile(/tmp/multipartBody8080277899123307686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154804218,"filename":"image_31122025_04_43_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f7d22e7b6c024e2b83f6a9db20ee9d1.jpg","text":"TemporaryFile(/tmp/multipartBody3630303067100953420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154804218,"filename":"image_31122025_04_42_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08082ddb9de7e8b9d82952109251670d.jpg","text":"TemporaryFile(/tmp/multipartBody5278386307907113603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154804218,"filename":"image_31122025_04_42_24_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832074","file1":"1401832072","file0":"1401832069","file4":"1401832079","file5":"1401832083","file3":"1401832076"},"map_files_photo_id_array":[{"photo_id":"1401832083","filename":"file5"},{"photo_id":"1401832074","filename":"file2"},{"photo_id":"1401832079","filename":"file4"},{"photo_id":"1401832072","filename":"file1"},{"photo_id":"1401832069","filename":"file0"},{"photo_id":"1401832076","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832083":["hashtag1","hashtag2"]},{"1401832074":["hashtag1","hashtag2"]},{"1401832076":["hashtag1","hashtag2"]},{"1401832079":["hashtag1","hashtag2"]},{"1401832072":["hashtag1","hashtag2"]},{"1401832069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832083, 1401832074, 1401832076, 1401832079, 1401832072, 1401832069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16855454444885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:19:42.550943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_55_2739.jpg', '/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_01_2785.jpg', '/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_04_3635.jpg', '/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_07_2639.jpg', '/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_22_3549.jpg', '/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_31_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/13/image_02112025_22_13_55_2739.jpg
/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_01_2785.jpg
/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_04_3635.jpg
/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_07_2639.jpg
/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_22_3549.jpg
/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_31_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832098","1401832101","1401832100","1401832093","1401832096","1401832102"],"photo_ids_order":["1401832093","1401832096","1401832098","1401832100","1401832101","1401832102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e135359735987b3dd0e6cceb29d62e78.jpg","text":"TemporaryFile(/tmp/multipartBody2279181037180175150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154844493,"filename":"image_02112025_22_14_04_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/074f5a7d740c59bc20c2ac429e069fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3110386749555379674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154844493,"filename":"image_02112025_22_14_22_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34bfd4186cf04fec9d32b546a4b440ef.jpg","text":"TemporaryFile(/tmp/multipartBody6024542432991128303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154844493,"filename":"image_02112025_22_14_07_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3ed87862b9b3d266ae8ca0b16c666ba.jpg","text":"TemporaryFile(/tmp/multipartBody4133757317718948834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154844493,"filename":"image_02112025_22_13_55_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c5a559d977d9b9457291532906a2a0c.jpg","text":"TemporaryFile(/tmp/multipartBody8252623501686743329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154844493,"filename":"image_02112025_22_14_01_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bdbb2fa3064c23c7aef7238e831af3b.jpg","text":"TemporaryFile(/tmp/multipartBody2044754351693927364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154844493,"filename":"image_02112025_22_14_31_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832098","file1":"1401832096","file0":"1401832093","file4":"1401832101","file5":"1401832102","file3":"1401832100"},"map_files_photo_id_array":[{"photo_id":"1401832102","filename":"file5"},{"photo_id":"1401832098","filename":"file2"},{"photo_id":"1401832101","filename":"file4"},{"photo_id":"1401832096","filename":"file1"},{"photo_id":"1401832093","filename":"file0"},{"photo_id":"1401832100","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832098":["hashtag1","hashtag2"]},{"1401832101":["hashtag1","hashtag2"]},{"1401832100":["hashtag1","hashtag2"]},{"1401832093":["hashtag1","hashtag2"]},{"1401832096":["hashtag1","hashtag2"]},{"1401832102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832098, 1401832101, 1401832100, 1401832093, 1401832096, 1401832102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10226511955261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:20:22.722860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_34_10662.jpg', '/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_44_9623.jpg', '/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_54_9693.jpg', '/home/pi/Desktop/images/31122025/04/43/image_31122025_04_44_04_10637.jpg', '/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_14_9730.jpg', '/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_24_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_34_10662.jpg
/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_44_9623.jpg
/home/pi/Desktop/images/31122025/04/43/image_31122025_04_43_54_9693.jpg
/home/pi/Desktop/images/31122025/04/43/image_31122025_04_44_04_10637.jpg
/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_14_9730.jpg
/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_24_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832122","1401832116","1401832119","1401832124","1401832112","1401832129"],"photo_ids_order":["1401832112","1401832116","1401832119","1401832122","1401832124","1401832129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f1a960de95ccc042b56ef0c3ee60b14.jpg","text":"TemporaryFile(/tmp/multipartBody7933194815580154459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154883332,"filename":"image_31122025_04_44_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69f3e87383d73fd08bc71b4d342b8199.jpg","text":"TemporaryFile(/tmp/multipartBody4676225514739297317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154883332,"filename":"image_31122025_04_43_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b82013c88ceca406ea569c4e23fd91d.jpg","text":"TemporaryFile(/tmp/multipartBody6521553464291540440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154883332,"filename":"image_31122025_04_43_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27503839da89f94a6c67e773b18cff91.jpg","text":"TemporaryFile(/tmp/multipartBody1693272189144873762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154883332,"filename":"image_31122025_04_44_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afe970b7bc87967b3e8b6cf2fafb723b.jpg","text":"TemporaryFile(/tmp/multipartBody7303831261060757678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154883332,"filename":"image_31122025_04_43_34_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/079fb8fb366841e99417d6421e355fee.jpg","text":"TemporaryFile(/tmp/multipartBody3325216375596758259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154883332,"filename":"image_31122025_04_44_24_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832119","file1":"1401832116","file0":"1401832112","file4":"1401832124","file5":"1401832129","file3":"1401832122"},"map_files_photo_id_array":[{"photo_id":"1401832129","filename":"file5"},{"photo_id":"1401832119","filename":"file2"},{"photo_id":"1401832124","filename":"file4"},{"photo_id":"1401832116","filename":"file1"},{"photo_id":"1401832112","filename":"file0"},{"photo_id":"1401832122","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832122":["hashtag1","hashtag2"]},{"1401832116":["hashtag1","hashtag2"]},{"1401832119":["hashtag1","hashtag2"]},{"1401832124":["hashtag1","hashtag2"]},{"1401832112":["hashtag1","hashtag2"]},{"1401832129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832122, 1401832116, 1401832119, 1401832124, 1401832112, 1401832129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03335428237915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:21:02.555212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_35_10720.jpg', '/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_44_9674.jpg', '/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_54_9643.jpg', '/home/pi/Desktop/images/31122025/04/44/image_31122025_04_45_05_10696.jpg', '/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_14_9589.jpg', '/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_24_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_35_10720.jpg
/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_44_9674.jpg
/home/pi/Desktop/images/31122025/04/44/image_31122025_04_44_54_9643.jpg
/home/pi/Desktop/images/31122025/04/44/image_31122025_04_45_05_10696.jpg
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_14_9589.jpg
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_24_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832146","1401832142","1401832136","1401832139","1401832153","1401832150"],"photo_ids_order":["1401832136","1401832139","1401832142","1401832146","1401832150","1401832153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d233ae9057677ed8dc6615974a4c9fca.jpg","text":"TemporaryFile(/tmp/multipartBody6540789027465933716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154923234,"filename":"image_31122025_04_45_05_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8c2554fadf335a743d521b25dafa291.jpg","text":"TemporaryFile(/tmp/multipartBody4424872809691123904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154923234,"filename":"image_31122025_04_44_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e4ddffec4cd61417410e7b01d278674.jpg","text":"TemporaryFile(/tmp/multipartBody4498244212800326262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154923234,"filename":"image_31122025_04_44_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b544340dd64bd396b884b80bc0060956.jpg","text":"TemporaryFile(/tmp/multipartBody8191655429567494743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154923234,"filename":"image_31122025_04_44_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1b3a7e5d66388cac1d3d69088b886e0.jpg","text":"TemporaryFile(/tmp/multipartBody3851738019950962377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154923234,"filename":"image_31122025_04_45_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40f610d63cc131a0e41b77a66b07d3dc.jpg","text":"TemporaryFile(/tmp/multipartBody8135052089646409499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154923234,"filename":"image_31122025_04_45_14_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832142","file1":"1401832139","file0":"1401832136","file4":"1401832150","file5":"1401832153","file3":"1401832146"},"map_files_photo_id_array":[{"photo_id":"1401832153","filename":"file5"},{"photo_id":"1401832142","filename":"file2"},{"photo_id":"1401832150","filename":"file4"},{"photo_id":"1401832139","filename":"file1"},{"photo_id":"1401832136","filename":"file0"},{"photo_id":"1401832146","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832146":["hashtag1","hashtag2"]},{"1401832142":["hashtag1","hashtag2"]},{"1401832136":["hashtag1","hashtag2"]},{"1401832139":["hashtag1","hashtag2"]},{"1401832153":["hashtag1","hashtag2"]},{"1401832150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832146, 1401832142, 1401832136, 1401832139, 1401832153, 1401832150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29362392425537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:21:41.879357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_38_3520.jpg', '/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_40_2686.jpg', '/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_55_3632.jpg', '/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_07_3011.jpg', '/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_28_2663.jpg', '/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_44_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_38_3520.jpg
/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_40_2686.jpg
/home/pi/Desktop/images/02112025/22/14/image_02112025_22_14_55_3632.jpg
/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_07_3011.jpg
/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_28_2663.jpg
/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_44_3724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832161","1401832164","1401832158","1401832175","1401832169","1401832171"],"photo_ids_order":["1401832158","1401832161","1401832164","1401832169","1401832171","1401832175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b26cc5841f47f9f0789513fac9a4e488.jpg","text":"TemporaryFile(/tmp/multipartBody1444704128681927401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154963842,"filename":"image_02112025_22_14_40_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/828998acd5283f4f05ef867dc1d43bef.jpg","text":"TemporaryFile(/tmp/multipartBody7820928694889829950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154963842,"filename":"image_02112025_22_14_55_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/888ac1fa2c7898a18537134138b5f58a.jpg","text":"TemporaryFile(/tmp/multipartBody4168494512159603765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154963842,"filename":"image_02112025_22_14_38_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e8970e16c5838297d24b713e974002f.jpg","text":"TemporaryFile(/tmp/multipartBody5236677448295446964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154963842,"filename":"image_02112025_22_15_44_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b98eef6e23409ef4a4957d3f03581a49.jpg","text":"TemporaryFile(/tmp/multipartBody2645416376923986877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154963842,"filename":"image_02112025_22_15_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aca7e12bc27f75c56c5b6b2e3c9bf320.jpg","text":"TemporaryFile(/tmp/multipartBody7846450297548815382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767154963842,"filename":"image_02112025_22_15_28_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832164","file1":"1401832161","file0":"1401832158","file4":"1401832171","file5":"1401832175","file3":"1401832169"},"map_files_photo_id_array":[{"photo_id":"1401832175","filename":"file5"},{"photo_id":"1401832164","filename":"file2"},{"photo_id":"1401832171","filename":"file4"},{"photo_id":"1401832161","filename":"file1"},{"photo_id":"1401832158","filename":"file0"},{"photo_id":"1401832169","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832161":["hashtag1","hashtag2"]},{"1401832164":["hashtag1","hashtag2"]},{"1401832158":["hashtag1","hashtag2"]},{"1401832175":["hashtag1","hashtag2"]},{"1401832169":["hashtag1","hashtag2"]},{"1401832171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832161, 1401832164, 1401832158, 1401832175, 1401832169, 1401832171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.986467599868774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:22:22.054052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_34_9781.jpg', '/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_45_10765.jpg', '/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_54_9639.jpg', '/home/pi/Desktop/images/31122025/04/45/image_31122025_04_46_04_9921.jpg', '/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_14_9638.jpg', '/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_24_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_34_9781.jpg
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_45_10765.jpg
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_54_9639.jpg
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_46_04_9921.jpg
/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_14_9638.jpg
/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_24_10717.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4898972511291504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:22:32.196934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_49_2660.jpg', '/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_53_3760.jpg', '/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_01_2820.jpg', '/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_07_2656.jpg', '/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_22_2655.jpg', '/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_26_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_49_2660.jpg
/home/pi/Desktop/images/02112025/22/15/image_02112025_22_15_53_3760.jpg
/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_01_2820.jpg
/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_07_2656.jpg
/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_22_2655.jpg
/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_26_3734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832225","1401832210","1401832203","1401832256","1401832220","1401832214"],"photo_ids_order":["1401832203","1401832210","1401832214","1401832220","1401832225","1401832256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3473565da2ff1dca67ae4e434c67a628.jpg","text":"TemporaryFile(/tmp/multipartBody1900173677643613420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155014149,"filename":"image_02112025_22_16_22_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acd856726dd9ff9cc8e85ac3159e0657.jpg","text":"TemporaryFile(/tmp/multipartBody1154098627806440343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155014149,"filename":"image_02112025_22_15_53_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e5211fca82f7c5484f19b181fae10f5.jpg","text":"TemporaryFile(/tmp/multipartBody2486171703385512181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155014149,"filename":"image_02112025_22_15_49_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4da6f5831a0dcedbfad6dc7a682027cb.jpg","text":"TemporaryFile(/tmp/multipartBody3033702315507293302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155014149,"filename":"image_02112025_22_16_26_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b67d00b383a5879ccaca6b6eff2bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody4854461945942050854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155014149,"filename":"image_02112025_22_16_07_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53904aed12dc147222a0a98220c5b52f.jpg","text":"TemporaryFile(/tmp/multipartBody9118512307718445845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155014149,"filename":"image_02112025_22_16_01_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832214","file1":"1401832210","file0":"1401832203","file4":"1401832225","file5":"1401832256","file3":"1401832220"},"map_files_photo_id_array":[{"photo_id":"1401832256","filename":"file5"},{"photo_id":"1401832214","filename":"file2"},{"photo_id":"1401832225","filename":"file4"},{"photo_id":"1401832210","filename":"file1"},{"photo_id":"1401832203","filename":"file0"},{"photo_id":"1401832220","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832225":["hashtag1","hashtag2"]},{"1401832210":["hashtag1","hashtag2"]},{"1401832203":["hashtag1","hashtag2"]},{"1401832256":["hashtag1","hashtag2"]},{"1401832220":["hashtag1","hashtag2"]},{"1401832214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832225, 1401832210, 1401832203, 1401832256, 1401832220, 1401832214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.099361419677734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:23:12.401634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_31_2675.jpg', '/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_50_3620.jpg', '/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_53_2668.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_19_2688.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_22_2629.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_26_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_31_2675.jpg
/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_50_3620.jpg
/home/pi/Desktop/images/02112025/22/16/image_02112025_22_16_53_2668.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_19_2688.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_22_2629.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_26_3729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832287","1401832275","1401832266","1401832271","1401832283","1401832279"],"photo_ids_order":["1401832266","1401832271","1401832275","1401832279","1401832283","1401832287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34f9d4805ae79d6a32eba96d31ffea45.jpg","text":"TemporaryFile(/tmp/multipartBody2886254765162593886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155054194,"filename":"image_02112025_22_17_26_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eae973f9d87da3883f701f833efbd5b3.jpg","text":"TemporaryFile(/tmp/multipartBody203400464324868256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155054194,"filename":"image_02112025_22_16_53_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/590001143c0235ffd532b2410299cad4.jpg","text":"TemporaryFile(/tmp/multipartBody9101194764385430736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155054194,"filename":"image_02112025_22_16_31_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/150df4a587a4fa9891f403893fa4f92d.jpg","text":"TemporaryFile(/tmp/multipartBody8523187570566635784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155054194,"filename":"image_02112025_22_16_50_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59a37c4de078213f06ee99384bf06c65.jpg","text":"TemporaryFile(/tmp/multipartBody3765154846943270957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155054194,"filename":"image_02112025_22_17_22_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3134d5e10de1996f7bf3e32f03656140.jpg","text":"TemporaryFile(/tmp/multipartBody1175692833297348351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155054194,"filename":"image_02112025_22_17_19_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832275","file1":"1401832271","file0":"1401832266","file4":"1401832283","file5":"1401832287","file3":"1401832279"},"map_files_photo_id_array":[{"photo_id":"1401832287","filename":"file5"},{"photo_id":"1401832275","filename":"file2"},{"photo_id":"1401832283","filename":"file4"},{"photo_id":"1401832271","filename":"file1"},{"photo_id":"1401832266","filename":"file0"},{"photo_id":"1401832279","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832287":["hashtag1","hashtag2"]},{"1401832275":["hashtag1","hashtag2"]},{"1401832266":["hashtag1","hashtag2"]},{"1401832271":["hashtag1","hashtag2"]},{"1401832283":["hashtag1","hashtag2"]},{"1401832279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832287, 1401832275, 1401832266, 1401832271, 1401832283, 1401832279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47613716125488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:24:03.189684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_34_9781.jpg', '/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_45_10765.jpg', '/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_54_9639.jpg', '/home/pi/Desktop/images/31122025/04/45/image_31122025_04_46_04_9921.jpg', '/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_14_9638.jpg', '/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_24_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_34_9781.jpg
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_45_10765.jpg
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_45_54_9639.jpg
/home/pi/Desktop/images/31122025/04/45/image_31122025_04_46_04_9921.jpg
/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_14_9638.jpg
/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_24_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832303","1401832312","1401832306","1401832319","1401832315","1401832309"],"photo_ids_order":["1401832303","1401832306","1401832309","1401832312","1401832315","1401832319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24084cf86627a67b988a297ba3746a09.jpg","text":"TemporaryFile(/tmp/multipartBody569514453822924165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155103843,"filename":"image_31122025_04_45_34_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cf7efd8723358400ba995d6b1566e43.jpg","text":"TemporaryFile(/tmp/multipartBody1732165809733945075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155103843,"filename":"image_31122025_04_46_04_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55a7e15ec8323f896c217461cd64de45.jpg","text":"TemporaryFile(/tmp/multipartBody6864954200932911717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155103843,"filename":"image_31122025_04_45_45_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bba0802e212c4bb191d742f2b196cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2535616144843269509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155103843,"filename":"image_31122025_04_46_24_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fa1789e7250b52090b05f5bc1af43fb.jpg","text":"TemporaryFile(/tmp/multipartBody7172297918649328369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155103843,"filename":"image_31122025_04_46_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2016db1cd98ad886462b91e250aeef92.jpg","text":"TemporaryFile(/tmp/multipartBody6127484629673790607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155103843,"filename":"image_31122025_04_45_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832309","file1":"1401832306","file0":"1401832303","file4":"1401832315","file5":"1401832319","file3":"1401832312"},"map_files_photo_id_array":[{"photo_id":"1401832319","filename":"file5"},{"photo_id":"1401832309","filename":"file2"},{"photo_id":"1401832315","filename":"file4"},{"photo_id":"1401832306","filename":"file1"},{"photo_id":"1401832303","filename":"file0"},{"photo_id":"1401832312","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832303":["hashtag1","hashtag2"]},{"1401832312":["hashtag1","hashtag2"]},{"1401832306":["hashtag1","hashtag2"]},{"1401832319":["hashtag1","hashtag2"]},{"1401832315":["hashtag1","hashtag2"]},{"1401832309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832303, 1401832312, 1401832306, 1401832319, 1401832315, 1401832309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60604739189148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:24:42.492199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_28_2618.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_35_3895.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_38_2816.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_40_2696.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_55_2720.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_58_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_28_2618.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_35_3895.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_38_2816.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_40_2696.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_55_2720.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_58_2729.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.792870044708252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:25:03.309284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_34_9722.jpg', '/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_44_9625.jpg', '/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_54_10626.jpg', '/home/pi/Desktop/images/31122025/04/46/image_31122025_04_47_04_9651.jpg', '/home/pi/Desktop/images/31122025/04/47/image_31122025_04_47_14_9624.jpg', '/home/pi/Desktop/images/31122025/04/47/image_31122025_04_47_24_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_34_9722.jpg
/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_44_9625.jpg
/home/pi/Desktop/images/31122025/04/46/image_31122025_04_46_54_10626.jpg
/home/pi/Desktop/images/31122025/04/46/image_31122025_04_47_04_9651.jpg
/home/pi/Desktop/images/31122025/04/47/image_31122025_04_47_14_9624.jpg
/home/pi/Desktop/images/31122025/04/47/image_31122025_04_47_24_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832368","1401832365","1401832370","1401832358","1401832363","1401832372"],"photo_ids_order":["1401832358","1401832363","1401832365","1401832368","1401832370","1401832372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa92e3bb3140ae1379ef6a156dc3f148.jpg","text":"TemporaryFile(/tmp/multipartBody5461673719734666075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155163957,"filename":"image_31122025_04_47_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c341feae8126ba940b20ca269afed5c7.jpg","text":"TemporaryFile(/tmp/multipartBody1252245375763472943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155163957,"filename":"image_31122025_04_46_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f83646329944b54a3bfad444e4b1438.jpg","text":"TemporaryFile(/tmp/multipartBody7715048894462218171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155163957,"filename":"image_31122025_04_47_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60101008a66b58f6d2f069a21ab3b037.jpg","text":"TemporaryFile(/tmp/multipartBody4077193382580536822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155163957,"filename":"image_31122025_04_46_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42ff0ff2b0945b045f9f6878dfbe7f99.jpg","text":"TemporaryFile(/tmp/multipartBody3750182780811606041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155163957,"filename":"image_31122025_04_46_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adad4a10b4238e0ac7a1b4b5c715d4ce.jpg","text":"TemporaryFile(/tmp/multipartBody5032439887389217151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155163957,"filename":"image_31122025_04_47_24_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832365","file1":"1401832363","file0":"1401832358","file4":"1401832370","file5":"1401832372","file3":"1401832368"},"map_files_photo_id_array":[{"photo_id":"1401832372","filename":"file5"},{"photo_id":"1401832365","filename":"file2"},{"photo_id":"1401832370","filename":"file4"},{"photo_id":"1401832363","filename":"file1"},{"photo_id":"1401832358","filename":"file0"},{"photo_id":"1401832368","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832368":["hashtag1","hashtag2"]},{"1401832365":["hashtag1","hashtag2"]},{"1401832370":["hashtag1","hashtag2"]},{"1401832358":["hashtag1","hashtag2"]},{"1401832363":["hashtag1","hashtag2"]},{"1401832372":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832368, 1401832365, 1401832370, 1401832358, 1401832363, 1401832372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65000557899475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:25:42.652501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_28_2618.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_35_3895.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_38_2816.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_40_2696.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_55_2720.jpg', '/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_58_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_28_2618.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_35_3895.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_38_2816.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_40_2696.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_55_2720.jpg
/home/pi/Desktop/images/02112025/22/17/image_02112025_22_17_58_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832386","1401832389","1401832380","1401832388","1401832384","1401832387"],"photo_ids_order":["1401832380","1401832384","1401832386","1401832387","1401832388","1401832389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dcfa8718c1f4b5bfa300600dcf6afe73.jpg","text":"TemporaryFile(/tmp/multipartBody3731109596252469007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155204428,"filename":"image_02112025_22_17_38_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e33b2d6d521153fab9bde3069260a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody4064691055647249522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155204428,"filename":"image_02112025_22_17_58_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c7f5a258f911211ae7ae9c07fea6ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7326711739555051144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155204428,"filename":"image_02112025_22_17_28_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92969b4b207245e56e4002de0d3eeb73.jpg","text":"TemporaryFile(/tmp/multipartBody1752791801889056929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155204428,"filename":"image_02112025_22_17_55_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4357a3a5d825dbe666a9a00064d32d5.jpg","text":"TemporaryFile(/tmp/multipartBody2829880039400048180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155204428,"filename":"image_02112025_22_17_35_3895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d8f54ea5da1e0b61c87d38366dadb0f.jpg","text":"TemporaryFile(/tmp/multipartBody1651442964396499247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155204428,"filename":"image_02112025_22_17_40_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832386","file1":"1401832384","file0":"1401832380","file4":"1401832388","file5":"1401832389","file3":"1401832387"},"map_files_photo_id_array":[{"photo_id":"1401832389","filename":"file5"},{"photo_id":"1401832386","filename":"file2"},{"photo_id":"1401832388","filename":"file4"},{"photo_id":"1401832384","filename":"file1"},{"photo_id":"1401832380","filename":"file0"},{"photo_id":"1401832387","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832386":["hashtag1","hashtag2"]},{"1401832389":["hashtag1","hashtag2"]},{"1401832380":["hashtag1","hashtag2"]},{"1401832388":["hashtag1","hashtag2"]},{"1401832384":["hashtag1","hashtag2"]},{"1401832387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832386, 1401832389, 1401832380, 1401832388, 1401832384, 1401832387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82858729362488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:26:22.866704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/47/image_31122025_04_47_34_9562.jpg', '/home/pi/Desktop/images/31122025/04/47/image_31122025_04_47_45_10680.jpg', '/home/pi/Desktop/images/31122025/04/47/image_31122025_04_48_04_9770.jpg', '/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_14_9766.jpg', '/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_24_9867.jpg', '/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_35_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/47/image_31122025_04_47_34_9562.jpg
/home/pi/Desktop/images/31122025/04/47/image_31122025_04_47_45_10680.jpg
/home/pi/Desktop/images/31122025/04/47/image_31122025_04_48_04_9770.jpg
/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_14_9766.jpg
/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_24_9867.jpg
/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_35_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832417","1401832419","1401832413","1401832403","1401832406","1401832400"],"photo_ids_order":["1401832400","1401832403","1401832406","1401832413","1401832417","1401832419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dd3048be279ab66d7288cb6503ce393.jpg","text":"TemporaryFile(/tmp/multipartBody9110664234884731194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155243469,"filename":"image_31122025_04_48_24_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2255cf0a1193a24c15dad60fbd50083f.jpg","text":"TemporaryFile(/tmp/multipartBody8553848014559052943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155243469,"filename":"image_31122025_04_48_35_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e36f94406cf546f941de3b893bdfafd.jpg","text":"TemporaryFile(/tmp/multipartBody2157533739042807237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155243469,"filename":"image_31122025_04_48_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52c489d285a75c808c4c492d46f7518c.jpg","text":"TemporaryFile(/tmp/multipartBody7094074747053452517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155243469,"filename":"image_31122025_04_47_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e69236ea06240ea422418abd4bf8e261.jpg","text":"TemporaryFile(/tmp/multipartBody370018247367365589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155243469,"filename":"image_31122025_04_48_04_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/389d28107a6289404add873700e0d8f7.jpg","text":"TemporaryFile(/tmp/multipartBody8075995513116756507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155243469,"filename":"image_31122025_04_47_34_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832406","file1":"1401832403","file0":"1401832400","file4":"1401832417","file5":"1401832419","file3":"1401832413"},"map_files_photo_id_array":[{"photo_id":"1401832419","filename":"file5"},{"photo_id":"1401832406","filename":"file2"},{"photo_id":"1401832417","filename":"file4"},{"photo_id":"1401832403","filename":"file1"},{"photo_id":"1401832400","filename":"file0"},{"photo_id":"1401832413","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832417":["hashtag1","hashtag2"]},{"1401832419":["hashtag1","hashtag2"]},{"1401832413":["hashtag1","hashtag2"]},{"1401832403":["hashtag1","hashtag2"]},{"1401832406":["hashtag1","hashtag2"]},{"1401832400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832417, 1401832419, 1401832413, 1401832403, 1401832406, 1401832400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.483598470687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:27:02.876137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_44_9609.jpg', '/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_54_9729.jpg', '/home/pi/Desktop/images/31122025/04/48/image_31122025_04_49_05_10722.jpg', '/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_14_9607.jpg', '/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_24_9660.jpg', '/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_34_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_44_9609.jpg
/home/pi/Desktop/images/31122025/04/48/image_31122025_04_48_54_9729.jpg
/home/pi/Desktop/images/31122025/04/48/image_31122025_04_49_05_10722.jpg
/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_14_9607.jpg
/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_24_9660.jpg
/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_34_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832446","1401832434","1401832442","1401832438","1401832426","1401832429"],"photo_ids_order":["1401832426","1401832429","1401832434","1401832438","1401832442","1401832446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed2931d3d16d3e9238e6236bc8f8fb7a.jpg","text":"TemporaryFile(/tmp/multipartBody589950852673142299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155283533,"filename":"image_31122025_04_49_34_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa91bd240a930b173fed20a2c111ce51.jpg","text":"TemporaryFile(/tmp/multipartBody5615754787801782859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155283533,"filename":"image_31122025_04_49_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9d12ee445ec3158c3c267bcd1386c41.jpg","text":"TemporaryFile(/tmp/multipartBody5803893009538116474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155283533,"filename":"image_31122025_04_49_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0b2b58fda6246e35a1145417bad8055.jpg","text":"TemporaryFile(/tmp/multipartBody7765246753002471728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155283533,"filename":"image_31122025_04_49_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60b76a1288fcf41105f9443747e51dfa.jpg","text":"TemporaryFile(/tmp/multipartBody8536046620236271938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155283533,"filename":"image_31122025_04_48_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c2b63ca8db92db227f0b203fd3beb97.jpg","text":"TemporaryFile(/tmp/multipartBody4107419112334675894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155283533,"filename":"image_31122025_04_48_54_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832434","file1":"1401832429","file0":"1401832426","file4":"1401832442","file5":"1401832446","file3":"1401832438"},"map_files_photo_id_array":[{"photo_id":"1401832446","filename":"file5"},{"photo_id":"1401832434","filename":"file2"},{"photo_id":"1401832442","filename":"file4"},{"photo_id":"1401832429","filename":"file1"},{"photo_id":"1401832426","filename":"file0"},{"photo_id":"1401832438","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832446":["hashtag1","hashtag2"]},{"1401832434":["hashtag1","hashtag2"]},{"1401832442":["hashtag1","hashtag2"]},{"1401832438":["hashtag1","hashtag2"]},{"1401832426":["hashtag1","hashtag2"]},{"1401832429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832446, 1401832434, 1401832442, 1401832438, 1401832426, 1401832429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11687231063843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:27:42.159373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/18/image_02112025_22_18_16_2713.jpg', '/home/pi/Desktop/images/02112025/22/18/image_02112025_22_18_26_3726.jpg', '/home/pi/Desktop/images/02112025/22/18/image_02112025_22_18_34_2913.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_01_2739.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_08_3737.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_10_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/18/image_02112025_22_18_16_2713.jpg
/home/pi/Desktop/images/02112025/22/18/image_02112025_22_18_26_3726.jpg
/home/pi/Desktop/images/02112025/22/18/image_02112025_22_18_34_2913.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_01_2739.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_08_3737.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_10_2551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832461","1401832455","1401832451","1401832457","1401832459","1401832453"],"photo_ids_order":["1401832451","1401832453","1401832455","1401832457","1401832459","1401832461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f57e19e0cb4c0e46ad90314ad814603c.jpg","text":"TemporaryFile(/tmp/multipartBody7935818846132988717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155324076,"filename":"image_02112025_22_19_10_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09c9fed38fc35dbad765740f5208d497.jpg","text":"TemporaryFile(/tmp/multipartBody3895798291206177977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155324076,"filename":"image_02112025_22_18_34_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6854649ca081eb454da31579a2adafdc.jpg","text":"TemporaryFile(/tmp/multipartBody3981154050597628230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155324076,"filename":"image_02112025_22_18_16_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bcbc83e1653c2f4c3197b035a320935.jpg","text":"TemporaryFile(/tmp/multipartBody3163934873297615193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155324076,"filename":"image_02112025_22_19_01_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acbbc313305a288477935f3493385675.jpg","text":"TemporaryFile(/tmp/multipartBody730400709950523301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155324076,"filename":"image_02112025_22_19_08_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c34cb5cac93a995880dfb9ece792367.jpg","text":"TemporaryFile(/tmp/multipartBody2508126909834750175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155324076,"filename":"image_02112025_22_18_26_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832455","file1":"1401832453","file0":"1401832451","file4":"1401832459","file5":"1401832461","file3":"1401832457"},"map_files_photo_id_array":[{"photo_id":"1401832461","filename":"file5"},{"photo_id":"1401832455","filename":"file2"},{"photo_id":"1401832459","filename":"file4"},{"photo_id":"1401832453","filename":"file1"},{"photo_id":"1401832451","filename":"file0"},{"photo_id":"1401832457","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832461":["hashtag1","hashtag2"]},{"1401832455":["hashtag1","hashtag2"]},{"1401832451":["hashtag1","hashtag2"]},{"1401832457":["hashtag1","hashtag2"]},{"1401832459":["hashtag1","hashtag2"]},{"1401832453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832461, 1401832455, 1401832451, 1401832457, 1401832459, 1401832453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44103002548218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:28:22.301471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_44_9781.jpg', '/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_54_9591.jpg', '/home/pi/Desktop/images/31122025/04/50/image_31122025_04_50_14_9791.jpg', '/home/pi/Desktop/images/31122025/04/50/image_31122025_04_50_24_9583.jpg', '/home/pi/Desktop/images/31122025/04/50/image_31122025_04_50_35_10717.jpg', '/home/pi/Desktop/images/31122025/04/50/image_31122025_04_50_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_44_9781.jpg
/home/pi/Desktop/images/31122025/04/49/image_31122025_04_49_54_9591.jpg
/home/pi/Desktop/images/31122025/04/50/image_31122025_04_50_14_9791.jpg
/home/pi/Desktop/images/31122025/04/50/image_31122025_04_50_24_9583.jpg
/home/pi/Desktop/images/31122025/04/50/image_31122025_04_50_35_10717.jpg
/home/pi/Desktop/images/31122025/04/50/image_31122025_04_50_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832478","1401832481","1401832489","1401832474","1401832471","1401832468"],"photo_ids_order":["1401832468","1401832471","1401832474","1401832478","1401832481","1401832489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c296b18027afe10083e596b448686eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1173965561539154040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155362906,"filename":"image_31122025_04_50_24_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bbfe7245b1c6a2784832cda6952ad08.jpg","text":"TemporaryFile(/tmp/multipartBody8608193176568407055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155362906,"filename":"image_31122025_04_50_35_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cffa0bcb93752deca4a59e1271d348d7.jpg","text":"TemporaryFile(/tmp/multipartBody2527288505490285075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155362906,"filename":"image_31122025_04_50_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09c6dd0d6da81c780a166aaba8db8fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6756455585544491407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155362906,"filename":"image_31122025_04_50_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a82c769c72e6601504572612b1de306c.jpg","text":"TemporaryFile(/tmp/multipartBody6266648328879510783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155362906,"filename":"image_31122025_04_49_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0210ffbec087c854f4f41f94dd7886b3.jpg","text":"TemporaryFile(/tmp/multipartBody2886765039548400302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155362906,"filename":"image_31122025_04_49_44_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832474","file1":"1401832471","file0":"1401832468","file4":"1401832481","file5":"1401832489","file3":"1401832478"},"map_files_photo_id_array":[{"photo_id":"1401832489","filename":"file5"},{"photo_id":"1401832474","filename":"file2"},{"photo_id":"1401832481","filename":"file4"},{"photo_id":"1401832471","filename":"file1"},{"photo_id":"1401832468","filename":"file0"},{"photo_id":"1401832478","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832478":["hashtag1","hashtag2"]},{"1401832481":["hashtag1","hashtag2"]},{"1401832489":["hashtag1","hashtag2"]},{"1401832474":["hashtag1","hashtag2"]},{"1401832471":["hashtag1","hashtag2"]},{"1401832468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832478, 1401832481, 1401832489, 1401832474, 1401832471, 1401832468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40836787223816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:29:03.660970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/50/image_31122025_04_51_05_10773.jpg', '/home/pi/Desktop/images/31122025/04/51/image_31122025_04_51_14_9601.jpg', '/home/pi/Desktop/images/31122025/04/51/image_31122025_04_51_24_9734.jpg', '/home/pi/Desktop/images/31122025/04/51/image_31122025_04_51_35_10681.jpg', '/home/pi/Desktop/images/31122025/04/51/image_31122025_04_51_54_9583.jpg', '/home/pi/Desktop/images/31122025/04/51/image_31122025_04_52_04_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/50/image_31122025_04_51_05_10773.jpg
/home/pi/Desktop/images/31122025/04/51/image_31122025_04_51_14_9601.jpg
/home/pi/Desktop/images/31122025/04/51/image_31122025_04_51_24_9734.jpg
/home/pi/Desktop/images/31122025/04/51/image_31122025_04_51_35_10681.jpg
/home/pi/Desktop/images/31122025/04/51/image_31122025_04_51_54_9583.jpg
/home/pi/Desktop/images/31122025/04/51/image_31122025_04_52_04_10557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832516","1401832504","1401832521","1401832514","1401832525","1401832519"],"photo_ids_order":["1401832504","1401832514","1401832516","1401832519","1401832521","1401832525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a0e1c33d3ed33921774d64687c14121.jpg","text":"TemporaryFile(/tmp/multipartBody8147500758744343436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155404447,"filename":"image_31122025_04_51_24_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db925e02b286eefc778f9729722f0fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6077263868825000357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155404447,"filename":"image_31122025_04_51_05_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/629d03f597224375a323c53b520364d9.jpg","text":"TemporaryFile(/tmp/multipartBody3367336322692167523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155404447,"filename":"image_31122025_04_51_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59b2b0818db37f6d777b73923c885713.jpg","text":"TemporaryFile(/tmp/multipartBody1431465969580407477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155404447,"filename":"image_31122025_04_51_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44f153e82bdc3493ba01cfd351b75f73.jpg","text":"TemporaryFile(/tmp/multipartBody8440353807161390280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155404447,"filename":"image_31122025_04_52_04_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3de316bf056337f9aa01edd9e55a1296.jpg","text":"TemporaryFile(/tmp/multipartBody6029913791744135436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155404447,"filename":"image_31122025_04_51_35_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832516","file1":"1401832514","file0":"1401832504","file4":"1401832521","file5":"1401832525","file3":"1401832519"},"map_files_photo_id_array":[{"photo_id":"1401832525","filename":"file5"},{"photo_id":"1401832516","filename":"file2"},{"photo_id":"1401832521","filename":"file4"},{"photo_id":"1401832514","filename":"file1"},{"photo_id":"1401832504","filename":"file0"},{"photo_id":"1401832519","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832516":["hashtag1","hashtag2"]},{"1401832504":["hashtag1","hashtag2"]},{"1401832521":["hashtag1","hashtag2"]},{"1401832514":["hashtag1","hashtag2"]},{"1401832525":["hashtag1","hashtag2"]},{"1401832519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832516, 1401832504, 1401832521, 1401832514, 1401832525, 1401832519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59668827056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:29:42.541439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_13_2643.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_22_2800.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_31_2612.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_34_2639.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_38_3744.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_40_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_13_2643.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_22_2800.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_31_2612.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_34_2639.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_38_3744.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_40_2803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832572","1401832575","1401832545","1401832544","1401832538","1401832570"],"photo_ids_order":["1401832538","1401832544","1401832545","1401832570","1401832572","1401832575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba92b7acb7d0620dd9466a9125234f50.jpg","text":"TemporaryFile(/tmp/multipartBody4624901401578284503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155444475,"filename":"image_02112025_22_19_38_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ed0c2cd5ab872163c80fe2ded994709.jpg","text":"TemporaryFile(/tmp/multipartBody8775492970953766956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155444475,"filename":"image_02112025_22_19_40_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ded0c1d2914bdb0a6da93814bfd6205.jpg","text":"TemporaryFile(/tmp/multipartBody7421816169060742457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155444475,"filename":"image_02112025_22_19_31_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73fa11b193b04d441c7c68221c741210.jpg","text":"TemporaryFile(/tmp/multipartBody7401680658099501621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155444475,"filename":"image_02112025_22_19_22_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94defc36008577676b0697cc301acf12.jpg","text":"TemporaryFile(/tmp/multipartBody4748754953519364542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155444475,"filename":"image_02112025_22_19_13_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/571b2773ea20d0c8cc793821af016f9b.jpg","text":"TemporaryFile(/tmp/multipartBody8224098813998099372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155444475,"filename":"image_02112025_22_19_34_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832545","file1":"1401832544","file0":"1401832538","file4":"1401832572","file5":"1401832575","file3":"1401832570"},"map_files_photo_id_array":[{"photo_id":"1401832575","filename":"file5"},{"photo_id":"1401832545","filename":"file2"},{"photo_id":"1401832572","filename":"file4"},{"photo_id":"1401832544","filename":"file1"},{"photo_id":"1401832538","filename":"file0"},{"photo_id":"1401832570","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832572":["hashtag1","hashtag2"]},{"1401832575":["hashtag1","hashtag2"]},{"1401832545":["hashtag1","hashtag2"]},{"1401832544":["hashtag1","hashtag2"]},{"1401832538":["hashtag1","hashtag2"]},{"1401832570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832572, 1401832575, 1401832545, 1401832544, 1401832538, 1401832570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.896711111068726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:30:32.783170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_46_2957.jpg', '/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_52_3593.jpg', '/home/pi/Desktop/images/02112025/22/20/image_02112025_22_20_17_2683.jpg', '/home/pi/Desktop/images/02112025/22/20/image_02112025_22_20_41_2768.jpg', '/home/pi/Desktop/images/02112025/22/20/image_02112025_22_20_47_3757.jpg', '/home/pi/Desktop/images/02112025/22/21/image_02112025_22_21_11_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_46_2957.jpg
/home/pi/Desktop/images/02112025/22/19/image_02112025_22_19_52_3593.jpg
/home/pi/Desktop/images/02112025/22/20/image_02112025_22_20_17_2683.jpg
/home/pi/Desktop/images/02112025/22/20/image_02112025_22_20_41_2768.jpg
/home/pi/Desktop/images/02112025/22/20/image_02112025_22_20_47_3757.jpg
/home/pi/Desktop/images/02112025/22/21/image_02112025_22_21_11_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832600","1401832603","1401832605","1401832592","1401832594","1401832597"],"photo_ids_order":["1401832592","1401832594","1401832597","1401832600","1401832603","1401832605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebb87d20200e546855b3d79588bb41b2.jpg","text":"TemporaryFile(/tmp/multipartBody1910356079601623770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155494707,"filename":"image_02112025_22_20_41_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3992b4fb1bd433608a0c53255eca28a.jpg","text":"TemporaryFile(/tmp/multipartBody6882744169567700394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155494707,"filename":"image_02112025_22_20_47_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b984eee7e2957c41e2f3415c6190a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8537109125125755627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155494707,"filename":"image_02112025_22_21_11_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a35bbc92920e929786b42f9696da6c23.jpg","text":"TemporaryFile(/tmp/multipartBody1797407164962659644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155494707,"filename":"image_02112025_22_19_46_2957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4b013c344d0f6b2cfbdd1f664dab6da.jpg","text":"TemporaryFile(/tmp/multipartBody3249499215083940083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155494707,"filename":"image_02112025_22_19_52_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5f1488559f09d1aa147dd04800ba474.jpg","text":"TemporaryFile(/tmp/multipartBody2158930259192601650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155494707,"filename":"image_02112025_22_20_17_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832597","file1":"1401832594","file0":"1401832592","file4":"1401832603","file5":"1401832605","file3":"1401832600"},"map_files_photo_id_array":[{"photo_id":"1401832605","filename":"file5"},{"photo_id":"1401832597","filename":"file2"},{"photo_id":"1401832603","filename":"file4"},{"photo_id":"1401832594","filename":"file1"},{"photo_id":"1401832592","filename":"file0"},{"photo_id":"1401832600","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832600":["hashtag1","hashtag2"]},{"1401832603":["hashtag1","hashtag2"]},{"1401832605":["hashtag1","hashtag2"]},{"1401832592":["hashtag1","hashtag2"]},{"1401832594":["hashtag1","hashtag2"]},{"1401832597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832600, 1401832603, 1401832605, 1401832592, 1401832594, 1401832597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10603475570679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:31:21.903560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_14_9737.jpg', '/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_24_9677.jpg', '/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_34_10623.jpg', '/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_44_9722.jpg', '/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_54_9718.jpg', '/home/pi/Desktop/images/31122025/04/52/image_31122025_04_53_05_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_14_9737.jpg
/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_24_9677.jpg
/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_34_10623.jpg
/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_44_9722.jpg
/home/pi/Desktop/images/31122025/04/52/image_31122025_04_52_54_9718.jpg
/home/pi/Desktop/images/31122025/04/52/image_31122025_04_53_05_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832621","1401832614","1401832631","1401832624","1401832618","1401832627"],"photo_ids_order":["1401832614","1401832618","1401832621","1401832624","1401832627","1401832631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9dad2924d624c1272cfb5a6bd4db4740.jpg","text":"TemporaryFile(/tmp/multipartBody1627210907644421368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155542497,"filename":"image_31122025_04_52_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3511e6807f98c4401709aa96c1115974.jpg","text":"TemporaryFile(/tmp/multipartBody4383708089104545960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155542497,"filename":"image_31122025_04_52_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5016e59d230bb93c80449b0dcb900a7.jpg","text":"TemporaryFile(/tmp/multipartBody7322107555098611767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155542497,"filename":"image_31122025_04_53_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e9e011f7250598ee409c821cc0a838b.jpg","text":"TemporaryFile(/tmp/multipartBody3518074808964065720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155542497,"filename":"image_31122025_04_52_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cac1e1ff40c4bf6ca2296825a8153480.jpg","text":"TemporaryFile(/tmp/multipartBody1668753868581941219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155542497,"filename":"image_31122025_04_52_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74874a2d6467545467db7fe63b33699a.jpg","text":"TemporaryFile(/tmp/multipartBody402540582036040396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155542497,"filename":"image_31122025_04_52_54_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832621","file1":"1401832618","file0":"1401832614","file4":"1401832627","file5":"1401832631","file3":"1401832624"},"map_files_photo_id_array":[{"photo_id":"1401832631","filename":"file5"},{"photo_id":"1401832621","filename":"file2"},{"photo_id":"1401832627","filename":"file4"},{"photo_id":"1401832618","filename":"file1"},{"photo_id":"1401832614","filename":"file0"},{"photo_id":"1401832624","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832621":["hashtag1","hashtag2"]},{"1401832614":["hashtag1","hashtag2"]},{"1401832631":["hashtag1","hashtag2"]},{"1401832624":["hashtag1","hashtag2"]},{"1401832618":["hashtag1","hashtag2"]},{"1401832627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832621, 1401832614, 1401832631, 1401832624, 1401832618, 1401832627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40607953071594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:32:02.445509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/53/image_31122025_04_53_14_9385.jpg', '/home/pi/Desktop/images/31122025/04/53/image_31122025_04_53_25_10668.jpg', '/home/pi/Desktop/images/31122025/04/53/image_31122025_04_53_34_9770.jpg', '/home/pi/Desktop/images/31122025/04/53/image_31122025_04_53_44_9545.jpg', '/home/pi/Desktop/images/31122025/04/53/image_31122025_04_54_04_9519.jpg', '/home/pi/Desktop/images/31122025/04/54/image_31122025_04_54_15_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/53/image_31122025_04_53_14_9385.jpg
/home/pi/Desktop/images/31122025/04/53/image_31122025_04_53_25_10668.jpg
/home/pi/Desktop/images/31122025/04/53/image_31122025_04_53_34_9770.jpg
/home/pi/Desktop/images/31122025/04/53/image_31122025_04_53_44_9545.jpg
/home/pi/Desktop/images/31122025/04/53/image_31122025_04_54_04_9519.jpg
/home/pi/Desktop/images/31122025/04/54/image_31122025_04_54_15_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832641","1401832644","1401832638","1401832637","1401832636","1401832648"],"photo_ids_order":["1401832636","1401832637","1401832638","1401832641","1401832644","1401832648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b39c0213954b3993b93c95e4b33ba8f3.jpg","text":"TemporaryFile(/tmp/multipartBody8788380935080369049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155583059,"filename":"image_31122025_04_53_44_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62d14160d7341ed6cb74fb04f968feb3.jpg","text":"TemporaryFile(/tmp/multipartBody8837593037129792509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155583059,"filename":"image_31122025_04_54_04_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87ffd3164a7efc2bc0608524c056244f.jpg","text":"TemporaryFile(/tmp/multipartBody7045920060228120155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155583059,"filename":"image_31122025_04_53_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d42d51af3a2d76aaa26b2dda588a44b.jpg","text":"TemporaryFile(/tmp/multipartBody2966408582411021077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155583059,"filename":"image_31122025_04_53_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5653cd7552ff2f327f00aa6fcb4d7d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4037347810271528851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155583059,"filename":"image_31122025_04_53_14_9385.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d71884f9e6f2029507937d9c15497af.jpg","text":"TemporaryFile(/tmp/multipartBody4125892870071493293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155583059,"filename":"image_31122025_04_54_15_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832638","file1":"1401832637","file0":"1401832636","file4":"1401832644","file5":"1401832648","file3":"1401832641"},"map_files_photo_id_array":[{"photo_id":"1401832648","filename":"file5"},{"photo_id":"1401832638","filename":"file2"},{"photo_id":"1401832644","filename":"file4"},{"photo_id":"1401832637","filename":"file1"},{"photo_id":"1401832636","filename":"file0"},{"photo_id":"1401832641","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832641":["hashtag1","hashtag2"]},{"1401832644":["hashtag1","hashtag2"]},{"1401832638":["hashtag1","hashtag2"]},{"1401832637":["hashtag1","hashtag2"]},{"1401832636":["hashtag1","hashtag2"]},{"1401832648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832641, 1401832644, 1401832638, 1401832637, 1401832636, 1401832648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.921964168548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:32:42.218695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/21/image_02112025_22_21_14_2753.jpg', '/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_08_2667.jpg', '/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_11_2732.jpg', '/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_13_2701.jpg', '/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_20_2760.jpg', '/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_43_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/21/image_02112025_22_21_14_2753.jpg
/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_08_2667.jpg
/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_11_2732.jpg
/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_13_2701.jpg
/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_20_2760.jpg
/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_43_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832677","1401832665","1401832680","1401832694","1401832687","1401832681"],"photo_ids_order":["1401832665","1401832677","1401832680","1401832681","1401832687","1401832694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f96fe4dc470d80fa0c742af09b59b8c6.jpg","text":"TemporaryFile(/tmp/multipartBody5249750321507265115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155624131,"filename":"image_02112025_22_22_08_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c83a13b16a3c1dfff20bd5241a5e64a.jpg","text":"TemporaryFile(/tmp/multipartBody2024895246026643348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155624131,"filename":"image_02112025_22_21_14_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec84adef59eb4b82b099017672048b73.jpg","text":"TemporaryFile(/tmp/multipartBody7561473172588149452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155624131,"filename":"image_02112025_22_22_11_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49050592975b43de54aac93ce8c0d07a.jpg","text":"TemporaryFile(/tmp/multipartBody6584285276955879159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155624131,"filename":"image_02112025_22_22_43_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c3760691acb16968f6f95775f18a02b.jpg","text":"TemporaryFile(/tmp/multipartBody989159494560585574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155624131,"filename":"image_02112025_22_22_20_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40b7cd416dccaa550ce6086a90f1fa83.jpg","text":"TemporaryFile(/tmp/multipartBody2213475849657210233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155624131,"filename":"image_02112025_22_22_13_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832680","file1":"1401832677","file0":"1401832665","file4":"1401832687","file5":"1401832694","file3":"1401832681"},"map_files_photo_id_array":[{"photo_id":"1401832694","filename":"file5"},{"photo_id":"1401832680","filename":"file2"},{"photo_id":"1401832687","filename":"file4"},{"photo_id":"1401832677","filename":"file1"},{"photo_id":"1401832665","filename":"file0"},{"photo_id":"1401832681","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832677":["hashtag1","hashtag2"]},{"1401832665":["hashtag1","hashtag2"]},{"1401832680":["hashtag1","hashtag2"]},{"1401832694":["hashtag1","hashtag2"]},{"1401832687":["hashtag1","hashtag2"]},{"1401832681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832677, 1401832665, 1401832680, 1401832694, 1401832687, 1401832681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74595665931702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:33:26.173748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/54/image_31122025_04_54_25_9816.jpg', '/home/pi/Desktop/images/31122025/04/54/image_31122025_04_54_34_9616.jpg', '/home/pi/Desktop/images/31122025/04/54/image_31122025_04_55_04_9596.jpg', '/home/pi/Desktop/images/31122025/04/55/image_31122025_04_55_14_10592.jpg', '/home/pi/Desktop/images/31122025/04/55/image_31122025_04_55_24_9560.jpg', '/home/pi/Desktop/images/31122025/04/55/image_31122025_04_55_44_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/54/image_31122025_04_54_25_9816.jpg
/home/pi/Desktop/images/31122025/04/54/image_31122025_04_54_34_9616.jpg
/home/pi/Desktop/images/31122025/04/54/image_31122025_04_55_04_9596.jpg
/home/pi/Desktop/images/31122025/04/55/image_31122025_04_55_14_10592.jpg
/home/pi/Desktop/images/31122025/04/55/image_31122025_04_55_24_9560.jpg
/home/pi/Desktop/images/31122025/04/55/image_31122025_04_55_44_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832720","1401832708","1401832716","1401832710","1401832713","1401832706"],"photo_ids_order":["1401832706","1401832708","1401832710","1401832713","1401832716","1401832720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/971c05d22f6e6b1d947a2164cbfd8646.jpg","text":"TemporaryFile(/tmp/multipartBody2347437213481347852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155666757,"filename":"image_31122025_04_55_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d795e10467db421856664ae94e23e02b.jpg","text":"TemporaryFile(/tmp/multipartBody1514101402272967675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155666757,"filename":"image_31122025_04_54_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/226e8daf37d46e97754332a63ee230c0.jpg","text":"TemporaryFile(/tmp/multipartBody6375396513583076510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155666757,"filename":"image_31122025_04_55_24_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc1f1dd3f4c0a9689f97c6f2ee576b9f.jpg","text":"TemporaryFile(/tmp/multipartBody7285066085290051994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155666757,"filename":"image_31122025_04_55_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a991326f081e379c07a6ae38c8100bd.jpg","text":"TemporaryFile(/tmp/multipartBody7485479503790125191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155666757,"filename":"image_31122025_04_55_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74c2034b6475a53878a09fb1cc844562.jpg","text":"TemporaryFile(/tmp/multipartBody8051815421105220309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155666757,"filename":"image_31122025_04_54_25_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832710","file1":"1401832708","file0":"1401832706","file4":"1401832716","file5":"1401832720","file3":"1401832713"},"map_files_photo_id_array":[{"photo_id":"1401832720","filename":"file5"},{"photo_id":"1401832710","filename":"file2"},{"photo_id":"1401832716","filename":"file4"},{"photo_id":"1401832708","filename":"file1"},{"photo_id":"1401832706","filename":"file0"},{"photo_id":"1401832713","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832720":["hashtag1","hashtag2"]},{"1401832708":["hashtag1","hashtag2"]},{"1401832716":["hashtag1","hashtag2"]},{"1401832710":["hashtag1","hashtag2"]},{"1401832713":["hashtag1","hashtag2"]},{"1401832706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832720, 1401832708, 1401832716, 1401832710, 1401832713, 1401832706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.730047941207886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:34:12.580070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_46_2772.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_02_2611.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_05_3650.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_08_2713.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_11_2706.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_13_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/22/image_02112025_22_22_46_2772.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_02_2611.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_05_3650.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_08_2713.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_11_2706.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_13_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832740","1401832731","1401832733","1401832736","1401832735","1401832744"],"photo_ids_order":["1401832731","1401832733","1401832735","1401832736","1401832740","1401832744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca7065a29bb78e98ad849bbe39711fb7.jpg","text":"TemporaryFile(/tmp/multipartBody8880667480065605514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155714358,"filename":"image_02112025_22_23_11_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c8c10996feacbff128d61e62a235202.jpg","text":"TemporaryFile(/tmp/multipartBody8442207788651562245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155714358,"filename":"image_02112025_22_22_46_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba6d81514020c60f7bcc3a85674d4c74.jpg","text":"TemporaryFile(/tmp/multipartBody5286244526324882071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155714358,"filename":"image_02112025_22_23_02_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20e3ad58d535826ed3965aadf2f3e989.jpg","text":"TemporaryFile(/tmp/multipartBody2438477548563435221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155714358,"filename":"image_02112025_22_23_08_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3f5de76a79ea009456df80b9e762074.jpg","text":"TemporaryFile(/tmp/multipartBody8154285793158135204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155714358,"filename":"image_02112025_22_23_05_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b30b99343ea7aaf426c10c291c910d3.jpg","text":"TemporaryFile(/tmp/multipartBody7853947466086631681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155714358,"filename":"image_02112025_22_23_13_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832735","file1":"1401832733","file0":"1401832731","file4":"1401832740","file5":"1401832744","file3":"1401832736"},"map_files_photo_id_array":[{"photo_id":"1401832744","filename":"file5"},{"photo_id":"1401832735","filename":"file2"},{"photo_id":"1401832740","filename":"file4"},{"photo_id":"1401832733","filename":"file1"},{"photo_id":"1401832731","filename":"file0"},{"photo_id":"1401832736","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832740":["hashtag1","hashtag2"]},{"1401832731":["hashtag1","hashtag2"]},{"1401832733":["hashtag1","hashtag2"]},{"1401832736":["hashtag1","hashtag2"]},{"1401832735":["hashtag1","hashtag2"]},{"1401832744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832740, 1401832731, 1401832733, 1401832736, 1401832735, 1401832744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85517454147339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:35:03.317074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/55/image_31122025_04_55_54_9606.jpg', '/home/pi/Desktop/images/31122025/04/55/image_31122025_04_56_04_10637.jpg', '/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_14_9808.jpg', '/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_24_9712.jpg', '/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_34_9771.jpg', '/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_45_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/55/image_31122025_04_55_54_9606.jpg
/home/pi/Desktop/images/31122025/04/55/image_31122025_04_56_04_10637.jpg
/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_14_9808.jpg
/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_24_9712.jpg
/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_34_9771.jpg
/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_45_10751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832755","1401832763","1401832757","1401832772","1401832768","1401832759"],"photo_ids_order":["1401832755","1401832757","1401832759","1401832763","1401832768","1401832772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/274cb6e8194d34cc07ee60f9e41cbbb9.jpg","text":"TemporaryFile(/tmp/multipartBody5786328209577858675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155763987,"filename":"image_31122025_04_55_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a90dbcbb74bea3a493f16b62b35a4433.jpg","text":"TemporaryFile(/tmp/multipartBody8764601286553865556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155763987,"filename":"image_31122025_04_56_24_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c51175de81b4ad6953a7b188f5785796.jpg","text":"TemporaryFile(/tmp/multipartBody2958548840444341516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155763987,"filename":"image_31122025_04_56_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21a79ef7dacab11d575ac61af33df2e7.jpg","text":"TemporaryFile(/tmp/multipartBody2823786741026305727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155763987,"filename":"image_31122025_04_56_45_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1051f5a3ae265c4edcf1f098997ded3.jpg","text":"TemporaryFile(/tmp/multipartBody2789483434122875401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155763987,"filename":"image_31122025_04_56_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2c6a1a56f2a441227510d858268d2f5.jpg","text":"TemporaryFile(/tmp/multipartBody4473078293367176105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155763987,"filename":"image_31122025_04_56_14_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832759","file1":"1401832757","file0":"1401832755","file4":"1401832768","file5":"1401832772","file3":"1401832763"},"map_files_photo_id_array":[{"photo_id":"1401832772","filename":"file5"},{"photo_id":"1401832759","filename":"file2"},{"photo_id":"1401832768","filename":"file4"},{"photo_id":"1401832757","filename":"file1"},{"photo_id":"1401832755","filename":"file0"},{"photo_id":"1401832763","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832755":["hashtag1","hashtag2"]},{"1401832763":["hashtag1","hashtag2"]},{"1401832757":["hashtag1","hashtag2"]},{"1401832772":["hashtag1","hashtag2"]},{"1401832768":["hashtag1","hashtag2"]},{"1401832759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832755, 1401832763, 1401832757, 1401832772, 1401832768, 1401832759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.526495933532715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:35:42.730546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_17_3664.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_23_3010.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_28_2804.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_41_3662.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_47_2681.jpg', '/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_53_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_17_3664.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_23_3010.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_28_2804.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_41_3662.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_47_2681.jpg
/home/pi/Desktop/images/02112025/22/23/image_02112025_22_23_53_3680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832785","1401832788","1401832781","1401832784","1401832786","1401832783"],"photo_ids_order":["1401832781","1401832783","1401832784","1401832785","1401832786","1401832788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a33e213e2f02830341cd885e042dc289.jpg","text":"TemporaryFile(/tmp/multipartBody4061164028976106809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155804700,"filename":"image_02112025_22_23_41_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d27d6e7bee862afd472aa2e796544913.jpg","text":"TemporaryFile(/tmp/multipartBody5613981583841385946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155804700,"filename":"image_02112025_22_23_53_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a8ff5f892b96b0faf39fcdee300b937.jpg","text":"TemporaryFile(/tmp/multipartBody1445051230776916094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155804700,"filename":"image_02112025_22_23_17_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b254d6f5410e44e4b7dd4eb64ee6b5c.jpg","text":"TemporaryFile(/tmp/multipartBody8562488374557513473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155804700,"filename":"image_02112025_22_23_28_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee35220c6374eeac7c165299d6e45e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8213460515354455285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155804700,"filename":"image_02112025_22_23_47_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/420fa5907ead05283f644e4e86451368.jpg","text":"TemporaryFile(/tmp/multipartBody9180668590509287365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155804700,"filename":"image_02112025_22_23_23_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832784","file1":"1401832783","file0":"1401832781","file4":"1401832786","file5":"1401832788","file3":"1401832785"},"map_files_photo_id_array":[{"photo_id":"1401832788","filename":"file5"},{"photo_id":"1401832784","filename":"file2"},{"photo_id":"1401832786","filename":"file4"},{"photo_id":"1401832783","filename":"file1"},{"photo_id":"1401832781","filename":"file0"},{"photo_id":"1401832785","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832785":["hashtag1","hashtag2"]},{"1401832788":["hashtag1","hashtag2"]},{"1401832781":["hashtag1","hashtag2"]},{"1401832784":["hashtag1","hashtag2"]},{"1401832786":["hashtag1","hashtag2"]},{"1401832783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832785, 1401832788, 1401832781, 1401832784, 1401832786, 1401832783)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.215532064437866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:36:31.854609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_05_2809.jpg', '/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_29_2696.jpg', '/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_40_2781.jpg', '/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_44_3647.jpg', '/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_49_2881.jpg', '/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_52_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_05_2809.jpg
/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_29_2696.jpg
/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_40_2781.jpg
/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_44_3647.jpg
/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_49_2881.jpg
/home/pi/Desktop/images/02112025/22/24/image_02112025_22_24_52_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832827","1401832812","1401832824","1401832805","1401832820","1401832814"],"photo_ids_order":["1401832805","1401832812","1401832814","1401832820","1401832824","1401832827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e353a4cd2bce3bef5c9a4fb4741b797e.jpg","text":"TemporaryFile(/tmp/multipartBody1966240092380535245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155853764,"filename":"image_02112025_22_24_52_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40625c01f2e83ac9eb56dfc1401d545f.jpg","text":"TemporaryFile(/tmp/multipartBody2292734541574461933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155853764,"filename":"image_02112025_22_24_29_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e24294e2b1a3de6069eac105d7851db3.jpg","text":"TemporaryFile(/tmp/multipartBody3792558633074349846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155853764,"filename":"image_02112025_22_24_49_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce81a6ddea26967b0d228c753d2b19f4.jpg","text":"TemporaryFile(/tmp/multipartBody1244564216541197156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155853764,"filename":"image_02112025_22_24_05_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a36d22a02816bebd5fca40e962b36370.jpg","text":"TemporaryFile(/tmp/multipartBody2407585715696261299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155853764,"filename":"image_02112025_22_24_44_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0dd78c3d7863e4a27728915dbcef6f79.jpg","text":"TemporaryFile(/tmp/multipartBody2653175646030288514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155853764,"filename":"image_02112025_22_24_40_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832814","file1":"1401832812","file0":"1401832805","file4":"1401832824","file5":"1401832827","file3":"1401832820"},"map_files_photo_id_array":[{"photo_id":"1401832827","filename":"file5"},{"photo_id":"1401832814","filename":"file2"},{"photo_id":"1401832824","filename":"file4"},{"photo_id":"1401832812","filename":"file1"},{"photo_id":"1401832805","filename":"file0"},{"photo_id":"1401832820","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832827":["hashtag1","hashtag2"]},{"1401832812":["hashtag1","hashtag2"]},{"1401832824":["hashtag1","hashtag2"]},{"1401832805":["hashtag1","hashtag2"]},{"1401832820":["hashtag1","hashtag2"]},{"1401832814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832827, 1401832812, 1401832824, 1401832805, 1401832820, 1401832814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99629330635071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:37:12.076476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_14_2704.jpg', '/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_23_3596.jpg', '/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_28_2637.jpg', '/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_51_9837.jpg', '/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_53_1786.jpg', '/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_05_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_14_2704.jpg
/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_23_3596.jpg
/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_28_2637.jpg
/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_51_9837.jpg
/home/pi/Desktop/images/02112025/22/25/image_02112025_22_25_53_1786.jpg
/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_05_1579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832856","1401832859","1401832853","1401832846","1401832849","1401832843"],"photo_ids_order":["1401832843","1401832846","1401832849","1401832853","1401832856","1401832859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8d2043ec3a370fa984cd946790a1ebd.jpg","text":"TemporaryFile(/tmp/multipartBody3080973540062546990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155893873,"filename":"image_02112025_22_25_53_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5b7ae1a7af9e03e594604d8ca443981.jpg","text":"TemporaryFile(/tmp/multipartBody2986092387127299091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155893873,"filename":"image_02112025_22_26_05_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b1a2561efb2f9597b13cea4cd824db5.jpg","text":"TemporaryFile(/tmp/multipartBody8322192614807373184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155893873,"filename":"image_02112025_22_25_51_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6e09331b5efa161f612395b4237c200.jpg","text":"TemporaryFile(/tmp/multipartBody7956878256155978801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155893873,"filename":"image_02112025_22_25_23_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2eec218ae855c8c82b7bfccd8fc4903e.jpg","text":"TemporaryFile(/tmp/multipartBody3356987917924976785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155893873,"filename":"image_02112025_22_25_28_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/961b121d7af091c0a9dba2d915f1295a.jpg","text":"TemporaryFile(/tmp/multipartBody4510280898172687838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155893873,"filename":"image_02112025_22_25_14_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832849","file1":"1401832846","file0":"1401832843","file4":"1401832856","file5":"1401832859","file3":"1401832853"},"map_files_photo_id_array":[{"photo_id":"1401832859","filename":"file5"},{"photo_id":"1401832849","filename":"file2"},{"photo_id":"1401832856","filename":"file4"},{"photo_id":"1401832846","filename":"file1"},{"photo_id":"1401832843","filename":"file0"},{"photo_id":"1401832853","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832856":["hashtag1","hashtag2"]},{"1401832859":["hashtag1","hashtag2"]},{"1401832853":["hashtag1","hashtag2"]},{"1401832846":["hashtag1","hashtag2"]},{"1401832849":["hashtag1","hashtag2"]},{"1401832843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832856, 1401832859, 1401832853, 1401832846, 1401832849, 1401832843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83630871772766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:38:02.714113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_54_9618.jpg', '/home/pi/Desktop/images/31122025/04/56/image_31122025_04_57_04_9677.jpg', '/home/pi/Desktop/images/31122025/04/57/image_31122025_04_57_24_9574.jpg', '/home/pi/Desktop/images/31122025/04/57/image_31122025_04_57_34_9830.jpg', '/home/pi/Desktop/images/31122025/04/57/image_31122025_04_57_45_10686.jpg', '/home/pi/Desktop/images/31122025/04/57/image_31122025_04_57_54_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/56/image_31122025_04_56_54_9618.jpg
/home/pi/Desktop/images/31122025/04/56/image_31122025_04_57_04_9677.jpg
/home/pi/Desktop/images/31122025/04/57/image_31122025_04_57_24_9574.jpg
/home/pi/Desktop/images/31122025/04/57/image_31122025_04_57_34_9830.jpg
/home/pi/Desktop/images/31122025/04/57/image_31122025_04_57_45_10686.jpg
/home/pi/Desktop/images/31122025/04/57/image_31122025_04_57_54_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832886","1401832880","1401832874","1401832883","1401832877","1401832871"],"photo_ids_order":["1401832871","1401832874","1401832877","1401832880","1401832883","1401832886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c449be03f2822206d24c276d462808b.jpg","text":"TemporaryFile(/tmp/multipartBody54104279546743955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155943328,"filename":"image_31122025_04_57_54_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/892fa946488660b08c07923ee3c166f9.jpg","text":"TemporaryFile(/tmp/multipartBody8058375773721812835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155943328,"filename":"image_31122025_04_57_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b7b7293746e2b9cb29910439bc7b291.jpg","text":"TemporaryFile(/tmp/multipartBody6851509796746644135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155943328,"filename":"image_31122025_04_57_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27714fb0f662da837e8a96a8b88af0fc.jpg","text":"TemporaryFile(/tmp/multipartBody817629634834665426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155943328,"filename":"image_31122025_04_57_45_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86e14595c464cf71a6e9024885d3eeaa.jpg","text":"TemporaryFile(/tmp/multipartBody7083284842009331284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155943328,"filename":"image_31122025_04_57_24_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a3993fed018e85c5cf03eb8a041fc52.jpg","text":"TemporaryFile(/tmp/multipartBody4587464879679107198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155943328,"filename":"image_31122025_04_56_54_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832877","file1":"1401832874","file0":"1401832871","file4":"1401832883","file5":"1401832886","file3":"1401832880"},"map_files_photo_id_array":[{"photo_id":"1401832886","filename":"file5"},{"photo_id":"1401832877","filename":"file2"},{"photo_id":"1401832883","filename":"file4"},{"photo_id":"1401832874","filename":"file1"},{"photo_id":"1401832871","filename":"file0"},{"photo_id":"1401832880","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832886":["hashtag1","hashtag2"]},{"1401832880":["hashtag1","hashtag2"]},{"1401832874":["hashtag1","hashtag2"]},{"1401832883":["hashtag1","hashtag2"]},{"1401832877":["hashtag1","hashtag2"]},{"1401832871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832886, 1401832880, 1401832874, 1401832883, 1401832877, 1401832871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04152536392212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:38:42.389909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_07_1784.jpg', '/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_19_2664.jpg', '/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_26_2640.jpg', '/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_28_2702.jpg', '/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_47_1564.jpg', '/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_50_3111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_07_1784.jpg
/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_19_2664.jpg
/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_26_2640.jpg
/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_28_2702.jpg
/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_47_1564.jpg
/home/pi/Desktop/images/02112025/22/26/image_02112025_22_26_50_3111.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832906","1401832911","1401832920","1401832923","1401832917","1401832919"],"photo_ids_order":["1401832906","1401832911","1401832917","1401832919","1401832920","1401832923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d5ea7651b5ac68120c15c657687d3ee.jpg","text":"TemporaryFile(/tmp/multipartBody8295899285155354489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155984291,"filename":"image_02112025_22_26_07_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a42cced51c92cdc7c44c263cb01011c.jpg","text":"TemporaryFile(/tmp/multipartBody3241777123910696724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155984291,"filename":"image_02112025_22_26_19_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1917556c852ec3ab7833e0c3b038338.jpg","text":"TemporaryFile(/tmp/multipartBody8061564343891294902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155984291,"filename":"image_02112025_22_26_47_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/465c02fe2f516c69a49e9908b1d1ddce.jpg","text":"TemporaryFile(/tmp/multipartBody2907288989995144219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155984291,"filename":"image_02112025_22_26_50_3111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c746c383141359f0902e716310730099.jpg","text":"TemporaryFile(/tmp/multipartBody2035140420242189220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155984291,"filename":"image_02112025_22_26_26_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/418fb59eb65bcbe9b349a406ee877d22.jpg","text":"TemporaryFile(/tmp/multipartBody185867097803907324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767155984291,"filename":"image_02112025_22_26_28_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832917","file1":"1401832911","file0":"1401832906","file4":"1401832920","file5":"1401832923","file3":"1401832919"},"map_files_photo_id_array":[{"photo_id":"1401832923","filename":"file5"},{"photo_id":"1401832917","filename":"file2"},{"photo_id":"1401832920","filename":"file4"},{"photo_id":"1401832911","filename":"file1"},{"photo_id":"1401832906","filename":"file0"},{"photo_id":"1401832919","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832906":["hashtag1","hashtag2"]},{"1401832911":["hashtag1","hashtag2"]},{"1401832920":["hashtag1","hashtag2"]},{"1401832923":["hashtag1","hashtag2"]},{"1401832917":["hashtag1","hashtag2"]},{"1401832919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832906, 1401832911, 1401832920, 1401832923, 1401832917, 1401832919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.879387855529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:39:22.532199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/57/image_31122025_04_58_04_9652.jpg', '/home/pi/Desktop/images/31122025/04/58/image_31122025_04_58_14_9742.jpg', '/home/pi/Desktop/images/31122025/04/58/image_31122025_04_58_54_10615.jpg', '/home/pi/Desktop/images/31122025/04/59/image_31122025_04_59_04_9371.jpg', '/home/pi/Desktop/images/31122025/04/59/image_31122025_04_59_14_10312.jpg', '/home/pi/Desktop/images/31122025/04/59/image_31122025_04_59_24_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/57/image_31122025_04_58_04_9652.jpg
/home/pi/Desktop/images/31122025/04/58/image_31122025_04_58_14_9742.jpg
/home/pi/Desktop/images/31122025/04/58/image_31122025_04_58_54_10615.jpg
/home/pi/Desktop/images/31122025/04/59/image_31122025_04_59_04_9371.jpg
/home/pi/Desktop/images/31122025/04/59/image_31122025_04_59_14_10312.jpg
/home/pi/Desktop/images/31122025/04/59/image_31122025_04_59_24_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832934","1401832945","1401832948","1401832942","1401832936","1401832939"],"photo_ids_order":["1401832934","1401832936","1401832939","1401832942","1401832945","1401832948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc7d7c8c664bb2619fe6d3fbc11a4ec8.jpg","text":"TemporaryFile(/tmp/multipartBody7942015778417803652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156023125,"filename":"image_31122025_04_58_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/006b0bf3f2c9051c6c7c27d483ec8980.jpg","text":"TemporaryFile(/tmp/multipartBody6806181311054294921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156023125,"filename":"image_31122025_04_59_14_10312.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/136b181b373b221a2fd386fda1592e95.jpg","text":"TemporaryFile(/tmp/multipartBody7131287834100417196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156023125,"filename":"image_31122025_04_59_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5c3dec3ba26d3fe465f8cd58e44b942.jpg","text":"TemporaryFile(/tmp/multipartBody3702683384603856039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156023125,"filename":"image_31122025_04_59_04_9371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/547a59a35cb30675845613d379f9aa7f.jpg","text":"TemporaryFile(/tmp/multipartBody4324466249547706324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156023125,"filename":"image_31122025_04_58_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a9a08c748d3cc59f811bd2202708168.jpg","text":"TemporaryFile(/tmp/multipartBody7662088628053969565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156023125,"filename":"image_31122025_04_58_54_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832939","file1":"1401832936","file0":"1401832934","file4":"1401832945","file5":"1401832948","file3":"1401832942"},"map_files_photo_id_array":[{"photo_id":"1401832948","filename":"file5"},{"photo_id":"1401832939","filename":"file2"},{"photo_id":"1401832945","filename":"file4"},{"photo_id":"1401832936","filename":"file1"},{"photo_id":"1401832934","filename":"file0"},{"photo_id":"1401832942","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832934":["hashtag1","hashtag2"]},{"1401832945":["hashtag1","hashtag2"]},{"1401832948":["hashtag1","hashtag2"]},{"1401832942":["hashtag1","hashtag2"]},{"1401832936":["hashtag1","hashtag2"]},{"1401832939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832934, 1401832945, 1401832948, 1401832942, 1401832936, 1401832939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31458234786987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:40:03.180692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/59/image_31122025_04_59_35_10802.jpg', '/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_05_10693.jpg', '/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_14_9734.jpg', '/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_24_9844.jpg', '/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_34_10028.jpg', '/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_44_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/59/image_31122025_04_59_35_10802.jpg
/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_05_10693.jpg
/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_14_9734.jpg
/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_24_9844.jpg
/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_34_10028.jpg
/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_44_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401832956","1401832959","1401832950","1401832968","1401832964","1401832952"],"photo_ids_order":["1401832950","1401832952","1401832956","1401832959","1401832964","1401832968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44ec25593cce060c467af5e57efe0ed9.jpg","text":"TemporaryFile(/tmp/multipartBody8019420471511771916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156063827,"filename":"image_31122025_05_00_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd73d2e193c544a9c322c209c2c92283.jpg","text":"TemporaryFile(/tmp/multipartBody1459823119330267255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156063827,"filename":"image_31122025_05_00_24_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac91101f12bc6fa49f0af6ff869520fd.jpg","text":"TemporaryFile(/tmp/multipartBody3882497117362269201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156063827,"filename":"image_31122025_04_59_35_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/331acdca41166f0fc5f9445613bdebc8.jpg","text":"TemporaryFile(/tmp/multipartBody6771593022046425499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156063827,"filename":"image_31122025_05_00_44_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80b959e0d18b273ced7d69f92f190fca.jpg","text":"TemporaryFile(/tmp/multipartBody4235157104196606516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156063827,"filename":"image_31122025_05_00_34_10028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/851d26093bce81c6615bcc347fed9a8b.jpg","text":"TemporaryFile(/tmp/multipartBody4377872460380799518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156063827,"filename":"image_31122025_05_00_05_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832956","file1":"1401832952","file0":"1401832950","file4":"1401832964","file5":"1401832968","file3":"1401832959"},"map_files_photo_id_array":[{"photo_id":"1401832968","filename":"file5"},{"photo_id":"1401832956","filename":"file2"},{"photo_id":"1401832964","filename":"file4"},{"photo_id":"1401832952","filename":"file1"},{"photo_id":"1401832950","filename":"file0"},{"photo_id":"1401832959","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401832956":["hashtag1","hashtag2"]},{"1401832959":["hashtag1","hashtag2"]},{"1401832950":["hashtag1","hashtag2"]},{"1401832968":["hashtag1","hashtag2"]},{"1401832964":["hashtag1","hashtag2"]},{"1401832952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401832956, 1401832959, 1401832950, 1401832968, 1401832964, 1401832952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75788164138794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:40:42.809666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/27/image_02112025_22_27_22_2645.jpg', '/home/pi/Desktop/images/02112025/22/27/image_02112025_22_27_26_3598.jpg', '/home/pi/Desktop/images/02112025/22/27/image_02112025_22_27_31_2708.jpg', '/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_16_2623.jpg', '/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_19_2700.jpg', '/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_22_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/27/image_02112025_22_27_22_2645.jpg
/home/pi/Desktop/images/02112025/22/27/image_02112025_22_27_26_3598.jpg
/home/pi/Desktop/images/02112025/22/27/image_02112025_22_27_31_2708.jpg
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_16_2623.jpg
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_19_2700.jpg
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_22_3607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401832998","1401832986","1401832991","1401832982","1401832984","1401832978"],"photo_ids_order":["1401832978","1401832982","1401832984","1401832986","1401832991","1401832998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad58763ec3e335a5f45c447a11a09986.jpg","text":"TemporaryFile(/tmp/multipartBody48424201163661754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156104722,"filename":"image_02112025_22_28_22_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24b095edf2c6e4506b3bcbd5524e0088.jpg","text":"TemporaryFile(/tmp/multipartBody1523960069947052161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156104722,"filename":"image_02112025_22_28_16_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb1299a33ba5ffa8aeb71624959e4be1.jpg","text":"TemporaryFile(/tmp/multipartBody4035201793375646212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156104722,"filename":"image_02112025_22_28_19_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d7729cc6346c6fb500eb6533d5b15f7.jpg","text":"TemporaryFile(/tmp/multipartBody3239523597040168865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156104722,"filename":"image_02112025_22_27_26_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/289aaad0faadabf317c578399e9aec95.jpg","text":"TemporaryFile(/tmp/multipartBody7071238228460660979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156104722,"filename":"image_02112025_22_27_31_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da27be86c0560d32e0241e457290f997.jpg","text":"TemporaryFile(/tmp/multipartBody5055005793909385923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156104722,"filename":"image_02112025_22_27_22_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401832984","file1":"1401832982","file0":"1401832978","file4":"1401832991","file5":"1401832998","file3":"1401832986"},"map_files_photo_id_array":[{"photo_id":"1401832998","filename":"file5"},{"photo_id":"1401832984","filename":"file2"},{"photo_id":"1401832991","filename":"file4"},{"photo_id":"1401832982","filename":"file1"},{"photo_id":"1401832978","filename":"file0"},{"photo_id":"1401832986","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401832998":["hashtag1","hashtag2"]},{"1401832986":["hashtag1","hashtag2"]},{"1401832991":["hashtag1","hashtag2"]},{"1401832982":["hashtag1","hashtag2"]},{"1401832984":["hashtag1","hashtag2"]},{"1401832978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401832998, 1401832986, 1401832991, 1401832982, 1401832984, 1401832978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.73555612564087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:41:33.255060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_28_2728.jpg', '/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_32_3748.jpg', '/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_39_4700.jpg', '/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_44_2669.jpg', '/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_46_2734.jpg', '/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_58_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_28_2728.jpg
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_32_3748.jpg
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_39_4700.jpg
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_44_2669.jpg
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_46_2734.jpg
/home/pi/Desktop/images/02112025/22/28/image_02112025_22_28_58_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833025","1401833019","1401833012","1401833015","1401833026","1401833023"],"photo_ids_order":["1401833012","1401833015","1401833019","1401833023","1401833025","1401833026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0728eaa9925238b68bc0e3330f8a9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7898975809250021325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156155271,"filename":"image_02112025_22_28_46_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bdaab58fb7981f1c8ee407ce0ff3f2d.jpg","text":"TemporaryFile(/tmp/multipartBody8378219045683976149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156155271,"filename":"image_02112025_22_28_39_4700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/552f8ace61d7096f91bf96a708f3277b.jpg","text":"TemporaryFile(/tmp/multipartBody820104167906136460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156155271,"filename":"image_02112025_22_28_28_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/059960dcaafcbdfdbb68f86cb8b9c2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2811757300784814486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156155271,"filename":"image_02112025_22_28_32_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9e5e5afd7d3dac4abe246d6f5202185.jpg","text":"TemporaryFile(/tmp/multipartBody1810466789845733924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156155271,"filename":"image_02112025_22_28_58_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee262e691b508693478b72fb961fd1c9.jpg","text":"TemporaryFile(/tmp/multipartBody7057270787128911719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156155271,"filename":"image_02112025_22_28_44_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833019","file1":"1401833015","file0":"1401833012","file4":"1401833025","file5":"1401833026","file3":"1401833023"},"map_files_photo_id_array":[{"photo_id":"1401833026","filename":"file5"},{"photo_id":"1401833019","filename":"file2"},{"photo_id":"1401833025","filename":"file4"},{"photo_id":"1401833015","filename":"file1"},{"photo_id":"1401833012","filename":"file0"},{"photo_id":"1401833023","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833025":["hashtag1","hashtag2"]},{"1401833019":["hashtag1","hashtag2"]},{"1401833012":["hashtag1","hashtag2"]},{"1401833015":["hashtag1","hashtag2"]},{"1401833026":["hashtag1","hashtag2"]},{"1401833023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833025, 1401833019, 1401833012, 1401833015, 1401833026, 1401833023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.631110191345215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:42:12.478919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_11_1685.jpg', '/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_20_3778.jpg', '/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_31_2625.jpg', '/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_37_2717.jpg', '/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_41_3832.jpg', '/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_43_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_11_1685.jpg
/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_20_3778.jpg
/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_31_2625.jpg
/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_37_2717.jpg
/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_41_3832.jpg
/home/pi/Desktop/images/02112025/22/29/image_02112025_22_29_43_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833031","1401833049","1401833040","1401833028","1401833042","1401833035"],"photo_ids_order":["1401833028","1401833031","1401833035","1401833040","1401833042","1401833049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0da1275cbc5fc45dc49bd0df97a87f33.jpg","text":"TemporaryFile(/tmp/multipartBody117569103837200559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156194272,"filename":"image_02112025_22_29_20_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d614b13d5add59a6a3cb40ad5ec3e22.jpg","text":"TemporaryFile(/tmp/multipartBody7973053365804720013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156194272,"filename":"image_02112025_22_29_43_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/179cd2892a048c2dfcaf40524adb7b12.jpg","text":"TemporaryFile(/tmp/multipartBody8389302478638325716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156194272,"filename":"image_02112025_22_29_37_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59235f8c14e7c204a2de86a20935314d.jpg","text":"TemporaryFile(/tmp/multipartBody6129426138193370659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156194272,"filename":"image_02112025_22_29_11_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c834e9702bc470078c63a9df59496cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4872934408602041133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156194272,"filename":"image_02112025_22_29_41_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1baf83d6cd4d59758d5bb8bad3479c03.jpg","text":"TemporaryFile(/tmp/multipartBody2581776973622995626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156194272,"filename":"image_02112025_22_29_31_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833035","file1":"1401833031","file0":"1401833028","file4":"1401833042","file5":"1401833049","file3":"1401833040"},"map_files_photo_id_array":[{"photo_id":"1401833049","filename":"file5"},{"photo_id":"1401833035","filename":"file2"},{"photo_id":"1401833042","filename":"file4"},{"photo_id":"1401833031","filename":"file1"},{"photo_id":"1401833028","filename":"file0"},{"photo_id":"1401833040","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833031":["hashtag1","hashtag2"]},{"1401833049":["hashtag1","hashtag2"]},{"1401833040":["hashtag1","hashtag2"]},{"1401833028":["hashtag1","hashtag2"]},{"1401833042":["hashtag1","hashtag2"]},{"1401833035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833031, 1401833049, 1401833040, 1401833028, 1401833042, 1401833035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.542765617370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:43:03.347107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_54_10658.jpg', '/home/pi/Desktop/images/31122025/05/00/image_31122025_05_01_04_9668.jpg', '/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_14_9828.jpg', '/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_25_10618.jpg', '/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_34_9634.jpg', '/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_44_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/04/59/image_31122025_05_00_54_10658.jpg
/home/pi/Desktop/images/31122025/05/00/image_31122025_05_01_04_9668.jpg
/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_14_9828.jpg
/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_25_10618.jpg
/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_34_9634.jpg
/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_44_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833070","1401833064","1401833072","1401833066","1401833075","1401833068"],"photo_ids_order":["1401833064","1401833066","1401833068","1401833070","1401833072","1401833075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2faadb8b9d97c789d9afb162646d5140.jpg","text":"TemporaryFile(/tmp/multipartBody6720256002394271039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156244033,"filename":"image_31122025_05_01_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b188011286cdb287d2d1084603981a3a.jpg","text":"TemporaryFile(/tmp/multipartBody5041068237383321271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156244033,"filename":"image_31122025_05_00_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e587a75b33ac22cb81f82a0ae631b0b.jpg","text":"TemporaryFile(/tmp/multipartBody5914509120459359915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156244033,"filename":"image_31122025_05_01_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c51444dd1cd7b1182be2c2ee4f6cf83.jpg","text":"TemporaryFile(/tmp/multipartBody8364901149337685677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156244033,"filename":"image_31122025_05_01_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/603722c76d61eeb8b4aae6685cff9c53.jpg","text":"TemporaryFile(/tmp/multipartBody5233684926071309913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156244033,"filename":"image_31122025_05_01_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9da134059df1f0d62017e53ecbde6e70.jpg","text":"TemporaryFile(/tmp/multipartBody8768639567734368155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156244033,"filename":"image_31122025_05_01_14_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833068","file1":"1401833066","file0":"1401833064","file4":"1401833072","file5":"1401833075","file3":"1401833070"},"map_files_photo_id_array":[{"photo_id":"1401833075","filename":"file5"},{"photo_id":"1401833068","filename":"file2"},{"photo_id":"1401833072","filename":"file4"},{"photo_id":"1401833066","filename":"file1"},{"photo_id":"1401833064","filename":"file0"},{"photo_id":"1401833070","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401833070":["hashtag1","hashtag2"]},{"1401833064":["hashtag1","hashtag2"]},{"1401833072":["hashtag1","hashtag2"]},{"1401833066":["hashtag1","hashtag2"]},{"1401833075":["hashtag1","hashtag2"]},{"1401833068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401833070, 1401833064, 1401833072, 1401833066, 1401833075, 1401833068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.415072202682495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:43:42.736935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_10_3587.jpg', '/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_15_2752.jpg', '/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_19_3797.jpg', '/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_24_2581.jpg', '/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_33_2568.jpg', '/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_43_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_10_3587.jpg
/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_15_2752.jpg
/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_19_3797.jpg
/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_24_2581.jpg
/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_33_2568.jpg
/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_43_3754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833096","1401833090","1401833093","1401833087","1401833098","1401833083"],"photo_ids_order":["1401833083","1401833087","1401833090","1401833093","1401833096","1401833098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5304c4a1e5ffc1d54f51361e5ee431e2.jpg","text":"TemporaryFile(/tmp/multipartBody6316890742092556819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156284637,"filename":"image_02112025_22_31_33_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ae40e1712abab9f7697d4935b7b1920.jpg","text":"TemporaryFile(/tmp/multipartBody1153486528990946686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156284637,"filename":"image_02112025_22_31_19_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1b53816df7f931ea54c2da45926b18c.jpg","text":"TemporaryFile(/tmp/multipartBody3359412037102548929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156284637,"filename":"image_02112025_22_31_24_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71b919ed7e98bac851cd80cdfeab5e61.jpg","text":"TemporaryFile(/tmp/multipartBody2934113523625656455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156284637,"filename":"image_02112025_22_31_15_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d58d7e667e19bcb853d124edeedd805.jpg","text":"TemporaryFile(/tmp/multipartBody8860065717766294944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156284637,"filename":"image_02112025_22_31_43_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/646ebad000d8d157147f92a9f6d33c9d.jpg","text":"TemporaryFile(/tmp/multipartBody2557551363580222287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156284637,"filename":"image_02112025_22_31_10_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833090","file1":"1401833087","file0":"1401833083","file4":"1401833096","file5":"1401833098","file3":"1401833093"},"map_files_photo_id_array":[{"photo_id":"1401833098","filename":"file5"},{"photo_id":"1401833090","filename":"file2"},{"photo_id":"1401833096","filename":"file4"},{"photo_id":"1401833087","filename":"file1"},{"photo_id":"1401833083","filename":"file0"},{"photo_id":"1401833093","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833096":["hashtag1","hashtag2"]},{"1401833090":["hashtag1","hashtag2"]},{"1401833093":["hashtag1","hashtag2"]},{"1401833087":["hashtag1","hashtag2"]},{"1401833098":["hashtag1","hashtag2"]},{"1401833083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833096, 1401833090, 1401833093, 1401833087, 1401833098, 1401833083)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.53576731681824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:44:31.866089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_46_2675.jpg', '/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_55_2627.jpg', '/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_15_2706.jpg', '/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_18_2966.jpg', '/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_40_3592.jpg', '/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_45_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_46_2675.jpg
/home/pi/Desktop/images/02112025/22/31/image_02112025_22_31_55_2627.jpg
/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_15_2706.jpg
/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_18_2966.jpg
/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_40_3592.jpg
/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_45_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833124","1401833118","1401833126","1401833114","1401833108","1401833122"],"photo_ids_order":["1401833108","1401833114","1401833118","1401833122","1401833124","1401833126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3946d56724a761fb83656e0a827c6db.jpg","text":"TemporaryFile(/tmp/multipartBody3110265473449912219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156333719,"filename":"image_02112025_22_33_40_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/135c0c65c3eb198094ca24594fe66c64.jpg","text":"TemporaryFile(/tmp/multipartBody2032698805223976684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156333719,"filename":"image_02112025_22_33_15_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/224d0212bce7a4106890da8663f71f61.jpg","text":"TemporaryFile(/tmp/multipartBody7221627505710433438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156333719,"filename":"image_02112025_22_33_45_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5bac6847e92f50f01b4651bebf0069f.jpg","text":"TemporaryFile(/tmp/multipartBody9024815136189193568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156333719,"filename":"image_02112025_22_31_55_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02715eb9a78256c15ab1844abd6a1399.jpg","text":"TemporaryFile(/tmp/multipartBody8912537908919312925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156333719,"filename":"image_02112025_22_31_46_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6519aeda2936815a717ded30a74bc896.jpg","text":"TemporaryFile(/tmp/multipartBody8889004414736803145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156333719,"filename":"image_02112025_22_33_18_2966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833118","file1":"1401833114","file0":"1401833108","file4":"1401833124","file5":"1401833126","file3":"1401833122"},"map_files_photo_id_array":[{"photo_id":"1401833126","filename":"file5"},{"photo_id":"1401833118","filename":"file2"},{"photo_id":"1401833124","filename":"file4"},{"photo_id":"1401833114","filename":"file1"},{"photo_id":"1401833108","filename":"file0"},{"photo_id":"1401833122","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833124":["hashtag1","hashtag2"]},{"1401833118":["hashtag1","hashtag2"]},{"1401833126":["hashtag1","hashtag2"]},{"1401833114":["hashtag1","hashtag2"]},{"1401833108":["hashtag1","hashtag2"]},{"1401833122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833124, 1401833118, 1401833126, 1401833114, 1401833108, 1401833122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38482189178467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:45:12.046904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_49_3632.jpg', '/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_52_2703.jpg', '/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_58_3614.jpg', '/home/pi/Desktop/images/02112025/22/34/image_02112025_22_34_03_2716.jpg', '/home/pi/Desktop/images/02112025/22/34/image_02112025_22_34_27_2797.jpg', '/home/pi/Desktop/images/02112025/22/34/image_02112025_22_34_30_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_49_3632.jpg
/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_52_2703.jpg
/home/pi/Desktop/images/02112025/22/33/image_02112025_22_33_58_3614.jpg
/home/pi/Desktop/images/02112025/22/34/image_02112025_22_34_03_2716.jpg
/home/pi/Desktop/images/02112025/22/34/image_02112025_22_34_27_2797.jpg
/home/pi/Desktop/images/02112025/22/34/image_02112025_22_34_30_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833157","1401833151","1401833147","1401833141","1401833143","1401833154"],"photo_ids_order":["1401833141","1401833143","1401833147","1401833151","1401833154","1401833157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fc8a7d29cc3cee5ed6eacb0ede2d657.jpg","text":"TemporaryFile(/tmp/multipartBody3199728559996646338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156373878,"filename":"image_02112025_22_34_30_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bed079857c3c9f05dbc8d778bbd2807.jpg","text":"TemporaryFile(/tmp/multipartBody8478978543609463312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156373878,"filename":"image_02112025_22_34_03_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43066615f4426b3558d7448120f4186b.jpg","text":"TemporaryFile(/tmp/multipartBody3495153878957373531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156373878,"filename":"image_02112025_22_33_58_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46d73307530994c0c2ebbdbc88ee4d14.jpg","text":"TemporaryFile(/tmp/multipartBody3614823589057139115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156373878,"filename":"image_02112025_22_33_49_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00e828e2266fc5644753510bde355193.jpg","text":"TemporaryFile(/tmp/multipartBody4621027167049153696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156373878,"filename":"image_02112025_22_33_52_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79ffd2f40831408c62580f5cfe402e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3959373860979427329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156373878,"filename":"image_02112025_22_34_27_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833147","file1":"1401833143","file0":"1401833141","file4":"1401833154","file5":"1401833157","file3":"1401833151"},"map_files_photo_id_array":[{"photo_id":"1401833157","filename":"file5"},{"photo_id":"1401833147","filename":"file2"},{"photo_id":"1401833154","filename":"file4"},{"photo_id":"1401833143","filename":"file1"},{"photo_id":"1401833141","filename":"file0"},{"photo_id":"1401833151","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833157":["hashtag1","hashtag2"]},{"1401833151":["hashtag1","hashtag2"]},{"1401833147":["hashtag1","hashtag2"]},{"1401833141":["hashtag1","hashtag2"]},{"1401833143":["hashtag1","hashtag2"]},{"1401833154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833157, 1401833151, 1401833147, 1401833141, 1401833143, 1401833154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61956477165222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:46:02.963520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_54_9898.jpg', '/home/pi/Desktop/images/31122025/05/01/image_31122025_05_02_04_10698.jpg', '/home/pi/Desktop/images/31122025/05/02/image_31122025_05_02_14_9609.jpg', '/home/pi/Desktop/images/31122025/05/02/image_31122025_05_02_34_10612.jpg', '/home/pi/Desktop/images/31122025/05/02/image_31122025_05_02_44_9783.jpg', '/home/pi/Desktop/images/31122025/05/02/image_31122025_05_02_54_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/01/image_31122025_05_01_54_9898.jpg
/home/pi/Desktop/images/31122025/05/01/image_31122025_05_02_04_10698.jpg
/home/pi/Desktop/images/31122025/05/02/image_31122025_05_02_14_9609.jpg
/home/pi/Desktop/images/31122025/05/02/image_31122025_05_02_34_10612.jpg
/home/pi/Desktop/images/31122025/05/02/image_31122025_05_02_44_9783.jpg
/home/pi/Desktop/images/31122025/05/02/image_31122025_05_02_54_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833163","1401833165","1401833170","1401833173","1401833167","1401833175"],"photo_ids_order":["1401833163","1401833165","1401833167","1401833170","1401833173","1401833175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a707c61aea36f3079b0e14164046677.jpg","text":"TemporaryFile(/tmp/multipartBody4243620105327157301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156423640,"filename":"image_31122025_05_01_54_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45b37097eadc0b1853aec86d6e929ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8727409128911528164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156423640,"filename":"image_31122025_05_02_04_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbb5d890993476ddaa56deff7b3fde01.jpg","text":"TemporaryFile(/tmp/multipartBody2156916143988650429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156423640,"filename":"image_31122025_05_02_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e1b99ea26e778488e8f7719fb540f1d.jpg","text":"TemporaryFile(/tmp/multipartBody388984562605642240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156423640,"filename":"image_31122025_05_02_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51ec56376144e104ab355079c5e54d97.jpg","text":"TemporaryFile(/tmp/multipartBody7761454431115760604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156423640,"filename":"image_31122025_05_02_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/643de0af46c3ce97e14b35126d2cef60.jpg","text":"TemporaryFile(/tmp/multipartBody5127009008020083020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156423640,"filename":"image_31122025_05_02_54_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833167","file1":"1401833165","file0":"1401833163","file4":"1401833173","file5":"1401833175","file3":"1401833170"},"map_files_photo_id_array":[{"photo_id":"1401833175","filename":"file5"},{"photo_id":"1401833167","filename":"file2"},{"photo_id":"1401833173","filename":"file4"},{"photo_id":"1401833165","filename":"file1"},{"photo_id":"1401833163","filename":"file0"},{"photo_id":"1401833170","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401833163":["hashtag1","hashtag2"]},{"1401833165":["hashtag1","hashtag2"]},{"1401833170":["hashtag1","hashtag2"]},{"1401833173":["hashtag1","hashtag2"]},{"1401833167":["hashtag1","hashtag2"]},{"1401833175":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401833163, 1401833165, 1401833170, 1401833173, 1401833167, 1401833175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48106360435486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:46:42.391753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/34/image_02112025_22_34_52_3659.jpg', '/home/pi/Desktop/images/02112025/22/34/image_02112025_22_35_01_3705.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_07_3011.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_17_2799.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_22_2812.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_26_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/34/image_02112025_22_34_52_3659.jpg
/home/pi/Desktop/images/02112025/22/34/image_02112025_22_35_01_3705.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_07_3011.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_17_2799.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_22_2812.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_26_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833208","1401833202","1401833185","1401833199","1401833193","1401833196"],"photo_ids_order":["1401833185","1401833193","1401833196","1401833199","1401833202","1401833208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f05808f864c6b41b75529d58ec8fce70.jpg","text":"TemporaryFile(/tmp/multipartBody4221231578834867830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156464213,"filename":"image_02112025_22_35_26_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92db190a165b85fc64d09f46314f0fd0.jpg","text":"TemporaryFile(/tmp/multipartBody6773994302749968721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156464213,"filename":"image_02112025_22_35_22_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/629857cc1428ca98beb3da09d7fd8675.jpg","text":"TemporaryFile(/tmp/multipartBody1793384113205767112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156464213,"filename":"image_02112025_22_34_52_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5cc42e24881a7ab6201500a8bdf22d8.jpg","text":"TemporaryFile(/tmp/multipartBody3672535189344538290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156464213,"filename":"image_02112025_22_35_17_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55d10d170815c5aa187a9764d38d0cd1.jpg","text":"TemporaryFile(/tmp/multipartBody4185701107805409539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156464213,"filename":"image_02112025_22_35_01_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf3dccef27296e5268cb409e11edccc4.jpg","text":"TemporaryFile(/tmp/multipartBody6649416816000735352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156464213,"filename":"image_02112025_22_35_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833196","file1":"1401833193","file0":"1401833185","file4":"1401833202","file5":"1401833208","file3":"1401833199"},"map_files_photo_id_array":[{"photo_id":"1401833208","filename":"file5"},{"photo_id":"1401833196","filename":"file2"},{"photo_id":"1401833202","filename":"file4"},{"photo_id":"1401833193","filename":"file1"},{"photo_id":"1401833185","filename":"file0"},{"photo_id":"1401833199","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833208":["hashtag1","hashtag2"]},{"1401833202":["hashtag1","hashtag2"]},{"1401833185":["hashtag1","hashtag2"]},{"1401833199":["hashtag1","hashtag2"]},{"1401833193":["hashtag1","hashtag2"]},{"1401833196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833208, 1401833202, 1401833185, 1401833199, 1401833193, 1401833196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4687385559082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:47:22.606768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/02/image_31122025_05_03_04_10681.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_14_9758.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_24_9671.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_34_10565.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_44_9706.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/02/image_31122025_05_03_04_10681.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_14_9758.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_24_9671.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_34_10565.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_44_9706.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_54_9637.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4532301425933838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:47:33.470147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_35_3763.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_38_2682.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_40_2650.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_44_3679.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_47_2697.jpg', '/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_52_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_35_3763.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_38_2682.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_40_2650.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_44_3679.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_47_2697.jpg
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_52_2768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833244","1401833229","1401833246","1401833242","1401833239","1401833233"],"photo_ids_order":["1401833229","1401833233","1401833239","1401833242","1401833244","1401833246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08d56befa17c2ddd6ea4f70babdc2416.jpg","text":"TemporaryFile(/tmp/multipartBody944366274643877992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156515389,"filename":"image_02112025_22_35_47_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/552e0ba9ecde858901c726adba9a9b84.jpg","text":"TemporaryFile(/tmp/multipartBody4748616678753704812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156515389,"filename":"image_02112025_22_35_35_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d7d59ac58f33be4ad58df324244505f.jpg","text":"TemporaryFile(/tmp/multipartBody2653629193806540599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156515389,"filename":"image_02112025_22_35_52_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30e44e99eb1304e5c0af547dda3d0fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1275149527836681301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156515389,"filename":"image_02112025_22_35_44_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30e6bcce770c3702a68882175959907b.jpg","text":"TemporaryFile(/tmp/multipartBody2924353199157558836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156515389,"filename":"image_02112025_22_35_40_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5ff539ab6ec5065831bd13b45e4e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody5355072541943605774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156515389,"filename":"image_02112025_22_35_38_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833239","file1":"1401833233","file0":"1401833229","file4":"1401833244","file5":"1401833246","file3":"1401833242"},"map_files_photo_id_array":[{"photo_id":"1401833246","filename":"file5"},{"photo_id":"1401833239","filename":"file2"},{"photo_id":"1401833244","filename":"file4"},{"photo_id":"1401833233","filename":"file1"},{"photo_id":"1401833229","filename":"file0"},{"photo_id":"1401833242","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833244":["hashtag1","hashtag2"]},{"1401833229":["hashtag1","hashtag2"]},{"1401833246":["hashtag1","hashtag2"]},{"1401833242":["hashtag1","hashtag2"]},{"1401833239":["hashtag1","hashtag2"]},{"1401833233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833244, 1401833229, 1401833246, 1401833242, 1401833239, 1401833233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30979895591736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:48:12.673155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_56_3713.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_01_2813.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_04_2701.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_17_3684.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_20_2576.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_22_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/35/image_02112025_22_35_56_3713.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_01_2813.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_04_2701.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_17_3684.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_20_2576.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_22_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833247","1401833258","1401833252","1401833261","1401833255","1401833249"],"photo_ids_order":["1401833247","1401833249","1401833252","1401833255","1401833258","1401833261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc64590809b735246ce936359cb72191.jpg","text":"TemporaryFile(/tmp/multipartBody8215679117786508634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156554512,"filename":"image_02112025_22_35_56_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ec12c9a3c9d0547e0516b2bc3174cab.jpg","text":"TemporaryFile(/tmp/multipartBody8792068622247089643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156554512,"filename":"image_02112025_22_36_20_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2f883d6256c6b7b96a17dd046c1b389.jpg","text":"TemporaryFile(/tmp/multipartBody1066975984572631581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156554512,"filename":"image_02112025_22_36_04_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37308690535e99402401ba0350743b02.jpg","text":"TemporaryFile(/tmp/multipartBody5105692188796638484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156554512,"filename":"image_02112025_22_36_22_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8079702d436a6339de7d5a936e700fb.jpg","text":"TemporaryFile(/tmp/multipartBody5842408663808042495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156554512,"filename":"image_02112025_22_36_17_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e628e7c766470cd3a747c2f515f07cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5536243896562239802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156554512,"filename":"image_02112025_22_36_01_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833252","file1":"1401833249","file0":"1401833247","file4":"1401833258","file5":"1401833261","file3":"1401833255"},"map_files_photo_id_array":[{"photo_id":"1401833261","filename":"file5"},{"photo_id":"1401833252","filename":"file2"},{"photo_id":"1401833258","filename":"file4"},{"photo_id":"1401833249","filename":"file1"},{"photo_id":"1401833247","filename":"file0"},{"photo_id":"1401833255","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833247":["hashtag1","hashtag2"]},{"1401833258":["hashtag1","hashtag2"]},{"1401833252":["hashtag1","hashtag2"]},{"1401833261":["hashtag1","hashtag2"]},{"1401833255":["hashtag1","hashtag2"]},{"1401833249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833247, 1401833258, 1401833252, 1401833261, 1401833255, 1401833249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93342423439026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:49:03.009596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/02/image_31122025_05_03_04_10681.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_14_9758.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_24_9671.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_34_10565.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_44_9706.jpg', '/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/02/image_31122025_05_03_04_10681.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_14_9758.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_24_9671.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_34_10565.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_44_9706.jpg
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_03_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833277","1401833273","1401833275","1401833271","1401833280","1401833268"],"photo_ids_order":["1401833268","1401833271","1401833273","1401833275","1401833277","1401833280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffa7a31db125757f16b9c13bbb5d2fd5.jpg","text":"TemporaryFile(/tmp/multipartBody8518405109162221739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156603798,"filename":"image_31122025_05_03_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5ddf032b3d4fc5c85facdcf023f244a.jpg","text":"TemporaryFile(/tmp/multipartBody6240606917364150497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156603798,"filename":"image_31122025_05_03_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/587864d8f11d58781046e5838d402ccc.jpg","text":"TemporaryFile(/tmp/multipartBody4848884377634719558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156603798,"filename":"image_31122025_05_03_34_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29dbfd8d8a345008531f599412102aca.jpg","text":"TemporaryFile(/tmp/multipartBody2062630798247612972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156603798,"filename":"image_31122025_05_03_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a89ed4595908ae4261ea5c27d4f69cca.jpg","text":"TemporaryFile(/tmp/multipartBody5211966509084388887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156603798,"filename":"image_31122025_05_03_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/333a124e93c409899201e112595861fd.jpg","text":"TemporaryFile(/tmp/multipartBody2751953900330521152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156603798,"filename":"image_31122025_05_03_04_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833273","file1":"1401833271","file0":"1401833268","file4":"1401833277","file5":"1401833280","file3":"1401833275"},"map_files_photo_id_array":[{"photo_id":"1401833280","filename":"file5"},{"photo_id":"1401833273","filename":"file2"},{"photo_id":"1401833277","filename":"file4"},{"photo_id":"1401833271","filename":"file1"},{"photo_id":"1401833268","filename":"file0"},{"photo_id":"1401833275","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401833277":["hashtag1","hashtag2"]},{"1401833273":["hashtag1","hashtag2"]},{"1401833275":["hashtag1","hashtag2"]},{"1401833271":["hashtag1","hashtag2"]},{"1401833280":["hashtag1","hashtag2"]},{"1401833268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401833277, 1401833273, 1401833275, 1401833271, 1401833280, 1401833268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90678381919861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:49:42.099550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_26_3775.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_29_2754.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_38_3660.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_40_2654.jpg', '/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_59_2690.jpg', '/home/pi/Desktop/images/02112025/22/37/image_02112025_22_37_07_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_26_3775.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_29_2754.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_38_3660.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_40_2654.jpg
/home/pi/Desktop/images/02112025/22/36/image_02112025_22_36_59_2690.jpg
/home/pi/Desktop/images/02112025/22/37/image_02112025_22_37_07_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833301","1401833303","1401833293","1401833296","1401833299","1401833289"],"photo_ids_order":["1401833289","1401833293","1401833296","1401833299","1401833301","1401833303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/521022b8c16d244a7726fbcae41e6802.jpg","text":"TemporaryFile(/tmp/multipartBody8400988670403445292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156644066,"filename":"image_02112025_22_36_59_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd9c88136d1f41ce4a07f23c78a51152.jpg","text":"TemporaryFile(/tmp/multipartBody1128855160840384529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156644066,"filename":"image_02112025_22_37_07_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e4eec36a9306c4b8d6af52c3de5725b.jpg","text":"TemporaryFile(/tmp/multipartBody609617959424960024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156644066,"filename":"image_02112025_22_36_29_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f912462166a827b52e266b115a03585a.jpg","text":"TemporaryFile(/tmp/multipartBody9157729838348185809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156644066,"filename":"image_02112025_22_36_38_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71451473529dab7e08adb4fce3677df1.jpg","text":"TemporaryFile(/tmp/multipartBody6078217903023345758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156644066,"filename":"image_02112025_22_36_40_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4f13865a4ff82c2048cba95b6116c8e.jpg","text":"TemporaryFile(/tmp/multipartBody5889106113654192855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156644066,"filename":"image_02112025_22_36_26_3775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833296","file1":"1401833293","file0":"1401833289","file4":"1401833301","file5":"1401833303","file3":"1401833299"},"map_files_photo_id_array":[{"photo_id":"1401833303","filename":"file5"},{"photo_id":"1401833296","filename":"file2"},{"photo_id":"1401833301","filename":"file4"},{"photo_id":"1401833293","filename":"file1"},{"photo_id":"1401833289","filename":"file0"},{"photo_id":"1401833299","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833301":["hashtag1","hashtag2"]},{"1401833303":["hashtag1","hashtag2"]},{"1401833293":["hashtag1","hashtag2"]},{"1401833296":["hashtag1","hashtag2"]},{"1401833299":["hashtag1","hashtag2"]},{"1401833289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833301, 1401833303, 1401833293, 1401833296, 1401833299, 1401833289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.066529273986816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:50:22.233283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/03/image_31122025_05_04_04_10657.jpg', '/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_14_9519.jpg', '/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_24_9849.jpg', '/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_34_10565.jpg', '/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_44_9664.jpg', '/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_57_12718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/03/image_31122025_05_04_04_10657.jpg
/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_14_9519.jpg
/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_24_9849.jpg
/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_34_10565.jpg
/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_44_9664.jpg
/home/pi/Desktop/images/31122025/05/04/image_31122025_05_04_57_12718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833328","1401833310","1401833312","1401833342","1401833318","1401833314"],"photo_ids_order":["1401833310","1401833312","1401833314","1401833318","1401833328","1401833342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a31f972d13d4a994636eeb565831d51e.jpg","text":"TemporaryFile(/tmp/multipartBody3178177473001354897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156682790,"filename":"image_31122025_05_04_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f0e1cdf3ae4a239d28f25bda91578b4.jpg","text":"TemporaryFile(/tmp/multipartBody2877688750179234269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156682790,"filename":"image_31122025_05_04_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35481817266197de299cb515772f8358.jpg","text":"TemporaryFile(/tmp/multipartBody6775716663250763089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156682790,"filename":"image_31122025_05_04_14_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89429fd6dbe01985f59dff4f5d36800e.jpg","text":"TemporaryFile(/tmp/multipartBody5736039064510109835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156682790,"filename":"image_31122025_05_04_57_12718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13572d0d9b58f24821de8bec010bd9cd.jpg","text":"TemporaryFile(/tmp/multipartBody151822721727191615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156682790,"filename":"image_31122025_05_04_34_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6439a17dda3ea0101c5f0106a996ba1c.jpg","text":"TemporaryFile(/tmp/multipartBody2705023238546302570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156682790,"filename":"image_31122025_05_04_24_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833314","file1":"1401833312","file0":"1401833310","file4":"1401833328","file5":"1401833342","file3":"1401833318"},"map_files_photo_id_array":[{"photo_id":"1401833342","filename":"file5"},{"photo_id":"1401833314","filename":"file2"},{"photo_id":"1401833328","filename":"file4"},{"photo_id":"1401833312","filename":"file1"},{"photo_id":"1401833310","filename":"file0"},{"photo_id":"1401833318","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401833328":["hashtag1","hashtag2"]},{"1401833310":["hashtag1","hashtag2"]},{"1401833312":["hashtag1","hashtag2"]},{"1401833342":["hashtag1","hashtag2"]},{"1401833318":["hashtag1","hashtag2"]},{"1401833314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401833328, 1401833310, 1401833312, 1401833342, 1401833318, 1401833314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95853805541992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:51:03.196727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/04/image_31122025_05_05_04_7666.jpg', '/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_14_9740.jpg', '/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_24_9695.jpg', '/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_35_10699.jpg', '/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_44_9683.jpg', '/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_54_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/04/image_31122025_05_05_04_7666.jpg
/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_14_9740.jpg
/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_24_9695.jpg
/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_35_10699.jpg
/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_44_9683.jpg
/home/pi/Desktop/images/31122025/05/05/image_31122025_05_05_54_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833376","1401833355","1401833366","1401833345","1401833380","1401833347"],"photo_ids_order":["1401833345","1401833347","1401833355","1401833366","1401833376","1401833380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d153d816aa1595072ecc8aab4fdb17ec.jpg","text":"TemporaryFile(/tmp/multipartBody6746897025608339266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156723845,"filename":"image_31122025_05_05_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db4fb0af5a8c9a57c64d269091065af4.jpg","text":"TemporaryFile(/tmp/multipartBody3198690499810451334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156723845,"filename":"image_31122025_05_05_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76d51807346417644216c093e59abd09.jpg","text":"TemporaryFile(/tmp/multipartBody6637596462885468901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156723845,"filename":"image_31122025_05_05_35_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b10125eb46d8de98eb74f8ab7c8717f1.jpg","text":"TemporaryFile(/tmp/multipartBody5693334974530187579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156723845,"filename":"image_31122025_05_05_04_7666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf1af764697eff14f5f08cdc837dd839.jpg","text":"TemporaryFile(/tmp/multipartBody593870030927219880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156723845,"filename":"image_31122025_05_05_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c01aa94c34f1f9e9a16f276a503a46d.jpg","text":"TemporaryFile(/tmp/multipartBody1183487846171817361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156723845,"filename":"image_31122025_05_05_14_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833355","file1":"1401833347","file0":"1401833345","file4":"1401833376","file5":"1401833380","file3":"1401833366"},"map_files_photo_id_array":[{"photo_id":"1401833380","filename":"file5"},{"photo_id":"1401833355","filename":"file2"},{"photo_id":"1401833376","filename":"file4"},{"photo_id":"1401833347","filename":"file1"},{"photo_id":"1401833345","filename":"file0"},{"photo_id":"1401833366","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401833376":["hashtag1","hashtag2"]},{"1401833355":["hashtag1","hashtag2"]},{"1401833366":["hashtag1","hashtag2"]},{"1401833345":["hashtag1","hashtag2"]},{"1401833380":["hashtag1","hashtag2"]},{"1401833347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401833376, 1401833355, 1401833366, 1401833345, 1401833380, 1401833347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45288944244385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:51:42.527221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/37/image_02112025_22_37_34_2687.jpg', '/home/pi/Desktop/images/02112025/22/37/image_02112025_22_37_37_2582.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_02_3708.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_05_2745.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_07_2608.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_10_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/37/image_02112025_22_37_34_2687.jpg
/home/pi/Desktop/images/02112025/22/37/image_02112025_22_37_37_2582.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_02_3708.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_05_2745.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_07_2608.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_10_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833393","1401833396","1401833392","1401833389","1401833391","1401833394"],"photo_ids_order":["1401833389","1401833391","1401833392","1401833393","1401833394","1401833396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d26954f1f6f83c42c1653866980972a6.jpg","text":"TemporaryFile(/tmp/multipartBody7294866969217929811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156764521,"filename":"image_02112025_22_38_05_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/297a7b9627f52789638584e5a228f8e4.jpg","text":"TemporaryFile(/tmp/multipartBody8985669515001510400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156764521,"filename":"image_02112025_22_38_10_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7cab7f9b75b5bc2fed58f5200cfbdd4.jpg","text":"TemporaryFile(/tmp/multipartBody4561260407649493786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156764521,"filename":"image_02112025_22_38_02_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53cc1b284af99d480a302907c3dccbd8.jpg","text":"TemporaryFile(/tmp/multipartBody2336634416675694946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156764521,"filename":"image_02112025_22_37_34_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6073e1ff63a25511c81150cf5bec2cf.jpg","text":"TemporaryFile(/tmp/multipartBody5137866200164785519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156764521,"filename":"image_02112025_22_37_37_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d440b3b1e89cb894f21f2bb5a275c330.jpg","text":"TemporaryFile(/tmp/multipartBody6044447808265518960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156764521,"filename":"image_02112025_22_38_07_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833392","file1":"1401833391","file0":"1401833389","file4":"1401833394","file5":"1401833396","file3":"1401833393"},"map_files_photo_id_array":[{"photo_id":"1401833396","filename":"file5"},{"photo_id":"1401833392","filename":"file2"},{"photo_id":"1401833394","filename":"file4"},{"photo_id":"1401833391","filename":"file1"},{"photo_id":"1401833389","filename":"file0"},{"photo_id":"1401833393","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833393":["hashtag1","hashtag2"]},{"1401833396":["hashtag1","hashtag2"]},{"1401833392":["hashtag1","hashtag2"]},{"1401833389":["hashtag1","hashtag2"]},{"1401833391":["hashtag1","hashtag2"]},{"1401833394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833393, 1401833396, 1401833392, 1401833389, 1401833391, 1401833394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.215874910354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:52:22.761353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/05/image_31122025_05_06_05_10526.jpg', '/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_14_9648.jpg', '/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_24_9744.jpg', '/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_35_10661.jpg', '/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_44_9872.jpg', '/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/05/image_31122025_05_06_05_10526.jpg
/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_14_9648.jpg
/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_24_9744.jpg
/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_35_10661.jpg
/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_44_9872.jpg
/home/pi/Desktop/images/31122025/05/06/image_31122025_05_06_54_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833424","1401833412","1401833406","1401833432","1401833420","1401833428"],"photo_ids_order":["1401833406","1401833412","1401833420","1401833424","1401833428","1401833432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86274b1a3d14790738904f8f5ebfb3ce.jpg","text":"TemporaryFile(/tmp/multipartBody6453909221719742483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156803352,"filename":"image_31122025_05_06_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/639ce1c625d70bb57111415746a0b8de.jpg","text":"TemporaryFile(/tmp/multipartBody7754112197623785286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156803352,"filename":"image_31122025_05_06_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/732b9e550a5db078288c13ee4831ffe6.jpg","text":"TemporaryFile(/tmp/multipartBody7994846891312914252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156803352,"filename":"image_31122025_05_06_05_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dd69408466a0ff91a5aebbd69c78df6.jpg","text":"TemporaryFile(/tmp/multipartBody2882468581853343394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156803352,"filename":"image_31122025_05_06_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34c3d7f93a29d71a9f6e2080dc4f03a0.jpg","text":"TemporaryFile(/tmp/multipartBody2559714503600365060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156803352,"filename":"image_31122025_05_06_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46f923bd41ab41382fa32a50680ed887.jpg","text":"TemporaryFile(/tmp/multipartBody4143928926083489504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156803352,"filename":"image_31122025_05_06_44_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833420","file1":"1401833412","file0":"1401833406","file4":"1401833428","file5":"1401833432","file3":"1401833424"},"map_files_photo_id_array":[{"photo_id":"1401833432","filename":"file5"},{"photo_id":"1401833420","filename":"file2"},{"photo_id":"1401833428","filename":"file4"},{"photo_id":"1401833412","filename":"file1"},{"photo_id":"1401833406","filename":"file0"},{"photo_id":"1401833424","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401833424":["hashtag1","hashtag2"]},{"1401833412":["hashtag1","hashtag2"]},{"1401833406":["hashtag1","hashtag2"]},{"1401833432":["hashtag1","hashtag2"]},{"1401833420":["hashtag1","hashtag2"]},{"1401833428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401833424, 1401833412, 1401833406, 1401833432, 1401833420, 1401833428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59161162376404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:53:03.497871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/06/image_31122025_05_07_04_9665.jpg', '/home/pi/Desktop/images/31122025/05/07/image_31122025_05_07_15_10838.jpg', '/home/pi/Desktop/images/31122025/05/07/image_31122025_05_07_34_9677.jpg', '/home/pi/Desktop/images/31122025/05/07/image_31122025_05_07_45_10615.jpg', '/home/pi/Desktop/images/31122025/05/07/image_31122025_05_07_54_9753.jpg', '/home/pi/Desktop/images/31122025/05/07/image_31122025_05_08_04_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/06/image_31122025_05_07_04_9665.jpg
/home/pi/Desktop/images/31122025/05/07/image_31122025_05_07_15_10838.jpg
/home/pi/Desktop/images/31122025/05/07/image_31122025_05_07_34_9677.jpg
/home/pi/Desktop/images/31122025/05/07/image_31122025_05_07_45_10615.jpg
/home/pi/Desktop/images/31122025/05/07/image_31122025_05_07_54_9753.jpg
/home/pi/Desktop/images/31122025/05/07/image_31122025_05_08_04_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833442","1401833439","1401833444","1401833443","1401833446","1401833451"],"photo_ids_order":["1401833439","1401833442","1401833443","1401833444","1401833446","1401833451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0df0f59dad8c47969d152508e65f34b1.jpg","text":"TemporaryFile(/tmp/multipartBody5216668720943949334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156844161,"filename":"image_31122025_05_07_15_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0214655bd4918607af99280c12ecf463.jpg","text":"TemporaryFile(/tmp/multipartBody7096943911390268383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156844161,"filename":"image_31122025_05_07_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9acc3eb3a27e457933dcb1badbcf94fb.jpg","text":"TemporaryFile(/tmp/multipartBody6174147661647242146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156844161,"filename":"image_31122025_05_07_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48b58587182def24bd929f907632fd8c.jpg","text":"TemporaryFile(/tmp/multipartBody6543988464433621487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156844161,"filename":"image_31122025_05_07_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3949102ef77fee93de87d5b31027eac3.jpg","text":"TemporaryFile(/tmp/multipartBody2828968695583847345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156844161,"filename":"image_31122025_05_07_54_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a630ff1b0f6366fea1c09518fd354ae9.jpg","text":"TemporaryFile(/tmp/multipartBody7382453312419253332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156844161,"filename":"image_31122025_05_08_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833443","file1":"1401833442","file0":"1401833439","file4":"1401833446","file5":"1401833451","file3":"1401833444"},"map_files_photo_id_array":[{"photo_id":"1401833451","filename":"file5"},{"photo_id":"1401833443","filename":"file2"},{"photo_id":"1401833446","filename":"file4"},{"photo_id":"1401833442","filename":"file1"},{"photo_id":"1401833439","filename":"file0"},{"photo_id":"1401833444","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401833442":["hashtag1","hashtag2"]},{"1401833439":["hashtag1","hashtag2"]},{"1401833444":["hashtag1","hashtag2"]},{"1401833443":["hashtag1","hashtag2"]},{"1401833446":["hashtag1","hashtag2"]},{"1401833451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401833442, 1401833439, 1401833444, 1401833443, 1401833446, 1401833451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.919336795806885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:53:42.768083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_16_2790.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_23_3700.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_28_2620.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_32_3644.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_34_2733.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_49_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_16_2790.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_23_3700.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_28_2620.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_32_3644.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_34_2733.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_49_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833477","1401833473","1401833476","1401833470","1401833478","1401833466"],"photo_ids_order":["1401833466","1401833470","1401833473","1401833476","1401833477","1401833478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a84ca84784374725375d3a4787ec7770.jpg","text":"TemporaryFile(/tmp/multipartBody7866801784915538267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156884601,"filename":"image_02112025_22_38_34_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/347f2c6fb2be2565e79a8de0ae643add.jpg","text":"TemporaryFile(/tmp/multipartBody3275066451176661303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156884601,"filename":"image_02112025_22_38_28_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8a817ea0ef92d6f2dd8de677de5efdc.jpg","text":"TemporaryFile(/tmp/multipartBody6361203700937284330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156884601,"filename":"image_02112025_22_38_32_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d100d8f73fae9ca05769a43466c0af92.jpg","text":"TemporaryFile(/tmp/multipartBody3149768562026326941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156884601,"filename":"image_02112025_22_38_23_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f47978f02cf465bd7ac6bd764adaf90.jpg","text":"TemporaryFile(/tmp/multipartBody3586154432541422045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156884601,"filename":"image_02112025_22_38_49_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bdb5cde85715676486b9a9260c393d0.jpg","text":"TemporaryFile(/tmp/multipartBody6003854447509359837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156884601,"filename":"image_02112025_22_38_16_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833473","file1":"1401833470","file0":"1401833466","file4":"1401833477","file5":"1401833478","file3":"1401833476"},"map_files_photo_id_array":[{"photo_id":"1401833478","filename":"file5"},{"photo_id":"1401833473","filename":"file2"},{"photo_id":"1401833477","filename":"file4"},{"photo_id":"1401833470","filename":"file1"},{"photo_id":"1401833466","filename":"file0"},{"photo_id":"1401833476","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833477":["hashtag1","hashtag2"]},{"1401833473":["hashtag1","hashtag2"]},{"1401833476":["hashtag1","hashtag2"]},{"1401833470":["hashtag1","hashtag2"]},{"1401833478":["hashtag1","hashtag2"]},{"1401833466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833477, 1401833473, 1401833476, 1401833470, 1401833478, 1401833466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.342278718948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:54:22.050532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_15_10674.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_24_9653.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_34_9606.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_45_10711.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_54_9591.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_09_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_15_10674.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_24_9653.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_34_9606.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_45_10711.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_54_9591.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_09_04_9785.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4901390075683594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:54:32.016019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_53_3767.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_55_2665.jpg', '/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_58_2617.jpg', '/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_05_2799.jpg', '/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_10_2665.jpg', '/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_14_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_53_3767.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_55_2665.jpg
/home/pi/Desktop/images/02112025/22/38/image_02112025_22_38_58_2617.jpg
/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_05_2799.jpg
/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_10_2665.jpg
/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_14_3715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833502","1401833511","1401833498","1401833513","1401833507","1401833515"],"photo_ids_order":["1401833498","1401833502","1401833507","1401833511","1401833513","1401833515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0369916d28a6c96b47a1e94cbe5900c5.jpg","text":"TemporaryFile(/tmp/multipartBody7598336479524911754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156934004,"filename":"image_02112025_22_38_55_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fe2487509c6b192ffa79603137d7668.jpg","text":"TemporaryFile(/tmp/multipartBody7956354866552633804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156934004,"filename":"image_02112025_22_39_05_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03eabc4e34a36c5c63d6d35f99a436e6.jpg","text":"TemporaryFile(/tmp/multipartBody8981818240533253618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156934004,"filename":"image_02112025_22_38_53_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0457de204b5162438f1d0fbe50a27f03.jpg","text":"TemporaryFile(/tmp/multipartBody4288542194169959719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156934004,"filename":"image_02112025_22_39_10_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97e4fdf79ad1e4d1aec295399e3a8a07.jpg","text":"TemporaryFile(/tmp/multipartBody1082072508734370611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156934004,"filename":"image_02112025_22_38_58_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2904a3b340be1ca7b5be7569064f073a.jpg","text":"TemporaryFile(/tmp/multipartBody7982246326589869866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156934004,"filename":"image_02112025_22_39_14_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833507","file1":"1401833502","file0":"1401833498","file4":"1401833513","file5":"1401833515","file3":"1401833511"},"map_files_photo_id_array":[{"photo_id":"1401833515","filename":"file5"},{"photo_id":"1401833507","filename":"file2"},{"photo_id":"1401833513","filename":"file4"},{"photo_id":"1401833502","filename":"file1"},{"photo_id":"1401833498","filename":"file0"},{"photo_id":"1401833511","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833502":["hashtag1","hashtag2"]},{"1401833511":["hashtag1","hashtag2"]},{"1401833498":["hashtag1","hashtag2"]},{"1401833513":["hashtag1","hashtag2"]},{"1401833507":["hashtag1","hashtag2"]},{"1401833515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833502, 1401833511, 1401833498, 1401833513, 1401833507, 1401833515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.207884073257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 05:55:22.183175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_15_10674.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_24_9653.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_34_9606.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_45_10711.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_54_9591.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_09_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_15_10674.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_24_9653.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_34_9606.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_45_10711.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_54_9591.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_09_04_9785.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 2.5167393684387207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:55:32.062493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_25_2648.jpg', '/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_28_2592.jpg', '/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_46_3635.jpg', '/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_49_2903.jpg', '/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_56_3688.jpg', '/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_19_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_25_2648.jpg
/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_28_2592.jpg
/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_46_3635.jpg
/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_49_2903.jpg
/home/pi/Desktop/images/02112025/22/39/image_02112025_22_39_56_3688.jpg
/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_19_2812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833537","1401833546","1401833542","1401833545","1401833533","1401833544"],"photo_ids_order":["1401833533","1401833537","1401833542","1401833544","1401833545","1401833546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb0740b0c848437a2485fbae7359e699.jpg","text":"TemporaryFile(/tmp/multipartBody7632762472626228008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156993889,"filename":"image_02112025_22_39_28_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6edecb8811c0d3c7122dde30e655627.jpg","text":"TemporaryFile(/tmp/multipartBody5263755097007082003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156993889,"filename":"image_02112025_22_40_19_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ec7807180ba4034dddc4edb1b9d049a.jpg","text":"TemporaryFile(/tmp/multipartBody6637247363502414489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156993889,"filename":"image_02112025_22_39_46_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/241ad5fb7ecdcdc3610b411cfbe5d79c.jpg","text":"TemporaryFile(/tmp/multipartBody2026763480878697668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156993889,"filename":"image_02112025_22_39_56_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1bb6e6191e3cbdb480ed4d523c7b558.jpg","text":"TemporaryFile(/tmp/multipartBody1264875204671530595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156993889,"filename":"image_02112025_22_39_25_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71ed2c2d25de4028e99cba5a03c3579e.jpg","text":"TemporaryFile(/tmp/multipartBody1698641203937515810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767156993889,"filename":"image_02112025_22_39_49_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833542","file1":"1401833537","file0":"1401833533","file4":"1401833545","file5":"1401833546","file3":"1401833544"},"map_files_photo_id_array":[{"photo_id":"1401833546","filename":"file5"},{"photo_id":"1401833542","filename":"file2"},{"photo_id":"1401833545","filename":"file4"},{"photo_id":"1401833537","filename":"file1"},{"photo_id":"1401833533","filename":"file0"},{"photo_id":"1401833544","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833537":["hashtag1","hashtag2"]},{"1401833546":["hashtag1","hashtag2"]},{"1401833542":["hashtag1","hashtag2"]},{"1401833545":["hashtag1","hashtag2"]},{"1401833533":["hashtag1","hashtag2"]},{"1401833544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833537, 1401833546, 1401833542, 1401833545, 1401833533, 1401833544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82830595970154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:56:12.340670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_22_2706.jpg', '/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_25_2775.jpg', '/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_28_3688.jpg', '/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_31_2636.jpg', '/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_55_2569.jpg', '/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_58_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_22_2706.jpg
/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_25_2775.jpg
/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_28_3688.jpg
/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_31_2636.jpg
/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_55_2569.jpg
/home/pi/Desktop/images/02112025/22/40/image_02112025_22_40_58_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833556","1401833567","1401833552","1401833569","1401833563","1401833559"],"photo_ids_order":["1401833552","1401833556","1401833559","1401833563","1401833567","1401833569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d6e8cfca678ce317720c6447323fbb8.jpg","text":"TemporaryFile(/tmp/multipartBody572238509323428023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157034127,"filename":"image_02112025_22_40_25_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e23ab3a53b05c66bc55fe1f4336ed01c.jpg","text":"TemporaryFile(/tmp/multipartBody839011135179656449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157034127,"filename":"image_02112025_22_40_55_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fa923428672b04c01dc86673337abec.jpg","text":"TemporaryFile(/tmp/multipartBody945612793116311940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157034127,"filename":"image_02112025_22_40_22_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a0060a8f399bf528bc955e8a98c34c4.jpg","text":"TemporaryFile(/tmp/multipartBody475144123614333505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157034127,"filename":"image_02112025_22_40_58_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31c9046c92e94a1a58efd3eddc34c7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1062896878311989363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157034127,"filename":"image_02112025_22_40_31_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e0a07a6d666d944fce4dd7645319e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1255186558731141888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157034127,"filename":"image_02112025_22_40_28_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833559","file1":"1401833556","file0":"1401833552","file4":"1401833567","file5":"1401833569","file3":"1401833563"},"map_files_photo_id_array":[{"photo_id":"1401833569","filename":"file5"},{"photo_id":"1401833559","filename":"file2"},{"photo_id":"1401833567","filename":"file4"},{"photo_id":"1401833556","filename":"file1"},{"photo_id":"1401833552","filename":"file0"},{"photo_id":"1401833563","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401833556":["hashtag1","hashtag2"]},{"1401833567":["hashtag1","hashtag2"]},{"1401833552":["hashtag1","hashtag2"]},{"1401833569":["hashtag1","hashtag2"]},{"1401833563":["hashtag1","hashtag2"]},{"1401833559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401833556, 1401833567, 1401833552, 1401833569, 1401833563, 1401833559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38642597198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:57:03.329017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_15_10674.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_24_9653.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_34_9606.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_45_10711.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_54_9591.jpg', '/home/pi/Desktop/images/31122025/05/08/image_31122025_05_09_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_15_10674.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_24_9653.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_34_9606.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_45_10711.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_08_54_9591.jpg
/home/pi/Desktop/images/31122025/05/08/image_31122025_05_09_04_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401833585","1401833581","1401833595","1401833589","1401833598","1401833592"],"photo_ids_order":["1401833581","1401833585","1401833589","1401833592","1401833595","1401833598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a945a5082ffdd46a317710227c9c154.jpg","text":"TemporaryFile(/tmp/multipartBody3465251928867692246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157083989,"filename":"image_31122025_05_08_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a200035acf9bee2adaf129ae5d7fe42.jpg","text":"TemporaryFile(/tmp/multipartBody2783778045295854150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157083989,"filename":"image_31122025_05_08_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f07ad66279d14815563ecb481cea62c.jpg","text":"TemporaryFile(/tmp/multipartBody8296149761363917526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157083989,"filename":"image_31122025_05_08_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d3cff81f58d103cc6fd63be26e04e4c.jpg","text":"TemporaryFile(/tmp/multipartBody715142727402419723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157083989,"filename":"image_31122025_05_08_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0c4e25d19c2075440c922ae42af0670.jpg","text":"TemporaryFile(/tmp/multipartBody5354600557750780837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157083989,"filename":"image_31122025_05_09_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bdb76a00d1fc2d5ff43308df4aa728e.jpg","text":"TemporaryFile(/tmp/multipartBody6161071603497937932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157083989,"filename":"image_31122025_05_08_45_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401833589","file1":"1401833585","file0":"1401833581","file4":"1401833595","file5":"1401833598","file3":"1401833592"},"map_files_photo_id_array":[{"photo_id":"1401833598","filename":"file5"},{"photo_id":"1401833589","filename":"file2"},{"photo_id":"1401833595","filename":"file4"},{"photo_id":"1401833585","filename":"file1"},{"photo_id":"1401833581","filename":"file0"},{"photo_id":"1401833592","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401833585":["hashtag1","hashtag2"]},{"1401833581":["hashtag1","hashtag2"]},{"1401833595":["hashtag1","hashtag2"]},{"1401833589":["hashtag1","hashtag2"]},{"1401833598":["hashtag1","hashtag2"]},{"1401833592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401833585, 1401833581, 1401833595, 1401833589, 1401833598, 1401833592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64144802093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:57:42.503224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_19_3721.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_22_2660.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_25_2715.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_34_3202.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_40_2772.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_43_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_19_3721.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_22_2660.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_25_2715.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_34_3202.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_40_2772.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_43_2703.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8248891830444336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 05:59:03.024231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_14_9732.jpg', '/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_25_10818.jpg', '/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_34_9727.jpg', '/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_44_9524.jpg', '/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_54_10646.jpg', '/home/pi/Desktop/images/31122025/05/09/image_31122025_05_10_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_14_9732.jpg
/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_25_10818.jpg
/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_34_9727.jpg
/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_44_9524.jpg
/home/pi/Desktop/images/31122025/05/09/image_31122025_05_09_54_10646.jpg
/home/pi/Desktop/images/31122025/05/09/image_31122025_05_10_04_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834126","1401834164","1401834086","1401834227","1401834038","1401834203"],"photo_ids_order":["1401834038","1401834086","1401834126","1401834164","1401834203","1401834227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fd467c7cb8e2870210638db7c512d76.jpg","text":"TemporaryFile(/tmp/multipartBody3402197241175930102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157203749,"filename":"image_31122025_05_09_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/874aff1831dd61de0ff3921b17390b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7496306400749729035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157203749,"filename":"image_31122025_05_09_44_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa4a09ef194dba7b0e7cd8fd284a980b.jpg","text":"TemporaryFile(/tmp/multipartBody4955458076619288997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157203749,"filename":"image_31122025_05_09_25_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ddc2410b7624700ca28e8a5c8f8d065.jpg","text":"TemporaryFile(/tmp/multipartBody8409775872988224918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157203749,"filename":"image_31122025_05_10_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/576b4343847a292b4798d5393168b0b1.jpg","text":"TemporaryFile(/tmp/multipartBody7988168614456202850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157203749,"filename":"image_31122025_05_09_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/307e9e9bdfd983b84e66745e9e2c1a12.jpg","text":"TemporaryFile(/tmp/multipartBody3198992048851108964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157203749,"filename":"image_31122025_05_09_54_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834126","file1":"1401834086","file0":"1401834038","file4":"1401834203","file5":"1401834227","file3":"1401834164"},"map_files_photo_id_array":[{"photo_id":"1401834227","filename":"file5"},{"photo_id":"1401834126","filename":"file2"},{"photo_id":"1401834203","filename":"file4"},{"photo_id":"1401834086","filename":"file1"},{"photo_id":"1401834038","filename":"file0"},{"photo_id":"1401834164","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834126":["hashtag1","hashtag2"]},{"1401834164":["hashtag1","hashtag2"]},{"1401834086":["hashtag1","hashtag2"]},{"1401834227":["hashtag1","hashtag2"]},{"1401834038":["hashtag1","hashtag2"]},{"1401834203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834126, 1401834164, 1401834086, 1401834227, 1401834038, 1401834203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5702223777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 05:59:41.829169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_19_3721.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_22_2660.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_25_2715.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_34_3202.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_40_2772.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_43_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_19_3721.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_22_2660.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_25_2715.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_34_3202.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_40_2772.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_43_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834239","1401834305","1401834233","1401834265","1401834345","1401834243"],"photo_ids_order":["1401834233","1401834239","1401834243","1401834265","1401834305","1401834345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e133fd33de7a76369a52c6b08595216.jpg","text":"TemporaryFile(/tmp/multipartBody6232081137837471987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157243640,"filename":"image_02112025_22_41_22_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ff58b9010cefd4b8a8a624263d38fb0.jpg","text":"TemporaryFile(/tmp/multipartBody6661417444130690872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157243640,"filename":"image_02112025_22_41_40_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8698398498684d9709ad26b9988e8422.jpg","text":"TemporaryFile(/tmp/multipartBody6680861345874970322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157243640,"filename":"image_02112025_22_41_19_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/830457fe6dd68a37a6fd6675654e35db.jpg","text":"TemporaryFile(/tmp/multipartBody5390869498951158967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157243640,"filename":"image_02112025_22_41_34_3202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e58e60935c6a938a156e05ee10e84680.jpg","text":"TemporaryFile(/tmp/multipartBody160008059263450208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157243640,"filename":"image_02112025_22_41_43_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/398d6a809779362774814c5bd7c32e08.jpg","text":"TemporaryFile(/tmp/multipartBody5864410372617320191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157243640,"filename":"image_02112025_22_41_25_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834243","file1":"1401834239","file0":"1401834233","file4":"1401834305","file5":"1401834345","file3":"1401834265"},"map_files_photo_id_array":[{"photo_id":"1401834345","filename":"file5"},{"photo_id":"1401834243","filename":"file2"},{"photo_id":"1401834305","filename":"file4"},{"photo_id":"1401834239","filename":"file1"},{"photo_id":"1401834233","filename":"file0"},{"photo_id":"1401834265","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401834239":["hashtag1","hashtag2"]},{"1401834305":["hashtag1","hashtag2"]},{"1401834233":["hashtag1","hashtag2"]},{"1401834265":["hashtag1","hashtag2"]},{"1401834345":["hashtag1","hashtag2"]},{"1401834243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401834239, 1401834305, 1401834233, 1401834265, 1401834345, 1401834243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20189189910889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:00:21.982596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/10/image_31122025_05_10_14_9757.jpg', '/home/pi/Desktop/images/31122025/05/10/image_31122025_05_10_25_10583.jpg', '/home/pi/Desktop/images/31122025/05/10/image_31122025_05_10_34_9762.jpg', '/home/pi/Desktop/images/31122025/05/10/image_31122025_05_10_44_9629.jpg', '/home/pi/Desktop/images/31122025/05/10/image_31122025_05_11_04_9562.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_14_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/10/image_31122025_05_10_14_9757.jpg
/home/pi/Desktop/images/31122025/05/10/image_31122025_05_10_25_10583.jpg
/home/pi/Desktop/images/31122025/05/10/image_31122025_05_10_34_9762.jpg
/home/pi/Desktop/images/31122025/05/10/image_31122025_05_10_44_9629.jpg
/home/pi/Desktop/images/31122025/05/10/image_31122025_05_11_04_9562.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_14_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834422","1401834472","1401834418","1401834510","1401834513","1401834429"],"photo_ids_order":["1401834418","1401834422","1401834429","1401834472","1401834510","1401834513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/203334f3d2af6ca3532a3413d08c31f8.jpg","text":"TemporaryFile(/tmp/multipartBody8432737193015570672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157282543,"filename":"image_31122025_05_10_25_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81c816644f8fd77113a681cb065872a9.jpg","text":"TemporaryFile(/tmp/multipartBody630677446708644909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157282543,"filename":"image_31122025_05_10_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45f0f602fd97be1f92c9c99aca2e94c2.jpg","text":"TemporaryFile(/tmp/multipartBody5078999956411962382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157282543,"filename":"image_31122025_05_10_14_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31d9c9321cb0080b33ee85713cdcee11.jpg","text":"TemporaryFile(/tmp/multipartBody7370343604868148003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157282543,"filename":"image_31122025_05_11_04_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff1fd3dd28573393437f1cb77e36c0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1772539190382598124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157282543,"filename":"image_31122025_05_11_14_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f4c09482923d3595984caee4f2c0506.jpg","text":"TemporaryFile(/tmp/multipartBody4170985035328756332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157282543,"filename":"image_31122025_05_10_34_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834429","file1":"1401834422","file0":"1401834418","file4":"1401834510","file5":"1401834513","file3":"1401834472"},"map_files_photo_id_array":[{"photo_id":"1401834513","filename":"file5"},{"photo_id":"1401834429","filename":"file2"},{"photo_id":"1401834510","filename":"file4"},{"photo_id":"1401834422","filename":"file1"},{"photo_id":"1401834418","filename":"file0"},{"photo_id":"1401834472","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834422":["hashtag1","hashtag2"]},{"1401834472":["hashtag1","hashtag2"]},{"1401834418":["hashtag1","hashtag2"]},{"1401834510":["hashtag1","hashtag2"]},{"1401834513":["hashtag1","hashtag2"]},{"1401834429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834422, 1401834472, 1401834418, 1401834510, 1401834513, 1401834429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64719605445862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:01:02.860579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_24_9894.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_34_9625.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_45_10681.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_54_9550.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_12_04_9675.jpg', '/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_15_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_24_9894.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_34_9625.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_45_10681.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_54_9550.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_12_04_9675.jpg
/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_15_10686.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5849301815032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:01:12.238964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_49_6500.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_51_1626.jpg', '/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_52_1564.jpg', '/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_07_2755.jpg', '/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_10_3633.jpg', '/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_13_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_49_6500.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_51_1626.jpg
/home/pi/Desktop/images/02112025/22/41/image_02112025_22_41_52_1564.jpg
/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_07_2755.jpg
/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_10_3633.jpg
/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_13_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834566","1401834577","1401834574","1401834556","1401834561","1401834570"],"photo_ids_order":["1401834556","1401834561","1401834566","1401834570","1401834574","1401834577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbed388f11f532f42b6205863abfb55e.jpg","text":"TemporaryFile(/tmp/multipartBody7514978467225971466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157334009,"filename":"image_02112025_22_41_52_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/412b553d3128a219be0c36e1b63a73f8.jpg","text":"TemporaryFile(/tmp/multipartBody8195251569212404539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157334009,"filename":"image_02112025_22_42_13_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d65149d7d02457e4d2673d56efdfc4a5.jpg","text":"TemporaryFile(/tmp/multipartBody6043481963895230685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157334009,"filename":"image_02112025_22_42_10_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/509ff131bc37f97b3825f05c968696e4.jpg","text":"TemporaryFile(/tmp/multipartBody8879406713056494664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157334009,"filename":"image_02112025_22_41_49_6500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/641693f6871077d726b58b1abee9f9b3.jpg","text":"TemporaryFile(/tmp/multipartBody9084751103911142416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157334009,"filename":"image_02112025_22_41_51_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f2333a27d0362ea686b36afc234e088.jpg","text":"TemporaryFile(/tmp/multipartBody1649805706927188388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157334009,"filename":"image_02112025_22_42_07_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834566","file1":"1401834561","file0":"1401834556","file4":"1401834574","file5":"1401834577","file3":"1401834570"},"map_files_photo_id_array":[{"photo_id":"1401834577","filename":"file5"},{"photo_id":"1401834566","filename":"file2"},{"photo_id":"1401834574","filename":"file4"},{"photo_id":"1401834561","filename":"file1"},{"photo_id":"1401834556","filename":"file0"},{"photo_id":"1401834570","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401834566":["hashtag1","hashtag2"]},{"1401834577":["hashtag1","hashtag2"]},{"1401834574":["hashtag1","hashtag2"]},{"1401834556":["hashtag1","hashtag2"]},{"1401834561":["hashtag1","hashtag2"]},{"1401834570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401834566, 1401834577, 1401834574, 1401834556, 1401834561, 1401834570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9302818775177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:02:02.954630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_24_9894.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_34_9625.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_45_10681.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_54_9550.jpg', '/home/pi/Desktop/images/31122025/05/11/image_31122025_05_12_04_9675.jpg', '/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_15_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_24_9894.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_34_9625.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_45_10681.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_11_54_9550.jpg
/home/pi/Desktop/images/31122025/05/11/image_31122025_05_12_04_9675.jpg
/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_15_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834584","1401834593","1401834608","1401834613","1401834601","1401834604"],"photo_ids_order":["1401834584","1401834593","1401834601","1401834604","1401834608","1401834613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/742813eefb94ae86d9735d434d596dda.jpg","text":"TemporaryFile(/tmp/multipartBody4834930617155500267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157383613,"filename":"image_31122025_05_11_24_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f885bc88778b2ce5040ee90486a96ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6391250124631206639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157383613,"filename":"image_31122025_05_11_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5ad89e4cd0fc7ff434aec69803a5fad.jpg","text":"TemporaryFile(/tmp/multipartBody2507899793916439046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157383613,"filename":"image_31122025_05_12_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0164f289db5717488815bb67502eb8d2.jpg","text":"TemporaryFile(/tmp/multipartBody3458484891166756539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157383613,"filename":"image_31122025_05_12_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e3bc3c3b4b3c6945498b108f48d44f8.jpg","text":"TemporaryFile(/tmp/multipartBody7984992097182488750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157383613,"filename":"image_31122025_05_11_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc4c109a94a2bc9f352ae5e22799a800.jpg","text":"TemporaryFile(/tmp/multipartBody6936782949321242271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157383613,"filename":"image_31122025_05_11_54_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834601","file1":"1401834593","file0":"1401834584","file4":"1401834608","file5":"1401834613","file3":"1401834604"},"map_files_photo_id_array":[{"photo_id":"1401834613","filename":"file5"},{"photo_id":"1401834601","filename":"file2"},{"photo_id":"1401834608","filename":"file4"},{"photo_id":"1401834593","filename":"file1"},{"photo_id":"1401834584","filename":"file0"},{"photo_id":"1401834604","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834584":["hashtag1","hashtag2"]},{"1401834593":["hashtag1","hashtag2"]},{"1401834608":["hashtag1","hashtag2"]},{"1401834613":["hashtag1","hashtag2"]},{"1401834601":["hashtag1","hashtag2"]},{"1401834604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834584, 1401834593, 1401834608, 1401834613, 1401834601, 1401834604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75601029396057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:02:42.441984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_16_2622.jpg', '/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_28_2869.jpg', '/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_31_3595.jpg', '/home/pi/Desktop/images/02112025/22/43/image_02112025_22_43_18_1606.jpg', '/home/pi/Desktop/images/02112025/22/43/image_02112025_22_43_20_1728.jpg', '/home/pi/Desktop/images/02112025/22/43/image_02112025_22_43_27_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_16_2622.jpg
/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_28_2869.jpg
/home/pi/Desktop/images/02112025/22/42/image_02112025_22_42_31_3595.jpg
/home/pi/Desktop/images/02112025/22/43/image_02112025_22_43_18_1606.jpg
/home/pi/Desktop/images/02112025/22/43/image_02112025_22_43_20_1728.jpg
/home/pi/Desktop/images/02112025/22/43/image_02112025_22_43_27_1745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834629","1401834626","1401834628","1401834637","1401834648","1401834630"],"photo_ids_order":["1401834626","1401834628","1401834629","1401834630","1401834637","1401834648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49c0451f70d025c2e6e212696b89feb3.jpg","text":"TemporaryFile(/tmp/multipartBody3721482175370179417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157424371,"filename":"image_02112025_22_42_31_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f388c5ac3d4f994cc597feaa606dd727.jpg","text":"TemporaryFile(/tmp/multipartBody217085834976930496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157424371,"filename":"image_02112025_22_42_16_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da9e4a8ce5b3b1ff4b783c999e8c1d8d.jpg","text":"TemporaryFile(/tmp/multipartBody2312346570340892527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157424371,"filename":"image_02112025_22_42_28_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83df7393487a88e6f3041aa7bce39757.jpg","text":"TemporaryFile(/tmp/multipartBody4779505203544309838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157424371,"filename":"image_02112025_22_43_20_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbba3856b6319123207c0b92cb103246.jpg","text":"TemporaryFile(/tmp/multipartBody2873002409513016845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157424371,"filename":"image_02112025_22_43_27_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c41181f0b4d511805347416a7faab8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7840225236179689634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157424371,"filename":"image_02112025_22_43_18_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834629","file1":"1401834628","file0":"1401834626","file4":"1401834637","file5":"1401834648","file3":"1401834630"},"map_files_photo_id_array":[{"photo_id":"1401834648","filename":"file5"},{"photo_id":"1401834629","filename":"file2"},{"photo_id":"1401834637","filename":"file4"},{"photo_id":"1401834628","filename":"file1"},{"photo_id":"1401834626","filename":"file0"},{"photo_id":"1401834630","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401834629":["hashtag1","hashtag2"]},{"1401834626":["hashtag1","hashtag2"]},{"1401834628":["hashtag1","hashtag2"]},{"1401834637":["hashtag1","hashtag2"]},{"1401834648":["hashtag1","hashtag2"]},{"1401834630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401834629, 1401834626, 1401834628, 1401834637, 1401834648, 1401834630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74118661880493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:03:22.605392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_24_9725.jpg', '/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_34_9647.jpg', '/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_44_9767.jpg', '/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_54_10666.jpg', '/home/pi/Desktop/images/31122025/05/12/image_31122025_05_13_04_9769.jpg', '/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_14_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_24_9725.jpg
/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_34_9647.jpg
/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_44_9767.jpg
/home/pi/Desktop/images/31122025/05/12/image_31122025_05_12_54_10666.jpg
/home/pi/Desktop/images/31122025/05/12/image_31122025_05_13_04_9769.jpg
/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_14_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834659","1401834674","1401834664","1401834655","1401834669","1401834678"],"photo_ids_order":["1401834655","1401834659","1401834664","1401834669","1401834674","1401834678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acc3fa941281eaee675f4f836835dc42.jpg","text":"TemporaryFile(/tmp/multipartBody7513062083095545250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157463197,"filename":"image_31122025_05_12_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbb973b40696c4854d356118dc15d5c0.jpg","text":"TemporaryFile(/tmp/multipartBody7138486696599817461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157463197,"filename":"image_31122025_05_13_04_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4617ba21b1109a973fb33cf1c680949.jpg","text":"TemporaryFile(/tmp/multipartBody1353058251629361093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157463197,"filename":"image_31122025_05_12_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67036f8a30cc0b0b4d42be85a6218f32.jpg","text":"TemporaryFile(/tmp/multipartBody5663586046670025371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157463197,"filename":"image_31122025_05_12_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/056560f6d51aa05e3860d5bf410bc9a6.jpg","text":"TemporaryFile(/tmp/multipartBody7847777301800495684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157463197,"filename":"image_31122025_05_12_54_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5365e2459de52c78c5f8038c50a93faf.jpg","text":"TemporaryFile(/tmp/multipartBody4787751684315825755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157463197,"filename":"image_31122025_05_13_14_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834664","file1":"1401834659","file0":"1401834655","file4":"1401834674","file5":"1401834678","file3":"1401834669"},"map_files_photo_id_array":[{"photo_id":"1401834678","filename":"file5"},{"photo_id":"1401834664","filename":"file2"},{"photo_id":"1401834674","filename":"file4"},{"photo_id":"1401834659","filename":"file1"},{"photo_id":"1401834655","filename":"file0"},{"photo_id":"1401834669","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834659":["hashtag1","hashtag2"]},{"1401834674":["hashtag1","hashtag2"]},{"1401834664":["hashtag1","hashtag2"]},{"1401834655":["hashtag1","hashtag2"]},{"1401834669":["hashtag1","hashtag2"]},{"1401834678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834659, 1401834674, 1401834664, 1401834655, 1401834669, 1401834678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.625861167907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:04:03.450075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_24_10688.jpg', '/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_34_9569.jpg', '/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_45_10512.jpg', '/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_54_9567.jpg', '/home/pi/Desktop/images/31122025/05/13/image_31122025_05_14_04_9698.jpg', '/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_14_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_24_10688.jpg
/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_34_9569.jpg
/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_45_10512.jpg
/home/pi/Desktop/images/31122025/05/13/image_31122025_05_13_54_9567.jpg
/home/pi/Desktop/images/31122025/05/13/image_31122025_05_14_04_9698.jpg
/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_14_9914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834698","1401834683","1401834686","1401834689","1401834703","1401834693"],"photo_ids_order":["1401834683","1401834686","1401834689","1401834693","1401834698","1401834703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d9bb325ca71ac51b5378f5b5cdc584d.jpg","text":"TemporaryFile(/tmp/multipartBody7035145055928728476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157504100,"filename":"image_31122025_05_14_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3fee08c0505a39f56a5e724b46ee71f.jpg","text":"TemporaryFile(/tmp/multipartBody1309819512129707828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157504100,"filename":"image_31122025_05_13_24_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8113779a48e9ebb6b81b4c8249d99809.jpg","text":"TemporaryFile(/tmp/multipartBody2007237295186724249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157504100,"filename":"image_31122025_05_13_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fcf52cc80e7df50cdb87e7162b3350a.jpg","text":"TemporaryFile(/tmp/multipartBody5306774257354594954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157504100,"filename":"image_31122025_05_13_45_10512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6255282c0dc08219f7112684124b1c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5395822969402708719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157504100,"filename":"image_31122025_05_14_14_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a74eeb828b06e21909337b8cd2cb561e.jpg","text":"TemporaryFile(/tmp/multipartBody5916480400379012759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157504100,"filename":"image_31122025_05_13_54_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834689","file1":"1401834686","file0":"1401834683","file4":"1401834698","file5":"1401834703","file3":"1401834693"},"map_files_photo_id_array":[{"photo_id":"1401834703","filename":"file5"},{"photo_id":"1401834689","filename":"file2"},{"photo_id":"1401834698","filename":"file4"},{"photo_id":"1401834686","filename":"file1"},{"photo_id":"1401834683","filename":"file0"},{"photo_id":"1401834693","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834698":["hashtag1","hashtag2"]},{"1401834683":["hashtag1","hashtag2"]},{"1401834686":["hashtag1","hashtag2"]},{"1401834689":["hashtag1","hashtag2"]},{"1401834703":["hashtag1","hashtag2"]},{"1401834693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834698, 1401834683, 1401834686, 1401834689, 1401834703, 1401834693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.541094064712524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:04:42.850291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/43/image_02112025_22_43_43_4795.jpg', '/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_03_1664.jpg', '/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_22_6131.jpg', '/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_27_1897.jpg', '/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_29_1644.jpg', '/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_34_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/43/image_02112025_22_43_43_4795.jpg
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_03_1664.jpg
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_22_6131.jpg
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_27_1897.jpg
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_29_1644.jpg
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_34_1710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834708","1401834713","1401834719","1401834715","1401834723","1401834717"],"photo_ids_order":["1401834708","1401834713","1401834715","1401834717","1401834719","1401834723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53c565eb30e637347d88e902c7378ba8.jpg","text":"TemporaryFile(/tmp/multipartBody1335581519231779499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157544774,"filename":"image_02112025_22_43_43_4795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/504fd34251df6b9f81431a14a83eaafb.jpg","text":"TemporaryFile(/tmp/multipartBody5541217556359279166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157544774,"filename":"image_02112025_22_44_03_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7238d7b2f2a624b266159974c9e98d36.jpg","text":"TemporaryFile(/tmp/multipartBody7803852911750823121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157544774,"filename":"image_02112025_22_44_29_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1652f9ab5e2dc747e0c49ca8800e184f.jpg","text":"TemporaryFile(/tmp/multipartBody7214955958432934241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157544774,"filename":"image_02112025_22_44_22_6131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bc0686f5aa1a056870aa8cc8abd5c0d.jpg","text":"TemporaryFile(/tmp/multipartBody450823105119042507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157544774,"filename":"image_02112025_22_44_34_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29e1fc24b6b25589546147661f346515.jpg","text":"TemporaryFile(/tmp/multipartBody2578784672042930032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157544774,"filename":"image_02112025_22_44_27_1897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834715","file1":"1401834713","file0":"1401834708","file4":"1401834719","file5":"1401834723","file3":"1401834717"},"map_files_photo_id_array":[{"photo_id":"1401834723","filename":"file5"},{"photo_id":"1401834715","filename":"file2"},{"photo_id":"1401834719","filename":"file4"},{"photo_id":"1401834713","filename":"file1"},{"photo_id":"1401834708","filename":"file0"},{"photo_id":"1401834717","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401834708":["hashtag1","hashtag2"]},{"1401834713":["hashtag1","hashtag2"]},{"1401834719":["hashtag1","hashtag2"]},{"1401834715":["hashtag1","hashtag2"]},{"1401834723":["hashtag1","hashtag2"]},{"1401834717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401834708, 1401834713, 1401834719, 1401834715, 1401834723, 1401834717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24185562133789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:05:32.018229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_35_1661.jpg', '/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_37_1650.jpg', '/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_54_2776.jpg', '/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_58_3595.jpg', '/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_14_7125.jpg', '/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_28_5133.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_35_1661.jpg
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_37_1650.jpg
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_54_2776.jpg
/home/pi/Desktop/images/02112025/22/44/image_02112025_22_44_58_3595.jpg
/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_14_7125.jpg
/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_28_5133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834742","1401834748","1401834733","1401834736","1401834744","1401834738"],"photo_ids_order":["1401834733","1401834736","1401834738","1401834742","1401834744","1401834748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b829482f265979fa91b6077fa0aeee9f.jpg","text":"TemporaryFile(/tmp/multipartBody7808747017799434269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157593979,"filename":"image_02112025_22_44_58_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83c6cc23c00aa30de4250ab603ddcd23.jpg","text":"TemporaryFile(/tmp/multipartBody350001471830034224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157593979,"filename":"image_02112025_22_45_28_5133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/366e29320cb5dd8ffdc9c95f9dc4a394.jpg","text":"TemporaryFile(/tmp/multipartBody2984587401421284491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157593979,"filename":"image_02112025_22_44_35_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/385d4f68b515ec6dbc2955a6d1392b55.jpg","text":"TemporaryFile(/tmp/multipartBody1086533704404172803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157593979,"filename":"image_02112025_22_44_37_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43a15023818a43a656c14752d4fa7291.jpg","text":"TemporaryFile(/tmp/multipartBody5689560176781213396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157593979,"filename":"image_02112025_22_45_14_7125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2c2e396b3f8c6a03bb03e91c6782b00.jpg","text":"TemporaryFile(/tmp/multipartBody6190539486208432392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157593979,"filename":"image_02112025_22_44_54_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834738","file1":"1401834736","file0":"1401834733","file4":"1401834744","file5":"1401834748","file3":"1401834742"},"map_files_photo_id_array":[{"photo_id":"1401834748","filename":"file5"},{"photo_id":"1401834738","filename":"file2"},{"photo_id":"1401834744","filename":"file4"},{"photo_id":"1401834736","filename":"file1"},{"photo_id":"1401834733","filename":"file0"},{"photo_id":"1401834742","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401834742":["hashtag1","hashtag2"]},{"1401834748":["hashtag1","hashtag2"]},{"1401834733":["hashtag1","hashtag2"]},{"1401834736":["hashtag1","hashtag2"]},{"1401834744":["hashtag1","hashtag2"]},{"1401834738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401834742, 1401834748, 1401834733, 1401834736, 1401834744, 1401834738)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.411662578582764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:06:22.242684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_25_10778.jpg', '/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_34_9706.jpg', '/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_44_9696.jpg', '/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_55_10736.jpg', '/home/pi/Desktop/images/31122025/05/14/image_31122025_05_15_04_9581.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_14_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_25_10778.jpg
/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_34_9706.jpg
/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_44_9696.jpg
/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_55_10736.jpg
/home/pi/Desktop/images/31122025/05/14/image_31122025_05_15_04_9581.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_14_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401834779","1401834773","1401834761","1401834755","1401834769","1401834765"],"photo_ids_order":["1401834755","1401834761","1401834765","1401834769","1401834773","1401834779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76b884086b3839f595e39fb83ad504cb.jpg","text":"TemporaryFile(/tmp/multipartBody3704158037648660857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157642834,"filename":"image_31122025_05_15_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3625af6398b74d758dac2a896e1dfe1c.jpg","text":"TemporaryFile(/tmp/multipartBody987037094425542835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157642834,"filename":"image_31122025_05_15_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e025777fd17ddfda01e7ed5ec069c5e9.jpg","text":"TemporaryFile(/tmp/multipartBody8660302330093862972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157642834,"filename":"image_31122025_05_14_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a891a031ccb7afcc1ff30d17bd003716.jpg","text":"TemporaryFile(/tmp/multipartBody785667007138382644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157642834,"filename":"image_31122025_05_14_25_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26f830a13e86d37373794b90098f88c7.jpg","text":"TemporaryFile(/tmp/multipartBody6045437816705047101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157642834,"filename":"image_31122025_05_14_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/068922e14961c0c5224fe9bb7e94ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody2146308389764590546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157642834,"filename":"image_31122025_05_14_44_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834765","file1":"1401834761","file0":"1401834755","file4":"1401834773","file5":"1401834779","file3":"1401834769"},"map_files_photo_id_array":[{"photo_id":"1401834779","filename":"file5"},{"photo_id":"1401834765","filename":"file2"},{"photo_id":"1401834773","filename":"file4"},{"photo_id":"1401834761","filename":"file1"},{"photo_id":"1401834755","filename":"file0"},{"photo_id":"1401834769","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834779":["hashtag1","hashtag2"]},{"1401834773":["hashtag1","hashtag2"]},{"1401834761":["hashtag1","hashtag2"]},{"1401834755":["hashtag1","hashtag2"]},{"1401834769":["hashtag1","hashtag2"]},{"1401834765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834779, 1401834773, 1401834761, 1401834755, 1401834769, 1401834765)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401834765 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31122025/05/14/image_31122025_05_14_44_9696.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.38462686538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:07:32.369478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_32_3707.jpg', '/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_43_1729.jpg', '/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_45_1880.jpg', '/home/pi/Desktop/images/02112025/22/46/image_02112025_22_46_58_3595.jpg', '/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_02_3826.jpg', '/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_08_6028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_32_3707.jpg
/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_43_1729.jpg
/home/pi/Desktop/images/02112025/22/45/image_02112025_22_45_45_1880.jpg
/home/pi/Desktop/images/02112025/22/46/image_02112025_22_46_58_3595.jpg
/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_02_3826.jpg
/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_08_6028.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834845","1401834839","1401834842","1401834829","1401834834","1401834825"],"photo_ids_order":["1401834825","1401834829","1401834834","1401834839","1401834842","1401834845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c76cd888d0a1b750d733876d564a718f.jpg","text":"TemporaryFile(/tmp/multipartBody464598232750857193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157721981,"filename":"image_02112025_22_47_08_6028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6044c3325be1c0bbac87b41f7ae2803c.jpg","text":"TemporaryFile(/tmp/multipartBody2405562959993756760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157721981,"filename":"image_02112025_22_46_58_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/764c3157ee1510e71e1d9db6be916091.jpg","text":"TemporaryFile(/tmp/multipartBody173517994250715486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157721981,"filename":"image_02112025_22_47_02_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eca34aa2b5057bca6520aee8551689c3.jpg","text":"TemporaryFile(/tmp/multipartBody7247561885522982691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157721981,"filename":"image_02112025_22_45_43_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e177c560c8439951cb265a6d4ec41e1.jpg","text":"TemporaryFile(/tmp/multipartBody6756097359146984666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157721981,"filename":"image_02112025_22_45_45_1880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46983ff974619b3fbbb2d8f13ef0abf3.jpg","text":"TemporaryFile(/tmp/multipartBody4713878637056261316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157721981,"filename":"image_02112025_22_45_32_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834834","file1":"1401834829","file0":"1401834825","file4":"1401834842","file5":"1401834845","file3":"1401834839"},"map_files_photo_id_array":[{"photo_id":"1401834845","filename":"file5"},{"photo_id":"1401834834","filename":"file2"},{"photo_id":"1401834842","filename":"file4"},{"photo_id":"1401834829","filename":"file1"},{"photo_id":"1401834825","filename":"file0"},{"photo_id":"1401834839","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401834845":["hashtag1","hashtag2"]},{"1401834839":["hashtag1","hashtag2"]},{"1401834842":["hashtag1","hashtag2"]},{"1401834829":["hashtag1","hashtag2"]},{"1401834834":["hashtag1","hashtag2"]},{"1401834825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401834845, 1401834839, 1401834842, 1401834829, 1401834834, 1401834825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.80212187767029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:08:22.436482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_25_10759.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_34_9523.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_44_9709.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_55_10767.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_16_04_9741.jpg', '/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_14_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_25_10759.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_34_9523.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_44_9709.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_55_10767.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_16_04_9741.jpg
/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_14_9767.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5519828796386719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:08:32.504099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_16_1718.jpg', '/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_33_1782.jpg', '/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_36_1674.jpg', '/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_46_2638.jpg', '/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_49_2834.jpg', '/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_54_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_16_1718.jpg
/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_33_1782.jpg
/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_36_1674.jpg
/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_46_2638.jpg
/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_49_2834.jpg
/home/pi/Desktop/images/02112025/22/47/image_02112025_22_47_54_2822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834875","1401834877","1401834870","1401834873","1401834867","1401834876"],"photo_ids_order":["1401834867","1401834870","1401834873","1401834875","1401834876","1401834877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2548b0b416fe2854aa61b1d57c696b93.jpg","text":"TemporaryFile(/tmp/multipartBody7759125456121837306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157782258,"filename":"image_02112025_22_47_46_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98e870cf7132bef7a2771cb0f605c229.jpg","text":"TemporaryFile(/tmp/multipartBody7714062177178714693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157782258,"filename":"image_02112025_22_47_54_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a47ec15b954ff010fd612a9d4a450231.jpg","text":"TemporaryFile(/tmp/multipartBody3909882125446085253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157782258,"filename":"image_02112025_22_47_33_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebd8867d24f37fb9d6feab0bc9066246.jpg","text":"TemporaryFile(/tmp/multipartBody4171533211504992049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157782258,"filename":"image_02112025_22_47_36_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4fa36e1cc4151cdc1947efe1a1ed0f1.jpg","text":"TemporaryFile(/tmp/multipartBody3557098441130996232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157782258,"filename":"image_02112025_22_47_16_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d21a47faa978a8173937e24cf40c00ac.jpg","text":"TemporaryFile(/tmp/multipartBody765981195473126292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157782258,"filename":"image_02112025_22_47_49_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834873","file1":"1401834870","file0":"1401834867","file4":"1401834876","file5":"1401834877","file3":"1401834875"},"map_files_photo_id_array":[{"photo_id":"1401834877","filename":"file5"},{"photo_id":"1401834873","filename":"file2"},{"photo_id":"1401834876","filename":"file4"},{"photo_id":"1401834870","filename":"file1"},{"photo_id":"1401834867","filename":"file0"},{"photo_id":"1401834875","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401834875":["hashtag1","hashtag2"]},{"1401834877":["hashtag1","hashtag2"]},{"1401834870":["hashtag1","hashtag2"]},{"1401834873":["hashtag1","hashtag2"]},{"1401834867":["hashtag1","hashtag2"]},{"1401834876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401834875, 1401834877, 1401834870, 1401834873, 1401834867, 1401834876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.53794193267822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:09:22.607359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:09:32.794747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_04_2787.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_06_2850.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_09_2816.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_13_3648.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_25_2700.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_27_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_04_2787.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_06_2850.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_09_2816.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_13_3648.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_25_2700.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_27_2804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834908","1401834898","1401834902","1401834895","1401834901","1401834900"],"photo_ids_order":["1401834895","1401834898","1401834900","1401834901","1401834902","1401834908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ac365ad040ba898b6b016d1e2dbea77.jpg","text":"TemporaryFile(/tmp/multipartBody2824110787148737814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157837597,"filename":"image_02112025_22_48_27_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d89b341001c126c1290ed03c2ee5d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5516569730505090944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157837597,"filename":"image_02112025_22_48_06_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a9bfb8cca5e20ab1f36f44a840d625f.jpg","text":"TemporaryFile(/tmp/multipartBody619160193768000793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157837597,"filename":"image_02112025_22_48_25_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf5d6a73941e4a73fa6394947c6333b7.jpg","text":"TemporaryFile(/tmp/multipartBody439779004762983864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157837597,"filename":"image_02112025_22_48_04_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c55bc76504eaa3e2ba3f0dc729ba5722.jpg","text":"TemporaryFile(/tmp/multipartBody1922678946159071183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157837597,"filename":"image_02112025_22_48_13_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfc0faf893ef09476a6c3abf71db1559.jpg","text":"TemporaryFile(/tmp/multipartBody8715009557365817527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157837597,"filename":"image_02112025_22_48_09_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834900","file1":"1401834898","file0":"1401834895","file4":"1401834902","file5":"1401834908","file3":"1401834901"},"map_files_photo_id_array":[{"photo_id":"1401834908","filename":"file5"},{"photo_id":"1401834900","filename":"file2"},{"photo_id":"1401834902","filename":"file4"},{"photo_id":"1401834898","filename":"file1"},{"photo_id":"1401834895","filename":"file0"},{"photo_id":"1401834901","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401834908":["hashtag1","hashtag2"]},{"1401834898":["hashtag1","hashtag2"]},{"1401834902":["hashtag1","hashtag2"]},{"1401834895":["hashtag1","hashtag2"]},{"1401834901":["hashtag1","hashtag2"]},{"1401834900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401834908, 1401834898, 1401834902, 1401834895, 1401834901, 1401834900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.052773237228394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:10:21.925990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_25_10759.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_34_9523.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_44_9709.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_55_10767.jpg', '/home/pi/Desktop/images/31122025/05/15/image_31122025_05_16_04_9741.jpg', '/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_14_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_25_10759.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_34_9523.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_44_9709.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_15_55_10767.jpg
/home/pi/Desktop/images/31122025/05/15/image_31122025_05_16_04_9741.jpg
/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_14_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834932","1401834935","1401834925","1401834928","1401834921","1401834930"],"photo_ids_order":["1401834921","1401834925","1401834928","1401834930","1401834932","1401834935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79bdfca7d842768819a3427bdce91ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3635650667533542137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157882520,"filename":"image_31122025_05_16_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf97971f8287296901c33e65dbb14d7d.jpg","text":"TemporaryFile(/tmp/multipartBody4124514603995786180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157882520,"filename":"image_31122025_05_16_14_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1ef17979860d6db3dd3cc4e9baf95e7.jpg","text":"TemporaryFile(/tmp/multipartBody1976930873509152515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157882520,"filename":"image_31122025_05_15_34_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/130b9c1bbecc03f4c8a05c88eb136e22.jpg","text":"TemporaryFile(/tmp/multipartBody5638666087834938255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157882520,"filename":"image_31122025_05_15_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d05e58d55331af711aaa81d3a681750e.jpg","text":"TemporaryFile(/tmp/multipartBody1914252622814988836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157882520,"filename":"image_31122025_05_15_25_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fef2c5983d7092e82270beaf234477a.jpg","text":"TemporaryFile(/tmp/multipartBody4390839921101411007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157882520,"filename":"image_31122025_05_15_55_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834928","file1":"1401834925","file0":"1401834921","file4":"1401834932","file5":"1401834935","file3":"1401834930"},"map_files_photo_id_array":[{"photo_id":"1401834935","filename":"file5"},{"photo_id":"1401834928","filename":"file2"},{"photo_id":"1401834932","filename":"file4"},{"photo_id":"1401834925","filename":"file1"},{"photo_id":"1401834921","filename":"file0"},{"photo_id":"1401834930","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834932":["hashtag1","hashtag2"]},{"1401834935":["hashtag1","hashtag2"]},{"1401834925":["hashtag1","hashtag2"]},{"1401834928":["hashtag1","hashtag2"]},{"1401834921":["hashtag1","hashtag2"]},{"1401834930":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834932, 1401834935, 1401834925, 1401834928, 1401834921, 1401834930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3554105758667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:11:02.866756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_24_9620.jpg', '/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_34_10742.jpg', '/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_44_9639.jpg', '/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_54_9659.jpg', '/home/pi/Desktop/images/31122025/05/16/image_31122025_05_17_04_10691.jpg', '/home/pi/Desktop/images/31122025/05/17/image_31122025_05_17_14_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_24_9620.jpg
/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_34_10742.jpg
/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_44_9639.jpg
/home/pi/Desktop/images/31122025/05/16/image_31122025_05_16_54_9659.jpg
/home/pi/Desktop/images/31122025/05/16/image_31122025_05_17_04_10691.jpg
/home/pi/Desktop/images/31122025/05/17/image_31122025_05_17_14_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834968","1401834956","1401834941","1401834973","1401834976","1401834964"],"photo_ids_order":["1401834941","1401834956","1401834964","1401834968","1401834973","1401834976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f3b8c7ecb5e346a8a75af4e4fb0a9d9.jpg","text":"TemporaryFile(/tmp/multipartBody4078556813133695424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157923570,"filename":"image_31122025_05_16_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f67bdedc088927b1e83b92e79f1d7d15.jpg","text":"TemporaryFile(/tmp/multipartBody8593501883198083855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157923570,"filename":"image_31122025_05_16_34_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/974f45301b169134dc38034cec3b58f7.jpg","text":"TemporaryFile(/tmp/multipartBody7146705146845170248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157923570,"filename":"image_31122025_05_16_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/141804765217946c76edcfb649000dce.jpg","text":"TemporaryFile(/tmp/multipartBody4873937640805445342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157923570,"filename":"image_31122025_05_17_04_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1be662d31d548f878e8bfaed66e20237.jpg","text":"TemporaryFile(/tmp/multipartBody5310698309711081309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157923570,"filename":"image_31122025_05_17_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27780f4e8e1beca00aa4243a19035a82.jpg","text":"TemporaryFile(/tmp/multipartBody2796168354906913160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157923570,"filename":"image_31122025_05_16_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834964","file1":"1401834956","file0":"1401834941","file4":"1401834973","file5":"1401834976","file3":"1401834968"},"map_files_photo_id_array":[{"photo_id":"1401834976","filename":"file5"},{"photo_id":"1401834964","filename":"file2"},{"photo_id":"1401834973","filename":"file4"},{"photo_id":"1401834956","filename":"file1"},{"photo_id":"1401834941","filename":"file0"},{"photo_id":"1401834968","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834968":["hashtag1","hashtag2"]},{"1401834956":["hashtag1","hashtag2"]},{"1401834941":["hashtag1","hashtag2"]},{"1401834973":["hashtag1","hashtag2"]},{"1401834976":["hashtag1","hashtag2"]},{"1401834964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834968, 1401834956, 1401834941, 1401834973, 1401834976, 1401834964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81783366203308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:12:02.964703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/17/image_31122025_05_17_25_10601.jpg', '/home/pi/Desktop/images/31122025/05/17/image_31122025_05_17_44_9638.jpg', '/home/pi/Desktop/images/31122025/05/17/image_31122025_05_17_55_10674.jpg', '/home/pi/Desktop/images/31122025/05/17/image_31122025_05_18_04_9603.jpg', '/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_14_9852.jpg', '/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_24_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/17/image_31122025_05_17_25_10601.jpg
/home/pi/Desktop/images/31122025/05/17/image_31122025_05_17_44_9638.jpg
/home/pi/Desktop/images/31122025/05/17/image_31122025_05_17_55_10674.jpg
/home/pi/Desktop/images/31122025/05/17/image_31122025_05_18_04_9603.jpg
/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_14_9852.jpg
/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_24_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401834989","1401834991","1401834996","1401834999","1401834993","1401834987"],"photo_ids_order":["1401834987","1401834989","1401834991","1401834993","1401834996","1401834999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/977adefc8c022a520edd75579068cf16.jpg","text":"TemporaryFile(/tmp/multipartBody8593633646546849245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157983590,"filename":"image_31122025_05_17_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/312f257d8b9859e2abdcfd1003d14a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4532690812072710731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157983590,"filename":"image_31122025_05_17_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2c98ea45e8be84d839b531e40ef9a10.jpg","text":"TemporaryFile(/tmp/multipartBody6731464364315116917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157983590,"filename":"image_31122025_05_18_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18e514331236de19742545b25875592a.jpg","text":"TemporaryFile(/tmp/multipartBody1988904260280375944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157983590,"filename":"image_31122025_05_18_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb8b04fcada5031e222b952b84c5f222.jpg","text":"TemporaryFile(/tmp/multipartBody7171941566889654170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157983590,"filename":"image_31122025_05_18_04_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d504052de5f1a55a89bb0a3fbd3619f1.jpg","text":"TemporaryFile(/tmp/multipartBody7801685227174950485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767157983590,"filename":"image_31122025_05_17_25_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401834991","file1":"1401834989","file0":"1401834987","file4":"1401834996","file5":"1401834999","file3":"1401834993"},"map_files_photo_id_array":[{"photo_id":"1401834999","filename":"file5"},{"photo_id":"1401834991","filename":"file2"},{"photo_id":"1401834996","filename":"file4"},{"photo_id":"1401834989","filename":"file1"},{"photo_id":"1401834987","filename":"file0"},{"photo_id":"1401834993","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401834989":["hashtag1","hashtag2"]},{"1401834991":["hashtag1","hashtag2"]},{"1401834996":["hashtag1","hashtag2"]},{"1401834999":["hashtag1","hashtag2"]},{"1401834993":["hashtag1","hashtag2"]},{"1401834987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401834989, 1401834991, 1401834996, 1401834999, 1401834993, 1401834987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19674730300903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:12:42.444755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_34_3761.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_36_2652.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_45_2558.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_48_2885.jpg', '/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_55_3005.jpg', '/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_08_3850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_34_3761.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_36_2652.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_45_2558.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_48_2885.jpg
/home/pi/Desktop/images/02112025/22/48/image_02112025_22_48_55_3005.jpg
/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_08_3850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835033","1401835036","1401835030","1401835027","1401835038","1401835017"],"photo_ids_order":["1401835017","1401835027","1401835030","1401835033","1401835036","1401835038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ceaf9046e757346f88c78d3e54b8ab32.jpg","text":"TemporaryFile(/tmp/multipartBody4390095345368553283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158024401,"filename":"image_02112025_22_48_48_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a32bc384ae1cc13e36e5758e83c94f7.jpg","text":"TemporaryFile(/tmp/multipartBody2836741538166551407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158024401,"filename":"image_02112025_22_48_55_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/feb01d1588766a33eb3513962063f411.jpg","text":"TemporaryFile(/tmp/multipartBody5306169589877201145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158024401,"filename":"image_02112025_22_48_45_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69836c6e3a305b8e1b0bd2e124975a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7270745713249790745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158024401,"filename":"image_02112025_22_48_36_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/102e80a463b1099991fa027888742f54.jpg","text":"TemporaryFile(/tmp/multipartBody8834533062246020922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158024401,"filename":"image_02112025_22_49_08_3850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ec6295220d20e84fb2617fc45b9bf12.jpg","text":"TemporaryFile(/tmp/multipartBody2144288798702560713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158024401,"filename":"image_02112025_22_48_34_3761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835030","file1":"1401835027","file0":"1401835017","file4":"1401835036","file5":"1401835038","file3":"1401835033"},"map_files_photo_id_array":[{"photo_id":"1401835038","filename":"file5"},{"photo_id":"1401835030","filename":"file2"},{"photo_id":"1401835036","filename":"file4"},{"photo_id":"1401835027","filename":"file1"},{"photo_id":"1401835017","filename":"file0"},{"photo_id":"1401835033","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835033":["hashtag1","hashtag2"]},{"1401835036":["hashtag1","hashtag2"]},{"1401835030":["hashtag1","hashtag2"]},{"1401835027":["hashtag1","hashtag2"]},{"1401835038":["hashtag1","hashtag2"]},{"1401835017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835033, 1401835036, 1401835030, 1401835027, 1401835038, 1401835017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28983807563782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:13:22.604229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_34_10619.jpg', '/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_44_9608.jpg', '/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_54_9937.jpg', '/home/pi/Desktop/images/31122025/05/18/image_31122025_05_19_05_10677.jpg', '/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_14_9713.jpg', '/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_24_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_34_10619.jpg
/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_44_9608.jpg
/home/pi/Desktop/images/31122025/05/18/image_31122025_05_18_54_9937.jpg
/home/pi/Desktop/images/31122025/05/18/image_31122025_05_19_05_10677.jpg
/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_14_9713.jpg
/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_24_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835058","1401835043","1401835046","1401835051","1401835054","1401835062"],"photo_ids_order":["1401835043","1401835046","1401835051","1401835054","1401835058","1401835062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32232b896bd2487f6bff99115516848a.jpg","text":"TemporaryFile(/tmp/multipartBody3851151836474797812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158063196,"filename":"image_31122025_05_19_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/410e8a199f23fa636cf37ae434d108c2.jpg","text":"TemporaryFile(/tmp/multipartBody9203848324853472389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158063196,"filename":"image_31122025_05_18_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e04243e08a2415c93f44ecfec7f52dfa.jpg","text":"TemporaryFile(/tmp/multipartBody7358930775119519872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158063196,"filename":"image_31122025_05_18_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97159aa0d167f8eb8a8d63158d75c716.jpg","text":"TemporaryFile(/tmp/multipartBody1298497040544735335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158063196,"filename":"image_31122025_05_18_54_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/488cbc5f77a392c270d81d0547c24945.jpg","text":"TemporaryFile(/tmp/multipartBody1633047668739855625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158063196,"filename":"image_31122025_05_19_05_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d2f00023a6c208451f4ad5491f22d05.jpg","text":"TemporaryFile(/tmp/multipartBody6553046368325080405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158063196,"filename":"image_31122025_05_19_24_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835051","file1":"1401835046","file0":"1401835043","file4":"1401835058","file5":"1401835062","file3":"1401835054"},"map_files_photo_id_array":[{"photo_id":"1401835062","filename":"file5"},{"photo_id":"1401835051","filename":"file2"},{"photo_id":"1401835058","filename":"file4"},{"photo_id":"1401835046","filename":"file1"},{"photo_id":"1401835043","filename":"file0"},{"photo_id":"1401835054","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835058":["hashtag1","hashtag2"]},{"1401835043":["hashtag1","hashtag2"]},{"1401835046":["hashtag1","hashtag2"]},{"1401835051":["hashtag1","hashtag2"]},{"1401835054":["hashtag1","hashtag2"]},{"1401835062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835058, 1401835043, 1401835046, 1401835051, 1401835054, 1401835062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.037325382232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:14:03.418206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_35_10734.jpg', '/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_44_9663.jpg', '/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_54_9656.jpg', '/home/pi/Desktop/images/31122025/05/19/image_31122025_05_20_04_9830.jpg', '/home/pi/Desktop/images/31122025/05/20/image_31122025_05_20_15_10753.jpg', '/home/pi/Desktop/images/31122025/05/20/image_31122025_05_20_24_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_35_10734.jpg
/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_44_9663.jpg
/home/pi/Desktop/images/31122025/05/19/image_31122025_05_19_54_9656.jpg
/home/pi/Desktop/images/31122025/05/19/image_31122025_05_20_04_9830.jpg
/home/pi/Desktop/images/31122025/05/20/image_31122025_05_20_15_10753.jpg
/home/pi/Desktop/images/31122025/05/20/image_31122025_05_20_24_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835090","1401835078","1401835087","1401835075","1401835073","1401835082"],"photo_ids_order":["1401835073","1401835075","1401835078","1401835082","1401835087","1401835090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c217806e172d7d3cc964d677716cea34.jpg","text":"TemporaryFile(/tmp/multipartBody6363696236280572905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158104059,"filename":"image_31122025_05_20_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d24429f757a8b0fa08dde02942127a00.jpg","text":"TemporaryFile(/tmp/multipartBody7254862621862087898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158104059,"filename":"image_31122025_05_19_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19daa62eae549fe6dec41db50fc3566a.jpg","text":"TemporaryFile(/tmp/multipartBody724133495809128574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158104059,"filename":"image_31122025_05_20_15_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3075497c7cf432157b69f7452da5644.jpg","text":"TemporaryFile(/tmp/multipartBody1776726865763418619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158104059,"filename":"image_31122025_05_19_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/183af4c8ef98507aac0aeb747a5eb690.jpg","text":"TemporaryFile(/tmp/multipartBody7225775710131917361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158104059,"filename":"image_31122025_05_19_35_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57b6377c96e63d9ae302e4bfd7a36b84.jpg","text":"TemporaryFile(/tmp/multipartBody1715985954826358415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158104059,"filename":"image_31122025_05_20_04_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835078","file1":"1401835075","file0":"1401835073","file4":"1401835087","file5":"1401835090","file3":"1401835082"},"map_files_photo_id_array":[{"photo_id":"1401835090","filename":"file5"},{"photo_id":"1401835078","filename":"file2"},{"photo_id":"1401835087","filename":"file4"},{"photo_id":"1401835075","filename":"file1"},{"photo_id":"1401835073","filename":"file0"},{"photo_id":"1401835082","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835090":["hashtag1","hashtag2"]},{"1401835078":["hashtag1","hashtag2"]},{"1401835087":["hashtag1","hashtag2"]},{"1401835075":["hashtag1","hashtag2"]},{"1401835073":["hashtag1","hashtag2"]},{"1401835082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835090, 1401835078, 1401835087, 1401835075, 1401835073, 1401835082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74569797515869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:14:42.835536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_10_1730.jpg', '/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_46_3621.jpg', '/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_51_2765.jpg', '/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_54_2635.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_13_2649.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_16_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_10_1730.jpg
/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_46_3621.jpg
/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_51_2765.jpg
/home/pi/Desktop/images/02112025/22/49/image_02112025_22_49_54_2635.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_13_2649.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_16_2696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835106","1401835103","1401835114","1401835102","1401835105","1401835104"],"photo_ids_order":["1401835102","1401835103","1401835104","1401835105","1401835106","1401835114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14d60e92f8dcfcc8d33fd2ea2d4fe296.jpg","text":"TemporaryFile(/tmp/multipartBody7678590194218228633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158144738,"filename":"image_02112025_22_51_13_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55d686e3ab0cde77da8b0a4d20fe3f80.jpg","text":"TemporaryFile(/tmp/multipartBody2389669854758641996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158144738,"filename":"image_02112025_22_49_46_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/677f1c57df1a59e66604657a945d17ab.jpg","text":"TemporaryFile(/tmp/multipartBody8866745649880204917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158144738,"filename":"image_02112025_22_51_16_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/add93c4dcb4b4eaf4226170998b6daea.jpg","text":"TemporaryFile(/tmp/multipartBody8871566433475024971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158144738,"filename":"image_02112025_22_49_10_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58561386c2115f28e6d255c6a2fdfd35.jpg","text":"TemporaryFile(/tmp/multipartBody5260809145101127164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158144738,"filename":"image_02112025_22_49_54_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd297d9bebc1c121b9c1b51518e8a058.jpg","text":"TemporaryFile(/tmp/multipartBody1786624424212492953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158144738,"filename":"image_02112025_22_49_51_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835104","file1":"1401835103","file0":"1401835102","file4":"1401835106","file5":"1401835114","file3":"1401835105"},"map_files_photo_id_array":[{"photo_id":"1401835114","filename":"file5"},{"photo_id":"1401835104","filename":"file2"},{"photo_id":"1401835106","filename":"file4"},{"photo_id":"1401835103","filename":"file1"},{"photo_id":"1401835102","filename":"file0"},{"photo_id":"1401835105","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835106":["hashtag1","hashtag2"]},{"1401835103":["hashtag1","hashtag2"]},{"1401835114":["hashtag1","hashtag2"]},{"1401835102":["hashtag1","hashtag2"]},{"1401835105":["hashtag1","hashtag2"]},{"1401835104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835106, 1401835103, 1401835114, 1401835102, 1401835105, 1401835104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68188953399658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:15:21.995276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/20/image_31122025_05_20_34_9788.jpg', '/home/pi/Desktop/images/31122025/05/20/image_31122025_05_20_44_9562.jpg', '/home/pi/Desktop/images/31122025/05/20/image_31122025_05_21_04_9602.jpg', '/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_15_10623.jpg', '/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_24_9850.jpg', '/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_34_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/20/image_31122025_05_20_34_9788.jpg
/home/pi/Desktop/images/31122025/05/20/image_31122025_05_20_44_9562.jpg
/home/pi/Desktop/images/31122025/05/20/image_31122025_05_21_04_9602.jpg
/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_15_10623.jpg
/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_24_9850.jpg
/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_34_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835142","1401835133","1401835147","1401835144","1401835140","1401835137"],"photo_ids_order":["1401835133","1401835137","1401835140","1401835142","1401835144","1401835147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c79b8c6d5bf89bdd16bd17e71514bda.jpg","text":"TemporaryFile(/tmp/multipartBody6963560596799049688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158182584,"filename":"image_31122025_05_21_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/384e6f6626c7279e0b07566065499a78.jpg","text":"TemporaryFile(/tmp/multipartBody8622763489755284840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158182584,"filename":"image_31122025_05_20_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df9e9792dd09ec6fe4dcc8dcefa22569.jpg","text":"TemporaryFile(/tmp/multipartBody4453255475963881108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158182584,"filename":"image_31122025_05_21_34_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b5e75e88447c1af4ff669e16c265636.jpg","text":"TemporaryFile(/tmp/multipartBody6341641854047821300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158182584,"filename":"image_31122025_05_21_24_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4c2637be21d2289a53496c8c0f8fba7.jpg","text":"TemporaryFile(/tmp/multipartBody2001368438086676368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158182584,"filename":"image_31122025_05_21_04_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0acd53612c0759698497f317e83c3641.jpg","text":"TemporaryFile(/tmp/multipartBody5178159572964185768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158182584,"filename":"image_31122025_05_20_44_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835140","file1":"1401835137","file0":"1401835133","file4":"1401835144","file5":"1401835147","file3":"1401835142"},"map_files_photo_id_array":[{"photo_id":"1401835147","filename":"file5"},{"photo_id":"1401835140","filename":"file2"},{"photo_id":"1401835144","filename":"file4"},{"photo_id":"1401835137","filename":"file1"},{"photo_id":"1401835133","filename":"file0"},{"photo_id":"1401835142","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835142":["hashtag1","hashtag2"]},{"1401835133":["hashtag1","hashtag2"]},{"1401835147":["hashtag1","hashtag2"]},{"1401835144":["hashtag1","hashtag2"]},{"1401835140":["hashtag1","hashtag2"]},{"1401835137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835142, 1401835133, 1401835147, 1401835144, 1401835140, 1401835137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.72695779800415 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:16:15.293718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_22_2668.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_25_2926.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_28_2714.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_32_3757.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_46_2676.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_49_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_22_2668.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_25_2926.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_28_2714.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_32_3757.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_46_2676.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_49_3556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835171","1401835174","1401835162","1401835164","1401835166","1401835160"],"photo_ids_order":["1401835160","1401835162","1401835164","1401835166","1401835171","1401835174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/859d6bc8856f4003eb7a6234fbe72aa8.jpg","text":"TemporaryFile(/tmp/multipartBody1569929739015622950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158237088,"filename":"image_02112025_22_51_46_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39caf0142b4148c70b3c46b3813417b7.jpg","text":"TemporaryFile(/tmp/multipartBody5714478255201561577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158237088,"filename":"image_02112025_22_51_49_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcc31357d86c08b229c6d420b9b2a73d.jpg","text":"TemporaryFile(/tmp/multipartBody7019863271895283629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158237088,"filename":"image_02112025_22_51_25_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/737919741d79aef98504cac0ed58a031.jpg","text":"TemporaryFile(/tmp/multipartBody4156060465158073623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158237088,"filename":"image_02112025_22_51_28_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb57bb816b3ffeba6648f35b9aeb40d2.jpg","text":"TemporaryFile(/tmp/multipartBody4857748846631482319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158237088,"filename":"image_02112025_22_51_32_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a58f0f5a46ae2166897072d292848bce.jpg","text":"TemporaryFile(/tmp/multipartBody8588038555533689285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158237088,"filename":"image_02112025_22_51_22_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835164","file1":"1401835162","file0":"1401835160","file4":"1401835171","file5":"1401835174","file3":"1401835166"},"map_files_photo_id_array":[{"photo_id":"1401835174","filename":"file5"},{"photo_id":"1401835164","filename":"file2"},{"photo_id":"1401835171","filename":"file4"},{"photo_id":"1401835162","filename":"file1"},{"photo_id":"1401835160","filename":"file0"},{"photo_id":"1401835166","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835171":["hashtag1","hashtag2"]},{"1401835174":["hashtag1","hashtag2"]},{"1401835162":["hashtag1","hashtag2"]},{"1401835164":["hashtag1","hashtag2"]},{"1401835166":["hashtag1","hashtag2"]},{"1401835160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835171, 1401835174, 1401835162, 1401835164, 1401835166, 1401835160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89613604545593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:17:03.277279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_45_10637.jpg', '/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_54_9589.jpg', '/home/pi/Desktop/images/31122025/05/21/image_31122025_05_22_04_9627.jpg', '/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_14_10653.jpg', '/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_24_9819.jpg', '/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_34_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_45_10637.jpg
/home/pi/Desktop/images/31122025/05/21/image_31122025_05_21_54_9589.jpg
/home/pi/Desktop/images/31122025/05/21/image_31122025_05_22_04_9627.jpg
/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_14_10653.jpg
/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_24_9819.jpg
/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_34_9534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835192","1401835194","1401835200","1401835184","1401835193","1401835196"],"photo_ids_order":["1401835184","1401835192","1401835193","1401835194","1401835196","1401835200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98aea598ce885d51b5b1557560df87d4.jpg","text":"TemporaryFile(/tmp/multipartBody544539781171884567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158283929,"filename":"image_31122025_05_21_54_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09500e9597dacda4ba5d2c76465473d4.jpg","text":"TemporaryFile(/tmp/multipartBody8400729559121481235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158283929,"filename":"image_31122025_05_22_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c9a2982f06c2f490bcfa691aef3869f.jpg","text":"TemporaryFile(/tmp/multipartBody3435849972790605334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158283929,"filename":"image_31122025_05_22_34_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b8174c93215f883c52a67c655e897fd.jpg","text":"TemporaryFile(/tmp/multipartBody7560652537664421686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158283929,"filename":"image_31122025_05_21_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fc4d291ea9f2e88e27d1b30ee3cf451.jpg","text":"TemporaryFile(/tmp/multipartBody1683010816378605510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158283929,"filename":"image_31122025_05_22_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ceae54ac0ba74e5fe63c77c286adeb57.jpg","text":"TemporaryFile(/tmp/multipartBody1160283038282512443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158283929,"filename":"image_31122025_05_22_24_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835193","file1":"1401835192","file0":"1401835184","file4":"1401835196","file5":"1401835200","file3":"1401835194"},"map_files_photo_id_array":[{"photo_id":"1401835200","filename":"file5"},{"photo_id":"1401835193","filename":"file2"},{"photo_id":"1401835196","filename":"file4"},{"photo_id":"1401835192","filename":"file1"},{"photo_id":"1401835184","filename":"file0"},{"photo_id":"1401835194","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835192":["hashtag1","hashtag2"]},{"1401835194":["hashtag1","hashtag2"]},{"1401835200":["hashtag1","hashtag2"]},{"1401835184":["hashtag1","hashtag2"]},{"1401835193":["hashtag1","hashtag2"]},{"1401835196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835192, 1401835194, 1401835200, 1401835184, 1401835193, 1401835196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.701698780059814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:17:42.547395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_52_2686.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_55_2770.jpg', '/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_59_3639.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_10_3622.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_13_2601.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_37_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_52_2686.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_55_2770.jpg
/home/pi/Desktop/images/02112025/22/51/image_02112025_22_51_59_3639.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_10_3622.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_13_2601.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_37_3553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835223","1401835226","1401835214","1401835213","1401835215","1401835209"],"photo_ids_order":["1401835209","1401835213","1401835214","1401835215","1401835223","1401835226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/374d8149e4d95d37439d1bec28e54328.jpg","text":"TemporaryFile(/tmp/multipartBody6133315661427725000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158324464,"filename":"image_02112025_22_52_13_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93df9a650091a60b69f3cfdaaf1f9546.jpg","text":"TemporaryFile(/tmp/multipartBody8143229882180598424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158324464,"filename":"image_02112025_22_52_37_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffc860fabd10492e0b0fec6bf7481575.jpg","text":"TemporaryFile(/tmp/multipartBody8795796190446050595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158324464,"filename":"image_02112025_22_51_59_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae2d508a72dd2264ee979ba6e8ab81b5.jpg","text":"TemporaryFile(/tmp/multipartBody5446708288954550791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158324464,"filename":"image_02112025_22_51_55_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7baa3ff3391a1b4434230557df7248cb.jpg","text":"TemporaryFile(/tmp/multipartBody4670330170349071246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158324464,"filename":"image_02112025_22_52_10_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5e34adcd1492ec7e0af2bea4af411ab.jpg","text":"TemporaryFile(/tmp/multipartBody2234646075400675028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158324464,"filename":"image_02112025_22_51_52_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835214","file1":"1401835213","file0":"1401835209","file4":"1401835223","file5":"1401835226","file3":"1401835215"},"map_files_photo_id_array":[{"photo_id":"1401835226","filename":"file5"},{"photo_id":"1401835214","filename":"file2"},{"photo_id":"1401835223","filename":"file4"},{"photo_id":"1401835213","filename":"file1"},{"photo_id":"1401835209","filename":"file0"},{"photo_id":"1401835215","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835223":["hashtag1","hashtag2"]},{"1401835226":["hashtag1","hashtag2"]},{"1401835214":["hashtag1","hashtag2"]},{"1401835213":["hashtag1","hashtag2"]},{"1401835215":["hashtag1","hashtag2"]},{"1401835209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835223, 1401835226, 1401835214, 1401835213, 1401835215, 1401835209)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.849793672561646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:18:32.645337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_43_2600.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_47_3768.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_49_2611.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_55_2715.jpg', '/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_37_2581.jpg', '/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_40_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_43_2600.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_47_3768.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_49_2611.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_55_2715.jpg
/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_37_2581.jpg
/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_40_2688.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 8.024963617324829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:18:42.667158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_43_2600.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_47_3768.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_49_2611.jpg', '/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_55_2715.jpg', '/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_37_2581.jpg', '/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_40_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_43_2600.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_47_3768.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_49_2611.jpg
/home/pi/Desktop/images/02112025/22/52/image_02112025_22_52_55_2715.jpg
/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_37_2581.jpg
/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_40_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835260","1401835263","1401835257","1401835251","1401835254","1401835247"],"photo_ids_order":["1401835247","1401835251","1401835254","1401835257","1401835260","1401835263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ce579e7882e855b852d57825232b801.jpg","text":"TemporaryFile(/tmp/multipartBody5147206551220968335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158384415,"filename":"image_02112025_22_53_37_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84ea452d69bac091c146fcd1796d569d.jpg","text":"TemporaryFile(/tmp/multipartBody3037901907324560666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158384415,"filename":"image_02112025_22_53_40_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cf6d3da800b46f6bbbcdb8da48c869f.jpg","text":"TemporaryFile(/tmp/multipartBody3087165815578711118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158384415,"filename":"image_02112025_22_52_55_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/115d3a4d8938cd7fd1e50bb09f26f6c2.jpg","text":"TemporaryFile(/tmp/multipartBody755720758221942226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158384415,"filename":"image_02112025_22_52_47_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d27734a6015f856f797506fc17408c1.jpg","text":"TemporaryFile(/tmp/multipartBody4276532796745047885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158384415,"filename":"image_02112025_22_52_49_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec49858d88568edee8f28f758af15a34.jpg","text":"TemporaryFile(/tmp/multipartBody7447147774330573480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158384415,"filename":"image_02112025_22_52_43_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835254","file1":"1401835251","file0":"1401835247","file4":"1401835260","file5":"1401835263","file3":"1401835257"},"map_files_photo_id_array":[{"photo_id":"1401835263","filename":"file5"},{"photo_id":"1401835254","filename":"file2"},{"photo_id":"1401835260","filename":"file4"},{"photo_id":"1401835251","filename":"file1"},{"photo_id":"1401835247","filename":"file0"},{"photo_id":"1401835257","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835260":["hashtag1","hashtag2"]},{"1401835263":["hashtag1","hashtag2"]},{"1401835257":["hashtag1","hashtag2"]},{"1401835251":["hashtag1","hashtag2"]},{"1401835254":["hashtag1","hashtag2"]},{"1401835247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835260, 1401835263, 1401835257, 1401835251, 1401835254, 1401835247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43630075454712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:19:22.926945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_44_10542.jpg', '/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_54_9831.jpg', '/home/pi/Desktop/images/31122025/05/22/image_31122025_05_23_04_9705.jpg', '/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_15_10686.jpg', '/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_24_9786.jpg', '/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_34_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_44_10542.jpg
/home/pi/Desktop/images/31122025/05/22/image_31122025_05_22_54_9831.jpg
/home/pi/Desktop/images/31122025/05/22/image_31122025_05_23_04_9705.jpg
/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_15_10686.jpg
/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_24_9786.jpg
/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_34_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835282","1401835285","1401835279","1401835273","1401835275","1401835269"],"photo_ids_order":["1401835269","1401835273","1401835275","1401835279","1401835282","1401835285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1f4b2d0006601621680a919c0c311a3.jpg","text":"TemporaryFile(/tmp/multipartBody4198506782264248831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158423493,"filename":"image_31122025_05_23_24_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e17f8fadfd7f39b76e66a5b02b0f1cd3.jpg","text":"TemporaryFile(/tmp/multipartBody5640176852865629899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158423493,"filename":"image_31122025_05_23_34_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e8b06f43b0d6c0117578abce196ff78.jpg","text":"TemporaryFile(/tmp/multipartBody2953754607642692509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158423493,"filename":"image_31122025_05_23_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/169b4c083cf8651cf47ee70d558ecf6b.jpg","text":"TemporaryFile(/tmp/multipartBody739488707352252181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158423493,"filename":"image_31122025_05_22_54_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91c205e7e250f7b41175e34443ec27b1.jpg","text":"TemporaryFile(/tmp/multipartBody9118556024184735650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158423493,"filename":"image_31122025_05_23_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5798b7a92d4437cdea38b04e6b8874a5.jpg","text":"TemporaryFile(/tmp/multipartBody361950466868354899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158423493,"filename":"image_31122025_05_22_44_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835275","file1":"1401835273","file0":"1401835269","file4":"1401835282","file5":"1401835285","file3":"1401835279"},"map_files_photo_id_array":[{"photo_id":"1401835285","filename":"file5"},{"photo_id":"1401835275","filename":"file2"},{"photo_id":"1401835282","filename":"file4"},{"photo_id":"1401835273","filename":"file1"},{"photo_id":"1401835269","filename":"file0"},{"photo_id":"1401835279","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835282":["hashtag1","hashtag2"]},{"1401835285":["hashtag1","hashtag2"]},{"1401835279":["hashtag1","hashtag2"]},{"1401835273":["hashtag1","hashtag2"]},{"1401835275":["hashtag1","hashtag2"]},{"1401835269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835282, 1401835285, 1401835279, 1401835273, 1401835275, 1401835269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.026023864746094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:20:02.646263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_44_9653.jpg', '/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_55_10618.jpg', '/home/pi/Desktop/images/31122025/05/23/image_31122025_05_24_04_9692.jpg', '/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_14_9754.jpg', '/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_25_10613.jpg', '/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_44_9653.jpg
/home/pi/Desktop/images/31122025/05/23/image_31122025_05_23_55_10618.jpg
/home/pi/Desktop/images/31122025/05/23/image_31122025_05_24_04_9692.jpg
/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_14_9754.jpg
/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_25_10613.jpg
/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_34_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835288","1401835298","1401835302","1401835292","1401835295","1401835289"],"photo_ids_order":["1401835288","1401835289","1401835292","1401835295","1401835298","1401835302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/431740387c73eac9518f05bedb164b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6545451739091928791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158463251,"filename":"image_31122025_05_23_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8395a67784d34266ec01c95645e567c.jpg","text":"TemporaryFile(/tmp/multipartBody8497618366811521448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158463251,"filename":"image_31122025_05_24_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2605edf46ac91a8c2ea6cee5aff5acc1.jpg","text":"TemporaryFile(/tmp/multipartBody5214764985437876856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158463251,"filename":"image_31122025_05_24_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/820560ffe5ed957ff3695c390c1e3af6.jpg","text":"TemporaryFile(/tmp/multipartBody5855302958152297642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158463251,"filename":"image_31122025_05_24_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c3c970e2aa88fb2d311f20691d5651f.jpg","text":"TemporaryFile(/tmp/multipartBody1547051085556545353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158463251,"filename":"image_31122025_05_24_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/311496638fd7d8e606ab55e59c24a4a9.jpg","text":"TemporaryFile(/tmp/multipartBody461804597356883305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158463251,"filename":"image_31122025_05_23_55_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835292","file1":"1401835289","file0":"1401835288","file4":"1401835298","file5":"1401835302","file3":"1401835295"},"map_files_photo_id_array":[{"photo_id":"1401835302","filename":"file5"},{"photo_id":"1401835292","filename":"file2"},{"photo_id":"1401835298","filename":"file4"},{"photo_id":"1401835289","filename":"file1"},{"photo_id":"1401835288","filename":"file0"},{"photo_id":"1401835295","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835288":["hashtag1","hashtag2"]},{"1401835298":["hashtag1","hashtag2"]},{"1401835302":["hashtag1","hashtag2"]},{"1401835292":["hashtag1","hashtag2"]},{"1401835295":["hashtag1","hashtag2"]},{"1401835289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835288, 1401835298, 1401835302, 1401835292, 1401835295, 1401835289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.126606941223145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:20:42.204396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_43_3711.jpg', '/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_49_2687.jpg', '/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_07_2678.jpg', '/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_13_3743.jpg', '/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_19_2746.jpg', '/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_22_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_43_3711.jpg
/home/pi/Desktop/images/02112025/22/53/image_02112025_22_53_49_2687.jpg
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_07_2678.jpg
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_13_3743.jpg
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_19_2746.jpg
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_22_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401835316","1401835319","1401835312","1401835315","1401835317","1401835314"],"photo_ids_order":["1401835312","1401835314","1401835315","1401835316","1401835317","1401835319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e86478c1952ef1b89b0d11f2a752d732.jpg","text":"TemporaryFile(/tmp/multipartBody6676111615897585704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158504107,"filename":"image_02112025_22_54_13_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dde6c35361783653747c7eec74138c3.jpg","text":"TemporaryFile(/tmp/multipartBody6568689976514900500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158504107,"filename":"image_02112025_22_54_22_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2aefc3d4f1fb8fb243bdbda70649b3cb.jpg","text":"TemporaryFile(/tmp/multipartBody2897673666568739986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158504107,"filename":"image_02112025_22_53_43_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e28fda58aacc64b957ea87fbc07fdeaa.jpg","text":"TemporaryFile(/tmp/multipartBody6148404005862752331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158504107,"filename":"image_02112025_22_54_07_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f21bae28158eabe9029bddd957bff9f.jpg","text":"TemporaryFile(/tmp/multipartBody6191876244181989216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158504107,"filename":"image_02112025_22_54_19_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcbf94fd89f1032036b690e82c669d5c.jpg","text":"TemporaryFile(/tmp/multipartBody5606545160798709261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158504107,"filename":"image_02112025_22_53_49_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835315","file1":"1401835314","file0":"1401835312","file4":"1401835317","file5":"1401835319","file3":"1401835316"},"map_files_photo_id_array":[{"photo_id":"1401835319","filename":"file5"},{"photo_id":"1401835315","filename":"file2"},{"photo_id":"1401835317","filename":"file4"},{"photo_id":"1401835314","filename":"file1"},{"photo_id":"1401835312","filename":"file0"},{"photo_id":"1401835316","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835316":["hashtag1","hashtag2"]},{"1401835319":["hashtag1","hashtag2"]},{"1401835312":["hashtag1","hashtag2"]},{"1401835315":["hashtag1","hashtag2"]},{"1401835317":["hashtag1","hashtag2"]},{"1401835314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835316, 1401835319, 1401835312, 1401835315, 1401835317, 1401835314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65704131126404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:21:32.333927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_31_2728.jpg', '/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_46_3658.jpg', '/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_49_2805.jpg', '/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_52_2747.jpg', '/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_55_3663.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_31_2728.jpg
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_46_3658.jpg
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_49_2805.jpg
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_52_2747.jpg
/home/pi/Desktop/images/02112025/22/54/image_02112025_22_54_55_3663.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835340","1401835331","1401835333","1401835336","1401835338","1401835346"],"photo_ids_order":["1401835331","1401835333","1401835336","1401835338","1401835340","1401835346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/930adf6ac83a12884e2177453e4a87ad.jpg","text":"TemporaryFile(/tmp/multipartBody1253770591792626612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158554122,"filename":"image_02112025_22_54_55_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25fb8eca239a92b3247084389697cd6a.jpg","text":"TemporaryFile(/tmp/multipartBody2976528649223059722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158554122,"filename":"image_02112025_22_54_31_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03c1bdd9d8bdb2b479fa4b82282fa7c7.jpg","text":"TemporaryFile(/tmp/multipartBody5936487918184244084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158554122,"filename":"image_02112025_22_54_46_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1333db385752f6363b59e77747e1e94e.jpg","text":"TemporaryFile(/tmp/multipartBody2383332171190076435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158554122,"filename":"image_02112025_22_54_49_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76291138bdf2c726dc608e0acc7dcfdb.jpg","text":"TemporaryFile(/tmp/multipartBody1782830963139726116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158554122,"filename":"image_02112025_22_54_52_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b2db90426c6bade0df6e70698a4122d.jpg","text":"TemporaryFile(/tmp/multipartBody2864379481771011446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158554122,"filename":"image_02112025_22_55_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835336","file1":"1401835333","file0":"1401835331","file4":"1401835340","file5":"1401835346","file3":"1401835338"},"map_files_photo_id_array":[{"photo_id":"1401835346","filename":"file5"},{"photo_id":"1401835336","filename":"file2"},{"photo_id":"1401835340","filename":"file4"},{"photo_id":"1401835333","filename":"file1"},{"photo_id":"1401835331","filename":"file0"},{"photo_id":"1401835338","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835340":["hashtag1","hashtag2"]},{"1401835331":["hashtag1","hashtag2"]},{"1401835333":["hashtag1","hashtag2"]},{"1401835336":["hashtag1","hashtag2"]},{"1401835338":["hashtag1","hashtag2"]},{"1401835346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835340, 1401835331, 1401835333, 1401835336, 1401835338, 1401835346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.586650371551514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:22:12.644742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_11_3667.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_14_2828.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_17_2691.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_19_2792.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_23_3679.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_26_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_11_3667.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_14_2828.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_17_2691.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_19_2792.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_23_3679.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_26_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835351","1401835354","1401835368","1401835362","1401835365","1401835359"],"photo_ids_order":["1401835351","1401835354","1401835359","1401835362","1401835365","1401835368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/420289d99590b34466fd608bab59debf.jpg","text":"TemporaryFile(/tmp/multipartBody3654636121227997327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158594429,"filename":"image_02112025_22_55_11_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/057657c9ae1c466e1dba2a3a806191a7.jpg","text":"TemporaryFile(/tmp/multipartBody1995364007937760794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158594429,"filename":"image_02112025_22_55_14_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b614a7fbb664750f9db463f58ccafec6.jpg","text":"TemporaryFile(/tmp/multipartBody2114936562661039925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158594429,"filename":"image_02112025_22_55_26_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89fee2657c5fcdfcbd1121ddc56f82f0.jpg","text":"TemporaryFile(/tmp/multipartBody7471223395606926661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158594429,"filename":"image_02112025_22_55_19_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a87293b445a6583a51ae9f6507e74fc.jpg","text":"TemporaryFile(/tmp/multipartBody3553373269463535230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158594429,"filename":"image_02112025_22_55_23_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49d1de6a184128dcfc91eaceabc20a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4966782414201745143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158594429,"filename":"image_02112025_22_55_17_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835359","file1":"1401835354","file0":"1401835351","file4":"1401835365","file5":"1401835368","file3":"1401835362"},"map_files_photo_id_array":[{"photo_id":"1401835368","filename":"file5"},{"photo_id":"1401835359","filename":"file2"},{"photo_id":"1401835365","filename":"file4"},{"photo_id":"1401835354","filename":"file1"},{"photo_id":"1401835351","filename":"file0"},{"photo_id":"1401835362","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835351":["hashtag1","hashtag2"]},{"1401835354":["hashtag1","hashtag2"]},{"1401835368":["hashtag1","hashtag2"]},{"1401835362":["hashtag1","hashtag2"]},{"1401835365":["hashtag1","hashtag2"]},{"1401835359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835351, 1401835354, 1401835368, 1401835362, 1401835365, 1401835359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74011993408203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:23:03.609163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_44_9654.jpg', '/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_55_10730.jpg', '/home/pi/Desktop/images/31122025/05/24/image_31122025_05_25_04_9656.jpg', '/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_14_9717.jpg', '/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_24_9746.jpg', '/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_34_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_44_9654.jpg
/home/pi/Desktop/images/31122025/05/24/image_31122025_05_24_55_10730.jpg
/home/pi/Desktop/images/31122025/05/24/image_31122025_05_25_04_9656.jpg
/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_14_9717.jpg
/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_24_9746.jpg
/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_34_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835409","1401835402","1401835395","1401835404","1401835413","1401835407"],"photo_ids_order":["1401835395","1401835402","1401835404","1401835407","1401835409","1401835413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4a697d0237f3dc24fa9e7b2674570fd.jpg","text":"TemporaryFile(/tmp/multipartBody8655888014632949938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158644249,"filename":"image_31122025_05_25_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cb5df0ac25b6a4a7629932a1cdb0abf.jpg","text":"TemporaryFile(/tmp/multipartBody2057819884802951899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158644249,"filename":"image_31122025_05_24_55_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0accaad97b24bfcdc2a3ecb1c497325.jpg","text":"TemporaryFile(/tmp/multipartBody4063928259630424494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158644249,"filename":"image_31122025_05_24_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87f2fabc9fb73c0a3331f6a599cc0ade.jpg","text":"TemporaryFile(/tmp/multipartBody7418321350641109876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158644249,"filename":"image_31122025_05_25_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f4df555dd8d63951bdd6e473c0b909e.jpg","text":"TemporaryFile(/tmp/multipartBody7098802433773285899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158644249,"filename":"image_31122025_05_25_34_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a83aa732c69c61ef523639df86ec3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8081094459591450535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158644249,"filename":"image_31122025_05_25_14_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835404","file1":"1401835402","file0":"1401835395","file4":"1401835409","file5":"1401835413","file3":"1401835407"},"map_files_photo_id_array":[{"photo_id":"1401835413","filename":"file5"},{"photo_id":"1401835404","filename":"file2"},{"photo_id":"1401835409","filename":"file4"},{"photo_id":"1401835402","filename":"file1"},{"photo_id":"1401835395","filename":"file0"},{"photo_id":"1401835407","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835409":["hashtag1","hashtag2"]},{"1401835402":["hashtag1","hashtag2"]},{"1401835395":["hashtag1","hashtag2"]},{"1401835404":["hashtag1","hashtag2"]},{"1401835413":["hashtag1","hashtag2"]},{"1401835407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835409, 1401835402, 1401835395, 1401835404, 1401835413, 1401835407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.123926877975464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:23:42.834652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_35_3698.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_38_2670.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_50_2731.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_53_3766.jpg', '/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_56_2782.jpg', '/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_17_2927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_35_3698.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_38_2670.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_50_2731.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_53_3766.jpg
/home/pi/Desktop/images/02112025/22/55/image_02112025_22_55_56_2782.jpg
/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_17_2927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835427","1401835430","1401835429","1401835422","1401835431","1401835425"],"photo_ids_order":["1401835422","1401835425","1401835427","1401835429","1401835430","1401835431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fabe1d5edaf75be76ed12760cec90563.jpg","text":"TemporaryFile(/tmp/multipartBody8341548532720078640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158684733,"filename":"image_02112025_22_55_50_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce4e220a86f606f87bfa99f00f170e1a.jpg","text":"TemporaryFile(/tmp/multipartBody4048647764045600359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158684733,"filename":"image_02112025_22_55_56_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41e3b07a18cb4761e923f18ae53b3c85.jpg","text":"TemporaryFile(/tmp/multipartBody3107353042348235213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158684733,"filename":"image_02112025_22_55_53_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c868bb5e957afd9c79e582a0113e085.jpg","text":"TemporaryFile(/tmp/multipartBody7323994408343431969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158684733,"filename":"image_02112025_22_55_35_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d41ec31da2b0086aeb94d526a702d299.jpg","text":"TemporaryFile(/tmp/multipartBody112016651323232587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158684733,"filename":"image_02112025_22_56_17_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c816130314c87205d85cc2aa36207cf.jpg","text":"TemporaryFile(/tmp/multipartBody2921921033933729860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158684733,"filename":"image_02112025_22_55_38_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835427","file1":"1401835425","file0":"1401835422","file4":"1401835430","file5":"1401835431","file3":"1401835429"},"map_files_photo_id_array":[{"photo_id":"1401835431","filename":"file5"},{"photo_id":"1401835427","filename":"file2"},{"photo_id":"1401835430","filename":"file4"},{"photo_id":"1401835425","filename":"file1"},{"photo_id":"1401835422","filename":"file0"},{"photo_id":"1401835429","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835427":["hashtag1","hashtag2"]},{"1401835430":["hashtag1","hashtag2"]},{"1401835429":["hashtag1","hashtag2"]},{"1401835422":["hashtag1","hashtag2"]},{"1401835431":["hashtag1","hashtag2"]},{"1401835425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835427, 1401835430, 1401835429, 1401835422, 1401835431, 1401835425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05931091308594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:24:21.955334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_44_9611.jpg', '/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_54_9799.jpg', '/home/pi/Desktop/images/31122025/05/25/image_31122025_05_26_05_10889.jpg', '/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_14_9659.jpg', '/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_24_9781.jpg', '/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_34_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_44_9611.jpg
/home/pi/Desktop/images/31122025/05/25/image_31122025_05_25_54_9799.jpg
/home/pi/Desktop/images/31122025/05/25/image_31122025_05_26_05_10889.jpg
/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_14_9659.jpg
/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_24_9781.jpg
/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_34_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835454","1401835448","1401835457","1401835444","1401835440","1401835451"],"photo_ids_order":["1401835440","1401835444","1401835448","1401835451","1401835454","1401835457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ccbc05ace024fd9aea63aa3345ca235.jpg","text":"TemporaryFile(/tmp/multipartBody7023613430583220654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158722513,"filename":"image_31122025_05_26_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c403865348e550d13f1dae59ab4658d.jpg","text":"TemporaryFile(/tmp/multipartBody2324407317858575852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158722513,"filename":"image_31122025_05_26_05_10889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0ffe9a8ccb200fd3c67b3920e916cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5281177409505314978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158722513,"filename":"image_31122025_05_26_34_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d01e51a67a0235c16aba444e5b9a8608.jpg","text":"TemporaryFile(/tmp/multipartBody3350393827099663095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158722513,"filename":"image_31122025_05_25_54_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed2b767ea2ee8d518f341a6e8d12b42e.jpg","text":"TemporaryFile(/tmp/multipartBody272404722352880165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158722513,"filename":"image_31122025_05_25_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e214783e86a4e20d481be307c548807.jpg","text":"TemporaryFile(/tmp/multipartBody6598055828080048014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158722513,"filename":"image_31122025_05_26_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835448","file1":"1401835444","file0":"1401835440","file4":"1401835454","file5":"1401835457","file3":"1401835451"},"map_files_photo_id_array":[{"photo_id":"1401835457","filename":"file5"},{"photo_id":"1401835448","filename":"file2"},{"photo_id":"1401835454","filename":"file4"},{"photo_id":"1401835444","filename":"file1"},{"photo_id":"1401835440","filename":"file0"},{"photo_id":"1401835451","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835454":["hashtag1","hashtag2"]},{"1401835448":["hashtag1","hashtag2"]},{"1401835457":["hashtag1","hashtag2"]},{"1401835444":["hashtag1","hashtag2"]},{"1401835440":["hashtag1","hashtag2"]},{"1401835451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835454, 1401835448, 1401835457, 1401835444, 1401835440, 1401835451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06283760070801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:25:03.125506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_45_10680.jpg', '/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_54_9763.jpg', '/home/pi/Desktop/images/31122025/05/26/image_31122025_05_27_04_9704.jpg', '/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_14_9748.jpg', '/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_24_10748.jpg', '/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_34_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_45_10680.jpg
/home/pi/Desktop/images/31122025/05/26/image_31122025_05_26_54_9763.jpg
/home/pi/Desktop/images/31122025/05/26/image_31122025_05_27_04_9704.jpg
/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_14_9748.jpg
/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_24_10748.jpg
/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_34_9534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835460","1401835486","1401835477","1401835471","1401835488","1401835481"],"photo_ids_order":["1401835460","1401835471","1401835477","1401835481","1401835486","1401835488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73477f9994b5721e770519c237f4b47b.jpg","text":"TemporaryFile(/tmp/multipartBody2835798006797875303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158763803,"filename":"image_31122025_05_26_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc442f19fa4f09c47c337503c08f9803.jpg","text":"TemporaryFile(/tmp/multipartBody5096447817488765112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158763803,"filename":"image_31122025_05_27_24_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/737dc8d05b9422adf0e384bf21d58d36.jpg","text":"TemporaryFile(/tmp/multipartBody2101224178196256708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158763803,"filename":"image_31122025_05_27_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e891a7da92f4c0c2eba00d23806c91c9.jpg","text":"TemporaryFile(/tmp/multipartBody8469339433089449907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158763803,"filename":"image_31122025_05_26_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e4e5cdf5b400eb831b1fbb158e3b82e.jpg","text":"TemporaryFile(/tmp/multipartBody730453659053617982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158763803,"filename":"image_31122025_05_27_34_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4a457b6db6274e8fcf92e280f207a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1121708690016684413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158763803,"filename":"image_31122025_05_27_14_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835477","file1":"1401835471","file0":"1401835460","file4":"1401835486","file5":"1401835488","file3":"1401835481"},"map_files_photo_id_array":[{"photo_id":"1401835488","filename":"file5"},{"photo_id":"1401835477","filename":"file2"},{"photo_id":"1401835486","filename":"file4"},{"photo_id":"1401835471","filename":"file1"},{"photo_id":"1401835460","filename":"file0"},{"photo_id":"1401835481","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835460":["hashtag1","hashtag2"]},{"1401835486":["hashtag1","hashtag2"]},{"1401835477":["hashtag1","hashtag2"]},{"1401835471":["hashtag1","hashtag2"]},{"1401835488":["hashtag1","hashtag2"]},{"1401835481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835460, 1401835486, 1401835477, 1401835471, 1401835488, 1401835481)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.24195384979248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:26:03.114548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_44_9698.jpg', '/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_54_10609.jpg', '/home/pi/Desktop/images/31122025/05/27/image_31122025_05_28_04_9676.jpg', '/home/pi/Desktop/images/31122025/05/28/image_31122025_05_28_24_9738.jpg', '/home/pi/Desktop/images/31122025/05/28/image_31122025_05_28_34_9570.jpg', '/home/pi/Desktop/images/31122025/05/28/image_31122025_05_28_45_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_44_9698.jpg
/home/pi/Desktop/images/31122025/05/27/image_31122025_05_27_54_10609.jpg
/home/pi/Desktop/images/31122025/05/27/image_31122025_05_28_04_9676.jpg
/home/pi/Desktop/images/31122025/05/28/image_31122025_05_28_24_9738.jpg
/home/pi/Desktop/images/31122025/05/28/image_31122025_05_28_34_9570.jpg
/home/pi/Desktop/images/31122025/05/28/image_31122025_05_28_45_10692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835511","1401835505","1401835519","1401835513","1401835515","1401835509"],"photo_ids_order":["1401835505","1401835509","1401835511","1401835513","1401835515","1401835519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78de4f0d2d2c6777884f7dcec331a9dc.jpg","text":"TemporaryFile(/tmp/multipartBody8125330653853378067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158823724,"filename":"image_31122025_05_28_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/274c156278db76dafe237e617ddb0952.jpg","text":"TemporaryFile(/tmp/multipartBody8706843904270370309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158823724,"filename":"image_31122025_05_27_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/803f4aed7fce795ea1720c0111873dba.jpg","text":"TemporaryFile(/tmp/multipartBody3882419345990013343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158823724,"filename":"image_31122025_05_28_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1798a1b55c3397a90d90a62275acdd67.jpg","text":"TemporaryFile(/tmp/multipartBody4710316137950888351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158823724,"filename":"image_31122025_05_28_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d70ed37245b82ba905db1c31a1ad3d57.jpg","text":"TemporaryFile(/tmp/multipartBody2029164397995559199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158823724,"filename":"image_31122025_05_28_34_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f300edb192df43c7b423995d2450a27.jpg","text":"TemporaryFile(/tmp/multipartBody74157481259268582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158823724,"filename":"image_31122025_05_27_54_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835511","file1":"1401835509","file0":"1401835505","file4":"1401835515","file5":"1401835519","file3":"1401835513"},"map_files_photo_id_array":[{"photo_id":"1401835519","filename":"file5"},{"photo_id":"1401835511","filename":"file2"},{"photo_id":"1401835515","filename":"file4"},{"photo_id":"1401835509","filename":"file1"},{"photo_id":"1401835505","filename":"file0"},{"photo_id":"1401835513","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835511":["hashtag1","hashtag2"]},{"1401835505":["hashtag1","hashtag2"]},{"1401835519":["hashtag1","hashtag2"]},{"1401835513":["hashtag1","hashtag2"]},{"1401835515":["hashtag1","hashtag2"]},{"1401835509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835511, 1401835505, 1401835519, 1401835513, 1401835515, 1401835509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65772819519043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:26:42.566807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_20_2739.jpg', '/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_22_2754.jpg', '/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_34_2611.jpg', '/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_38_3698.jpg', '/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_41_2598.jpg', '/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_50_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_20_2739.jpg
/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_22_2754.jpg
/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_34_2611.jpg
/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_38_3698.jpg
/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_41_2598.jpg
/home/pi/Desktop/images/02112025/22/56/image_02112025_22_56_50_3676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835541","1401835538","1401835549","1401835543","1401835554","1401835544"],"photo_ids_order":["1401835538","1401835541","1401835543","1401835544","1401835549","1401835554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c48b12babbe7ca8deeab7d5032824f60.jpg","text":"TemporaryFile(/tmp/multipartBody4167008872084934968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158864523,"filename":"image_02112025_22_56_22_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6351c69e542f3fcecd2a79202c49da6a.jpg","text":"TemporaryFile(/tmp/multipartBody1289365412508424692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158864523,"filename":"image_02112025_22_56_20_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d6ac67b81240614111f4866a000cceb.jpg","text":"TemporaryFile(/tmp/multipartBody8122791746567017791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158864523,"filename":"image_02112025_22_56_41_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96d1fdcb1b303a6332716bf9aa2aebd7.jpg","text":"TemporaryFile(/tmp/multipartBody1186328363465887137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158864523,"filename":"image_02112025_22_56_34_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c396120d4e8698b5c35eba866a2cc3f.jpg","text":"TemporaryFile(/tmp/multipartBody400460836151262493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158864523,"filename":"image_02112025_22_56_50_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/add212adb4d3d3edcb8e4a291318b5f7.jpg","text":"TemporaryFile(/tmp/multipartBody2982593432346128652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158864523,"filename":"image_02112025_22_56_38_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835543","file1":"1401835541","file0":"1401835538","file4":"1401835549","file5":"1401835554","file3":"1401835544"},"map_files_photo_id_array":[{"photo_id":"1401835554","filename":"file5"},{"photo_id":"1401835543","filename":"file2"},{"photo_id":"1401835549","filename":"file4"},{"photo_id":"1401835541","filename":"file1"},{"photo_id":"1401835538","filename":"file0"},{"photo_id":"1401835544","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835541":["hashtag1","hashtag2"]},{"1401835538":["hashtag1","hashtag2"]},{"1401835549":["hashtag1","hashtag2"]},{"1401835543":["hashtag1","hashtag2"]},{"1401835554":["hashtag1","hashtag2"]},{"1401835544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835541, 1401835538, 1401835549, 1401835543, 1401835554, 1401835544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26018404960632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:27:22.751952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/28/image_31122025_05_28_54_9682.jpg', '/home/pi/Desktop/images/31122025/05/28/image_31122025_05_29_04_9684.jpg', '/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_14_9821.jpg', '/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_24_10606.jpg', '/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_34_9656.jpg', '/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_44_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/28/image_31122025_05_28_54_9682.jpg
/home/pi/Desktop/images/31122025/05/28/image_31122025_05_29_04_9684.jpg
/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_14_9821.jpg
/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_24_10606.jpg
/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_34_9656.jpg
/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_44_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835574","1401835568","1401835561","1401835578","1401835571","1401835565"],"photo_ids_order":["1401835561","1401835565","1401835568","1401835571","1401835574","1401835578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8359393c91dc59721beb74b7a0915fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5420378972743006861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158903369,"filename":"image_31122025_05_29_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f2f0391ae528f800d85cae1e46a8537.jpg","text":"TemporaryFile(/tmp/multipartBody4566313239755841124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158903369,"filename":"image_31122025_05_29_14_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e95c46c20f2855ebb4570a918b726d5.jpg","text":"TemporaryFile(/tmp/multipartBody6650220408941679690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158903369,"filename":"image_31122025_05_28_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11b99c2d68a3a50f3d86a4b6727dab1c.jpg","text":"TemporaryFile(/tmp/multipartBody2122067206043514285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158903369,"filename":"image_31122025_05_29_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ac00fdd598597772bd1ebbcacf0693c.jpg","text":"TemporaryFile(/tmp/multipartBody6900233506361774590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158903369,"filename":"image_31122025_05_29_24_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b36db7664f988f7d9785a8e18d8df18.jpg","text":"TemporaryFile(/tmp/multipartBody2529581233901385859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158903369,"filename":"image_31122025_05_29_04_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835568","file1":"1401835565","file0":"1401835561","file4":"1401835574","file5":"1401835578","file3":"1401835571"},"map_files_photo_id_array":[{"photo_id":"1401835578","filename":"file5"},{"photo_id":"1401835568","filename":"file2"},{"photo_id":"1401835574","filename":"file4"},{"photo_id":"1401835565","filename":"file1"},{"photo_id":"1401835561","filename":"file0"},{"photo_id":"1401835571","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835574":["hashtag1","hashtag2"]},{"1401835568":["hashtag1","hashtag2"]},{"1401835561":["hashtag1","hashtag2"]},{"1401835578":["hashtag1","hashtag2"]},{"1401835571":["hashtag1","hashtag2"]},{"1401835565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835574, 1401835568, 1401835561, 1401835578, 1401835571, 1401835565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26017117500305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:28:02.419407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_54_10659.jpg', '/home/pi/Desktop/images/31122025/05/29/image_31122025_05_30_04_9959.jpg', '/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_14_9666.jpg', '/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_24_9879.jpg', '/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_35_10692.jpg', '/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/29/image_31122025_05_29_54_10659.jpg
/home/pi/Desktop/images/31122025/05/29/image_31122025_05_30_04_9959.jpg
/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_14_9666.jpg
/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_24_9879.jpg
/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_35_10692.jpg
/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835591","1401835585","1401835594","1401835588","1401835602","1401835598"],"photo_ids_order":["1401835585","1401835588","1401835591","1401835594","1401835598","1401835602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f84f1558befe4a5bcdd5eed7632a763.jpg","text":"TemporaryFile(/tmp/multipartBody8183345653330753136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158943052,"filename":"image_31122025_05_30_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a330962538a9cabd004155a3ce776767.jpg","text":"TemporaryFile(/tmp/multipartBody9048683154472914172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158943052,"filename":"image_31122025_05_29_54_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce22a85cb1f0a5177aa8f3c06e691c71.jpg","text":"TemporaryFile(/tmp/multipartBody871564316427048931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158943052,"filename":"image_31122025_05_30_24_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6c2ebfdccac0ce8e697c59dc706dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody5469232800361269244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158943052,"filename":"image_31122025_05_30_04_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c2627ed00897acee15fe6a53840caf7.jpg","text":"TemporaryFile(/tmp/multipartBody7408830744093220082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158943052,"filename":"image_31122025_05_30_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8311a777f281bdfb9a97cde786c483d0.jpg","text":"TemporaryFile(/tmp/multipartBody7066825376064401103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158943052,"filename":"image_31122025_05_30_35_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835591","file1":"1401835588","file0":"1401835585","file4":"1401835598","file5":"1401835602","file3":"1401835594"},"map_files_photo_id_array":[{"photo_id":"1401835602","filename":"file5"},{"photo_id":"1401835591","filename":"file2"},{"photo_id":"1401835598","filename":"file4"},{"photo_id":"1401835588","filename":"file1"},{"photo_id":"1401835585","filename":"file0"},{"photo_id":"1401835594","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835591":["hashtag1","hashtag2"]},{"1401835585":["hashtag1","hashtag2"]},{"1401835594":["hashtag1","hashtag2"]},{"1401835588":["hashtag1","hashtag2"]},{"1401835602":["hashtag1","hashtag2"]},{"1401835598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835591, 1401835585, 1401835594, 1401835588, 1401835602, 1401835598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0693736076355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:28:41.900253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_17_2651.jpg', '/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_20_3624.jpg', '/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_26_2698.jpg', '/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_50_2755.jpg', '/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_52_2657.jpg', '/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_56_3778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_17_2651.jpg
/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_20_3624.jpg
/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_26_2698.jpg
/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_50_2755.jpg
/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_52_2657.jpg
/home/pi/Desktop/images/02112025/22/57/image_02112025_22_57_56_3778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835613","1401835636","1401835620","1401835623","1401835617","1401835626"],"photo_ids_order":["1401835613","1401835617","1401835620","1401835623","1401835626","1401835636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbbc7f4ce3e9f312c6464d756ec5d1a6.jpg","text":"TemporaryFile(/tmp/multipartBody8001309422640695869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158983822,"filename":"image_02112025_22_57_17_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6cd934f321f2f72b2876fcbb29d96b0.jpg","text":"TemporaryFile(/tmp/multipartBody9182372569276827249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158983822,"filename":"image_02112025_22_57_56_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/984ba7e02a54fc1c365134e1ffb3e3f7.jpg","text":"TemporaryFile(/tmp/multipartBody2430905976167019792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158983822,"filename":"image_02112025_22_57_26_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c34ec7257a143eb49c00e4b1e1791421.jpg","text":"TemporaryFile(/tmp/multipartBody1145026386195122947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158983822,"filename":"image_02112025_22_57_50_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6a33ec8008819fa302d6824fe782760.jpg","text":"TemporaryFile(/tmp/multipartBody4255649135617154215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158983822,"filename":"image_02112025_22_57_20_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08b7c6d7ec444679cfb9f418fe868726.jpg","text":"TemporaryFile(/tmp/multipartBody3611624726094544594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767158983822,"filename":"image_02112025_22_57_52_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835620","file1":"1401835617","file0":"1401835613","file4":"1401835626","file5":"1401835636","file3":"1401835623"},"map_files_photo_id_array":[{"photo_id":"1401835636","filename":"file5"},{"photo_id":"1401835620","filename":"file2"},{"photo_id":"1401835626","filename":"file4"},{"photo_id":"1401835617","filename":"file1"},{"photo_id":"1401835613","filename":"file0"},{"photo_id":"1401835623","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835613":["hashtag1","hashtag2"]},{"1401835636":["hashtag1","hashtag2"]},{"1401835620":["hashtag1","hashtag2"]},{"1401835623":["hashtag1","hashtag2"]},{"1401835617":["hashtag1","hashtag2"]},{"1401835626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835613, 1401835636, 1401835620, 1401835623, 1401835617, 1401835626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79306221008301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:29:22.226722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_54_9672.jpg', '/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_14_9678.jpg', '/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_24_9685.jpg', '/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_34_10544.jpg', '/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_44_9636.jpg', '/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/30/image_31122025_05_30_54_9672.jpg
/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_14_9678.jpg
/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_24_9685.jpg
/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_34_10544.jpg
/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_44_9636.jpg
/home/pi/Desktop/images/31122025/05/31/image_31122025_05_31_54_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835651","1401835665","1401835647","1401835662","1401835656","1401835658"],"photo_ids_order":["1401835647","1401835651","1401835656","1401835658","1401835662","1401835665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9e03396f2c608b9980682c7093f9e97.jpg","text":"TemporaryFile(/tmp/multipartBody2026067792649801175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159022820,"filename":"image_31122025_05_31_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ada443a553ff20773a3e7694b669647.jpg","text":"TemporaryFile(/tmp/multipartBody1483143094477102882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159022820,"filename":"image_31122025_05_31_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01d0da1c0379057b0754b4de48642a72.jpg","text":"TemporaryFile(/tmp/multipartBody8730224888789093128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159022820,"filename":"image_31122025_05_30_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae3527e49db1ce6a41568054e9d3bb0c.jpg","text":"TemporaryFile(/tmp/multipartBody4328425186504654859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159022820,"filename":"image_31122025_05_31_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/defdb00bf06ed849b8796c6a3aac6d56.jpg","text":"TemporaryFile(/tmp/multipartBody3372518661598453263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159022820,"filename":"image_31122025_05_31_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a0b0ad4fdb9992398c7fb4ab91a7b64.jpg","text":"TemporaryFile(/tmp/multipartBody849091063217819578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159022820,"filename":"image_31122025_05_31_34_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835656","file1":"1401835651","file0":"1401835647","file4":"1401835662","file5":"1401835665","file3":"1401835658"},"map_files_photo_id_array":[{"photo_id":"1401835665","filename":"file5"},{"photo_id":"1401835656","filename":"file2"},{"photo_id":"1401835662","filename":"file4"},{"photo_id":"1401835651","filename":"file1"},{"photo_id":"1401835647","filename":"file0"},{"photo_id":"1401835658","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835651":["hashtag1","hashtag2"]},{"1401835665":["hashtag1","hashtag2"]},{"1401835647":["hashtag1","hashtag2"]},{"1401835662":["hashtag1","hashtag2"]},{"1401835656":["hashtag1","hashtag2"]},{"1401835658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835651, 1401835665, 1401835647, 1401835662, 1401835656, 1401835658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84004044532776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:30:02.703932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/31/image_31122025_05_32_05_10791.jpg', '/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_14_9582.jpg', '/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_24_9678.jpg', '/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_34_10690.jpg', '/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_44_9646.jpg', '/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_54_10029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/31/image_31122025_05_32_05_10791.jpg
/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_14_9582.jpg
/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_24_9678.jpg
/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_34_10690.jpg
/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_44_9646.jpg
/home/pi/Desktop/images/31122025/05/32/image_31122025_05_32_54_10029.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835703","1401835696","1401835698","1401835692","1401835701","1401835694"],"photo_ids_order":["1401835692","1401835694","1401835696","1401835698","1401835701","1401835703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0da6b778128ef82c81600f8cfea41182.jpg","text":"TemporaryFile(/tmp/multipartBody7178102750736091492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159088194,"filename":"image_31122025_05_32_54_10029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a8e4fe3a2e36e52fbad23ee5be8f374.jpg","text":"TemporaryFile(/tmp/multipartBody7195706199224188874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159088194,"filename":"image_31122025_05_32_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/723b3c3bcdd7eb5b8c2025c0e29e2669.jpg","text":"TemporaryFile(/tmp/multipartBody7540624457768547831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159088194,"filename":"image_31122025_05_32_34_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/457326f0d1abd564f0731c300e998468.jpg","text":"TemporaryFile(/tmp/multipartBody3809363246223144604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159088194,"filename":"image_31122025_05_32_05_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73c1cb3eeae171332ebf333b5cf8da2b.jpg","text":"TemporaryFile(/tmp/multipartBody8979462449048056137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159088194,"filename":"image_31122025_05_32_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30103c3f3f1d11c6fcd4594d863762cf.jpg","text":"TemporaryFile(/tmp/multipartBody6272834107281422748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159088194,"filename":"image_31122025_05_32_14_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835696","file1":"1401835694","file0":"1401835692","file4":"1401835701","file5":"1401835703","file3":"1401835698"},"map_files_photo_id_array":[{"photo_id":"1401835703","filename":"file5"},{"photo_id":"1401835696","filename":"file2"},{"photo_id":"1401835701","filename":"file4"},{"photo_id":"1401835694","filename":"file1"},{"photo_id":"1401835692","filename":"file0"},{"photo_id":"1401835698","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835703":["hashtag1","hashtag2"]},{"1401835696":["hashtag1","hashtag2"]},{"1401835698":["hashtag1","hashtag2"]},{"1401835692":["hashtag1","hashtag2"]},{"1401835701":["hashtag1","hashtag2"]},{"1401835694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835703, 1401835696, 1401835698, 1401835692, 1401835701, 1401835694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.46875476837158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:31:12.439930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_11_2628.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_17_3550.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_19_2616.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_22_2850.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_26_3716.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_29_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_11_2628.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_17_3550.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_19_2616.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_22_2850.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_26_3716.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_29_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835739","1401835724","1401835733","1401835727","1401835741","1401835737"],"photo_ids_order":["1401835724","1401835727","1401835733","1401835737","1401835739","1401835741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8a6c4b5271ffaecdb87246e1ece2864.jpg","text":"TemporaryFile(/tmp/multipartBody993585134106200646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159134283,"filename":"image_02112025_22_58_26_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec58501b8eef65ab7db1eb4ac694f586.jpg","text":"TemporaryFile(/tmp/multipartBody2258220001007489755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159134283,"filename":"image_02112025_22_58_11_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70b93c38242193d44b19f82b534d6b01.jpg","text":"TemporaryFile(/tmp/multipartBody2137991808044347400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159134283,"filename":"image_02112025_22_58_19_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd1a6a3a1b5fe71f5e2bf42bdb125b89.jpg","text":"TemporaryFile(/tmp/multipartBody4635664235445450265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159134283,"filename":"image_02112025_22_58_17_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13421c296339ec28ab6175f63697a787.jpg","text":"TemporaryFile(/tmp/multipartBody2005701843241571153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159134283,"filename":"image_02112025_22_58_29_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/425ccea9bddbedf67bfbe04056a25bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2534588851304477740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159134283,"filename":"image_02112025_22_58_22_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835733","file1":"1401835727","file0":"1401835724","file4":"1401835739","file5":"1401835741","file3":"1401835737"},"map_files_photo_id_array":[{"photo_id":"1401835741","filename":"file5"},{"photo_id":"1401835733","filename":"file2"},{"photo_id":"1401835739","filename":"file4"},{"photo_id":"1401835727","filename":"file1"},{"photo_id":"1401835724","filename":"file0"},{"photo_id":"1401835737","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835739":["hashtag1","hashtag2"]},{"1401835724":["hashtag1","hashtag2"]},{"1401835733":["hashtag1","hashtag2"]},{"1401835727":["hashtag1","hashtag2"]},{"1401835741":["hashtag1","hashtag2"]},{"1401835737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835739, 1401835724, 1401835733, 1401835727, 1401835741, 1401835737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.907437562942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:32:03.195770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_15_10817.jpg', '/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_24_9649.jpg', '/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_34_9605.jpg', '/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_44_10660.jpg', '/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_54_9648.jpg', '/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_09_14833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_15_10817.jpg
/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_24_9649.jpg
/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_34_9605.jpg
/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_44_10660.jpg
/home/pi/Desktop/images/31122025/05/33/image_31122025_05_33_54_9648.jpg
/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_09_14833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835753","1401835756","1401835750","1401835758","1401835760","1401835763"],"photo_ids_order":["1401835750","1401835753","1401835756","1401835758","1401835760","1401835763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fed068bc7e53a89c65b7f231992d895f.jpg","text":"TemporaryFile(/tmp/multipartBody1423045771125806311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159183847,"filename":"image_31122025_05_33_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8f0cfb620d187bf21e2020a31bc50d6.jpg","text":"TemporaryFile(/tmp/multipartBody4984133484071206462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159183847,"filename":"image_31122025_05_33_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89eb06ea36dc9fe60057288d2ec4c129.jpg","text":"TemporaryFile(/tmp/multipartBody4587354985679388101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159183847,"filename":"image_31122025_05_33_15_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f65cf6793c54807f3ec812d6a0b77254.jpg","text":"TemporaryFile(/tmp/multipartBody4097747588568764275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159183847,"filename":"image_31122025_05_33_44_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7c87a14ee2e1db0df1996900ca27629.jpg","text":"TemporaryFile(/tmp/multipartBody7070798412540727134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159183847,"filename":"image_31122025_05_33_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27143bae86ab29d5554808c257ba2a20.jpg","text":"TemporaryFile(/tmp/multipartBody2387628431714763125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159183847,"filename":"image_31122025_05_34_09_14833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835756","file1":"1401835753","file0":"1401835750","file4":"1401835760","file5":"1401835763","file3":"1401835758"},"map_files_photo_id_array":[{"photo_id":"1401835763","filename":"file5"},{"photo_id":"1401835756","filename":"file2"},{"photo_id":"1401835760","filename":"file4"},{"photo_id":"1401835753","filename":"file1"},{"photo_id":"1401835750","filename":"file0"},{"photo_id":"1401835758","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835753":["hashtag1","hashtag2"]},{"1401835756":["hashtag1","hashtag2"]},{"1401835750":["hashtag1","hashtag2"]},{"1401835758":["hashtag1","hashtag2"]},{"1401835760":["hashtag1","hashtag2"]},{"1401835763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835753, 1401835756, 1401835750, 1401835758, 1401835760, 1401835763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.779547452926636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:32:42.594337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_34_2826.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_38_3570.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_43_2631.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_50_2722.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_10_2636.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_13_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_34_2826.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_38_3570.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_43_2631.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_50_2722.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_10_2636.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_13_2656.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.746699333190918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:33:02.439818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_14_4801.jpg', '/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_25_10750.jpg', '/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_34_9726.jpg', '/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_54_9819.jpg', '/home/pi/Desktop/images/31122025/05/34/image_31122025_05_35_04_10639.jpg', '/home/pi/Desktop/images/31122025/05/35/image_31122025_05_35_14_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_14_4801.jpg
/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_25_10750.jpg
/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_34_9726.jpg
/home/pi/Desktop/images/31122025/05/34/image_31122025_05_34_54_9819.jpg
/home/pi/Desktop/images/31122025/05/34/image_31122025_05_35_04_10639.jpg
/home/pi/Desktop/images/31122025/05/35/image_31122025_05_35_14_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835802","1401835801","1401835804","1401835813","1401835809","1401835799"],"photo_ids_order":["1401835799","1401835801","1401835802","1401835804","1401835809","1401835813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbfa16f73ccaa00f160a6ba06694cb38.jpg","text":"TemporaryFile(/tmp/multipartBody3483962549318362194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159243088,"filename":"image_31122025_05_34_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24c0b50de72b720e32377d84fdf3af6c.jpg","text":"TemporaryFile(/tmp/multipartBody8365188201130727120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159243088,"filename":"image_31122025_05_34_25_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b142f28ee6b6f2ce3b98ecd5ee005927.jpg","text":"TemporaryFile(/tmp/multipartBody3147796046069364748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159243088,"filename":"image_31122025_05_34_54_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba2b6157ca9cab0507f986d6907ffde6.jpg","text":"TemporaryFile(/tmp/multipartBody2417583674619696439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159243088,"filename":"image_31122025_05_35_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2a46530dd2b8ada0e4a2e847e487350.jpg","text":"TemporaryFile(/tmp/multipartBody5340236363935111871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159243088,"filename":"image_31122025_05_35_04_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d06aa6917aac3627b716eee23d45c8e3.jpg","text":"TemporaryFile(/tmp/multipartBody941412687286891434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159243088,"filename":"image_31122025_05_34_14_4801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835802","file1":"1401835801","file0":"1401835799","file4":"1401835809","file5":"1401835813","file3":"1401835804"},"map_files_photo_id_array":[{"photo_id":"1401835813","filename":"file5"},{"photo_id":"1401835802","filename":"file2"},{"photo_id":"1401835809","filename":"file4"},{"photo_id":"1401835801","filename":"file1"},{"photo_id":"1401835799","filename":"file0"},{"photo_id":"1401835804","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835802":["hashtag1","hashtag2"]},{"1401835801":["hashtag1","hashtag2"]},{"1401835804":["hashtag1","hashtag2"]},{"1401835813":["hashtag1","hashtag2"]},{"1401835809":["hashtag1","hashtag2"]},{"1401835799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835802, 1401835801, 1401835804, 1401835813, 1401835809, 1401835799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09292030334473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:33:41.875339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_34_2826.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_38_3570.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_43_2631.jpg', '/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_50_2722.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_10_2636.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_13_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_34_2826.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_38_3570.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_43_2631.jpg
/home/pi/Desktop/images/02112025/22/58/image_02112025_22_58_50_2722.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_10_2636.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_13_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835832","1401835828","1401835837","1401835839","1401835824","1401835841"],"photo_ids_order":["1401835824","1401835828","1401835832","1401835837","1401835839","1401835841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d455a0b6329c0a9be49dd35c4f8cf384.jpg","text":"TemporaryFile(/tmp/multipartBody6982449153078877258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159283711,"filename":"image_02112025_22_58_43_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a64f06927ea429076395abdc3c6473d.jpg","text":"TemporaryFile(/tmp/multipartBody8260544948899583364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159283711,"filename":"image_02112025_22_58_38_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6ba5887e09fb01d17e67433225faf9b.jpg","text":"TemporaryFile(/tmp/multipartBody7304098407736686626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159283711,"filename":"image_02112025_22_58_50_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f4bb58b7572b097abf3a1849021e5a8.jpg","text":"TemporaryFile(/tmp/multipartBody1446155397566449787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159283711,"filename":"image_02112025_22_59_10_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5170c1635ccc1d50686e8385dcd81a78.jpg","text":"TemporaryFile(/tmp/multipartBody6162231493692595933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159283711,"filename":"image_02112025_22_58_34_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/088bec6cf885b7b54a46a8000eb9987a.jpg","text":"TemporaryFile(/tmp/multipartBody3819011855243542289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159283711,"filename":"image_02112025_22_59_13_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835832","file1":"1401835828","file0":"1401835824","file4":"1401835839","file5":"1401835841","file3":"1401835837"},"map_files_photo_id_array":[{"photo_id":"1401835841","filename":"file5"},{"photo_id":"1401835832","filename":"file2"},{"photo_id":"1401835839","filename":"file4"},{"photo_id":"1401835828","filename":"file1"},{"photo_id":"1401835824","filename":"file0"},{"photo_id":"1401835837","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835832":["hashtag1","hashtag2"]},{"1401835828":["hashtag1","hashtag2"]},{"1401835837":["hashtag1","hashtag2"]},{"1401835839":["hashtag1","hashtag2"]},{"1401835824":["hashtag1","hashtag2"]},{"1401835841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835832, 1401835828, 1401835837, 1401835839, 1401835824, 1401835841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5818977355957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:34:21.942045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/35/image_31122025_05_35_24_9756.jpg', '/home/pi/Desktop/images/31122025/05/35/image_31122025_05_35_34_10741.jpg', '/home/pi/Desktop/images/31122025/05/35/image_31122025_05_35_44_9294.jpg', '/home/pi/Desktop/images/31122025/05/35/image_31122025_05_36_04_9619.jpg', '/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_15_10703.jpg', '/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_24_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/35/image_31122025_05_35_24_9756.jpg
/home/pi/Desktop/images/31122025/05/35/image_31122025_05_35_34_10741.jpg
/home/pi/Desktop/images/31122025/05/35/image_31122025_05_35_44_9294.jpg
/home/pi/Desktop/images/31122025/05/35/image_31122025_05_36_04_9619.jpg
/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_15_10703.jpg
/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_24_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835852","1401835861","1401835855","1401835849","1401835869","1401835866"],"photo_ids_order":["1401835849","1401835852","1401835855","1401835861","1401835866","1401835869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd86638bf611e1801a83ddcc90738d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5306987063817156973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159322504,"filename":"image_31122025_05_35_34_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3215032c7eb215e20bb85dc5c17a12ab.jpg","text":"TemporaryFile(/tmp/multipartBody3579087820449789837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159322504,"filename":"image_31122025_05_36_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2460d4e828915268cd30d725af933ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6984399959071284281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159322504,"filename":"image_31122025_05_35_44_9294.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97dfedb1d30b852119b11fa969d44e31.jpg","text":"TemporaryFile(/tmp/multipartBody2917312764176692787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159322504,"filename":"image_31122025_05_35_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eedbff2dadf685781c554aaa79277c4d.jpg","text":"TemporaryFile(/tmp/multipartBody9091256332444519002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159322504,"filename":"image_31122025_05_36_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e75b756f062d9c88e7ecc948bc2d446.jpg","text":"TemporaryFile(/tmp/multipartBody8888773060519890323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159322504,"filename":"image_31122025_05_36_15_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835855","file1":"1401835852","file0":"1401835849","file4":"1401835866","file5":"1401835869","file3":"1401835861"},"map_files_photo_id_array":[{"photo_id":"1401835869","filename":"file5"},{"photo_id":"1401835855","filename":"file2"},{"photo_id":"1401835866","filename":"file4"},{"photo_id":"1401835852","filename":"file1"},{"photo_id":"1401835849","filename":"file0"},{"photo_id":"1401835861","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835852":["hashtag1","hashtag2"]},{"1401835861":["hashtag1","hashtag2"]},{"1401835855":["hashtag1","hashtag2"]},{"1401835849":["hashtag1","hashtag2"]},{"1401835869":["hashtag1","hashtag2"]},{"1401835866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835852, 1401835861, 1401835855, 1401835849, 1401835869, 1401835866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18420100212097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:35:02.987481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_34_9714.jpg', '/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_44_9675.jpg', '/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_55_10681.jpg', '/home/pi/Desktop/images/31122025/05/36/image_31122025_05_37_04_9755.jpg', '/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_14_9662.jpg', '/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_26_12386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_34_9714.jpg
/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_44_9675.jpg
/home/pi/Desktop/images/31122025/05/36/image_31122025_05_36_55_10681.jpg
/home/pi/Desktop/images/31122025/05/36/image_31122025_05_37_04_9755.jpg
/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_14_9662.jpg
/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_26_12386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835876","1401835893","1401835896","1401835884","1401835898","1401835902"],"photo_ids_order":["1401835876","1401835884","1401835893","1401835896","1401835898","1401835902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f3ba1f4a5c793022fa18001cf6f27f4.jpg","text":"TemporaryFile(/tmp/multipartBody1036549607434132412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159363647,"filename":"image_31122025_05_36_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7c07cb7290a3d7b3b2b41377d54613b.jpg","text":"TemporaryFile(/tmp/multipartBody5864315294219228023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159363647,"filename":"image_31122025_05_36_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e4790975c095008844225e186a88df9.jpg","text":"TemporaryFile(/tmp/multipartBody7521415382682995720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159363647,"filename":"image_31122025_05_37_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ed8603004f0ca14c0e544f3c161e7b9.jpg","text":"TemporaryFile(/tmp/multipartBody1300846569081152461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159363647,"filename":"image_31122025_05_36_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d6b2760e89db639457b84494ae2bf41.jpg","text":"TemporaryFile(/tmp/multipartBody683944152509661759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159363647,"filename":"image_31122025_05_37_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5169563af7fc4af8243744fb57e6b77e.jpg","text":"TemporaryFile(/tmp/multipartBody3844215894770083699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159363647,"filename":"image_31122025_05_37_26_12386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835893","file1":"1401835884","file0":"1401835876","file4":"1401835898","file5":"1401835902","file3":"1401835896"},"map_files_photo_id_array":[{"photo_id":"1401835902","filename":"file5"},{"photo_id":"1401835893","filename":"file2"},{"photo_id":"1401835898","filename":"file4"},{"photo_id":"1401835884","filename":"file1"},{"photo_id":"1401835876","filename":"file0"},{"photo_id":"1401835896","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835876":["hashtag1","hashtag2"]},{"1401835893":["hashtag1","hashtag2"]},{"1401835896":["hashtag1","hashtag2"]},{"1401835884":["hashtag1","hashtag2"]},{"1401835898":["hashtag1","hashtag2"]},{"1401835902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835876, 1401835893, 1401835896, 1401835884, 1401835898, 1401835902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.365967750549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:35:42.443612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_26_3709.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_28_2633.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_40_2716.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_44_3556.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_46_2771.jpg', '/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_53_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_26_3709.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_28_2633.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_40_2716.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_44_3556.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_46_2771.jpg
/home/pi/Desktop/images/02112025/22/59/image_02112025_22_59_53_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835919","1401835915","1401835918","1401835911","1401835920","1401835917"],"photo_ids_order":["1401835911","1401835915","1401835917","1401835918","1401835919","1401835920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80bda96ef0eeca6bef857069aeb41a34.jpg","text":"TemporaryFile(/tmp/multipartBody8577150681058327954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159404357,"filename":"image_02112025_22_59_46_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/972aed15cb52ebfe1371520a5e3618a8.jpg","text":"TemporaryFile(/tmp/multipartBody8211388112146240330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159404357,"filename":"image_02112025_22_59_28_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e28e2f46d7965ae9c2c3b1dc8db94a3.jpg","text":"TemporaryFile(/tmp/multipartBody443309365510562076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159404357,"filename":"image_02112025_22_59_44_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0de9f226c2afd90f77cb123b1d62dfef.jpg","text":"TemporaryFile(/tmp/multipartBody4577536755129250743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159404357,"filename":"image_02112025_22_59_26_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7817ebf897bb60596f38926c893ae6fe.jpg","text":"TemporaryFile(/tmp/multipartBody6525409563262423161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159404357,"filename":"image_02112025_22_59_53_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97eddcf7f642ce4123615cc0293b8d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5961725978807598167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159404357,"filename":"image_02112025_22_59_40_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835917","file1":"1401835915","file0":"1401835911","file4":"1401835919","file5":"1401835920","file3":"1401835918"},"map_files_photo_id_array":[{"photo_id":"1401835920","filename":"file5"},{"photo_id":"1401835917","filename":"file2"},{"photo_id":"1401835919","filename":"file4"},{"photo_id":"1401835915","filename":"file1"},{"photo_id":"1401835911","filename":"file0"},{"photo_id":"1401835918","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401835919":["hashtag1","hashtag2"]},{"1401835915":["hashtag1","hashtag2"]},{"1401835918":["hashtag1","hashtag2"]},{"1401835911":["hashtag1","hashtag2"]},{"1401835920":["hashtag1","hashtag2"]},{"1401835917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401835919, 1401835915, 1401835918, 1401835911, 1401835920, 1401835917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.908180952072144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:36:22.648712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_35_8181.jpg', '/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_44_9845.jpg', '/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_54_9543.jpg', '/home/pi/Desktop/images/31122025/05/37/image_31122025_05_38_04_10590.jpg', '/home/pi/Desktop/images/31122025/05/38/image_31122025_05_38_14_9536.jpg', '/home/pi/Desktop/images/31122025/05/38/image_31122025_05_38_24_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_35_8181.jpg
/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_44_9845.jpg
/home/pi/Desktop/images/31122025/05/37/image_31122025_05_37_54_9543.jpg
/home/pi/Desktop/images/31122025/05/37/image_31122025_05_38_04_10590.jpg
/home/pi/Desktop/images/31122025/05/38/image_31122025_05_38_14_9536.jpg
/home/pi/Desktop/images/31122025/05/38/image_31122025_05_38_24_9872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835943","1401835931","1401835950","1401835947","1401835929","1401835934"],"photo_ids_order":["1401835929","1401835931","1401835934","1401835943","1401835947","1401835950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8880dbcbd203f7a53970f8c5f93a2aec.jpg","text":"TemporaryFile(/tmp/multipartBody3685285071396167273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159443243,"filename":"image_31122025_05_38_04_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd6a962e875941c11f2a5aba2daa6145.jpg","text":"TemporaryFile(/tmp/multipartBody5669220328968275805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159443243,"filename":"image_31122025_05_37_44_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3feb1ea15e491edc51798ee9abfe263.jpg","text":"TemporaryFile(/tmp/multipartBody2214884473628947306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159443243,"filename":"image_31122025_05_38_24_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97ee278413f7c395f65cbd42a469087e.jpg","text":"TemporaryFile(/tmp/multipartBody651784679200672298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159443243,"filename":"image_31122025_05_38_14_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc28cf39d0788155f1ee6dea62d6493e.jpg","text":"TemporaryFile(/tmp/multipartBody5861180625668845917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159443243,"filename":"image_31122025_05_37_35_8181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4af61b0e2eef8c4699af2073443116c5.jpg","text":"TemporaryFile(/tmp/multipartBody3109495069224925241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159443243,"filename":"image_31122025_05_37_54_9543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835934","file1":"1401835931","file0":"1401835929","file4":"1401835947","file5":"1401835950","file3":"1401835943"},"map_files_photo_id_array":[{"photo_id":"1401835950","filename":"file5"},{"photo_id":"1401835934","filename":"file2"},{"photo_id":"1401835947","filename":"file4"},{"photo_id":"1401835931","filename":"file1"},{"photo_id":"1401835929","filename":"file0"},{"photo_id":"1401835943","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835943":["hashtag1","hashtag2"]},{"1401835931":["hashtag1","hashtag2"]},{"1401835950":["hashtag1","hashtag2"]},{"1401835947":["hashtag1","hashtag2"]},{"1401835929":["hashtag1","hashtag2"]},{"1401835934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835943, 1401835931, 1401835950, 1401835947, 1401835929, 1401835934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.116596698760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:37:03.344615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/38/image_31122025_05_38_37_12734.jpg', '/home/pi/Desktop/images/31122025/05/38/image_31122025_05_38_54_9755.jpg', '/home/pi/Desktop/images/31122025/05/38/image_31122025_05_39_05_10569.jpg', '/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_14_9598.jpg', '/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_24_9554.jpg', '/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_34_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/38/image_31122025_05_38_37_12734.jpg
/home/pi/Desktop/images/31122025/05/38/image_31122025_05_38_54_9755.jpg
/home/pi/Desktop/images/31122025/05/38/image_31122025_05_39_05_10569.jpg
/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_14_9598.jpg
/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_24_9554.jpg
/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_34_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401835987","1401835992","1401835977","1401835962","1401835952","1401835955"],"photo_ids_order":["1401835952","1401835955","1401835962","1401835977","1401835987","1401835992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ba9d9283b11e49a9c4ee9ca3f6168e8.jpg","text":"TemporaryFile(/tmp/multipartBody301558330395364119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159483988,"filename":"image_31122025_05_39_24_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b8bc86917becada4cbb9141ae3ef510.jpg","text":"TemporaryFile(/tmp/multipartBody8653926982231803521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159483988,"filename":"image_31122025_05_39_34_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78bf476f92005520546474a47bea43f0.jpg","text":"TemporaryFile(/tmp/multipartBody1291851318813554989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159483988,"filename":"image_31122025_05_39_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09951f027a1e104e6d9d0ba345165e81.jpg","text":"TemporaryFile(/tmp/multipartBody5455652592405074568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159483988,"filename":"image_31122025_05_39_05_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/776c6892ca48c79a81070574047bd11c.jpg","text":"TemporaryFile(/tmp/multipartBody2342444669420104583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159483988,"filename":"image_31122025_05_38_37_12734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa9a38d7c7bf3458f0986cbad7b86ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3665209363560073960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159483988,"filename":"image_31122025_05_38_54_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401835962","file1":"1401835955","file0":"1401835952","file4":"1401835987","file5":"1401835992","file3":"1401835977"},"map_files_photo_id_array":[{"photo_id":"1401835992","filename":"file5"},{"photo_id":"1401835962","filename":"file2"},{"photo_id":"1401835987","filename":"file4"},{"photo_id":"1401835955","filename":"file1"},{"photo_id":"1401835952","filename":"file0"},{"photo_id":"1401835977","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401835987":["hashtag1","hashtag2"]},{"1401835992":["hashtag1","hashtag2"]},{"1401835977":["hashtag1","hashtag2"]},{"1401835962":["hashtag1","hashtag2"]},{"1401835952":["hashtag1","hashtag2"]},{"1401835955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401835987, 1401835992, 1401835977, 1401835962, 1401835952, 1401835955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26408386230469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:37:42.774412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_20_3686.jpg', '/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_22_2665.jpg', '/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_25_2735.jpg', '/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_32_3669.jpg', '/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_37_2569.jpg', '/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_41_3852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_20_3686.jpg
/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_22_2665.jpg
/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_25_2735.jpg
/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_32_3669.jpg
/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_37_2569.jpg
/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_41_3852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836012","1401836000","1401836014","1401836002","1401836004","1401835998"],"photo_ids_order":["1401835998","1401836000","1401836002","1401836004","1401836012","1401836014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/625ae116bc0ba7a2f5381b64f04b8c84.jpg","text":"TemporaryFile(/tmp/multipartBody4671232084560663924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159524749,"filename":"image_02112025_23_00_37_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e41cfab743ef7f333bc9a6193c82a37.jpg","text":"TemporaryFile(/tmp/multipartBody7625761896282192367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159524749,"filename":"image_02112025_23_00_22_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a83aa33e7dd0b83b702eb7f676e1c318.jpg","text":"TemporaryFile(/tmp/multipartBody5752219343622884737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159524749,"filename":"image_02112025_23_00_41_3852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a9026ea928543b90218dd3dded2764a.jpg","text":"TemporaryFile(/tmp/multipartBody417542075238583961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159524749,"filename":"image_02112025_23_00_25_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7579dfa0dc6d2d684c82fe64191b3fc7.jpg","text":"TemporaryFile(/tmp/multipartBody7817004286979548816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159524749,"filename":"image_02112025_23_00_32_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b980b52994b4c0790f0b35990ef0024.jpg","text":"TemporaryFile(/tmp/multipartBody7311745707546357436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159524749,"filename":"image_02112025_23_00_20_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836002","file1":"1401836000","file0":"1401835998","file4":"1401836012","file5":"1401836014","file3":"1401836004"},"map_files_photo_id_array":[{"photo_id":"1401836014","filename":"file5"},{"photo_id":"1401836002","filename":"file2"},{"photo_id":"1401836012","filename":"file4"},{"photo_id":"1401836000","filename":"file1"},{"photo_id":"1401835998","filename":"file0"},{"photo_id":"1401836004","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836012":["hashtag1","hashtag2"]},{"1401836000":["hashtag1","hashtag2"]},{"1401836014":["hashtag1","hashtag2"]},{"1401836002":["hashtag1","hashtag2"]},{"1401836004":["hashtag1","hashtag2"]},{"1401835998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836012, 1401836000, 1401836014, 1401836002, 1401836004, 1401835998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.182276248931885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:38:21.976310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_44_9581.jpg', '/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_54_10019.jpg', '/home/pi/Desktop/images/31122025/05/39/image_31122025_05_40_04_9681.jpg', '/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_14_10674.jpg', '/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_24_9755.jpg', '/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_34_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_44_9581.jpg
/home/pi/Desktop/images/31122025/05/39/image_31122025_05_39_54_10019.jpg
/home/pi/Desktop/images/31122025/05/39/image_31122025_05_40_04_9681.jpg
/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_14_10674.jpg
/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_24_9755.jpg
/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_34_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836032","1401836035","1401836022","1401836019","1401836028","1401836039"],"photo_ids_order":["1401836019","1401836022","1401836028","1401836032","1401836035","1401836039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36f19dfbaba87910cda860e18620db9f.jpg","text":"TemporaryFile(/tmp/multipartBody4314841309086021773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159562567,"filename":"image_31122025_05_40_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bdcfea026534189e9c379ed573fa5f2.jpg","text":"TemporaryFile(/tmp/multipartBody7491057713874508789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159562567,"filename":"image_31122025_05_40_24_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9cc304e7539e5002a5eb4e672e34ff5.jpg","text":"TemporaryFile(/tmp/multipartBody7801354716687788788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159562567,"filename":"image_31122025_05_39_54_10019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07e572a7ff59e5858886a7d6b3755fba.jpg","text":"TemporaryFile(/tmp/multipartBody6323349695013142024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159562567,"filename":"image_31122025_05_39_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8006dd8f816fe323d0092e7176ec2ae.jpg","text":"TemporaryFile(/tmp/multipartBody4972233278395278724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159562567,"filename":"image_31122025_05_40_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/288a2f0276b08b33f87ed79b354a7b6a.jpg","text":"TemporaryFile(/tmp/multipartBody7205199137809207208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159562567,"filename":"image_31122025_05_40_34_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836028","file1":"1401836022","file0":"1401836019","file4":"1401836035","file5":"1401836039","file3":"1401836032"},"map_files_photo_id_array":[{"photo_id":"1401836039","filename":"file5"},{"photo_id":"1401836028","filename":"file2"},{"photo_id":"1401836035","filename":"file4"},{"photo_id":"1401836022","filename":"file1"},{"photo_id":"1401836019","filename":"file0"},{"photo_id":"1401836032","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836032":["hashtag1","hashtag2"]},{"1401836035":["hashtag1","hashtag2"]},{"1401836022":["hashtag1","hashtag2"]},{"1401836019":["hashtag1","hashtag2"]},{"1401836028":["hashtag1","hashtag2"]},{"1401836039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836032, 1401836035, 1401836022, 1401836019, 1401836028, 1401836039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67704749107361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:39:03.084792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_45_10765.jpg', '/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_54_9650.jpg', '/home/pi/Desktop/images/31122025/05/40/image_31122025_05_41_04_9688.jpg', '/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_14_10616.jpg', '/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_24_9566.jpg', '/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_35_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_45_10765.jpg
/home/pi/Desktop/images/31122025/05/40/image_31122025_05_40_54_9650.jpg
/home/pi/Desktop/images/31122025/05/40/image_31122025_05_41_04_9688.jpg
/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_14_10616.jpg
/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_24_9566.jpg
/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_35_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836062","1401836065","1401836059","1401836068","1401836061","1401836063"],"photo_ids_order":["1401836059","1401836061","1401836062","1401836063","1401836065","1401836068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a39e1870310531f8792788502249c35.jpg","text":"TemporaryFile(/tmp/multipartBody6247850235194552202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159603955,"filename":"image_31122025_05_41_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ea8290e907a8b0296083f541ce0a895.jpg","text":"TemporaryFile(/tmp/multipartBody4961586725774289655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159603955,"filename":"image_31122025_05_41_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d334c7dd38c2b7afc504caa94e420736.jpg","text":"TemporaryFile(/tmp/multipartBody8687039863856503093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159603955,"filename":"image_31122025_05_40_45_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8bac33c16d2f6b0e8be8abf945a1a05.jpg","text":"TemporaryFile(/tmp/multipartBody5198124827258429448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159603955,"filename":"image_31122025_05_41_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03843ece2fc65bfac572a42d5d5bbf87.jpg","text":"TemporaryFile(/tmp/multipartBody2663521276084021737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159603955,"filename":"image_31122025_05_40_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/384407153934fe1443ed1069bfe67a99.jpg","text":"TemporaryFile(/tmp/multipartBody411203342780618327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159603955,"filename":"image_31122025_05_41_14_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836062","file1":"1401836061","file0":"1401836059","file4":"1401836065","file5":"1401836068","file3":"1401836063"},"map_files_photo_id_array":[{"photo_id":"1401836068","filename":"file5"},{"photo_id":"1401836062","filename":"file2"},{"photo_id":"1401836065","filename":"file4"},{"photo_id":"1401836061","filename":"file1"},{"photo_id":"1401836059","filename":"file0"},{"photo_id":"1401836063","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836062":["hashtag1","hashtag2"]},{"1401836065":["hashtag1","hashtag2"]},{"1401836059":["hashtag1","hashtag2"]},{"1401836068":["hashtag1","hashtag2"]},{"1401836061":["hashtag1","hashtag2"]},{"1401836063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836062, 1401836065, 1401836059, 1401836068, 1401836061, 1401836063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33374309539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:39:42.091697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_53_3589.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_04_2584.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_07_2681.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_11_3715.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_16_2707.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_20_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/00/image_02112025_23_00_53_3589.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_04_2584.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_07_2681.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_11_3715.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_16_2707.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_20_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836080","1401836097","1401836096","1401836090","1401836084","1401836093"],"photo_ids_order":["1401836080","1401836084","1401836090","1401836093","1401836096","1401836097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5219b664847f4924752c3c1f4299a9fb.jpg","text":"TemporaryFile(/tmp/multipartBody5288380262775977714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159644048,"filename":"image_02112025_23_00_53_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd5b7b3508d7fcb26192bc50585c3424.jpg","text":"TemporaryFile(/tmp/multipartBody4806389324124154938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159644048,"filename":"image_02112025_23_01_20_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06cfa79b11541d74b568a21efccd4d31.jpg","text":"TemporaryFile(/tmp/multipartBody2328087977158598521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159644048,"filename":"image_02112025_23_01_16_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54061086b5cc922ce230c83fac4a6789.jpg","text":"TemporaryFile(/tmp/multipartBody813398525364309351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159644048,"filename":"image_02112025_23_01_07_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f747a514f078c67957b577a6e431f13.jpg","text":"TemporaryFile(/tmp/multipartBody3086810275881870237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159644048,"filename":"image_02112025_23_01_04_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acb5764bf522e683295dbe37feac14c7.jpg","text":"TemporaryFile(/tmp/multipartBody1235627794481828601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159644048,"filename":"image_02112025_23_01_11_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836090","file1":"1401836084","file0":"1401836080","file4":"1401836096","file5":"1401836097","file3":"1401836093"},"map_files_photo_id_array":[{"photo_id":"1401836097","filename":"file5"},{"photo_id":"1401836090","filename":"file2"},{"photo_id":"1401836096","filename":"file4"},{"photo_id":"1401836084","filename":"file1"},{"photo_id":"1401836080","filename":"file0"},{"photo_id":"1401836093","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836080":["hashtag1","hashtag2"]},{"1401836097":["hashtag1","hashtag2"]},{"1401836096":["hashtag1","hashtag2"]},{"1401836090":["hashtag1","hashtag2"]},{"1401836084":["hashtag1","hashtag2"]},{"1401836093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836080, 1401836097, 1401836096, 1401836090, 1401836084, 1401836093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.628560066223145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:40:22.221739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_44_9578.jpg', '/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_54_9740.jpg', '/home/pi/Desktop/images/31122025/05/42/image_31122025_05_42_06_11892.jpg', '/home/pi/Desktop/images/31122025/05/42/image_31122025_05_42_15_8770.jpg', '/home/pi/Desktop/images/31122025/05/42/image_31122025_05_42_54_9571.jpg', '/home/pi/Desktop/images/31122025/05/42/image_31122025_05_43_04_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_44_9578.jpg
/home/pi/Desktop/images/31122025/05/41/image_31122025_05_41_54_9740.jpg
/home/pi/Desktop/images/31122025/05/42/image_31122025_05_42_06_11892.jpg
/home/pi/Desktop/images/31122025/05/42/image_31122025_05_42_15_8770.jpg
/home/pi/Desktop/images/31122025/05/42/image_31122025_05_42_54_9571.jpg
/home/pi/Desktop/images/31122025/05/42/image_31122025_05_43_04_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836110","1401836121","1401836124","1401836127","1401836106","1401836115"],"photo_ids_order":["1401836106","1401836110","1401836115","1401836121","1401836124","1401836127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/663cae713a4bbb3d0163d30368b5000d.jpg","text":"TemporaryFile(/tmp/multipartBody54343995709156036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159682823,"filename":"image_31122025_05_41_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14b0b27fc97b0f304e92e4be9b05bd33.jpg","text":"TemporaryFile(/tmp/multipartBody3629355293381013084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159682823,"filename":"image_31122025_05_42_15_8770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba95c0a5c415cfd5cd874020d5ef143d.jpg","text":"TemporaryFile(/tmp/multipartBody3496265705634290533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159682823,"filename":"image_31122025_05_42_54_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d982d18837360cbbe13df8438ca6ec6b.jpg","text":"TemporaryFile(/tmp/multipartBody6835407060175502011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159682823,"filename":"image_31122025_05_43_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d273247b9064387c8b2e8dd39e5bb67d.jpg","text":"TemporaryFile(/tmp/multipartBody7164212186905872333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159682823,"filename":"image_31122025_05_41_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa190c50e08155351f75ede47c430913.jpg","text":"TemporaryFile(/tmp/multipartBody8312694338911072646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159682823,"filename":"image_31122025_05_42_06_11892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836115","file1":"1401836110","file0":"1401836106","file4":"1401836124","file5":"1401836127","file3":"1401836121"},"map_files_photo_id_array":[{"photo_id":"1401836127","filename":"file5"},{"photo_id":"1401836115","filename":"file2"},{"photo_id":"1401836124","filename":"file4"},{"photo_id":"1401836110","filename":"file1"},{"photo_id":"1401836106","filename":"file0"},{"photo_id":"1401836121","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836110":["hashtag1","hashtag2"]},{"1401836121":["hashtag1","hashtag2"]},{"1401836124":["hashtag1","hashtag2"]},{"1401836127":["hashtag1","hashtag2"]},{"1401836106":["hashtag1","hashtag2"]},{"1401836115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836110, 1401836121, 1401836124, 1401836127, 1401836106, 1401836115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.811068058013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:41:03.185999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/43/image_31122025_05_43_15_10672.jpg', '/home/pi/Desktop/images/31122025/05/43/image_31122025_05_43_24_9671.jpg', '/home/pi/Desktop/images/31122025/05/43/image_31122025_05_43_34_9635.jpg', '/home/pi/Desktop/images/31122025/05/43/image_31122025_05_43_44_10593.jpg', '/home/pi/Desktop/images/31122025/05/43/image_31122025_05_44_04_9730.jpg', '/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_15_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/43/image_31122025_05_43_15_10672.jpg
/home/pi/Desktop/images/31122025/05/43/image_31122025_05_43_24_9671.jpg
/home/pi/Desktop/images/31122025/05/43/image_31122025_05_43_34_9635.jpg
/home/pi/Desktop/images/31122025/05/43/image_31122025_05_43_44_10593.jpg
/home/pi/Desktop/images/31122025/05/43/image_31122025_05_44_04_9730.jpg
/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_15_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836148","1401836151","1401836145","1401836141","1401836135","1401836138"],"photo_ids_order":["1401836135","1401836138","1401836141","1401836145","1401836148","1401836151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fa2d85dbeb3a88beabbcc31fa9aff9f.jpg","text":"TemporaryFile(/tmp/multipartBody350108442585883077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159723850,"filename":"image_31122025_05_44_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5deab891ceed5d0c1fa2d92ac8ae04e2.jpg","text":"TemporaryFile(/tmp/multipartBody4837273753287535509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159723850,"filename":"image_31122025_05_44_15_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/794aa5aedb35f738a08f2e942e89da0b.jpg","text":"TemporaryFile(/tmp/multipartBody7455066132236798427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159723850,"filename":"image_31122025_05_43_44_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f50fc7b2729f0f54a2d31c560100d93f.jpg","text":"TemporaryFile(/tmp/multipartBody4905935575543705865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159723850,"filename":"image_31122025_05_43_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcdff21f73a17ab08f07f8f4583428ea.jpg","text":"TemporaryFile(/tmp/multipartBody35150152851320055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159723850,"filename":"image_31122025_05_43_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85bf21c2e974fcdc9b209d50ac5db383.jpg","text":"TemporaryFile(/tmp/multipartBody2595322368039734860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159723850,"filename":"image_31122025_05_43_24_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836141","file1":"1401836138","file0":"1401836135","file4":"1401836148","file5":"1401836151","file3":"1401836145"},"map_files_photo_id_array":[{"photo_id":"1401836151","filename":"file5"},{"photo_id":"1401836141","filename":"file2"},{"photo_id":"1401836148","filename":"file4"},{"photo_id":"1401836138","filename":"file1"},{"photo_id":"1401836135","filename":"file0"},{"photo_id":"1401836145","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836148":["hashtag1","hashtag2"]},{"1401836151":["hashtag1","hashtag2"]},{"1401836145":["hashtag1","hashtag2"]},{"1401836141":["hashtag1","hashtag2"]},{"1401836135":["hashtag1","hashtag2"]},{"1401836138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836148, 1401836151, 1401836145, 1401836141, 1401836135, 1401836138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80057120323181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:41:42.491752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_22_2530.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_25_2651.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_35_3727.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_37_2703.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_40_2582.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_44_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_22_2530.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_25_2651.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_35_3727.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_37_2703.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_40_2582.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_44_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836167","1401836169","1401836160","1401836163","1401836171","1401836165"],"photo_ids_order":["1401836160","1401836163","1401836165","1401836167","1401836169","1401836171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38a994625428686ea427049566afe5ab.jpg","text":"TemporaryFile(/tmp/multipartBody2928428824152006993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159767404,"filename":"image_02112025_23_01_37_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a7a6dc92636dcaa643db50385aea88d.jpg","text":"TemporaryFile(/tmp/multipartBody6711493977523215679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159767404,"filename":"image_02112025_23_01_40_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cec2df9aaef32d63597ff50f5e2fc06.jpg","text":"TemporaryFile(/tmp/multipartBody3112907836603937343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159767404,"filename":"image_02112025_23_01_22_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/961252829dcf666376c720c74c776a5a.jpg","text":"TemporaryFile(/tmp/multipartBody7910954195835609778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159767404,"filename":"image_02112025_23_01_25_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46c63b3afcd97b70d495e4e7a9e09cc6.jpg","text":"TemporaryFile(/tmp/multipartBody4188200067436580976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159767404,"filename":"image_02112025_23_01_44_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f462c974c14921623815f3e149494e0.jpg","text":"TemporaryFile(/tmp/multipartBody2509917470848519413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159767404,"filename":"image_02112025_23_01_35_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836165","file1":"1401836163","file0":"1401836160","file4":"1401836169","file5":"1401836171","file3":"1401836167"},"map_files_photo_id_array":[{"photo_id":"1401836171","filename":"file5"},{"photo_id":"1401836165","filename":"file2"},{"photo_id":"1401836169","filename":"file4"},{"photo_id":"1401836163","filename":"file1"},{"photo_id":"1401836160","filename":"file0"},{"photo_id":"1401836167","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836167":["hashtag1","hashtag2"]},{"1401836169":["hashtag1","hashtag2"]},{"1401836160":["hashtag1","hashtag2"]},{"1401836163":["hashtag1","hashtag2"]},{"1401836171":["hashtag1","hashtag2"]},{"1401836165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836167, 1401836169, 1401836160, 1401836163, 1401836171, 1401836165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.101582765579224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:42:32.688660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_46_2718.jpg', '/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_49_2659.jpg', '/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_02_3587.jpg', '/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_04_2806.jpg', '/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_11_3727.jpg', '/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_19_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_46_2718.jpg
/home/pi/Desktop/images/02112025/23/01/image_02112025_23_01_49_2659.jpg
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_02_3587.jpg
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_04_2806.jpg
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_11_3727.jpg
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_19_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836215","1401836209","1401836184","1401836181","1401836195","1401836213"],"photo_ids_order":["1401836181","1401836184","1401836195","1401836209","1401836213","1401836215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64f0e31c6668b9579a9fec5fc93b0d47.jpg","text":"TemporaryFile(/tmp/multipartBody7820398395625625844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159814606,"filename":"image_02112025_23_02_19_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a772e5963f5bbb02bd62be977c46288.jpg","text":"TemporaryFile(/tmp/multipartBody4747621032019292439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159814606,"filename":"image_02112025_23_02_04_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b0634630630572e7d51058ac2921e5a.jpg","text":"TemporaryFile(/tmp/multipartBody6301277797235199619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159814606,"filename":"image_02112025_23_01_49_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8690319e5a92cbd8f59ffdbc625f7b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5051831258619971565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159814606,"filename":"image_02112025_23_01_46_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e784df25fd8d39c07a7274763e4a97a4.jpg","text":"TemporaryFile(/tmp/multipartBody5413947810872385239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159814606,"filename":"image_02112025_23_02_02_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/260e0783b1fa639a8be163d29d00edb7.jpg","text":"TemporaryFile(/tmp/multipartBody3571768586349317725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159814606,"filename":"image_02112025_23_02_11_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836195","file1":"1401836184","file0":"1401836181","file4":"1401836213","file5":"1401836215","file3":"1401836209"},"map_files_photo_id_array":[{"photo_id":"1401836215","filename":"file5"},{"photo_id":"1401836195","filename":"file2"},{"photo_id":"1401836213","filename":"file4"},{"photo_id":"1401836184","filename":"file1"},{"photo_id":"1401836181","filename":"file0"},{"photo_id":"1401836209","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836215":["hashtag1","hashtag2"]},{"1401836209":["hashtag1","hashtag2"]},{"1401836184":["hashtag1","hashtag2"]},{"1401836181":["hashtag1","hashtag2"]},{"1401836195":["hashtag1","hashtag2"]},{"1401836213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836215, 1401836209, 1401836184, 1401836181, 1401836195, 1401836213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78859066963196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:43:12.894970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_40_3629.jpg', '/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_43_2607.jpg', '/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_52_2642.jpg', '/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_55_2792.jpg', '/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_59_3627.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_01_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_40_3629.jpg
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_43_2607.jpg
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_52_2642.jpg
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_55_2792.jpg
/home/pi/Desktop/images/02112025/23/02/image_02112025_23_02_59_3627.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_01_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836230","1401836220","1401836264","1401836258","1401836246","1401836261"],"photo_ids_order":["1401836220","1401836230","1401836246","1401836258","1401836261","1401836264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5942732dd237ff2ad5be1dd6566f5f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2421814238905810429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159854671,"filename":"image_02112025_23_02_43_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d7ff3a5307883bad2ee43480891499e.jpg","text":"TemporaryFile(/tmp/multipartBody147637687335277127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159854671,"filename":"image_02112025_23_02_40_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9131dc0b90d6569972e8241ee43aecd.jpg","text":"TemporaryFile(/tmp/multipartBody5753778533407056104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159854671,"filename":"image_02112025_23_03_01_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9ed057c64ae20766b0306da821d0850.jpg","text":"TemporaryFile(/tmp/multipartBody8626273733116959413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159854671,"filename":"image_02112025_23_02_55_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c233190edc5af9c3626c1ec0b2fd232.jpg","text":"TemporaryFile(/tmp/multipartBody442367650132106982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159854671,"filename":"image_02112025_23_02_52_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/814adaca005cf190a588bece61a548f2.jpg","text":"TemporaryFile(/tmp/multipartBody3334049970109668076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159854671,"filename":"image_02112025_23_02_59_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836246","file1":"1401836230","file0":"1401836220","file4":"1401836261","file5":"1401836264","file3":"1401836258"},"map_files_photo_id_array":[{"photo_id":"1401836264","filename":"file5"},{"photo_id":"1401836246","filename":"file2"},{"photo_id":"1401836261","filename":"file4"},{"photo_id":"1401836230","filename":"file1"},{"photo_id":"1401836220","filename":"file0"},{"photo_id":"1401836258","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836230":["hashtag1","hashtag2"]},{"1401836220":["hashtag1","hashtag2"]},{"1401836264":["hashtag1","hashtag2"]},{"1401836258":["hashtag1","hashtag2"]},{"1401836246":["hashtag1","hashtag2"]},{"1401836261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836230, 1401836220, 1401836264, 1401836258, 1401836246, 1401836261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66759753227234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:44:02.946274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_24_9755.jpg', '/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_34_9631.jpg', '/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_45_10617.jpg', '/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_55_9860.jpg', '/home/pi/Desktop/images/31122025/05/44/image_31122025_05_45_04_9665.jpg', '/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_14_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_24_9755.jpg
/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_34_9631.jpg
/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_45_10617.jpg
/home/pi/Desktop/images/31122025/05/44/image_31122025_05_44_55_9860.jpg
/home/pi/Desktop/images/31122025/05/44/image_31122025_05_45_04_9665.jpg
/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_14_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836281","1401836295","1401836288","1401836276","1401836291","1401836285"],"photo_ids_order":["1401836276","1401836281","1401836285","1401836288","1401836291","1401836295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c2e921165c7a46267ee81d4626a57f3.jpg","text":"TemporaryFile(/tmp/multipartBody8706585713382805600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159903607,"filename":"image_31122025_05_44_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d96950d861a96055f5885c994a606057.jpg","text":"TemporaryFile(/tmp/multipartBody6786293197083776652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159903607,"filename":"image_31122025_05_45_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bda22317b96e8bcdc88814a37b6f08db.jpg","text":"TemporaryFile(/tmp/multipartBody6362488335557865924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159903607,"filename":"image_31122025_05_44_55_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/782d58f68a99816064f4e50f11897116.jpg","text":"TemporaryFile(/tmp/multipartBody4120222232108157844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159903607,"filename":"image_31122025_05_44_24_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22a4a017ac92142fbc0cda6596f57792.jpg","text":"TemporaryFile(/tmp/multipartBody2502242672132292120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159903607,"filename":"image_31122025_05_45_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41245847a55d4ee5962778a96c2932a3.jpg","text":"TemporaryFile(/tmp/multipartBody4409971501298496808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159903607,"filename":"image_31122025_05_44_45_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836285","file1":"1401836281","file0":"1401836276","file4":"1401836291","file5":"1401836295","file3":"1401836288"},"map_files_photo_id_array":[{"photo_id":"1401836295","filename":"file5"},{"photo_id":"1401836285","filename":"file2"},{"photo_id":"1401836291","filename":"file4"},{"photo_id":"1401836281","filename":"file1"},{"photo_id":"1401836276","filename":"file0"},{"photo_id":"1401836288","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836281":["hashtag1","hashtag2"]},{"1401836295":["hashtag1","hashtag2"]},{"1401836288":["hashtag1","hashtag2"]},{"1401836276":["hashtag1","hashtag2"]},{"1401836291":["hashtag1","hashtag2"]},{"1401836285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836281, 1401836295, 1401836288, 1401836276, 1401836291, 1401836285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06738305091858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:44:42.106378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_04_2606.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_10_2571.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_13_2645.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_22_3045.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_28_2613.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_31_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_04_2606.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_10_2571.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_13_2645.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_22_3045.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_28_2613.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_31_2849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836311","1401836305","1401836302","1401836313","1401836307","1401836309"],"photo_ids_order":["1401836302","1401836305","1401836307","1401836309","1401836311","1401836313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/540133990832700737165420da0cf58b.jpg","text":"TemporaryFile(/tmp/multipartBody746019380416920444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159944081,"filename":"image_02112025_23_03_28_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f20a7f955b1b0e1b30c75341164611d.jpg","text":"TemporaryFile(/tmp/multipartBody7686300759039395782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159944081,"filename":"image_02112025_23_03_10_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40c073a3f388d8c08cbc08693708e022.jpg","text":"TemporaryFile(/tmp/multipartBody2087314510916004284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159944081,"filename":"image_02112025_23_03_04_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a2315bbe203deb314dacb7cbb87e721.jpg","text":"TemporaryFile(/tmp/multipartBody5492140346942317625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159944081,"filename":"image_02112025_23_03_31_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13f7b433f2c5fc01792c80978008b250.jpg","text":"TemporaryFile(/tmp/multipartBody6947341860349130457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159944081,"filename":"image_02112025_23_03_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42b42250abce7351cb356c6d772f63f3.jpg","text":"TemporaryFile(/tmp/multipartBody4047758522782024246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159944081,"filename":"image_02112025_23_03_22_3045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836307","file1":"1401836305","file0":"1401836302","file4":"1401836311","file5":"1401836313","file3":"1401836309"},"map_files_photo_id_array":[{"photo_id":"1401836313","filename":"file5"},{"photo_id":"1401836307","filename":"file2"},{"photo_id":"1401836311","filename":"file4"},{"photo_id":"1401836305","filename":"file1"},{"photo_id":"1401836302","filename":"file0"},{"photo_id":"1401836309","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836311":["hashtag1","hashtag2"]},{"1401836305":["hashtag1","hashtag2"]},{"1401836302":["hashtag1","hashtag2"]},{"1401836313":["hashtag1","hashtag2"]},{"1401836307":["hashtag1","hashtag2"]},{"1401836309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836311, 1401836305, 1401836302, 1401836313, 1401836307, 1401836309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73129630088806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:45:22.355806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_25_10863.jpg', '/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_34_9616.jpg', '/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_44_9661.jpg', '/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_55_10663.jpg', '/home/pi/Desktop/images/31122025/05/45/image_31122025_05_46_04_9855.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_14_9225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_25_10863.jpg
/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_34_9616.jpg
/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_44_9661.jpg
/home/pi/Desktop/images/31122025/05/45/image_31122025_05_45_55_10663.jpg
/home/pi/Desktop/images/31122025/05/45/image_31122025_05_46_04_9855.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_14_9225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836324","1401836338","1401836330","1401836333","1401836327","1401836321"],"photo_ids_order":["1401836321","1401836324","1401836327","1401836330","1401836333","1401836338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e02ae61cfc10ac762fd16df5d477e27.jpg","text":"TemporaryFile(/tmp/multipartBody3865928077990634878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159982946,"filename":"image_31122025_05_45_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c874cb7b2890b4c51d405d458b57189.jpg","text":"TemporaryFile(/tmp/multipartBody1310385492305806642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159982946,"filename":"image_31122025_05_46_14_9225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f13a271d19cf780c4d00058d57225a0a.jpg","text":"TemporaryFile(/tmp/multipartBody3172499331972910158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159982946,"filename":"image_31122025_05_45_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18e61ae6f954f36359dd3961d65cfb27.jpg","text":"TemporaryFile(/tmp/multipartBody270680194612289497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159982946,"filename":"image_31122025_05_46_04_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8d7a2109ea010755b830093421aafc2.jpg","text":"TemporaryFile(/tmp/multipartBody6747577021356850622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159982946,"filename":"image_31122025_05_45_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b32e0f372cd172b35551491f942345bc.jpg","text":"TemporaryFile(/tmp/multipartBody5780247664297882502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767159982946,"filename":"image_31122025_05_45_25_10863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836327","file1":"1401836324","file0":"1401836321","file4":"1401836333","file5":"1401836338","file3":"1401836330"},"map_files_photo_id_array":[{"photo_id":"1401836338","filename":"file5"},{"photo_id":"1401836327","filename":"file2"},{"photo_id":"1401836333","filename":"file4"},{"photo_id":"1401836324","filename":"file1"},{"photo_id":"1401836321","filename":"file0"},{"photo_id":"1401836330","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836324":["hashtag1","hashtag2"]},{"1401836338":["hashtag1","hashtag2"]},{"1401836330":["hashtag1","hashtag2"]},{"1401836333":["hashtag1","hashtag2"]},{"1401836327":["hashtag1","hashtag2"]},{"1401836321":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836324, 1401836338, 1401836330, 1401836333, 1401836327, 1401836321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31073069572449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:46:02.898475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_24_10711.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_34_9715.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_44_9623.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_54_10613.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_47_04_9736.jpg', '/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_14_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_24_10711.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_34_9715.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_44_9623.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_54_10613.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_47_04_9736.jpg
/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_14_9724.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5299923419952393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:46:12.324814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_34_3668.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_43_3634.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_52_2576.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_55_2554.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_58_2892.jpg', '/home/pi/Desktop/images/02112025/23/03/image_02112025_23_04_01_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_34_3668.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_43_3634.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_52_2576.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_55_2554.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_03_58_2892.jpg
/home/pi/Desktop/images/02112025/23/03/image_02112025_23_04_01_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836371","1401836368","1401836362","1401836356","1401836365","1401836351"],"photo_ids_order":["1401836351","1401836356","1401836362","1401836365","1401836368","1401836371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4aa1890442402f2a91c0d6267e43ae9.jpg","text":"TemporaryFile(/tmp/multipartBody6690402501264469365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160034125,"filename":"image_02112025_23_04_01_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0aa794b1b9a89ad570cfb6c20dd9810.jpg","text":"TemporaryFile(/tmp/multipartBody2849561281407883064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160034125,"filename":"image_02112025_23_03_58_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bb3f9c21f6f7bd2b831ef8a3c0ff804.jpg","text":"TemporaryFile(/tmp/multipartBody647398902220998785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160034125,"filename":"image_02112025_23_03_52_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a75a473e9bed5d8d14f257b401c1c598.jpg","text":"TemporaryFile(/tmp/multipartBody5675766231197843754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160034125,"filename":"image_02112025_23_03_43_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/179348da5f3657d5c48c0b0c62c662ba.jpg","text":"TemporaryFile(/tmp/multipartBody3345042750510638836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160034125,"filename":"image_02112025_23_03_55_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56f86f5c98acace05e01ff8fe2dc0d70.jpg","text":"TemporaryFile(/tmp/multipartBody2040462044127931824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160034125,"filename":"image_02112025_23_03_34_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836362","file1":"1401836356","file0":"1401836351","file4":"1401836368","file5":"1401836371","file3":"1401836365"},"map_files_photo_id_array":[{"photo_id":"1401836371","filename":"file5"},{"photo_id":"1401836362","filename":"file2"},{"photo_id":"1401836368","filename":"file4"},{"photo_id":"1401836356","filename":"file1"},{"photo_id":"1401836351","filename":"file0"},{"photo_id":"1401836365","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836371":["hashtag1","hashtag2"]},{"1401836368":["hashtag1","hashtag2"]},{"1401836362":["hashtag1","hashtag2"]},{"1401836356":["hashtag1","hashtag2"]},{"1401836365":["hashtag1","hashtag2"]},{"1401836351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836371, 1401836368, 1401836362, 1401836356, 1401836365, 1401836351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30199670791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:47:03.396745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_24_10711.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_34_9715.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_44_9623.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_54_10613.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_47_04_9736.jpg', '/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_14_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_24_10711.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_34_9715.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_44_9623.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_54_10613.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_47_04_9736.jpg
/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_14_9724.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5331392288208008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:47:12.658558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_04_2759.jpg', '/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_09_2737.jpg', '/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_16_2869.jpg', '/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_19_2781.jpg', '/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_25_3627.jpg', '/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_28_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_04_2759.jpg
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_09_2737.jpg
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_16_2869.jpg
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_19_2781.jpg
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_25_3627.jpg
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_28_2735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836402","1401836416","1401836407","1401836397","1401836412","1401836414"],"photo_ids_order":["1401836397","1401836402","1401836407","1401836412","1401836414","1401836416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39b738fe58a82cd40210acea639359c7.jpg","text":"TemporaryFile(/tmp/multipartBody1983820895168697112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160094431,"filename":"image_02112025_23_04_09_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d01860532f11691a41b6d2103701f1e3.jpg","text":"TemporaryFile(/tmp/multipartBody1857331802643874123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160094431,"filename":"image_02112025_23_04_28_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09471d35220e0bc2afa7b214ba5eab30.jpg","text":"TemporaryFile(/tmp/multipartBody5456608975030229709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160094431,"filename":"image_02112025_23_04_16_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f7d531b3a92c1f995d75d9e9a61514c.jpg","text":"TemporaryFile(/tmp/multipartBody5373519259556785097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160094431,"filename":"image_02112025_23_04_04_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87f241f9eb9545e21829e62b349642d6.jpg","text":"TemporaryFile(/tmp/multipartBody5286170559923170446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160094431,"filename":"image_02112025_23_04_19_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91fe18ce1cd4429825575c24c3c64d67.jpg","text":"TemporaryFile(/tmp/multipartBody4711206441587476500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160094431,"filename":"image_02112025_23_04_25_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836407","file1":"1401836402","file0":"1401836397","file4":"1401836414","file5":"1401836416","file3":"1401836412"},"map_files_photo_id_array":[{"photo_id":"1401836416","filename":"file5"},{"photo_id":"1401836407","filename":"file2"},{"photo_id":"1401836414","filename":"file4"},{"photo_id":"1401836402","filename":"file1"},{"photo_id":"1401836397","filename":"file0"},{"photo_id":"1401836412","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836402":["hashtag1","hashtag2"]},{"1401836416":["hashtag1","hashtag2"]},{"1401836407":["hashtag1","hashtag2"]},{"1401836397":["hashtag1","hashtag2"]},{"1401836412":["hashtag1","hashtag2"]},{"1401836414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836402, 1401836416, 1401836407, 1401836397, 1401836412, 1401836414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10715699195862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:48:05.159004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_24_10711.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_34_9715.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_44_9623.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_54_10613.jpg', '/home/pi/Desktop/images/31122025/05/46/image_31122025_05_47_04_9736.jpg', '/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_14_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_24_10711.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_34_9715.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_44_9623.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_46_54_10613.jpg
/home/pi/Desktop/images/31122025/05/46/image_31122025_05_47_04_9736.jpg
/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_14_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836428","1401836430","1401836438","1401836432","1401836426","1401836435"],"photo_ids_order":["1401836426","1401836428","1401836430","1401836432","1401836435","1401836438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22258ddea6e2a19327e4a4eef3a19319.jpg","text":"TemporaryFile(/tmp/multipartBody1296826118146573169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160145800,"filename":"image_31122025_05_46_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44c396542179d209b7e8ca87f54a4566.jpg","text":"TemporaryFile(/tmp/multipartBody3433117133981443320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160145800,"filename":"image_31122025_05_46_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a8daddeecddd3faa079b96c1711b706.jpg","text":"TemporaryFile(/tmp/multipartBody7217362769602092987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160145800,"filename":"image_31122025_05_47_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18a82bf42eebb31770d3af431b091690.jpg","text":"TemporaryFile(/tmp/multipartBody9125511991669291780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160145800,"filename":"image_31122025_05_46_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55ec95acce43a7d2b1e3a8f94a715300.jpg","text":"TemporaryFile(/tmp/multipartBody6631125700555528609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160145800,"filename":"image_31122025_05_46_24_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfea083b9666d58ca08be5e79581aaa5.jpg","text":"TemporaryFile(/tmp/multipartBody4300475860968440798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160145800,"filename":"image_31122025_05_47_04_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836430","file1":"1401836428","file0":"1401836426","file4":"1401836435","file5":"1401836438","file3":"1401836432"},"map_files_photo_id_array":[{"photo_id":"1401836438","filename":"file5"},{"photo_id":"1401836430","filename":"file2"},{"photo_id":"1401836435","filename":"file4"},{"photo_id":"1401836428","filename":"file1"},{"photo_id":"1401836426","filename":"file0"},{"photo_id":"1401836432","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836428":["hashtag1","hashtag2"]},{"1401836430":["hashtag1","hashtag2"]},{"1401836438":["hashtag1","hashtag2"]},{"1401836432":["hashtag1","hashtag2"]},{"1401836426":["hashtag1","hashtag2"]},{"1401836435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836428, 1401836430, 1401836438, 1401836432, 1401836426, 1401836435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34616994857788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:48:44.654450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_34_3752.jpg', '/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_37_2709.jpg', '/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_40_2807.jpg', '/home/pi/Desktop/images/02112025/23/05/image_02112025_23_05_40_2673.jpg', '/home/pi/Desktop/images/02112025/23/05/image_02112025_23_05_42_2662.jpg', '/home/pi/Desktop/images/02112025/23/05/image_02112025_23_05_46_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_34_3752.jpg
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_37_2709.jpg
/home/pi/Desktop/images/02112025/23/04/image_02112025_23_04_40_2807.jpg
/home/pi/Desktop/images/02112025/23/05/image_02112025_23_05_40_2673.jpg
/home/pi/Desktop/images/02112025/23/05/image_02112025_23_05_42_2662.jpg
/home/pi/Desktop/images/02112025/23/05/image_02112025_23_05_46_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836461","1401836464","1401836457","1401836460","1401836454","1401836462"],"photo_ids_order":["1401836454","1401836457","1401836460","1401836461","1401836462","1401836464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9e799388bf19520c13f08a4a81ef1b8.jpg","text":"TemporaryFile(/tmp/multipartBody5180451732393608987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160186521,"filename":"image_02112025_23_05_40_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9267f8bec8f5f61882260cf18d77d92.jpg","text":"TemporaryFile(/tmp/multipartBody6823925669046158506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160186521,"filename":"image_02112025_23_05_46_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e9a7476725181701c658f8f54cca2e1.jpg","text":"TemporaryFile(/tmp/multipartBody4640903951793191563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160186521,"filename":"image_02112025_23_04_37_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0da53bf325d5af3b4aed8cbf131f772b.jpg","text":"TemporaryFile(/tmp/multipartBody1031980634056354741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160186521,"filename":"image_02112025_23_04_40_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e2418e6bc8dfe7f6175390e65a00a85.jpg","text":"TemporaryFile(/tmp/multipartBody7610216505333231786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160186521,"filename":"image_02112025_23_04_34_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13556ae0a4bec14680bc04333810808e.jpg","text":"TemporaryFile(/tmp/multipartBody8637087365025991793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160186521,"filename":"image_02112025_23_05_42_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836460","file1":"1401836457","file0":"1401836454","file4":"1401836462","file5":"1401836464","file3":"1401836461"},"map_files_photo_id_array":[{"photo_id":"1401836464","filename":"file5"},{"photo_id":"1401836460","filename":"file2"},{"photo_id":"1401836462","filename":"file4"},{"photo_id":"1401836457","filename":"file1"},{"photo_id":"1401836454","filename":"file0"},{"photo_id":"1401836461","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836461":["hashtag1","hashtag2"]},{"1401836464":["hashtag1","hashtag2"]},{"1401836457":["hashtag1","hashtag2"]},{"1401836460":["hashtag1","hashtag2"]},{"1401836454":["hashtag1","hashtag2"]},{"1401836462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836461, 1401836464, 1401836457, 1401836460, 1401836454, 1401836462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63806915283203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:49:35.947752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/05/image_02112025_23_05_58_2746.jpg', '/home/pi/Desktop/images/02112025/23/05/image_02112025_23_06_00_2585.jpg', '/home/pi/Desktop/images/02112025/23/06/image_02112025_23_06_31_3620.jpg', '/home/pi/Desktop/images/02112025/23/06/image_02112025_23_06_34_2611.jpg', '/home/pi/Desktop/images/02112025/23/06/image_02112025_23_06_43_2864.jpg', '/home/pi/Desktop/images/02112025/23/06/image_02112025_23_06_49_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/05/image_02112025_23_05_58_2746.jpg
/home/pi/Desktop/images/02112025/23/05/image_02112025_23_06_00_2585.jpg
/home/pi/Desktop/images/02112025/23/06/image_02112025_23_06_31_3620.jpg
/home/pi/Desktop/images/02112025/23/06/image_02112025_23_06_34_2611.jpg
/home/pi/Desktop/images/02112025/23/06/image_02112025_23_06_43_2864.jpg
/home/pi/Desktop/images/02112025/23/06/image_02112025_23_06_49_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836479","1401836499","1401836490","1401836487","1401836492","1401836483"],"photo_ids_order":["1401836479","1401836483","1401836487","1401836490","1401836492","1401836499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10c46bfb7aba7efede9a5c4f9cb5163a.jpg","text":"TemporaryFile(/tmp/multipartBody2240338241118254399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160237880,"filename":"image_02112025_23_05_58_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c3dc9bd2ea7fefb7dfef3f9f279bb8e.jpg","text":"TemporaryFile(/tmp/multipartBody3992347874377283608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160237880,"filename":"image_02112025_23_06_49_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3b9a4503c56ec02cdb52d45f6c60f18.jpg","text":"TemporaryFile(/tmp/multipartBody1873457886235397897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160237880,"filename":"image_02112025_23_06_34_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47ba996b1257cfcbd605c6d146ce7bc2.jpg","text":"TemporaryFile(/tmp/multipartBody2882752522507016652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160237880,"filename":"image_02112025_23_06_31_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c12b7ee63f1e23be39cc64097e4f474b.jpg","text":"TemporaryFile(/tmp/multipartBody6654826560962774232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160237880,"filename":"image_02112025_23_06_43_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3930ee5ae89d7d27e2253c1174595bd.jpg","text":"TemporaryFile(/tmp/multipartBody7491136995774359571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160237880,"filename":"image_02112025_23_06_00_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836487","file1":"1401836483","file0":"1401836479","file4":"1401836492","file5":"1401836499","file3":"1401836490"},"map_files_photo_id_array":[{"photo_id":"1401836499","filename":"file5"},{"photo_id":"1401836487","filename":"file2"},{"photo_id":"1401836492","filename":"file4"},{"photo_id":"1401836483","filename":"file1"},{"photo_id":"1401836479","filename":"file0"},{"photo_id":"1401836490","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836479":["hashtag1","hashtag2"]},{"1401836499":["hashtag1","hashtag2"]},{"1401836490":["hashtag1","hashtag2"]},{"1401836487":["hashtag1","hashtag2"]},{"1401836492":["hashtag1","hashtag2"]},{"1401836483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836479, 1401836499, 1401836490, 1401836487, 1401836492, 1401836483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41607904434204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:50:22.189053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_24_10578.jpg', '/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_34_9901.jpg', '/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_44_9869.jpg', '/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_54_9773.jpg', '/home/pi/Desktop/images/31122025/05/47/image_31122025_05_48_04_9850.jpg', '/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_14_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_24_10578.jpg
/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_34_9901.jpg
/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_44_9869.jpg
/home/pi/Desktop/images/31122025/05/47/image_31122025_05_47_54_9773.jpg
/home/pi/Desktop/images/31122025/05/47/image_31122025_05_48_04_9850.jpg
/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_14_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836521","1401836515","1401836524","1401836526","1401836519","1401836528"],"photo_ids_order":["1401836515","1401836519","1401836521","1401836524","1401836526","1401836528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09c7119bc3c1a8e01954e04aecd39a09.jpg","text":"TemporaryFile(/tmp/multipartBody6366374133969733697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160282865,"filename":"image_31122025_05_47_44_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b78b4ece4b6e2324a78a23bcc77563f9.jpg","text":"TemporaryFile(/tmp/multipartBody1162283569998887175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160282865,"filename":"image_31122025_05_47_24_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/165065a71aae22b82f24b613dd1665b9.jpg","text":"TemporaryFile(/tmp/multipartBody279287608139318261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160282865,"filename":"image_31122025_05_47_54_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5d53653423f3b04e074546dab467b13.jpg","text":"TemporaryFile(/tmp/multipartBody3655701151302297864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160282865,"filename":"image_31122025_05_48_04_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b64dd3716490e8978676ca6f1b226890.jpg","text":"TemporaryFile(/tmp/multipartBody7200452263702368230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160282865,"filename":"image_31122025_05_47_34_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/092e1203ae1a002914ccdaa1bd57da00.jpg","text":"TemporaryFile(/tmp/multipartBody5114570294648945909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160282865,"filename":"image_31122025_05_48_14_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836521","file1":"1401836519","file0":"1401836515","file4":"1401836526","file5":"1401836528","file3":"1401836524"},"map_files_photo_id_array":[{"photo_id":"1401836528","filename":"file5"},{"photo_id":"1401836521","filename":"file2"},{"photo_id":"1401836526","filename":"file4"},{"photo_id":"1401836519","filename":"file1"},{"photo_id":"1401836515","filename":"file0"},{"photo_id":"1401836524","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836521":["hashtag1","hashtag2"]},{"1401836515":["hashtag1","hashtag2"]},{"1401836524":["hashtag1","hashtag2"]},{"1401836526":["hashtag1","hashtag2"]},{"1401836519":["hashtag1","hashtag2"]},{"1401836528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836521, 1401836515, 1401836524, 1401836526, 1401836519, 1401836528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.972057580947876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:51:03.041908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_24_9720.jpg', '/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_34_9641.jpg', '/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_45_10730.jpg', '/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_54_9595.jpg', '/home/pi/Desktop/images/31122025/05/48/image_31122025_05_49_04_9598.jpg', '/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_15_10908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_24_9720.jpg
/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_34_9641.jpg
/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_45_10730.jpg
/home/pi/Desktop/images/31122025/05/48/image_31122025_05_48_54_9595.jpg
/home/pi/Desktop/images/31122025/05/48/image_31122025_05_49_04_9598.jpg
/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_15_10908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836554","1401836544","1401836567","1401836561","1401836564","1401836534"],"photo_ids_order":["1401836534","1401836544","1401836554","1401836561","1401836564","1401836567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f450585dc74561c0b913e755739aa67.jpg","text":"TemporaryFile(/tmp/multipartBody3425208476814317972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160323698,"filename":"image_31122025_05_48_45_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7f32c7d734d97d4c9a219f8fa5e0a58.jpg","text":"TemporaryFile(/tmp/multipartBody6678441987221588909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160323698,"filename":"image_31122025_05_48_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edc5825f70207f34ce93a9f627a42029.jpg","text":"TemporaryFile(/tmp/multipartBody6496543854672385130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160323698,"filename":"image_31122025_05_49_15_10908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48c85a1603d841a21a8085abb8ad5816.jpg","text":"TemporaryFile(/tmp/multipartBody2739181852069025947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160323698,"filename":"image_31122025_05_48_54_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11102194bbfda8abfa2619ceb7c4d15a.jpg","text":"TemporaryFile(/tmp/multipartBody6842729093451057767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160323698,"filename":"image_31122025_05_49_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/454de1b0431fd5c83868af9b47065c27.jpg","text":"TemporaryFile(/tmp/multipartBody726032123240886636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160323698,"filename":"image_31122025_05_48_24_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836554","file1":"1401836544","file0":"1401836534","file4":"1401836564","file5":"1401836567","file3":"1401836561"},"map_files_photo_id_array":[{"photo_id":"1401836567","filename":"file5"},{"photo_id":"1401836554","filename":"file2"},{"photo_id":"1401836564","filename":"file4"},{"photo_id":"1401836544","filename":"file1"},{"photo_id":"1401836534","filename":"file0"},{"photo_id":"1401836561","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836554":["hashtag1","hashtag2"]},{"1401836544":["hashtag1","hashtag2"]},{"1401836567":["hashtag1","hashtag2"]},{"1401836561":["hashtag1","hashtag2"]},{"1401836564":["hashtag1","hashtag2"]},{"1401836534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836554, 1401836544, 1401836567, 1401836561, 1401836564, 1401836534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.865615367889404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:51:42.360941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/06/image_02112025_23_07_00_2564.jpg', '/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_04_3524.jpg', '/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_42_2595.jpg', '/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_46_3630.jpg', '/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_49_2630.jpg', '/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_55_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/06/image_02112025_23_07_00_2564.jpg
/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_04_3524.jpg
/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_42_2595.jpg
/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_46_3630.jpg
/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_49_2630.jpg
/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_55_3617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836584","1401836580","1401836583","1401836585","1401836582","1401836576"],"photo_ids_order":["1401836576","1401836580","1401836582","1401836583","1401836584","1401836585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57a05618366267cdd6ae03cc3e21d687.jpg","text":"TemporaryFile(/tmp/multipartBody65488358207109992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160364280,"filename":"image_02112025_23_07_49_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48abab5d047df2029f7244f64a49b71d.jpg","text":"TemporaryFile(/tmp/multipartBody6141881722777864147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160364280,"filename":"image_02112025_23_07_04_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70891a40e22f14a2aaae5f7495ad018d.jpg","text":"TemporaryFile(/tmp/multipartBody732608895735834836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160364280,"filename":"image_02112025_23_07_46_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/579a3d5cbad4d48724f62c4d7d51bd1e.jpg","text":"TemporaryFile(/tmp/multipartBody7132734983993254740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160364280,"filename":"image_02112025_23_07_55_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d66b75a5f2e9ce56f1fd0e0ae84de2f9.jpg","text":"TemporaryFile(/tmp/multipartBody8892116956528770158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160364280,"filename":"image_02112025_23_07_42_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fcb658286236d6c630515469d8017c8.jpg","text":"TemporaryFile(/tmp/multipartBody2514662914930898241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160364280,"filename":"image_02112025_23_07_00_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836582","file1":"1401836580","file0":"1401836576","file4":"1401836584","file5":"1401836585","file3":"1401836583"},"map_files_photo_id_array":[{"photo_id":"1401836585","filename":"file5"},{"photo_id":"1401836582","filename":"file2"},{"photo_id":"1401836584","filename":"file4"},{"photo_id":"1401836580","filename":"file1"},{"photo_id":"1401836576","filename":"file0"},{"photo_id":"1401836583","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836584":["hashtag1","hashtag2"]},{"1401836580":["hashtag1","hashtag2"]},{"1401836583":["hashtag1","hashtag2"]},{"1401836585":["hashtag1","hashtag2"]},{"1401836582":["hashtag1","hashtag2"]},{"1401836576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836584, 1401836580, 1401836583, 1401836585, 1401836582, 1401836576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66332149505615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:52:22.583039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_24_9725.jpg', '/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_34_9617.jpg', '/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_44_9758.jpg', '/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_54_10600.jpg', '/home/pi/Desktop/images/31122025/05/49/image_31122025_05_50_04_9685.jpg', '/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_24_9725.jpg
/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_34_9617.jpg
/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_44_9758.jpg
/home/pi/Desktop/images/31122025/05/49/image_31122025_05_49_54_10600.jpg
/home/pi/Desktop/images/31122025/05/49/image_31122025_05_50_04_9685.jpg
/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_14_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836593","1401836623","1401836617","1401836608","1401836597","1401836603"],"photo_ids_order":["1401836593","1401836597","1401836603","1401836608","1401836617","1401836623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4696a41a2d9583908da2c1f38a5e8612.jpg","text":"TemporaryFile(/tmp/multipartBody8635002921167740788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160403177,"filename":"image_31122025_05_49_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d92e5d63edecfaae9b7b8735388a2721.jpg","text":"TemporaryFile(/tmp/multipartBody8513937556406561374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160403177,"filename":"image_31122025_05_50_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5f6861d2f1e98875a5a64ffb8b9a130.jpg","text":"TemporaryFile(/tmp/multipartBody7532144780546214659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160403177,"filename":"image_31122025_05_50_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e39d83772e80c3e31b0352f9839cfceb.jpg","text":"TemporaryFile(/tmp/multipartBody4636316120380384013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160403177,"filename":"image_31122025_05_49_54_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88f4c0249178918eee36a07134e5ebba.jpg","text":"TemporaryFile(/tmp/multipartBody2283764845468958276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160403177,"filename":"image_31122025_05_49_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44b91d8164bea4366f7d06ccdc20bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody2801469514307546162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160403177,"filename":"image_31122025_05_49_44_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836603","file1":"1401836597","file0":"1401836593","file4":"1401836617","file5":"1401836623","file3":"1401836608"},"map_files_photo_id_array":[{"photo_id":"1401836623","filename":"file5"},{"photo_id":"1401836603","filename":"file2"},{"photo_id":"1401836617","filename":"file4"},{"photo_id":"1401836597","filename":"file1"},{"photo_id":"1401836593","filename":"file0"},{"photo_id":"1401836608","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836593":["hashtag1","hashtag2"]},{"1401836623":["hashtag1","hashtag2"]},{"1401836617":["hashtag1","hashtag2"]},{"1401836608":["hashtag1","hashtag2"]},{"1401836597":["hashtag1","hashtag2"]},{"1401836603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836593, 1401836623, 1401836617, 1401836608, 1401836597, 1401836603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34715223312378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:53:03.352311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_24_10069.jpg', '/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_34_10547.jpg', '/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_44_9601.jpg', '/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_55_10665.jpg', '/home/pi/Desktop/images/31122025/05/50/image_31122025_05_51_04_9648.jpg', '/home/pi/Desktop/images/31122025/05/51/image_31122025_05_51_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_24_10069.jpg
/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_34_10547.jpg
/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_44_9601.jpg
/home/pi/Desktop/images/31122025/05/50/image_31122025_05_50_55_10665.jpg
/home/pi/Desktop/images/31122025/05/50/image_31122025_05_51_04_9648.jpg
/home/pi/Desktop/images/31122025/05/51/image_31122025_05_51_14_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836650","1401836658","1401836652","1401836640","1401836654","1401836648"],"photo_ids_order":["1401836640","1401836648","1401836650","1401836652","1401836654","1401836658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba0cb8399116769d88e313a43953440c.jpg","text":"TemporaryFile(/tmp/multipartBody7941963235118891042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160444050,"filename":"image_31122025_05_50_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b254c330bcf18d8e0f80dac0d899ce15.jpg","text":"TemporaryFile(/tmp/multipartBody7360753275357665088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160444050,"filename":"image_31122025_05_51_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8645198ee0a1090d10ed7c1cde4b182e.jpg","text":"TemporaryFile(/tmp/multipartBody7490489696767911973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160444050,"filename":"image_31122025_05_50_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/479221a139712e7e1305af04f39e1c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6373704827332432820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160444050,"filename":"image_31122025_05_50_24_10069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b084e90820d361b1f1b92de9e0125f39.jpg","text":"TemporaryFile(/tmp/multipartBody3279413194182736282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160444050,"filename":"image_31122025_05_51_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87b931e70c858fce5428359827710ca3.jpg","text":"TemporaryFile(/tmp/multipartBody8986224851949378039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160444050,"filename":"image_31122025_05_50_34_10547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836650","file1":"1401836648","file0":"1401836640","file4":"1401836654","file5":"1401836658","file3":"1401836652"},"map_files_photo_id_array":[{"photo_id":"1401836658","filename":"file5"},{"photo_id":"1401836650","filename":"file2"},{"photo_id":"1401836654","filename":"file4"},{"photo_id":"1401836648","filename":"file1"},{"photo_id":"1401836640","filename":"file0"},{"photo_id":"1401836652","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836650":["hashtag1","hashtag2"]},{"1401836658":["hashtag1","hashtag2"]},{"1401836652":["hashtag1","hashtag2"]},{"1401836640":["hashtag1","hashtag2"]},{"1401836654":["hashtag1","hashtag2"]},{"1401836648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836650, 1401836658, 1401836652, 1401836640, 1401836654, 1401836648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.143563747406006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:53:42.687833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_58_2683.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_07_2659.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_16_3602.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_25_3100.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_36_2790.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_40_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/07/image_02112025_23_07_58_2683.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_07_2659.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_16_3602.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_25_3100.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_36_2790.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_40_3662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836683","1401836686","1401836671","1401836679","1401836675","1401836689"],"photo_ids_order":["1401836671","1401836675","1401836679","1401836683","1401836686","1401836689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de5a9d4f0b867384efd6662a271d409e.jpg","text":"TemporaryFile(/tmp/multipartBody2799435359885924847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160484640,"filename":"image_02112025_23_08_25_3100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7b5fdc1165c2c9f821a7e84f286955a.jpg","text":"TemporaryFile(/tmp/multipartBody5152044264970181724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160484640,"filename":"image_02112025_23_08_36_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/006950bb117bc68a179a5991cd0dfd2b.jpg","text":"TemporaryFile(/tmp/multipartBody7865627571191359242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160484640,"filename":"image_02112025_23_07_58_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28c33b553ab3c7dab15937d76f39f466.jpg","text":"TemporaryFile(/tmp/multipartBody6009234499671086704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160484640,"filename":"image_02112025_23_08_16_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9f889c68be3ba2992a324b6d0786911.jpg","text":"TemporaryFile(/tmp/multipartBody5918871972254672504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160484640,"filename":"image_02112025_23_08_07_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3d1dc20b1aab77e4d7f7f0890642b03.jpg","text":"TemporaryFile(/tmp/multipartBody4251135789593422950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160484640,"filename":"image_02112025_23_08_40_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836679","file1":"1401836675","file0":"1401836671","file4":"1401836686","file5":"1401836689","file3":"1401836683"},"map_files_photo_id_array":[{"photo_id":"1401836689","filename":"file5"},{"photo_id":"1401836679","filename":"file2"},{"photo_id":"1401836686","filename":"file4"},{"photo_id":"1401836675","filename":"file1"},{"photo_id":"1401836671","filename":"file0"},{"photo_id":"1401836683","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836683":["hashtag1","hashtag2"]},{"1401836686":["hashtag1","hashtag2"]},{"1401836671":["hashtag1","hashtag2"]},{"1401836679":["hashtag1","hashtag2"]},{"1401836675":["hashtag1","hashtag2"]},{"1401836689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836683, 1401836686, 1401836671, 1401836679, 1401836675, 1401836689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07350254058838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:54:21.921435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/51/image_31122025_05_51_34_9556.jpg', '/home/pi/Desktop/images/31122025/05/51/image_31122025_05_51_44_9805.jpg', '/home/pi/Desktop/images/31122025/05/51/image_31122025_05_51_54_9711.jpg', '/home/pi/Desktop/images/31122025/05/51/image_31122025_05_52_05_10814.jpg', '/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_14_9765.jpg', '/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_24_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/51/image_31122025_05_51_34_9556.jpg
/home/pi/Desktop/images/31122025/05/51/image_31122025_05_51_44_9805.jpg
/home/pi/Desktop/images/31122025/05/51/image_31122025_05_51_54_9711.jpg
/home/pi/Desktop/images/31122025/05/51/image_31122025_05_52_05_10814.jpg
/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_14_9765.jpg
/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_24_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836714","1401836707","1401836701","1401836718","1401836712","1401836703"],"photo_ids_order":["1401836701","1401836703","1401836707","1401836712","1401836714","1401836718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8aa01c5b612a47ed8c16c1a4770c9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1343710275867187505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160522515,"filename":"image_31122025_05_52_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/520108ec025c8d5b0b69ffeb255ddc41.jpg","text":"TemporaryFile(/tmp/multipartBody6012530842947250328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160522515,"filename":"image_31122025_05_51_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c546e063ccbdc157adaa30a18d71308c.jpg","text":"TemporaryFile(/tmp/multipartBody8442438650453889970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160522515,"filename":"image_31122025_05_51_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c33f55dacfb2380c78349d609b7b0fd.jpg","text":"TemporaryFile(/tmp/multipartBody6583255805454030294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160522515,"filename":"image_31122025_05_52_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a7579f757298a74b9b93dbe6b78fdc2.jpg","text":"TemporaryFile(/tmp/multipartBody68562908084894407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160522515,"filename":"image_31122025_05_52_05_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d24a1ac6d74f8e47d70afccc95f4a3ee.jpg","text":"TemporaryFile(/tmp/multipartBody9043227527490995557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160522515,"filename":"image_31122025_05_51_44_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836707","file1":"1401836703","file0":"1401836701","file4":"1401836714","file5":"1401836718","file3":"1401836712"},"map_files_photo_id_array":[{"photo_id":"1401836718","filename":"file5"},{"photo_id":"1401836707","filename":"file2"},{"photo_id":"1401836714","filename":"file4"},{"photo_id":"1401836703","filename":"file1"},{"photo_id":"1401836701","filename":"file0"},{"photo_id":"1401836712","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836714":["hashtag1","hashtag2"]},{"1401836707":["hashtag1","hashtag2"]},{"1401836701":["hashtag1","hashtag2"]},{"1401836718":["hashtag1","hashtag2"]},{"1401836712":["hashtag1","hashtag2"]},{"1401836703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836714, 1401836707, 1401836701, 1401836718, 1401836712, 1401836703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.215933322906494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:55:02.829053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_35_10618.jpg', '/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_44_9699.jpg', '/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_54_9675.jpg', '/home/pi/Desktop/images/31122025/05/52/image_31122025_05_53_04_9784.jpg', '/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_14_10584.jpg', '/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_24_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_35_10618.jpg
/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_44_9699.jpg
/home/pi/Desktop/images/31122025/05/52/image_31122025_05_52_54_9675.jpg
/home/pi/Desktop/images/31122025/05/52/image_31122025_05_53_04_9784.jpg
/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_14_10584.jpg
/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_24_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836725","1401836734","1401836745","1401836753","1401836741","1401836750"],"photo_ids_order":["1401836725","1401836734","1401836741","1401836745","1401836750","1401836753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3323a36761bfeed0f89ea61666b91195.jpg","text":"TemporaryFile(/tmp/multipartBody5313178810599772476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160563493,"filename":"image_31122025_05_52_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa7113a413c3f1815b55c8543f280495.jpg","text":"TemporaryFile(/tmp/multipartBody3143910042543779958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160563493,"filename":"image_31122025_05_52_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4962b70946551e27c02b7cacbda1a093.jpg","text":"TemporaryFile(/tmp/multipartBody6866219179595346270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160563493,"filename":"image_31122025_05_53_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e39c2c5caa3ddffe64072be9c4bae92e.jpg","text":"TemporaryFile(/tmp/multipartBody4894163350023659446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160563493,"filename":"image_31122025_05_53_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc21f4e932a0a60ef3f90b543b9334ef.jpg","text":"TemporaryFile(/tmp/multipartBody1264355091159357779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160563493,"filename":"image_31122025_05_52_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73085eed99f931269ad2bc6e663ad928.jpg","text":"TemporaryFile(/tmp/multipartBody4471912779889568286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160563493,"filename":"image_31122025_05_53_14_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836741","file1":"1401836734","file0":"1401836725","file4":"1401836750","file5":"1401836753","file3":"1401836745"},"map_files_photo_id_array":[{"photo_id":"1401836753","filename":"file5"},{"photo_id":"1401836741","filename":"file2"},{"photo_id":"1401836750","filename":"file4"},{"photo_id":"1401836734","filename":"file1"},{"photo_id":"1401836725","filename":"file0"},{"photo_id":"1401836745","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836725":["hashtag1","hashtag2"]},{"1401836734":["hashtag1","hashtag2"]},{"1401836745":["hashtag1","hashtag2"]},{"1401836753":["hashtag1","hashtag2"]},{"1401836741":["hashtag1","hashtag2"]},{"1401836750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836725, 1401836734, 1401836745, 1401836753, 1401836741, 1401836750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.199811697006226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:55:42.183531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_45_2720.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_49_3644.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_52_2815.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_57_2650.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_09_01_3683.jpg', '/home/pi/Desktop/images/02112025/23/09/image_02112025_23_09_12_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_45_2720.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_49_3644.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_52_2815.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_57_2650.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_09_01_3683.jpg
/home/pi/Desktop/images/02112025/23/09/image_02112025_23_09_12_2588.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8269317150115967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:56:02.782182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_35_10656.jpg', '/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_44_9179.jpg', '/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_54_10634.jpg', '/home/pi/Desktop/images/31122025/05/53/image_31122025_05_54_04_9644.jpg', '/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_14_9590.jpg', '/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_24_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_35_10656.jpg
/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_44_9179.jpg
/home/pi/Desktop/images/31122025/05/53/image_31122025_05_53_54_10634.jpg
/home/pi/Desktop/images/31122025/05/53/image_31122025_05_54_04_9644.jpg
/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_14_9590.jpg
/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_24_10761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836772","1401836769","1401836784","1401836780","1401836777","1401836788"],"photo_ids_order":["1401836769","1401836772","1401836777","1401836780","1401836784","1401836788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8378a375e73a18a6a7aad7bee2cfaa6.jpg","text":"TemporaryFile(/tmp/multipartBody3481852777831573699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160623430,"filename":"image_31122025_05_53_44_9179.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfe9f40ba1dbd9e319ecfab4c221399a.jpg","text":"TemporaryFile(/tmp/multipartBody3820937593235164232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160623430,"filename":"image_31122025_05_53_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/754dcf13571355760e9621e2539cda4d.jpg","text":"TemporaryFile(/tmp/multipartBody5801881871295195899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160623430,"filename":"image_31122025_05_54_14_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a57fcfde715c78f62a05debe5550a0a3.jpg","text":"TemporaryFile(/tmp/multipartBody6061076788607909818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160623430,"filename":"image_31122025_05_54_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b5137b56adddb3a7aa64d7854e50c66.jpg","text":"TemporaryFile(/tmp/multipartBody7831947726495164523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160623430,"filename":"image_31122025_05_53_54_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7574aefd848ee866590121adaa3d6f7c.jpg","text":"TemporaryFile(/tmp/multipartBody8105965462315769625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160623430,"filename":"image_31122025_05_54_24_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836777","file1":"1401836772","file0":"1401836769","file4":"1401836784","file5":"1401836788","file3":"1401836780"},"map_files_photo_id_array":[{"photo_id":"1401836788","filename":"file5"},{"photo_id":"1401836777","filename":"file2"},{"photo_id":"1401836784","filename":"file4"},{"photo_id":"1401836772","filename":"file1"},{"photo_id":"1401836769","filename":"file0"},{"photo_id":"1401836780","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836772":["hashtag1","hashtag2"]},{"1401836769":["hashtag1","hashtag2"]},{"1401836784":["hashtag1","hashtag2"]},{"1401836780":["hashtag1","hashtag2"]},{"1401836777":["hashtag1","hashtag2"]},{"1401836788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836772, 1401836769, 1401836784, 1401836780, 1401836777, 1401836788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53691744804382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 06:56:42.434238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_45_2720.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_49_3644.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_52_2815.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_57_2650.jpg', '/home/pi/Desktop/images/02112025/23/08/image_02112025_23_09_01_3683.jpg', '/home/pi/Desktop/images/02112025/23/09/image_02112025_23_09_12_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_45_2720.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_49_3644.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_52_2815.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_08_57_2650.jpg
/home/pi/Desktop/images/02112025/23/08/image_02112025_23_09_01_3683.jpg
/home/pi/Desktop/images/02112025/23/09/image_02112025_23_09_12_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836797","1401836806","1401836809","1401836799","1401836801","1401836804"],"photo_ids_order":["1401836797","1401836799","1401836801","1401836804","1401836806","1401836809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/394c4c641b337198908b9d7062043e28.jpg","text":"TemporaryFile(/tmp/multipartBody1856793430805187634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160664197,"filename":"image_02112025_23_08_45_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7439152d0dd2d660df5a663a4845c72.jpg","text":"TemporaryFile(/tmp/multipartBody2358378422432218772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160664197,"filename":"image_02112025_23_09_01_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba388d6c063353f7b7618c71930d273c.jpg","text":"TemporaryFile(/tmp/multipartBody3529682568293526105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160664197,"filename":"image_02112025_23_09_12_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78552292a5b526966780ab05b0ed6e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6866457021230310078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160664197,"filename":"image_02112025_23_08_49_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa0539bac27f1e109190e4d6a9d6cad0.jpg","text":"TemporaryFile(/tmp/multipartBody1950299537652298829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160664197,"filename":"image_02112025_23_08_52_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bafbf788797b7e3e76fb46da91646a4.jpg","text":"TemporaryFile(/tmp/multipartBody3524590788362940470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160664197,"filename":"image_02112025_23_08_57_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836801","file1":"1401836799","file0":"1401836797","file4":"1401836806","file5":"1401836809","file3":"1401836804"},"map_files_photo_id_array":[{"photo_id":"1401836809","filename":"file5"},{"photo_id":"1401836801","filename":"file2"},{"photo_id":"1401836806","filename":"file4"},{"photo_id":"1401836799","filename":"file1"},{"photo_id":"1401836797","filename":"file0"},{"photo_id":"1401836804","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836797":["hashtag1","hashtag2"]},{"1401836806":["hashtag1","hashtag2"]},{"1401836809":["hashtag1","hashtag2"]},{"1401836799":["hashtag1","hashtag2"]},{"1401836801":["hashtag1","hashtag2"]},{"1401836804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836797, 1401836806, 1401836809, 1401836799, 1401836801, 1401836804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84004878997803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 06:57:22.652014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_34_9746.jpg', '/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_44_9812.jpg', '/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_54_9810.jpg', '/home/pi/Desktop/images/31122025/05/54/image_31122025_05_55_05_10806.jpg', '/home/pi/Desktop/images/31122025/05/55/image_31122025_05_55_24_9678.jpg', '/home/pi/Desktop/images/31122025/05/55/image_31122025_05_55_35_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_34_9746.jpg
/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_44_9812.jpg
/home/pi/Desktop/images/31122025/05/54/image_31122025_05_54_54_9810.jpg
/home/pi/Desktop/images/31122025/05/54/image_31122025_05_55_05_10806.jpg
/home/pi/Desktop/images/31122025/05/55/image_31122025_05_55_24_9678.jpg
/home/pi/Desktop/images/31122025/05/55/image_31122025_05_55_35_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836830","1401836823","1401836832","1401836820","1401836828","1401836825"],"photo_ids_order":["1401836820","1401836823","1401836825","1401836828","1401836830","1401836832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6b6575d4004c6b69f7201ce225f5530.jpg","text":"TemporaryFile(/tmp/multipartBody6959106283886347863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160703280,"filename":"image_31122025_05_55_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fb1778d3ce9a55c4d3c311ee7805a33.jpg","text":"TemporaryFile(/tmp/multipartBody3979897582771709783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160703280,"filename":"image_31122025_05_54_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ecd6ff7e6ed3cac9ba099e1f52c1cfd.jpg","text":"TemporaryFile(/tmp/multipartBody7568967163843424173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160703280,"filename":"image_31122025_05_55_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5ce79f3e0282eadc194f9af886ff589.jpg","text":"TemporaryFile(/tmp/multipartBody4609123346964006713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160703280,"filename":"image_31122025_05_54_34_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e283385c8e8c71b1223ff629ab637a15.jpg","text":"TemporaryFile(/tmp/multipartBody1302610604776773323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160703280,"filename":"image_31122025_05_55_05_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f0619d49cb5a6d2fad542388744bd9a.jpg","text":"TemporaryFile(/tmp/multipartBody9178348126447421343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160703280,"filename":"image_31122025_05_54_54_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836825","file1":"1401836823","file0":"1401836820","file4":"1401836830","file5":"1401836832","file3":"1401836828"},"map_files_photo_id_array":[{"photo_id":"1401836832","filename":"file5"},{"photo_id":"1401836825","filename":"file2"},{"photo_id":"1401836830","filename":"file4"},{"photo_id":"1401836823","filename":"file1"},{"photo_id":"1401836820","filename":"file0"},{"photo_id":"1401836828","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836830":["hashtag1","hashtag2"]},{"1401836823":["hashtag1","hashtag2"]},{"1401836832":["hashtag1","hashtag2"]},{"1401836820":["hashtag1","hashtag2"]},{"1401836828":["hashtag1","hashtag2"]},{"1401836825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836830, 1401836823, 1401836832, 1401836820, 1401836828, 1401836825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98458003997803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 06:59:02.957731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/55/image_31122025_05_55_44_9674.jpg', '/home/pi/Desktop/images/31122025/05/55/image_31122025_05_55_54_9810.jpg', '/home/pi/Desktop/images/31122025/05/55/image_31122025_05_56_04_9726.jpg', '/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_14_10268.jpg', '/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_24_9736.jpg', '/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_34_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/55/image_31122025_05_55_44_9674.jpg
/home/pi/Desktop/images/31122025/05/55/image_31122025_05_55_54_9810.jpg
/home/pi/Desktop/images/31122025/05/55/image_31122025_05_56_04_9726.jpg
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_14_10268.jpg
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_24_9736.jpg
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_34_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836869","1401836860","1401836865","1401836873","1401836855","1401836849"],"photo_ids_order":["1401836849","1401836855","1401836860","1401836865","1401836869","1401836873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ee3dadd25b0bb84d2a2678d609383f9.jpg","text":"TemporaryFile(/tmp/multipartBody4993454997141969377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160803757,"filename":"image_31122025_05_56_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9808cb88a21fc12dcdacf965e715b208.jpg","text":"TemporaryFile(/tmp/multipartBody1276067960193361953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160803757,"filename":"image_31122025_05_56_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/016b6677f1e907990cfae5ab57ab181f.jpg","text":"TemporaryFile(/tmp/multipartBody2705541343857910893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160803757,"filename":"image_31122025_05_56_14_10268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c62a0eaafd2f7c0aa46ff9c92315dcc6.jpg","text":"TemporaryFile(/tmp/multipartBody205025956716143997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160803757,"filename":"image_31122025_05_56_34_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b471d69f83991f4b22127ab326791480.jpg","text":"TemporaryFile(/tmp/multipartBody5019752361936568011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160803757,"filename":"image_31122025_05_55_54_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fe7e269800267dea9c370adb471b646.jpg","text":"TemporaryFile(/tmp/multipartBody4828988659497649059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160803757,"filename":"image_31122025_05_55_44_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836860","file1":"1401836855","file0":"1401836849","file4":"1401836869","file5":"1401836873","file3":"1401836865"},"map_files_photo_id_array":[{"photo_id":"1401836873","filename":"file5"},{"photo_id":"1401836860","filename":"file2"},{"photo_id":"1401836869","filename":"file4"},{"photo_id":"1401836855","filename":"file1"},{"photo_id":"1401836849","filename":"file0"},{"photo_id":"1401836865","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401836869":["hashtag1","hashtag2"]},{"1401836860":["hashtag1","hashtag2"]},{"1401836865":["hashtag1","hashtag2"]},{"1401836873":["hashtag1","hashtag2"]},{"1401836855":["hashtag1","hashtag2"]},{"1401836849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401836869, 1401836860, 1401836865, 1401836873, 1401836855, 1401836849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.510751485824585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:00:02.549603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_44_10587.jpg', '/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_54_9623.jpg', '/home/pi/Desktop/images/31122025/05/56/image_31122025_05_57_05_10695.jpg', '/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_14_9818.jpg', '/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_24_9637.jpg', '/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_44_10587.jpg
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_54_9623.jpg
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_57_05_10695.jpg
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_14_9818.jpg
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_24_9637.jpg
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_34_9665.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5703418254852295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:00:12.092079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/09/image_02112025_23_09_19_2855.jpg', '/home/pi/Desktop/images/02112025/23/09/image_02112025_23_09_54_2693.jpg', '/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_16_3743.jpg', '/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_18_2688.jpg', '/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_21_2743.jpg', '/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_33_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/09/image_02112025_23_09_19_2855.jpg
/home/pi/Desktop/images/02112025/23/09/image_02112025_23_09_54_2693.jpg
/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_16_3743.jpg
/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_18_2688.jpg
/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_21_2743.jpg
/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_33_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401836923","1401836911","1401836916","1401836925","1401836927","1401836921"],"photo_ids_order":["1401836911","1401836916","1401836921","1401836923","1401836925","1401836927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f782707eeba69ffb94450ab807d7aafc.jpg","text":"TemporaryFile(/tmp/multipartBody8699750978044533593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160873896,"filename":"image_02112025_23_10_18_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/228b6a34a3d507fdf9386cbda991176f.jpg","text":"TemporaryFile(/tmp/multipartBody8964000232357306390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160873896,"filename":"image_02112025_23_09_19_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e565eb9993767ca75c73716702a8400.jpg","text":"TemporaryFile(/tmp/multipartBody3744335936899691633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160873896,"filename":"image_02112025_23_09_54_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/889f9152bc437536b505701d3bccb1dc.jpg","text":"TemporaryFile(/tmp/multipartBody4373043659950397214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160873896,"filename":"image_02112025_23_10_21_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d323068fc970e621ca6a1bde964eb30.jpg","text":"TemporaryFile(/tmp/multipartBody4713877958499675613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160873896,"filename":"image_02112025_23_10_33_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6bedd1bb3abd9b05189386597668219.jpg","text":"TemporaryFile(/tmp/multipartBody312418290607629076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160873896,"filename":"image_02112025_23_10_16_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401836921","file1":"1401836916","file0":"1401836911","file4":"1401836925","file5":"1401836927","file3":"1401836923"},"map_files_photo_id_array":[{"photo_id":"1401836927","filename":"file5"},{"photo_id":"1401836921","filename":"file2"},{"photo_id":"1401836925","filename":"file4"},{"photo_id":"1401836916","filename":"file1"},{"photo_id":"1401836911","filename":"file0"},{"photo_id":"1401836923","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401836923":["hashtag1","hashtag2"]},{"1401836911":["hashtag1","hashtag2"]},{"1401836916":["hashtag1","hashtag2"]},{"1401836925":["hashtag1","hashtag2"]},{"1401836927":["hashtag1","hashtag2"]},{"1401836921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401836923, 1401836911, 1401836916, 1401836925, 1401836927, 1401836921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62504506111145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:01:02.984202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_44_10587.jpg', '/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_54_9623.jpg', '/home/pi/Desktop/images/31122025/05/56/image_31122025_05_57_05_10695.jpg', '/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_14_9818.jpg', '/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_24_9637.jpg', '/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_44_10587.jpg
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_56_54_9623.jpg
/home/pi/Desktop/images/31122025/05/56/image_31122025_05_57_05_10695.jpg
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_14_9818.jpg
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_24_9637.jpg
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_34_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401837316","1401837195","1401837106","1401837278","1401837236","1401837154"],"photo_ids_order":["1401837106","1401837154","1401837195","1401837236","1401837278","1401837316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5738413e1e63e8317452bd4c6037a772.jpg","text":"TemporaryFile(/tmp/multipartBody2299069757256718164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160923978,"filename":"image_31122025_05_57_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd7580f42e0afb439fd1a4837034c445.jpg","text":"TemporaryFile(/tmp/multipartBody4024032718582559057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160923978,"filename":"image_31122025_05_57_05_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a66a61d18131de5c1d428165a4fd1b37.jpg","text":"TemporaryFile(/tmp/multipartBody734888569190742097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160923978,"filename":"image_31122025_05_56_44_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50bc6356d62446b2f3defbf043bc65b0.jpg","text":"TemporaryFile(/tmp/multipartBody5758241186950792669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160923978,"filename":"image_31122025_05_57_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8d484d94a858d2d2bc4cbaeb5d6f0b3.jpg","text":"TemporaryFile(/tmp/multipartBody6534713239022851370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160923978,"filename":"image_31122025_05_57_14_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a120addd32123dde9b0e125fdc26b35.jpg","text":"TemporaryFile(/tmp/multipartBody6373942367465747337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160923978,"filename":"image_31122025_05_56_54_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401837195","file1":"1401837154","file0":"1401837106","file4":"1401837278","file5":"1401837316","file3":"1401837236"},"map_files_photo_id_array":[{"photo_id":"1401837316","filename":"file5"},{"photo_id":"1401837195","filename":"file2"},{"photo_id":"1401837278","filename":"file4"},{"photo_id":"1401837154","filename":"file1"},{"photo_id":"1401837106","filename":"file0"},{"photo_id":"1401837236","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401837316":["hashtag1","hashtag2"]},{"1401837195":["hashtag1","hashtag2"]},{"1401837106":["hashtag1","hashtag2"]},{"1401837278":["hashtag1","hashtag2"]},{"1401837236":["hashtag1","hashtag2"]},{"1401837154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401837316, 1401837195, 1401837106, 1401837278, 1401837236, 1401837154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18720602989197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:01:42.384062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_40_3602.jpg', '/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_42_2764.jpg', '/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_45_2777.jpg', '/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_49_3645.jpg', '/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_01_2829.jpg', '/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_10_3832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_40_3602.jpg
/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_42_2764.jpg
/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_45_2777.jpg
/home/pi/Desktop/images/02112025/23/10/image_02112025_23_10_49_3645.jpg
/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_01_2829.jpg
/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_10_3832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401837652","1401837537","1401837459","1401837614","1401837574","1401837496"],"photo_ids_order":["1401837459","1401837496","1401837537","1401837574","1401837614","1401837652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0f5c001f4feb6719c80fa878c1e25ab.jpg","text":"TemporaryFile(/tmp/multipartBody4874863801458016267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160964296,"filename":"image_02112025_23_11_10_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86d65cfdba2ed5520a195f9603ec0525.jpg","text":"TemporaryFile(/tmp/multipartBody5944687765758599435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160964296,"filename":"image_02112025_23_10_45_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5143153a3d7ea1a6cfec3151fcf4096.jpg","text":"TemporaryFile(/tmp/multipartBody1954822931632618483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160964296,"filename":"image_02112025_23_10_40_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86a058b5fbbc250c458b5db05c5173ed.jpg","text":"TemporaryFile(/tmp/multipartBody2334141266995653768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160964296,"filename":"image_02112025_23_11_01_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d0ba89a030e1ec27337404986bb1016.jpg","text":"TemporaryFile(/tmp/multipartBody646754130274471060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160964296,"filename":"image_02112025_23_10_49_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56d3fa6dcc77e96904010fdda64a0365.jpg","text":"TemporaryFile(/tmp/multipartBody2763466130453968780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767160964296,"filename":"image_02112025_23_10_42_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401837537","file1":"1401837496","file0":"1401837459","file4":"1401837614","file5":"1401837652","file3":"1401837574"},"map_files_photo_id_array":[{"photo_id":"1401837652","filename":"file5"},{"photo_id":"1401837537","filename":"file2"},{"photo_id":"1401837614","filename":"file4"},{"photo_id":"1401837496","filename":"file1"},{"photo_id":"1401837459","filename":"file0"},{"photo_id":"1401837574","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401837652":["hashtag1","hashtag2"]},{"1401837537":["hashtag1","hashtag2"]},{"1401837459":["hashtag1","hashtag2"]},{"1401837614":["hashtag1","hashtag2"]},{"1401837574":["hashtag1","hashtag2"]},{"1401837496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401837652, 1401837537, 1401837459, 1401837614, 1401837574, 1401837496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22706079483032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:02:22.634773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_44_10664.jpg', '/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_54_9587.jpg', '/home/pi/Desktop/images/31122025/05/57/image_31122025_05_58_05_10693.jpg', '/home/pi/Desktop/images/31122025/05/58/image_31122025_05_58_44_9782.jpg', '/home/pi/Desktop/images/31122025/05/58/image_31122025_05_58_54_9666.jpg', '/home/pi/Desktop/images/31122025/05/58/image_31122025_05_59_05_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_44_10664.jpg
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_57_54_9587.jpg
/home/pi/Desktop/images/31122025/05/57/image_31122025_05_58_05_10693.jpg
/home/pi/Desktop/images/31122025/05/58/image_31122025_05_58_44_9782.jpg
/home/pi/Desktop/images/31122025/05/58/image_31122025_05_58_54_9666.jpg
/home/pi/Desktop/images/31122025/05/58/image_31122025_05_59_05_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401838155","1401838221","1401837822","1401837708","1401838048","1401837934"],"photo_ids_order":["1401837708","1401837822","1401837934","1401838048","1401838155","1401838221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/859c4ee2586fa9fc7b7f7d7943cc347e.jpg","text":"TemporaryFile(/tmp/multipartBody3953111347358483565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161003224,"filename":"image_31122025_05_58_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a79e499fa6ddadaf46e4d9d1705d797.jpg","text":"TemporaryFile(/tmp/multipartBody2391098366251584612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161003224,"filename":"image_31122025_05_59_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5548f5aa99713f8bef59d2c0f43f119.jpg","text":"TemporaryFile(/tmp/multipartBody8465268729492672487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161003224,"filename":"image_31122025_05_57_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4901b945cf2f760526b15566f4140602.jpg","text":"TemporaryFile(/tmp/multipartBody5248099849421309992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161003224,"filename":"image_31122025_05_57_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3506164759a6610f3e165eda4dec75f4.jpg","text":"TemporaryFile(/tmp/multipartBody4435784812863113289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161003224,"filename":"image_31122025_05_58_44_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f6df5da40fbaac56f73b7b5c73dd3f8.jpg","text":"TemporaryFile(/tmp/multipartBody7062330838602290880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161003224,"filename":"image_31122025_05_58_05_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401837934","file1":"1401837822","file0":"1401837708","file4":"1401838155","file5":"1401838221","file3":"1401838048"},"map_files_photo_id_array":[{"photo_id":"1401838221","filename":"file5"},{"photo_id":"1401837934","filename":"file2"},{"photo_id":"1401838155","filename":"file4"},{"photo_id":"1401837822","filename":"file1"},{"photo_id":"1401837708","filename":"file0"},{"photo_id":"1401838048","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401838155":["hashtag1","hashtag2"]},{"1401838221":["hashtag1","hashtag2"]},{"1401837822":["hashtag1","hashtag2"]},{"1401837708":["hashtag1","hashtag2"]},{"1401838048":["hashtag1","hashtag2"]},{"1401837934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401838155, 1401838221, 1401837822, 1401837708, 1401838048, 1401837934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90659308433533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:03:03.524402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/05/59/image_31122025_05_59_14_9758.jpg', '/home/pi/Desktop/images/31122025/05/59/image_31122025_05_59_35_10596.jpg', '/home/pi/Desktop/images/31122025/05/59/image_31122025_05_59_44_9632.jpg', '/home/pi/Desktop/images/31122025/05/59/image_31122025_05_59_54_9565.jpg', '/home/pi/Desktop/images/31122025/05/59/image_31122025_06_00_05_10689.jpg', '/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_14_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/05/59/image_31122025_05_59_14_9758.jpg
/home/pi/Desktop/images/31122025/05/59/image_31122025_05_59_35_10596.jpg
/home/pi/Desktop/images/31122025/05/59/image_31122025_05_59_44_9632.jpg
/home/pi/Desktop/images/31122025/05/59/image_31122025_05_59_54_9565.jpg
/home/pi/Desktop/images/31122025/05/59/image_31122025_06_00_05_10689.jpg
/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_14_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401838584","1401838563","1401838587","1401838445","1401838508","1401838405"],"photo_ids_order":["1401838405","1401838445","1401838508","1401838563","1401838584","1401838587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dab3aa530d0156e1c5c5ed38068efc12.jpg","text":"TemporaryFile(/tmp/multipartBody6729818535157309926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161044177,"filename":"image_31122025_06_00_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f3c353a7942319ae81f07b617bc4580.jpg","text":"TemporaryFile(/tmp/multipartBody7854127957191613140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161044177,"filename":"image_31122025_05_59_54_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c7d5b68c441f528d0aaeefbecc89896.jpg","text":"TemporaryFile(/tmp/multipartBody3869688348072371103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161044177,"filename":"image_31122025_06_00_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee1d30288b0805e6a83cbbc8e9d51187.jpg","text":"TemporaryFile(/tmp/multipartBody7694868492039605579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161044177,"filename":"image_31122025_05_59_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5217221b7f47ef2fc535c618167a027f.jpg","text":"TemporaryFile(/tmp/multipartBody1406357415551638800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161044177,"filename":"image_31122025_05_59_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c20b12599d040b89fd0c8067c59f137.jpg","text":"TemporaryFile(/tmp/multipartBody6591412223611477748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161044177,"filename":"image_31122025_05_59_14_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401838508","file1":"1401838445","file0":"1401838405","file4":"1401838584","file5":"1401838587","file3":"1401838563"},"map_files_photo_id_array":[{"photo_id":"1401838587","filename":"file5"},{"photo_id":"1401838508","filename":"file2"},{"photo_id":"1401838584","filename":"file4"},{"photo_id":"1401838445","filename":"file1"},{"photo_id":"1401838405","filename":"file0"},{"photo_id":"1401838563","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401838584":["hashtag1","hashtag2"]},{"1401838563":["hashtag1","hashtag2"]},{"1401838587":["hashtag1","hashtag2"]},{"1401838445":["hashtag1","hashtag2"]},{"1401838508":["hashtag1","hashtag2"]},{"1401838405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401838584, 1401838563, 1401838587, 1401838445, 1401838508, 1401838405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41708159446716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:03:42.811653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_18_2621.jpg', '/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_21_3654.jpg', '/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_33_2736.jpg', '/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_36_2758.jpg', '/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_49_3571.jpg', '/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_51_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_18_2621.jpg
/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_21_3654.jpg
/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_33_2736.jpg
/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_36_2758.jpg
/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_49_3571.jpg
/home/pi/Desktop/images/02112025/23/11/image_02112025_23_11_51_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401838956","1401838994","1401838820","1401838864","1401838765","1401838909"],"photo_ids_order":["1401838765","1401838820","1401838864","1401838909","1401838956","1401838994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9eae7dfde39d3cf8227cec6cd408de91.jpg","text":"TemporaryFile(/tmp/multipartBody3293263189267566249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161084728,"filename":"image_02112025_23_11_49_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca829dbed149e12f7fd585bd4d0875ca.jpg","text":"TemporaryFile(/tmp/multipartBody9065439617498909512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161084728,"filename":"image_02112025_23_11_51_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc5c0e4d0f77aa6310f66098756a2cec.jpg","text":"TemporaryFile(/tmp/multipartBody739317880415069093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161084728,"filename":"image_02112025_23_11_21_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b45cb7af2c72fb2c2a6aa132653cd0b.jpg","text":"TemporaryFile(/tmp/multipartBody7883346451516290752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161084728,"filename":"image_02112025_23_11_33_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38f6a63dca012697c58ae182a8370e2e.jpg","text":"TemporaryFile(/tmp/multipartBody4326605720499222134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161084728,"filename":"image_02112025_23_11_18_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6fe68736536047a4738173946cdc633.jpg","text":"TemporaryFile(/tmp/multipartBody4750131291462226382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161084728,"filename":"image_02112025_23_11_36_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401838864","file1":"1401838820","file0":"1401838765","file4":"1401838956","file5":"1401838994","file3":"1401838909"},"map_files_photo_id_array":[{"photo_id":"1401838994","filename":"file5"},{"photo_id":"1401838864","filename":"file2"},{"photo_id":"1401838956","filename":"file4"},{"photo_id":"1401838820","filename":"file1"},{"photo_id":"1401838765","filename":"file0"},{"photo_id":"1401838909","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401838956":["hashtag1","hashtag2"]},{"1401838994":["hashtag1","hashtag2"]},{"1401838820":["hashtag1","hashtag2"]},{"1401838864":["hashtag1","hashtag2"]},{"1401838765":["hashtag1","hashtag2"]},{"1401838909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401838956, 1401838994, 1401838820, 1401838864, 1401838765, 1401838909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43744206428528 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:04:31.951786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_09_2867.jpg', '/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_16_3668.jpg', '/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_18_2623.jpg', '/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_21_2730.jpg', '/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_24_2879.jpg', '/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_27_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_09_2867.jpg
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_16_3668.jpg
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_18_2623.jpg
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_21_2730.jpg
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_24_2879.jpg
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_27_3715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401839369","1401839291","1401839210","1401839329","1401839407","1401839253"],"photo_ids_order":["1401839210","1401839253","1401839291","1401839329","1401839369","1401839407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/093e0cef8a2cffbc2ad02439d5044b64.jpg","text":"TemporaryFile(/tmp/multipartBody1287341043668293837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161133862,"filename":"image_02112025_23_12_24_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/369af30309f9fe8d020fa5fcf3cae704.jpg","text":"TemporaryFile(/tmp/multipartBody6651435163589075844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161133862,"filename":"image_02112025_23_12_18_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6db0aef6b2ee5522aa0569472e9fface.jpg","text":"TemporaryFile(/tmp/multipartBody5117706665473492205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161133862,"filename":"image_02112025_23_12_09_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d6c40ede36d8303fd4797718ab3c8a9.jpg","text":"TemporaryFile(/tmp/multipartBody1729282605298815888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161133862,"filename":"image_02112025_23_12_21_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/601bdc93860e094eb6c5d945d6d38edc.jpg","text":"TemporaryFile(/tmp/multipartBody2301958356499209908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161133862,"filename":"image_02112025_23_12_27_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8467bba5779d308bdb1b5f53bc7e3f2.jpg","text":"TemporaryFile(/tmp/multipartBody6111486726910361303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161133862,"filename":"image_02112025_23_12_16_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401839291","file1":"1401839253","file0":"1401839210","file4":"1401839369","file5":"1401839407","file3":"1401839329"},"map_files_photo_id_array":[{"photo_id":"1401839407","filename":"file5"},{"photo_id":"1401839291","filename":"file2"},{"photo_id":"1401839369","filename":"file4"},{"photo_id":"1401839253","filename":"file1"},{"photo_id":"1401839210","filename":"file0"},{"photo_id":"1401839329","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401839369":["hashtag1","hashtag2"]},{"1401839291":["hashtag1","hashtag2"]},{"1401839210":["hashtag1","hashtag2"]},{"1401839329":["hashtag1","hashtag2"]},{"1401839407":["hashtag1","hashtag2"]},{"1401839253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401839369, 1401839291, 1401839210, 1401839329, 1401839407, 1401839253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67213749885559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:05:12.185099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_51_2597.jpg', '/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_54_2680.jpg', '/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_57_3557.jpg', '/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_15_3547.jpg', '/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_21_2566.jpg', '/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_30_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_51_2597.jpg
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_54_2680.jpg
/home/pi/Desktop/images/02112025/23/12/image_02112025_23_12_57_3557.jpg
/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_15_3547.jpg
/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_21_2566.jpg
/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_30_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401839453","1401839455","1401839449","1401839443","1401839451","1401839439"],"photo_ids_order":["1401839439","1401839443","1401839449","1401839451","1401839453","1401839455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7046c9355cee5977b01e1264f2592904.jpg","text":"TemporaryFile(/tmp/multipartBody6683561636420354889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161173970,"filename":"image_02112025_23_13_21_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be9c9e8b2649f9ef5cc3e9e8ab9d487e.jpg","text":"TemporaryFile(/tmp/multipartBody3336775409810833396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161173970,"filename":"image_02112025_23_13_30_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a57e14d4bb3e454c8672c23c9ce7823f.jpg","text":"TemporaryFile(/tmp/multipartBody8233420519489408112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161173970,"filename":"image_02112025_23_12_57_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/509c7c57a7e629cb8793f205186550f9.jpg","text":"TemporaryFile(/tmp/multipartBody2131925084904004908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161173970,"filename":"image_02112025_23_12_54_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af65d02b1e76df2f505aed02cea1e854.jpg","text":"TemporaryFile(/tmp/multipartBody3222237255969345944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161173970,"filename":"image_02112025_23_13_15_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d45ee19046ea3c0cc3202707facfe7a.jpg","text":"TemporaryFile(/tmp/multipartBody5294091922079515279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161173970,"filename":"image_02112025_23_12_51_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401839449","file1":"1401839443","file0":"1401839439","file4":"1401839453","file5":"1401839455","file3":"1401839451"},"map_files_photo_id_array":[{"photo_id":"1401839455","filename":"file5"},{"photo_id":"1401839449","filename":"file2"},{"photo_id":"1401839453","filename":"file4"},{"photo_id":"1401839443","filename":"file1"},{"photo_id":"1401839439","filename":"file0"},{"photo_id":"1401839451","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401839453":["hashtag1","hashtag2"]},{"1401839455":["hashtag1","hashtag2"]},{"1401839449":["hashtag1","hashtag2"]},{"1401839443":["hashtag1","hashtag2"]},{"1401839451":["hashtag1","hashtag2"]},{"1401839439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401839453, 1401839455, 1401839449, 1401839443, 1401839451, 1401839439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65637421607971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:06:02.759671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_24_9722.jpg', '/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_34_10625.jpg', '/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_44_9738.jpg', '/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_54_9731.jpg', '/home/pi/Desktop/images/31122025/06/00/image_31122025_06_01_05_10719.jpg', '/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_14_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_24_9722.jpg
/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_34_10625.jpg
/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_44_9738.jpg
/home/pi/Desktop/images/31122025/06/00/image_31122025_06_00_54_9731.jpg
/home/pi/Desktop/images/31122025/06/00/image_31122025_06_01_05_10719.jpg
/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_14_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401839640","1401839678","1401839732","1401839735","1401839714","1401839600"],"photo_ids_order":["1401839600","1401839640","1401839678","1401839714","1401839732","1401839735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e9614ef58c34b2a62bed1485e36ad6f.jpg","text":"TemporaryFile(/tmp/multipartBody4422606807684421251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161223428,"filename":"image_31122025_06_00_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a41420791c1b08f31733fe6ee8d02ae3.jpg","text":"TemporaryFile(/tmp/multipartBody3762103749537472167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161223428,"filename":"image_31122025_06_00_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1025243759f1603e6a85622714d053ad.jpg","text":"TemporaryFile(/tmp/multipartBody2870880835086340922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161223428,"filename":"image_31122025_06_01_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94e20dec94c572805282ea061b490951.jpg","text":"TemporaryFile(/tmp/multipartBody2830240962409760080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161223428,"filename":"image_31122025_06_01_14_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57d2b585b7399c503d2cdc603c988fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2880514271285384811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161223428,"filename":"image_31122025_06_00_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c27b7c108ea4a2356f6ef4a684897865.jpg","text":"TemporaryFile(/tmp/multipartBody6678437475017656624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161223428,"filename":"image_31122025_06_00_24_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401839678","file1":"1401839640","file0":"1401839600","file4":"1401839732","file5":"1401839735","file3":"1401839714"},"map_files_photo_id_array":[{"photo_id":"1401839735","filename":"file5"},{"photo_id":"1401839678","filename":"file2"},{"photo_id":"1401839732","filename":"file4"},{"photo_id":"1401839640","filename":"file1"},{"photo_id":"1401839600","filename":"file0"},{"photo_id":"1401839714","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401839640":["hashtag1","hashtag2"]},{"1401839678":["hashtag1","hashtag2"]},{"1401839732":["hashtag1","hashtag2"]},{"1401839735":["hashtag1","hashtag2"]},{"1401839714":["hashtag1","hashtag2"]},{"1401839600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401839640, 1401839678, 1401839732, 1401839735, 1401839714, 1401839600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.420968770980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:06:42.429029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_33_3681.jpg', '/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_39_2664.jpg', '/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_46_3925.jpg', '/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_48_2635.jpg', '/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_57_3803.jpg', '/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_27_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_33_3681.jpg
/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_39_2664.jpg
/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_46_3925.jpg
/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_48_2635.jpg
/home/pi/Desktop/images/02112025/23/13/image_02112025_23_13_57_3803.jpg
/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_27_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401839838","1401839813","1401839836","1401839839","1401839841","1401839829"],"photo_ids_order":["1401839813","1401839829","1401839836","1401839838","1401839839","1401839841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76d07b62dcf5fac5016df81c7ea3a75b.jpg","text":"TemporaryFile(/tmp/multipartBody5469718433033529818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161264342,"filename":"image_02112025_23_13_48_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8709c99da94419bcedafb51a6d9feb57.jpg","text":"TemporaryFile(/tmp/multipartBody4047254058162006926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161264342,"filename":"image_02112025_23_13_33_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bb80506d644e19001b65678ac3d49aa.jpg","text":"TemporaryFile(/tmp/multipartBody2501436521065662151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161264342,"filename":"image_02112025_23_13_46_3925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad6900c4e537025d525e68a862b1851c.jpg","text":"TemporaryFile(/tmp/multipartBody8487601107613070143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161264342,"filename":"image_02112025_23_13_57_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b22653528edcccebf6b20d0fcf50bae8.jpg","text":"TemporaryFile(/tmp/multipartBody3694496514084919123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161264342,"filename":"image_02112025_23_14_27_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12b0ba76c1d22e04ae59f2bb18925d84.jpg","text":"TemporaryFile(/tmp/multipartBody4566337350668765262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161264342,"filename":"image_02112025_23_13_39_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401839836","file1":"1401839829","file0":"1401839813","file4":"1401839839","file5":"1401839841","file3":"1401839838"},"map_files_photo_id_array":[{"photo_id":"1401839841","filename":"file5"},{"photo_id":"1401839836","filename":"file2"},{"photo_id":"1401839839","filename":"file4"},{"photo_id":"1401839829","filename":"file1"},{"photo_id":"1401839813","filename":"file0"},{"photo_id":"1401839838","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401839838":["hashtag1","hashtag2"]},{"1401839813":["hashtag1","hashtag2"]},{"1401839836":["hashtag1","hashtag2"]},{"1401839839":["hashtag1","hashtag2"]},{"1401839841":["hashtag1","hashtag2"]},{"1401839829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401839838, 1401839813, 1401839836, 1401839839, 1401839841, 1401839829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92491436004639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:07:22.600985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_24_9619.jpg', '/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_34_9745.jpg', '/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_45_10682.jpg', '/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_54_9732.jpg', '/home/pi/Desktop/images/31122025/06/01/image_31122025_06_02_04_9663.jpg', '/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_15_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_24_9619.jpg
/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_34_9745.jpg
/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_45_10682.jpg
/home/pi/Desktop/images/31122025/06/01/image_31122025_06_01_54_9732.jpg
/home/pi/Desktop/images/31122025/06/01/image_31122025_06_02_04_9663.jpg
/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_15_10761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401839897","1401839864","1401839855","1401839899","1401839872","1401839851"],"photo_ids_order":["1401839851","1401839855","1401839864","1401839872","1401839897","1401839899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51668b7eb3d593e4a19e4ad2a6c5e740.jpg","text":"TemporaryFile(/tmp/multipartBody5532341049433195672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161303195,"filename":"image_31122025_06_02_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b35067dd5d20a22fb312c594d382f17b.jpg","text":"TemporaryFile(/tmp/multipartBody187579133680103678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161303195,"filename":"image_31122025_06_01_45_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de916f40dc49db8067b7772c46a98c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8902592032736127441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161303195,"filename":"image_31122025_06_01_34_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c83891b6243d1b2f779f503922815e3.jpg","text":"TemporaryFile(/tmp/multipartBody6312517276189013340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161303195,"filename":"image_31122025_06_02_15_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7f21f17c324bb351b7080d8d30c5f88.jpg","text":"TemporaryFile(/tmp/multipartBody7444124504996825354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161303195,"filename":"image_31122025_06_01_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58b5296dc1fb771e02cb9597b9c3b110.jpg","text":"TemporaryFile(/tmp/multipartBody5998220052118399925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161303195,"filename":"image_31122025_06_01_24_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401839864","file1":"1401839855","file0":"1401839851","file4":"1401839897","file5":"1401839899","file3":"1401839872"},"map_files_photo_id_array":[{"photo_id":"1401839899","filename":"file5"},{"photo_id":"1401839864","filename":"file2"},{"photo_id":"1401839897","filename":"file4"},{"photo_id":"1401839855","filename":"file1"},{"photo_id":"1401839851","filename":"file0"},{"photo_id":"1401839872","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401839897":["hashtag1","hashtag2"]},{"1401839864":["hashtag1","hashtag2"]},{"1401839855":["hashtag1","hashtag2"]},{"1401839899":["hashtag1","hashtag2"]},{"1401839872":["hashtag1","hashtag2"]},{"1401839851":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401839897, 1401839864, 1401839855, 1401839899, 1401839872, 1401839851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.884714126586914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:08:02.289817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_24_9714.jpg', '/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_34_9726.jpg', '/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_44_9622.jpg', '/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_55_10769.jpg', '/home/pi/Desktop/images/31122025/06/02/image_31122025_06_03_04_9656.jpg', '/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_14_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_24_9714.jpg
/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_34_9726.jpg
/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_44_9622.jpg
/home/pi/Desktop/images/31122025/06/02/image_31122025_06_02_55_10769.jpg
/home/pi/Desktop/images/31122025/06/02/image_31122025_06_03_04_9656.jpg
/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_14_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401839966","1401839945","1401839960","1401839948","1401839953","1401839941"],"photo_ids_order":["1401839941","1401839945","1401839948","1401839953","1401839960","1401839966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f448f9b66288973681e2688863a56091.jpg","text":"TemporaryFile(/tmp/multipartBody729647014714549033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161342963,"filename":"image_31122025_06_03_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8118f9d9903208d95888b2042f366084.jpg","text":"TemporaryFile(/tmp/multipartBody5935479545765360702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161342963,"filename":"image_31122025_06_02_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b228be91ec4b7228c00e7c5156710ae.jpg","text":"TemporaryFile(/tmp/multipartBody3359368579278588283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161342963,"filename":"image_31122025_06_03_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8cb20a74929c01270b351e2cf12a398.jpg","text":"TemporaryFile(/tmp/multipartBody7787967887893428962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161342963,"filename":"image_31122025_06_02_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/599391cb1458a829ae2e67192850f31c.jpg","text":"TemporaryFile(/tmp/multipartBody8698973728312594125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161342963,"filename":"image_31122025_06_02_55_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5e69a828743834fc861da550ddfe2c6.jpg","text":"TemporaryFile(/tmp/multipartBody228583456592196219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161342963,"filename":"image_31122025_06_02_24_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401839948","file1":"1401839945","file0":"1401839941","file4":"1401839960","file5":"1401839966","file3":"1401839953"},"map_files_photo_id_array":[{"photo_id":"1401839966","filename":"file5"},{"photo_id":"1401839948","filename":"file2"},{"photo_id":"1401839960","filename":"file4"},{"photo_id":"1401839945","filename":"file1"},{"photo_id":"1401839941","filename":"file0"},{"photo_id":"1401839953","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401839966":["hashtag1","hashtag2"]},{"1401839945":["hashtag1","hashtag2"]},{"1401839960":["hashtag1","hashtag2"]},{"1401839948":["hashtag1","hashtag2"]},{"1401839953":["hashtag1","hashtag2"]},{"1401839941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401839966, 1401839945, 1401839960, 1401839948, 1401839953, 1401839941)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.09748435020447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:09:03.002556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_25_10829.jpg', '/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_34_9713.jpg', '/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_44_9889.jpg', '/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_54_9807.jpg', '/home/pi/Desktop/images/31122025/06/03/image_31122025_06_04_05_10609.jpg', '/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_14_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_25_10829.jpg
/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_34_9713.jpg
/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_44_9889.jpg
/home/pi/Desktop/images/31122025/06/03/image_31122025_06_03_54_9807.jpg
/home/pi/Desktop/images/31122025/06/03/image_31122025_06_04_05_10609.jpg
/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_14_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840021","1401840015","1401839999","1401840024","1401840018","1401840008"],"photo_ids_order":["1401839999","1401840008","1401840015","1401840018","1401840021","1401840024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6c98d80b11c800ea55a78fc741851fc.jpg","text":"TemporaryFile(/tmp/multipartBody2664968351245136828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161404824,"filename":"image_31122025_06_04_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ce112ee1cf0bf9c87bad55a1836ad3d.jpg","text":"TemporaryFile(/tmp/multipartBody4146202927527815608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161404824,"filename":"image_31122025_06_03_44_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b29a5dc6b4ef068a7b10dcea0041b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody2200668515278797742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161404824,"filename":"image_31122025_06_03_25_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43a0d9f7a344988be995557381f98bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3104816345113925997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161404824,"filename":"image_31122025_06_04_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ca2e834e27b6d710ae2bbdf6dd9bff7.jpg","text":"TemporaryFile(/tmp/multipartBody1012650903956124096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161404824,"filename":"image_31122025_06_03_54_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/967004500a810bffde60a9465647800e.jpg","text":"TemporaryFile(/tmp/multipartBody6718697530789621672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161404824,"filename":"image_31122025_06_03_34_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840015","file1":"1401840008","file0":"1401839999","file4":"1401840021","file5":"1401840024","file3":"1401840018"},"map_files_photo_id_array":[{"photo_id":"1401840024","filename":"file5"},{"photo_id":"1401840015","filename":"file2"},{"photo_id":"1401840021","filename":"file4"},{"photo_id":"1401840008","filename":"file1"},{"photo_id":"1401839999","filename":"file0"},{"photo_id":"1401840018","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401840021":["hashtag1","hashtag2"]},{"1401840015":["hashtag1","hashtag2"]},{"1401839999":["hashtag1","hashtag2"]},{"1401840024":["hashtag1","hashtag2"]},{"1401840018":["hashtag1","hashtag2"]},{"1401840008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401840021, 1401840015, 1401839999, 1401840024, 1401840018, 1401840008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65671682357788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:09:42.175222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_33_3711.jpg', '/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_39_2764.jpg', '/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_42_3634.jpg', '/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_57_2551.jpg', '/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_18_2671.jpg', '/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_21_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_33_3711.jpg
/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_39_2764.jpg
/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_42_3634.jpg
/home/pi/Desktop/images/02112025/23/14/image_02112025_23_14_57_2551.jpg
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_18_2671.jpg
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_21_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840038","1401840041","1401840040","1401840043","1401840046","1401840034"],"photo_ids_order":["1401840034","1401840038","1401840040","1401840041","1401840043","1401840046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14593a9db0ab428ab4852e527b6bfea5.jpg","text":"TemporaryFile(/tmp/multipartBody7657964265209420422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161446532,"filename":"image_02112025_23_14_39_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84af16d29cef95461f549869cdfd1fdd.jpg","text":"TemporaryFile(/tmp/multipartBody1970268995470158578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161446532,"filename":"image_02112025_23_14_57_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9447ce27aa2fc19eaddfdca7756a979.jpg","text":"TemporaryFile(/tmp/multipartBody2600176238651970546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161446532,"filename":"image_02112025_23_14_42_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f98c9c5a475b106b92a4c6013df9b7c.jpg","text":"TemporaryFile(/tmp/multipartBody2097344469247718335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161446532,"filename":"image_02112025_23_15_18_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a1bf172a6d5f612ccb12e840a80e40c.jpg","text":"TemporaryFile(/tmp/multipartBody2922569496631834708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161446532,"filename":"image_02112025_23_15_21_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bbcbd4e5e4ac532a8f18a4d4cfbcc3b.jpg","text":"TemporaryFile(/tmp/multipartBody6382658725504823448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161446532,"filename":"image_02112025_23_14_33_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840040","file1":"1401840038","file0":"1401840034","file4":"1401840043","file5":"1401840046","file3":"1401840041"},"map_files_photo_id_array":[{"photo_id":"1401840046","filename":"file5"},{"photo_id":"1401840040","filename":"file2"},{"photo_id":"1401840043","filename":"file4"},{"photo_id":"1401840038","filename":"file1"},{"photo_id":"1401840034","filename":"file0"},{"photo_id":"1401840041","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401840038":["hashtag1","hashtag2"]},{"1401840041":["hashtag1","hashtag2"]},{"1401840040":["hashtag1","hashtag2"]},{"1401840043":["hashtag1","hashtag2"]},{"1401840046":["hashtag1","hashtag2"]},{"1401840034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401840038, 1401840041, 1401840040, 1401840043, 1401840046, 1401840034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.15658211708069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:10:32.281350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_27_2757.jpg', '/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_29_2560.jpg', '/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_33_3600.jpg', '/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_36_2653.jpg', '/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_39_3707.jpg', '/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_42_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_27_2757.jpg
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_29_2560.jpg
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_33_3600.jpg
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_36_2653.jpg
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_39_3707.jpg
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_42_2844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840075","1401840069","1401840077","1401840073","1401840076","1401840061"],"photo_ids_order":["1401840061","1401840069","1401840073","1401840075","1401840076","1401840077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78a2140c7e44d48916d6a29c45cc00e4.jpg","text":"TemporaryFile(/tmp/multipartBody5210550443471115531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161494363,"filename":"image_02112025_23_15_36_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d57e1fe6e9a2767920b713d5583297bf.jpg","text":"TemporaryFile(/tmp/multipartBody5815014178038188684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161494363,"filename":"image_02112025_23_15_29_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4817de5bddf98262065394c9caea46a1.jpg","text":"TemporaryFile(/tmp/multipartBody12827717343978338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161494363,"filename":"image_02112025_23_15_42_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b51e62a1b6cd1d614c9fcf887f01563a.jpg","text":"TemporaryFile(/tmp/multipartBody6527555397397634202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161494363,"filename":"image_02112025_23_15_33_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8c90c5769db11063bc0c3f233837948.jpg","text":"TemporaryFile(/tmp/multipartBody6094480459135670579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161494363,"filename":"image_02112025_23_15_39_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da27bb02568d21e2ea391cd3e5b4f59c.jpg","text":"TemporaryFile(/tmp/multipartBody6325808541053534508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161494363,"filename":"image_02112025_23_15_27_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840073","file1":"1401840069","file0":"1401840061","file4":"1401840076","file5":"1401840077","file3":"1401840075"},"map_files_photo_id_array":[{"photo_id":"1401840077","filename":"file5"},{"photo_id":"1401840073","filename":"file2"},{"photo_id":"1401840076","filename":"file4"},{"photo_id":"1401840069","filename":"file1"},{"photo_id":"1401840061","filename":"file0"},{"photo_id":"1401840075","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401840075":["hashtag1","hashtag2"]},{"1401840069":["hashtag1","hashtag2"]},{"1401840077":["hashtag1","hashtag2"]},{"1401840073":["hashtag1","hashtag2"]},{"1401840076":["hashtag1","hashtag2"]},{"1401840061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401840075, 1401840069, 1401840077, 1401840073, 1401840076, 1401840061)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.179243087768555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:11:22.531901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_24_9718.jpg', '/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_35_10651.jpg', '/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_44_9634.jpg', '/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_54_9690.jpg', '/home/pi/Desktop/images/31122025/06/04/image_31122025_06_05_05_10650.jpg', '/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_24_9718.jpg
/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_35_10651.jpg
/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_44_9634.jpg
/home/pi/Desktop/images/31122025/06/04/image_31122025_06_04_54_9690.jpg
/home/pi/Desktop/images/31122025/06/04/image_31122025_06_05_05_10650.jpg
/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_14_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840170","1401840137","1401840206","1401840184","1401840193","1401840160"],"photo_ids_order":["1401840137","1401840160","1401840170","1401840184","1401840193","1401840206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/220e0a126e183df42db1d8b323fb29a1.jpg","text":"TemporaryFile(/tmp/multipartBody6971968680658389538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161543160,"filename":"image_31122025_06_04_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2149f58cfd53ab98036a30a66258128.jpg","text":"TemporaryFile(/tmp/multipartBody2947379172779260963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161543160,"filename":"image_31122025_06_04_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d78b6756d07c09fad1f41411318d7362.jpg","text":"TemporaryFile(/tmp/multipartBody5518202123694030921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161543160,"filename":"image_31122025_06_05_14_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de1bdb08e5b1c2d11124e3b51580b0c3.jpg","text":"TemporaryFile(/tmp/multipartBody3468509333284327063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161543160,"filename":"image_31122025_06_04_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f04d0614332dce9b79d9a45c977b436f.jpg","text":"TemporaryFile(/tmp/multipartBody76451006706021465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161543160,"filename":"image_31122025_06_05_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/491b17016c5d89429412bf92bc8a0a01.jpg","text":"TemporaryFile(/tmp/multipartBody9175105993296113531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161543160,"filename":"image_31122025_06_04_35_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840170","file1":"1401840160","file0":"1401840137","file4":"1401840193","file5":"1401840206","file3":"1401840184"},"map_files_photo_id_array":[{"photo_id":"1401840206","filename":"file5"},{"photo_id":"1401840170","filename":"file2"},{"photo_id":"1401840193","filename":"file4"},{"photo_id":"1401840160","filename":"file1"},{"photo_id":"1401840137","filename":"file0"},{"photo_id":"1401840184","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401840170":["hashtag1","hashtag2"]},{"1401840137":["hashtag1","hashtag2"]},{"1401840206":["hashtag1","hashtag2"]},{"1401840184":["hashtag1","hashtag2"]},{"1401840193":["hashtag1","hashtag2"]},{"1401840160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401840170, 1401840137, 1401840206, 1401840184, 1401840193, 1401840160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18871593475342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:12:03.113202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:12:12.599453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_54_2614.jpg', '/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_59_2816.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_03_3682.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_06_2583.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_15_2888.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_24_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_54_2614.jpg
/home/pi/Desktop/images/02112025/23/15/image_02112025_23_15_59_2816.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_03_3682.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_06_2583.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_15_2888.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_24_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840239","1401840248","1401840286","1401840253","1401840241","1401840244"],"photo_ids_order":["1401840239","1401840241","1401840244","1401840248","1401840253","1401840286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d466bb0c80f4e2a5d290a34a24c34bfd.jpg","text":"TemporaryFile(/tmp/multipartBody6088594553565849730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161594485,"filename":"image_02112025_23_15_54_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d0ea3d735c52f84ff37bf769722d3ea.jpg","text":"TemporaryFile(/tmp/multipartBody8439857759274197657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161594485,"filename":"image_02112025_23_16_06_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b17ed6f99abef52284be59319dcde0d.jpg","text":"TemporaryFile(/tmp/multipartBody2659913209939354021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161594485,"filename":"image_02112025_23_16_24_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4d60a9f13545ae8a81e1865ec19faf2.jpg","text":"TemporaryFile(/tmp/multipartBody2118270598046364812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161594485,"filename":"image_02112025_23_16_15_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fee6a9de62464067ce9988df306227a2.jpg","text":"TemporaryFile(/tmp/multipartBody481090940907026986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161594485,"filename":"image_02112025_23_15_59_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cc58fb8af1483249f01d1ad0083b5fd.jpg","text":"TemporaryFile(/tmp/multipartBody5433711155528731604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161594485,"filename":"image_02112025_23_16_03_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840244","file1":"1401840241","file0":"1401840239","file4":"1401840253","file5":"1401840286","file3":"1401840248"},"map_files_photo_id_array":[{"photo_id":"1401840286","filename":"file5"},{"photo_id":"1401840244","filename":"file2"},{"photo_id":"1401840253","filename":"file4"},{"photo_id":"1401840241","filename":"file1"},{"photo_id":"1401840239","filename":"file0"},{"photo_id":"1401840248","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401840239":["hashtag1","hashtag2"]},{"1401840248":["hashtag1","hashtag2"]},{"1401840286":["hashtag1","hashtag2"]},{"1401840253":["hashtag1","hashtag2"]},{"1401840241":["hashtag1","hashtag2"]},{"1401840244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401840239, 1401840248, 1401840286, 1401840253, 1401840241, 1401840244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53894281387329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:13:02.534096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_24_9632.jpg', '/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_35_10569.jpg', '/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_44_9673.jpg', '/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_54_9751.jpg', '/home/pi/Desktop/images/31122025/06/05/image_31122025_06_06_04_9662.jpg', '/home/pi/Desktop/images/31122025/06/06/image_31122025_06_06_24_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_24_9632.jpg
/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_35_10569.jpg
/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_44_9673.jpg
/home/pi/Desktop/images/31122025/06/05/image_31122025_06_05_54_9751.jpg
/home/pi/Desktop/images/31122025/06/05/image_31122025_06_06_04_9662.jpg
/home/pi/Desktop/images/31122025/06/06/image_31122025_06_06_24_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840412","1401840408","1401840402","1401840416","1401840404","1401840400"],"photo_ids_order":["1401840400","1401840402","1401840404","1401840408","1401840412","1401840416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/651c51072b327b8fe5cfbcc1fd56c877.jpg","text":"TemporaryFile(/tmp/multipartBody2288974190461782602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161646827,"filename":"image_31122025_06_06_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96b5663c8b25ce2a1bee6dafdcc54678.jpg","text":"TemporaryFile(/tmp/multipartBody5579823480197712930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161646827,"filename":"image_31122025_06_05_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c855371181f54dcb337a8df32ca990e.jpg","text":"TemporaryFile(/tmp/multipartBody2560146661780457099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161646827,"filename":"image_31122025_06_05_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7b71ee597b0085d4422b45998c79944.jpg","text":"TemporaryFile(/tmp/multipartBody1280327661985578600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161646827,"filename":"image_31122025_06_06_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9824398517e60b82b1d42bb9dc355445.jpg","text":"TemporaryFile(/tmp/multipartBody5470838325244083635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161646827,"filename":"image_31122025_06_05_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af9efedf1cdcdd79d23e18d89527b861.jpg","text":"TemporaryFile(/tmp/multipartBody8844717596402083058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161646827,"filename":"image_31122025_06_05_24_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840404","file1":"1401840402","file0":"1401840400","file4":"1401840412","file5":"1401840416","file3":"1401840408"},"map_files_photo_id_array":[{"photo_id":"1401840416","filename":"file5"},{"photo_id":"1401840404","filename":"file2"},{"photo_id":"1401840412","filename":"file4"},{"photo_id":"1401840402","filename":"file1"},{"photo_id":"1401840400","filename":"file0"},{"photo_id":"1401840408","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401840412":["hashtag1","hashtag2"]},{"1401840408":["hashtag1","hashtag2"]},{"1401840402":["hashtag1","hashtag2"]},{"1401840416":["hashtag1","hashtag2"]},{"1401840404":["hashtag1","hashtag2"]},{"1401840400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401840412, 1401840408, 1401840402, 1401840416, 1401840404, 1401840400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.565215826034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:14:02.819064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/06/image_31122025_06_06_35_10616.jpg', '/home/pi/Desktop/images/31122025/06/06/image_31122025_06_06_45_9898.jpg', '/home/pi/Desktop/images/31122025/06/06/image_31122025_06_06_54_9663.jpg', '/home/pi/Desktop/images/31122025/06/06/image_31122025_06_07_04_9646.jpg', '/home/pi/Desktop/images/31122025/06/07/image_31122025_06_07_24_9747.jpg', '/home/pi/Desktop/images/31122025/06/07/image_31122025_06_07_34_10131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/06/image_31122025_06_06_35_10616.jpg
/home/pi/Desktop/images/31122025/06/06/image_31122025_06_06_45_9898.jpg
/home/pi/Desktop/images/31122025/06/06/image_31122025_06_06_54_9663.jpg
/home/pi/Desktop/images/31122025/06/06/image_31122025_06_07_04_9646.jpg
/home/pi/Desktop/images/31122025/06/07/image_31122025_06_07_24_9747.jpg
/home/pi/Desktop/images/31122025/06/07/image_31122025_06_07_34_10131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840480","1401840453","1401840513","1401840475","1401840472","1401840448"],"photo_ids_order":["1401840448","1401840453","1401840472","1401840475","1401840480","1401840513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdddbe2ae0f6bb2e2049af1a82b97b08.jpg","text":"TemporaryFile(/tmp/multipartBody333567383838536294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161703481,"filename":"image_31122025_06_07_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/299f2eae8887feead1c4375e09cd6554.jpg","text":"TemporaryFile(/tmp/multipartBody8513023048155955087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161703481,"filename":"image_31122025_06_06_45_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe1deea657b9887ef7ea0932afaca7b9.jpg","text":"TemporaryFile(/tmp/multipartBody1835772819981441299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161703481,"filename":"image_31122025_06_07_34_10131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ccd043ae6e57377a92fea961a36d673.jpg","text":"TemporaryFile(/tmp/multipartBody637939061173758285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161703481,"filename":"image_31122025_06_07_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb002f9796cfc86ad7dc3e00329c8d65.jpg","text":"TemporaryFile(/tmp/multipartBody1387006627415938200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161703481,"filename":"image_31122025_06_06_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e984f863ae3ef5c4e9dfb2b0f387558.jpg","text":"TemporaryFile(/tmp/multipartBody4013867661790721419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161703481,"filename":"image_31122025_06_06_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840472","file1":"1401840453","file0":"1401840448","file4":"1401840480","file5":"1401840513","file3":"1401840475"},"map_files_photo_id_array":[{"photo_id":"1401840513","filename":"file5"},{"photo_id":"1401840472","filename":"file2"},{"photo_id":"1401840480","filename":"file4"},{"photo_id":"1401840453","filename":"file1"},{"photo_id":"1401840448","filename":"file0"},{"photo_id":"1401840475","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401840480":["hashtag1","hashtag2"]},{"1401840453":["hashtag1","hashtag2"]},{"1401840513":["hashtag1","hashtag2"]},{"1401840475":["hashtag1","hashtag2"]},{"1401840472":["hashtag1","hashtag2"]},{"1401840448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401840480, 1401840453, 1401840513, 1401840475, 1401840472, 1401840448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.788655281066895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:14:42.074768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_27_2787.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_33_2994.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_45_2658.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_47_2774.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_51_3672.jpg', '/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_54_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_27_2787.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_33_2994.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_45_2658.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_47_2774.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_51_3672.jpg
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_54_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840555","1401840570","1401840572","1401840563","1401840574","1401840568"],"photo_ids_order":["1401840555","1401840563","1401840568","1401840570","1401840572","1401840574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdcb0666602dddd4949289f77db102b9.jpg","text":"TemporaryFile(/tmp/multipartBody6114580383107309222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161743981,"filename":"image_02112025_23_16_27_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3353719c34aa3777007ef3b1b36024d.jpg","text":"TemporaryFile(/tmp/multipartBody1790062053509858558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161743981,"filename":"image_02112025_23_16_47_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73a20cb7b5970d29f761673d388297e1.jpg","text":"TemporaryFile(/tmp/multipartBody6891498373507511279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161743981,"filename":"image_02112025_23_16_51_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d05c4650bfc47aa20c216f6941cf4c83.jpg","text":"TemporaryFile(/tmp/multipartBody8583743725685501232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161743981,"filename":"image_02112025_23_16_33_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/484e32399caf08101b64f43bbba47761.jpg","text":"TemporaryFile(/tmp/multipartBody1636881557342532469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161743981,"filename":"image_02112025_23_16_54_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32579f602ec6569edba2f2ed1e01452b.jpg","text":"TemporaryFile(/tmp/multipartBody3089481993190687677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161743981,"filename":"image_02112025_23_16_45_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840568","file1":"1401840563","file0":"1401840555","file4":"1401840572","file5":"1401840574","file3":"1401840570"},"map_files_photo_id_array":[{"photo_id":"1401840574","filename":"file5"},{"photo_id":"1401840568","filename":"file2"},{"photo_id":"1401840572","filename":"file4"},{"photo_id":"1401840563","filename":"file1"},{"photo_id":"1401840555","filename":"file0"},{"photo_id":"1401840570","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401840555":["hashtag1","hashtag2"]},{"1401840570":["hashtag1","hashtag2"]},{"1401840572":["hashtag1","hashtag2"]},{"1401840563":["hashtag1","hashtag2"]},{"1401840574":["hashtag1","hashtag2"]},{"1401840568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401840555, 1401840570, 1401840572, 1401840563, 1401840574, 1401840568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6556875705719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:15:22.282758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/07/image_31122025_06_07_44_9687.jpg', '/home/pi/Desktop/images/31122025/06/07/image_31122025_06_07_55_10648.jpg', '/home/pi/Desktop/images/31122025/06/07/image_31122025_06_08_04_9536.jpg', '/home/pi/Desktop/images/31122025/06/08/image_31122025_06_08_15_10767.jpg', '/home/pi/Desktop/images/31122025/06/08/image_31122025_06_08_25_9713.jpg', '/home/pi/Desktop/images/31122025/06/08/image_31122025_06_08_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/07/image_31122025_06_07_44_9687.jpg
/home/pi/Desktop/images/31122025/06/07/image_31122025_06_07_55_10648.jpg
/home/pi/Desktop/images/31122025/06/07/image_31122025_06_08_04_9536.jpg
/home/pi/Desktop/images/31122025/06/08/image_31122025_06_08_15_10767.jpg
/home/pi/Desktop/images/31122025/06/08/image_31122025_06_08_25_9713.jpg
/home/pi/Desktop/images/31122025/06/08/image_31122025_06_08_34_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840588","1401840596","1401840592","1401840583","1401840601","1401840585"],"photo_ids_order":["1401840583","1401840585","1401840588","1401840592","1401840596","1401840601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b6036f540bef302a4afbb0354039804.jpg","text":"TemporaryFile(/tmp/multipartBody4249265997900723759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161782875,"filename":"image_31122025_06_08_04_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90efce8d2b85d1caf26f0085a7601a81.jpg","text":"TemporaryFile(/tmp/multipartBody271390408204639012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161782875,"filename":"image_31122025_06_08_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96b18f0d93e9732d1467368fd854619e.jpg","text":"TemporaryFile(/tmp/multipartBody8248301156124347795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161782875,"filename":"image_31122025_06_08_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24e8b9c00650bda15137f02bb5b58f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3075053809716711012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161782875,"filename":"image_31122025_06_07_44_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0f555d34d0dfb149a1fcf675e4284ee.jpg","text":"TemporaryFile(/tmp/multipartBody584252038620572090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161782875,"filename":"image_31122025_06_08_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d9a2465dcc6737bdbf0a9934ef3eefc.jpg","text":"TemporaryFile(/tmp/multipartBody4054922575228513572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161782875,"filename":"image_31122025_06_07_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840588","file1":"1401840585","file0":"1401840583","file4":"1401840596","file5":"1401840601","file3":"1401840592"},"map_files_photo_id_array":[{"photo_id":"1401840601","filename":"file5"},{"photo_id":"1401840588","filename":"file2"},{"photo_id":"1401840596","filename":"file4"},{"photo_id":"1401840585","filename":"file1"},{"photo_id":"1401840583","filename":"file0"},{"photo_id":"1401840592","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401840588":["hashtag1","hashtag2"]},{"1401840596":["hashtag1","hashtag2"]},{"1401840592":["hashtag1","hashtag2"]},{"1401840583":["hashtag1","hashtag2"]},{"1401840601":["hashtag1","hashtag2"]},{"1401840585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401840588, 1401840596, 1401840592, 1401840583, 1401840601, 1401840585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48839259147644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:16:02.887550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/08/image_31122025_06_08_55_10677.jpg', '/home/pi/Desktop/images/31122025/06/08/image_31122025_06_09_05_10027.jpg', '/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_14_9359.jpg', '/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_25_10622.jpg', '/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_34_9621.jpg', '/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_44_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/08/image_31122025_06_08_55_10677.jpg
/home/pi/Desktop/images/31122025/06/08/image_31122025_06_09_05_10027.jpg
/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_14_9359.jpg
/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_25_10622.jpg
/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_34_9621.jpg
/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_44_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840624","1401840618","1401840633","1401840619","1401840628","1401840622"],"photo_ids_order":["1401840618","1401840619","1401840622","1401840624","1401840628","1401840633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa0d9e2da1292199fe21ad6133716133.jpg","text":"TemporaryFile(/tmp/multipartBody2640244638403729462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161823505,"filename":"image_31122025_06_09_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4af85563f3841dcdbfe41cff03123ade.jpg","text":"TemporaryFile(/tmp/multipartBody8805199574291917304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161823505,"filename":"image_31122025_06_08_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/651ff11d18100bfa4824a067d4c96863.jpg","text":"TemporaryFile(/tmp/multipartBody2887386260889174908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161823505,"filename":"image_31122025_06_09_44_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95f94bd778583118463db290da3cdfde.jpg","text":"TemporaryFile(/tmp/multipartBody5300906982937051008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161823505,"filename":"image_31122025_06_09_05_10027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b2dd1b2ca3f3e3be3b510ddc6f54d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2406795183447203713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161823505,"filename":"image_31122025_06_09_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2937eef66d24877c46888bb511f7f3fe.jpg","text":"TemporaryFile(/tmp/multipartBody191848795597607660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161823505,"filename":"image_31122025_06_09_14_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840622","file1":"1401840619","file0":"1401840618","file4":"1401840628","file5":"1401840633","file3":"1401840624"},"map_files_photo_id_array":[{"photo_id":"1401840633","filename":"file5"},{"photo_id":"1401840622","filename":"file2"},{"photo_id":"1401840628","filename":"file4"},{"photo_id":"1401840619","filename":"file1"},{"photo_id":"1401840618","filename":"file0"},{"photo_id":"1401840624","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401840624":["hashtag1","hashtag2"]},{"1401840618":["hashtag1","hashtag2"]},{"1401840633":["hashtag1","hashtag2"]},{"1401840619":["hashtag1","hashtag2"]},{"1401840628":["hashtag1","hashtag2"]},{"1401840622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401840624, 1401840618, 1401840633, 1401840619, 1401840628, 1401840622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25264024734497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:16:42.450521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_56_2685.jpg', '/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_03_2745.jpg', '/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_06_2781.jpg', '/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_08_2610.jpg', '/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_20_2668.jpg', '/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_24_3827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/16/image_02112025_23_16_56_2685.jpg
/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_03_2745.jpg
/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_06_2781.jpg
/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_08_2610.jpg
/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_20_2668.jpg
/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_24_3827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840703","1401840747","1401840675","1401840654","1401840678","1401840708"],"photo_ids_order":["1401840654","1401840675","1401840678","1401840703","1401840708","1401840747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2320ccf8a52a9ffa446ec18fd4c2892.jpg","text":"TemporaryFile(/tmp/multipartBody5303134507516035196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161864364,"filename":"image_02112025_23_17_08_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4088b43e8f6e976f88c276b13965805c.jpg","text":"TemporaryFile(/tmp/multipartBody7528111125892321594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161864364,"filename":"image_02112025_23_17_24_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df129e82279961af9aa9b874e247af5c.jpg","text":"TemporaryFile(/tmp/multipartBody4270428949629729984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161864364,"filename":"image_02112025_23_17_03_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a58c3361f57cad7cb06b8e111937392.jpg","text":"TemporaryFile(/tmp/multipartBody7388142370530612092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161864364,"filename":"image_02112025_23_16_56_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d12a542ae76443f4af9692ab6f24eff0.jpg","text":"TemporaryFile(/tmp/multipartBody3393122438329315793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161864364,"filename":"image_02112025_23_17_06_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0e9390a94cd8f9102f4a3c1bab55833.jpg","text":"TemporaryFile(/tmp/multipartBody2739070660200733133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161864364,"filename":"image_02112025_23_17_20_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840678","file1":"1401840675","file0":"1401840654","file4":"1401840708","file5":"1401840747","file3":"1401840703"},"map_files_photo_id_array":[{"photo_id":"1401840747","filename":"file5"},{"photo_id":"1401840678","filename":"file2"},{"photo_id":"1401840708","filename":"file4"},{"photo_id":"1401840675","filename":"file1"},{"photo_id":"1401840654","filename":"file0"},{"photo_id":"1401840703","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401840703":["hashtag1","hashtag2"]},{"1401840747":["hashtag1","hashtag2"]},{"1401840675":["hashtag1","hashtag2"]},{"1401840654":["hashtag1","hashtag2"]},{"1401840678":["hashtag1","hashtag2"]},{"1401840708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401840703, 1401840747, 1401840675, 1401840654, 1401840678, 1401840708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90429449081421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:17:22.645667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_54_9736.jpg', '/home/pi/Desktop/images/31122025/06/09/image_31122025_06_10_05_10769.jpg', '/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_14_9237.jpg', '/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_24_10610.jpg', '/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_34_10077.jpg', '/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_44_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/09/image_31122025_06_09_54_9736.jpg
/home/pi/Desktop/images/31122025/06/09/image_31122025_06_10_05_10769.jpg
/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_14_9237.jpg
/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_24_10610.jpg
/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_34_10077.jpg
/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_44_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840936","1401840878","1401840959","1401840929","1401840964","1401840820"],"photo_ids_order":["1401840820","1401840878","1401840929","1401840936","1401840959","1401840964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a4fbe9f638c19348510e3700fbbafd3.jpg","text":"TemporaryFile(/tmp/multipartBody82521206937748522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161903249,"filename":"image_31122025_06_10_24_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b13741b24cd9d3da7981d8d20b24e63.jpg","text":"TemporaryFile(/tmp/multipartBody5641593391199804898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161903249,"filename":"image_31122025_06_10_05_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ff13ba01ce21fc07c91cc4272e64e60.jpg","text":"TemporaryFile(/tmp/multipartBody9094212864756952548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161903249,"filename":"image_31122025_06_10_34_10077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/010e89d567a6df6a0f39ca9db953368a.jpg","text":"TemporaryFile(/tmp/multipartBody7041313187356742260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161903249,"filename":"image_31122025_06_10_14_9237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f94581052c8bc21af558d0462d303ec1.jpg","text":"TemporaryFile(/tmp/multipartBody4955373458969492746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161903249,"filename":"image_31122025_06_10_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42582777418c99065c8b0fc365907247.jpg","text":"TemporaryFile(/tmp/multipartBody321502357256489856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161903249,"filename":"image_31122025_06_09_54_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840929","file1":"1401840878","file0":"1401840820","file4":"1401840959","file5":"1401840964","file3":"1401840936"},"map_files_photo_id_array":[{"photo_id":"1401840964","filename":"file5"},{"photo_id":"1401840929","filename":"file2"},{"photo_id":"1401840959","filename":"file4"},{"photo_id":"1401840878","filename":"file1"},{"photo_id":"1401840820","filename":"file0"},{"photo_id":"1401840936","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401840936":["hashtag1","hashtag2"]},{"1401840878":["hashtag1","hashtag2"]},{"1401840959":["hashtag1","hashtag2"]},{"1401840929":["hashtag1","hashtag2"]},{"1401840964":["hashtag1","hashtag2"]},{"1401840820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401840936, 1401840878, 1401840959, 1401840929, 1401840964, 1401840820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09212684631348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:18:03.109355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_54_9725.jpg', '/home/pi/Desktop/images/31122025/06/10/image_31122025_06_11_05_10707.jpg', '/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_14_9644.jpg', '/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_24_9721.jpg', '/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_34_9861.jpg', '/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_44_10529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/10/image_31122025_06_10_54_9725.jpg
/home/pi/Desktop/images/31122025/06/10/image_31122025_06_11_05_10707.jpg
/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_14_9644.jpg
/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_24_9721.jpg
/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_34_9861.jpg
/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_44_10529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401840972","1401840974","1401840997","1401841075","1401841036","1401840975"],"photo_ids_order":["1401840972","1401840974","1401840975","1401840997","1401841036","1401841075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e985d3aeb0b6cc93acc616a060de22c.jpg","text":"TemporaryFile(/tmp/multipartBody2550428215706210741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161943724,"filename":"image_31122025_06_10_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa9a035dee764ca84048765413a76ce5.jpg","text":"TemporaryFile(/tmp/multipartBody3421089870930234127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161943724,"filename":"image_31122025_06_11_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf17fcadf056997209227a1d3b1341cc.jpg","text":"TemporaryFile(/tmp/multipartBody3582806658182138220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161943724,"filename":"image_31122025_06_11_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7411248e48802a26f798171592a594b7.jpg","text":"TemporaryFile(/tmp/multipartBody8326249434260160405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161943724,"filename":"image_31122025_06_11_44_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92b33b4aecbdfdc92ed319bd9cb06399.jpg","text":"TemporaryFile(/tmp/multipartBody3631009939407673538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161943724,"filename":"image_31122025_06_11_34_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db662becdf025d633a4ff989cce19dac.jpg","text":"TemporaryFile(/tmp/multipartBody7568261767933674125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161943724,"filename":"image_31122025_06_11_14_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401840975","file1":"1401840974","file0":"1401840972","file4":"1401841036","file5":"1401841075","file3":"1401840997"},"map_files_photo_id_array":[{"photo_id":"1401841075","filename":"file5"},{"photo_id":"1401840975","filename":"file2"},{"photo_id":"1401841036","filename":"file4"},{"photo_id":"1401840974","filename":"file1"},{"photo_id":"1401840972","filename":"file0"},{"photo_id":"1401840997","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401840972":["hashtag1","hashtag2"]},{"1401840974":["hashtag1","hashtag2"]},{"1401840997":["hashtag1","hashtag2"]},{"1401841075":["hashtag1","hashtag2"]},{"1401841036":["hashtag1","hashtag2"]},{"1401840975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401840972, 1401840974, 1401840997, 1401841075, 1401841036, 1401840975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46427512168884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:18:42.812234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_30_2803.jpg', '/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_08_2706.jpg', '/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_12_3665.jpg', '/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_35_2707.jpg', '/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_38_2683.jpg', '/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_44_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/17/image_02112025_23_17_30_2803.jpg
/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_08_2706.jpg
/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_12_3665.jpg
/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_35_2707.jpg
/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_38_2683.jpg
/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_44_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401841365","1401841385","1401841379","1401841388","1401841264","1401841324"],"photo_ids_order":["1401841264","1401841324","1401841365","1401841379","1401841385","1401841388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4a4b4e5e395bd22622cb7b6fd0105db.jpg","text":"TemporaryFile(/tmp/multipartBody956734898826264094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161984726,"filename":"image_02112025_23_18_12_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/208116c6850557e642c1397cae503af8.jpg","text":"TemporaryFile(/tmp/multipartBody43466161806417375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161984726,"filename":"image_02112025_23_18_38_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca2d7f183a7b12530230132413b2b71a.jpg","text":"TemporaryFile(/tmp/multipartBody8885544407198663122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161984726,"filename":"image_02112025_23_18_35_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3800e249f2ee9251d6c83b94507986c5.jpg","text":"TemporaryFile(/tmp/multipartBody512874023256646098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161984726,"filename":"image_02112025_23_18_44_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/085bf3a533e5a7f588bbdd70d0e5a61f.jpg","text":"TemporaryFile(/tmp/multipartBody3927497398083855671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161984726,"filename":"image_02112025_23_17_30_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/950f60b24afb0d02db5aa06c83294fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7871700924968467699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767161984726,"filename":"image_02112025_23_18_08_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401841365","file1":"1401841324","file0":"1401841264","file4":"1401841385","file5":"1401841388","file3":"1401841379"},"map_files_photo_id_array":[{"photo_id":"1401841388","filename":"file5"},{"photo_id":"1401841365","filename":"file2"},{"photo_id":"1401841385","filename":"file4"},{"photo_id":"1401841324","filename":"file1"},{"photo_id":"1401841264","filename":"file0"},{"photo_id":"1401841379","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401841365":["hashtag1","hashtag2"]},{"1401841385":["hashtag1","hashtag2"]},{"1401841379":["hashtag1","hashtag2"]},{"1401841388":["hashtag1","hashtag2"]},{"1401841264":["hashtag1","hashtag2"]},{"1401841324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401841365, 1401841385, 1401841379, 1401841388, 1401841264, 1401841324)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.55759143829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:19:31.981841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_59_2566.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_06_3884.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_12_2817.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_21_2701.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_23_2840.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_26_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/18/image_02112025_23_18_59_2566.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_06_3884.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_12_2817.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_21_2701.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_23_2840.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_26_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401841493","1401841451","1401841486","1401841489","1401841491","1401841470"],"photo_ids_order":["1401841451","1401841470","1401841486","1401841489","1401841491","1401841493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4e8070cd88553eb1c8d474c2059b16c.jpg","text":"TemporaryFile(/tmp/multipartBody2701035565128533555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162033901,"filename":"image_02112025_23_19_26_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a3caef4fa22246aa27ce4b59863585f.jpg","text":"TemporaryFile(/tmp/multipartBody6212393583409311370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162033901,"filename":"image_02112025_23_18_59_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6bebfa4e62857296efd1604a015e25a.jpg","text":"TemporaryFile(/tmp/multipartBody8772568527102405038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162033901,"filename":"image_02112025_23_19_12_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5f58508a8002e489903be9ca4ad72ee.jpg","text":"TemporaryFile(/tmp/multipartBody9069072350224432507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162033901,"filename":"image_02112025_23_19_21_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/919c0586b726be9defb6b2715c9f68d5.jpg","text":"TemporaryFile(/tmp/multipartBody8276948743104470841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162033901,"filename":"image_02112025_23_19_23_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68737421b0a47120fb8b710f3a4b7e93.jpg","text":"TemporaryFile(/tmp/multipartBody4751462936502783305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162033901,"filename":"image_02112025_23_19_06_3884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401841486","file1":"1401841470","file0":"1401841451","file4":"1401841491","file5":"1401841493","file3":"1401841489"},"map_files_photo_id_array":[{"photo_id":"1401841493","filename":"file5"},{"photo_id":"1401841486","filename":"file2"},{"photo_id":"1401841491","filename":"file4"},{"photo_id":"1401841470","filename":"file1"},{"photo_id":"1401841451","filename":"file0"},{"photo_id":"1401841489","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401841493":["hashtag1","hashtag2"]},{"1401841451":["hashtag1","hashtag2"]},{"1401841486":["hashtag1","hashtag2"]},{"1401841489":["hashtag1","hashtag2"]},{"1401841491":["hashtag1","hashtag2"]},{"1401841470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401841493, 1401841451, 1401841486, 1401841489, 1401841491, 1401841470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.614123821258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:20:12.196756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_32_2551.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_36_3662.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_41_2546.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_50_2670.jpg', '/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_59_2577.jpg', '/home/pi/Desktop/images/02112025/23/20/image_02112025_23_20_11_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_32_2551.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_36_3662.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_41_2546.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_50_2670.jpg
/home/pi/Desktop/images/02112025/23/19/image_02112025_23_19_59_2577.jpg
/home/pi/Desktop/images/02112025/23/20/image_02112025_23_20_11_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401841614","1401841605","1401841571","1401841625","1401841594","1401841642"],"photo_ids_order":["1401841571","1401841594","1401841605","1401841614","1401841625","1401841642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93201c4981223fe23e89cf4155755c5b.jpg","text":"TemporaryFile(/tmp/multipartBody3153177100170859604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162073991,"filename":"image_02112025_23_19_50_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c082c66665a5db37586df8e910d32b8.jpg","text":"TemporaryFile(/tmp/multipartBody2240721577046691364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162073991,"filename":"image_02112025_23_19_41_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acdf5a6bddcda11615041ec901d2d6bb.jpg","text":"TemporaryFile(/tmp/multipartBody2013581365930212915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162073991,"filename":"image_02112025_23_19_32_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/785e316901d46840aa5cfa002f9c3394.jpg","text":"TemporaryFile(/tmp/multipartBody1225453647228343286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162073991,"filename":"image_02112025_23_19_59_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf4c5f5b040899440b4b7d00e77897ad.jpg","text":"TemporaryFile(/tmp/multipartBody6669464949903871275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162073991,"filename":"image_02112025_23_19_36_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9808415a895d841590d940a9b214db9c.jpg","text":"TemporaryFile(/tmp/multipartBody2656518086030656596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162073991,"filename":"image_02112025_23_20_11_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401841605","file1":"1401841594","file0":"1401841571","file4":"1401841625","file5":"1401841642","file3":"1401841614"},"map_files_photo_id_array":[{"photo_id":"1401841642","filename":"file5"},{"photo_id":"1401841605","filename":"file2"},{"photo_id":"1401841625","filename":"file4"},{"photo_id":"1401841594","filename":"file1"},{"photo_id":"1401841571","filename":"file0"},{"photo_id":"1401841614","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401841614":["hashtag1","hashtag2"]},{"1401841605":["hashtag1","hashtag2"]},{"1401841571":["hashtag1","hashtag2"]},{"1401841625":["hashtag1","hashtag2"]},{"1401841594":["hashtag1","hashtag2"]},{"1401841642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401841614, 1401841605, 1401841571, 1401841625, 1401841594, 1401841642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66282391548157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:21:03.095419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_54_9790.jpg', '/home/pi/Desktop/images/31122025/06/11/image_31122025_06_12_04_10011.jpg', '/home/pi/Desktop/images/31122025/06/12/image_31122025_06_12_14_9713.jpg', '/home/pi/Desktop/images/31122025/06/12/image_31122025_06_12_24_9908.jpg', '/home/pi/Desktop/images/31122025/06/12/image_31122025_06_12_44_9681.jpg', '/home/pi/Desktop/images/31122025/06/12/image_31122025_06_12_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/11/image_31122025_06_11_54_9790.jpg
/home/pi/Desktop/images/31122025/06/11/image_31122025_06_12_04_10011.jpg
/home/pi/Desktop/images/31122025/06/12/image_31122025_06_12_14_9713.jpg
/home/pi/Desktop/images/31122025/06/12/image_31122025_06_12_24_9908.jpg
/home/pi/Desktop/images/31122025/06/12/image_31122025_06_12_44_9681.jpg
/home/pi/Desktop/images/31122025/06/12/image_31122025_06_12_54_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401841755","1401841760","1401841744","1401841758","1401841752","1401841731"],"photo_ids_order":["1401841731","1401841744","1401841752","1401841755","1401841758","1401841760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bd5b13320af62e77056d613c288c87c.jpg","text":"TemporaryFile(/tmp/multipartBody1787312931871638636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162123740,"filename":"image_31122025_06_12_24_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/029a262ef083afd80cd5692ac16509b3.jpg","text":"TemporaryFile(/tmp/multipartBody7701576661958859043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162123740,"filename":"image_31122025_06_12_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae702fbc10fb6d26867873b5e716dfaa.jpg","text":"TemporaryFile(/tmp/multipartBody6367610588678777820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162123740,"filename":"image_31122025_06_12_04_10011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb425fc72a1914c7531caabec6cfca86.jpg","text":"TemporaryFile(/tmp/multipartBody312125190545299674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162123740,"filename":"image_31122025_06_12_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d6c3f27a23f0be65b8c7ca696578b99.jpg","text":"TemporaryFile(/tmp/multipartBody892796581119019353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162123740,"filename":"image_31122025_06_12_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2185fd527756738d6bd1b4c1817a4238.jpg","text":"TemporaryFile(/tmp/multipartBody6561100277453974685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162123740,"filename":"image_31122025_06_11_54_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401841752","file1":"1401841744","file0":"1401841731","file4":"1401841758","file5":"1401841760","file3":"1401841755"},"map_files_photo_id_array":[{"photo_id":"1401841760","filename":"file5"},{"photo_id":"1401841752","filename":"file2"},{"photo_id":"1401841758","filename":"file4"},{"photo_id":"1401841744","filename":"file1"},{"photo_id":"1401841731","filename":"file0"},{"photo_id":"1401841755","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401841755":["hashtag1","hashtag2"]},{"1401841760":["hashtag1","hashtag2"]},{"1401841744":["hashtag1","hashtag2"]},{"1401841758":["hashtag1","hashtag2"]},{"1401841752":["hashtag1","hashtag2"]},{"1401841731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401841755, 1401841760, 1401841744, 1401841758, 1401841752, 1401841731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76376724243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:21:42.460149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/20/image_02112025_23_20_32_2903.jpg', '/home/pi/Desktop/images/02112025/23/20/image_02112025_23_20_39_2816.jpg', '/home/pi/Desktop/images/02112025/23/20/image_02112025_23_20_41_2541.jpg', '/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_20_2597.jpg', '/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_27_3861.jpg', '/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_50_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/20/image_02112025_23_20_32_2903.jpg
/home/pi/Desktop/images/02112025/23/20/image_02112025_23_20_39_2816.jpg
/home/pi/Desktop/images/02112025/23/20/image_02112025_23_20_41_2541.jpg
/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_20_2597.jpg
/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_27_3861.jpg
/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_50_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401841775","1401841789","1401841780","1401841807","1401841782","1401841770"],"photo_ids_order":["1401841770","1401841775","1401841780","1401841782","1401841789","1401841807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0697f41141feaf0344c3de08e51d28f.jpg","text":"TemporaryFile(/tmp/multipartBody3402350958741422617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162164372,"filename":"image_02112025_23_20_39_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/377ca3a30bd3f3540abd9c9c68bb401e.jpg","text":"TemporaryFile(/tmp/multipartBody854218692864030640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162164372,"filename":"image_02112025_23_21_27_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f889e25f6121e676bd99c020b67f9469.jpg","text":"TemporaryFile(/tmp/multipartBody8360481249042109003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162164372,"filename":"image_02112025_23_20_41_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27f61aabbf70c95a211e17323de10fbc.jpg","text":"TemporaryFile(/tmp/multipartBody5830879513744217879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162164372,"filename":"image_02112025_23_21_50_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9dd859f246add809413b1b4a9b662e48.jpg","text":"TemporaryFile(/tmp/multipartBody6778844206919383768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162164372,"filename":"image_02112025_23_21_20_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/832d5a37f605ccf30b56dc4d909b488b.jpg","text":"TemporaryFile(/tmp/multipartBody3081059894877496216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162164372,"filename":"image_02112025_23_20_32_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401841780","file1":"1401841775","file0":"1401841770","file4":"1401841789","file5":"1401841807","file3":"1401841782"},"map_files_photo_id_array":[{"photo_id":"1401841807","filename":"file5"},{"photo_id":"1401841780","filename":"file2"},{"photo_id":"1401841789","filename":"file4"},{"photo_id":"1401841775","filename":"file1"},{"photo_id":"1401841770","filename":"file0"},{"photo_id":"1401841782","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401841775":["hashtag1","hashtag2"]},{"1401841789":["hashtag1","hashtag2"]},{"1401841780":["hashtag1","hashtag2"]},{"1401841807":["hashtag1","hashtag2"]},{"1401841782":["hashtag1","hashtag2"]},{"1401841770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401841775, 1401841789, 1401841780, 1401841807, 1401841782, 1401841770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.139994382858276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:22:22.668935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/12/image_31122025_06_13_05_10621.jpg', '/home/pi/Desktop/images/31122025/06/13/image_31122025_06_13_14_9639.jpg', '/home/pi/Desktop/images/31122025/06/13/image_31122025_06_13_35_10680.jpg', '/home/pi/Desktop/images/31122025/06/13/image_31122025_06_13_44_9637.jpg', '/home/pi/Desktop/images/31122025/06/13/image_31122025_06_13_54_9690.jpg', '/home/pi/Desktop/images/31122025/06/13/image_31122025_06_14_05_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/12/image_31122025_06_13_05_10621.jpg
/home/pi/Desktop/images/31122025/06/13/image_31122025_06_13_14_9639.jpg
/home/pi/Desktop/images/31122025/06/13/image_31122025_06_13_35_10680.jpg
/home/pi/Desktop/images/31122025/06/13/image_31122025_06_13_44_9637.jpg
/home/pi/Desktop/images/31122025/06/13/image_31122025_06_13_54_9690.jpg
/home/pi/Desktop/images/31122025/06/13/image_31122025_06_14_05_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401841880","1401841907","1401841814","1401841942","1401841866","1401841830"],"photo_ids_order":["1401841814","1401841830","1401841866","1401841880","1401841907","1401841942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ab1af105faef61aaf1f739ab35c5bec.jpg","text":"TemporaryFile(/tmp/multipartBody1861522964422846339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162203259,"filename":"image_31122025_06_13_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e2d06ddbe6b6702cad28cd8db60a020.jpg","text":"TemporaryFile(/tmp/multipartBody7034919661311069859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162203259,"filename":"image_31122025_06_13_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b53b28eeab5555e816c0a7eec6bda1e.jpg","text":"TemporaryFile(/tmp/multipartBody941363483629356923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162203259,"filename":"image_31122025_06_13_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efb2d76918273afd43167bc548aac853.jpg","text":"TemporaryFile(/tmp/multipartBody998732127998898574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162203259,"filename":"image_31122025_06_14_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdafe94a8b6772f430f068040e36cfff.jpg","text":"TemporaryFile(/tmp/multipartBody2935839793791905343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162203259,"filename":"image_31122025_06_13_35_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a697ad42fd6d338b8cc9c534633ff4a3.jpg","text":"TemporaryFile(/tmp/multipartBody4704754545331551136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162203259,"filename":"image_31122025_06_13_14_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401841866","file1":"1401841830","file0":"1401841814","file4":"1401841907","file5":"1401841942","file3":"1401841880"},"map_files_photo_id_array":[{"photo_id":"1401841942","filename":"file5"},{"photo_id":"1401841866","filename":"file2"},{"photo_id":"1401841907","filename":"file4"},{"photo_id":"1401841830","filename":"file1"},{"photo_id":"1401841814","filename":"file0"},{"photo_id":"1401841880","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401841880":["hashtag1","hashtag2"]},{"1401841907":["hashtag1","hashtag2"]},{"1401841814":["hashtag1","hashtag2"]},{"1401841942":["hashtag1","hashtag2"]},{"1401841866":["hashtag1","hashtag2"]},{"1401841830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401841880, 1401841907, 1401841814, 1401841942, 1401841866, 1401841830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5023410320282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:23:03.362404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/14/image_31122025_06_14_14_9633.jpg', '/home/pi/Desktop/images/31122025/06/14/image_31122025_06_14_24_9590.jpg', '/home/pi/Desktop/images/31122025/06/14/image_31122025_06_14_34_10608.jpg', '/home/pi/Desktop/images/31122025/06/14/image_31122025_06_14_44_9692.jpg', '/home/pi/Desktop/images/31122025/06/14/image_31122025_06_15_04_10731.jpg', '/home/pi/Desktop/images/31122025/06/15/image_31122025_06_15_14_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/14/image_31122025_06_14_14_9633.jpg
/home/pi/Desktop/images/31122025/06/14/image_31122025_06_14_24_9590.jpg
/home/pi/Desktop/images/31122025/06/14/image_31122025_06_14_34_10608.jpg
/home/pi/Desktop/images/31122025/06/14/image_31122025_06_14_44_9692.jpg
/home/pi/Desktop/images/31122025/06/14/image_31122025_06_15_04_10731.jpg
/home/pi/Desktop/images/31122025/06/15/image_31122025_06_15_14_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842063","1401842033","1401842056","1401842059","1401842047","1401842026"],"photo_ids_order":["1401842026","1401842033","1401842047","1401842056","1401842059","1401842063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1712a9b7c3c13301d8a913d92ff8968.jpg","text":"TemporaryFile(/tmp/multipartBody2085611264773202146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162244054,"filename":"image_31122025_06_15_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/780f0c922805e9d317ba3f1ed7173a88.jpg","text":"TemporaryFile(/tmp/multipartBody4350045338758189950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162244054,"filename":"image_31122025_06_14_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9634877d9025a5dec41cfc68975fffe8.jpg","text":"TemporaryFile(/tmp/multipartBody5804962692422642400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162244054,"filename":"image_31122025_06_14_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82b969991c4ee9da77c680f776f1a33f.jpg","text":"TemporaryFile(/tmp/multipartBody596346616511410121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162244054,"filename":"image_31122025_06_15_04_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85c794cdd15176e8bd4e723f51b4f26f.jpg","text":"TemporaryFile(/tmp/multipartBody8853911652536261449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162244054,"filename":"image_31122025_06_14_34_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dda6d1f7e34ef7c2c373d65d075f76ff.jpg","text":"TemporaryFile(/tmp/multipartBody133290107474869866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162244054,"filename":"image_31122025_06_14_14_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842047","file1":"1401842033","file0":"1401842026","file4":"1401842059","file5":"1401842063","file3":"1401842056"},"map_files_photo_id_array":[{"photo_id":"1401842063","filename":"file5"},{"photo_id":"1401842047","filename":"file2"},{"photo_id":"1401842059","filename":"file4"},{"photo_id":"1401842033","filename":"file1"},{"photo_id":"1401842026","filename":"file0"},{"photo_id":"1401842056","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842063":["hashtag1","hashtag2"]},{"1401842033":["hashtag1","hashtag2"]},{"1401842056":["hashtag1","hashtag2"]},{"1401842059":["hashtag1","hashtag2"]},{"1401842047":["hashtag1","hashtag2"]},{"1401842026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842063, 1401842033, 1401842056, 1401842059, 1401842047, 1401842026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85297250747681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:24:02.794480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/15/image_31122025_06_15_24_9690.jpg', '/home/pi/Desktop/images/31122025/06/15/image_31122025_06_15_44_9833.jpg', '/home/pi/Desktop/images/31122025/06/15/image_31122025_06_15_54_9706.jpg', '/home/pi/Desktop/images/31122025/06/15/image_31122025_06_16_05_10659.jpg', '/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_14_9653.jpg', '/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_24_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/15/image_31122025_06_15_24_9690.jpg
/home/pi/Desktop/images/31122025/06/15/image_31122025_06_15_44_9833.jpg
/home/pi/Desktop/images/31122025/06/15/image_31122025_06_15_54_9706.jpg
/home/pi/Desktop/images/31122025/06/15/image_31122025_06_16_05_10659.jpg
/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_14_9653.jpg
/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_24_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842090","1401842093","1401842080","1401842083","1401842086","1401842097"],"photo_ids_order":["1401842080","1401842083","1401842086","1401842090","1401842093","1401842097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0aca76f902f8b154c6311ba8d4668a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6368889790193997702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162303467,"filename":"image_31122025_06_16_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8405e15b448d3934bdc2476543374376.jpg","text":"TemporaryFile(/tmp/multipartBody7416888366863007054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162303467,"filename":"image_31122025_06_16_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aaadfda620b3189a270553d64edc988c.jpg","text":"TemporaryFile(/tmp/multipartBody2913920107416814325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162303467,"filename":"image_31122025_06_15_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aabc1e38d50c1a79ad56bd7e495a6d77.jpg","text":"TemporaryFile(/tmp/multipartBody2072659858973703700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162303467,"filename":"image_31122025_06_15_44_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a11640d7d9568417fda3276c7a431acd.jpg","text":"TemporaryFile(/tmp/multipartBody1618296824426876442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162303467,"filename":"image_31122025_06_15_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/803da93a942d44e4452dfcbb802ef6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8473638631763581962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162303467,"filename":"image_31122025_06_16_24_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842086","file1":"1401842083","file0":"1401842080","file4":"1401842093","file5":"1401842097","file3":"1401842090"},"map_files_photo_id_array":[{"photo_id":"1401842097","filename":"file5"},{"photo_id":"1401842086","filename":"file2"},{"photo_id":"1401842093","filename":"file4"},{"photo_id":"1401842083","filename":"file1"},{"photo_id":"1401842080","filename":"file0"},{"photo_id":"1401842090","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842090":["hashtag1","hashtag2"]},{"1401842093":["hashtag1","hashtag2"]},{"1401842080":["hashtag1","hashtag2"]},{"1401842083":["hashtag1","hashtag2"]},{"1401842086":["hashtag1","hashtag2"]},{"1401842097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842090, 1401842093, 1401842080, 1401842083, 1401842086, 1401842097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.615474700927734 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:25:03.099675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_34_9827.jpg', '/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_45_10740.jpg', '/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_54_9550.jpg', '/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_05_11036.jpg', '/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_14_8761.jpg', '/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_25_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_34_9827.jpg
/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_45_10740.jpg
/home/pi/Desktop/images/31122025/06/16/image_31122025_06_16_54_9550.jpg
/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_05_11036.jpg
/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_14_8761.jpg
/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_25_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842126","1401842129","1401842123","1401842119","1401842136","1401842133"],"photo_ids_order":["1401842119","1401842123","1401842126","1401842129","1401842133","1401842136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7888a637d642ba9fabf17dbf37ed7b6.jpg","text":"TemporaryFile(/tmp/multipartBody5974240740284759464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162363749,"filename":"image_31122025_06_16_54_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2141dd79ba13eb422880f1e82b7bee07.jpg","text":"TemporaryFile(/tmp/multipartBody3962726657020155986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162363749,"filename":"image_31122025_06_17_05_11036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01d08d123fa3a9a773f8685bd20b74df.jpg","text":"TemporaryFile(/tmp/multipartBody3061422490185674866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162363749,"filename":"image_31122025_06_16_45_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15469275b6c86e73b94c55950f16585e.jpg","text":"TemporaryFile(/tmp/multipartBody4376228139586414395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162363749,"filename":"image_31122025_06_16_34_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8601e7e2f5c3b9f62e21f6567b34482a.jpg","text":"TemporaryFile(/tmp/multipartBody3630625027722728628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162363749,"filename":"image_31122025_06_17_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/523cbc88763ae051aee82c96a2fc0f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1249694551849309896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162363749,"filename":"image_31122025_06_17_14_8761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842126","file1":"1401842123","file0":"1401842119","file4":"1401842133","file5":"1401842136","file3":"1401842129"},"map_files_photo_id_array":[{"photo_id":"1401842136","filename":"file5"},{"photo_id":"1401842126","filename":"file2"},{"photo_id":"1401842133","filename":"file4"},{"photo_id":"1401842123","filename":"file1"},{"photo_id":"1401842119","filename":"file0"},{"photo_id":"1401842129","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842126":["hashtag1","hashtag2"]},{"1401842129":["hashtag1","hashtag2"]},{"1401842123":["hashtag1","hashtag2"]},{"1401842119":["hashtag1","hashtag2"]},{"1401842136":["hashtag1","hashtag2"]},{"1401842133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842126, 1401842129, 1401842123, 1401842119, 1401842136, 1401842133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20481586456299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:26:02.949290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_34_9567.jpg', '/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_45_10571.jpg', '/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_54_9776.jpg', '/home/pi/Desktop/images/31122025/06/17/image_31122025_06_18_04_9590.jpg', '/home/pi/Desktop/images/31122025/06/18/image_31122025_06_18_14_9768.jpg', '/home/pi/Desktop/images/31122025/06/18/image_31122025_06_18_34_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_34_9567.jpg
/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_45_10571.jpg
/home/pi/Desktop/images/31122025/06/17/image_31122025_06_17_54_9776.jpg
/home/pi/Desktop/images/31122025/06/17/image_31122025_06_18_04_9590.jpg
/home/pi/Desktop/images/31122025/06/18/image_31122025_06_18_14_9768.jpg
/home/pi/Desktop/images/31122025/06/18/image_31122025_06_18_34_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842150","1401842158","1401842152","1401842154","1401842148","1401842163"],"photo_ids_order":["1401842148","1401842150","1401842152","1401842154","1401842158","1401842163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f995f0c0afac85bc281a63e2941a15bb.jpg","text":"TemporaryFile(/tmp/multipartBody7070768379915747607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162423560,"filename":"image_31122025_06_17_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb3e748d0add8afef71addf609952a62.jpg","text":"TemporaryFile(/tmp/multipartBody5935454643284063926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162423560,"filename":"image_31122025_06_18_14_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b39e627c7dfb99b398fff74ec1e37c8.jpg","text":"TemporaryFile(/tmp/multipartBody3683096478791589313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162423560,"filename":"image_31122025_06_17_54_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37ea55565ba5615e53610d14501f579f.jpg","text":"TemporaryFile(/tmp/multipartBody1949956080696043602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162423560,"filename":"image_31122025_06_18_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f2823172098c94e2526dc35f373ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody1444522222302784827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162423560,"filename":"image_31122025_06_17_34_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26cc86acc8120bbd16d6c9dadddd4267.jpg","text":"TemporaryFile(/tmp/multipartBody5373249594676067475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162423560,"filename":"image_31122025_06_18_34_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842152","file1":"1401842150","file0":"1401842148","file4":"1401842158","file5":"1401842163","file3":"1401842154"},"map_files_photo_id_array":[{"photo_id":"1401842163","filename":"file5"},{"photo_id":"1401842152","filename":"file2"},{"photo_id":"1401842158","filename":"file4"},{"photo_id":"1401842150","filename":"file1"},{"photo_id":"1401842148","filename":"file0"},{"photo_id":"1401842154","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842150":["hashtag1","hashtag2"]},{"1401842158":["hashtag1","hashtag2"]},{"1401842152":["hashtag1","hashtag2"]},{"1401842154":["hashtag1","hashtag2"]},{"1401842148":["hashtag1","hashtag2"]},{"1401842163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842150, 1401842158, 1401842152, 1401842154, 1401842148, 1401842163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7652862071991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:26:42.699844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_53_2723.jpg', '/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_56_2722.jpg', '/home/pi/Desktop/images/02112025/23/21/image_02112025_23_22_00_3643.jpg', '/home/pi/Desktop/images/02112025/23/22/image_02112025_23_22_05_2843.jpg', '/home/pi/Desktop/images/02112025/23/22/image_02112025_23_22_14_2826.jpg', '/home/pi/Desktop/images/02112025/23/22/image_02112025_23_22_17_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_53_2723.jpg
/home/pi/Desktop/images/02112025/23/21/image_02112025_23_21_56_2722.jpg
/home/pi/Desktop/images/02112025/23/21/image_02112025_23_22_00_3643.jpg
/home/pi/Desktop/images/02112025/23/22/image_02112025_23_22_05_2843.jpg
/home/pi/Desktop/images/02112025/23/22/image_02112025_23_22_14_2826.jpg
/home/pi/Desktop/images/02112025/23/22/image_02112025_23_22_17_2817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842186","1401842216","1401842188","1401842296","1401842256","1401842189"],"photo_ids_order":["1401842186","1401842188","1401842189","1401842216","1401842256","1401842296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f49bba13c780fcbf4ebe2dcc59daabfc.jpg","text":"TemporaryFile(/tmp/multipartBody8397398620393580759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162464630,"filename":"image_02112025_23_21_53_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a526b0dc956e248eb39c59624327e051.jpg","text":"TemporaryFile(/tmp/multipartBody3827897522140254784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162464630,"filename":"image_02112025_23_22_05_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/daf0eb8b1b353f1f49618a176e3ad7eb.jpg","text":"TemporaryFile(/tmp/multipartBody253431023994343258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162464630,"filename":"image_02112025_23_21_56_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48cdec72be0f4c780e9b49b82ac307c2.jpg","text":"TemporaryFile(/tmp/multipartBody6394303972870559998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162464630,"filename":"image_02112025_23_22_17_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79a6b1bbc99412f6261caba4b32db89f.jpg","text":"TemporaryFile(/tmp/multipartBody5116734535556509252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162464630,"filename":"image_02112025_23_22_14_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee28be9dbe859f08bfcf2357b2ad3549.jpg","text":"TemporaryFile(/tmp/multipartBody4360960061391827416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162464630,"filename":"image_02112025_23_22_00_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842189","file1":"1401842188","file0":"1401842186","file4":"1401842256","file5":"1401842296","file3":"1401842216"},"map_files_photo_id_array":[{"photo_id":"1401842296","filename":"file5"},{"photo_id":"1401842189","filename":"file2"},{"photo_id":"1401842256","filename":"file4"},{"photo_id":"1401842188","filename":"file1"},{"photo_id":"1401842186","filename":"file0"},{"photo_id":"1401842216","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401842186":["hashtag1","hashtag2"]},{"1401842216":["hashtag1","hashtag2"]},{"1401842188":["hashtag1","hashtag2"]},{"1401842296":["hashtag1","hashtag2"]},{"1401842256":["hashtag1","hashtag2"]},{"1401842189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401842186, 1401842216, 1401842188, 1401842296, 1401842256, 1401842189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82188105583191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:27:31.939622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_08_2565.jpg', '/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_11_3640.jpg', '/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_14_2763.jpg', '/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_21_3666.jpg', '/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_23_2652.jpg', '/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_44_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_08_2565.jpg
/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_11_3640.jpg
/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_14_2763.jpg
/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_21_3666.jpg
/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_23_2652.jpg
/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_44_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842351","1401842345","1401842354","1401842348","1401842356","1401842343"],"photo_ids_order":["1401842343","1401842345","1401842348","1401842351","1401842354","1401842356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a58279f3b2c45082e62a697850fc72a1.jpg","text":"TemporaryFile(/tmp/multipartBody95694023470855037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162513904,"filename":"image_02112025_23_23_21_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/757e4839785b20d8cbde3e57a5d47515.jpg","text":"TemporaryFile(/tmp/multipartBody5425981619253313486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162513904,"filename":"image_02112025_23_23_11_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1362717fd3bc54afb42fbf581cc5d06.jpg","text":"TemporaryFile(/tmp/multipartBody1254841315085095248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162513904,"filename":"image_02112025_23_23_23_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/159c550ecbfd87ba915b145b89755af5.jpg","text":"TemporaryFile(/tmp/multipartBody3476995685026385319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162513904,"filename":"image_02112025_23_23_14_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5875a997c92c5bbb4a89854a0e864f5.jpg","text":"TemporaryFile(/tmp/multipartBody8976702542841095743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162513904,"filename":"image_02112025_23_23_44_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a7acebe38498846cb99e0c418f2e47c.jpg","text":"TemporaryFile(/tmp/multipartBody5361069795896104348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162513904,"filename":"image_02112025_23_23_08_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842348","file1":"1401842345","file0":"1401842343","file4":"1401842354","file5":"1401842356","file3":"1401842351"},"map_files_photo_id_array":[{"photo_id":"1401842356","filename":"file5"},{"photo_id":"1401842348","filename":"file2"},{"photo_id":"1401842354","filename":"file4"},{"photo_id":"1401842345","filename":"file1"},{"photo_id":"1401842343","filename":"file0"},{"photo_id":"1401842351","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401842351":["hashtag1","hashtag2"]},{"1401842345":["hashtag1","hashtag2"]},{"1401842354":["hashtag1","hashtag2"]},{"1401842348":["hashtag1","hashtag2"]},{"1401842356":["hashtag1","hashtag2"]},{"1401842343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401842351, 1401842345, 1401842354, 1401842348, 1401842356, 1401842343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.259095430374146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:28:11.925657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_51_3710.jpg', '/home/pi/Desktop/images/02112025/23/24/image_02112025_23_24_08_2647.jpg', '/home/pi/Desktop/images/02112025/23/24/image_02112025_23_24_11_2762.jpg', '/home/pi/Desktop/images/02112025/23/25/image_02112025_23_25_44_1639.jpg', '/home/pi/Desktop/images/02112025/23/25/image_02112025_23_25_47_3565.jpg', '/home/pi/Desktop/images/02112025/23/25/image_02112025_23_25_56_3363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/23/image_02112025_23_23_51_3710.jpg
/home/pi/Desktop/images/02112025/23/24/image_02112025_23_24_08_2647.jpg
/home/pi/Desktop/images/02112025/23/24/image_02112025_23_24_11_2762.jpg
/home/pi/Desktop/images/02112025/23/25/image_02112025_23_25_44_1639.jpg
/home/pi/Desktop/images/02112025/23/25/image_02112025_23_25_47_3565.jpg
/home/pi/Desktop/images/02112025/23/25/image_02112025_23_25_56_3363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842375","1401842369","1401842372","1401842366","1401842380","1401842364"],"photo_ids_order":["1401842364","1401842366","1401842369","1401842372","1401842375","1401842380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee05e54c7a3b257cfacca9a2e6504f69.jpg","text":"TemporaryFile(/tmp/multipartBody4457449418164256806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162553745,"filename":"image_02112025_23_25_47_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5dfae909baa4fd2b82bd977a1fdb6081.jpg","text":"TemporaryFile(/tmp/multipartBody2305536249207242050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162553745,"filename":"image_02112025_23_24_11_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2568cef42910583054c5326e7614e2b5.jpg","text":"TemporaryFile(/tmp/multipartBody7068950335043788043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162553745,"filename":"image_02112025_23_25_44_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abc81e989fed51b9cf34354f29a5f585.jpg","text":"TemporaryFile(/tmp/multipartBody1661162175966278428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162553745,"filename":"image_02112025_23_24_08_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41c692771b2c3469a13e9efbbb5040cb.jpg","text":"TemporaryFile(/tmp/multipartBody4746490668454354253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162553745,"filename":"image_02112025_23_25_56_3363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2891c870c45e5b16c82f94e0269c4fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5349938944941238284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162553745,"filename":"image_02112025_23_23_51_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842369","file1":"1401842366","file0":"1401842364","file4":"1401842375","file5":"1401842380","file3":"1401842372"},"map_files_photo_id_array":[{"photo_id":"1401842380","filename":"file5"},{"photo_id":"1401842369","filename":"file2"},{"photo_id":"1401842375","filename":"file4"},{"photo_id":"1401842366","filename":"file1"},{"photo_id":"1401842364","filename":"file0"},{"photo_id":"1401842372","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401842375":["hashtag1","hashtag2"]},{"1401842369":["hashtag1","hashtag2"]},{"1401842372":["hashtag1","hashtag2"]},{"1401842366":["hashtag1","hashtag2"]},{"1401842380":["hashtag1","hashtag2"]},{"1401842364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401842375, 1401842369, 1401842372, 1401842366, 1401842380, 1401842364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.602718114852905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:29:02.992033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/18/image_31122025_06_18_44_9635.jpg', '/home/pi/Desktop/images/31122025/06/18/image_31122025_06_18_55_10764.jpg', '/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_04_9078.jpg', '/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_14_10528.jpg', '/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_24_9752.jpg', '/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_34_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/18/image_31122025_06_18_44_9635.jpg
/home/pi/Desktop/images/31122025/06/18/image_31122025_06_18_55_10764.jpg
/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_04_9078.jpg
/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_14_10528.jpg
/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_24_9752.jpg
/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_34_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842525","1401842536","1401842509","1401842463","1401842451","1401842520"],"photo_ids_order":["1401842451","1401842463","1401842509","1401842520","1401842525","1401842536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c08faba46ff5e7b446b409eb426b7129.jpg","text":"TemporaryFile(/tmp/multipartBody939986795483292797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162603899,"filename":"image_31122025_06_19_24_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47378a102097faf951451c8999b17086.jpg","text":"TemporaryFile(/tmp/multipartBody5852890570253391285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162603899,"filename":"image_31122025_06_19_34_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c46a1b450a42345bb13fa67a5d28befd.jpg","text":"TemporaryFile(/tmp/multipartBody4241285306104722339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162603899,"filename":"image_31122025_06_19_04_9078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/035f0358e400695ed91954148650619d.jpg","text":"TemporaryFile(/tmp/multipartBody2026669606458479701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162603899,"filename":"image_31122025_06_18_55_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69bf1b02f5bc491ffc96b121b40b6222.jpg","text":"TemporaryFile(/tmp/multipartBody7233941155227938165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162603899,"filename":"image_31122025_06_18_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29fd60473c590b3405d9170c89e776fc.jpg","text":"TemporaryFile(/tmp/multipartBody4883798814212500103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162603899,"filename":"image_31122025_06_19_14_10528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842509","file1":"1401842463","file0":"1401842451","file4":"1401842525","file5":"1401842536","file3":"1401842520"},"map_files_photo_id_array":[{"photo_id":"1401842536","filename":"file5"},{"photo_id":"1401842509","filename":"file2"},{"photo_id":"1401842525","filename":"file4"},{"photo_id":"1401842463","filename":"file1"},{"photo_id":"1401842451","filename":"file0"},{"photo_id":"1401842520","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842525":["hashtag1","hashtag2"]},{"1401842536":["hashtag1","hashtag2"]},{"1401842509":["hashtag1","hashtag2"]},{"1401842463":["hashtag1","hashtag2"]},{"1401842451":["hashtag1","hashtag2"]},{"1401842520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842525, 1401842536, 1401842509, 1401842463, 1401842451, 1401842520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91248106956482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:30:02.949135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_45_10746.jpg', '/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_54_9567.jpg', '/home/pi/Desktop/images/31122025/06/19/image_31122025_06_20_04_9689.jpg', '/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_15_10728.jpg', '/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_25_9869.jpg', '/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_34_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_45_10746.jpg
/home/pi/Desktop/images/31122025/06/19/image_31122025_06_19_54_9567.jpg
/home/pi/Desktop/images/31122025/06/19/image_31122025_06_20_04_9689.jpg
/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_15_10728.jpg
/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_25_9869.jpg
/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_34_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842703","1401842677","1401842691","1401842688","1401842696","1401842684"],"photo_ids_order":["1401842677","1401842684","1401842688","1401842691","1401842696","1401842703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2008a4c6f7b5534eb5f96d502337db9.jpg","text":"TemporaryFile(/tmp/multipartBody3147388721174587019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162663571,"filename":"image_31122025_06_20_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa01da058a2c01064e2605d081d44169.jpg","text":"TemporaryFile(/tmp/multipartBody143873999752297048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162663571,"filename":"image_31122025_06_19_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a569e1e0e01295ecd8960cb880f2b412.jpg","text":"TemporaryFile(/tmp/multipartBody2144828663738648874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162663571,"filename":"image_31122025_06_20_15_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31108aedb978c2b0d789c0466efc02f3.jpg","text":"TemporaryFile(/tmp/multipartBody1877385771887017748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162663571,"filename":"image_31122025_06_20_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eed5c45a53fcd7071ef8dfd6eab468f6.jpg","text":"TemporaryFile(/tmp/multipartBody6806556314609072170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162663571,"filename":"image_31122025_06_20_25_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2589ca2063ec84f48f0d1219711d1f44.jpg","text":"TemporaryFile(/tmp/multipartBody8434530823583702716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162663571,"filename":"image_31122025_06_19_54_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842688","file1":"1401842684","file0":"1401842677","file4":"1401842696","file5":"1401842703","file3":"1401842691"},"map_files_photo_id_array":[{"photo_id":"1401842703","filename":"file5"},{"photo_id":"1401842688","filename":"file2"},{"photo_id":"1401842696","filename":"file4"},{"photo_id":"1401842684","filename":"file1"},{"photo_id":"1401842677","filename":"file0"},{"photo_id":"1401842691","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842703":["hashtag1","hashtag2"]},{"1401842677":["hashtag1","hashtag2"]},{"1401842691":["hashtag1","hashtag2"]},{"1401842688":["hashtag1","hashtag2"]},{"1401842696":["hashtag1","hashtag2"]},{"1401842684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842703, 1401842677, 1401842691, 1401842688, 1401842696, 1401842684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.676140546798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:30:42.427782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_02_3671.jpg', '/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_10_2755.jpg', '/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_20_2612.jpg', '/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_26_2880.jpg', '/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_29_2742.jpg', '/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_41_2914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_02_3671.jpg
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_10_2755.jpg
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_20_2612.jpg
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_26_2880.jpg
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_29_2742.jpg
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_41_2914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842723","1401842713","1401842716","1401842724","1401842727","1401842715"],"photo_ids_order":["1401842713","1401842715","1401842716","1401842723","1401842724","1401842727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51c8dc5941122563f347d047e6cfe932.jpg","text":"TemporaryFile(/tmp/multipartBody5866533688482119262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162705063,"filename":"image_02112025_23_26_26_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7aa168ba818ac617e2a49bf0cbc2a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3138652889000506482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162705063,"filename":"image_02112025_23_26_02_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d84af909ad990c9ec176f2030a0a334a.jpg","text":"TemporaryFile(/tmp/multipartBody8146091835134784390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162705063,"filename":"image_02112025_23_26_20_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e39928942f1ed37c11de5ec90c5123b9.jpg","text":"TemporaryFile(/tmp/multipartBody2357180867424037743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162705063,"filename":"image_02112025_23_26_29_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e90ee4ab54d3467c4e32bcba15c121da.jpg","text":"TemporaryFile(/tmp/multipartBody4968972464707184950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162705063,"filename":"image_02112025_23_26_41_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/564a1d0728e65f5243fdfd6e0d5eae8c.jpg","text":"TemporaryFile(/tmp/multipartBody1626996092629669350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162705063,"filename":"image_02112025_23_26_10_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842716","file1":"1401842715","file0":"1401842713","file4":"1401842724","file5":"1401842727","file3":"1401842723"},"map_files_photo_id_array":[{"photo_id":"1401842727","filename":"file5"},{"photo_id":"1401842716","filename":"file2"},{"photo_id":"1401842724","filename":"file4"},{"photo_id":"1401842715","filename":"file1"},{"photo_id":"1401842713","filename":"file0"},{"photo_id":"1401842723","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401842723":["hashtag1","hashtag2"]},{"1401842713":["hashtag1","hashtag2"]},{"1401842716":["hashtag1","hashtag2"]},{"1401842724":["hashtag1","hashtag2"]},{"1401842727":["hashtag1","hashtag2"]},{"1401842715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401842723, 1401842713, 1401842716, 1401842724, 1401842727, 1401842715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07948446273804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:31:22.597321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_44_9525.jpg', '/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_54_10625.jpg', '/home/pi/Desktop/images/31122025/06/20/image_31122025_06_21_04_9692.jpg', '/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_14_9657.jpg', '/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_24_10543.jpg', '/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_34_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_44_9525.jpg
/home/pi/Desktop/images/31122025/06/20/image_31122025_06_20_54_10625.jpg
/home/pi/Desktop/images/31122025/06/20/image_31122025_06_21_04_9692.jpg
/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_14_9657.jpg
/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_24_10543.jpg
/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_34_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842744","1401842752","1401842755","1401842760","1401842763","1401842757"],"photo_ids_order":["1401842744","1401842752","1401842755","1401842757","1401842760","1401842763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f797cc71ca6555be84d078968b93b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6065681776577937256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162743204,"filename":"image_31122025_06_20_44_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03628cec2f5b245e164b6cdfe1234405.jpg","text":"TemporaryFile(/tmp/multipartBody6756095732522887802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162743204,"filename":"image_31122025_06_20_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd18235e84beb850a755d5e3ced3ed10.jpg","text":"TemporaryFile(/tmp/multipartBody9220063611771556670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162743204,"filename":"image_31122025_06_21_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce735a783c291430bfc2468988954fb7.jpg","text":"TemporaryFile(/tmp/multipartBody5235913026583158018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162743204,"filename":"image_31122025_06_21_24_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d596444f437aa41a4c46fce071e979ad.jpg","text":"TemporaryFile(/tmp/multipartBody3870136038707365667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162743204,"filename":"image_31122025_06_21_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dd8b9b2b95e7e672bb1dc740bd72713.jpg","text":"TemporaryFile(/tmp/multipartBody2594420454220025882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162743204,"filename":"image_31122025_06_21_14_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842755","file1":"1401842752","file0":"1401842744","file4":"1401842760","file5":"1401842763","file3":"1401842757"},"map_files_photo_id_array":[{"photo_id":"1401842763","filename":"file5"},{"photo_id":"1401842755","filename":"file2"},{"photo_id":"1401842760","filename":"file4"},{"photo_id":"1401842752","filename":"file1"},{"photo_id":"1401842744","filename":"file0"},{"photo_id":"1401842757","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842744":["hashtag1","hashtag2"]},{"1401842752":["hashtag1","hashtag2"]},{"1401842755":["hashtag1","hashtag2"]},{"1401842760":["hashtag1","hashtag2"]},{"1401842763":["hashtag1","hashtag2"]},{"1401842757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842744, 1401842752, 1401842755, 1401842760, 1401842763, 1401842757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47567915916443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:32:03.225035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_45_10655.jpg', '/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_54_9575.jpg', '/home/pi/Desktop/images/31122025/06/21/image_31122025_06_22_04_10079.jpg', '/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_14_9646.jpg', '/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_25_10660.jpg', '/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_34_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_45_10655.jpg
/home/pi/Desktop/images/31122025/06/21/image_31122025_06_21_54_9575.jpg
/home/pi/Desktop/images/31122025/06/21/image_31122025_06_22_04_10079.jpg
/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_14_9646.jpg
/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_25_10660.jpg
/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_34_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842909","1401842816","1401842890","1401842854","1401842886","1401842876"],"photo_ids_order":["1401842816","1401842854","1401842876","1401842886","1401842890","1401842909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e15e9185efcfb5d15d209c4302514f3.jpg","text":"TemporaryFile(/tmp/multipartBody7492587576530261950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162783840,"filename":"image_31122025_06_22_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93706e3b588b0b52fc4c756964faf3c9.jpg","text":"TemporaryFile(/tmp/multipartBody6968008655604272126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162783840,"filename":"image_31122025_06_21_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b13705799932fb9c64d99ff752a85119.jpg","text":"TemporaryFile(/tmp/multipartBody5639747731232895900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162783840,"filename":"image_31122025_06_22_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7120ca2b6eaac67f8a9f8f9ae7118596.jpg","text":"TemporaryFile(/tmp/multipartBody221529270757806057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162783840,"filename":"image_31122025_06_21_54_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/133ab5eee9db026578d592494eec2944.jpg","text":"TemporaryFile(/tmp/multipartBody4090288063410664207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162783840,"filename":"image_31122025_06_22_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c92af498df101ad5fba09ab5913e818f.jpg","text":"TemporaryFile(/tmp/multipartBody7911656119449533549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162783840,"filename":"image_31122025_06_22_04_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842876","file1":"1401842854","file0":"1401842816","file4":"1401842890","file5":"1401842909","file3":"1401842886"},"map_files_photo_id_array":[{"photo_id":"1401842909","filename":"file5"},{"photo_id":"1401842876","filename":"file2"},{"photo_id":"1401842890","filename":"file4"},{"photo_id":"1401842854","filename":"file1"},{"photo_id":"1401842816","filename":"file0"},{"photo_id":"1401842886","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842909":["hashtag1","hashtag2"]},{"1401842816":["hashtag1","hashtag2"]},{"1401842890":["hashtag1","hashtag2"]},{"1401842854":["hashtag1","hashtag2"]},{"1401842886":["hashtag1","hashtag2"]},{"1401842876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842909, 1401842816, 1401842890, 1401842854, 1401842886, 1401842876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90000247955322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:32:42.879248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_44_3627.jpg', '/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_47_2701.jpg', '/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_50_2677.jpg', '/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_59_2833.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_02_2659.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_11_3022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_44_3627.jpg
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_47_2701.jpg
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_50_2677.jpg
/home/pi/Desktop/images/02112025/23/26/image_02112025_23_26_59_2833.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_02_2659.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_11_3022.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842954","1401842959","1401842970","1401842964","1401842973","1401842975"],"photo_ids_order":["1401842954","1401842959","1401842964","1401842970","1401842973","1401842975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02a7f4bef8127de7708e87d6ae3d2d99.jpg","text":"TemporaryFile(/tmp/multipartBody7085957554634185535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162824798,"filename":"image_02112025_23_26_44_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a48fc3299341252b94a441748ed7411.jpg","text":"TemporaryFile(/tmp/multipartBody8858369268542084026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162824798,"filename":"image_02112025_23_26_47_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a187e41ffcc17338ee039e0ac24ad9c6.jpg","text":"TemporaryFile(/tmp/multipartBody8044386860587501674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162824798,"filename":"image_02112025_23_26_59_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bff8b8b3bb01a0003be6dfd9b8b76cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1975924262207042779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162824798,"filename":"image_02112025_23_26_50_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bf6833186a59655d214d7492dcd77eb.jpg","text":"TemporaryFile(/tmp/multipartBody2016552219626535663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162824798,"filename":"image_02112025_23_27_02_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99111a7c089b04a9ddf14a70d65613e1.jpg","text":"TemporaryFile(/tmp/multipartBody6675516078739104151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162824798,"filename":"image_02112025_23_27_11_3022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842964","file1":"1401842959","file0":"1401842954","file4":"1401842973","file5":"1401842975","file3":"1401842970"},"map_files_photo_id_array":[{"photo_id":"1401842975","filename":"file5"},{"photo_id":"1401842964","filename":"file2"},{"photo_id":"1401842973","filename":"file4"},{"photo_id":"1401842959","filename":"file1"},{"photo_id":"1401842954","filename":"file0"},{"photo_id":"1401842970","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401842954":["hashtag1","hashtag2"]},{"1401842959":["hashtag1","hashtag2"]},{"1401842970":["hashtag1","hashtag2"]},{"1401842964":["hashtag1","hashtag2"]},{"1401842973":["hashtag1","hashtag2"]},{"1401842975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401842954, 1401842959, 1401842970, 1401842964, 1401842973, 1401842975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.943315267562866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:33:22.154111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_44_9681.jpg', '/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_54_10553.jpg', '/home/pi/Desktop/images/31122025/06/22/image_31122025_06_23_04_9852.jpg', '/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_14_9591.jpg', '/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_24_10574.jpg', '/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_34_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_44_9681.jpg
/home/pi/Desktop/images/31122025/06/22/image_31122025_06_22_54_10553.jpg
/home/pi/Desktop/images/31122025/06/22/image_31122025_06_23_04_9852.jpg
/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_14_9591.jpg
/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_24_10574.jpg
/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_34_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401842980","1401842982","1401842991","1401842985","1401843000","1401842996"],"photo_ids_order":["1401842980","1401842982","1401842985","1401842991","1401842996","1401843000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f574e147b83964da37801e65beced814.jpg","text":"TemporaryFile(/tmp/multipartBody2791555178288300514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162862751,"filename":"image_31122025_06_22_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a857a63fb02b884dec5f325f5e09310e.jpg","text":"TemporaryFile(/tmp/multipartBody5609214843344021845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162862751,"filename":"image_31122025_06_22_54_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c45330cd20bdb7b7f082df320e57331.jpg","text":"TemporaryFile(/tmp/multipartBody3216209582128083770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162862751,"filename":"image_31122025_06_23_14_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f92027d7a5bdb48695d04a548e22362.jpg","text":"TemporaryFile(/tmp/multipartBody8422713153153722110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162862751,"filename":"image_31122025_06_23_04_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d23e7d5cbf3cb44ad8a0dd3abbcccf8.jpg","text":"TemporaryFile(/tmp/multipartBody9072298255497746522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162862751,"filename":"image_31122025_06_23_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ec7882ce680afe82f35f5ee5ac6e40c.jpg","text":"TemporaryFile(/tmp/multipartBody3892637650647886983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162862751,"filename":"image_31122025_06_23_24_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401842985","file1":"1401842982","file0":"1401842980","file4":"1401842996","file5":"1401843000","file3":"1401842991"},"map_files_photo_id_array":[{"photo_id":"1401843000","filename":"file5"},{"photo_id":"1401842985","filename":"file2"},{"photo_id":"1401842996","filename":"file4"},{"photo_id":"1401842982","filename":"file1"},{"photo_id":"1401842980","filename":"file0"},{"photo_id":"1401842991","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401842980":["hashtag1","hashtag2"]},{"1401842982":["hashtag1","hashtag2"]},{"1401842991":["hashtag1","hashtag2"]},{"1401842985":["hashtag1","hashtag2"]},{"1401843000":["hashtag1","hashtag2"]},{"1401842996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401842980, 1401842982, 1401842991, 1401842985, 1401843000, 1401842996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.537848234176636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:34:02.979838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_44_9661.jpg', '/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_54_10690.jpg', '/home/pi/Desktop/images/31122025/06/23/image_31122025_06_24_04_9698.jpg', '/home/pi/Desktop/images/31122025/06/24/image_31122025_06_24_14_9613.jpg', '/home/pi/Desktop/images/31122025/06/24/image_31122025_06_24_34_9671.jpg', '/home/pi/Desktop/images/31122025/06/24/image_31122025_06_24_45_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_44_9661.jpg
/home/pi/Desktop/images/31122025/06/23/image_31122025_06_23_54_10690.jpg
/home/pi/Desktop/images/31122025/06/23/image_31122025_06_24_04_9698.jpg
/home/pi/Desktop/images/31122025/06/24/image_31122025_06_24_14_9613.jpg
/home/pi/Desktop/images/31122025/06/24/image_31122025_06_24_34_9671.jpg
/home/pi/Desktop/images/31122025/06/24/image_31122025_06_24_45_10539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843014","1401843008","1401843022","1401843010","1401843018","1401843012"],"photo_ids_order":["1401843008","1401843010","1401843012","1401843014","1401843018","1401843022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7971fe07f1cbe8340bdc61959b452e23.jpg","text":"TemporaryFile(/tmp/multipartBody8704843582329346085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162903702,"filename":"image_31122025_06_24_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5e79caa68ad2a1f29ef48d3db91de7d.jpg","text":"TemporaryFile(/tmp/multipartBody1717615973253373817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162903702,"filename":"image_31122025_06_23_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/402123aeb623e5d0034d92fa85128009.jpg","text":"TemporaryFile(/tmp/multipartBody8137202436817250782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162903702,"filename":"image_31122025_06_24_45_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/760bb32e3299bedf3b1c7e668f199c47.jpg","text":"TemporaryFile(/tmp/multipartBody4076269802335986251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162903702,"filename":"image_31122025_06_23_54_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06617543b6d5d00d37b35f8b082f73b6.jpg","text":"TemporaryFile(/tmp/multipartBody390157430673272278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162903702,"filename":"image_31122025_06_24_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b12880f12bb3963da34d4dc2b52e8153.jpg","text":"TemporaryFile(/tmp/multipartBody8992780411152090060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162903702,"filename":"image_31122025_06_24_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843012","file1":"1401843010","file0":"1401843008","file4":"1401843018","file5":"1401843022","file3":"1401843014"},"map_files_photo_id_array":[{"photo_id":"1401843022","filename":"file5"},{"photo_id":"1401843012","filename":"file2"},{"photo_id":"1401843018","filename":"file4"},{"photo_id":"1401843010","filename":"file1"},{"photo_id":"1401843008","filename":"file0"},{"photo_id":"1401843014","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843014":["hashtag1","hashtag2"]},{"1401843008":["hashtag1","hashtag2"]},{"1401843022":["hashtag1","hashtag2"]},{"1401843010":["hashtag1","hashtag2"]},{"1401843018":["hashtag1","hashtag2"]},{"1401843012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843014, 1401843008, 1401843022, 1401843010, 1401843018, 1401843012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88331913948059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:34:42.235849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_14_2673.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_20_3679.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_23_3093.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_31_2643.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_38_3756.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_43_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_14_2673.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_20_3679.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_23_3093.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_31_2643.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_38_3756.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_43_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843113","1401843157","1401843070","1401843031","1401843034","1401843170"],"photo_ids_order":["1401843031","1401843034","1401843070","1401843113","1401843157","1401843170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4bb377048faa2811f8b213e35e3d99c.jpg","text":"TemporaryFile(/tmp/multipartBody7563620932740077527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162944248,"filename":"image_02112025_23_27_31_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/284bc3c52ece47950fdf52dd9b07a04a.jpg","text":"TemporaryFile(/tmp/multipartBody5945295615180187899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162944248,"filename":"image_02112025_23_27_38_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5af7bd309fb7c680da24e4f67f717291.jpg","text":"TemporaryFile(/tmp/multipartBody5241087811591118860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162944248,"filename":"image_02112025_23_27_23_3093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78ec03fb8c1313657266f033f55527ae.jpg","text":"TemporaryFile(/tmp/multipartBody2516489335622576552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162944248,"filename":"image_02112025_23_27_14_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0d85032118d70e7e1a579e3c347d187.jpg","text":"TemporaryFile(/tmp/multipartBody857148690385710456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162944248,"filename":"image_02112025_23_27_20_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0bcfa197b3fe5e99f1621c00ece3bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8264192256752765244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162944248,"filename":"image_02112025_23_27_43_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843070","file1":"1401843034","file0":"1401843031","file4":"1401843157","file5":"1401843170","file3":"1401843113"},"map_files_photo_id_array":[{"photo_id":"1401843170","filename":"file5"},{"photo_id":"1401843070","filename":"file2"},{"photo_id":"1401843157","filename":"file4"},{"photo_id":"1401843034","filename":"file1"},{"photo_id":"1401843031","filename":"file0"},{"photo_id":"1401843113","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401843113":["hashtag1","hashtag2"]},{"1401843157":["hashtag1","hashtag2"]},{"1401843070":["hashtag1","hashtag2"]},{"1401843031":["hashtag1","hashtag2"]},{"1401843034":["hashtag1","hashtag2"]},{"1401843170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401843113, 1401843157, 1401843070, 1401843031, 1401843034, 1401843170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.193418741226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:35:22.427027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/24/image_31122025_06_24_54_9548.jpg', '/home/pi/Desktop/images/31122025/06/24/image_31122025_06_25_04_9731.jpg', '/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_15_10761.jpg', '/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_24_9700.jpg', '/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_34_9694.jpg', '/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_45_10522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/24/image_31122025_06_24_54_9548.jpg
/home/pi/Desktop/images/31122025/06/24/image_31122025_06_25_04_9731.jpg
/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_15_10761.jpg
/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_24_9700.jpg
/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_34_9694.jpg
/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_45_10522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843218","1401843215","1401843211","1401843225","1401843207","1401843222"],"photo_ids_order":["1401843207","1401843211","1401843215","1401843218","1401843222","1401843225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03c1039dd65edf19cc78b73e27e1380f.jpg","text":"TemporaryFile(/tmp/multipartBody5500981955393034693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162983033,"filename":"image_31122025_06_25_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fbfd9e7e731e7760ba40affbe87f057.jpg","text":"TemporaryFile(/tmp/multipartBody2457746636896394367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162983033,"filename":"image_31122025_06_25_15_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc9e3c37c9cc2029a384b6f0f430356f.jpg","text":"TemporaryFile(/tmp/multipartBody4759216299895618369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162983033,"filename":"image_31122025_06_25_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57fb357bee9ed4c10953ab03291ace6c.jpg","text":"TemporaryFile(/tmp/multipartBody6940146521056848691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162983033,"filename":"image_31122025_06_25_45_10522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cc30da8aca6e499415624f7b24be32a.jpg","text":"TemporaryFile(/tmp/multipartBody603979742370670515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162983033,"filename":"image_31122025_06_24_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e627fc99b00be6853e7a24fb9617a2d1.jpg","text":"TemporaryFile(/tmp/multipartBody8629748043183789736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767162983033,"filename":"image_31122025_06_25_34_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843215","file1":"1401843211","file0":"1401843207","file4":"1401843222","file5":"1401843225","file3":"1401843218"},"map_files_photo_id_array":[{"photo_id":"1401843225","filename":"file5"},{"photo_id":"1401843215","filename":"file2"},{"photo_id":"1401843222","filename":"file4"},{"photo_id":"1401843211","filename":"file1"},{"photo_id":"1401843207","filename":"file0"},{"photo_id":"1401843218","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843218":["hashtag1","hashtag2"]},{"1401843215":["hashtag1","hashtag2"]},{"1401843211":["hashtag1","hashtag2"]},{"1401843225":["hashtag1","hashtag2"]},{"1401843207":["hashtag1","hashtag2"]},{"1401843222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843218, 1401843215, 1401843211, 1401843225, 1401843207, 1401843222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.732595443725586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:36:03.025088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_54_9557.jpg', '/home/pi/Desktop/images/31122025/06/25/image_31122025_06_26_04_9667.jpg', '/home/pi/Desktop/images/31122025/06/26/image_31122025_06_26_15_10730.jpg', '/home/pi/Desktop/images/31122025/06/26/image_31122025_06_26_24_9672.jpg', '/home/pi/Desktop/images/31122025/06/26/image_31122025_06_26_34_9742.jpg', '/home/pi/Desktop/images/31122025/06/26/image_31122025_06_26_54_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/25/image_31122025_06_25_54_9557.jpg
/home/pi/Desktop/images/31122025/06/25/image_31122025_06_26_04_9667.jpg
/home/pi/Desktop/images/31122025/06/26/image_31122025_06_26_15_10730.jpg
/home/pi/Desktop/images/31122025/06/26/image_31122025_06_26_24_9672.jpg
/home/pi/Desktop/images/31122025/06/26/image_31122025_06_26_34_9742.jpg
/home/pi/Desktop/images/31122025/06/26/image_31122025_06_26_54_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843245","1401843231","1401843234","1401843228","1401843237","1401843257"],"photo_ids_order":["1401843228","1401843231","1401843234","1401843237","1401843245","1401843257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d911ed7189d2bcc1907ed6b74040d3dd.jpg","text":"TemporaryFile(/tmp/multipartBody6622409144580622785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163023655,"filename":"image_31122025_06_26_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5037ac59e515047dd0f7d575b161d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1324970926118820543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163023655,"filename":"image_31122025_06_26_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b1a61ffb001dc43b6f8dbdc37d0e7a5.jpg","text":"TemporaryFile(/tmp/multipartBody5077660821237727049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163023655,"filename":"image_31122025_06_26_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90c8cbc292edfb00e0f6bbf5fa23bcd8.jpg","text":"TemporaryFile(/tmp/multipartBody6474184875052017570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163023655,"filename":"image_31122025_06_25_54_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7db44160e085ac3075c17b776dd5bc22.jpg","text":"TemporaryFile(/tmp/multipartBody7391501181921025406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163023655,"filename":"image_31122025_06_26_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ce30df791baaeb4881444903b8edee9.jpg","text":"TemporaryFile(/tmp/multipartBody8074722937016616715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163023655,"filename":"image_31122025_06_26_54_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843234","file1":"1401843231","file0":"1401843228","file4":"1401843245","file5":"1401843257","file3":"1401843237"},"map_files_photo_id_array":[{"photo_id":"1401843257","filename":"file5"},{"photo_id":"1401843234","filename":"file2"},{"photo_id":"1401843245","filename":"file4"},{"photo_id":"1401843231","filename":"file1"},{"photo_id":"1401843228","filename":"file0"},{"photo_id":"1401843237","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843245":["hashtag1","hashtag2"]},{"1401843231":["hashtag1","hashtag2"]},{"1401843234":["hashtag1","hashtag2"]},{"1401843228":["hashtag1","hashtag2"]},{"1401843237":["hashtag1","hashtag2"]},{"1401843257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843245, 1401843231, 1401843234, 1401843228, 1401843237, 1401843257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.278422117233276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:36:42.584469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_47_3811.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_50_2647.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_52_2629.jpg', '/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_56_3610.jpg', '/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_10_2560.jpg', '/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_19_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_47_3811.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_50_2647.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_52_2629.jpg
/home/pi/Desktop/images/02112025/23/27/image_02112025_23_27_56_3610.jpg
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_10_2560.jpg
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_19_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843308","1401843297","1401843321","1401843315","1401843318","1401843293"],"photo_ids_order":["1401843293","1401843297","1401843308","1401843315","1401843318","1401843321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0566a650bb4611ad82c9447232907bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6253074603048856578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163064505,"filename":"image_02112025_23_27_52_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd63bf4aade6f66693e3ffaa64aa5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody6285890884243101606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163064505,"filename":"image_02112025_23_27_50_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8af1dae9255ce08565921a8afa134aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2504633054963419305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163064505,"filename":"image_02112025_23_28_19_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d39c4109858f982f9dbf29299b09478.jpg","text":"TemporaryFile(/tmp/multipartBody7670482760934141713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163064505,"filename":"image_02112025_23_27_56_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47d237bb46e17087257cf3151a7bfe03.jpg","text":"TemporaryFile(/tmp/multipartBody4471258347411384461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163064505,"filename":"image_02112025_23_28_10_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ec828cfcda917d322ea7446bbdc4ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7071253844144489912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163064505,"filename":"image_02112025_23_27_47_3811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843308","file1":"1401843297","file0":"1401843293","file4":"1401843318","file5":"1401843321","file3":"1401843315"},"map_files_photo_id_array":[{"photo_id":"1401843321","filename":"file5"},{"photo_id":"1401843308","filename":"file2"},{"photo_id":"1401843318","filename":"file4"},{"photo_id":"1401843297","filename":"file1"},{"photo_id":"1401843293","filename":"file0"},{"photo_id":"1401843315","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401843308":["hashtag1","hashtag2"]},{"1401843297":["hashtag1","hashtag2"]},{"1401843321":["hashtag1","hashtag2"]},{"1401843315":["hashtag1","hashtag2"]},{"1401843318":["hashtag1","hashtag2"]},{"1401843293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401843308, 1401843297, 1401843321, 1401843315, 1401843318, 1401843293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34148621559143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:37:22.752717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/26/image_31122025_06_27_05_10700.jpg', '/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_15_9843.jpg', '/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_24_9749.jpg', '/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_34_9725.jpg', '/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_45_10539.jpg', '/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_54_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/26/image_31122025_06_27_05_10700.jpg
/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_15_9843.jpg
/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_24_9749.jpg
/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_34_9725.jpg
/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_45_10539.jpg
/home/pi/Desktop/images/31122025/06/27/image_31122025_06_27_54_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843340","1401843334","1401843328","1401843343","1401843337","1401843330"],"photo_ids_order":["1401843328","1401843330","1401843334","1401843337","1401843340","1401843343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52abd00404d14efe0e34970a374d74c2.jpg","text":"TemporaryFile(/tmp/multipartBody3115432241360238027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163103348,"filename":"image_31122025_06_27_45_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0217fd1c506449ddf0a0ba02a5963da.jpg","text":"TemporaryFile(/tmp/multipartBody2574835093247364324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163103348,"filename":"image_31122025_06_27_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4887911868b09f2a770e20966dfeb1d6.jpg","text":"TemporaryFile(/tmp/multipartBody2901824370523967409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163103348,"filename":"image_31122025_06_27_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53e98379ea61e1471a48d3a0c28a4816.jpg","text":"TemporaryFile(/tmp/multipartBody7761934445022217786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163103348,"filename":"image_31122025_06_27_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0531c80e5be2c99eb243cbbc45d3309c.jpg","text":"TemporaryFile(/tmp/multipartBody7019801093958640919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163103348,"filename":"image_31122025_06_27_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/447c06e50fbe0d7a994171855225cf88.jpg","text":"TemporaryFile(/tmp/multipartBody7881966575397198630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163103348,"filename":"image_31122025_06_27_15_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843334","file1":"1401843330","file0":"1401843328","file4":"1401843340","file5":"1401843343","file3":"1401843337"},"map_files_photo_id_array":[{"photo_id":"1401843343","filename":"file5"},{"photo_id":"1401843334","filename":"file2"},{"photo_id":"1401843340","filename":"file4"},{"photo_id":"1401843330","filename":"file1"},{"photo_id":"1401843328","filename":"file0"},{"photo_id":"1401843337","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843340":["hashtag1","hashtag2"]},{"1401843334":["hashtag1","hashtag2"]},{"1401843328":["hashtag1","hashtag2"]},{"1401843343":["hashtag1","hashtag2"]},{"1401843337":["hashtag1","hashtag2"]},{"1401843330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843340, 1401843334, 1401843328, 1401843343, 1401843337, 1401843330)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.74276638031006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:38:11.902338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_22_2677.jpg', '/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_35_3610.jpg', '/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_38_2660.jpg', '/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_40_2745.jpg', '/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_43_2812.jpg', '/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_47_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_22_2677.jpg
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_35_3610.jpg
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_38_2660.jpg
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_40_2745.jpg
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_43_2812.jpg
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_47_3551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843437","1401843401","1401843379","1401843430","1401843393","1401843417"],"photo_ids_order":["1401843379","1401843393","1401843401","1401843417","1401843430","1401843437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b206824c1c457a3297eb4530ff7864da.jpg","text":"TemporaryFile(/tmp/multipartBody1579828996470453994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163153687,"filename":"image_02112025_23_28_47_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79cfafb37773451c9a1809849270a69c.jpg","text":"TemporaryFile(/tmp/multipartBody4835328897852904112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163153687,"filename":"image_02112025_23_28_38_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7e07848fa01accf6a75a5827cdfb8ee.jpg","text":"TemporaryFile(/tmp/multipartBody374582063962957284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163153687,"filename":"image_02112025_23_28_22_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22149c27de1e3baef46553d5d366870c.jpg","text":"TemporaryFile(/tmp/multipartBody734660444215680819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163153687,"filename":"image_02112025_23_28_43_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1de1c528ba5b51a5a86c35b72e48a19.jpg","text":"TemporaryFile(/tmp/multipartBody5420062545175424452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163153687,"filename":"image_02112025_23_28_35_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2d2754fb07cffc2970e63de506db0b9.jpg","text":"TemporaryFile(/tmp/multipartBody5779733387651962002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163153687,"filename":"image_02112025_23_28_40_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843401","file1":"1401843393","file0":"1401843379","file4":"1401843430","file5":"1401843437","file3":"1401843417"},"map_files_photo_id_array":[{"photo_id":"1401843437","filename":"file5"},{"photo_id":"1401843401","filename":"file2"},{"photo_id":"1401843430","filename":"file4"},{"photo_id":"1401843393","filename":"file1"},{"photo_id":"1401843379","filename":"file0"},{"photo_id":"1401843417","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401843437":["hashtag1","hashtag2"]},{"1401843401":["hashtag1","hashtag2"]},{"1401843379":["hashtag1","hashtag2"]},{"1401843430":["hashtag1","hashtag2"]},{"1401843393":["hashtag1","hashtag2"]},{"1401843417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401843437, 1401843401, 1401843379, 1401843430, 1401843393, 1401843417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51468014717102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:39:03.008012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_15_10663.jpg', '/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_24_9631.jpg', '/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_34_9617.jpg', '/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_45_10686.jpg', '/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_54_9702.jpg', '/home/pi/Desktop/images/31122025/06/28/image_31122025_06_29_04_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_15_10663.jpg
/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_24_9631.jpg
/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_34_9617.jpg
/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_45_10686.jpg
/home/pi/Desktop/images/31122025/06/28/image_31122025_06_28_54_9702.jpg
/home/pi/Desktop/images/31122025/06/28/image_31122025_06_29_04_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843496","1401843499","1401843613","1401843567","1401843491","1401843527"],"photo_ids_order":["1401843491","1401843496","1401843499","1401843527","1401843567","1401843613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fff82d59296e7792a58e8a2eca97d3a.jpg","text":"TemporaryFile(/tmp/multipartBody7867428097216118283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163203728,"filename":"image_31122025_06_28_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cf25cd8bcbb9cf8e4f06914ea9d26fe.jpg","text":"TemporaryFile(/tmp/multipartBody6991786456191415935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163203728,"filename":"image_31122025_06_28_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0508306c3091b2a62b89a463de2a3152.jpg","text":"TemporaryFile(/tmp/multipartBody5074220155649767748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163203728,"filename":"image_31122025_06_29_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a169f066cba46d85af5faf3fce153911.jpg","text":"TemporaryFile(/tmp/multipartBody1016677766254927200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163203728,"filename":"image_31122025_06_28_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/938b505c2fe7efa48bcfddfba6cd93f6.jpg","text":"TemporaryFile(/tmp/multipartBody6034592049609092755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163203728,"filename":"image_31122025_06_28_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/149617962d3c2ec6ec4b765b41f1008d.jpg","text":"TemporaryFile(/tmp/multipartBody6018359382897573935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163203728,"filename":"image_31122025_06_28_45_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843499","file1":"1401843496","file0":"1401843491","file4":"1401843567","file5":"1401843613","file3":"1401843527"},"map_files_photo_id_array":[{"photo_id":"1401843613","filename":"file5"},{"photo_id":"1401843499","filename":"file2"},{"photo_id":"1401843567","filename":"file4"},{"photo_id":"1401843496","filename":"file1"},{"photo_id":"1401843491","filename":"file0"},{"photo_id":"1401843527","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843496":["hashtag1","hashtag2"]},{"1401843499":["hashtag1","hashtag2"]},{"1401843613":["hashtag1","hashtag2"]},{"1401843567":["hashtag1","hashtag2"]},{"1401843491":["hashtag1","hashtag2"]},{"1401843527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843496, 1401843499, 1401843613, 1401843567, 1401843491, 1401843527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67042565345764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:40:02.757401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_15_10882.jpg', '/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_25_9853.jpg', '/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_34_9597.jpg', '/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_44_9596.jpg', '/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_54_10663.jpg', '/home/pi/Desktop/images/31122025/06/29/image_31122025_06_30_04_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_15_10882.jpg
/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_25_9853.jpg
/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_34_9597.jpg
/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_44_9596.jpg
/home/pi/Desktop/images/31122025/06/29/image_31122025_06_29_54_10663.jpg
/home/pi/Desktop/images/31122025/06/29/image_31122025_06_30_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843701","1401843694","1401843703","1401843706","1401843705","1401843698"],"photo_ids_order":["1401843694","1401843698","1401843701","1401843703","1401843705","1401843706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21ddff1f3ae95d8ed658eafa77f4300e.jpg","text":"TemporaryFile(/tmp/multipartBody834048079491931525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163263391,"filename":"image_31122025_06_29_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/198ea4994ffa979248f0fd3a8678a5c2.jpg","text":"TemporaryFile(/tmp/multipartBody3327859259766569342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163263391,"filename":"image_31122025_06_29_15_10882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4711b664c6c77c881ae48e49cb5dd6fe.jpg","text":"TemporaryFile(/tmp/multipartBody3474031769211228794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163263391,"filename":"image_31122025_06_29_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/791fb12baf6caba89a2f415d2742a166.jpg","text":"TemporaryFile(/tmp/multipartBody8275025373980435610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163263391,"filename":"image_31122025_06_30_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca65f5d1a1cf2a1d9ef8377adc8d3ef5.jpg","text":"TemporaryFile(/tmp/multipartBody7698442766824177481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163263391,"filename":"image_31122025_06_29_54_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f52bac996b6ffc4a40a0ff56bedfbcc4.jpg","text":"TemporaryFile(/tmp/multipartBody7038801943810035824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163263391,"filename":"image_31122025_06_29_25_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843701","file1":"1401843698","file0":"1401843694","file4":"1401843705","file5":"1401843706","file3":"1401843703"},"map_files_photo_id_array":[{"photo_id":"1401843706","filename":"file5"},{"photo_id":"1401843701","filename":"file2"},{"photo_id":"1401843705","filename":"file4"},{"photo_id":"1401843698","filename":"file1"},{"photo_id":"1401843694","filename":"file0"},{"photo_id":"1401843703","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843701":["hashtag1","hashtag2"]},{"1401843694":["hashtag1","hashtag2"]},{"1401843703":["hashtag1","hashtag2"]},{"1401843706":["hashtag1","hashtag2"]},{"1401843705":["hashtag1","hashtag2"]},{"1401843698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843701, 1401843694, 1401843703, 1401843706, 1401843705, 1401843698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59052515029907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:40:42.279406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_53_3581.jpg', '/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_58_2630.jpg', '/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_10_2768.jpg', '/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_17_2709.jpg', '/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_28_2768.jpg', '/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_31_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_53_3581.jpg
/home/pi/Desktop/images/02112025/23/28/image_02112025_23_28_58_2630.jpg
/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_10_2768.jpg
/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_17_2709.jpg
/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_28_2768.jpg
/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_31_2830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843748","1401843751","1401843750","1401843753","1401843743","1401843746"],"photo_ids_order":["1401843743","1401843746","1401843748","1401843750","1401843751","1401843753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fbae0e1c97cb8a0ff0b2453b72b126b.jpg","text":"TemporaryFile(/tmp/multipartBody7124698896809432850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163304204,"filename":"image_02112025_23_29_10_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/889677af06ca74cd529bb140ec10d869.jpg","text":"TemporaryFile(/tmp/multipartBody8722677813679539801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163304204,"filename":"image_02112025_23_29_28_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a8809211ecf787e8f9775c7cd66b2ba.jpg","text":"TemporaryFile(/tmp/multipartBody3530571049386931740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163304204,"filename":"image_02112025_23_29_17_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65c80930f3c3cad129ecc03681604a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5706758894143758679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163304204,"filename":"image_02112025_23_29_31_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cc6ed9700cb131ad7ef31e416214229.jpg","text":"TemporaryFile(/tmp/multipartBody373070760216027728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163304204,"filename":"image_02112025_23_28_53_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/210e9db20f5630effa5a68d9ff200278.jpg","text":"TemporaryFile(/tmp/multipartBody155506173209931902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163304204,"filename":"image_02112025_23_28_58_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843748","file1":"1401843746","file0":"1401843743","file4":"1401843751","file5":"1401843753","file3":"1401843750"},"map_files_photo_id_array":[{"photo_id":"1401843753","filename":"file5"},{"photo_id":"1401843748","filename":"file2"},{"photo_id":"1401843751","filename":"file4"},{"photo_id":"1401843746","filename":"file1"},{"photo_id":"1401843743","filename":"file0"},{"photo_id":"1401843750","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401843748":["hashtag1","hashtag2"]},{"1401843751":["hashtag1","hashtag2"]},{"1401843750":["hashtag1","hashtag2"]},{"1401843753":["hashtag1","hashtag2"]},{"1401843743":["hashtag1","hashtag2"]},{"1401843746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401843748, 1401843751, 1401843750, 1401843753, 1401843743, 1401843746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2055721282959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:41:32.565583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_34_2709.jpg', '/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_46_2730.jpg', '/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_50_3631.jpg', '/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_52_2789.jpg', '/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_07_2645.jpg', '/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_16_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_34_2709.jpg
/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_46_2730.jpg
/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_50_3631.jpg
/home/pi/Desktop/images/02112025/23/29/image_02112025_23_29_52_2789.jpg
/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_07_2645.jpg
/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_16_2856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843772","1401843775","1401843765","1401843774","1401843768","1401843776"],"photo_ids_order":["1401843765","1401843768","1401843772","1401843774","1401843775","1401843776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0eeeb895618e49f8b9fee8496e13e61d.jpg","text":"TemporaryFile(/tmp/multipartBody3627796929762041132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163354488,"filename":"image_02112025_23_29_50_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7221efd8c2e876c360014a0781fb7b65.jpg","text":"TemporaryFile(/tmp/multipartBody8933652902148609542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163354488,"filename":"image_02112025_23_30_07_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92dcd3d752991bf99783ed6927724858.jpg","text":"TemporaryFile(/tmp/multipartBody773989064184082731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163354488,"filename":"image_02112025_23_29_34_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7bf77ec237673612b5655e55be1408c.jpg","text":"TemporaryFile(/tmp/multipartBody1674086116879593748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163354488,"filename":"image_02112025_23_29_52_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/367cb1cf733e29185c20d2babab4ffda.jpg","text":"TemporaryFile(/tmp/multipartBody7781702421863586597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163354488,"filename":"image_02112025_23_29_46_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eaafef9d9a01640e98762e5e8545d22d.jpg","text":"TemporaryFile(/tmp/multipartBody2441906915726261579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163354488,"filename":"image_02112025_23_30_16_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843772","file1":"1401843768","file0":"1401843765","file4":"1401843775","file5":"1401843776","file3":"1401843774"},"map_files_photo_id_array":[{"photo_id":"1401843776","filename":"file5"},{"photo_id":"1401843772","filename":"file2"},{"photo_id":"1401843775","filename":"file4"},{"photo_id":"1401843768","filename":"file1"},{"photo_id":"1401843765","filename":"file0"},{"photo_id":"1401843774","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401843772":["hashtag1","hashtag2"]},{"1401843775":["hashtag1","hashtag2"]},{"1401843765":["hashtag1","hashtag2"]},{"1401843774":["hashtag1","hashtag2"]},{"1401843768":["hashtag1","hashtag2"]},{"1401843776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401843772, 1401843775, 1401843765, 1401843774, 1401843768, 1401843776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41546583175659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:42:22.769975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/30/image_31122025_06_30_24_9635.jpg', '/home/pi/Desktop/images/31122025/06/30/image_31122025_06_30_34_9716.jpg', '/home/pi/Desktop/images/31122025/06/30/image_31122025_06_30_44_9718.jpg', '/home/pi/Desktop/images/31122025/06/30/image_31122025_06_30_54_10654.jpg', '/home/pi/Desktop/images/31122025/06/30/image_31122025_06_31_04_9714.jpg', '/home/pi/Desktop/images/31122025/06/31/image_31122025_06_31_24_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/30/image_31122025_06_30_24_9635.jpg
/home/pi/Desktop/images/31122025/06/30/image_31122025_06_30_34_9716.jpg
/home/pi/Desktop/images/31122025/06/30/image_31122025_06_30_44_9718.jpg
/home/pi/Desktop/images/31122025/06/30/image_31122025_06_30_54_10654.jpg
/home/pi/Desktop/images/31122025/06/30/image_31122025_06_31_04_9714.jpg
/home/pi/Desktop/images/31122025/06/31/image_31122025_06_31_24_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843806","1401843809","1401843823","1401843783","1401843813","1401843797"],"photo_ids_order":["1401843783","1401843797","1401843806","1401843809","1401843813","1401843823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad90179453435fd92d7ab5cb02013c09.jpg","text":"TemporaryFile(/tmp/multipartBody1672160742886373166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163403373,"filename":"image_31122025_06_30_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9823cc259cc33c57facbe0b442caf0f1.jpg","text":"TemporaryFile(/tmp/multipartBody5176185471549345011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163403373,"filename":"image_31122025_06_30_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54bf6ec9625de916864e2016c66e76fc.jpg","text":"TemporaryFile(/tmp/multipartBody2736807650704339577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163403373,"filename":"image_31122025_06_31_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebd81efe69beb553542284c4099dd5ad.jpg","text":"TemporaryFile(/tmp/multipartBody4908282199800557324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163403373,"filename":"image_31122025_06_30_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4f51e9d7ded72355033f5567bc8af6f.jpg","text":"TemporaryFile(/tmp/multipartBody4966325976586980046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163403373,"filename":"image_31122025_06_31_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f2b5645c39d2a8b1641aa1151bd992d.jpg","text":"TemporaryFile(/tmp/multipartBody7031005158763978938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163403373,"filename":"image_31122025_06_30_34_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843806","file1":"1401843797","file0":"1401843783","file4":"1401843813","file5":"1401843823","file3":"1401843809"},"map_files_photo_id_array":[{"photo_id":"1401843823","filename":"file5"},{"photo_id":"1401843806","filename":"file2"},{"photo_id":"1401843813","filename":"file4"},{"photo_id":"1401843797","filename":"file1"},{"photo_id":"1401843783","filename":"file0"},{"photo_id":"1401843809","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843806":["hashtag1","hashtag2"]},{"1401843809":["hashtag1","hashtag2"]},{"1401843823":["hashtag1","hashtag2"]},{"1401843783":["hashtag1","hashtag2"]},{"1401843813":["hashtag1","hashtag2"]},{"1401843797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843806, 1401843809, 1401843823, 1401843783, 1401843813, 1401843797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14573788642883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:43:11.825336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_28_2666.jpg', '/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_31_2727.jpg', '/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_37_2800.jpg', '/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_40_2638.jpg', '/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_58_2662.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_02_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_28_2666.jpg
/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_31_2727.jpg
/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_37_2800.jpg
/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_40_2638.jpg
/home/pi/Desktop/images/02112025/23/30/image_02112025_23_30_58_2662.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_02_3735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843832","1401843840","1401843834","1401843828","1401843837","1401843830"],"photo_ids_order":["1401843828","1401843830","1401843832","1401843834","1401843837","1401843840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bb8c948fea7b05dabe062e3ac7e62bf.jpg","text":"TemporaryFile(/tmp/multipartBody8865509248131050988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163453648,"filename":"image_02112025_23_30_37_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9c629719e16a2f7960f7cec3b940f82.jpg","text":"TemporaryFile(/tmp/multipartBody3876514978749106571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163453648,"filename":"image_02112025_23_31_02_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a12560b980029fa1ecead846dad804b9.jpg","text":"TemporaryFile(/tmp/multipartBody4213472066397579194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163453648,"filename":"image_02112025_23_30_40_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2136d804371cc120d338d3d4a739ad9d.jpg","text":"TemporaryFile(/tmp/multipartBody8681261987661768132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163453648,"filename":"image_02112025_23_30_28_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e818790ae989bd6384d230c2a2df9bab.jpg","text":"TemporaryFile(/tmp/multipartBody1878622743585538770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163453648,"filename":"image_02112025_23_30_58_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cad477fec139217b82eb2df8ce4dc76.jpg","text":"TemporaryFile(/tmp/multipartBody692360671498028827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163453648,"filename":"image_02112025_23_30_31_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843832","file1":"1401843830","file0":"1401843828","file4":"1401843837","file5":"1401843840","file3":"1401843834"},"map_files_photo_id_array":[{"photo_id":"1401843840","filename":"file5"},{"photo_id":"1401843832","filename":"file2"},{"photo_id":"1401843837","filename":"file4"},{"photo_id":"1401843830","filename":"file1"},{"photo_id":"1401843828","filename":"file0"},{"photo_id":"1401843834","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401843832":["hashtag1","hashtag2"]},{"1401843840":["hashtag1","hashtag2"]},{"1401843834":["hashtag1","hashtag2"]},{"1401843828":["hashtag1","hashtag2"]},{"1401843837":["hashtag1","hashtag2"]},{"1401843830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401843832, 1401843840, 1401843834, 1401843828, 1401843837, 1401843830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82564401626587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:44:02.821256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/31/image_31122025_06_31_34_9583.jpg', '/home/pi/Desktop/images/31122025/06/31/image_31122025_06_31_45_10736.jpg', '/home/pi/Desktop/images/31122025/06/31/image_31122025_06_31_55_10034.jpg', '/home/pi/Desktop/images/31122025/06/31/image_31122025_06_32_04_9759.jpg', '/home/pi/Desktop/images/31122025/06/32/image_31122025_06_32_14_9691.jpg', '/home/pi/Desktop/images/31122025/06/32/image_31122025_06_32_24_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/31/image_31122025_06_31_34_9583.jpg
/home/pi/Desktop/images/31122025/06/31/image_31122025_06_31_45_10736.jpg
/home/pi/Desktop/images/31122025/06/31/image_31122025_06_31_55_10034.jpg
/home/pi/Desktop/images/31122025/06/31/image_31122025_06_32_04_9759.jpg
/home/pi/Desktop/images/31122025/06/32/image_31122025_06_32_14_9691.jpg
/home/pi/Desktop/images/31122025/06/32/image_31122025_06_32_24_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843913","1401843927","1401843890","1401843872","1401843878","1401843917"],"photo_ids_order":["1401843872","1401843878","1401843890","1401843913","1401843917","1401843927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9dccfabcf20cee743884d4c94b4316b2.jpg","text":"TemporaryFile(/tmp/multipartBody2863077659545746085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163503546,"filename":"image_31122025_06_32_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bfa0a269d89de3a7d738d79b52e9d47.jpg","text":"TemporaryFile(/tmp/multipartBody2548099055629967713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163503546,"filename":"image_31122025_06_32_24_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d30ba3b9a9340921f8136bac2581aa0e.jpg","text":"TemporaryFile(/tmp/multipartBody4146552725839438674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163503546,"filename":"image_31122025_06_31_55_10034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f64657ad5581dc01b793d6113ef8d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5530358591173595879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163503546,"filename":"image_31122025_06_31_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/444c282028acb4642448e169149bbfb5.jpg","text":"TemporaryFile(/tmp/multipartBody7457642847231424000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163503546,"filename":"image_31122025_06_31_45_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15c9c13757c0542fb39fafec9a9260f0.jpg","text":"TemporaryFile(/tmp/multipartBody1007731538450011819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163503546,"filename":"image_31122025_06_32_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843890","file1":"1401843878","file0":"1401843872","file4":"1401843917","file5":"1401843927","file3":"1401843913"},"map_files_photo_id_array":[{"photo_id":"1401843927","filename":"file5"},{"photo_id":"1401843890","filename":"file2"},{"photo_id":"1401843917","filename":"file4"},{"photo_id":"1401843878","filename":"file1"},{"photo_id":"1401843872","filename":"file0"},{"photo_id":"1401843913","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843913":["hashtag1","hashtag2"]},{"1401843927":["hashtag1","hashtag2"]},{"1401843890":["hashtag1","hashtag2"]},{"1401843872":["hashtag1","hashtag2"]},{"1401843878":["hashtag1","hashtag2"]},{"1401843917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843913, 1401843927, 1401843890, 1401843872, 1401843878, 1401843917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75990629196167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:44:42.197153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_11_3650.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_13_2636.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_16_2757.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_20_3598.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_22_2643.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_25_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_11_3650.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_13_2636.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_16_2757.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_20_3598.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_22_2643.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_25_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843952","1401843955","1401843951","1401843948","1401843953","1401843950"],"photo_ids_order":["1401843948","1401843950","1401843951","1401843952","1401843953","1401843955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3529ae091794211c7ee649f632dfaef9.jpg","text":"TemporaryFile(/tmp/multipartBody456565856029585839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163544403,"filename":"image_02112025_23_31_20_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d7f04501ada24a9c556730b629527c8.jpg","text":"TemporaryFile(/tmp/multipartBody4050132516890371174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163544403,"filename":"image_02112025_23_31_25_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc077a5ac50a7326315e5f95d90ec8e1.jpg","text":"TemporaryFile(/tmp/multipartBody8167767042408975545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163544403,"filename":"image_02112025_23_31_16_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5323f3bed2ccd660438e2acd63f38e55.jpg","text":"TemporaryFile(/tmp/multipartBody7172916203873998132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163544403,"filename":"image_02112025_23_31_11_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/735b813815aa2c3332a2dc2459378fd0.jpg","text":"TemporaryFile(/tmp/multipartBody6815031410336344249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163544403,"filename":"image_02112025_23_31_22_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3835db0811f2bcb896f36bfcb23a4173.jpg","text":"TemporaryFile(/tmp/multipartBody1207083744719664283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163544403,"filename":"image_02112025_23_31_13_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843951","file1":"1401843950","file0":"1401843948","file4":"1401843953","file5":"1401843955","file3":"1401843952"},"map_files_photo_id_array":[{"photo_id":"1401843955","filename":"file5"},{"photo_id":"1401843951","filename":"file2"},{"photo_id":"1401843953","filename":"file4"},{"photo_id":"1401843950","filename":"file1"},{"photo_id":"1401843948","filename":"file0"},{"photo_id":"1401843952","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401843952":["hashtag1","hashtag2"]},{"1401843955":["hashtag1","hashtag2"]},{"1401843951":["hashtag1","hashtag2"]},{"1401843948":["hashtag1","hashtag2"]},{"1401843953":["hashtag1","hashtag2"]},{"1401843950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401843952, 1401843955, 1401843951, 1401843948, 1401843953, 1401843950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38803744316101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:45:22.371976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/32/image_31122025_06_32_44_10626.jpg', '/home/pi/Desktop/images/31122025/06/32/image_31122025_06_32_54_9672.jpg', '/home/pi/Desktop/images/31122025/06/33/image_31122025_06_33_14_10735.jpg', '/home/pi/Desktop/images/31122025/06/33/image_31122025_06_33_24_9559.jpg', '/home/pi/Desktop/images/31122025/06/33/image_31122025_06_33_35_10652.jpg', '/home/pi/Desktop/images/31122025/06/33/image_31122025_06_33_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/32/image_31122025_06_32_44_10626.jpg
/home/pi/Desktop/images/31122025/06/32/image_31122025_06_32_54_9672.jpg
/home/pi/Desktop/images/31122025/06/33/image_31122025_06_33_14_10735.jpg
/home/pi/Desktop/images/31122025/06/33/image_31122025_06_33_24_9559.jpg
/home/pi/Desktop/images/31122025/06/33/image_31122025_06_33_35_10652.jpg
/home/pi/Desktop/images/31122025/06/33/image_31122025_06_33_44_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843982","1401843970","1401843975","1401843984","1401843978","1401843972"],"photo_ids_order":["1401843970","1401843972","1401843975","1401843978","1401843982","1401843984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d752736b19d658eab131d89f54a22c98.jpg","text":"TemporaryFile(/tmp/multipartBody5753540355814334302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163587993,"filename":"image_31122025_06_33_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb8b15d90e315967d14280cd2287fc4c.jpg","text":"TemporaryFile(/tmp/multipartBody7584901109995796543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163587993,"filename":"image_31122025_06_32_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/049f295c6d0a332dbc0b4b65f7dc9fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7684216843440374519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163587993,"filename":"image_31122025_06_33_14_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa8228ed8cc0703956c9b06e130fb840.jpg","text":"TemporaryFile(/tmp/multipartBody159107242340858050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163587993,"filename":"image_31122025_06_33_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/471614d97165dbbc7ebc820f1c4fda1d.jpg","text":"TemporaryFile(/tmp/multipartBody6890244376406013779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163587993,"filename":"image_31122025_06_33_24_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/286ef85938bba5f5e14582881f2a3fe0.jpg","text":"TemporaryFile(/tmp/multipartBody2093481222724129027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163587993,"filename":"image_31122025_06_32_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401843975","file1":"1401843972","file0":"1401843970","file4":"1401843982","file5":"1401843984","file3":"1401843978"},"map_files_photo_id_array":[{"photo_id":"1401843984","filename":"file5"},{"photo_id":"1401843975","filename":"file2"},{"photo_id":"1401843982","filename":"file4"},{"photo_id":"1401843972","filename":"file1"},{"photo_id":"1401843970","filename":"file0"},{"photo_id":"1401843978","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401843982":["hashtag1","hashtag2"]},{"1401843970":["hashtag1","hashtag2"]},{"1401843975":["hashtag1","hashtag2"]},{"1401843984":["hashtag1","hashtag2"]},{"1401843978":["hashtag1","hashtag2"]},{"1401843972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401843982, 1401843970, 1401843975, 1401843984, 1401843978, 1401843972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.1899311542511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:46:12.629261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_29_3712.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_38_3762.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_40_2772.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_43_2888.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_46_2669.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_49_2831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_29_3712.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_38_3762.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_40_2772.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_43_2888.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_46_2669.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_49_2831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401843997","1401844027","1401843991","1401844015","1401844019","1401844004"],"photo_ids_order":["1401843991","1401843997","1401844004","1401844015","1401844019","1401844027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c437cf4dbd682fa68f14dfe2c6ef47e3.jpg","text":"TemporaryFile(/tmp/multipartBody5139905888308675415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163634455,"filename":"image_02112025_23_31_38_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/208bb77917e8853b9c94fb412557b349.jpg","text":"TemporaryFile(/tmp/multipartBody216234080493912945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163634455,"filename":"image_02112025_23_31_49_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b40445defb2687f640fe3afa37e87d71.jpg","text":"TemporaryFile(/tmp/multipartBody2368790834452295334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163634455,"filename":"image_02112025_23_31_29_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2caa9541dc877f80c0ee7c911d7cb2de.jpg","text":"TemporaryFile(/tmp/multipartBody2027562125628632682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163634455,"filename":"image_02112025_23_31_43_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56fcbdbdb1f03163214e7dd73b37f887.jpg","text":"TemporaryFile(/tmp/multipartBody1513931608694860674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163634455,"filename":"image_02112025_23_31_46_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ec7fc370b69d3a9075ed95555212c05.jpg","text":"TemporaryFile(/tmp/multipartBody7374016105337565771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163634455,"filename":"image_02112025_23_31_40_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844004","file1":"1401843997","file0":"1401843991","file4":"1401844019","file5":"1401844027","file3":"1401844015"},"map_files_photo_id_array":[{"photo_id":"1401844027","filename":"file5"},{"photo_id":"1401844004","filename":"file2"},{"photo_id":"1401844019","filename":"file4"},{"photo_id":"1401843997","filename":"file1"},{"photo_id":"1401843991","filename":"file0"},{"photo_id":"1401844015","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401843997":["hashtag1","hashtag2"]},{"1401844027":["hashtag1","hashtag2"]},{"1401843991":["hashtag1","hashtag2"]},{"1401844015":["hashtag1","hashtag2"]},{"1401844019":["hashtag1","hashtag2"]},{"1401844004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401843997, 1401844027, 1401843991, 1401844015, 1401844019, 1401844004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72920513153076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:47:03.390441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/33/image_31122025_06_34_04_9698.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_14_10632.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_24_9640.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_34_10005.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_44_9696.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_55_10865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/33/image_31122025_06_34_04_9698.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_14_10632.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_24_9640.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_34_10005.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_44_9696.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_55_10865.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.6296391487121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:47:12.679176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_53_3785.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_55_2685.jpg', '/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_58_2663.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_07_2787.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_10_2688.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_14_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_53_3785.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_55_2685.jpg
/home/pi/Desktop/images/02112025/23/31/image_02112025_23_31_58_2663.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_07_2787.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_10_2688.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_14_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401844141","1401844135","1401844138","1401844131","1401844125","1401844119"],"photo_ids_order":["1401844119","1401844125","1401844131","1401844135","1401844138","1401844141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/800aeb2a525a6637ee782e3dee1a534a.jpg","text":"TemporaryFile(/tmp/multipartBody8229980120354075897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163694500,"filename":"image_02112025_23_32_14_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39d882fcd2afe768044bd334a4b35c76.jpg","text":"TemporaryFile(/tmp/multipartBody2278949125060945065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163694500,"filename":"image_02112025_23_32_07_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3985d934f5da9230371e8a8faed2cce3.jpg","text":"TemporaryFile(/tmp/multipartBody3532492216517238256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163694500,"filename":"image_02112025_23_32_10_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8ae8d20b341e40774515097f266fdf5.jpg","text":"TemporaryFile(/tmp/multipartBody5271530257642808229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163694500,"filename":"image_02112025_23_31_58_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc8a1fcc5e4493c01f88c26c03f38352.jpg","text":"TemporaryFile(/tmp/multipartBody6887733744837921395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163694500,"filename":"image_02112025_23_31_55_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/970a5d4af46bcd787e15d1eaf52fa0f1.jpg","text":"TemporaryFile(/tmp/multipartBody3384866420155119293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163694500,"filename":"image_02112025_23_31_53_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844131","file1":"1401844125","file0":"1401844119","file4":"1401844138","file5":"1401844141","file3":"1401844135"},"map_files_photo_id_array":[{"photo_id":"1401844141","filename":"file5"},{"photo_id":"1401844131","filename":"file2"},{"photo_id":"1401844138","filename":"file4"},{"photo_id":"1401844125","filename":"file1"},{"photo_id":"1401844119","filename":"file0"},{"photo_id":"1401844135","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401844141":["hashtag1","hashtag2"]},{"1401844135":["hashtag1","hashtag2"]},{"1401844138":["hashtag1","hashtag2"]},{"1401844131":["hashtag1","hashtag2"]},{"1401844125":["hashtag1","hashtag2"]},{"1401844119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401844141, 1401844135, 1401844138, 1401844131, 1401844125, 1401844119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.078858375549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:48:02.479336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/33/image_31122025_06_34_04_9698.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_14_10632.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_24_9640.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_34_10005.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_44_9696.jpg', '/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_55_10865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/33/image_31122025_06_34_04_9698.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_14_10632.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_24_9640.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_34_10005.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_44_9696.jpg
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_34_55_10865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401844176","1401844164","1401844172","1401844166","1401844169","1401844180"],"photo_ids_order":["1401844164","1401844166","1401844169","1401844172","1401844176","1401844180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ac2cad4d7eb5baae797c978cafe806c.jpg","text":"TemporaryFile(/tmp/multipartBody1025515601192530901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163743101,"filename":"image_31122025_06_34_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d5d52ea22f918eeac4773936f300772.jpg","text":"TemporaryFile(/tmp/multipartBody74895248216451774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163743101,"filename":"image_31122025_06_34_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c600a2bc6a59470f88b782fea0bf3043.jpg","text":"TemporaryFile(/tmp/multipartBody296840386341173709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163743101,"filename":"image_31122025_06_34_34_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fded58e89d4025d725c747375abb814a.jpg","text":"TemporaryFile(/tmp/multipartBody7255182042377580318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163743101,"filename":"image_31122025_06_34_14_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a804b2fdf93c9cba2ef19375fe108607.jpg","text":"TemporaryFile(/tmp/multipartBody2767532789617528992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163743101,"filename":"image_31122025_06_34_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e6e98388fe7abfba2d4271f0cb3a2f9.jpg","text":"TemporaryFile(/tmp/multipartBody7809574102803906234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163743101,"filename":"image_31122025_06_34_55_10865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844169","file1":"1401844166","file0":"1401844164","file4":"1401844176","file5":"1401844180","file3":"1401844172"},"map_files_photo_id_array":[{"photo_id":"1401844180","filename":"file5"},{"photo_id":"1401844169","filename":"file2"},{"photo_id":"1401844176","filename":"file4"},{"photo_id":"1401844166","filename":"file1"},{"photo_id":"1401844164","filename":"file0"},{"photo_id":"1401844172","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401844176":["hashtag1","hashtag2"]},{"1401844164":["hashtag1","hashtag2"]},{"1401844172":["hashtag1","hashtag2"]},{"1401844166":["hashtag1","hashtag2"]},{"1401844169":["hashtag1","hashtag2"]},{"1401844180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401844176, 1401844164, 1401844172, 1401844166, 1401844169, 1401844180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37637805938721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:48:42.004520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_22_2896.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_26_3724.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_28_2545.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_31_2609.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_37_2698.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_40_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_22_2896.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_26_3724.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_28_2545.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_31_2609.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_37_2698.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_40_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401844240","1401844389","1401844377","1401844184","1401844421","1401844400"],"photo_ids_order":["1401844184","1401844240","1401844377","1401844389","1401844400","1401844421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45c18d11d8fe129e657c10f53e4a22fd.jpg","text":"TemporaryFile(/tmp/multipartBody7243954700367601801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163783927,"filename":"image_02112025_23_32_26_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d27ce26e89a41ea33d162e0e8859aa2.jpg","text":"TemporaryFile(/tmp/multipartBody4580944302621023198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163783927,"filename":"image_02112025_23_32_31_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ad0a580777dc8cbdeaa099f426657f2.jpg","text":"TemporaryFile(/tmp/multipartBody4206242555724738907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163783927,"filename":"image_02112025_23_32_28_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4977a7dec9cda73a871e46873246169.jpg","text":"TemporaryFile(/tmp/multipartBody2707982192107943987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163783927,"filename":"image_02112025_23_32_22_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fb4539b0b13ef993753b0a0711084e9.jpg","text":"TemporaryFile(/tmp/multipartBody7505984109921316477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163783927,"filename":"image_02112025_23_32_40_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5290f457649ba3b889454fbec09f5953.jpg","text":"TemporaryFile(/tmp/multipartBody2008939780712467182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163783927,"filename":"image_02112025_23_32_37_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844377","file1":"1401844240","file0":"1401844184","file4":"1401844400","file5":"1401844421","file3":"1401844389"},"map_files_photo_id_array":[{"photo_id":"1401844421","filename":"file5"},{"photo_id":"1401844377","filename":"file2"},{"photo_id":"1401844400","filename":"file4"},{"photo_id":"1401844240","filename":"file1"},{"photo_id":"1401844184","filename":"file0"},{"photo_id":"1401844389","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401844240":["hashtag1","hashtag2"]},{"1401844389":["hashtag1","hashtag2"]},{"1401844377":["hashtag1","hashtag2"]},{"1401844184":["hashtag1","hashtag2"]},{"1401844421":["hashtag1","hashtag2"]},{"1401844400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401844240, 1401844389, 1401844377, 1401844184, 1401844421, 1401844400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.05211901664734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:49:32.164148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_43_2831.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_46_3592.jpg', '/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_49_2682.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_04_3671.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_07_2622.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_10_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_43_2831.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_46_3592.jpg
/home/pi/Desktop/images/02112025/23/32/image_02112025_23_32_49_2682.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_04_3671.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_07_2622.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_10_2788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401844447","1401844426","1401844434","1401844439","1401844430","1401844442"],"photo_ids_order":["1401844426","1401844430","1401844434","1401844439","1401844442","1401844447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aebe4972a7ccc595064c747d0582425b.jpg","text":"TemporaryFile(/tmp/multipartBody5306272728844473460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163834071,"filename":"image_02112025_23_33_10_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89b130057b690fd2509634c5867e9006.jpg","text":"TemporaryFile(/tmp/multipartBody4658436866931735296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163834071,"filename":"image_02112025_23_32_43_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93d7a06067e419697198a5fd6712cf3f.jpg","text":"TemporaryFile(/tmp/multipartBody2645914826765130423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163834071,"filename":"image_02112025_23_32_49_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64926da9f2809eb440e7ef47f6fdf5a9.jpg","text":"TemporaryFile(/tmp/multipartBody8532041165654258359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163834071,"filename":"image_02112025_23_33_04_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84767cf66e55e25262342ba69382e814.jpg","text":"TemporaryFile(/tmp/multipartBody2917402716760509492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163834071,"filename":"image_02112025_23_32_46_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/991ec92f47618ab889c47498f7da28f6.jpg","text":"TemporaryFile(/tmp/multipartBody4226184931087510453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163834071,"filename":"image_02112025_23_33_07_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844434","file1":"1401844430","file0":"1401844426","file4":"1401844442","file5":"1401844447","file3":"1401844439"},"map_files_photo_id_array":[{"photo_id":"1401844447","filename":"file5"},{"photo_id":"1401844434","filename":"file2"},{"photo_id":"1401844442","filename":"file4"},{"photo_id":"1401844430","filename":"file1"},{"photo_id":"1401844426","filename":"file0"},{"photo_id":"1401844439","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401844447":["hashtag1","hashtag2"]},{"1401844426":["hashtag1","hashtag2"]},{"1401844434":["hashtag1","hashtag2"]},{"1401844439":["hashtag1","hashtag2"]},{"1401844430":["hashtag1","hashtag2"]},{"1401844442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401844447, 1401844426, 1401844434, 1401844439, 1401844430, 1401844442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.31388211250305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:50:22.381366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/34/image_31122025_06_35_04_9622.jpg', '/home/pi/Desktop/images/31122025/06/35/image_31122025_06_35_14_9725.jpg', '/home/pi/Desktop/images/31122025/06/35/image_31122025_06_35_25_10604.jpg', '/home/pi/Desktop/images/31122025/06/35/image_31122025_06_35_44_9684.jpg', '/home/pi/Desktop/images/31122025/06/35/image_31122025_06_35_55_10583.jpg', '/home/pi/Desktop/images/31122025/06/35/image_31122025_06_36_04_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/34/image_31122025_06_35_04_9622.jpg
/home/pi/Desktop/images/31122025/06/35/image_31122025_06_35_14_9725.jpg
/home/pi/Desktop/images/31122025/06/35/image_31122025_06_35_25_10604.jpg
/home/pi/Desktop/images/31122025/06/35/image_31122025_06_35_44_9684.jpg
/home/pi/Desktop/images/31122025/06/35/image_31122025_06_35_55_10583.jpg
/home/pi/Desktop/images/31122025/06/35/image_31122025_06_36_04_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401844453","1401844456","1401844513","1401844586","1401844583","1401844577"],"photo_ids_order":["1401844453","1401844456","1401844513","1401844577","1401844583","1401844586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95e0a3720a89e43cae1e3d888bdb8281.jpg","text":"TemporaryFile(/tmp/multipartBody5382380225415269596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163883008,"filename":"image_31122025_06_35_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d7f8c4fed156f92735b8c01737ace0b.jpg","text":"TemporaryFile(/tmp/multipartBody172052173915476947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163883008,"filename":"image_31122025_06_35_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b837ba9ac0621840b69b2a57ac812a9f.jpg","text":"TemporaryFile(/tmp/multipartBody2000020969652791344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163883008,"filename":"image_31122025_06_35_25_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24307803a7ec6e03f9690bb3322e13bb.jpg","text":"TemporaryFile(/tmp/multipartBody2259333482607329130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163883008,"filename":"image_31122025_06_36_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9a62a667c4a9cbf95856b1f78b15bd6.jpg","text":"TemporaryFile(/tmp/multipartBody4922007362852070052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163883008,"filename":"image_31122025_06_35_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ca775640d7f33df8ea4f64d1edf84d8.jpg","text":"TemporaryFile(/tmp/multipartBody714392861601946251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163883008,"filename":"image_31122025_06_35_44_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844513","file1":"1401844456","file0":"1401844453","file4":"1401844583","file5":"1401844586","file3":"1401844577"},"map_files_photo_id_array":[{"photo_id":"1401844586","filename":"file5"},{"photo_id":"1401844513","filename":"file2"},{"photo_id":"1401844583","filename":"file4"},{"photo_id":"1401844456","filename":"file1"},{"photo_id":"1401844453","filename":"file0"},{"photo_id":"1401844577","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401844453":["hashtag1","hashtag2"]},{"1401844456":["hashtag1","hashtag2"]},{"1401844513":["hashtag1","hashtag2"]},{"1401844586":["hashtag1","hashtag2"]},{"1401844583":["hashtag1","hashtag2"]},{"1401844577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401844453, 1401844456, 1401844513, 1401844586, 1401844583, 1401844577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42968821525574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:51:02.843681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_14_9654.jpg', '/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_25_10672.jpg', '/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_34_9543.jpg', '/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_44_9866.jpg', '/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_55_10642.jpg', '/home/pi/Desktop/images/31122025/06/36/image_31122025_06_37_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_14_9654.jpg
/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_25_10672.jpg
/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_34_9543.jpg
/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_44_9866.jpg
/home/pi/Desktop/images/31122025/06/36/image_31122025_06_36_55_10642.jpg
/home/pi/Desktop/images/31122025/06/36/image_31122025_06_37_04_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401844656","1401844608","1401844694","1401844611","1401844649","1401844646"],"photo_ids_order":["1401844608","1401844611","1401844646","1401844649","1401844656","1401844694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ed3655a59162fada0493b679a7fe231.jpg","text":"TemporaryFile(/tmp/multipartBody1032236158622845134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163923515,"filename":"image_31122025_06_36_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b41117990e4def2e58b9e588763042de.jpg","text":"TemporaryFile(/tmp/multipartBody5933535777689437470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163923515,"filename":"image_31122025_06_36_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aaedccaa80b34028a4c1f3d8779515e1.jpg","text":"TemporaryFile(/tmp/multipartBody3967255627976440585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163923515,"filename":"image_31122025_06_37_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f726e009719853a609a77b8060f78512.jpg","text":"TemporaryFile(/tmp/multipartBody417110462705657633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163923515,"filename":"image_31122025_06_36_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8f91483daead15b648d42f7e2d580e8.jpg","text":"TemporaryFile(/tmp/multipartBody5831703961809474341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163923515,"filename":"image_31122025_06_36_44_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cdbec31f526bc7a539d616417724df1.jpg","text":"TemporaryFile(/tmp/multipartBody6433368323095228636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163923515,"filename":"image_31122025_06_36_34_9543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844646","file1":"1401844611","file0":"1401844608","file4":"1401844656","file5":"1401844694","file3":"1401844649"},"map_files_photo_id_array":[{"photo_id":"1401844694","filename":"file5"},{"photo_id":"1401844646","filename":"file2"},{"photo_id":"1401844656","filename":"file4"},{"photo_id":"1401844611","filename":"file1"},{"photo_id":"1401844608","filename":"file0"},{"photo_id":"1401844649","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401844656":["hashtag1","hashtag2"]},{"1401844608":["hashtag1","hashtag2"]},{"1401844694":["hashtag1","hashtag2"]},{"1401844611":["hashtag1","hashtag2"]},{"1401844649":["hashtag1","hashtag2"]},{"1401844646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401844656, 1401844608, 1401844694, 1401844611, 1401844649, 1401844646)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.899296283721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:52:02.959547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_14_9697.jpg', '/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_24_9784.jpg', '/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_35_10711.jpg', '/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_44_9851.jpg', '/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_54_9632.jpg', '/home/pi/Desktop/images/31122025/06/37/image_31122025_06_38_04_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_14_9697.jpg
/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_24_9784.jpg
/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_35_10711.jpg
/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_44_9851.jpg
/home/pi/Desktop/images/31122025/06/37/image_31122025_06_37_54_9632.jpg
/home/pi/Desktop/images/31122025/06/37/image_31122025_06_38_04_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401844765","1401844759","1401844753","1401844776","1401844755","1401844757"],"photo_ids_order":["1401844753","1401844755","1401844757","1401844759","1401844765","1401844776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93a897063fdf65b65fc65dc954d91a98.jpg","text":"TemporaryFile(/tmp/multipartBody35999045121532407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163983616,"filename":"image_31122025_06_37_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85484db17589c389baa86cdaeb8f2a03.jpg","text":"TemporaryFile(/tmp/multipartBody5022817972460496627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163983616,"filename":"image_31122025_06_37_44_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6835d937ecc4444b2237cdad4a8d2fd0.jpg","text":"TemporaryFile(/tmp/multipartBody888338725739624191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163983616,"filename":"image_31122025_06_37_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acecebf2400662fc4edc52f53919520d.jpg","text":"TemporaryFile(/tmp/multipartBody2981155684917477354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163983616,"filename":"image_31122025_06_38_04_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3897c8a7e4eef5fd8143bbc72956c833.jpg","text":"TemporaryFile(/tmp/multipartBody3514707653561775405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163983616,"filename":"image_31122025_06_37_24_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c829cc99c9f8bff57933f77dd9ab232.jpg","text":"TemporaryFile(/tmp/multipartBody3691578125102648691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767163983616,"filename":"image_31122025_06_37_35_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844757","file1":"1401844755","file0":"1401844753","file4":"1401844765","file5":"1401844776","file3":"1401844759"},"map_files_photo_id_array":[{"photo_id":"1401844776","filename":"file5"},{"photo_id":"1401844757","filename":"file2"},{"photo_id":"1401844765","filename":"file4"},{"photo_id":"1401844755","filename":"file1"},{"photo_id":"1401844753","filename":"file0"},{"photo_id":"1401844759","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401844765":["hashtag1","hashtag2"]},{"1401844759":["hashtag1","hashtag2"]},{"1401844753":["hashtag1","hashtag2"]},{"1401844776":["hashtag1","hashtag2"]},{"1401844755":["hashtag1","hashtag2"]},{"1401844757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401844765, 1401844759, 1401844753, 1401844776, 1401844755, 1401844757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63538312911987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:52:42.598326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_16_2770.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_19_2660.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_25_2699.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_34_3583.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_37_2546.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_41_3766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_16_2770.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_19_2660.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_25_2699.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_34_3583.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_37_2546.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_41_3766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401844927","1401844918","1401844922","1401844916","1401844925","1401844913"],"photo_ids_order":["1401844913","1401844916","1401844918","1401844922","1401844925","1401844927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9ce93befc9fc7349f6164c516785c57.jpg","text":"TemporaryFile(/tmp/multipartBody1832900156300896568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164025324,"filename":"image_02112025_23_33_41_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28a3758891e5ce7cc4143486d708b0d5.jpg","text":"TemporaryFile(/tmp/multipartBody5910346163572200046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164025324,"filename":"image_02112025_23_33_25_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/822029e45f51d0e0c1d6ad9aa592b90c.jpg","text":"TemporaryFile(/tmp/multipartBody9096696419016015109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164025324,"filename":"image_02112025_23_33_34_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/498e574ab7a809962605a94746157c36.jpg","text":"TemporaryFile(/tmp/multipartBody2705355766253606943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164025324,"filename":"image_02112025_23_33_19_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fddff45a86ab3b798251720c8f26c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3251396226466568371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164025324,"filename":"image_02112025_23_33_37_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a49e44480171b18abff9d84f81044b5.jpg","text":"TemporaryFile(/tmp/multipartBody5459738834291752746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164025324,"filename":"image_02112025_23_33_16_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401844918","file1":"1401844916","file0":"1401844913","file4":"1401844925","file5":"1401844927","file3":"1401844922"},"map_files_photo_id_array":[{"photo_id":"1401844927","filename":"file5"},{"photo_id":"1401844918","filename":"file2"},{"photo_id":"1401844925","filename":"file4"},{"photo_id":"1401844916","filename":"file1"},{"photo_id":"1401844913","filename":"file0"},{"photo_id":"1401844922","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401844927":["hashtag1","hashtag2"]},{"1401844918":["hashtag1","hashtag2"]},{"1401844922":["hashtag1","hashtag2"]},{"1401844916":["hashtag1","hashtag2"]},{"1401844925":["hashtag1","hashtag2"]},{"1401844913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401844927, 1401844918, 1401844922, 1401844916, 1401844925, 1401844913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96477007865906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:53:32.749371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_46_2722.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_52_2728.jpg', '/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_55_2630.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_01_2586.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_22_2656.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_28_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_46_2722.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_52_2728.jpg
/home/pi/Desktop/images/02112025/23/33/image_02112025_23_33_55_2630.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_01_2586.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_22_2656.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_28_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401845152","1401845116","1401845154","1401845150","1401845075","1401845036"],"photo_ids_order":["1401845036","1401845075","1401845116","1401845150","1401845152","1401845154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/121c2e49614ddce3b4a0db53d550c4c7.jpg","text":"TemporaryFile(/tmp/multipartBody979207127337828094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164074731,"filename":"image_02112025_23_34_22_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94f76c5cf67ae8202629d50e78d9f68d.jpg","text":"TemporaryFile(/tmp/multipartBody2157118714134825639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164074731,"filename":"image_02112025_23_33_55_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d8013cc56e2485876f64715a4452718.jpg","text":"TemporaryFile(/tmp/multipartBody8356209089205582736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164074731,"filename":"image_02112025_23_34_28_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/581e88555f0ad64daeef4a4326defa80.jpg","text":"TemporaryFile(/tmp/multipartBody823183821566447107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164074731,"filename":"image_02112025_23_34_01_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccb4bc306ea64731de2ada6eee278a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3187181791870690006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164074731,"filename":"image_02112025_23_33_52_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72840b0645c1c3d387ccf6ad5c09e514.jpg","text":"TemporaryFile(/tmp/multipartBody6649711201642904555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164074731,"filename":"image_02112025_23_33_46_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401845116","file1":"1401845075","file0":"1401845036","file4":"1401845152","file5":"1401845154","file3":"1401845150"},"map_files_photo_id_array":[{"photo_id":"1401845154","filename":"file5"},{"photo_id":"1401845116","filename":"file2"},{"photo_id":"1401845152","filename":"file4"},{"photo_id":"1401845075","filename":"file1"},{"photo_id":"1401845036","filename":"file0"},{"photo_id":"1401845150","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401845152":["hashtag1","hashtag2"]},{"1401845116":["hashtag1","hashtag2"]},{"1401845154":["hashtag1","hashtag2"]},{"1401845150":["hashtag1","hashtag2"]},{"1401845075":["hashtag1","hashtag2"]},{"1401845036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401845152, 1401845116, 1401845154, 1401845150, 1401845075, 1401845036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.028042793273926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 07:54:21.919494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/38/image_31122025_06_38_15_10649.jpg', '/home/pi/Desktop/images/31122025/06/38/image_31122025_06_38_24_9631.jpg', '/home/pi/Desktop/images/31122025/06/38/image_31122025_06_38_34_9572.jpg', '/home/pi/Desktop/images/31122025/06/38/image_31122025_06_39_04_9653.jpg', '/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_15_10712.jpg', '/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_24_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/38/image_31122025_06_38_15_10649.jpg
/home/pi/Desktop/images/31122025/06/38/image_31122025_06_38_24_9631.jpg
/home/pi/Desktop/images/31122025/06/38/image_31122025_06_38_34_9572.jpg
/home/pi/Desktop/images/31122025/06/38/image_31122025_06_39_04_9653.jpg
/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_15_10712.jpg
/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_24_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401845230","1401845227","1401845172","1401845175","1401845205","1401845234"],"photo_ids_order":["1401845172","1401845175","1401845205","1401845227","1401845230","1401845234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed04ee29368b869ce1cf2db7a29056cd.jpg","text":"TemporaryFile(/tmp/multipartBody7069525901863537250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164122538,"filename":"image_31122025_06_39_15_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa65aa9f222bf8f178d8396745cba468.jpg","text":"TemporaryFile(/tmp/multipartBody8960408212451353063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164122538,"filename":"image_31122025_06_39_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5294646c51b9650ca58c109cb7080dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5426621556891551253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164122538,"filename":"image_31122025_06_38_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62b3d62ecd283e9f3e4fd8fcde931da8.jpg","text":"TemporaryFile(/tmp/multipartBody3093189497742175500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164122538,"filename":"image_31122025_06_38_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1146cc506ddf371b692f6cc5c08c48a0.jpg","text":"TemporaryFile(/tmp/multipartBody106404589526303876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164122538,"filename":"image_31122025_06_38_34_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bd73b225b73ed482afccaa0c58e9be9.jpg","text":"TemporaryFile(/tmp/multipartBody2704404754164564775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164122538,"filename":"image_31122025_06_39_24_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401845205","file1":"1401845175","file0":"1401845172","file4":"1401845230","file5":"1401845234","file3":"1401845227"},"map_files_photo_id_array":[{"photo_id":"1401845234","filename":"file5"},{"photo_id":"1401845205","filename":"file2"},{"photo_id":"1401845230","filename":"file4"},{"photo_id":"1401845175","filename":"file1"},{"photo_id":"1401845172","filename":"file0"},{"photo_id":"1401845227","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401845230":["hashtag1","hashtag2"]},{"1401845227":["hashtag1","hashtag2"]},{"1401845172":["hashtag1","hashtag2"]},{"1401845175":["hashtag1","hashtag2"]},{"1401845205":["hashtag1","hashtag2"]},{"1401845234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401845230, 1401845227, 1401845172, 1401845175, 1401845205, 1401845234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.341909885406494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:55:02.826767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_34_9607.jpg', '/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_44_10741.jpg', '/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_54_9685.jpg', '/home/pi/Desktop/images/31122025/06/39/image_31122025_06_40_04_9670.jpg', '/home/pi/Desktop/images/31122025/06/40/image_31122025_06_40_15_10769.jpg', '/home/pi/Desktop/images/31122025/06/40/image_31122025_06_40_34_9539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_34_9607.jpg
/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_44_10741.jpg
/home/pi/Desktop/images/31122025/06/39/image_31122025_06_39_54_9685.jpg
/home/pi/Desktop/images/31122025/06/39/image_31122025_06_40_04_9670.jpg
/home/pi/Desktop/images/31122025/06/40/image_31122025_06_40_15_10769.jpg
/home/pi/Desktop/images/31122025/06/40/image_31122025_06_40_34_9539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401845245","1401845239","1401845247","1401845238","1401845240","1401845242"],"photo_ids_order":["1401845238","1401845239","1401845240","1401845242","1401845245","1401845247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ecbe9028c2e545966125b85eb05bfba.jpg","text":"TemporaryFile(/tmp/multipartBody8397900636944795883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164163484,"filename":"image_31122025_06_40_15_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96c5ba643bf32ecc0efe1b4619e4288f.jpg","text":"TemporaryFile(/tmp/multipartBody645477793088861905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164163484,"filename":"image_31122025_06_39_44_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e7fb66c965827833cfa1f2b01145a38.jpg","text":"TemporaryFile(/tmp/multipartBody2870769765458653783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164163484,"filename":"image_31122025_06_40_34_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b242f3ecfdc9dd62caa9011a77734e41.jpg","text":"TemporaryFile(/tmp/multipartBody4727340769394566202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164163484,"filename":"image_31122025_06_39_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9db5677e9b815622fc7e80eb6f51298a.jpg","text":"TemporaryFile(/tmp/multipartBody7582588676610552735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164163484,"filename":"image_31122025_06_39_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4eb03d3e3362cef7fc76a721c003120.jpg","text":"TemporaryFile(/tmp/multipartBody8358468136650631622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164163484,"filename":"image_31122025_06_40_04_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401845240","file1":"1401845239","file0":"1401845238","file4":"1401845245","file5":"1401845247","file3":"1401845242"},"map_files_photo_id_array":[{"photo_id":"1401845247","filename":"file5"},{"photo_id":"1401845240","filename":"file2"},{"photo_id":"1401845245","filename":"file4"},{"photo_id":"1401845239","filename":"file1"},{"photo_id":"1401845238","filename":"file0"},{"photo_id":"1401845242","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401845245":["hashtag1","hashtag2"]},{"1401845239":["hashtag1","hashtag2"]},{"1401845247":["hashtag1","hashtag2"]},{"1401845238":["hashtag1","hashtag2"]},{"1401845240":["hashtag1","hashtag2"]},{"1401845242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401845245, 1401845239, 1401845247, 1401845238, 1401845240, 1401845242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75705933570862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:55:42.062913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_30_2719.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_34_3524.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_37_2526.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_40_3780.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_43_2692.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_46_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_30_2719.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_34_3524.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_37_2526.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_40_3780.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_43_2692.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_46_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401845298","1401845322","1401845307","1401845284","1401845260","1401845257"],"photo_ids_order":["1401845257","1401845260","1401845284","1401845298","1401845307","1401845322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f38b103d38bdcd2593081af781f93860.jpg","text":"TemporaryFile(/tmp/multipartBody4115789583080596893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164203970,"filename":"image_02112025_23_34_40_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a2e011d2a800f765deb717842c734b8.jpg","text":"TemporaryFile(/tmp/multipartBody1819408455987925975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164203970,"filename":"image_02112025_23_34_46_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b5fdedf5d698c7d0b092d25c38dcfc5.jpg","text":"TemporaryFile(/tmp/multipartBody9734919983280935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164203970,"filename":"image_02112025_23_34_43_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/876b70ccf1be0cd09c1e76b9235b2df2.jpg","text":"TemporaryFile(/tmp/multipartBody2177766089514635536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164203970,"filename":"image_02112025_23_34_37_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95574e105675c22f0bb179906b7d0163.jpg","text":"TemporaryFile(/tmp/multipartBody298180877051683861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164203970,"filename":"image_02112025_23_34_34_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3f0eece3a9967648f873a01a3e34f37.jpg","text":"TemporaryFile(/tmp/multipartBody3592582640017186255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164203970,"filename":"image_02112025_23_34_30_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401845284","file1":"1401845260","file0":"1401845257","file4":"1401845307","file5":"1401845322","file3":"1401845298"},"map_files_photo_id_array":[{"photo_id":"1401845322","filename":"file5"},{"photo_id":"1401845284","filename":"file2"},{"photo_id":"1401845307","filename":"file4"},{"photo_id":"1401845260","filename":"file1"},{"photo_id":"1401845257","filename":"file0"},{"photo_id":"1401845298","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401845298":["hashtag1","hashtag2"]},{"1401845322":["hashtag1","hashtag2"]},{"1401845307":["hashtag1","hashtag2"]},{"1401845284":["hashtag1","hashtag2"]},{"1401845260":["hashtag1","hashtag2"]},{"1401845257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401845298, 1401845322, 1401845307, 1401845284, 1401845260, 1401845257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93653202056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:56:32.220288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_48_2760.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_58_2690.jpg', '/home/pi/Desktop/images/02112025/23/34/image_02112025_23_35_00_2827.jpg', '/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_04_3616.jpg', '/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_07_2626.jpg', '/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_10_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_48_2760.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_34_58_2690.jpg
/home/pi/Desktop/images/02112025/23/34/image_02112025_23_35_00_2827.jpg
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_04_3616.jpg
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_07_2626.jpg
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_10_3633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401845373","1401845384","1401845366","1401845414","1401845408","1401845362"],"photo_ids_order":["1401845362","1401845366","1401845373","1401845384","1401845408","1401845414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b1bd81edbc183fc4c0e5490de9c4a83.jpg","text":"TemporaryFile(/tmp/multipartBody799050079065217985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164254155,"filename":"image_02112025_23_35_00_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c66ee7565576251933ff47a69f0c414.jpg","text":"TemporaryFile(/tmp/multipartBody8226668205881168323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164254155,"filename":"image_02112025_23_35_04_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5d7245d64c76164fee87bc4108e6cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4519927544341902877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164254155,"filename":"image_02112025_23_34_58_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/530c72e609b67312b5e26dfed3f1fe88.jpg","text":"TemporaryFile(/tmp/multipartBody8623285237317222638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164254155,"filename":"image_02112025_23_35_10_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41242bad393f1303d640fbc56a9725f1.jpg","text":"TemporaryFile(/tmp/multipartBody5679851539861632449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164254155,"filename":"image_02112025_23_35_07_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7abdca492ccc67d60285fb819f6addba.jpg","text":"TemporaryFile(/tmp/multipartBody6165942999607481859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164254155,"filename":"image_02112025_23_34_48_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401845373","file1":"1401845366","file0":"1401845362","file4":"1401845408","file5":"1401845414","file3":"1401845384"},"map_files_photo_id_array":[{"photo_id":"1401845414","filename":"file5"},{"photo_id":"1401845373","filename":"file2"},{"photo_id":"1401845408","filename":"file4"},{"photo_id":"1401845366","filename":"file1"},{"photo_id":"1401845362","filename":"file0"},{"photo_id":"1401845384","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401845373":["hashtag1","hashtag2"]},{"1401845384":["hashtag1","hashtag2"]},{"1401845366":["hashtag1","hashtag2"]},{"1401845414":["hashtag1","hashtag2"]},{"1401845408":["hashtag1","hashtag2"]},{"1401845362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401845373, 1401845384, 1401845366, 1401845414, 1401845408, 1401845362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35374188423157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 07:57:12.333723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_13_2626.jpg', '/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_16_2682.jpg', '/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_28_3612.jpg', '/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_34_2671.jpg', '/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_40_2589.jpg', '/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_43_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_13_2626.jpg
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_16_2682.jpg
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_28_3612.jpg
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_34_2671.jpg
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_40_2589.jpg
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_43_2835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401845422","1401845451","1401845424","1401845448","1401845444","1401845420"],"photo_ids_order":["1401845420","1401845422","1401845424","1401845444","1401845448","1401845451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10c5c435295068b9ad9c460be2467cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7949738475615883807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164294170,"filename":"image_02112025_23_35_16_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4857a510322b8eae46eb0a6b29f6d002.jpg","text":"TemporaryFile(/tmp/multipartBody22251820466253695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164294170,"filename":"image_02112025_23_35_43_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/855e20afb2a5e416e486c33b09c5bfd7.jpg","text":"TemporaryFile(/tmp/multipartBody1348005100346722799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164294170,"filename":"image_02112025_23_35_28_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2692883cd8dbad004dcc61450930137.jpg","text":"TemporaryFile(/tmp/multipartBody206530105948657110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164294170,"filename":"image_02112025_23_35_40_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1523a47ba7524e9612688f2d8413fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1065376906856289537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164294170,"filename":"image_02112025_23_35_34_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c543a444e91e2307451ad0c9abe734a4.jpg","text":"TemporaryFile(/tmp/multipartBody7447769757640893284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164294170,"filename":"image_02112025_23_35_13_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401845424","file1":"1401845422","file0":"1401845420","file4":"1401845448","file5":"1401845451","file3":"1401845444"},"map_files_photo_id_array":[{"photo_id":"1401845451","filename":"file5"},{"photo_id":"1401845424","filename":"file2"},{"photo_id":"1401845448","filename":"file4"},{"photo_id":"1401845422","filename":"file1"},{"photo_id":"1401845420","filename":"file0"},{"photo_id":"1401845444","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401845422":["hashtag1","hashtag2"]},{"1401845451":["hashtag1","hashtag2"]},{"1401845424":["hashtag1","hashtag2"]},{"1401845448":["hashtag1","hashtag2"]},{"1401845444":["hashtag1","hashtag2"]},{"1401845420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401845422, 1401845451, 1401845424, 1401845448, 1401845444, 1401845420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.381391763687134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 07:59:03.804308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/40/image_31122025_06_40_44_10549.jpg', '/home/pi/Desktop/images/31122025/06/40/image_31122025_06_40_54_9750.jpg', '/home/pi/Desktop/images/31122025/06/40/image_31122025_06_41_04_9666.jpg', '/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_14_10590.jpg', '/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_24_9614.jpg', '/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_35_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/40/image_31122025_06_40_44_10549.jpg
/home/pi/Desktop/images/31122025/06/40/image_31122025_06_40_54_9750.jpg
/home/pi/Desktop/images/31122025/06/40/image_31122025_06_41_04_9666.jpg
/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_14_10590.jpg
/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_24_9614.jpg
/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_35_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401845577","1401845547","1401845570","1401845573","1401845567","1401845590"],"photo_ids_order":["1401845547","1401845567","1401845570","1401845573","1401845577","1401845590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66fbffa237c1041dceb2463384945fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5979061510350711659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164404504,"filename":"image_31122025_06_41_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efa1bc9f30794b45fefc540c4fe9b2f2.jpg","text":"TemporaryFile(/tmp/multipartBody3282533246229314708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164404504,"filename":"image_31122025_06_40_44_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4dd0a5bb14ef6e46d01a677955788e30.jpg","text":"TemporaryFile(/tmp/multipartBody3591793481983018021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164404504,"filename":"image_31122025_06_41_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37e641769277ea717ad58022ddc3ac68.jpg","text":"TemporaryFile(/tmp/multipartBody6500915360509571375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164404504,"filename":"image_31122025_06_41_14_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/551209b4073c43eda6c3194afbabbc8c.jpg","text":"TemporaryFile(/tmp/multipartBody7853952824527657107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164404504,"filename":"image_31122025_06_40_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9de1a9c9034c516aef39b79d9c05bf52.jpg","text":"TemporaryFile(/tmp/multipartBody359520177168021697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164404504,"filename":"image_31122025_06_41_35_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401845570","file1":"1401845567","file0":"1401845547","file4":"1401845577","file5":"1401845590","file3":"1401845573"},"map_files_photo_id_array":[{"photo_id":"1401845590","filename":"file5"},{"photo_id":"1401845570","filename":"file2"},{"photo_id":"1401845577","filename":"file4"},{"photo_id":"1401845567","filename":"file1"},{"photo_id":"1401845547","filename":"file0"},{"photo_id":"1401845573","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401845577":["hashtag1","hashtag2"]},{"1401845547":["hashtag1","hashtag2"]},{"1401845570":["hashtag1","hashtag2"]},{"1401845573":["hashtag1","hashtag2"]},{"1401845567":["hashtag1","hashtag2"]},{"1401845590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401845577, 1401845547, 1401845570, 1401845573, 1401845567, 1401845590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61257243156433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:00:02.365413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_44_9730.jpg', '/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_54_9580.jpg', '/home/pi/Desktop/images/31122025/06/41/image_31122025_06_42_05_10633.jpg', '/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_14_9659.jpg', '/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_24_9623.jpg', '/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_34_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_44_9730.jpg
/home/pi/Desktop/images/31122025/06/41/image_31122025_06_41_54_9580.jpg
/home/pi/Desktop/images/31122025/06/41/image_31122025_06_42_05_10633.jpg
/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_14_9659.jpg
/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_24_9623.jpg
/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_34_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401846666","1401846210","1401846443","1401846370","1401846550","1401846294"],"photo_ids_order":["1401846210","1401846294","1401846370","1401846443","1401846550","1401846666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fdbdec4d165502b86d48d9d978b9952.jpg","text":"TemporaryFile(/tmp/multipartBody4026956079889610564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164463026,"filename":"image_31122025_06_42_34_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9661a269c382871ab3b48989fe4ba8d.jpg","text":"TemporaryFile(/tmp/multipartBody9170614594863184753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164463026,"filename":"image_31122025_06_41_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32a4ee2f959a47a8cb4be755416189e5.jpg","text":"TemporaryFile(/tmp/multipartBody7708535005269493387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164463026,"filename":"image_31122025_06_42_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7f701fd3be46e21d2e74c2e707b0f85.jpg","text":"TemporaryFile(/tmp/multipartBody5592584982098668572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164463026,"filename":"image_31122025_06_42_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1918122a4e16972d69d483567c82aec.jpg","text":"TemporaryFile(/tmp/multipartBody2650274676891542995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164463026,"filename":"image_31122025_06_42_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8792f47ef9ed6e1002c7f724bacc7c2.jpg","text":"TemporaryFile(/tmp/multipartBody2701476116134323540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164463026,"filename":"image_31122025_06_41_54_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401846370","file1":"1401846294","file0":"1401846210","file4":"1401846550","file5":"1401846666","file3":"1401846443"},"map_files_photo_id_array":[{"photo_id":"1401846666","filename":"file5"},{"photo_id":"1401846370","filename":"file2"},{"photo_id":"1401846550","filename":"file4"},{"photo_id":"1401846294","filename":"file1"},{"photo_id":"1401846210","filename":"file0"},{"photo_id":"1401846443","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401846666":["hashtag1","hashtag2"]},{"1401846210":["hashtag1","hashtag2"]},{"1401846443":["hashtag1","hashtag2"]},{"1401846370":["hashtag1","hashtag2"]},{"1401846550":["hashtag1","hashtag2"]},{"1401846294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401846666, 1401846210, 1401846443, 1401846370, 1401846550, 1401846294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.274290561676025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:00:41.962207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_49_3669.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_03_14002.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_05_1695.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_07_1730.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_10_1701.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_17_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/35/image_02112025_23_35_49_3669.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_03_14002.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_05_1695.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_07_1730.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_10_1701.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_17_1660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401847152","1401847078","1401847144","1401847219","1401847179","1401847006"],"photo_ids_order":["1401847006","1401847078","1401847144","1401847152","1401847179","1401847219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f02100c8a63c0086ba433621e0adc00.jpg","text":"TemporaryFile(/tmp/multipartBody6545689073267536013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164503879,"filename":"image_02112025_23_36_07_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b418e5322451172fb4acde680f478ec.jpg","text":"TemporaryFile(/tmp/multipartBody6868107578580073727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164503879,"filename":"image_02112025_23_36_03_14002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/061789bb0ef0f83240dee9e4bc5df712.jpg","text":"TemporaryFile(/tmp/multipartBody748795935931646712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164503879,"filename":"image_02112025_23_36_05_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2e5ce59e91d044dee20a68bed557565.jpg","text":"TemporaryFile(/tmp/multipartBody4406702580518016776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164503879,"filename":"image_02112025_23_36_17_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80ab55d101336bbe34ce9f336056f3d2.jpg","text":"TemporaryFile(/tmp/multipartBody2821328251733252005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164503879,"filename":"image_02112025_23_36_10_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7deb809ee8636e061ea408701f8e94ff.jpg","text":"TemporaryFile(/tmp/multipartBody1148819662030413728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164503879,"filename":"image_02112025_23_35_49_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401847144","file1":"1401847078","file0":"1401847006","file4":"1401847179","file5":"1401847219","file3":"1401847152"},"map_files_photo_id_array":[{"photo_id":"1401847219","filename":"file5"},{"photo_id":"1401847144","filename":"file2"},{"photo_id":"1401847179","filename":"file4"},{"photo_id":"1401847078","filename":"file1"},{"photo_id":"1401847006","filename":"file0"},{"photo_id":"1401847152","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401847152":["hashtag1","hashtag2"]},{"1401847078":["hashtag1","hashtag2"]},{"1401847144":["hashtag1","hashtag2"]},{"1401847219":["hashtag1","hashtag2"]},{"1401847179":["hashtag1","hashtag2"]},{"1401847006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401847152, 1401847078, 1401847144, 1401847219, 1401847179, 1401847006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26177644729614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:01:32.140634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_18_1727.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_25_3030.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_27_2777.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_40_3660.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_43_2770.jpg', '/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_46_2980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_18_1727.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_25_3030.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_27_2777.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_40_3660.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_43_2770.jpg
/home/pi/Desktop/images/02112025/23/36/image_02112025_23_36_46_2980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401847641","1401847591","1401847482","1401847408","1401847638","1401847545"],"photo_ids_order":["1401847408","1401847482","1401847545","1401847591","1401847638","1401847641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9ffa36935d114d98de068dd04c10dbd.jpg","text":"TemporaryFile(/tmp/multipartBody809926616369049541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164554055,"filename":"image_02112025_23_36_46_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef42bea3207fc86c294408e6945d4060.jpg","text":"TemporaryFile(/tmp/multipartBody2668847543616640924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164554055,"filename":"image_02112025_23_36_40_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c1672632e4f0280e08fdb817e07a8ad.jpg","text":"TemporaryFile(/tmp/multipartBody370190369039972932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164554055,"filename":"image_02112025_23_36_25_3030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e66be22a291e15d5821308c20f85f81f.jpg","text":"TemporaryFile(/tmp/multipartBody5940686061535281864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164554055,"filename":"image_02112025_23_36_18_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c9a4aca23b3e0c65de5160ffb577dd3.jpg","text":"TemporaryFile(/tmp/multipartBody497445301663503182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164554055,"filename":"image_02112025_23_36_43_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d72f109b11ad974942a53d863d7af0d9.jpg","text":"TemporaryFile(/tmp/multipartBody779366274833647083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164554055,"filename":"image_02112025_23_36_27_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401847545","file1":"1401847482","file0":"1401847408","file4":"1401847638","file5":"1401847641","file3":"1401847591"},"map_files_photo_id_array":[{"photo_id":"1401847641","filename":"file5"},{"photo_id":"1401847545","filename":"file2"},{"photo_id":"1401847638","filename":"file4"},{"photo_id":"1401847482","filename":"file1"},{"photo_id":"1401847408","filename":"file0"},{"photo_id":"1401847591","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401847641":["hashtag1","hashtag2"]},{"1401847591":["hashtag1","hashtag2"]},{"1401847482":["hashtag1","hashtag2"]},{"1401847408":["hashtag1","hashtag2"]},{"1401847638":["hashtag1","hashtag2"]},{"1401847545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401847641, 1401847591, 1401847482, 1401847408, 1401847638, 1401847545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03576898574829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:02:12.136395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_22_2862.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_28_3604.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_31_2732.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_33_2722.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_37_3609.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_40_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_22_2862.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_28_3604.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_31_2732.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_33_2722.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_37_3609.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_40_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401847905","1401848021","1401847825","1401847971","1401847804","1401847863"],"photo_ids_order":["1401847804","1401847825","1401847863","1401847905","1401847971","1401848021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25455e4dd6aee60a277af6a43ec2a57e.jpg","text":"TemporaryFile(/tmp/multipartBody5872980889147372049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164593937,"filename":"image_02112025_23_37_33_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9201de42e08243b66c06c583745c433.jpg","text":"TemporaryFile(/tmp/multipartBody5022903966278816090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164593937,"filename":"image_02112025_23_37_40_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3c0e729b461135be267abc2f6f44578.jpg","text":"TemporaryFile(/tmp/multipartBody8206052501623681406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164593937,"filename":"image_02112025_23_37_28_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48edc624fb43275834548b380d5d67a4.jpg","text":"TemporaryFile(/tmp/multipartBody5033643063854400728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164593937,"filename":"image_02112025_23_37_37_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a86cbf01e39bb3e5a4f5c0c85ec2d58.jpg","text":"TemporaryFile(/tmp/multipartBody354244952895257367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164593937,"filename":"image_02112025_23_37_22_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/355cf327206995e2b99d217f9c10e371.jpg","text":"TemporaryFile(/tmp/multipartBody1038778806131068645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164593937,"filename":"image_02112025_23_37_31_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401847863","file1":"1401847825","file0":"1401847804","file4":"1401847971","file5":"1401848021","file3":"1401847905"},"map_files_photo_id_array":[{"photo_id":"1401848021","filename":"file5"},{"photo_id":"1401847863","filename":"file2"},{"photo_id":"1401847971","filename":"file4"},{"photo_id":"1401847825","filename":"file1"},{"photo_id":"1401847804","filename":"file0"},{"photo_id":"1401847905","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401847905":["hashtag1","hashtag2"]},{"1401848021":["hashtag1","hashtag2"]},{"1401847825":["hashtag1","hashtag2"]},{"1401847971":["hashtag1","hashtag2"]},{"1401847804":["hashtag1","hashtag2"]},{"1401847863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401847905, 1401848021, 1401847825, 1401847971, 1401847804, 1401847863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26133418083191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:03:03.156854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_44_9569.jpg', '/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_54_10445.jpg', '/home/pi/Desktop/images/31122025/06/42/image_31122025_06_43_04_9723.jpg', '/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_14_9690.jpg', '/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_25_10734.jpg', '/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_34_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_44_9569.jpg
/home/pi/Desktop/images/31122025/06/42/image_31122025_06_42_54_10445.jpg
/home/pi/Desktop/images/31122025/06/42/image_31122025_06_43_04_9723.jpg
/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_14_9690.jpg
/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_25_10734.jpg
/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_34_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401848156","1401848234","1401848071","1401848239","1401848232","1401848075"],"photo_ids_order":["1401848071","1401848075","1401848156","1401848232","1401848234","1401848239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d191f0fc739c165e8e39acd6a23d471.jpg","text":"TemporaryFile(/tmp/multipartBody6978183198867502532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164643842,"filename":"image_31122025_06_43_04_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23ffc84e0db905cc0c547efe50414488.jpg","text":"TemporaryFile(/tmp/multipartBody3771806783589353452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164643842,"filename":"image_31122025_06_43_25_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50e1769af36dc10b0683ad36c5ee86fb.jpg","text":"TemporaryFile(/tmp/multipartBody6396074375838697861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164643842,"filename":"image_31122025_06_42_44_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/279f8fbaaa3d8d98ad71540ec2ff53d3.jpg","text":"TemporaryFile(/tmp/multipartBody5838580591354425974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164643842,"filename":"image_31122025_06_43_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc89707a6fddd26c9f91b57493bfdfe2.jpg","text":"TemporaryFile(/tmp/multipartBody8168037348411766820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164643842,"filename":"image_31122025_06_43_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31a0f1bca3c0a15e3543505a66fc203b.jpg","text":"TemporaryFile(/tmp/multipartBody4390376186910018366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164643842,"filename":"image_31122025_06_42_54_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401848156","file1":"1401848075","file0":"1401848071","file4":"1401848234","file5":"1401848239","file3":"1401848232"},"map_files_photo_id_array":[{"photo_id":"1401848239","filename":"file5"},{"photo_id":"1401848156","filename":"file2"},{"photo_id":"1401848234","filename":"file4"},{"photo_id":"1401848075","filename":"file1"},{"photo_id":"1401848071","filename":"file0"},{"photo_id":"1401848232","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401848156":["hashtag1","hashtag2"]},{"1401848234":["hashtag1","hashtag2"]},{"1401848071":["hashtag1","hashtag2"]},{"1401848239":["hashtag1","hashtag2"]},{"1401848232":["hashtag1","hashtag2"]},{"1401848075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401848156, 1401848234, 1401848071, 1401848239, 1401848232, 1401848075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75200653076172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:04:03.257342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_45_10383.jpg', '/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_54_9717.jpg', '/home/pi/Desktop/images/31122025/06/43/image_31122025_06_44_04_9686.jpg', '/home/pi/Desktop/images/31122025/06/44/image_31122025_06_44_14_9796.jpg', '/home/pi/Desktop/images/31122025/06/44/image_31122025_06_44_24_10590.jpg', '/home/pi/Desktop/images/31122025/06/44/image_31122025_06_44_34_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_45_10383.jpg
/home/pi/Desktop/images/31122025/06/43/image_31122025_06_43_54_9717.jpg
/home/pi/Desktop/images/31122025/06/43/image_31122025_06_44_04_9686.jpg
/home/pi/Desktop/images/31122025/06/44/image_31122025_06_44_14_9796.jpg
/home/pi/Desktop/images/31122025/06/44/image_31122025_06_44_24_10590.jpg
/home/pi/Desktop/images/31122025/06/44/image_31122025_06_44_34_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401848555","1401848593","1401848668","1401848629","1401848757","1401848709"],"photo_ids_order":["1401848555","1401848593","1401848629","1401848668","1401848709","1401848757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0be290d5e74bec38c834f8f2d5b7a372.jpg","text":"TemporaryFile(/tmp/multipartBody1250924391999674998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164703922,"filename":"image_31122025_06_43_45_10383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49688cbcc76f3ae66d9d9f6d32a2231c.jpg","text":"TemporaryFile(/tmp/multipartBody8463089131514363694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164703922,"filename":"image_31122025_06_43_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d26e371789e1c5dc56938214cd01a38.jpg","text":"TemporaryFile(/tmp/multipartBody6218083787573777385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164703922,"filename":"image_31122025_06_44_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c36a39506a87a3b66d17b5fec96a3ba6.jpg","text":"TemporaryFile(/tmp/multipartBody6371980920292605349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164703922,"filename":"image_31122025_06_44_04_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1451e715b55bd08f49da63c54efa58dc.jpg","text":"TemporaryFile(/tmp/multipartBody7720028123976687076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164703922,"filename":"image_31122025_06_44_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf6252c1d26572a20ec46650955d6630.jpg","text":"TemporaryFile(/tmp/multipartBody9173567056472265207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164703922,"filename":"image_31122025_06_44_24_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401848629","file1":"1401848593","file0":"1401848555","file4":"1401848709","file5":"1401848757","file3":"1401848668"},"map_files_photo_id_array":[{"photo_id":"1401848757","filename":"file5"},{"photo_id":"1401848629","filename":"file2"},{"photo_id":"1401848709","filename":"file4"},{"photo_id":"1401848593","filename":"file1"},{"photo_id":"1401848555","filename":"file0"},{"photo_id":"1401848668","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401848555":["hashtag1","hashtag2"]},{"1401848593":["hashtag1","hashtag2"]},{"1401848668":["hashtag1","hashtag2"]},{"1401848629":["hashtag1","hashtag2"]},{"1401848757":["hashtag1","hashtag2"]},{"1401848709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401848555, 1401848593, 1401848668, 1401848629, 1401848757, 1401848709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37786412239075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:04:42.585116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_46_3647.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_49_2646.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_54_2664.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_57_2752.jpg', '/home/pi/Desktop/images/02112025/23/37/image_02112025_23_38_01_3624.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_03_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_46_3647.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_49_2646.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_54_2664.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_37_57_2752.jpg
/home/pi/Desktop/images/02112025/23/37/image_02112025_23_38_01_3624.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_03_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849119","1401849079","1401848965","1401849112","1401849042","1401849006"],"photo_ids_order":["1401848965","1401849006","1401849042","1401849079","1401849112","1401849119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0862cd353ba894185bb7585475df2de9.jpg","text":"TemporaryFile(/tmp/multipartBody6172435737510114197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164744511,"filename":"image_02112025_23_38_03_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bebb2b3e7635716d75861293289615e7.jpg","text":"TemporaryFile(/tmp/multipartBody3849710710451652380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164744511,"filename":"image_02112025_23_37_57_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa7124fc1d6639ee6c4e24d0b056c9fe.jpg","text":"TemporaryFile(/tmp/multipartBody5879268682570680289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164744511,"filename":"image_02112025_23_37_46_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d3f031c00e0cf059fdd1738aaa8a36f.jpg","text":"TemporaryFile(/tmp/multipartBody959606297818255272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164744511,"filename":"image_02112025_23_38_01_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec5e6e0022fc73c92d057ecda758d53c.jpg","text":"TemporaryFile(/tmp/multipartBody1581645374686192397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164744511,"filename":"image_02112025_23_37_54_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acb0502a4f59173f4302c246b2052982.jpg","text":"TemporaryFile(/tmp/multipartBody8983819278494654184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164744511,"filename":"image_02112025_23_37_49_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849042","file1":"1401849006","file0":"1401848965","file4":"1401849112","file5":"1401849119","file3":"1401849079"},"map_files_photo_id_array":[{"photo_id":"1401849119","filename":"file5"},{"photo_id":"1401849042","filename":"file2"},{"photo_id":"1401849112","filename":"file4"},{"photo_id":"1401849006","filename":"file1"},{"photo_id":"1401848965","filename":"file0"},{"photo_id":"1401849079","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401849119":["hashtag1","hashtag2"]},{"1401849079":["hashtag1","hashtag2"]},{"1401848965":["hashtag1","hashtag2"]},{"1401849112":["hashtag1","hashtag2"]},{"1401849042":["hashtag1","hashtag2"]},{"1401849006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401849119, 1401849079, 1401848965, 1401849112, 1401849042, 1401849006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62201166152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:05:32.775530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_10_3801.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_16_2800.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_18_2804.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_22_3613.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_25_2568.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_36_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_10_3801.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_16_2800.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_18_2804.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_22_3613.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_25_2568.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_36_2559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849311","1401849212","1401849262","1401849367","1401849186","1401849165"],"photo_ids_order":["1401849165","1401849186","1401849212","1401849262","1401849311","1401849367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28a2557e6cb76a2219843a819ea4b407.jpg","text":"TemporaryFile(/tmp/multipartBody3023580752918513572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164794704,"filename":"image_02112025_23_38_25_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f10250c164b1648143386ef296e31752.jpg","text":"TemporaryFile(/tmp/multipartBody2119285556832075078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164794704,"filename":"image_02112025_23_38_18_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3944bd6a4689599ea629c5006f9b59da.jpg","text":"TemporaryFile(/tmp/multipartBody3274720029063104752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164794704,"filename":"image_02112025_23_38_22_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e5815d219cf3880a47b9a19518af9a4.jpg","text":"TemporaryFile(/tmp/multipartBody4082140801594988426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164794704,"filename":"image_02112025_23_38_36_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/393c8f9150295ecc6ec9e43090ce3d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6015805486798916211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164794704,"filename":"image_02112025_23_38_16_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11f57d58c22ce772fe26315c592ac6e5.jpg","text":"TemporaryFile(/tmp/multipartBody8168824480927878864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164794704,"filename":"image_02112025_23_38_10_3801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849212","file1":"1401849186","file0":"1401849165","file4":"1401849311","file5":"1401849367","file3":"1401849262"},"map_files_photo_id_array":[{"photo_id":"1401849367","filename":"file5"},{"photo_id":"1401849212","filename":"file2"},{"photo_id":"1401849311","filename":"file4"},{"photo_id":"1401849186","filename":"file1"},{"photo_id":"1401849165","filename":"file0"},{"photo_id":"1401849262","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401849311":["hashtag1","hashtag2"]},{"1401849212":["hashtag1","hashtag2"]},{"1401849262":["hashtag1","hashtag2"]},{"1401849367":["hashtag1","hashtag2"]},{"1401849186":["hashtag1","hashtag2"]},{"1401849165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401849311, 1401849212, 1401849262, 1401849367, 1401849186, 1401849165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80622100830078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:06:22.023860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/44/image_31122025_06_44_55_10661.jpg', '/home/pi/Desktop/images/31122025/06/44/image_31122025_06_45_04_9668.jpg', '/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_14_9566.jpg', '/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_24_10528.jpg', '/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_34_9794.jpg', '/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_44_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/44/image_31122025_06_44_55_10661.jpg
/home/pi/Desktop/images/31122025/06/44/image_31122025_06_45_04_9668.jpg
/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_14_9566.jpg
/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_24_10528.jpg
/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_34_9794.jpg
/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_44_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849598","1401849631","1401849604","1401849660","1401849525","1401849647"],"photo_ids_order":["1401849525","1401849598","1401849604","1401849631","1401849647","1401849660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2b0c17a2de8a733deb25cabbebd9bfc.jpg","text":"TemporaryFile(/tmp/multipartBody8513191980520786352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164842647,"filename":"image_31122025_06_45_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d31dc3cb5ddf2d6dafd46a9aad26d07e.jpg","text":"TemporaryFile(/tmp/multipartBody9185756583842938006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164842647,"filename":"image_31122025_06_45_24_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0eae1406b229957271b1da19bf6f9349.jpg","text":"TemporaryFile(/tmp/multipartBody730574164382092859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164842647,"filename":"image_31122025_06_45_14_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c936399f3fe0e2a9467a92d0c3386d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2890006540002582763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164842647,"filename":"image_31122025_06_45_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7eb90707ccc01c39964efc4c4d59de4.jpg","text":"TemporaryFile(/tmp/multipartBody7415122469076823171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164842647,"filename":"image_31122025_06_44_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1de7e4723f7f6aa8085d78b78feeb1d7.jpg","text":"TemporaryFile(/tmp/multipartBody3155060957703641754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164842647,"filename":"image_31122025_06_45_34_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849604","file1":"1401849598","file0":"1401849525","file4":"1401849647","file5":"1401849660","file3":"1401849631"},"map_files_photo_id_array":[{"photo_id":"1401849660","filename":"file5"},{"photo_id":"1401849604","filename":"file2"},{"photo_id":"1401849647","filename":"file4"},{"photo_id":"1401849598","filename":"file1"},{"photo_id":"1401849525","filename":"file0"},{"photo_id":"1401849631","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401849598":["hashtag1","hashtag2"]},{"1401849631":["hashtag1","hashtag2"]},{"1401849604":["hashtag1","hashtag2"]},{"1401849660":["hashtag1","hashtag2"]},{"1401849525":["hashtag1","hashtag2"]},{"1401849647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401849598, 1401849631, 1401849604, 1401849660, 1401849525, 1401849647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.015170097351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:07:02.854551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_55_10816.jpg', '/home/pi/Desktop/images/31122025/06/45/image_31122025_06_46_04_9618.jpg', '/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_14_9655.jpg', '/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_25_10619.jpg', '/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_34_9785.jpg', '/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_44_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/45/image_31122025_06_45_55_10816.jpg
/home/pi/Desktop/images/31122025/06/45/image_31122025_06_46_04_9618.jpg
/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_14_9655.jpg
/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_25_10619.jpg
/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_34_9785.jpg
/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_44_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849679","1401849670","1401849676","1401849672","1401849666","1401849674"],"photo_ids_order":["1401849666","1401849670","1401849672","1401849674","1401849676","1401849679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b340fc98c32cfa7ed6dd6eae4423cb55.jpg","text":"TemporaryFile(/tmp/multipartBody3401321061333361270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164883548,"filename":"image_31122025_06_46_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13ec0c5b9efd7e8bf0b34714a4f92c90.jpg","text":"TemporaryFile(/tmp/multipartBody312368787668288500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164883548,"filename":"image_31122025_06_46_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/837bbf4de41552c212f03e3d4cd3fb95.jpg","text":"TemporaryFile(/tmp/multipartBody316524804390869659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164883548,"filename":"image_31122025_06_46_34_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/263d27e9db02e7712bbdcbe6103c3e2f.jpg","text":"TemporaryFile(/tmp/multipartBody8657925193972649206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164883548,"filename":"image_31122025_06_46_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/960c939cd1f8f058e3589d967d920afa.jpg","text":"TemporaryFile(/tmp/multipartBody5446644273301021418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164883548,"filename":"image_31122025_06_45_55_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34e81ab6be780fd2662bee82fd4be65c.jpg","text":"TemporaryFile(/tmp/multipartBody6845795218330987842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164883548,"filename":"image_31122025_06_46_25_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849672","file1":"1401849670","file0":"1401849666","file4":"1401849676","file5":"1401849679","file3":"1401849674"},"map_files_photo_id_array":[{"photo_id":"1401849679","filename":"file5"},{"photo_id":"1401849672","filename":"file2"},{"photo_id":"1401849676","filename":"file4"},{"photo_id":"1401849670","filename":"file1"},{"photo_id":"1401849666","filename":"file0"},{"photo_id":"1401849674","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401849679":["hashtag1","hashtag2"]},{"1401849670":["hashtag1","hashtag2"]},{"1401849676":["hashtag1","hashtag2"]},{"1401849672":["hashtag1","hashtag2"]},{"1401849666":["hashtag1","hashtag2"]},{"1401849674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401849679, 1401849670, 1401849676, 1401849672, 1401849666, 1401849674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86184883117676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:07:42.314256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_40_3622.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_45_2667.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_49_3613.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_52_2742.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_54_2636.jpg', '/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_58_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_40_3622.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_45_2667.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_49_3613.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_52_2742.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_54_2636.jpg
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_38_58_3606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849691","1401849694","1401849688","1401849696","1401849702","1401849695"],"photo_ids_order":["1401849688","1401849691","1401849694","1401849695","1401849696","1401849702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24e185b734103cafada13e4180bce0cb.jpg","text":"TemporaryFile(/tmp/multipartBody837115871873323548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164924289,"filename":"image_02112025_23_38_45_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f7007d14377c343dc18b8e8b6355323.jpg","text":"TemporaryFile(/tmp/multipartBody4785796183495400850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164924289,"filename":"image_02112025_23_38_49_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9f84277cba8c575b6d109f3b1aa2c27.jpg","text":"TemporaryFile(/tmp/multipartBody11360050723783071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164924289,"filename":"image_02112025_23_38_40_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6232620112d85cf8913f05389ce44f5.jpg","text":"TemporaryFile(/tmp/multipartBody4945940346655923874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164924289,"filename":"image_02112025_23_38_54_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f3867a686e8f56d4b36900019bf8238.jpg","text":"TemporaryFile(/tmp/multipartBody6997457912415083476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164924289,"filename":"image_02112025_23_38_58_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6318d6d5a85e3e62e75d30eb4979526.jpg","text":"TemporaryFile(/tmp/multipartBody5390403129229745978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164924289,"filename":"image_02112025_23_38_52_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849694","file1":"1401849691","file0":"1401849688","file4":"1401849696","file5":"1401849702","file3":"1401849695"},"map_files_photo_id_array":[{"photo_id":"1401849702","filename":"file5"},{"photo_id":"1401849694","filename":"file2"},{"photo_id":"1401849696","filename":"file4"},{"photo_id":"1401849691","filename":"file1"},{"photo_id":"1401849688","filename":"file0"},{"photo_id":"1401849695","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401849691":["hashtag1","hashtag2"]},{"1401849694":["hashtag1","hashtag2"]},{"1401849688":["hashtag1","hashtag2"]},{"1401849696":["hashtag1","hashtag2"]},{"1401849702":["hashtag1","hashtag2"]},{"1401849695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401849691, 1401849694, 1401849688, 1401849696, 1401849702, 1401849695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.654695987701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:08:22.523324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_55_10716.jpg', '/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_04_9327.jpg', '/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_15_10704.jpg', '/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_25_9845.jpg', '/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_34_9757.jpg', '/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_44_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/46/image_31122025_06_46_55_10716.jpg
/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_04_9327.jpg
/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_15_10704.jpg
/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_25_9845.jpg
/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_34_9757.jpg
/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_44_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849748","1401849736","1401849785","1401849776","1401849743","1401849731"],"photo_ids_order":["1401849731","1401849736","1401849743","1401849748","1401849776","1401849785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c40d7fd35215cf9113a0d255583d233.jpg","text":"TemporaryFile(/tmp/multipartBody3727642062332692263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164963183,"filename":"image_31122025_06_47_25_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d04a190e8a95ef80febea9bd33d7a7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6260695984023906844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164963183,"filename":"image_31122025_06_47_04_9327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67ca2ab20abe3159176b51e7c16e8b98.jpg","text":"TemporaryFile(/tmp/multipartBody8817947024584684736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164963183,"filename":"image_31122025_06_47_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b80b65e9b985aef9e17cb823ca693f7.jpg","text":"TemporaryFile(/tmp/multipartBody7994425673526081704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164963183,"filename":"image_31122025_06_47_34_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81c62e77e2a115e08dfbce13ee734aed.jpg","text":"TemporaryFile(/tmp/multipartBody8383879898358466952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164963183,"filename":"image_31122025_06_47_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12cc87c28967b375ca6e351deaf60d65.jpg","text":"TemporaryFile(/tmp/multipartBody7071920786215284653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767164963183,"filename":"image_31122025_06_46_55_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849743","file1":"1401849736","file0":"1401849731","file4":"1401849776","file5":"1401849785","file3":"1401849748"},"map_files_photo_id_array":[{"photo_id":"1401849785","filename":"file5"},{"photo_id":"1401849743","filename":"file2"},{"photo_id":"1401849776","filename":"file4"},{"photo_id":"1401849736","filename":"file1"},{"photo_id":"1401849731","filename":"file0"},{"photo_id":"1401849748","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401849748":["hashtag1","hashtag2"]},{"1401849736":["hashtag1","hashtag2"]},{"1401849785":["hashtag1","hashtag2"]},{"1401849776":["hashtag1","hashtag2"]},{"1401849743":["hashtag1","hashtag2"]},{"1401849731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401849748, 1401849736, 1401849785, 1401849776, 1401849743, 1401849731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15410494804382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:09:03.623129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_54_9701.jpg', '/home/pi/Desktop/images/31122025/06/47/image_31122025_06_48_04_10703.jpg', '/home/pi/Desktop/images/31122025/06/48/image_31122025_06_48_14_9915.jpg', '/home/pi/Desktop/images/31122025/06/48/image_31122025_06_48_24_9725.jpg', '/home/pi/Desktop/images/31122025/06/48/image_31122025_06_48_45_10752.jpg', '/home/pi/Desktop/images/31122025/06/48/image_31122025_06_48_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/47/image_31122025_06_47_54_9701.jpg
/home/pi/Desktop/images/31122025/06/47/image_31122025_06_48_04_10703.jpg
/home/pi/Desktop/images/31122025/06/48/image_31122025_06_48_14_9915.jpg
/home/pi/Desktop/images/31122025/06/48/image_31122025_06_48_24_9725.jpg
/home/pi/Desktop/images/31122025/06/48/image_31122025_06_48_45_10752.jpg
/home/pi/Desktop/images/31122025/06/48/image_31122025_06_48_54_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849838","1401849861","1401849906","1401849849","1401849857","1401849902"],"photo_ids_order":["1401849838","1401849849","1401849857","1401849861","1401849902","1401849906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/902064c03df7e57b3112277284884320.jpg","text":"TemporaryFile(/tmp/multipartBody3575461139813060642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165004460,"filename":"image_31122025_06_47_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c22be74e9609c98375668c8c2aaba8af.jpg","text":"TemporaryFile(/tmp/multipartBody7116942649957295312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165004460,"filename":"image_31122025_06_48_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b15da3a438b1e52143a18a35d2e32164.jpg","text":"TemporaryFile(/tmp/multipartBody3963136591210426747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165004460,"filename":"image_31122025_06_48_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb23394dd1d311f1142c177aabd99d72.jpg","text":"TemporaryFile(/tmp/multipartBody7899171013236500172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165004460,"filename":"image_31122025_06_48_04_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5966c37029e0ca83792476e91425ac13.jpg","text":"TemporaryFile(/tmp/multipartBody84347774237961013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165004460,"filename":"image_31122025_06_48_14_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45405b96d357d047063fde47a4423b87.jpg","text":"TemporaryFile(/tmp/multipartBody5957819898927693812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165004460,"filename":"image_31122025_06_48_45_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849857","file1":"1401849849","file0":"1401849838","file4":"1401849902","file5":"1401849906","file3":"1401849861"},"map_files_photo_id_array":[{"photo_id":"1401849906","filename":"file5"},{"photo_id":"1401849857","filename":"file2"},{"photo_id":"1401849902","filename":"file4"},{"photo_id":"1401849849","filename":"file1"},{"photo_id":"1401849838","filename":"file0"},{"photo_id":"1401849861","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401849838":["hashtag1","hashtag2"]},{"1401849861":["hashtag1","hashtag2"]},{"1401849906":["hashtag1","hashtag2"]},{"1401849849":["hashtag1","hashtag2"]},{"1401849857":["hashtag1","hashtag2"]},{"1401849902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401849838, 1401849861, 1401849906, 1401849849, 1401849857, 1401849902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.975926876068115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:09:42.663098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/38/image_02112025_23_39_00_2696.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_07_3621.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_12_2583.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_22_3638.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_27_2688.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_30_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/38/image_02112025_23_39_00_2696.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_07_3621.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_12_2583.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_22_3638.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_27_2688.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_30_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849943","1401849931","1401849940","1401849934","1401849936","1401849938"],"photo_ids_order":["1401849931","1401849934","1401849936","1401849938","1401849940","1401849943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/231ef3bbec5a390bdb7cfbea642c6d84.jpg","text":"TemporaryFile(/tmp/multipartBody4951647887014671087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165044568,"filename":"image_02112025_23_39_30_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48618d35290fa68a32aaf391030aea64.jpg","text":"TemporaryFile(/tmp/multipartBody4634982208312154437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165044568,"filename":"image_02112025_23_39_00_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8105c42bd1f29c16df6455c11c0817c.jpg","text":"TemporaryFile(/tmp/multipartBody2765104519896477750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165044568,"filename":"image_02112025_23_39_27_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/daf5768ebdbcdee87c22398dd216e42a.jpg","text":"TemporaryFile(/tmp/multipartBody8597109051211291162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165044568,"filename":"image_02112025_23_39_07_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9be8c1c31a16bbeba24b43901d596e04.jpg","text":"TemporaryFile(/tmp/multipartBody8153114317762224974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165044568,"filename":"image_02112025_23_39_12_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3a290916612e42b3da6f818a2954cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8187000049595361946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165044568,"filename":"image_02112025_23_39_22_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849936","file1":"1401849934","file0":"1401849931","file4":"1401849940","file5":"1401849943","file3":"1401849938"},"map_files_photo_id_array":[{"photo_id":"1401849943","filename":"file5"},{"photo_id":"1401849936","filename":"file2"},{"photo_id":"1401849940","filename":"file4"},{"photo_id":"1401849934","filename":"file1"},{"photo_id":"1401849931","filename":"file0"},{"photo_id":"1401849938","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401849943":["hashtag1","hashtag2"]},{"1401849931":["hashtag1","hashtag2"]},{"1401849940":["hashtag1","hashtag2"]},{"1401849934":["hashtag1","hashtag2"]},{"1401849936":["hashtag1","hashtag2"]},{"1401849938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401849943, 1401849931, 1401849940, 1401849934, 1401849936, 1401849938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21214771270752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:10:32.919548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_34_3669.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_36_2681.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_43_3641.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_52_3695.jpg', '/home/pi/Desktop/images/02112025/23/39/image_02112025_23_40_00_2623.jpg', '/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_04_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_34_3669.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_36_2681.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_43_3641.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_39_52_3695.jpg
/home/pi/Desktop/images/02112025/23/39/image_02112025_23_40_00_2623.jpg
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_04_3742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849961","1401849973","1401849955","1401849975","1401849969","1401849977"],"photo_ids_order":["1401849955","1401849961","1401849969","1401849973","1401849975","1401849977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be88d8b21293d1e5a9cd57683c81e494.jpg","text":"TemporaryFile(/tmp/multipartBody7437697200870421862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165094900,"filename":"image_02112025_23_39_36_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de1784f5d8ffed57ea2d094bf1ad6b7a.jpg","text":"TemporaryFile(/tmp/multipartBody7451803452535067410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165094900,"filename":"image_02112025_23_39_52_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef16e79056eeae8cacc787a8bd23d841.jpg","text":"TemporaryFile(/tmp/multipartBody8828536183626684209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165094900,"filename":"image_02112025_23_39_34_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ed66ea164d327ead44f673033fde97d.jpg","text":"TemporaryFile(/tmp/multipartBody1653321262177007709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165094900,"filename":"image_02112025_23_40_00_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0197f980027df24fb2ecc7e8fae13e94.jpg","text":"TemporaryFile(/tmp/multipartBody7739108352892506859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165094900,"filename":"image_02112025_23_39_43_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9217df7962c0ac4eefe7ea5a4d6c8b95.jpg","text":"TemporaryFile(/tmp/multipartBody3993826820363819650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165094900,"filename":"image_02112025_23_40_04_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849969","file1":"1401849961","file0":"1401849955","file4":"1401849975","file5":"1401849977","file3":"1401849973"},"map_files_photo_id_array":[{"photo_id":"1401849977","filename":"file5"},{"photo_id":"1401849969","filename":"file2"},{"photo_id":"1401849975","filename":"file4"},{"photo_id":"1401849961","filename":"file1"},{"photo_id":"1401849955","filename":"file0"},{"photo_id":"1401849973","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401849961":["hashtag1","hashtag2"]},{"1401849973":["hashtag1","hashtag2"]},{"1401849955":["hashtag1","hashtag2"]},{"1401849975":["hashtag1","hashtag2"]},{"1401849969":["hashtag1","hashtag2"]},{"1401849977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401849961, 1401849973, 1401849955, 1401849975, 1401849969, 1401849977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55471205711365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:11:22.150862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/49/image_31122025_06_49_15_10628.jpg', '/home/pi/Desktop/images/31122025/06/49/image_31122025_06_49_24_9724.jpg', '/home/pi/Desktop/images/31122025/06/49/image_31122025_06_49_55_10704.jpg', '/home/pi/Desktop/images/31122025/06/49/image_31122025_06_50_04_9597.jpg', '/home/pi/Desktop/images/31122025/06/50/image_31122025_06_50_14_9757.jpg', '/home/pi/Desktop/images/31122025/06/50/image_31122025_06_50_25_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/49/image_31122025_06_49_15_10628.jpg
/home/pi/Desktop/images/31122025/06/49/image_31122025_06_49_24_9724.jpg
/home/pi/Desktop/images/31122025/06/49/image_31122025_06_49_55_10704.jpg
/home/pi/Desktop/images/31122025/06/49/image_31122025_06_50_04_9597.jpg
/home/pi/Desktop/images/31122025/06/50/image_31122025_06_50_14_9757.jpg
/home/pi/Desktop/images/31122025/06/50/image_31122025_06_50_25_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401849988","1401850001","1401849998","1401849983","1401849986","1401850005"],"photo_ids_order":["1401849983","1401849986","1401849988","1401849998","1401850001","1401850005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d5d392e1d7a522f7c66bd79259d8b8b.jpg","text":"TemporaryFile(/tmp/multipartBody6096391293423782355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165142747,"filename":"image_31122025_06_49_55_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffb8a15eba28bb807a8448f19d8ae9d2.jpg","text":"TemporaryFile(/tmp/multipartBody8443535152371646413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165142747,"filename":"image_31122025_06_50_14_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/376982ff4d77a40a7dbf17bc427ecdf6.jpg","text":"TemporaryFile(/tmp/multipartBody3204196454662517404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165142747,"filename":"image_31122025_06_50_04_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e241589e4bef6a87885a17e5bda8c11.jpg","text":"TemporaryFile(/tmp/multipartBody2377902720004673517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165142747,"filename":"image_31122025_06_49_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68cc857ddd1e5be81fb1d9535fe284a4.jpg","text":"TemporaryFile(/tmp/multipartBody6738232442789526050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165142747,"filename":"image_31122025_06_49_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afb5389b97d43949d394261bd551fbea.jpg","text":"TemporaryFile(/tmp/multipartBody5869463311627766329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165142747,"filename":"image_31122025_06_50_25_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401849988","file1":"1401849986","file0":"1401849983","file4":"1401850001","file5":"1401850005","file3":"1401849998"},"map_files_photo_id_array":[{"photo_id":"1401850005","filename":"file5"},{"photo_id":"1401849988","filename":"file2"},{"photo_id":"1401850001","filename":"file4"},{"photo_id":"1401849986","filename":"file1"},{"photo_id":"1401849983","filename":"file0"},{"photo_id":"1401849998","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401849988":["hashtag1","hashtag2"]},{"1401850001":["hashtag1","hashtag2"]},{"1401849998":["hashtag1","hashtag2"]},{"1401849983":["hashtag1","hashtag2"]},{"1401849986":["hashtag1","hashtag2"]},{"1401850005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401849988, 1401850001, 1401849998, 1401849983, 1401849986, 1401850005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26905846595764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:12:02.597011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/50/image_31122025_06_50_34_9635.jpg', '/home/pi/Desktop/images/31122025/06/50/image_31122025_06_50_44_9778.jpg', '/home/pi/Desktop/images/31122025/06/50/image_31122025_06_51_04_10775.jpg', '/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_14_9806.jpg', '/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_24_9624.jpg', '/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_35_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/50/image_31122025_06_50_34_9635.jpg
/home/pi/Desktop/images/31122025/06/50/image_31122025_06_50_44_9778.jpg
/home/pi/Desktop/images/31122025/06/50/image_31122025_06_51_04_10775.jpg
/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_14_9806.jpg
/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_24_9624.jpg
/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_35_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850094","1401850100","1401850095","1401850097","1401850079","1401850070"],"photo_ids_order":["1401850070","1401850079","1401850094","1401850095","1401850097","1401850100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cff1d31757731932899b310601a0986.jpg","text":"TemporaryFile(/tmp/multipartBody7975802191118778350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165183215,"filename":"image_31122025_06_51_04_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c6f7f58d778937f51a768eea8b9103d.jpg","text":"TemporaryFile(/tmp/multipartBody7523516275182707038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165183215,"filename":"image_31122025_06_51_35_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d96993af2825740bb836f5052dc95c9.jpg","text":"TemporaryFile(/tmp/multipartBody1307644149144494079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165183215,"filename":"image_31122025_06_51_14_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b04b971e088b20289df1eab874b081d.jpg","text":"TemporaryFile(/tmp/multipartBody3161514760726344855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165183215,"filename":"image_31122025_06_51_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0180edff6b38008f2926778a15d69fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4200498356438386953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165183215,"filename":"image_31122025_06_50_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d20ad537f2309a6d97fd22bfbabeb08.jpg","text":"TemporaryFile(/tmp/multipartBody1459554911655165191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165183215,"filename":"image_31122025_06_50_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850094","file1":"1401850079","file0":"1401850070","file4":"1401850097","file5":"1401850100","file3":"1401850095"},"map_files_photo_id_array":[{"photo_id":"1401850100","filename":"file5"},{"photo_id":"1401850094","filename":"file2"},{"photo_id":"1401850097","filename":"file4"},{"photo_id":"1401850079","filename":"file1"},{"photo_id":"1401850070","filename":"file0"},{"photo_id":"1401850095","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401850094":["hashtag1","hashtag2"]},{"1401850100":["hashtag1","hashtag2"]},{"1401850095":["hashtag1","hashtag2"]},{"1401850097":["hashtag1","hashtag2"]},{"1401850079":["hashtag1","hashtag2"]},{"1401850070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401850094, 1401850100, 1401850095, 1401850097, 1401850079, 1401850070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6424765586853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:12:42.355608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_06_2663.jpg', '/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_09_2654.jpg', '/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_13_3752.jpg', '/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_21_2715.jpg', '/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_27_2714.jpg', '/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_34_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_06_2663.jpg
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_09_2654.jpg
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_13_3752.jpg
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_21_2715.jpg
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_27_2714.jpg
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_34_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850124","1401850144","1401850122","1401850119","1401850134","1401850128"],"photo_ids_order":["1401850119","1401850122","1401850124","1401850128","1401850134","1401850144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e648de962b7b2125d07205928c222ef.jpg","text":"TemporaryFile(/tmp/multipartBody9088290638590614405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165226467,"filename":"image_02112025_23_40_13_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03bd033129133dda44a2d175c93e8b65.jpg","text":"TemporaryFile(/tmp/multipartBody5156678972008531376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165226467,"filename":"image_02112025_23_40_34_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a54dc8d5361c9350dd96c06df7ab04e.jpg","text":"TemporaryFile(/tmp/multipartBody8081015999716388491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165226467,"filename":"image_02112025_23_40_09_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebdca575561ba4571d9b1d4cd7eea5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7237787583096151457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165226467,"filename":"image_02112025_23_40_06_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a76a2192e2b7f5ca9b187e83e300c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1969158775049371201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165226467,"filename":"image_02112025_23_40_27_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/242962a08fbadd03db866a27e7af1e9f.jpg","text":"TemporaryFile(/tmp/multipartBody6953685049576759289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165226467,"filename":"image_02112025_23_40_21_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850124","file1":"1401850122","file0":"1401850119","file4":"1401850134","file5":"1401850144","file3":"1401850128"},"map_files_photo_id_array":[{"photo_id":"1401850144","filename":"file5"},{"photo_id":"1401850124","filename":"file2"},{"photo_id":"1401850134","filename":"file4"},{"photo_id":"1401850122","filename":"file1"},{"photo_id":"1401850119","filename":"file0"},{"photo_id":"1401850128","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401850124":["hashtag1","hashtag2"]},{"1401850144":["hashtag1","hashtag2"]},{"1401850122":["hashtag1","hashtag2"]},{"1401850119":["hashtag1","hashtag2"]},{"1401850134":["hashtag1","hashtag2"]},{"1401850128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401850124, 1401850144, 1401850122, 1401850119, 1401850134, 1401850128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38251566886902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:13:32.505655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_57_2720.jpg', '/home/pi/Desktop/images/02112025/23/40/image_02112025_23_41_01_3661.jpg', '/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_03_2643.jpg', '/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_09_2706.jpg', '/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_24_2761.jpg', '/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_27_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_40_57_2720.jpg
/home/pi/Desktop/images/02112025/23/40/image_02112025_23_41_01_3661.jpg
/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_03_2643.jpg
/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_09_2706.jpg
/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_24_2761.jpg
/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_27_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850208","1401850162","1401850168","1401850201","1401850191","1401850158"],"photo_ids_order":["1401850158","1401850162","1401850168","1401850191","1401850201","1401850208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca5c3a60e97fd5aea23875c6e6275750.jpg","text":"TemporaryFile(/tmp/multipartBody593015978966672232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165274464,"filename":"image_02112025_23_41_27_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/865b5da43bf37d8781f00de282f691c9.jpg","text":"TemporaryFile(/tmp/multipartBody6063409365366094617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165274464,"filename":"image_02112025_23_41_01_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e0d5af29a553b6b2270ea9d5f31967b.jpg","text":"TemporaryFile(/tmp/multipartBody8957249412494471569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165274464,"filename":"image_02112025_23_41_03_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6da14cf185eae3cc2bbaada2ec0a8fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3710680872118850084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165274464,"filename":"image_02112025_23_41_24_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea297bd23a8d5b03c936f7590bfbd948.jpg","text":"TemporaryFile(/tmp/multipartBody1965094285613501027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165274464,"filename":"image_02112025_23_41_09_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82ae90a466676316fd2a93b8d81517b8.jpg","text":"TemporaryFile(/tmp/multipartBody2066517522673736390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165274464,"filename":"image_02112025_23_40_57_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850168","file1":"1401850162","file0":"1401850158","file4":"1401850201","file5":"1401850208","file3":"1401850191"},"map_files_photo_id_array":[{"photo_id":"1401850208","filename":"file5"},{"photo_id":"1401850168","filename":"file2"},{"photo_id":"1401850201","filename":"file4"},{"photo_id":"1401850162","filename":"file1"},{"photo_id":"1401850158","filename":"file0"},{"photo_id":"1401850191","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401850208":["hashtag1","hashtag2"]},{"1401850162":["hashtag1","hashtag2"]},{"1401850168":["hashtag1","hashtag2"]},{"1401850201":["hashtag1","hashtag2"]},{"1401850191":["hashtag1","hashtag2"]},{"1401850158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401850208, 1401850162, 1401850168, 1401850201, 1401850191, 1401850158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51166224479675 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:14:23.539039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_45_9837.jpg', '/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_54_9786.jpg', '/home/pi/Desktop/images/31122025/06/51/image_31122025_06_52_04_9616.jpg', '/home/pi/Desktop/images/31122025/06/52/image_31122025_06_52_15_10694.jpg', '/home/pi/Desktop/images/31122025/06/52/image_31122025_06_52_24_9757.jpg', '/home/pi/Desktop/images/31122025/06/52/image_31122025_06_52_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_45_9837.jpg
/home/pi/Desktop/images/31122025/06/51/image_31122025_06_51_54_9786.jpg
/home/pi/Desktop/images/31122025/06/51/image_31122025_06_52_04_9616.jpg
/home/pi/Desktop/images/31122025/06/52/image_31122025_06_52_15_10694.jpg
/home/pi/Desktop/images/31122025/06/52/image_31122025_06_52_24_9757.jpg
/home/pi/Desktop/images/31122025/06/52/image_31122025_06_52_34_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850286","1401850271","1401850268","1401850258","1401850266","1401850263"],"photo_ids_order":["1401850258","1401850263","1401850266","1401850268","1401850271","1401850286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce026db2ffaa1c76f6156bfcac06e6d4.jpg","text":"TemporaryFile(/tmp/multipartBody1406718652647729430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165324367,"filename":"image_31122025_06_52_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ace37626e53645beaf408fdccf679ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7057169083696988332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165324367,"filename":"image_31122025_06_52_24_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c08a0c65d536fda481898a3c098de7bf.jpg","text":"TemporaryFile(/tmp/multipartBody6932575909293953072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165324367,"filename":"image_31122025_06_52_15_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/148540ea89c492da2201bbe39ab617ea.jpg","text":"TemporaryFile(/tmp/multipartBody7832519988082836729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165324367,"filename":"image_31122025_06_51_45_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b28d99e0a780d8f0fcda214ad966637.jpg","text":"TemporaryFile(/tmp/multipartBody9208608796951964202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165324367,"filename":"image_31122025_06_52_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d619b43dc6245af0ef00d5ddf071c88a.jpg","text":"TemporaryFile(/tmp/multipartBody4992060303547945171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165324367,"filename":"image_31122025_06_51_54_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850266","file1":"1401850263","file0":"1401850258","file4":"1401850271","file5":"1401850286","file3":"1401850268"},"map_files_photo_id_array":[{"photo_id":"1401850286","filename":"file5"},{"photo_id":"1401850266","filename":"file2"},{"photo_id":"1401850271","filename":"file4"},{"photo_id":"1401850263","filename":"file1"},{"photo_id":"1401850258","filename":"file0"},{"photo_id":"1401850268","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401850286":["hashtag1","hashtag2"]},{"1401850271":["hashtag1","hashtag2"]},{"1401850268":["hashtag1","hashtag2"]},{"1401850258":["hashtag1","hashtag2"]},{"1401850266":["hashtag1","hashtag2"]},{"1401850263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401850286, 1401850271, 1401850268, 1401850258, 1401850266, 1401850263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07143187522888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:15:12.694413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_31_3662.jpg', '/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_21_2687.jpg', '/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_27_3686.jpg', '/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_34_3645.jpg', '/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_51_2696.jpg', '/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_57_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/41/image_02112025_23_41_31_3662.jpg
/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_21_2687.jpg
/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_27_3686.jpg
/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_34_3645.jpg
/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_51_2696.jpg
/home/pi/Desktop/images/02112025/23/42/image_02112025_23_42_57_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850294","1401850336","1401850306","1401850344","1401850305","1401850298"],"photo_ids_order":["1401850294","1401850298","1401850305","1401850306","1401850336","1401850344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/372d0bfb9fe997a5791da9e9160473ac.jpg","text":"TemporaryFile(/tmp/multipartBody1666392355659022825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165374471,"filename":"image_02112025_23_41_31_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9f5957a59b6433cabefed53c9196613.jpg","text":"TemporaryFile(/tmp/multipartBody7821062889034557048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165374471,"filename":"image_02112025_23_42_51_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0692b6b4feb441b3697dfb46d4e210b2.jpg","text":"TemporaryFile(/tmp/multipartBody7738355229949842448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165374471,"filename":"image_02112025_23_42_34_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d38b0497019bafbe12bf84d9d4b44546.jpg","text":"TemporaryFile(/tmp/multipartBody5458639450505401753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165374471,"filename":"image_02112025_23_42_57_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca6c926ef2a4a1fb72a414e152bfa29d.jpg","text":"TemporaryFile(/tmp/multipartBody1217686827605463838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165374471,"filename":"image_02112025_23_42_27_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b65e8fbf32896d9247fcb5c24a004d25.jpg","text":"TemporaryFile(/tmp/multipartBody3421354525719127622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165374471,"filename":"image_02112025_23_42_21_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850305","file1":"1401850298","file0":"1401850294","file4":"1401850336","file5":"1401850344","file3":"1401850306"},"map_files_photo_id_array":[{"photo_id":"1401850344","filename":"file5"},{"photo_id":"1401850305","filename":"file2"},{"photo_id":"1401850336","filename":"file4"},{"photo_id":"1401850298","filename":"file1"},{"photo_id":"1401850294","filename":"file0"},{"photo_id":"1401850306","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401850294":["hashtag1","hashtag2"]},{"1401850336":["hashtag1","hashtag2"]},{"1401850306":["hashtag1","hashtag2"]},{"1401850344":["hashtag1","hashtag2"]},{"1401850305":["hashtag1","hashtag2"]},{"1401850298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401850294, 1401850336, 1401850306, 1401850344, 1401850305, 1401850298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2627317905426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:16:02.358550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/52/image_31122025_06_52_45_10738.jpg', '/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_15_10663.jpg', '/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_24_9583.jpg', '/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_34_9649.jpg', '/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_45_10692.jpg', '/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_54_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/52/image_31122025_06_52_45_10738.jpg
/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_15_10663.jpg
/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_24_9583.jpg
/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_34_9649.jpg
/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_45_10692.jpg
/home/pi/Desktop/images/31122025/06/53/image_31122025_06_53_54_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850367","1401850393","1401850383","1401850377","1401850380","1401850374"],"photo_ids_order":["1401850367","1401850374","1401850377","1401850380","1401850383","1401850393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50b8ddfd4a673b60ab8c02639e9d4d9a.jpg","text":"TemporaryFile(/tmp/multipartBody6317179600015018929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165422964,"filename":"image_31122025_06_52_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/553840b9aafb054d64fea5565358ac12.jpg","text":"TemporaryFile(/tmp/multipartBody2242960821106207271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165422964,"filename":"image_31122025_06_53_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f98c169d4431febd41af46c31a318289.jpg","text":"TemporaryFile(/tmp/multipartBody7545756592534448410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165422964,"filename":"image_31122025_06_53_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0dd1cecc63676039e1f6b1ff472ba1f8.jpg","text":"TemporaryFile(/tmp/multipartBody2205001490486784149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165422964,"filename":"image_31122025_06_53_24_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba0d63685ae743f4bf9f77156e233844.jpg","text":"TemporaryFile(/tmp/multipartBody736460014657237573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165422964,"filename":"image_31122025_06_53_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d88330880a3346e2b6b8bf28686ff950.jpg","text":"TemporaryFile(/tmp/multipartBody7560470834415674502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165422964,"filename":"image_31122025_06_53_15_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850377","file1":"1401850374","file0":"1401850367","file4":"1401850383","file5":"1401850393","file3":"1401850380"},"map_files_photo_id_array":[{"photo_id":"1401850393","filename":"file5"},{"photo_id":"1401850377","filename":"file2"},{"photo_id":"1401850383","filename":"file4"},{"photo_id":"1401850374","filename":"file1"},{"photo_id":"1401850367","filename":"file0"},{"photo_id":"1401850380","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401850367":["hashtag1","hashtag2"]},{"1401850393":["hashtag1","hashtag2"]},{"1401850383":["hashtag1","hashtag2"]},{"1401850377":["hashtag1","hashtag2"]},{"1401850380":["hashtag1","hashtag2"]},{"1401850374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401850367, 1401850393, 1401850383, 1401850377, 1401850380, 1401850374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19751214981079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:16:41.937377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_03_2886.jpg', '/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_06_3693.jpg', '/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_12_2634.jpg', '/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_18_3675.jpg', '/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_54_2784.jpg', '/home/pi/Desktop/images/02112025/23/44/image_02112025_23_44_12_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_03_2886.jpg
/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_06_3693.jpg
/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_12_2634.jpg
/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_18_3675.jpg
/home/pi/Desktop/images/02112025/23/43/image_02112025_23_43_54_2784.jpg
/home/pi/Desktop/images/02112025/23/44/image_02112025_23_44_12_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850583","1401850597","1401850572","1401850548","1401850641","1401850592"],"photo_ids_order":["1401850548","1401850572","1401850583","1401850592","1401850597","1401850641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55ca6fb31db9c45a71c678e6832576a3.jpg","text":"TemporaryFile(/tmp/multipartBody4191543887382872796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165463861,"filename":"image_02112025_23_43_12_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4e6b1e7a6e69cdf7089bc576200726d.jpg","text":"TemporaryFile(/tmp/multipartBody6024759165402025347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165463861,"filename":"image_02112025_23_43_54_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/711dc59d0d02ee757324c678e36c6645.jpg","text":"TemporaryFile(/tmp/multipartBody3124434045328233229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165463861,"filename":"image_02112025_23_43_06_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/812a0f804ff92809d4f4dbb7dd8c3049.jpg","text":"TemporaryFile(/tmp/multipartBody5648615799010486061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165463861,"filename":"image_02112025_23_43_03_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10ebb9fc462b4adf344fbcef21d75978.jpg","text":"TemporaryFile(/tmp/multipartBody3671672563845294011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165463861,"filename":"image_02112025_23_44_12_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acb5f254e360884e22b54305f560d9d8.jpg","text":"TemporaryFile(/tmp/multipartBody8651905479804234066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165463861,"filename":"image_02112025_23_43_18_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850583","file1":"1401850572","file0":"1401850548","file4":"1401850597","file5":"1401850641","file3":"1401850592"},"map_files_photo_id_array":[{"photo_id":"1401850641","filename":"file5"},{"photo_id":"1401850583","filename":"file2"},{"photo_id":"1401850597","filename":"file4"},{"photo_id":"1401850572","filename":"file1"},{"photo_id":"1401850548","filename":"file0"},{"photo_id":"1401850592","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401850583":["hashtag1","hashtag2"]},{"1401850597":["hashtag1","hashtag2"]},{"1401850572":["hashtag1","hashtag2"]},{"1401850548":["hashtag1","hashtag2"]},{"1401850641":["hashtag1","hashtag2"]},{"1401850592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401850583, 1401850597, 1401850572, 1401850548, 1401850641, 1401850592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39822459220886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:17:22.130360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_14_10622.jpg', '/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_24_9729.jpg', '/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_34_9695.jpg', '/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_44_10643.jpg', '/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_54_9652.jpg', '/home/pi/Desktop/images/31122025/06/54/image_31122025_06_55_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_14_10622.jpg
/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_24_9729.jpg
/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_34_9695.jpg
/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_44_10643.jpg
/home/pi/Desktop/images/31122025/06/54/image_31122025_06_54_54_9652.jpg
/home/pi/Desktop/images/31122025/06/54/image_31122025_06_55_04_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850676","1401850712","1401850709","1401850708","1401850671","1401850659"],"photo_ids_order":["1401850659","1401850671","1401850676","1401850708","1401850709","1401850712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4f683784680829d9dffe15b5b0a4fe8.jpg","text":"TemporaryFile(/tmp/multipartBody6680223993293189242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165502729,"filename":"image_31122025_06_54_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e630314f3907753a1f052465af9d339.jpg","text":"TemporaryFile(/tmp/multipartBody1679123674296782308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165502729,"filename":"image_31122025_06_55_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef582b2203e77d97a6704b821e8bce26.jpg","text":"TemporaryFile(/tmp/multipartBody6327585123805474896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165502729,"filename":"image_31122025_06_54_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfd72b0b410796135668be0fe39681d9.jpg","text":"TemporaryFile(/tmp/multipartBody6522204081722372290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165502729,"filename":"image_31122025_06_54_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f57cd8dd726e6dd07fb98947ae312f2.jpg","text":"TemporaryFile(/tmp/multipartBody2643732104931345611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165502729,"filename":"image_31122025_06_54_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67ba9507cabf5a07996282ff42f2cde7.jpg","text":"TemporaryFile(/tmp/multipartBody2773580371372480575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165502729,"filename":"image_31122025_06_54_14_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850676","file1":"1401850671","file0":"1401850659","file4":"1401850709","file5":"1401850712","file3":"1401850708"},"map_files_photo_id_array":[{"photo_id":"1401850712","filename":"file5"},{"photo_id":"1401850676","filename":"file2"},{"photo_id":"1401850709","filename":"file4"},{"photo_id":"1401850671","filename":"file1"},{"photo_id":"1401850659","filename":"file0"},{"photo_id":"1401850708","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401850676":["hashtag1","hashtag2"]},{"1401850712":["hashtag1","hashtag2"]},{"1401850709":["hashtag1","hashtag2"]},{"1401850708":["hashtag1","hashtag2"]},{"1401850671":["hashtag1","hashtag2"]},{"1401850659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401850676, 1401850712, 1401850709, 1401850708, 1401850671, 1401850659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.583231687545776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:18:02.668356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_15_10828.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_24_9705.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_34_9789.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_45_10590.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_54_9807.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_56_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_15_10828.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_24_9705.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_34_9789.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_45_10590.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_54_9807.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_56_04_9609.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5536148548126221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:18:12.139135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_39_2674.jpg', '/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_42_3662.jpg', '/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_45_2690.jpg', '/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_48_2544.jpg', '/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_51_3674.jpg', '/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_57_6036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_39_2674.jpg
/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_42_3662.jpg
/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_45_2690.jpg
/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_48_2544.jpg
/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_51_3674.jpg
/home/pi/Desktop/images/02112025/23/45/image_02112025_23_45_57_6036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850826","1401850843","1401850831","1401850840","1401850822","1401850851"],"photo_ids_order":["1401850822","1401850826","1401850831","1401850840","1401850843","1401850851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4c06a5d494257305e4af5a8572f9202.jpg","text":"TemporaryFile(/tmp/multipartBody1772262117451444275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165553921,"filename":"image_02112025_23_45_42_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3bc92974bc37d0c7109c61b9e74651d.jpg","text":"TemporaryFile(/tmp/multipartBody1144737241215534360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165553921,"filename":"image_02112025_23_45_51_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d15dc95b86ee4dbb1266f185298e22e3.jpg","text":"TemporaryFile(/tmp/multipartBody7534003905934815483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165553921,"filename":"image_02112025_23_45_45_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a7ce7ed68079b3f28a997b4a6422298.jpg","text":"TemporaryFile(/tmp/multipartBody6138930321600747253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165553921,"filename":"image_02112025_23_45_48_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6425f20a5246d7dd9401d44ce4d204e3.jpg","text":"TemporaryFile(/tmp/multipartBody2866826187234776023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165553921,"filename":"image_02112025_23_45_39_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/081f616a4bb9cdb9330c43aa2bd33696.jpg","text":"TemporaryFile(/tmp/multipartBody820259843521155415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165553921,"filename":"image_02112025_23_45_57_6036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850831","file1":"1401850826","file0":"1401850822","file4":"1401850843","file5":"1401850851","file3":"1401850840"},"map_files_photo_id_array":[{"photo_id":"1401850851","filename":"file5"},{"photo_id":"1401850831","filename":"file2"},{"photo_id":"1401850843","filename":"file4"},{"photo_id":"1401850826","filename":"file1"},{"photo_id":"1401850822","filename":"file0"},{"photo_id":"1401850840","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401850826":["hashtag1","hashtag2"]},{"1401850843":["hashtag1","hashtag2"]},{"1401850831":["hashtag1","hashtag2"]},{"1401850840":["hashtag1","hashtag2"]},{"1401850822":["hashtag1","hashtag2"]},{"1401850851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401850826, 1401850843, 1401850831, 1401850840, 1401850822, 1401850851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1000120639801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:19:03.374539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_15_10828.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_24_9705.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_34_9789.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_45_10590.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_54_9807.jpg', '/home/pi/Desktop/images/31122025/06/55/image_31122025_06_56_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_15_10828.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_24_9705.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_34_9789.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_45_10590.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_55_54_9807.jpg
/home/pi/Desktop/images/31122025/06/55/image_31122025_06_56_04_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401850894","1401850891","1401850887","1401850959","1401850917","1401851001"],"photo_ids_order":["1401850887","1401850891","1401850894","1401850917","1401850959","1401851001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/734b8407408a2312b7e446016b3c27ce.jpg","text":"TemporaryFile(/tmp/multipartBody7750123991635317963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165604089,"filename":"image_31122025_06_55_34_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbd389b2091ee8d49b51209e15c14251.jpg","text":"TemporaryFile(/tmp/multipartBody1746427752890361955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165604089,"filename":"image_31122025_06_55_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87113b4277e72ec5ad5df3b0719a5da2.jpg","text":"TemporaryFile(/tmp/multipartBody1753747103624281365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165604089,"filename":"image_31122025_06_55_15_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5883fd35267c86963c64a67018267759.jpg","text":"TemporaryFile(/tmp/multipartBody7269988714883698035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165604089,"filename":"image_31122025_06_55_54_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3514db52cc102c5bb86e23cc9bec89b1.jpg","text":"TemporaryFile(/tmp/multipartBody6800199492072246858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165604089,"filename":"image_31122025_06_55_45_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f65715e505e9d341fa539fd577a395cf.jpg","text":"TemporaryFile(/tmp/multipartBody7171320533887538965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165604089,"filename":"image_31122025_06_56_04_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401850894","file1":"1401850891","file0":"1401850887","file4":"1401850959","file5":"1401851001","file3":"1401850917"},"map_files_photo_id_array":[{"photo_id":"1401851001","filename":"file5"},{"photo_id":"1401850894","filename":"file2"},{"photo_id":"1401850959","filename":"file4"},{"photo_id":"1401850891","filename":"file1"},{"photo_id":"1401850887","filename":"file0"},{"photo_id":"1401850917","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401850894":["hashtag1","hashtag2"]},{"1401850891":["hashtag1","hashtag2"]},{"1401850887":["hashtag1","hashtag2"]},{"1401850959":["hashtag1","hashtag2"]},{"1401850917":["hashtag1","hashtag2"]},{"1401851001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401850894, 1401850891, 1401850887, 1401850959, 1401850917, 1401851001)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.015095472335815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:20:02.957367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/56/image_31122025_06_56_14_9813.jpg', '/home/pi/Desktop/images/31122025/06/56/image_31122025_06_56_24_10623.jpg', '/home/pi/Desktop/images/31122025/06/56/image_31122025_06_56_44_9630.jpg', '/home/pi/Desktop/images/31122025/06/56/image_31122025_06_56_54_10616.jpg', '/home/pi/Desktop/images/31122025/06/56/image_31122025_06_57_04_9694.jpg', '/home/pi/Desktop/images/31122025/06/57/image_31122025_06_57_15_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/56/image_31122025_06_56_14_9813.jpg
/home/pi/Desktop/images/31122025/06/56/image_31122025_06_56_24_10623.jpg
/home/pi/Desktop/images/31122025/06/56/image_31122025_06_56_44_9630.jpg
/home/pi/Desktop/images/31122025/06/56/image_31122025_06_56_54_10616.jpg
/home/pi/Desktop/images/31122025/06/56/image_31122025_06_57_04_9694.jpg
/home/pi/Desktop/images/31122025/06/57/image_31122025_06_57_15_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851228","1401851248","1401851245","1401851230","1401851232","1401851235"],"photo_ids_order":["1401851228","1401851230","1401851232","1401851235","1401851245","1401851248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99b65f7ff0522e9ef126253364e3ad22.jpg","text":"TemporaryFile(/tmp/multipartBody1685228563371418632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165663583,"filename":"image_31122025_06_56_14_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/292cbaeeae0c64535636cc9e898baa00.jpg","text":"TemporaryFile(/tmp/multipartBody2279435055099692865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165663583,"filename":"image_31122025_06_57_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9060326815e9c01c10c01ce3f3cb975f.jpg","text":"TemporaryFile(/tmp/multipartBody9109961024774454564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165663583,"filename":"image_31122025_06_57_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b174533cd2eeaa855f99eebd2096e814.jpg","text":"TemporaryFile(/tmp/multipartBody2607028825806319355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165663583,"filename":"image_31122025_06_56_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb355d02a021f253bcd2bbd0aa103e96.jpg","text":"TemporaryFile(/tmp/multipartBody2537445758673798407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165663583,"filename":"image_31122025_06_56_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15a6dd5387d193cc00556c96aa22772f.jpg","text":"TemporaryFile(/tmp/multipartBody7298970633203905124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165663583,"filename":"image_31122025_06_56_54_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851232","file1":"1401851230","file0":"1401851228","file4":"1401851245","file5":"1401851248","file3":"1401851235"},"map_files_photo_id_array":[{"photo_id":"1401851248","filename":"file5"},{"photo_id":"1401851232","filename":"file2"},{"photo_id":"1401851245","filename":"file4"},{"photo_id":"1401851230","filename":"file1"},{"photo_id":"1401851228","filename":"file0"},{"photo_id":"1401851235","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401851228":["hashtag1","hashtag2"]},{"1401851248":["hashtag1","hashtag2"]},{"1401851245":["hashtag1","hashtag2"]},{"1401851230":["hashtag1","hashtag2"]},{"1401851232":["hashtag1","hashtag2"]},{"1401851235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401851228, 1401851248, 1401851245, 1401851230, 1401851232, 1401851235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0890417098999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:20:42.438500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_01_1766.jpg', '/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_06_3562.jpg', '/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_12_3701.jpg', '/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_15_2794.jpg', '/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_17_2590.jpg', '/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_24_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_01_1766.jpg
/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_06_3562.jpg
/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_12_3701.jpg
/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_15_2794.jpg
/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_17_2590.jpg
/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_24_2865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851290","1401851293","1401851287","1401851286","1401851288","1401851270"],"photo_ids_order":["1401851270","1401851286","1401851287","1401851288","1401851290","1401851293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c8fd29f542d20e878229a874a9fc884.jpg","text":"TemporaryFile(/tmp/multipartBody803592343059012639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165705834,"filename":"image_02112025_23_46_17_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc2318e794265adc9972444529b4244f.jpg","text":"TemporaryFile(/tmp/multipartBody3370864736777967884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165705834,"filename":"image_02112025_23_46_24_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/648166d6bba6da2561736deeccffa026.jpg","text":"TemporaryFile(/tmp/multipartBody2630290425214370637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165705834,"filename":"image_02112025_23_46_12_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e266bd3553399fef247801b371024f0.jpg","text":"TemporaryFile(/tmp/multipartBody4002253372588899082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165705834,"filename":"image_02112025_23_46_06_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e3bd7e5c87f727b485df657cd42dd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5009029618485523056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165705834,"filename":"image_02112025_23_46_15_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3586a6f97a406007d635e192c6c61efd.jpg","text":"TemporaryFile(/tmp/multipartBody8434094664185680264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165705834,"filename":"image_02112025_23_46_01_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851287","file1":"1401851286","file0":"1401851270","file4":"1401851290","file5":"1401851293","file3":"1401851288"},"map_files_photo_id_array":[{"photo_id":"1401851293","filename":"file5"},{"photo_id":"1401851287","filename":"file2"},{"photo_id":"1401851290","filename":"file4"},{"photo_id":"1401851286","filename":"file1"},{"photo_id":"1401851270","filename":"file0"},{"photo_id":"1401851288","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401851290":["hashtag1","hashtag2"]},{"1401851293":["hashtag1","hashtag2"]},{"1401851287":["hashtag1","hashtag2"]},{"1401851286":["hashtag1","hashtag2"]},{"1401851288":["hashtag1","hashtag2"]},{"1401851270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401851290, 1401851293, 1401851287, 1401851286, 1401851288, 1401851270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42122197151184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:21:32.676501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_35_2264.jpg', '/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_44_2709.jpg', '/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_06_3552.jpg', '/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_09_2888.jpg', '/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_20_2723.jpg', '/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_30_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_35_2264.jpg
/home/pi/Desktop/images/02112025/23/46/image_02112025_23_46_44_2709.jpg
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_06_3552.jpg
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_09_2888.jpg
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_20_2723.jpg
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_30_1656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851306","1401851314","1401851311","1401851308","1401851316","1401851319"],"photo_ids_order":["1401851306","1401851308","1401851311","1401851314","1401851316","1401851319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25fed5a0c50c12ef848b171cd1572cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1339645025320550899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165754664,"filename":"image_02112025_23_46_35_2264.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81e376ec01b8ce3a29bcca18f54f5fa6.jpg","text":"TemporaryFile(/tmp/multipartBody1118145725377046349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165754664,"filename":"image_02112025_23_47_09_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6eebd20b1ed1877e069e9719845e2140.jpg","text":"TemporaryFile(/tmp/multipartBody808524750407176683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165754664,"filename":"image_02112025_23_47_06_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd4dc4da2c5712ad7db505aa4bf65451.jpg","text":"TemporaryFile(/tmp/multipartBody8405080811744215631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165754664,"filename":"image_02112025_23_46_44_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab67cfd66dc26ebd6f08eb9b768a37c3.jpg","text":"TemporaryFile(/tmp/multipartBody8108155823353113154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165754664,"filename":"image_02112025_23_47_20_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff1a01b569ef518719baa7cb08659c92.jpg","text":"TemporaryFile(/tmp/multipartBody486099611771112458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165754664,"filename":"image_02112025_23_47_30_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851311","file1":"1401851308","file0":"1401851306","file4":"1401851316","file5":"1401851319","file3":"1401851314"},"map_files_photo_id_array":[{"photo_id":"1401851319","filename":"file5"},{"photo_id":"1401851311","filename":"file2"},{"photo_id":"1401851316","filename":"file4"},{"photo_id":"1401851308","filename":"file1"},{"photo_id":"1401851306","filename":"file0"},{"photo_id":"1401851314","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401851306":["hashtag1","hashtag2"]},{"1401851314":["hashtag1","hashtag2"]},{"1401851311":["hashtag1","hashtag2"]},{"1401851308":["hashtag1","hashtag2"]},{"1401851316":["hashtag1","hashtag2"]},{"1401851319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401851306, 1401851314, 1401851311, 1401851308, 1401851316, 1401851319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.292438983917236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:22:11.816206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_46_1559.jpg', '/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_48_1740.jpg', '/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_53_2831.jpg', '/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_57_3653.jpg', '/home/pi/Desktop/images/02112025/23/47/image_02112025_23_48_00_2689.jpg', '/home/pi/Desktop/images/02112025/23/48/image_02112025_23_48_36_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_46_1559.jpg
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_48_1740.jpg
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_53_2831.jpg
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_47_57_3653.jpg
/home/pi/Desktop/images/02112025/23/47/image_02112025_23_48_00_2689.jpg
/home/pi/Desktop/images/02112025/23/48/image_02112025_23_48_36_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851332","1401851341","1401851326","1401851328","1401851351","1401851324"],"photo_ids_order":["1401851324","1401851326","1401851328","1401851332","1401851341","1401851351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51314cf4120cedc08f24921dd7f84bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2964643768521337855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165793665,"filename":"image_02112025_23_47_57_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df93fbfa60bcaf6c79406635c8206dbf.jpg","text":"TemporaryFile(/tmp/multipartBody6327910894335863825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165793665,"filename":"image_02112025_23_48_00_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc0c2f460e689f7bd8a946e3a189c770.jpg","text":"TemporaryFile(/tmp/multipartBody6600843979793479082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165793665,"filename":"image_02112025_23_47_48_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e63cf884b8646cc3a14357738c1e759d.jpg","text":"TemporaryFile(/tmp/multipartBody3639598396807502431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165793665,"filename":"image_02112025_23_47_53_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cf398dbf5ced8ae22a30d72825b79ba.jpg","text":"TemporaryFile(/tmp/multipartBody4711043480460944501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165793665,"filename":"image_02112025_23_48_36_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf41a81ba5997dfdc1624be07c4b5457.jpg","text":"TemporaryFile(/tmp/multipartBody9113898977586293099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165793665,"filename":"image_02112025_23_47_46_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851328","file1":"1401851326","file0":"1401851324","file4":"1401851341","file5":"1401851351","file3":"1401851332"},"map_files_photo_id_array":[{"photo_id":"1401851351","filename":"file5"},{"photo_id":"1401851328","filename":"file2"},{"photo_id":"1401851341","filename":"file4"},{"photo_id":"1401851326","filename":"file1"},{"photo_id":"1401851324","filename":"file0"},{"photo_id":"1401851332","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401851332":["hashtag1","hashtag2"]},{"1401851341":["hashtag1","hashtag2"]},{"1401851326":["hashtag1","hashtag2"]},{"1401851328":["hashtag1","hashtag2"]},{"1401851351":["hashtag1","hashtag2"]},{"1401851324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401851332, 1401851341, 1401851326, 1401851328, 1401851351, 1401851324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27811908721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:23:03.086078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/57/image_31122025_06_57_25_9867.jpg', '/home/pi/Desktop/images/31122025/06/57/image_31122025_06_57_34_9592.jpg', '/home/pi/Desktop/images/31122025/06/57/image_31122025_06_57_44_9679.jpg', '/home/pi/Desktop/images/31122025/06/57/image_31122025_06_58_04_9634.jpg', '/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_14_9718.jpg', '/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_25_10834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/57/image_31122025_06_57_25_9867.jpg
/home/pi/Desktop/images/31122025/06/57/image_31122025_06_57_34_9592.jpg
/home/pi/Desktop/images/31122025/06/57/image_31122025_06_57_44_9679.jpg
/home/pi/Desktop/images/31122025/06/57/image_31122025_06_58_04_9634.jpg
/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_14_9718.jpg
/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_25_10834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851359","1401851361","1401851372","1401851366","1401851369","1401851363"],"photo_ids_order":["1401851359","1401851361","1401851363","1401851366","1401851369","1401851372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8431b913f5eaec5b63bac3933bfed35.jpg","text":"TemporaryFile(/tmp/multipartBody2389288230244678616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165843722,"filename":"image_31122025_06_57_25_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7cbd7ed2804141b7d24d270976395b4.jpg","text":"TemporaryFile(/tmp/multipartBody6051171252624727361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165843722,"filename":"image_31122025_06_57_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/550cfa60e37e569170a2a5e08b145df7.jpg","text":"TemporaryFile(/tmp/multipartBody7560816381501281012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165843722,"filename":"image_31122025_06_58_25_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8bec2ec6674e6ec6255eecbadba11b9.jpg","text":"TemporaryFile(/tmp/multipartBody4812348703829013871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165843722,"filename":"image_31122025_06_58_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9647f8ce39bf28c9067c2b3edc1e2955.jpg","text":"TemporaryFile(/tmp/multipartBody7185661157067500643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165843722,"filename":"image_31122025_06_58_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cc2863e03b962c949dcffa834051ad3.jpg","text":"TemporaryFile(/tmp/multipartBody6633883734482203183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165843722,"filename":"image_31122025_06_57_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851363","file1":"1401851361","file0":"1401851359","file4":"1401851369","file5":"1401851372","file3":"1401851366"},"map_files_photo_id_array":[{"photo_id":"1401851372","filename":"file5"},{"photo_id":"1401851363","filename":"file2"},{"photo_id":"1401851369","filename":"file4"},{"photo_id":"1401851361","filename":"file1"},{"photo_id":"1401851359","filename":"file0"},{"photo_id":"1401851366","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401851359":["hashtag1","hashtag2"]},{"1401851361":["hashtag1","hashtag2"]},{"1401851372":["hashtag1","hashtag2"]},{"1401851366":["hashtag1","hashtag2"]},{"1401851369":["hashtag1","hashtag2"]},{"1401851363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401851359, 1401851361, 1401851372, 1401851366, 1401851369, 1401851363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58638954162598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:23:42.539146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/48/image_02112025_23_48_44_3346.jpg', '/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_02_2657.jpg', '/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_06_3642.jpg', '/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_32_2667.jpg', '/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_35_2661.jpg', '/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_48_3725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/48/image_02112025_23_48_44_3346.jpg
/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_02_2657.jpg
/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_06_3642.jpg
/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_32_2667.jpg
/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_35_2661.jpg
/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_48_3725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851422","1401851416","1401851419","1401851385","1401851412","1401851381"],"photo_ids_order":["1401851381","1401851385","1401851412","1401851416","1401851419","1401851422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7a992e17f37ff7b009e6710b6580672.jpg","text":"TemporaryFile(/tmp/multipartBody5413343020649578686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165884461,"filename":"image_02112025_23_49_48_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5145ebf663d0677b7fde165a411be6d.jpg","text":"TemporaryFile(/tmp/multipartBody3757113282435141972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165884461,"filename":"image_02112025_23_49_32_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2726fc54d57eb9252b9a86bb020afd2.jpg","text":"TemporaryFile(/tmp/multipartBody5882619032508232081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165884461,"filename":"image_02112025_23_49_35_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29b466275d797a10583ce7311c09362d.jpg","text":"TemporaryFile(/tmp/multipartBody8637722573139061221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165884461,"filename":"image_02112025_23_49_02_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c5c5cc098e450ce28c02f2fc71d3f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1369016447016384748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165884461,"filename":"image_02112025_23_49_06_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81d92ff097537000ecc8e5aa6fbbbcc5.jpg","text":"TemporaryFile(/tmp/multipartBody8774916924969862892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165884461,"filename":"image_02112025_23_48_44_3346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851412","file1":"1401851385","file0":"1401851381","file4":"1401851419","file5":"1401851422","file3":"1401851416"},"map_files_photo_id_array":[{"photo_id":"1401851422","filename":"file5"},{"photo_id":"1401851412","filename":"file2"},{"photo_id":"1401851419","filename":"file4"},{"photo_id":"1401851385","filename":"file1"},{"photo_id":"1401851381","filename":"file0"},{"photo_id":"1401851416","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401851422":["hashtag1","hashtag2"]},{"1401851416":["hashtag1","hashtag2"]},{"1401851419":["hashtag1","hashtag2"]},{"1401851385":["hashtag1","hashtag2"]},{"1401851412":["hashtag1","hashtag2"]},{"1401851381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401851422, 1401851416, 1401851419, 1401851385, 1401851412, 1401851381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45731019973755 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:24:32.744024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_51_2827.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_05_2743.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_12_3790.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_14_2685.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_17_2628.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_21_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/49/image_02112025_23_49_51_2827.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_05_2743.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_12_3790.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_14_2685.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_17_2628.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_21_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851466","1401851439","1401851447","1401851462","1401851441","1401851444"],"photo_ids_order":["1401851439","1401851441","1401851444","1401851447","1401851462","1401851466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d712e51a22e29ebcde713e35d7f7ff21.jpg","text":"TemporaryFile(/tmp/multipartBody6734706986783857596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165934661,"filename":"image_02112025_23_50_21_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5666411cf23ee4683453d0c25484a24.jpg","text":"TemporaryFile(/tmp/multipartBody280890301134191880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165934661,"filename":"image_02112025_23_49_51_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/334383d14ba73113782f376aff7475b5.jpg","text":"TemporaryFile(/tmp/multipartBody9178716834714834233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165934661,"filename":"image_02112025_23_50_14_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f777e56fac091ce2c4b709035064974.jpg","text":"TemporaryFile(/tmp/multipartBody1847533020721455276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165934661,"filename":"image_02112025_23_50_17_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcad66c72e19b23792e19a2c5c37eef2.jpg","text":"TemporaryFile(/tmp/multipartBody824329611486970530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165934661,"filename":"image_02112025_23_50_05_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e9c811f423d101646d46f519ed5ba87.jpg","text":"TemporaryFile(/tmp/multipartBody5335980138778196368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165934661,"filename":"image_02112025_23_50_12_3790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851444","file1":"1401851441","file0":"1401851439","file4":"1401851462","file5":"1401851466","file3":"1401851447"},"map_files_photo_id_array":[{"photo_id":"1401851466","filename":"file5"},{"photo_id":"1401851444","filename":"file2"},{"photo_id":"1401851462","filename":"file4"},{"photo_id":"1401851441","filename":"file1"},{"photo_id":"1401851439","filename":"file0"},{"photo_id":"1401851447","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401851466":["hashtag1","hashtag2"]},{"1401851439":["hashtag1","hashtag2"]},{"1401851447":["hashtag1","hashtag2"]},{"1401851462":["hashtag1","hashtag2"]},{"1401851441":["hashtag1","hashtag2"]},{"1401851444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401851466, 1401851439, 1401851447, 1401851462, 1401851441, 1401851444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63427019119263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:25:21.832595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_34_9294.jpg', '/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_45_10725.jpg', '/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_54_9702.jpg', '/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_14_9853.jpg', '/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_25_10777.jpg', '/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_34_9527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_34_9294.jpg
/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_45_10725.jpg
/home/pi/Desktop/images/31122025/06/58/image_31122025_06_58_54_9702.jpg
/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_14_9853.jpg
/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_25_10777.jpg
/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_34_9527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851530","1401851541","1401851546","1401851549","1401851534","1401851537"],"photo_ids_order":["1401851530","1401851534","1401851537","1401851541","1401851546","1401851549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8396f491227c056fe915d4f2fb1a672d.jpg","text":"TemporaryFile(/tmp/multipartBody7676036525197068355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165982394,"filename":"image_31122025_06_58_34_9294.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2cfed01177c6eca2a7c80d1d2b4c40c.jpg","text":"TemporaryFile(/tmp/multipartBody8065512175982369010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165982394,"filename":"image_31122025_06_59_14_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca59d66c6691b5692148e7ff7c1dbe8e.jpg","text":"TemporaryFile(/tmp/multipartBody1205458060710098803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165982394,"filename":"image_31122025_06_59_25_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47f3e6588445f15c3e8eaf191c823c4a.jpg","text":"TemporaryFile(/tmp/multipartBody272203307704404186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165982394,"filename":"image_31122025_06_59_34_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a248e8897ddb001cbaf5b1a685f8a3c.jpg","text":"TemporaryFile(/tmp/multipartBody6968328786752139063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165982394,"filename":"image_31122025_06_58_45_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ef1b52853b99a75dad095837f3015c1.jpg","text":"TemporaryFile(/tmp/multipartBody2361304814985230834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767165982394,"filename":"image_31122025_06_58_54_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851537","file1":"1401851534","file0":"1401851530","file4":"1401851546","file5":"1401851549","file3":"1401851541"},"map_files_photo_id_array":[{"photo_id":"1401851549","filename":"file5"},{"photo_id":"1401851537","filename":"file2"},{"photo_id":"1401851546","filename":"file4"},{"photo_id":"1401851534","filename":"file1"},{"photo_id":"1401851530","filename":"file0"},{"photo_id":"1401851541","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401851530":["hashtag1","hashtag2"]},{"1401851541":["hashtag1","hashtag2"]},{"1401851546":["hashtag1","hashtag2"]},{"1401851549":["hashtag1","hashtag2"]},{"1401851534":["hashtag1","hashtag2"]},{"1401851537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401851530, 1401851541, 1401851546, 1401851549, 1401851534, 1401851537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57669019699097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:26:02.534314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_44_9832.jpg', '/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_54_9820.jpg', '/home/pi/Desktop/images/31122025/06/59/image_31122025_07_00_04_10660.jpg', '/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_14_9601.jpg', '/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_24_9649.jpg', '/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_34_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_44_9832.jpg
/home/pi/Desktop/images/31122025/06/59/image_31122025_06_59_54_9820.jpg
/home/pi/Desktop/images/31122025/06/59/image_31122025_07_00_04_10660.jpg
/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_14_9601.jpg
/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_24_9649.jpg
/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_34_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851554","1401851556","1401851565","1401851552","1401851561","1401851558"],"photo_ids_order":["1401851552","1401851554","1401851556","1401851558","1401851561","1401851565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff68a87adb3d62c2769fbf92062fa237.jpg","text":"TemporaryFile(/tmp/multipartBody725114355385400144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166023161,"filename":"image_31122025_06_59_54_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0d2aaab4a998b29d231794fe030bcf3.jpg","text":"TemporaryFile(/tmp/multipartBody6231923299505779169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166023161,"filename":"image_31122025_07_00_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f7c290fc5e9217e6fbc5016cc0be59a.jpg","text":"TemporaryFile(/tmp/multipartBody7870447821213977768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166023161,"filename":"image_31122025_07_00_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/906c61258d63550a56df44aaef321a52.jpg","text":"TemporaryFile(/tmp/multipartBody7290847932730462856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166023161,"filename":"image_31122025_06_59_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8030bd1204aca99ffa398a2c571fb0a.jpg","text":"TemporaryFile(/tmp/multipartBody6822745621100322631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166023161,"filename":"image_31122025_07_00_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1e74f14fd4475d8b00b750ad3e5e90d.jpg","text":"TemporaryFile(/tmp/multipartBody4273251993242355954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166023161,"filename":"image_31122025_07_00_14_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851556","file1":"1401851554","file0":"1401851552","file4":"1401851561","file5":"1401851565","file3":"1401851558"},"map_files_photo_id_array":[{"photo_id":"1401851565","filename":"file5"},{"photo_id":"1401851556","filename":"file2"},{"photo_id":"1401851561","filename":"file4"},{"photo_id":"1401851554","filename":"file1"},{"photo_id":"1401851552","filename":"file0"},{"photo_id":"1401851558","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401851554":["hashtag1","hashtag2"]},{"1401851556":["hashtag1","hashtag2"]},{"1401851565":["hashtag1","hashtag2"]},{"1401851552":["hashtag1","hashtag2"]},{"1401851561":["hashtag1","hashtag2"]},{"1401851558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401851554, 1401851556, 1401851565, 1401851552, 1401851561, 1401851558)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.165751218795776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:27:03.126562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_44_9705.jpg', '/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_54_9606.jpg', '/home/pi/Desktop/images/31122025/07/00/image_31122025_07_01_04_10617.jpg', '/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_14_9775.jpg', '/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_24_9775.jpg', '/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_35_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_44_9705.jpg
/home/pi/Desktop/images/31122025/07/00/image_31122025_07_00_54_9606.jpg
/home/pi/Desktop/images/31122025/07/00/image_31122025_07_01_04_10617.jpg
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_14_9775.jpg
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_24_9775.jpg
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_35_10746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851612","1401851620","1401851605","1401851616","1401851607","1401851609"],"photo_ids_order":["1401851605","1401851607","1401851609","1401851612","1401851616","1401851620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76290174b2f7efbb61de736f21fff1c9.jpg","text":"TemporaryFile(/tmp/multipartBody6430676984828113938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166083752,"filename":"image_31122025_07_01_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5868cd4bee8814b399d079f7c30633de.jpg","text":"TemporaryFile(/tmp/multipartBody2644503725363420525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166083752,"filename":"image_31122025_07_01_35_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32d732963ddba0133d923ba661cc144a.jpg","text":"TemporaryFile(/tmp/multipartBody1617017999786229711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166083752,"filename":"image_31122025_07_00_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/879d8b92247ab180736e433224eb3673.jpg","text":"TemporaryFile(/tmp/multipartBody4886397045522145813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166083752,"filename":"image_31122025_07_01_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c65e7a02571aa0e0b7e498de2796f4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4752568220826412314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166083752,"filename":"image_31122025_07_00_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/789629769eafd8ab00349460c62af4c4.jpg","text":"TemporaryFile(/tmp/multipartBody2629295380937140495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166083752,"filename":"image_31122025_07_01_04_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851609","file1":"1401851607","file0":"1401851605","file4":"1401851616","file5":"1401851620","file3":"1401851612"},"map_files_photo_id_array":[{"photo_id":"1401851620","filename":"file5"},{"photo_id":"1401851609","filename":"file2"},{"photo_id":"1401851616","filename":"file4"},{"photo_id":"1401851607","filename":"file1"},{"photo_id":"1401851605","filename":"file0"},{"photo_id":"1401851612","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401851612":["hashtag1","hashtag2"]},{"1401851620":["hashtag1","hashtag2"]},{"1401851605":["hashtag1","hashtag2"]},{"1401851616":["hashtag1","hashtag2"]},{"1401851607":["hashtag1","hashtag2"]},{"1401851609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401851612, 1401851620, 1401851605, 1401851616, 1401851607, 1401851609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15914797782898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:27:42.440704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_26_2667.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_35_2609.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_42_2725.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_44_2729.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_51_3866.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_54_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_26_2667.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_35_2609.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_42_2725.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_44_2729.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_51_3866.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_54_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851670","1401851655","1401851640","1401851663","1401851642","1401851636"],"photo_ids_order":["1401851636","1401851640","1401851642","1401851655","1401851663","1401851670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88a65ca9c023f0198bad77d1087075d9.jpg","text":"TemporaryFile(/tmp/multipartBody4696324358291785526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166124282,"filename":"image_02112025_23_50_54_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa5a76d85a0862f029f86ce449ede93f.jpg","text":"TemporaryFile(/tmp/multipartBody2689329569061496947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166124282,"filename":"image_02112025_23_50_44_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6bf41593c1e620c7dfbea8e401bcf88.jpg","text":"TemporaryFile(/tmp/multipartBody5429559739784498779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166124282,"filename":"image_02112025_23_50_35_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e47b90206237a8a4c3e707c7fcfcac13.jpg","text":"TemporaryFile(/tmp/multipartBody2912830289708553358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166124282,"filename":"image_02112025_23_50_51_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4002604a4ff9bf49e47c901c3ba0c80c.jpg","text":"TemporaryFile(/tmp/multipartBody9196771806630933612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166124282,"filename":"image_02112025_23_50_42_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3a1dd465b5e3624483ea77cfee9083a.jpg","text":"TemporaryFile(/tmp/multipartBody8153680937536989663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166124282,"filename":"image_02112025_23_50_26_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851642","file1":"1401851640","file0":"1401851636","file4":"1401851663","file5":"1401851670","file3":"1401851655"},"map_files_photo_id_array":[{"photo_id":"1401851670","filename":"file5"},{"photo_id":"1401851642","filename":"file2"},{"photo_id":"1401851663","filename":"file4"},{"photo_id":"1401851640","filename":"file1"},{"photo_id":"1401851636","filename":"file0"},{"photo_id":"1401851655","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401851670":["hashtag1","hashtag2"]},{"1401851655":["hashtag1","hashtag2"]},{"1401851640":["hashtag1","hashtag2"]},{"1401851663":["hashtag1","hashtag2"]},{"1401851642":["hashtag1","hashtag2"]},{"1401851636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401851670, 1401851655, 1401851640, 1401851663, 1401851642, 1401851636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52995324134827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:28:22.794359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_44_9600.jpg', '/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_54_9563.jpg', '/home/pi/Desktop/images/31122025/07/01/image_31122025_07_02_04_10596.jpg', '/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_14_9669.jpg', '/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_24_9674.jpg', '/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_34_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_44_9600.jpg
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_54_9563.jpg
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_02_04_10596.jpg
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_14_9669.jpg
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_24_9674.jpg
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_34_10599.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5133199691772461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:28:32.756739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_56_2822.jpg', '/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_59_2797.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_03_3621.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_05_2561.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_12_3639.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_14_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_56_2822.jpg
/home/pi/Desktop/images/02112025/23/50/image_02112025_23_50_59_2797.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_03_3621.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_05_2561.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_12_3639.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_14_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851816","1401851788","1401851830","1401851832","1401851825","1401851834"],"photo_ids_order":["1401851788","1401851816","1401851825","1401851830","1401851832","1401851834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3bf1c7bd7ad97cf7cce57c1803ef5f0.jpg","text":"TemporaryFile(/tmp/multipartBody4408754905128436650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166174717,"filename":"image_02112025_23_50_59_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e37c56fde23a7af5b0fab57e8efec2ef.jpg","text":"TemporaryFile(/tmp/multipartBody113453602378203303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166174717,"filename":"image_02112025_23_50_56_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c74d8290ffdf0ceaf102ec0a4cdb6c38.jpg","text":"TemporaryFile(/tmp/multipartBody8311401961924644020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166174717,"filename":"image_02112025_23_51_05_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72b59451d8d3451bf1f7fe7b2678feba.jpg","text":"TemporaryFile(/tmp/multipartBody399862307023822478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166174717,"filename":"image_02112025_23_51_12_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/836e77b1470bac38cf9f8d3a56572bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2235248701902402466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166174717,"filename":"image_02112025_23_51_03_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26d375216772dfc8ef57e9054bbadfae.jpg","text":"TemporaryFile(/tmp/multipartBody2542292959251674502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166174717,"filename":"image_02112025_23_51_14_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851825","file1":"1401851816","file0":"1401851788","file4":"1401851832","file5":"1401851834","file3":"1401851830"},"map_files_photo_id_array":[{"photo_id":"1401851834","filename":"file5"},{"photo_id":"1401851825","filename":"file2"},{"photo_id":"1401851832","filename":"file4"},{"photo_id":"1401851816","filename":"file1"},{"photo_id":"1401851788","filename":"file0"},{"photo_id":"1401851830","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401851816":["hashtag1","hashtag2"]},{"1401851788":["hashtag1","hashtag2"]},{"1401851830":["hashtag1","hashtag2"]},{"1401851832":["hashtag1","hashtag2"]},{"1401851825":["hashtag1","hashtag2"]},{"1401851834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401851816, 1401851788, 1401851830, 1401851832, 1401851825, 1401851834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.915014028549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:29:14.117639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_17_2611.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_21_3585.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_26_2724.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_29_2713.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_38_2661.jpg', '/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_41_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_17_2611.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_21_3585.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_26_2724.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_29_2713.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_38_2661.jpg
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_41_3560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851909","1401851923","1401851917","1401851913","1401851930","1401851927"],"photo_ids_order":["1401851909","1401851913","1401851917","1401851923","1401851927","1401851930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db5a2934b233e6d5571a8749f725480b.jpg","text":"TemporaryFile(/tmp/multipartBody3618373732148170709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166215928,"filename":"image_02112025_23_51_17_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b7419e66f2d05a206d1713fd35de946.jpg","text":"TemporaryFile(/tmp/multipartBody7721521815688342184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166215928,"filename":"image_02112025_23_51_29_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c72edc26fd6e492af6b6c7c1c6ee409f.jpg","text":"TemporaryFile(/tmp/multipartBody343113535204653538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166215928,"filename":"image_02112025_23_51_26_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cde1ea07f45b87d8e85436692960dc3a.jpg","text":"TemporaryFile(/tmp/multipartBody3302806746372019650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166215928,"filename":"image_02112025_23_51_21_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16417377b4a4257e16e5385be158427b.jpg","text":"TemporaryFile(/tmp/multipartBody4097419541673573828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166215928,"filename":"image_02112025_23_51_41_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aca6378c2038428d335aa9fc016200a6.jpg","text":"TemporaryFile(/tmp/multipartBody4350293787079621858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166215928,"filename":"image_02112025_23_51_38_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851917","file1":"1401851913","file0":"1401851909","file4":"1401851927","file5":"1401851930","file3":"1401851923"},"map_files_photo_id_array":[{"photo_id":"1401851930","filename":"file5"},{"photo_id":"1401851917","filename":"file2"},{"photo_id":"1401851927","filename":"file4"},{"photo_id":"1401851913","filename":"file1"},{"photo_id":"1401851909","filename":"file0"},{"photo_id":"1401851923","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401851909":["hashtag1","hashtag2"]},{"1401851923":["hashtag1","hashtag2"]},{"1401851917":["hashtag1","hashtag2"]},{"1401851913":["hashtag1","hashtag2"]},{"1401851930":["hashtag1","hashtag2"]},{"1401851927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401851909, 1401851923, 1401851917, 1401851913, 1401851930, 1401851927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0625319480896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:30:02.542078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_44_9600.jpg', '/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_54_9563.jpg', '/home/pi/Desktop/images/31122025/07/01/image_31122025_07_02_04_10596.jpg', '/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_14_9669.jpg', '/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_24_9674.jpg', '/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_34_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_44_9600.jpg
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_01_54_9563.jpg
/home/pi/Desktop/images/31122025/07/01/image_31122025_07_02_04_10596.jpg
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_14_9669.jpg
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_24_9674.jpg
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_34_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401851979","1401851964","1401851967","1401851972","1401851975","1401851969"],"photo_ids_order":["1401851964","1401851967","1401851969","1401851972","1401851975","1401851979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f2155e8cc0e99810487f040188a62f9.jpg","text":"TemporaryFile(/tmp/multipartBody9015133386416865913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166263170,"filename":"image_31122025_07_02_34_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/541348a82848d6b25ae61a3157565de4.jpg","text":"TemporaryFile(/tmp/multipartBody1112395083299029999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166263170,"filename":"image_31122025_07_01_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dab3a0a75460d4733d951071430ab997.jpg","text":"TemporaryFile(/tmp/multipartBody5363305379351365293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166263170,"filename":"image_31122025_07_01_54_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d9c8c318a4f12ccfb4e3c9d3eff5b22.jpg","text":"TemporaryFile(/tmp/multipartBody1756091452775013734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166263170,"filename":"image_31122025_07_02_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33c1a56d91f496dc222173fc6b15b548.jpg","text":"TemporaryFile(/tmp/multipartBody4495730232755424514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166263170,"filename":"image_31122025_07_02_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af31d2a9ed7cf2cb36227465ecc6abf0.jpg","text":"TemporaryFile(/tmp/multipartBody5015281320383692325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166263170,"filename":"image_31122025_07_02_04_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401851969","file1":"1401851967","file0":"1401851964","file4":"1401851975","file5":"1401851979","file3":"1401851972"},"map_files_photo_id_array":[{"photo_id":"1401851979","filename":"file5"},{"photo_id":"1401851969","filename":"file2"},{"photo_id":"1401851975","filename":"file4"},{"photo_id":"1401851967","filename":"file1"},{"photo_id":"1401851964","filename":"file0"},{"photo_id":"1401851972","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401851979":["hashtag1","hashtag2"]},{"1401851964":["hashtag1","hashtag2"]},{"1401851967":["hashtag1","hashtag2"]},{"1401851972":["hashtag1","hashtag2"]},{"1401851975":["hashtag1","hashtag2"]},{"1401851969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401851979, 1401851964, 1401851967, 1401851972, 1401851975, 1401851969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61875605583191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:30:42.048493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_44_2564.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_09_3755.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_14_2871.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_20_2668.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_23_3707.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_26_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/51/image_02112025_23_51_44_2564.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_09_3755.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_14_2871.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_20_2668.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_23_3707.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_26_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852001","1401851995","1401852007","1401852021","1401852009","1401851990"],"photo_ids_order":["1401851990","1401851995","1401852001","1401852007","1401852009","1401852021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4a0eb0b66f59d07058fdecbd38bfb2c.jpg","text":"TemporaryFile(/tmp/multipartBody5522991100794677339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166303965,"filename":"image_02112025_23_52_14_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86a1a6f21b573cc82544a57245949745.jpg","text":"TemporaryFile(/tmp/multipartBody7665166047764818990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166303965,"filename":"image_02112025_23_52_09_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0a4bc1e8b4164384aac098a73d9cca2.jpg","text":"TemporaryFile(/tmp/multipartBody5034332049615250551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166303965,"filename":"image_02112025_23_52_20_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e865cd2dc3bf5bfdb89a866b8ecc6875.jpg","text":"TemporaryFile(/tmp/multipartBody598649596858698850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166303965,"filename":"image_02112025_23_52_26_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4501438d5f6676fd9fcb9c9c3e7c88ae.jpg","text":"TemporaryFile(/tmp/multipartBody834621545142442903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166303965,"filename":"image_02112025_23_52_23_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e2c6bde60150deaa7361e124f97554a.jpg","text":"TemporaryFile(/tmp/multipartBody640642972921004674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166303965,"filename":"image_02112025_23_51_44_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852001","file1":"1401851995","file0":"1401851990","file4":"1401852009","file5":"1401852021","file3":"1401852007"},"map_files_photo_id_array":[{"photo_id":"1401852021","filename":"file5"},{"photo_id":"1401852001","filename":"file2"},{"photo_id":"1401852009","filename":"file4"},{"photo_id":"1401851995","filename":"file1"},{"photo_id":"1401851990","filename":"file0"},{"photo_id":"1401852007","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401852001":["hashtag1","hashtag2"]},{"1401851995":["hashtag1","hashtag2"]},{"1401852007":["hashtag1","hashtag2"]},{"1401852021":["hashtag1","hashtag2"]},{"1401852009":["hashtag1","hashtag2"]},{"1401851990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401852001, 1401851995, 1401852007, 1401852021, 1401852009, 1401851990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3189697265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:31:32.182372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_30_3664.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_35_2740.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_38_2717.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_42_3834.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_47_2666.jpg', '/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_50_2981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_30_3664.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_35_2740.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_38_2717.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_42_3834.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_47_2666.jpg
/home/pi/Desktop/images/02112025/23/52/image_02112025_23_52_50_2981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852058","1401852063","1401852066","1401852051","1401852054","1401852068"],"photo_ids_order":["1401852051","1401852054","1401852058","1401852063","1401852066","1401852068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a44a3d1019716ed67fc6320261e2a32a.jpg","text":"TemporaryFile(/tmp/multipartBody3057305912572492325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166354095,"filename":"image_02112025_23_52_38_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b3126106b3d52a1ac7b8b50f3292763.jpg","text":"TemporaryFile(/tmp/multipartBody3446859189071755235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166354095,"filename":"image_02112025_23_52_42_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23782e852d29d1f05a46db618bc1997c.jpg","text":"TemporaryFile(/tmp/multipartBody2923277732835638378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166354095,"filename":"image_02112025_23_52_47_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b096e40375ebee7aa9084d20fdf1a500.jpg","text":"TemporaryFile(/tmp/multipartBody5229328648189520305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166354095,"filename":"image_02112025_23_52_30_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dca088a608663f69ca0c7a39c69223db.jpg","text":"TemporaryFile(/tmp/multipartBody507817704821713206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166354095,"filename":"image_02112025_23_52_35_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a81d192080ef6c659f63c37ce8a60750.jpg","text":"TemporaryFile(/tmp/multipartBody3719889718016486181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166354095,"filename":"image_02112025_23_52_50_2981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852058","file1":"1401852054","file0":"1401852051","file4":"1401852066","file5":"1401852068","file3":"1401852063"},"map_files_photo_id_array":[{"photo_id":"1401852068","filename":"file5"},{"photo_id":"1401852058","filename":"file2"},{"photo_id":"1401852066","filename":"file4"},{"photo_id":"1401852054","filename":"file1"},{"photo_id":"1401852051","filename":"file0"},{"photo_id":"1401852063","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401852058":["hashtag1","hashtag2"]},{"1401852063":["hashtag1","hashtag2"]},{"1401852066":["hashtag1","hashtag2"]},{"1401852051":["hashtag1","hashtag2"]},{"1401852054":["hashtag1","hashtag2"]},{"1401852068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401852058, 1401852063, 1401852066, 1401852051, 1401852054, 1401852068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88178992271423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:32:22.366420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_44_9605.jpg', '/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_54_9874.jpg', '/home/pi/Desktop/images/31122025/07/02/image_31122025_07_03_05_10715.jpg', '/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_14_9658.jpg', '/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_24_9528.jpg', '/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_34_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_44_9605.jpg
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_02_54_9874.jpg
/home/pi/Desktop/images/31122025/07/02/image_31122025_07_03_05_10715.jpg
/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_14_9658.jpg
/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_24_9528.jpg
/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_34_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852115","1401852106","1401852081","1401852098","1401852102","1401852085"],"photo_ids_order":["1401852081","1401852085","1401852098","1401852102","1401852106","1401852115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2731951c1c2b7443975b85541d9cc16d.jpg","text":"TemporaryFile(/tmp/multipartBody767675655216750058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166402968,"filename":"image_31122025_07_03_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6d7771000f94db191778119e73216d4.jpg","text":"TemporaryFile(/tmp/multipartBody7605621287353172209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166402968,"filename":"image_31122025_07_03_24_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/506dbc39dfd16252609c8e93c220273b.jpg","text":"TemporaryFile(/tmp/multipartBody3498744911872625872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166402968,"filename":"image_31122025_07_02_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f92642288067b7f0a255e3b62124af11.jpg","text":"TemporaryFile(/tmp/multipartBody160196607090890485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166402968,"filename":"image_31122025_07_03_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70f847a2535a183cad838d412067ff80.jpg","text":"TemporaryFile(/tmp/multipartBody7648185351010743548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166402968,"filename":"image_31122025_07_03_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/daa65cc504c628fa940bc7d8c4b810e0.jpg","text":"TemporaryFile(/tmp/multipartBody3448370504419449251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166402968,"filename":"image_31122025_07_02_54_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852098","file1":"1401852085","file0":"1401852081","file4":"1401852106","file5":"1401852115","file3":"1401852102"},"map_files_photo_id_array":[{"photo_id":"1401852115","filename":"file5"},{"photo_id":"1401852098","filename":"file2"},{"photo_id":"1401852106","filename":"file4"},{"photo_id":"1401852085","filename":"file1"},{"photo_id":"1401852081","filename":"file0"},{"photo_id":"1401852102","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852115":["hashtag1","hashtag2"]},{"1401852106":["hashtag1","hashtag2"]},{"1401852081":["hashtag1","hashtag2"]},{"1401852098":["hashtag1","hashtag2"]},{"1401852102":["hashtag1","hashtag2"]},{"1401852085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852115, 1401852106, 1401852081, 1401852098, 1401852102, 1401852085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.971113443374634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:33:03.263711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_44_9703.jpg', '/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_55_10618.jpg', '/home/pi/Desktop/images/31122025/07/03/image_31122025_07_04_04_9662.jpg', '/home/pi/Desktop/images/31122025/07/04/image_31122025_07_04_14_9812.jpg', '/home/pi/Desktop/images/31122025/07/04/image_31122025_07_04_24_9597.jpg', '/home/pi/Desktop/images/31122025/07/04/image_31122025_07_04_34_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_44_9703.jpg
/home/pi/Desktop/images/31122025/07/03/image_31122025_07_03_55_10618.jpg
/home/pi/Desktop/images/31122025/07/03/image_31122025_07_04_04_9662.jpg
/home/pi/Desktop/images/31122025/07/04/image_31122025_07_04_14_9812.jpg
/home/pi/Desktop/images/31122025/07/04/image_31122025_07_04_24_9597.jpg
/home/pi/Desktop/images/31122025/07/04/image_31122025_07_04_34_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852174","1401852179","1401852182","1401852206","1401852209","1401852199"],"photo_ids_order":["1401852174","1401852179","1401852182","1401852199","1401852206","1401852209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bdaf9f3f84e376451b533b850f4e669.jpg","text":"TemporaryFile(/tmp/multipartBody8883084640620424606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166443915,"filename":"image_31122025_07_03_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb4ddce3a3927f08d8da6375334d6556.jpg","text":"TemporaryFile(/tmp/multipartBody7672111884448591160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166443915,"filename":"image_31122025_07_03_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f5945547384ef8effe718d1803a7ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3309154175891728607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166443915,"filename":"image_31122025_07_04_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9698a2c2e8be6ab3b122e7d04dff66e7.jpg","text":"TemporaryFile(/tmp/multipartBody7831257139770358724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166443915,"filename":"image_31122025_07_04_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e06e0c0a57bbf40bba99bd8446f54e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8768665896918933076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166443915,"filename":"image_31122025_07_04_34_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2576d8190c0c558da415b2ebe9d3b24f.jpg","text":"TemporaryFile(/tmp/multipartBody1659206070354056647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166443915,"filename":"image_31122025_07_04_14_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852182","file1":"1401852179","file0":"1401852174","file4":"1401852206","file5":"1401852209","file3":"1401852199"},"map_files_photo_id_array":[{"photo_id":"1401852209","filename":"file5"},{"photo_id":"1401852182","filename":"file2"},{"photo_id":"1401852206","filename":"file4"},{"photo_id":"1401852179","filename":"file1"},{"photo_id":"1401852174","filename":"file0"},{"photo_id":"1401852199","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852174":["hashtag1","hashtag2"]},{"1401852179":["hashtag1","hashtag2"]},{"1401852182":["hashtag1","hashtag2"]},{"1401852206":["hashtag1","hashtag2"]},{"1401852209":["hashtag1","hashtag2"]},{"1401852199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852174, 1401852179, 1401852182, 1401852206, 1401852209, 1401852199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49310636520386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:34:03.300901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/04/image_31122025_07_04_55_10681.jpg', '/home/pi/Desktop/images/31122025/07/04/image_31122025_07_05_04_9664.jpg', '/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_14_9687.jpg', '/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_25_10692.jpg', '/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_34_9783.jpg', '/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_44_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/04/image_31122025_07_04_55_10681.jpg
/home/pi/Desktop/images/31122025/07/04/image_31122025_07_05_04_9664.jpg
/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_14_9687.jpg
/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_25_10692.jpg
/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_34_9783.jpg
/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_44_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852412","1401852406","1401852415","1401852409","1401852403","1401852381"],"photo_ids_order":["1401852381","1401852403","1401852406","1401852409","1401852412","1401852415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ac86b43dec941c62721ae9193b62aa8.jpg","text":"TemporaryFile(/tmp/multipartBody2705987461673094444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166504025,"filename":"image_31122025_07_05_34_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41281dc2e0500f7edee269acdde16d8f.jpg","text":"TemporaryFile(/tmp/multipartBody584012732999584656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166504025,"filename":"image_31122025_07_05_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7ddf28e41180df8a2b1166d279473e6.jpg","text":"TemporaryFile(/tmp/multipartBody9158451020930967812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166504025,"filename":"image_31122025_07_05_44_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15ba9e16bbe77bfdaa93e2ae31565347.jpg","text":"TemporaryFile(/tmp/multipartBody3029603851639371669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166504025,"filename":"image_31122025_07_05_25_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4957a1c0f6a9f44d7d1f511774759f93.jpg","text":"TemporaryFile(/tmp/multipartBody900769200861974263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166504025,"filename":"image_31122025_07_05_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0556593c404aa6085bac5ea1773168c.jpg","text":"TemporaryFile(/tmp/multipartBody3424826800903555576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166504025,"filename":"image_31122025_07_04_55_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852406","file1":"1401852403","file0":"1401852381","file4":"1401852412","file5":"1401852415","file3":"1401852409"},"map_files_photo_id_array":[{"photo_id":"1401852415","filename":"file5"},{"photo_id":"1401852406","filename":"file2"},{"photo_id":"1401852412","filename":"file4"},{"photo_id":"1401852403","filename":"file1"},{"photo_id":"1401852381","filename":"file0"},{"photo_id":"1401852409","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852412":["hashtag1","hashtag2"]},{"1401852406":["hashtag1","hashtag2"]},{"1401852415":["hashtag1","hashtag2"]},{"1401852409":["hashtag1","hashtag2"]},{"1401852403":["hashtag1","hashtag2"]},{"1401852381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852412, 1401852406, 1401852415, 1401852409, 1401852403, 1401852381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11055660247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:34:42.730380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_02_2652.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_05_3533.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_11_2772.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_14_3631.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_17_2757.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_20_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_02_2652.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_05_3533.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_11_2772.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_14_3631.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_17_2757.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_20_2711.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8064634799957275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:35:02.617904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_54_9817.jpg', '/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_14_10626.jpg', '/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_24_9659.jpg', '/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_34_9696.jpg', '/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_45_10757.jpg', '/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_54_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/05/image_31122025_07_05_54_9817.jpg
/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_14_10626.jpg
/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_24_9659.jpg
/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_34_9696.jpg
/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_45_10757.jpg
/home/pi/Desktop/images/31122025/07/06/image_31122025_07_06_54_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852544","1401852613","1401852573","1401852567","1401852606","1401852557"],"photo_ids_order":["1401852544","1401852557","1401852567","1401852573","1401852606","1401852613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0efd3346956a971e688b149d3a2dafb1.jpg","text":"TemporaryFile(/tmp/multipartBody7447540998540167249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166563285,"filename":"image_31122025_07_05_54_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c70455c7009d369c5f261a16fa186f7.jpg","text":"TemporaryFile(/tmp/multipartBody3739036446522573083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166563285,"filename":"image_31122025_07_06_54_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9c0b56e391399ce4dd2fe4c7c406402.jpg","text":"TemporaryFile(/tmp/multipartBody6691530057776564738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166563285,"filename":"image_31122025_07_06_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/118883dbeabe2ad7fd0dfada18199fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7538149677226218513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166563285,"filename":"image_31122025_07_06_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1efec2a525a9994fc0e9b74900f749af.jpg","text":"TemporaryFile(/tmp/multipartBody8646734101685079884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166563285,"filename":"image_31122025_07_06_45_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fa00feae95d1e25922eea8f54e33724.jpg","text":"TemporaryFile(/tmp/multipartBody3029669262075252687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166563285,"filename":"image_31122025_07_06_14_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852567","file1":"1401852557","file0":"1401852544","file4":"1401852606","file5":"1401852613","file3":"1401852573"},"map_files_photo_id_array":[{"photo_id":"1401852613","filename":"file5"},{"photo_id":"1401852567","filename":"file2"},{"photo_id":"1401852606","filename":"file4"},{"photo_id":"1401852557","filename":"file1"},{"photo_id":"1401852544","filename":"file0"},{"photo_id":"1401852573","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852544":["hashtag1","hashtag2"]},{"1401852613":["hashtag1","hashtag2"]},{"1401852573":["hashtag1","hashtag2"]},{"1401852567":["hashtag1","hashtag2"]},{"1401852606":["hashtag1","hashtag2"]},{"1401852557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852544, 1401852613, 1401852573, 1401852567, 1401852606, 1401852557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.989428758621216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:35:41.909484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_02_2652.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_05_3533.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_11_2772.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_14_3631.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_17_2757.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_20_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_02_2652.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_05_3533.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_11_2772.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_14_3631.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_17_2757.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_20_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852655","1401852654","1401852642","1401852630","1401852656","1401852659"],"photo_ids_order":["1401852630","1401852642","1401852654","1401852655","1401852656","1401852659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0ea7d164f50fc6544a91dcd1b659772.jpg","text":"TemporaryFile(/tmp/multipartBody8296089525997396559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166603732,"filename":"image_02112025_23_53_14_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58418d53c2d22a0403d8bb69288b9fb4.jpg","text":"TemporaryFile(/tmp/multipartBody3646396982644553034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166603732,"filename":"image_02112025_23_53_11_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dabe286d4f98a0b9eb6a7c07ae2d450.jpg","text":"TemporaryFile(/tmp/multipartBody631503671207082477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166603732,"filename":"image_02112025_23_53_05_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f6e444972c0b4a3a4a5f825d736820e.jpg","text":"TemporaryFile(/tmp/multipartBody4849345455471894310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166603732,"filename":"image_02112025_23_53_02_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ee3c13700d0e1c7dbc6b4c11bb5a83f.jpg","text":"TemporaryFile(/tmp/multipartBody8613091664430233382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166603732,"filename":"image_02112025_23_53_17_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77d800f9b14a908763eeb640bf6f515d.jpg","text":"TemporaryFile(/tmp/multipartBody8667005569650443702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166603732,"filename":"image_02112025_23_53_20_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852654","file1":"1401852642","file0":"1401852630","file4":"1401852656","file5":"1401852659","file3":"1401852655"},"map_files_photo_id_array":[{"photo_id":"1401852659","filename":"file5"},{"photo_id":"1401852654","filename":"file2"},{"photo_id":"1401852656","filename":"file4"},{"photo_id":"1401852642","filename":"file1"},{"photo_id":"1401852630","filename":"file0"},{"photo_id":"1401852655","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401852655":["hashtag1","hashtag2"]},{"1401852654":["hashtag1","hashtag2"]},{"1401852642":["hashtag1","hashtag2"]},{"1401852630":["hashtag1","hashtag2"]},{"1401852656":["hashtag1","hashtag2"]},{"1401852659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401852655, 1401852654, 1401852642, 1401852630, 1401852656, 1401852659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4027419090271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:36:23.538840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/06/image_31122025_07_07_04_9638.jpg', '/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_15_10729.jpg', '/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_24_9649.jpg', '/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_34_9733.jpg', '/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_45_10713.jpg', '/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_54_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/06/image_31122025_07_07_04_9638.jpg
/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_15_10729.jpg
/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_24_9649.jpg
/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_34_9733.jpg
/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_45_10713.jpg
/home/pi/Desktop/images/31122025/07/07/image_31122025_07_07_54_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852682","1401852678","1401852672","1401852689","1401852680","1401852698"],"photo_ids_order":["1401852672","1401852678","1401852680","1401852682","1401852689","1401852698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbc4f714ea02912a8918020bd4ac56cb.jpg","text":"TemporaryFile(/tmp/multipartBody702955407161493410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166644150,"filename":"image_31122025_07_07_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5532d20ef15ccbdd92e1ff21e454f75.jpg","text":"TemporaryFile(/tmp/multipartBody219298254672009033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166644150,"filename":"image_31122025_07_07_15_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c1e82712312abeb0e1d9e83fd05fc17.jpg","text":"TemporaryFile(/tmp/multipartBody8792341204766146592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166644150,"filename":"image_31122025_07_07_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71ee8d58af8fd8e72ca52b9785f26b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6891499729665794540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166644150,"filename":"image_31122025_07_07_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b06674e4b1832ffc64b0e87e0b7e881.jpg","text":"TemporaryFile(/tmp/multipartBody7211096534499179824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166644150,"filename":"image_31122025_07_07_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ebe5cf48089d55756eaacb38f27fcda.jpg","text":"TemporaryFile(/tmp/multipartBody6030764065486429954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166644150,"filename":"image_31122025_07_07_54_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852680","file1":"1401852678","file0":"1401852672","file4":"1401852689","file5":"1401852698","file3":"1401852682"},"map_files_photo_id_array":[{"photo_id":"1401852698","filename":"file5"},{"photo_id":"1401852680","filename":"file2"},{"photo_id":"1401852689","filename":"file4"},{"photo_id":"1401852678","filename":"file1"},{"photo_id":"1401852672","filename":"file0"},{"photo_id":"1401852682","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852682":["hashtag1","hashtag2"]},{"1401852678":["hashtag1","hashtag2"]},{"1401852672":["hashtag1","hashtag2"]},{"1401852689":["hashtag1","hashtag2"]},{"1401852680":["hashtag1","hashtag2"]},{"1401852698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852682, 1401852678, 1401852672, 1401852689, 1401852680, 1401852698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.269458055496216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:37:03.458542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/07/image_31122025_07_08_04_9630.jpg', '/home/pi/Desktop/images/31122025/07/08/image_31122025_07_08_25_10826.jpg', '/home/pi/Desktop/images/31122025/07/08/image_31122025_07_08_34_9601.jpg', '/home/pi/Desktop/images/31122025/07/08/image_31122025_07_08_44_9856.jpg', '/home/pi/Desktop/images/31122025/07/08/image_31122025_07_08_54_9892.jpg', '/home/pi/Desktop/images/31122025/07/08/image_31122025_07_09_04_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/07/image_31122025_07_08_04_9630.jpg
/home/pi/Desktop/images/31122025/07/08/image_31122025_07_08_25_10826.jpg
/home/pi/Desktop/images/31122025/07/08/image_31122025_07_08_34_9601.jpg
/home/pi/Desktop/images/31122025/07/08/image_31122025_07_08_44_9856.jpg
/home/pi/Desktop/images/31122025/07/08/image_31122025_07_08_54_9892.jpg
/home/pi/Desktop/images/31122025/07/08/image_31122025_07_09_04_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852706","1401852709","1401852729","1401852714","1401852711","1401852722"],"photo_ids_order":["1401852706","1401852709","1401852711","1401852714","1401852722","1401852729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62c92d1998c015ec8f9e4963fb24b983.jpg","text":"TemporaryFile(/tmp/multipartBody1534605995257901721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166684106,"filename":"image_31122025_07_08_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6505ed8c608757c5573f9bc7a85640fd.jpg","text":"TemporaryFile(/tmp/multipartBody2013087221016617151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166684106,"filename":"image_31122025_07_08_25_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91da380b2a4f2b68e63dc499ec579ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2662221957540861945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166684106,"filename":"image_31122025_07_09_04_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c861f467b2da794e9a2763f76e77720.jpg","text":"TemporaryFile(/tmp/multipartBody2171092924990942817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166684106,"filename":"image_31122025_07_08_44_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a2b15885e78f1082da3071050769a92.jpg","text":"TemporaryFile(/tmp/multipartBody6452622629061839472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166684106,"filename":"image_31122025_07_08_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad43a4c0f466aeccce3f427cbb3d6b94.jpg","text":"TemporaryFile(/tmp/multipartBody1053781321493353500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166684106,"filename":"image_31122025_07_08_54_9892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852711","file1":"1401852709","file0":"1401852706","file4":"1401852722","file5":"1401852729","file3":"1401852714"},"map_files_photo_id_array":[{"photo_id":"1401852729","filename":"file5"},{"photo_id":"1401852711","filename":"file2"},{"photo_id":"1401852722","filename":"file4"},{"photo_id":"1401852709","filename":"file1"},{"photo_id":"1401852706","filename":"file0"},{"photo_id":"1401852714","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852706":["hashtag1","hashtag2"]},{"1401852709":["hashtag1","hashtag2"]},{"1401852729":["hashtag1","hashtag2"]},{"1401852714":["hashtag1","hashtag2"]},{"1401852711":["hashtag1","hashtag2"]},{"1401852722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852706, 1401852709, 1401852729, 1401852714, 1401852711, 1401852722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79458665847778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:37:42.698370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_26_2690.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_33_3655.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_41_2803.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_44_3584.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_47_2880.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_50_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_26_2690.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_33_3655.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_41_2803.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_44_3584.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_47_2880.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_50_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852811","1401852805","1401852773","1401852797","1401852764","1401852787"],"photo_ids_order":["1401852764","1401852773","1401852787","1401852797","1401852805","1401852811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d346182763a3fcb59e4becf229f5587a.jpg","text":"TemporaryFile(/tmp/multipartBody7693791295694378315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166724470,"filename":"image_02112025_23_53_50_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17c40a113d1c7b0c43e0d547a62e2372.jpg","text":"TemporaryFile(/tmp/multipartBody4822934505656951328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166724470,"filename":"image_02112025_23_53_47_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/877b1708f785384ddb2b912bdeab7cb8.jpg","text":"TemporaryFile(/tmp/multipartBody1840514426063807454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166724470,"filename":"image_02112025_23_53_33_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5376489fa5793c5ad6d2d041afefa11e.jpg","text":"TemporaryFile(/tmp/multipartBody5684762970114096678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166724470,"filename":"image_02112025_23_53_44_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63ccf59785602a2c1e0e6ae220460768.jpg","text":"TemporaryFile(/tmp/multipartBody6307927557720814253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166724470,"filename":"image_02112025_23_53_26_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24191b102989d5f5993b9758ae8052ae.jpg","text":"TemporaryFile(/tmp/multipartBody8645504528686555476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166724470,"filename":"image_02112025_23_53_41_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852787","file1":"1401852773","file0":"1401852764","file4":"1401852805","file5":"1401852811","file3":"1401852797"},"map_files_photo_id_array":[{"photo_id":"1401852811","filename":"file5"},{"photo_id":"1401852787","filename":"file2"},{"photo_id":"1401852805","filename":"file4"},{"photo_id":"1401852773","filename":"file1"},{"photo_id":"1401852764","filename":"file0"},{"photo_id":"1401852797","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401852811":["hashtag1","hashtag2"]},{"1401852805":["hashtag1","hashtag2"]},{"1401852773":["hashtag1","hashtag2"]},{"1401852797":["hashtag1","hashtag2"]},{"1401852764":["hashtag1","hashtag2"]},{"1401852787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401852811, 1401852805, 1401852773, 1401852797, 1401852764, 1401852787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2496235370636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:38:21.959880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/09/image_31122025_07_09_24_9967.jpg', '/home/pi/Desktop/images/31122025/07/09/image_31122025_07_09_34_9596.jpg', '/home/pi/Desktop/images/31122025/07/09/image_31122025_07_09_45_10559.jpg', '/home/pi/Desktop/images/31122025/07/09/image_31122025_07_09_54_9682.jpg', '/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_15_10600.jpg', '/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/09/image_31122025_07_09_24_9967.jpg
/home/pi/Desktop/images/31122025/07/09/image_31122025_07_09_34_9596.jpg
/home/pi/Desktop/images/31122025/07/09/image_31122025_07_09_45_10559.jpg
/home/pi/Desktop/images/31122025/07/09/image_31122025_07_09_54_9682.jpg
/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_15_10600.jpg
/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_24_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852856","1401852894","1401852879","1401852867","1401852846","1401852883"],"photo_ids_order":["1401852846","1401852856","1401852867","1401852879","1401852883","1401852894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a090f0fd38dc0bd76dcf266b53f6e7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8228906532057162884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166762589,"filename":"image_31122025_07_09_34_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49bbcff24c29c9394d894f2b49cad3f5.jpg","text":"TemporaryFile(/tmp/multipartBody3671242887405738869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166762589,"filename":"image_31122025_07_10_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fced9d0c431da56129d2793b094423c.jpg","text":"TemporaryFile(/tmp/multipartBody5877473642096962298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166762589,"filename":"image_31122025_07_09_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dcd6aa11b7f05f77c2d4c70139aeb22.jpg","text":"TemporaryFile(/tmp/multipartBody3320443520603366344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166762589,"filename":"image_31122025_07_09_45_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f81a76ff71c4480a390018c7c8e56e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7828397209572803053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166762589,"filename":"image_31122025_07_09_24_9967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d27da60ed266deee705cad5358d7a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8845724371243008562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166762589,"filename":"image_31122025_07_10_15_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852867","file1":"1401852856","file0":"1401852846","file4":"1401852883","file5":"1401852894","file3":"1401852879"},"map_files_photo_id_array":[{"photo_id":"1401852894","filename":"file5"},{"photo_id":"1401852867","filename":"file2"},{"photo_id":"1401852883","filename":"file4"},{"photo_id":"1401852856","filename":"file1"},{"photo_id":"1401852846","filename":"file0"},{"photo_id":"1401852879","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852856":["hashtag1","hashtag2"]},{"1401852894":["hashtag1","hashtag2"]},{"1401852879":["hashtag1","hashtag2"]},{"1401852867":["hashtag1","hashtag2"]},{"1401852846":["hashtag1","hashtag2"]},{"1401852883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852856, 1401852894, 1401852879, 1401852867, 1401852846, 1401852883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13066387176514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:39:03.140112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_34_9735.jpg', '/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_44_10536.jpg', '/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_54_9539.jpg', '/home/pi/Desktop/images/31122025/07/10/image_31122025_07_11_04_9765.jpg', '/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_14_10526.jpg', '/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_24_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_34_9735.jpg
/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_44_10536.jpg
/home/pi/Desktop/images/31122025/07/10/image_31122025_07_10_54_9539.jpg
/home/pi/Desktop/images/31122025/07/10/image_31122025_07_11_04_9765.jpg
/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_14_10526.jpg
/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_24_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852919","1401852912","1401852915","1401852909","1401852902","1401852905"],"photo_ids_order":["1401852902","1401852905","1401852909","1401852912","1401852915","1401852919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d24e010fef4babbe840007659a59a323.jpg","text":"TemporaryFile(/tmp/multipartBody1832344753633321248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166803903,"filename":"image_31122025_07_11_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/300c2a274b269681fb2bee33e1ab53e8.jpg","text":"TemporaryFile(/tmp/multipartBody7957708008684352061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166803903,"filename":"image_31122025_07_11_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc89842689535ef274661ddece571fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7403042324998885876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166803903,"filename":"image_31122025_07_11_14_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20e8a41c79e8f75d452c84ce8619281d.jpg","text":"TemporaryFile(/tmp/multipartBody9161970740499054832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166803903,"filename":"image_31122025_07_10_54_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c04dc045e4556e28ab1a295308e4c6b5.jpg","text":"TemporaryFile(/tmp/multipartBody5139523354837237505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166803903,"filename":"image_31122025_07_10_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/436d98eb422e358850b5fcf706525fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6297341493705591354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166803903,"filename":"image_31122025_07_10_44_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852909","file1":"1401852905","file0":"1401852902","file4":"1401852915","file5":"1401852919","file3":"1401852912"},"map_files_photo_id_array":[{"photo_id":"1401852919","filename":"file5"},{"photo_id":"1401852909","filename":"file2"},{"photo_id":"1401852915","filename":"file4"},{"photo_id":"1401852905","filename":"file1"},{"photo_id":"1401852902","filename":"file0"},{"photo_id":"1401852912","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852919":["hashtag1","hashtag2"]},{"1401852912":["hashtag1","hashtag2"]},{"1401852915":["hashtag1","hashtag2"]},{"1401852909":["hashtag1","hashtag2"]},{"1401852902":["hashtag1","hashtag2"]},{"1401852905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852919, 1401852912, 1401852915, 1401852909, 1401852902, 1401852905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69487380981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:39:42.125189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_53_2643.jpg', '/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_59_3732.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_02_2661.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_17_2673.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_23_2527.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_26_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_53_2643.jpg
/home/pi/Desktop/images/02112025/23/53/image_02112025_23_53_59_3732.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_02_2661.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_17_2673.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_23_2527.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_26_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852928","1401852942","1401852945","1401852939","1401852948","1401852933"],"photo_ids_order":["1401852928","1401852933","1401852939","1401852942","1401852945","1401852948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d1fff1cf34fd9d3fc602bb49f7d6013.jpg","text":"TemporaryFile(/tmp/multipartBody957217089578722320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166844083,"filename":"image_02112025_23_53_53_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/341a7741b43fc44407f1f0d9c4fa29cc.jpg","text":"TemporaryFile(/tmp/multipartBody1940692501595820802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166844083,"filename":"image_02112025_23_54_17_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03cb6a15f79b824870a92cccc8d5921a.jpg","text":"TemporaryFile(/tmp/multipartBody7457205417627713354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166844083,"filename":"image_02112025_23_54_23_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28520546c5bfd6a559fe1bb2946e00ae.jpg","text":"TemporaryFile(/tmp/multipartBody2900472799269557285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166844083,"filename":"image_02112025_23_54_02_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d1d89ff89cce0a5d0aace3d117d2687.jpg","text":"TemporaryFile(/tmp/multipartBody8519374994881536967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166844083,"filename":"image_02112025_23_54_26_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc1d78986aef47353a44f339d0a8ff0f.jpg","text":"TemporaryFile(/tmp/multipartBody190799359407667856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166844083,"filename":"image_02112025_23_53_59_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852939","file1":"1401852933","file0":"1401852928","file4":"1401852945","file5":"1401852948","file3":"1401852942"},"map_files_photo_id_array":[{"photo_id":"1401852948","filename":"file5"},{"photo_id":"1401852939","filename":"file2"},{"photo_id":"1401852945","filename":"file4"},{"photo_id":"1401852933","filename":"file1"},{"photo_id":"1401852928","filename":"file0"},{"photo_id":"1401852942","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401852928":["hashtag1","hashtag2"]},{"1401852942":["hashtag1","hashtag2"]},{"1401852945":["hashtag1","hashtag2"]},{"1401852939":["hashtag1","hashtag2"]},{"1401852948":["hashtag1","hashtag2"]},{"1401852933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401852928, 1401852942, 1401852945, 1401852939, 1401852948, 1401852933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62256860733032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:40:22.316641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_34_10538.jpg', '/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_44_9716.jpg', '/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_55_10336.jpg', '/home/pi/Desktop/images/31122025/07/11/image_31122025_07_12_04_9647.jpg', '/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_14_9664.jpg', '/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_25_10764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_34_10538.jpg
/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_44_9716.jpg
/home/pi/Desktop/images/31122025/07/11/image_31122025_07_11_55_10336.jpg
/home/pi/Desktop/images/31122025/07/11/image_31122025_07_12_04_9647.jpg
/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_14_9664.jpg
/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_25_10764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852952","1401852969","1401852954","1401852957","1401852966","1401852974"],"photo_ids_order":["1401852952","1401852954","1401852957","1401852966","1401852969","1401852974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fff09484ab57d90ce636caeacb104f9d.jpg","text":"TemporaryFile(/tmp/multipartBody6433177020959295391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166882908,"filename":"image_31122025_07_11_34_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70cbdd37dc7e7fb8459f25f1cf005f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2698552182063638245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166882908,"filename":"image_31122025_07_12_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9697045c6f5c3b953aad9ed45becfaf.jpg","text":"TemporaryFile(/tmp/multipartBody5435813424791040728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166882908,"filename":"image_31122025_07_11_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bd706ac037e470981c212b1bff99419.jpg","text":"TemporaryFile(/tmp/multipartBody705947022472546689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166882908,"filename":"image_31122025_07_11_55_10336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baffd165f695b68f8005e4fb5e3ad137.jpg","text":"TemporaryFile(/tmp/multipartBody6354521330497213762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166882908,"filename":"image_31122025_07_12_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f6bfe60bdaa670fdc69da1bd7f1eeaa.jpg","text":"TemporaryFile(/tmp/multipartBody2696496196748479596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166882908,"filename":"image_31122025_07_12_25_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852957","file1":"1401852954","file0":"1401852952","file4":"1401852969","file5":"1401852974","file3":"1401852966"},"map_files_photo_id_array":[{"photo_id":"1401852974","filename":"file5"},{"photo_id":"1401852957","filename":"file2"},{"photo_id":"1401852969","filename":"file4"},{"photo_id":"1401852954","filename":"file1"},{"photo_id":"1401852952","filename":"file0"},{"photo_id":"1401852966","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401852952":["hashtag1","hashtag2"]},{"1401852969":["hashtag1","hashtag2"]},{"1401852954":["hashtag1","hashtag2"]},{"1401852957":["hashtag1","hashtag2"]},{"1401852966":["hashtag1","hashtag2"]},{"1401852974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401852952, 1401852969, 1401852954, 1401852957, 1401852966, 1401852974)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.000576972961426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:41:12.377021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_38_3695.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_44_2974.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_47_2656.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_50_2780.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_52_2858.jpg', '/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_56_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_38_3695.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_44_2974.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_47_2656.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_50_2780.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_52_2858.jpg
/home/pi/Desktop/images/02112025/23/54/image_02112025_23_54_56_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401852984","1401852998","1401852992","1401852995","1401852989","1401852980"],"photo_ids_order":["1401852980","1401852984","1401852989","1401852992","1401852995","1401852998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7a35f5f84bdd54d37964cf5dd428c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8388617974398122315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166934166,"filename":"image_02112025_23_54_44_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bd4169c12e2544fb8719fccbf1d1cf8.jpg","text":"TemporaryFile(/tmp/multipartBody264019244979465189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166934166,"filename":"image_02112025_23_54_56_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac7ea4b762613343dbb0a7f3f248be93.jpg","text":"TemporaryFile(/tmp/multipartBody2771104084866620305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166934166,"filename":"image_02112025_23_54_50_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/144a18982999ca99884a778c96c7c54d.jpg","text":"TemporaryFile(/tmp/multipartBody5992836628199460194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166934166,"filename":"image_02112025_23_54_52_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6905ff3ae04bd8ea1cc67a9ba3922e50.jpg","text":"TemporaryFile(/tmp/multipartBody124258304159768750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166934166,"filename":"image_02112025_23_54_47_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7583ee163690ceae2c9992ac81f11ea.jpg","text":"TemporaryFile(/tmp/multipartBody6860435833785807944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166934166,"filename":"image_02112025_23_54_38_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401852989","file1":"1401852984","file0":"1401852980","file4":"1401852995","file5":"1401852998","file3":"1401852992"},"map_files_photo_id_array":[{"photo_id":"1401852998","filename":"file5"},{"photo_id":"1401852989","filename":"file2"},{"photo_id":"1401852995","filename":"file4"},{"photo_id":"1401852984","filename":"file1"},{"photo_id":"1401852980","filename":"file0"},{"photo_id":"1401852992","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401852984":["hashtag1","hashtag2"]},{"1401852998":["hashtag1","hashtag2"]},{"1401852992":["hashtag1","hashtag2"]},{"1401852995":["hashtag1","hashtag2"]},{"1401852989":["hashtag1","hashtag2"]},{"1401852980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401852984, 1401852998, 1401852992, 1401852995, 1401852989, 1401852980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56937313079834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:42:03.170085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_34_9642.jpg', '/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_44_9668.jpg', '/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_54_10120.jpg', '/home/pi/Desktop/images/31122025/07/12/image_31122025_07_13_04_10293.jpg', '/home/pi/Desktop/images/31122025/07/13/image_31122025_07_13_14_9870.jpg', '/home/pi/Desktop/images/31122025/07/13/image_31122025_07_13_35_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_34_9642.jpg
/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_44_9668.jpg
/home/pi/Desktop/images/31122025/07/12/image_31122025_07_12_54_10120.jpg
/home/pi/Desktop/images/31122025/07/12/image_31122025_07_13_04_10293.jpg
/home/pi/Desktop/images/31122025/07/13/image_31122025_07_13_14_9870.jpg
/home/pi/Desktop/images/31122025/07/13/image_31122025_07_13_35_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853021","1401853023","1401853017","1401853028","1401853019","1401853033"],"photo_ids_order":["1401853017","1401853019","1401853021","1401853023","1401853028","1401853033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ee8349345e6190f066b3929d2aa2179.jpg","text":"TemporaryFile(/tmp/multipartBody5638005544439593538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166983782,"filename":"image_31122025_07_12_54_10120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3eec78f5bea7a924326f7cb19e378e66.jpg","text":"TemporaryFile(/tmp/multipartBody584242328920953146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166983782,"filename":"image_31122025_07_13_04_10293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/577b9e2a6991c7f19c203c149fd861b6.jpg","text":"TemporaryFile(/tmp/multipartBody9113768763225589172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166983782,"filename":"image_31122025_07_12_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ef82bb374347b0bbf9087b2082d9853.jpg","text":"TemporaryFile(/tmp/multipartBody6253559100487160111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166983782,"filename":"image_31122025_07_13_14_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b9533a3caed9af829bc4c8c2f1637e8.jpg","text":"TemporaryFile(/tmp/multipartBody8739388916219147373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166983782,"filename":"image_31122025_07_12_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98dab00258385991e4a450dde1f42bce.jpg","text":"TemporaryFile(/tmp/multipartBody204327725494965250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767166983782,"filename":"image_31122025_07_13_35_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853021","file1":"1401853019","file0":"1401853017","file4":"1401853028","file5":"1401853033","file3":"1401853023"},"map_files_photo_id_array":[{"photo_id":"1401853033","filename":"file5"},{"photo_id":"1401853021","filename":"file2"},{"photo_id":"1401853028","filename":"file4"},{"photo_id":"1401853019","filename":"file1"},{"photo_id":"1401853017","filename":"file0"},{"photo_id":"1401853023","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853021":["hashtag1","hashtag2"]},{"1401853023":["hashtag1","hashtag2"]},{"1401853017":["hashtag1","hashtag2"]},{"1401853028":["hashtag1","hashtag2"]},{"1401853019":["hashtag1","hashtag2"]},{"1401853033":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853021, 1401853023, 1401853017, 1401853028, 1401853019, 1401853033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62170124053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:42:42.753985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_14_2858.jpg', '/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_17_2818.jpg', '/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_32_2614.jpg', '/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_41_3678.jpg', '/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_44_2677.jpg', '/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_11_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_14_2858.jpg
/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_17_2818.jpg
/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_32_2614.jpg
/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_41_3678.jpg
/home/pi/Desktop/images/02112025/23/55/image_02112025_23_55_44_2677.jpg
/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_11_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853056","1401853059","1401853061","1401853063","1401853051","1401853054"],"photo_ids_order":["1401853051","1401853054","1401853056","1401853059","1401853061","1401853063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f0ce4dff21ab7de917f8cb644425757.jpg","text":"TemporaryFile(/tmp/multipartBody1034335802553718693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167024700,"filename":"image_02112025_23_55_32_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8f6d1c4aa5a5b656fef3c944854cb83.jpg","text":"TemporaryFile(/tmp/multipartBody4943546841360574050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167024700,"filename":"image_02112025_23_55_41_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e81575bd6404ba31cafe28cf08f67b2.jpg","text":"TemporaryFile(/tmp/multipartBody3563307884880134237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167024700,"filename":"image_02112025_23_55_44_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18775a7a29c9c95b084fdfcab4efc5fd.jpg","text":"TemporaryFile(/tmp/multipartBody3390527910707338123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167024700,"filename":"image_02112025_23_56_11_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ab9ff76e6f7336b059782c6c1faef75.jpg","text":"TemporaryFile(/tmp/multipartBody2513619102643860700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167024700,"filename":"image_02112025_23_55_14_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01d4968b3a2adfc95812d02035945853.jpg","text":"TemporaryFile(/tmp/multipartBody7980322413915667348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167024700,"filename":"image_02112025_23_55_17_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853056","file1":"1401853054","file0":"1401853051","file4":"1401853061","file5":"1401853063","file3":"1401853059"},"map_files_photo_id_array":[{"photo_id":"1401853063","filename":"file5"},{"photo_id":"1401853056","filename":"file2"},{"photo_id":"1401853061","filename":"file4"},{"photo_id":"1401853054","filename":"file1"},{"photo_id":"1401853051","filename":"file0"},{"photo_id":"1401853059","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401853056":["hashtag1","hashtag2"]},{"1401853059":["hashtag1","hashtag2"]},{"1401853061":["hashtag1","hashtag2"]},{"1401853063":["hashtag1","hashtag2"]},{"1401853051":["hashtag1","hashtag2"]},{"1401853054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401853056, 1401853059, 1401853061, 1401853063, 1401853051, 1401853054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40426564216614 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:43:31.861567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_35_3708.jpg', '/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_38_2742.jpg', '/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_41_2889.jpg', '/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_59_3701.jpg', '/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_04_2800.jpg', '/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_08_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_35_3708.jpg
/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_38_2742.jpg
/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_41_2889.jpg
/home/pi/Desktop/images/02112025/23/56/image_02112025_23_56_59_3701.jpg
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_04_2800.jpg
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_08_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853086","1401853089","1401853080","1401853101","1401853076","1401853072"],"photo_ids_order":["1401853072","1401853076","1401853080","1401853086","1401853089","1401853101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cf9525adeef6f4c6b5c4dac70c23dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8436698173786746607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167073817,"filename":"image_02112025_23_56_59_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2a35e61364b3d13d0b5639d55c7f1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2257954970538097692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167073817,"filename":"image_02112025_23_57_04_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3496e9d175a14fc36294be3f0873dd89.jpg","text":"TemporaryFile(/tmp/multipartBody6230644151371631899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167073817,"filename":"image_02112025_23_56_41_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64ff61a09b45cb3c140d660a368e9ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4413525140078100628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167073817,"filename":"image_02112025_23_57_08_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b547337aa9f97d828a9603043920be98.jpg","text":"TemporaryFile(/tmp/multipartBody5734767944378433118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167073817,"filename":"image_02112025_23_56_38_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e8057b447869095d38642ce28b90817.jpg","text":"TemporaryFile(/tmp/multipartBody2955965509565276633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167073817,"filename":"image_02112025_23_56_35_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853080","file1":"1401853076","file0":"1401853072","file4":"1401853089","file5":"1401853101","file3":"1401853086"},"map_files_photo_id_array":[{"photo_id":"1401853101","filename":"file5"},{"photo_id":"1401853080","filename":"file2"},{"photo_id":"1401853089","filename":"file4"},{"photo_id":"1401853076","filename":"file1"},{"photo_id":"1401853072","filename":"file0"},{"photo_id":"1401853086","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401853086":["hashtag1","hashtag2"]},{"1401853089":["hashtag1","hashtag2"]},{"1401853080":["hashtag1","hashtag2"]},{"1401853101":["hashtag1","hashtag2"]},{"1401853076":["hashtag1","hashtag2"]},{"1401853072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401853086, 1401853089, 1401853080, 1401853101, 1401853076, 1401853072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0421142578125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:44:15.808415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_13_2598.jpg', '/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_17_3722.jpg', '/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_23_3212.jpg', '/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_38_2649.jpg', '/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_43_2777.jpg', '/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_47_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_13_2598.jpg
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_17_3722.jpg
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_23_3212.jpg
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_38_2649.jpg
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_43_2777.jpg
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_47_3556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853135","1401853129","1401853120","1401853107","1401853115","1401853111"],"photo_ids_order":["1401853107","1401853111","1401853115","1401853120","1401853129","1401853135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9d43c6d3192223675fe7cbd9bc2b7f2.jpg","text":"TemporaryFile(/tmp/multipartBody4003844648312284818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167117605,"filename":"image_02112025_23_57_47_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2664465f80ebb5077e166c6718c8acf.jpg","text":"TemporaryFile(/tmp/multipartBody276336601025997813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167117605,"filename":"image_02112025_23_57_43_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baa4846c87f7226dee5b5a86c1b09d41.jpg","text":"TemporaryFile(/tmp/multipartBody7719684411271835302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167117605,"filename":"image_02112025_23_57_38_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cce9cf56a1814119dc91d5b68ef529d.jpg","text":"TemporaryFile(/tmp/multipartBody3637730180948172551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167117605,"filename":"image_02112025_23_57_13_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb785a10038e9c3ff40554bb4d4e95f0.jpg","text":"TemporaryFile(/tmp/multipartBody2628913317721250117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167117605,"filename":"image_02112025_23_57_23_3212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/915fc3a36ae6449a234adbfb0b5550ca.jpg","text":"TemporaryFile(/tmp/multipartBody5276591779323325693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167117605,"filename":"image_02112025_23_57_17_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853115","file1":"1401853111","file0":"1401853107","file4":"1401853129","file5":"1401853135","file3":"1401853120"},"map_files_photo_id_array":[{"photo_id":"1401853135","filename":"file5"},{"photo_id":"1401853115","filename":"file2"},{"photo_id":"1401853129","filename":"file4"},{"photo_id":"1401853111","filename":"file1"},{"photo_id":"1401853107","filename":"file0"},{"photo_id":"1401853120","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401853135":["hashtag1","hashtag2"]},{"1401853129":["hashtag1","hashtag2"]},{"1401853120":["hashtag1","hashtag2"]},{"1401853107":["hashtag1","hashtag2"]},{"1401853115":["hashtag1","hashtag2"]},{"1401853111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401853135, 1401853129, 1401853120, 1401853107, 1401853115, 1401853111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49143409729004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:45:02.795795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/13/image_31122025_07_13_44_9897.jpg', '/home/pi/Desktop/images/31122025/07/13/image_31122025_07_13_54_9316.jpg', '/home/pi/Desktop/images/31122025/07/13/image_31122025_07_14_04_10558.jpg', '/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_14_9640.jpg', '/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_25_10731.jpg', '/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_34_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/13/image_31122025_07_13_44_9897.jpg
/home/pi/Desktop/images/31122025/07/13/image_31122025_07_13_54_9316.jpg
/home/pi/Desktop/images/31122025/07/13/image_31122025_07_14_04_10558.jpg
/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_14_9640.jpg
/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_25_10731.jpg
/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_34_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853176","1401853187","1401853172","1401853192","1401853180","1401853183"],"photo_ids_order":["1401853172","1401853176","1401853180","1401853183","1401853187","1401853192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e0bbbe043f8399acbf3f0d636ccc254.jpg","text":"TemporaryFile(/tmp/multipartBody6893497526376448169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167163459,"filename":"image_31122025_07_13_54_9316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b59b1bac93e838602162774bdbf710f.jpg","text":"TemporaryFile(/tmp/multipartBody9001355950611004790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167163459,"filename":"image_31122025_07_14_25_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2d3a8b86069385020dbb966733e0298.jpg","text":"TemporaryFile(/tmp/multipartBody7703617484070790658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167163459,"filename":"image_31122025_07_13_44_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/160662e9f17be8eda36c43f30790dc99.jpg","text":"TemporaryFile(/tmp/multipartBody6309717997413146131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167163459,"filename":"image_31122025_07_14_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/431019a1d38cfff72ba0be45e78ba57f.jpg","text":"TemporaryFile(/tmp/multipartBody6580122414890814876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167163459,"filename":"image_31122025_07_14_04_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb997c8a7855ded917ed98de2eee9e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4021126583037546732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167163459,"filename":"image_31122025_07_14_14_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853180","file1":"1401853176","file0":"1401853172","file4":"1401853187","file5":"1401853192","file3":"1401853183"},"map_files_photo_id_array":[{"photo_id":"1401853192","filename":"file5"},{"photo_id":"1401853180","filename":"file2"},{"photo_id":"1401853187","filename":"file4"},{"photo_id":"1401853176","filename":"file1"},{"photo_id":"1401853172","filename":"file0"},{"photo_id":"1401853183","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853176":["hashtag1","hashtag2"]},{"1401853187":["hashtag1","hashtag2"]},{"1401853172":["hashtag1","hashtag2"]},{"1401853192":["hashtag1","hashtag2"]},{"1401853180":["hashtag1","hashtag2"]},{"1401853183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853176, 1401853187, 1401853172, 1401853192, 1401853180, 1401853183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14288353919983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:46:02.758668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_44_9774.jpg', '/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_54_9599.jpg', '/home/pi/Desktop/images/31122025/07/14/image_31122025_07_15_05_10771.jpg', '/home/pi/Desktop/images/31122025/07/15/image_31122025_07_15_24_9563.jpg', '/home/pi/Desktop/images/31122025/07/15/image_31122025_07_15_44_9647.jpg', '/home/pi/Desktop/images/31122025/07/15/image_31122025_07_15_55_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_44_9774.jpg
/home/pi/Desktop/images/31122025/07/14/image_31122025_07_14_54_9599.jpg
/home/pi/Desktop/images/31122025/07/14/image_31122025_07_15_05_10771.jpg
/home/pi/Desktop/images/31122025/07/15/image_31122025_07_15_24_9563.jpg
/home/pi/Desktop/images/31122025/07/15/image_31122025_07_15_44_9647.jpg
/home/pi/Desktop/images/31122025/07/15/image_31122025_07_15_55_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853206","1401853209","1401853208","1401853217","1401853211","1401853204"],"photo_ids_order":["1401853204","1401853206","1401853208","1401853209","1401853211","1401853217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a17fac6e02906d2c746ddfd950ff121.jpg","text":"TemporaryFile(/tmp/multipartBody7267726737338135553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167223372,"filename":"image_31122025_07_14_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/534a29556a8c9be5cf4661d833e138fd.jpg","text":"TemporaryFile(/tmp/multipartBody2647565300540889038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167223372,"filename":"image_31122025_07_15_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3890a97defa5e8c719371d2413fa3bf.jpg","text":"TemporaryFile(/tmp/multipartBody7167175237455652145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167223372,"filename":"image_31122025_07_15_05_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7f5ca82ecf015252be79d4107f85ed9.jpg","text":"TemporaryFile(/tmp/multipartBody4021371958394322361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167223372,"filename":"image_31122025_07_15_55_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56d9e002b1d7f4501c3a4b0bd25ccf92.jpg","text":"TemporaryFile(/tmp/multipartBody802370146123520412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167223372,"filename":"image_31122025_07_15_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f1613bd4c945a69894c5149f23c7e47.jpg","text":"TemporaryFile(/tmp/multipartBody7762348311916159986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167223372,"filename":"image_31122025_07_14_44_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853208","file1":"1401853206","file0":"1401853204","file4":"1401853211","file5":"1401853217","file3":"1401853209"},"map_files_photo_id_array":[{"photo_id":"1401853217","filename":"file5"},{"photo_id":"1401853208","filename":"file2"},{"photo_id":"1401853211","filename":"file4"},{"photo_id":"1401853206","filename":"file1"},{"photo_id":"1401853204","filename":"file0"},{"photo_id":"1401853209","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853206":["hashtag1","hashtag2"]},{"1401853209":["hashtag1","hashtag2"]},{"1401853208":["hashtag1","hashtag2"]},{"1401853217":["hashtag1","hashtag2"]},{"1401853211":["hashtag1","hashtag2"]},{"1401853204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853206, 1401853209, 1401853208, 1401853217, 1401853211, 1401853204)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.524330139160156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:47:03.240273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_14_9569.jpg', '/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_24_10602.jpg', '/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_34_9510.jpg', '/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_45_10728.jpg', '/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_54_9622.jpg', '/home/pi/Desktop/images/31122025/07/16/image_31122025_07_17_04_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_14_9569.jpg
/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_24_10602.jpg
/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_34_9510.jpg
/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_45_10728.jpg
/home/pi/Desktop/images/31122025/07/16/image_31122025_07_16_54_9622.jpg
/home/pi/Desktop/images/31122025/07/16/image_31122025_07_17_04_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853306","1401853331","1401853325","1401853310","1401853297","1401853318"],"photo_ids_order":["1401853297","1401853306","1401853310","1401853318","1401853325","1401853331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d0960526a5f698ac4dee3c3bd34afd6.jpg","text":"TemporaryFile(/tmp/multipartBody3724246374047834721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167286608,"filename":"image_31122025_07_16_24_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/944ee6eccd58895f6f6340da44218268.jpg","text":"TemporaryFile(/tmp/multipartBody7324021099613256054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167286608,"filename":"image_31122025_07_17_04_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92d1a1556654590886a07a600d963e48.jpg","text":"TemporaryFile(/tmp/multipartBody6670855294475849294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167286608,"filename":"image_31122025_07_16_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da73c82465229f81fc4c3e728f71e182.jpg","text":"TemporaryFile(/tmp/multipartBody8892788270491656470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167286608,"filename":"image_31122025_07_16_34_9510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95e5c8fcba63c245138626fd8af865ff.jpg","text":"TemporaryFile(/tmp/multipartBody9001063038758346607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167286608,"filename":"image_31122025_07_16_14_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bebb39ddbb29098ecd572868dfd3482.jpg","text":"TemporaryFile(/tmp/multipartBody3158695171443592041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167286608,"filename":"image_31122025_07_16_45_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853310","file1":"1401853306","file0":"1401853297","file4":"1401853325","file5":"1401853331","file3":"1401853318"},"map_files_photo_id_array":[{"photo_id":"1401853331","filename":"file5"},{"photo_id":"1401853310","filename":"file2"},{"photo_id":"1401853325","filename":"file4"},{"photo_id":"1401853306","filename":"file1"},{"photo_id":"1401853297","filename":"file0"},{"photo_id":"1401853318","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853306":["hashtag1","hashtag2"]},{"1401853331":["hashtag1","hashtag2"]},{"1401853325":["hashtag1","hashtag2"]},{"1401853310":["hashtag1","hashtag2"]},{"1401853297":["hashtag1","hashtag2"]},{"1401853318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853306, 1401853331, 1401853325, 1401853310, 1401853297, 1401853318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69241666793823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:48:02.379487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/17/image_31122025_07_17_14_10545.jpg', '/home/pi/Desktop/images/31122025/07/17/image_31122025_07_17_24_9711.jpg', '/home/pi/Desktop/images/31122025/07/17/image_31122025_07_17_34_9793.jpg', '/home/pi/Desktop/images/31122025/07/17/image_31122025_07_17_54_9670.jpg', '/home/pi/Desktop/images/31122025/07/17/image_31122025_07_18_04_9734.jpg', '/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_14_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/17/image_31122025_07_17_14_10545.jpg
/home/pi/Desktop/images/31122025/07/17/image_31122025_07_17_24_9711.jpg
/home/pi/Desktop/images/31122025/07/17/image_31122025_07_17_34_9793.jpg
/home/pi/Desktop/images/31122025/07/17/image_31122025_07_17_54_9670.jpg
/home/pi/Desktop/images/31122025/07/17/image_31122025_07_18_04_9734.jpg
/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_14_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853611","1401853608","1401853550","1401853604","1401853534","1401853615"],"photo_ids_order":["1401853534","1401853550","1401853604","1401853608","1401853611","1401853615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/787660ecc5b24a3be21b80d0258c8e25.jpg","text":"TemporaryFile(/tmp/multipartBody1490690985050827548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167343009,"filename":"image_31122025_07_18_04_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f00ab6daa9f55cee49775965e7eb0f0.jpg","text":"TemporaryFile(/tmp/multipartBody914592668045848855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167343009,"filename":"image_31122025_07_17_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be27450154938dfb1208b2fb5581b728.jpg","text":"TemporaryFile(/tmp/multipartBody8405419708957585536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167343009,"filename":"image_31122025_07_17_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a9b1fe35cf008f5707c03d1ed5ef18c.jpg","text":"TemporaryFile(/tmp/multipartBody3554766176114781747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167343009,"filename":"image_31122025_07_17_34_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0a71c152c5e5f0e66f340f134a423d2.jpg","text":"TemporaryFile(/tmp/multipartBody7196265820864011255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167343009,"filename":"image_31122025_07_17_14_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5271d6d4c897f6f1c1f8836fa69f5aeb.jpg","text":"TemporaryFile(/tmp/multipartBody8928464457621597198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167343009,"filename":"image_31122025_07_18_14_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853604","file1":"1401853550","file0":"1401853534","file4":"1401853611","file5":"1401853615","file3":"1401853608"},"map_files_photo_id_array":[{"photo_id":"1401853615","filename":"file5"},{"photo_id":"1401853604","filename":"file2"},{"photo_id":"1401853611","filename":"file4"},{"photo_id":"1401853550","filename":"file1"},{"photo_id":"1401853534","filename":"file0"},{"photo_id":"1401853608","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853611":["hashtag1","hashtag2"]},{"1401853608":["hashtag1","hashtag2"]},{"1401853550":["hashtag1","hashtag2"]},{"1401853604":["hashtag1","hashtag2"]},{"1401853534":["hashtag1","hashtag2"]},{"1401853615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853611, 1401853608, 1401853550, 1401853604, 1401853534, 1401853615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75819396972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:48:41.927261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_49_2686.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_10_2671.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_13_2631.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_20_2829.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_22_2670.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_25_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/57/image_02112025_23_57_49_2686.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_10_2671.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_13_2631.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_20_2829.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_22_2670.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_25_2799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853641","1401853653","1401853634","1401853643","1401853637","1401853639"],"photo_ids_order":["1401853634","1401853637","1401853639","1401853641","1401853643","1401853653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a31eaf85745ffff6f366ce6aecb852f5.jpg","text":"TemporaryFile(/tmp/multipartBody2016558789020424836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167383951,"filename":"image_02112025_23_58_20_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59bdb62cfa9e3e1301d9668479d4f1ca.jpg","text":"TemporaryFile(/tmp/multipartBody1028879457951855761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167383951,"filename":"image_02112025_23_58_25_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5464377f9770cc1f3d60d97bfe506cd.jpg","text":"TemporaryFile(/tmp/multipartBody540910466354366747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167383951,"filename":"image_02112025_23_57_49_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4765b6f381cca0fb717a8a99ca4b31b.jpg","text":"TemporaryFile(/tmp/multipartBody5546557050704931928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167383951,"filename":"image_02112025_23_58_22_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de10703789aae4c26ee56073939cda92.jpg","text":"TemporaryFile(/tmp/multipartBody2375567890517113873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167383951,"filename":"image_02112025_23_58_10_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dea7be35de6253e03a12a913aac4b2c8.jpg","text":"TemporaryFile(/tmp/multipartBody5250635090887513618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167383951,"filename":"image_02112025_23_58_13_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853639","file1":"1401853637","file0":"1401853634","file4":"1401853643","file5":"1401853653","file3":"1401853641"},"map_files_photo_id_array":[{"photo_id":"1401853653","filename":"file5"},{"photo_id":"1401853639","filename":"file2"},{"photo_id":"1401853643","filename":"file4"},{"photo_id":"1401853637","filename":"file1"},{"photo_id":"1401853634","filename":"file0"},{"photo_id":"1401853641","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401853641":["hashtag1","hashtag2"]},{"1401853653":["hashtag1","hashtag2"]},{"1401853634":["hashtag1","hashtag2"]},{"1401853643":["hashtag1","hashtag2"]},{"1401853637":["hashtag1","hashtag2"]},{"1401853639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401853641, 1401853653, 1401853634, 1401853643, 1401853637, 1401853639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15732789039612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:49:22.205624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_24_10728.jpg', '/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_34_9592.jpg', '/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_45_10635.jpg', '/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_54_9708.jpg', '/home/pi/Desktop/images/31122025/07/18/image_31122025_07_19_04_9626.jpg', '/home/pi/Desktop/images/31122025/07/19/image_31122025_07_19_24_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_24_10728.jpg
/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_34_9592.jpg
/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_45_10635.jpg
/home/pi/Desktop/images/31122025/07/18/image_31122025_07_18_54_9708.jpg
/home/pi/Desktop/images/31122025/07/18/image_31122025_07_19_04_9626.jpg
/home/pi/Desktop/images/31122025/07/19/image_31122025_07_19_24_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853686","1401853677","1401853704","1401853682","1401853675","1401853699"],"photo_ids_order":["1401853675","1401853677","1401853682","1401853686","1401853699","1401853704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0f708e6105aeae081faf10ef5f6d494.jpg","text":"TemporaryFile(/tmp/multipartBody5264493842364736791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167422792,"filename":"image_31122025_07_18_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99f8f7fc2c8c129a93081e49c95226e1.jpg","text":"TemporaryFile(/tmp/multipartBody4417950084174354408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167422792,"filename":"image_31122025_07_18_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ed6448d8465cc57c6b5b81bf0b399cf.jpg","text":"TemporaryFile(/tmp/multipartBody6666152401563665500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167422792,"filename":"image_31122025_07_19_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37252ddf53032736cdde589cd6c09c4f.jpg","text":"TemporaryFile(/tmp/multipartBody283500379594724868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167422792,"filename":"image_31122025_07_18_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bf44dfc51e295b5227a6eb5bffbb892.jpg","text":"TemporaryFile(/tmp/multipartBody2105698725450383136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167422792,"filename":"image_31122025_07_18_24_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31b8b7d946ffb6831b0bed61eec43c0d.jpg","text":"TemporaryFile(/tmp/multipartBody8139465559107947711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167422792,"filename":"image_31122025_07_19_04_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853682","file1":"1401853677","file0":"1401853675","file4":"1401853699","file5":"1401853704","file3":"1401853686"},"map_files_photo_id_array":[{"photo_id":"1401853704","filename":"file5"},{"photo_id":"1401853682","filename":"file2"},{"photo_id":"1401853699","filename":"file4"},{"photo_id":"1401853677","filename":"file1"},{"photo_id":"1401853675","filename":"file0"},{"photo_id":"1401853686","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853686":["hashtag1","hashtag2"]},{"1401853677":["hashtag1","hashtag2"]},{"1401853704":["hashtag1","hashtag2"]},{"1401853682":["hashtag1","hashtag2"]},{"1401853675":["hashtag1","hashtag2"]},{"1401853699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853686, 1401853677, 1401853704, 1401853682, 1401853675, 1401853699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75497651100159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:50:02.722564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/19/image_31122025_07_19_34_9641.jpg', '/home/pi/Desktop/images/31122025/07/19/image_31122025_07_19_45_10633.jpg', '/home/pi/Desktop/images/31122025/07/19/image_31122025_07_19_54_9624.jpg', '/home/pi/Desktop/images/31122025/07/19/image_31122025_07_20_04_9910.jpg', '/home/pi/Desktop/images/31122025/07/20/image_31122025_07_20_14_9721.jpg', '/home/pi/Desktop/images/31122025/07/20/image_31122025_07_20_25_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/19/image_31122025_07_19_34_9641.jpg
/home/pi/Desktop/images/31122025/07/19/image_31122025_07_19_45_10633.jpg
/home/pi/Desktop/images/31122025/07/19/image_31122025_07_19_54_9624.jpg
/home/pi/Desktop/images/31122025/07/19/image_31122025_07_20_04_9910.jpg
/home/pi/Desktop/images/31122025/07/20/image_31122025_07_20_14_9721.jpg
/home/pi/Desktop/images/31122025/07/20/image_31122025_07_20_25_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853722","1401853724","1401853732","1401853726","1401853735","1401853729"],"photo_ids_order":["1401853722","1401853724","1401853726","1401853729","1401853732","1401853735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a161c460262afdd82ba6674d8976f31.jpg","text":"TemporaryFile(/tmp/multipartBody7188404272128640964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167463333,"filename":"image_31122025_07_19_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71ac02ed661fe0190478c2d67559839a.jpg","text":"TemporaryFile(/tmp/multipartBody1107170980889118022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167463333,"filename":"image_31122025_07_19_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31384998f1a30d9c1d7dd838b79624e5.jpg","text":"TemporaryFile(/tmp/multipartBody7470400049108444543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167463333,"filename":"image_31122025_07_20_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da3748e2a4af1389eba6a03fef19a756.jpg","text":"TemporaryFile(/tmp/multipartBody5621793167690992859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167463333,"filename":"image_31122025_07_19_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5cc7889241930e67e8071cd104e660f.jpg","text":"TemporaryFile(/tmp/multipartBody2093554703465752270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167463333,"filename":"image_31122025_07_20_25_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5938069795572613de29a6ba7f966e33.jpg","text":"TemporaryFile(/tmp/multipartBody6644330638987174853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167463333,"filename":"image_31122025_07_20_04_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853726","file1":"1401853724","file0":"1401853722","file4":"1401853732","file5":"1401853735","file3":"1401853729"},"map_files_photo_id_array":[{"photo_id":"1401853735","filename":"file5"},{"photo_id":"1401853726","filename":"file2"},{"photo_id":"1401853732","filename":"file4"},{"photo_id":"1401853724","filename":"file1"},{"photo_id":"1401853722","filename":"file0"},{"photo_id":"1401853729","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853722":["hashtag1","hashtag2"]},{"1401853724":["hashtag1","hashtag2"]},{"1401853732":["hashtag1","hashtag2"]},{"1401853726":["hashtag1","hashtag2"]},{"1401853735":["hashtag1","hashtag2"]},{"1401853729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853722, 1401853724, 1401853732, 1401853726, 1401853735, 1401853729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.787994384765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:50:42.255399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_32_2694.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_34_2605.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_40_2558.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_50_5709.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_56_2879.jpg', '/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_59_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_32_2694.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_34_2605.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_40_2558.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_50_5709.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_56_2879.jpg
/home/pi/Desktop/images/02112025/23/58/image_02112025_23_58_59_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853788","1401853796","1401853787","1401853757","1401853789","1401853759"],"photo_ids_order":["1401853757","1401853759","1401853787","1401853788","1401853789","1401853796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11e73ab29957d006b1d186d59c2eaafe.jpg","text":"TemporaryFile(/tmp/multipartBody4452481575615719944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167504180,"filename":"image_02112025_23_58_50_5709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10610ca56eb6eb1d5236b3a88cc19a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2964387737209325893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167504180,"filename":"image_02112025_23_58_59_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a3ec0de76d74b8ef22c8709f92768e8.jpg","text":"TemporaryFile(/tmp/multipartBody5794808507506462312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167504180,"filename":"image_02112025_23_58_40_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85d864e2097dc93ecef585235131371b.jpg","text":"TemporaryFile(/tmp/multipartBody6588203417979970328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167504180,"filename":"image_02112025_23_58_32_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e330484b5f6046a54e34188519be1e40.jpg","text":"TemporaryFile(/tmp/multipartBody2990592136447517968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167504180,"filename":"image_02112025_23_58_56_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52b4e40511cf071ff84a4f8806b49629.jpg","text":"TemporaryFile(/tmp/multipartBody7561000066512887946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167504180,"filename":"image_02112025_23_58_34_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853787","file1":"1401853759","file0":"1401853757","file4":"1401853789","file5":"1401853796","file3":"1401853788"},"map_files_photo_id_array":[{"photo_id":"1401853796","filename":"file5"},{"photo_id":"1401853787","filename":"file2"},{"photo_id":"1401853789","filename":"file4"},{"photo_id":"1401853759","filename":"file1"},{"photo_id":"1401853757","filename":"file0"},{"photo_id":"1401853788","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401853788":["hashtag1","hashtag2"]},{"1401853796":["hashtag1","hashtag2"]},{"1401853787":["hashtag1","hashtag2"]},{"1401853757":["hashtag1","hashtag2"]},{"1401853789":["hashtag1","hashtag2"]},{"1401853759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401853788, 1401853796, 1401853787, 1401853757, 1401853789, 1401853759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.884833574295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:51:22.403581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/20/image_31122025_07_20_34_9607.jpg', '/home/pi/Desktop/images/31122025/07/20/image_31122025_07_20_44_9677.jpg', '/home/pi/Desktop/images/31122025/07/21/image_31122025_07_21_15_10624.jpg', '/home/pi/Desktop/images/31122025/07/21/image_31122025_07_21_44_10647.jpg', '/home/pi/Desktop/images/31122025/07/22/image_31122025_07_22_34_9598.jpg', '/home/pi/Desktop/images/31122025/07/22/image_31122025_07_22_45_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/20/image_31122025_07_20_34_9607.jpg
/home/pi/Desktop/images/31122025/07/20/image_31122025_07_20_44_9677.jpg
/home/pi/Desktop/images/31122025/07/21/image_31122025_07_21_15_10624.jpg
/home/pi/Desktop/images/31122025/07/21/image_31122025_07_21_44_10647.jpg
/home/pi/Desktop/images/31122025/07/22/image_31122025_07_22_34_9598.jpg
/home/pi/Desktop/images/31122025/07/22/image_31122025_07_22_45_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853824","1401853827","1401853829","1401853820","1401853831","1401853834"],"photo_ids_order":["1401853820","1401853824","1401853827","1401853829","1401853831","1401853834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a8a7fc02e9cd3a6a4253b7a59892f52.jpg","text":"TemporaryFile(/tmp/multipartBody7100348443460056814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167543000,"filename":"image_31122025_07_20_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f41d80a982babe2c9aa489e4b2edb6e1.jpg","text":"TemporaryFile(/tmp/multipartBody3237154227625055822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167543000,"filename":"image_31122025_07_21_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6f1079d5adb9cea6117f80097ca43ff.jpg","text":"TemporaryFile(/tmp/multipartBody5238829460283913216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167543000,"filename":"image_31122025_07_21_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd6e6051b401e9eeb512ee94c910ab42.jpg","text":"TemporaryFile(/tmp/multipartBody6482089673625808355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167543000,"filename":"image_31122025_07_20_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38a29944aee1c2df63f011440464559b.jpg","text":"TemporaryFile(/tmp/multipartBody8335328276005263886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167543000,"filename":"image_31122025_07_22_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3348681a5693d823ef6cf083cd111aff.jpg","text":"TemporaryFile(/tmp/multipartBody3298259143040961133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167543000,"filename":"image_31122025_07_22_45_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853827","file1":"1401853824","file0":"1401853820","file4":"1401853831","file5":"1401853834","file3":"1401853829"},"map_files_photo_id_array":[{"photo_id":"1401853834","filename":"file5"},{"photo_id":"1401853827","filename":"file2"},{"photo_id":"1401853831","filename":"file4"},{"photo_id":"1401853824","filename":"file1"},{"photo_id":"1401853820","filename":"file0"},{"photo_id":"1401853829","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853824":["hashtag1","hashtag2"]},{"1401853827":["hashtag1","hashtag2"]},{"1401853829":["hashtag1","hashtag2"]},{"1401853820":["hashtag1","hashtag2"]},{"1401853831":["hashtag1","hashtag2"]},{"1401853834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853824, 1401853827, 1401853829, 1401853820, 1401853831, 1401853834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8811297416687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:52:03.197310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/22/image_31122025_07_22_54_9711.jpg', '/home/pi/Desktop/images/31122025/07/22/image_31122025_07_23_04_9531.jpg', '/home/pi/Desktop/images/31122025/07/23/image_31122025_07_23_15_10701.jpg', '/home/pi/Desktop/images/31122025/07/23/image_31122025_07_23_24_9691.jpg', '/home/pi/Desktop/images/31122025/07/23/image_31122025_07_23_34_9624.jpg', '/home/pi/Desktop/images/31122025/07/23/image_31122025_07_23_44_10567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/22/image_31122025_07_22_54_9711.jpg
/home/pi/Desktop/images/31122025/07/22/image_31122025_07_23_04_9531.jpg
/home/pi/Desktop/images/31122025/07/23/image_31122025_07_23_15_10701.jpg
/home/pi/Desktop/images/31122025/07/23/image_31122025_07_23_24_9691.jpg
/home/pi/Desktop/images/31122025/07/23/image_31122025_07_23_34_9624.jpg
/home/pi/Desktop/images/31122025/07/23/image_31122025_07_23_44_10567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853848","1401853842","1401853859","1401853856","1401853844","1401853846"],"photo_ids_order":["1401853842","1401853844","1401853846","1401853848","1401853856","1401853859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a14970af9e8b1d294f308ba84b9e2e3.jpg","text":"TemporaryFile(/tmp/multipartBody7552383575590189807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167583839,"filename":"image_31122025_07_23_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac413b6f88b5974db790eb4019cbbfdc.jpg","text":"TemporaryFile(/tmp/multipartBody3930719154563158426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167583839,"filename":"image_31122025_07_22_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/905191124b8157dad8f6269915e40801.jpg","text":"TemporaryFile(/tmp/multipartBody1207683596660273033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167583839,"filename":"image_31122025_07_23_44_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/384449abe374cbd038a0b36742b33456.jpg","text":"TemporaryFile(/tmp/multipartBody4490909683822408683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167583839,"filename":"image_31122025_07_23_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e8124fff39ee48ea47000a583fe0201.jpg","text":"TemporaryFile(/tmp/multipartBody5228125167396774081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167583839,"filename":"image_31122025_07_23_04_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9c112249c43db320b5668b32333e399.jpg","text":"TemporaryFile(/tmp/multipartBody7725005436117792497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167583839,"filename":"image_31122025_07_23_15_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853846","file1":"1401853844","file0":"1401853842","file4":"1401853856","file5":"1401853859","file3":"1401853848"},"map_files_photo_id_array":[{"photo_id":"1401853859","filename":"file5"},{"photo_id":"1401853846","filename":"file2"},{"photo_id":"1401853856","filename":"file4"},{"photo_id":"1401853844","filename":"file1"},{"photo_id":"1401853842","filename":"file0"},{"photo_id":"1401853848","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853848":["hashtag1","hashtag2"]},{"1401853842":["hashtag1","hashtag2"]},{"1401853859":["hashtag1","hashtag2"]},{"1401853856":["hashtag1","hashtag2"]},{"1401853844":["hashtag1","hashtag2"]},{"1401853846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853848, 1401853842, 1401853859, 1401853856, 1401853844, 1401853846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19936275482178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:52:42.741347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_04_2680.jpg', '/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_08_3575.jpg', '/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_11_2881.jpg', '/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_13_2584.jpg', '/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_17_3766.jpg', '/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_25_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_04_2680.jpg
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_08_3575.jpg
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_11_2881.jpg
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_13_2584.jpg
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_17_3766.jpg
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_25_2853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853909","1401853895","1401853898","1401853907","1401853901","1401853906"],"photo_ids_order":["1401853895","1401853898","1401853901","1401853906","1401853907","1401853909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1314898a60df2f71d541f073685c9543.jpg","text":"TemporaryFile(/tmp/multipartBody4506730855608157647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167624657,"filename":"image_02112025_23_59_25_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb0b511c0adf1c65217a7714452069ec.jpg","text":"TemporaryFile(/tmp/multipartBody8898012942125120401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167624657,"filename":"image_02112025_23_59_04_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4406c9c560c3b75e3e58a3c9b444fd55.jpg","text":"TemporaryFile(/tmp/multipartBody2000658480806372971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167624657,"filename":"image_02112025_23_59_08_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48c1e5f3f12ca906d7eb74598b6a05a9.jpg","text":"TemporaryFile(/tmp/multipartBody4033934498853854173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167624657,"filename":"image_02112025_23_59_17_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/207dfcac18c94f14ee25534e178f4c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7626172014784391952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167624657,"filename":"image_02112025_23_59_11_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b07d99b5f6c6ecfb48f8fe965372715d.jpg","text":"TemporaryFile(/tmp/multipartBody3762305131594638013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167624657,"filename":"image_02112025_23_59_13_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853901","file1":"1401853898","file0":"1401853895","file4":"1401853907","file5":"1401853909","file3":"1401853906"},"map_files_photo_id_array":[{"photo_id":"1401853909","filename":"file5"},{"photo_id":"1401853901","filename":"file2"},{"photo_id":"1401853907","filename":"file4"},{"photo_id":"1401853898","filename":"file1"},{"photo_id":"1401853895","filename":"file0"},{"photo_id":"1401853906","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401853909":["hashtag1","hashtag2"]},{"1401853895":["hashtag1","hashtag2"]},{"1401853898":["hashtag1","hashtag2"]},{"1401853907":["hashtag1","hashtag2"]},{"1401853901":["hashtag1","hashtag2"]},{"1401853906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401853909, 1401853895, 1401853898, 1401853907, 1401853901, 1401853906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47282361984253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:53:21.923950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/23/image_31122025_07_24_04_9849.jpg', '/home/pi/Desktop/images/31122025/07/24/image_31122025_07_24_24_9706.jpg', '/home/pi/Desktop/images/31122025/07/24/image_31122025_07_24_34_9548.jpg', '/home/pi/Desktop/images/31122025/07/24/image_31122025_07_24_44_9813.jpg', '/home/pi/Desktop/images/31122025/07/24/image_31122025_07_24_55_10839.jpg', '/home/pi/Desktop/images/31122025/07/24/image_31122025_07_25_04_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/23/image_31122025_07_24_04_9849.jpg
/home/pi/Desktop/images/31122025/07/24/image_31122025_07_24_24_9706.jpg
/home/pi/Desktop/images/31122025/07/24/image_31122025_07_24_34_9548.jpg
/home/pi/Desktop/images/31122025/07/24/image_31122025_07_24_44_9813.jpg
/home/pi/Desktop/images/31122025/07/24/image_31122025_07_24_55_10839.jpg
/home/pi/Desktop/images/31122025/07/24/image_31122025_07_25_04_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853920","1401853931","1401853928","1401853916","1401853924","1401853933"],"photo_ids_order":["1401853916","1401853920","1401853924","1401853928","1401853931","1401853933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bca0ce3dc68956db2eff591ed4876c1.jpg","text":"TemporaryFile(/tmp/multipartBody577830183450372995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167662515,"filename":"image_31122025_07_24_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cd077607d79e2dc055cee9450da4ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6686827227319808807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167662515,"filename":"image_31122025_07_24_55_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfd427fd47dbfda80a8b6ae427c7327a.jpg","text":"TemporaryFile(/tmp/multipartBody2610287145164529364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167662515,"filename":"image_31122025_07_24_44_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c493316a79e6543f8b53a9faed87d3d4.jpg","text":"TemporaryFile(/tmp/multipartBody4573758458717257893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167662515,"filename":"image_31122025_07_24_04_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7285931784a3ef6825a820ee0dda8538.jpg","text":"TemporaryFile(/tmp/multipartBody5661786768066457900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167662515,"filename":"image_31122025_07_24_34_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a8a23dca0c2b162b70ba39097a99078.jpg","text":"TemporaryFile(/tmp/multipartBody8283781346923035480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167662515,"filename":"image_31122025_07_25_04_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853924","file1":"1401853920","file0":"1401853916","file4":"1401853931","file5":"1401853933","file3":"1401853928"},"map_files_photo_id_array":[{"photo_id":"1401853933","filename":"file5"},{"photo_id":"1401853924","filename":"file2"},{"photo_id":"1401853931","filename":"file4"},{"photo_id":"1401853920","filename":"file1"},{"photo_id":"1401853916","filename":"file0"},{"photo_id":"1401853928","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853920":["hashtag1","hashtag2"]},{"1401853931":["hashtag1","hashtag2"]},{"1401853928":["hashtag1","hashtag2"]},{"1401853916":["hashtag1","hashtag2"]},{"1401853924":["hashtag1","hashtag2"]},{"1401853933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853920, 1401853931, 1401853928, 1401853916, 1401853924, 1401853933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7263662815094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:54:02.819714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_14_9718.jpg', '/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_25_10693.jpg', '/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_34_9556.jpg', '/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_44_9964.jpg', '/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_54_9707.jpg', '/home/pi/Desktop/images/31122025/07/25/image_31122025_07_26_05_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_14_9718.jpg
/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_25_10693.jpg
/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_34_9556.jpg
/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_44_9964.jpg
/home/pi/Desktop/images/31122025/07/25/image_31122025_07_25_54_9707.jpg
/home/pi/Desktop/images/31122025/07/25/image_31122025_07_26_05_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853983","1401853965","1401853976","1401853979","1401853973","1401853969"],"photo_ids_order":["1401853965","1401853969","1401853973","1401853976","1401853979","1401853983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3a7f88e80a1aa07f71ac54f66e8cdd4.jpg","text":"TemporaryFile(/tmp/multipartBody6018734550740574454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167703461,"filename":"image_31122025_07_26_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e370422e3af2e1adde83a5f20188bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3297728569362050644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167703461,"filename":"image_31122025_07_25_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bca5c98c8619c147f79165a5bde66f24.jpg","text":"TemporaryFile(/tmp/multipartBody2628564854463824244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167703461,"filename":"image_31122025_07_25_44_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3566bfd7d26ac7d18d3c10d605146135.jpg","text":"TemporaryFile(/tmp/multipartBody696052615345137050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167703461,"filename":"image_31122025_07_25_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfd6f57a04d396a861f09d7e73d0ea06.jpg","text":"TemporaryFile(/tmp/multipartBody8988662746109616636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167703461,"filename":"image_31122025_07_25_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b033a53ddcbf2c1ed54279fb1906487c.jpg","text":"TemporaryFile(/tmp/multipartBody5350758276515833203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167703461,"filename":"image_31122025_07_25_25_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401853973","file1":"1401853969","file0":"1401853965","file4":"1401853979","file5":"1401853983","file3":"1401853976"},"map_files_photo_id_array":[{"photo_id":"1401853983","filename":"file5"},{"photo_id":"1401853973","filename":"file2"},{"photo_id":"1401853979","filename":"file4"},{"photo_id":"1401853969","filename":"file1"},{"photo_id":"1401853965","filename":"file0"},{"photo_id":"1401853976","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401853983":["hashtag1","hashtag2"]},{"1401853965":["hashtag1","hashtag2"]},{"1401853976":["hashtag1","hashtag2"]},{"1401853979":["hashtag1","hashtag2"]},{"1401853973":["hashtag1","hashtag2"]},{"1401853969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401853983, 1401853965, 1401853976, 1401853979, 1401853973, 1401853969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.806686878204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:54:42.150395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_29_3715.jpg', '/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_37_1577.jpg', '/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_44_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_29_3715.jpg
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_37_1577.jpg
/home/pi/Desktop/images/02112025/23/59/image_02112025_23_59_44_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401853998","1401854000","1401853995"],"photo_ids_order":["1401853995","1401853998","1401854000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fd5c160edc43e4c2e0199f01d84abaf.jpg","text":"TemporaryFile(/tmp/multipartBody8224778584315680511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167743958,"filename":"image_02112025_23_59_37_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c45577d1341826d5e8b8c818a93f94f.jpg","text":"TemporaryFile(/tmp/multipartBody5750484111809413695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167743958,"filename":"image_02112025_23_59_44_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b227bbce5136d6c1998f0b4bd47b0c07.jpg","text":"TemporaryFile(/tmp/multipartBody8832187250821638072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167743958,"filename":"image_02112025_23_59_29_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401854000","file1":"1401853998","file0":"1401853995"},"map_files_photo_id_array":[{"photo_id":"1401854000","filename":"file2"},{"photo_id":"1401853998","filename":"file1"},{"photo_id":"1401853995","filename":"file0"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1401853998":["hashtag1","hashtag2"]},{"1401854000":["hashtag1","hashtag2"]},{"1401853995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1401853998, 1401854000, 1401853995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.096746921539307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:55:12.328933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_29_1687.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_32_2684.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_35_2621.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_38_2881.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_40_2712.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_44_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_29_1687.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_32_2684.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_35_2621.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_38_2881.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_40_2712.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_44_3625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401854214","1401854142","1401854288","1401854252","1401854105","1401854178"],"photo_ids_order":["1401854105","1401854142","1401854178","1401854214","1401854252","1401854288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0c4ce9c847c107c9f739ba53535c4b8.jpg","text":"TemporaryFile(/tmp/multipartBody9001358534176895509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167774228,"filename":"image_03112025_17_11_38_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65dc1f3ac212230c57ba235127ad039f.jpg","text":"TemporaryFile(/tmp/multipartBody7631165817756142294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167774228,"filename":"image_03112025_17_11_32_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67d9ba8975eb9a44dc33efc19ea7dc2b.jpg","text":"TemporaryFile(/tmp/multipartBody6521403368262398519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167774228,"filename":"image_03112025_17_11_44_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bee31a64aa7ca8e836c321c8a880e2a7.jpg","text":"TemporaryFile(/tmp/multipartBody5744086195094705322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167774228,"filename":"image_03112025_17_11_40_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a820c8a2c4e012724c124ddf913b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody2303220154389361173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167774228,"filename":"image_03112025_17_11_29_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc8ce8f83ba735b3d4ddd134fb26e38e.jpg","text":"TemporaryFile(/tmp/multipartBody3574408157035588185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167774228,"filename":"image_03112025_17_11_35_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401854178","file1":"1401854142","file0":"1401854105","file4":"1401854252","file5":"1401854288","file3":"1401854214"},"map_files_photo_id_array":[{"photo_id":"1401854288","filename":"file5"},{"photo_id":"1401854178","filename":"file2"},{"photo_id":"1401854252","filename":"file4"},{"photo_id":"1401854142","filename":"file1"},{"photo_id":"1401854105","filename":"file0"},{"photo_id":"1401854214","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401854214":["hashtag1","hashtag2"]},{"1401854142":["hashtag1","hashtag2"]},{"1401854288":["hashtag1","hashtag2"]},{"1401854252":["hashtag1","hashtag2"]},{"1401854105":["hashtag1","hashtag2"]},{"1401854178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401854214, 1401854142, 1401854288, 1401854252, 1401854105, 1401854178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26118087768555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:56:03.019263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_14_9783.jpg', '/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_24_9682.jpg', '/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_35_10627.jpg', '/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_45_9871.jpg', '/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_54_9577.jpg', '/home/pi/Desktop/images/31122025/07/26/image_31122025_07_27_05_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_14_9783.jpg
/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_24_9682.jpg
/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_35_10627.jpg
/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_45_9871.jpg
/home/pi/Desktop/images/31122025/07/26/image_31122025_07_26_54_9577.jpg
/home/pi/Desktop/images/31122025/07/26/image_31122025_07_27_05_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401854343","1401854337","1401854345","1401854339","1401854350","1401854341"],"photo_ids_order":["1401854337","1401854339","1401854341","1401854343","1401854345","1401854350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4530745609f9f36a8d553d8c29786d33.jpg","text":"TemporaryFile(/tmp/multipartBody4180737545620874692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167823631,"filename":"image_31122025_07_26_45_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86a84c2fd95a68b6bd633edd5c4b5dd6.jpg","text":"TemporaryFile(/tmp/multipartBody2995029783417949435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167823631,"filename":"image_31122025_07_26_14_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a30f6240ea1de465138f5f1128505b1b.jpg","text":"TemporaryFile(/tmp/multipartBody6234610693925816295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167823631,"filename":"image_31122025_07_26_54_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9f55f8ad18c323e3d644adf4563560d.jpg","text":"TemporaryFile(/tmp/multipartBody5973513151349526850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167823631,"filename":"image_31122025_07_26_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eadba03a7f51a7689e5fccff59c7e292.jpg","text":"TemporaryFile(/tmp/multipartBody3469369091754450933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167823631,"filename":"image_31122025_07_27_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a168782d36926fe723742871987227b0.jpg","text":"TemporaryFile(/tmp/multipartBody3452920317636144118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167823631,"filename":"image_31122025_07_26_35_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401854341","file1":"1401854339","file0":"1401854337","file4":"1401854345","file5":"1401854350","file3":"1401854343"},"map_files_photo_id_array":[{"photo_id":"1401854350","filename":"file5"},{"photo_id":"1401854341","filename":"file2"},{"photo_id":"1401854345","filename":"file4"},{"photo_id":"1401854339","filename":"file1"},{"photo_id":"1401854337","filename":"file0"},{"photo_id":"1401854343","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401854343":["hashtag1","hashtag2"]},{"1401854337":["hashtag1","hashtag2"]},{"1401854345":["hashtag1","hashtag2"]},{"1401854339":["hashtag1","hashtag2"]},{"1401854350":["hashtag1","hashtag2"]},{"1401854341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401854343, 1401854337, 1401854345, 1401854339, 1401854350, 1401854341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.758540391922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 08:56:42.549733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_47_2660.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_49_2699.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_53_3700.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_56_2612.jpg', '/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_58_2566.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_02_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_47_2660.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_49_2699.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_53_3700.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_56_2612.jpg
/home/pi/Desktop/images/03112025/17/11/image_03112025_17_11_58_2566.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_02_3598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401854390","1401854372","1401854392","1401854391","1401854394","1401854361"],"photo_ids_order":["1401854361","1401854372","1401854390","1401854391","1401854392","1401854394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ad9a9eb35119a26f9da6b2f07594896.jpg","text":"TemporaryFile(/tmp/multipartBody1482850062656212336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167864534,"filename":"image_03112025_17_11_53_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2436aa88885e69ee01f0ed8a2f38d09e.jpg","text":"TemporaryFile(/tmp/multipartBody3514058596109323783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167864534,"filename":"image_03112025_17_11_49_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/463ef869de2b4278c7b6646cd92e3481.jpg","text":"TemporaryFile(/tmp/multipartBody406836076406159891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167864534,"filename":"image_03112025_17_11_58_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c531e866467f1564cdd3512560f0b98.jpg","text":"TemporaryFile(/tmp/multipartBody584655352772747151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167864534,"filename":"image_03112025_17_11_56_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e59379041422fca9036b5fe7a85739ef.jpg","text":"TemporaryFile(/tmp/multipartBody8366867231288590406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167864534,"filename":"image_03112025_17_12_02_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b635c1c8411c7a79f0a22a2403449cf0.jpg","text":"TemporaryFile(/tmp/multipartBody4080972910767044199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167864534,"filename":"image_03112025_17_11_47_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401854390","file1":"1401854372","file0":"1401854361","file4":"1401854392","file5":"1401854394","file3":"1401854391"},"map_files_photo_id_array":[{"photo_id":"1401854394","filename":"file5"},{"photo_id":"1401854390","filename":"file2"},{"photo_id":"1401854392","filename":"file4"},{"photo_id":"1401854372","filename":"file1"},{"photo_id":"1401854361","filename":"file0"},{"photo_id":"1401854391","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401854390":["hashtag1","hashtag2"]},{"1401854372":["hashtag1","hashtag2"]},{"1401854392":["hashtag1","hashtag2"]},{"1401854391":["hashtag1","hashtag2"]},{"1401854394":["hashtag1","hashtag2"]},{"1401854361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401854390, 1401854372, 1401854392, 1401854391, 1401854394, 1401854361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39059615135193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 08:57:22.740497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/27/image_31122025_07_27_14_9668.jpg', '/home/pi/Desktop/images/31122025/07/27/image_31122025_07_27_24_9663.jpg', '/home/pi/Desktop/images/31122025/07/27/image_31122025_07_27_35_10527.jpg', '/home/pi/Desktop/images/31122025/07/27/image_31122025_07_27_44_9583.jpg', '/home/pi/Desktop/images/31122025/07/27/image_31122025_07_28_04_10646.jpg', '/home/pi/Desktop/images/31122025/07/28/image_31122025_07_28_14_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/27/image_31122025_07_27_14_9668.jpg
/home/pi/Desktop/images/31122025/07/27/image_31122025_07_27_24_9663.jpg
/home/pi/Desktop/images/31122025/07/27/image_31122025_07_27_35_10527.jpg
/home/pi/Desktop/images/31122025/07/27/image_31122025_07_27_44_9583.jpg
/home/pi/Desktop/images/31122025/07/27/image_31122025_07_28_04_10646.jpg
/home/pi/Desktop/images/31122025/07/28/image_31122025_07_28_14_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401854535","1401854538","1401854523","1401854498","1401854506","1401854509"],"photo_ids_order":["1401854498","1401854506","1401854509","1401854523","1401854535","1401854538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fdd30f3112eb7d034ae012ce60b3b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8267554876903441738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167903365,"filename":"image_31122025_07_28_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42cbcd1fcb3acbaa9fb4c0ff16cbba81.jpg","text":"TemporaryFile(/tmp/multipartBody4002492882474019703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167903365,"filename":"image_31122025_07_28_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fceca52602f2bb1670624f443dfaf2e.jpg","text":"TemporaryFile(/tmp/multipartBody4322969369126629734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167903365,"filename":"image_31122025_07_27_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bc524f8cd7bdcd0d4ff569adc2c790b.jpg","text":"TemporaryFile(/tmp/multipartBody7283756316056410003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167903365,"filename":"image_31122025_07_27_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c2011d114ac8603af4565bb20f41fa7.jpg","text":"TemporaryFile(/tmp/multipartBody6553995740877992404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167903365,"filename":"image_31122025_07_27_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed79f081007b7fb0693e7add0d6a36ec.jpg","text":"TemporaryFile(/tmp/multipartBody4237082944270129702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767167903365,"filename":"image_31122025_07_27_35_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401854509","file1":"1401854506","file0":"1401854498","file4":"1401854535","file5":"1401854538","file3":"1401854523"},"map_files_photo_id_array":[{"photo_id":"1401854538","filename":"file5"},{"photo_id":"1401854509","filename":"file2"},{"photo_id":"1401854535","filename":"file4"},{"photo_id":"1401854506","filename":"file1"},{"photo_id":"1401854498","filename":"file0"},{"photo_id":"1401854523","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401854535":["hashtag1","hashtag2"]},{"1401854538":["hashtag1","hashtag2"]},{"1401854523":["hashtag1","hashtag2"]},{"1401854498":["hashtag1","hashtag2"]},{"1401854506":["hashtag1","hashtag2"]},{"1401854509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401854535, 1401854538, 1401854523, 1401854498, 1401854506, 1401854509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60321354866028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 08:59:02.975905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/28/image_31122025_07_28_25_10628.jpg', '/home/pi/Desktop/images/31122025/07/28/image_31122025_07_28_34_9707.jpg', '/home/pi/Desktop/images/31122025/07/28/image_31122025_07_28_55_10636.jpg', '/home/pi/Desktop/images/31122025/07/28/image_31122025_07_29_04_9837.jpg', '/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_14_9744.jpg', '/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_24_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/28/image_31122025_07_28_25_10628.jpg
/home/pi/Desktop/images/31122025/07/28/image_31122025_07_28_34_9707.jpg
/home/pi/Desktop/images/31122025/07/28/image_31122025_07_28_55_10636.jpg
/home/pi/Desktop/images/31122025/07/28/image_31122025_07_29_04_9837.jpg
/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_14_9744.jpg
/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_24_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401854610","1401854607","1401854615","1401854598","1401854617","1401854602"],"photo_ids_order":["1401854598","1401854602","1401854607","1401854610","1401854615","1401854617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c51a0c2392d09476c33befa9faadafed.jpg","text":"TemporaryFile(/tmp/multipartBody89963890099441810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168008665,"filename":"image_31122025_07_29_04_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42784d1183987de6128443963f646240.jpg","text":"TemporaryFile(/tmp/multipartBody3262218747323691417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168008665,"filename":"image_31122025_07_28_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d561029fb7a1ae04a910227f5a0a959.jpg","text":"TemporaryFile(/tmp/multipartBody5603074693099327966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168008665,"filename":"image_31122025_07_29_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68f6ba23d5e6f4597c151f96281af8e6.jpg","text":"TemporaryFile(/tmp/multipartBody4114681818720306393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168008665,"filename":"image_31122025_07_28_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b1dc5e53740c5ddea4d3619f25acd0d.jpg","text":"TemporaryFile(/tmp/multipartBody6388404101538859734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168008665,"filename":"image_31122025_07_29_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2ca10bd4365e3a4bf96f55c57e28913.jpg","text":"TemporaryFile(/tmp/multipartBody3978824020549445752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168008665,"filename":"image_31122025_07_28_34_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401854607","file1":"1401854602","file0":"1401854598","file4":"1401854615","file5":"1401854617","file3":"1401854610"},"map_files_photo_id_array":[{"photo_id":"1401854617","filename":"file5"},{"photo_id":"1401854607","filename":"file2"},{"photo_id":"1401854615","filename":"file4"},{"photo_id":"1401854602","filename":"file1"},{"photo_id":"1401854598","filename":"file0"},{"photo_id":"1401854610","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401854610":["hashtag1","hashtag2"]},{"1401854607":["hashtag1","hashtag2"]},{"1401854615":["hashtag1","hashtag2"]},{"1401854598":["hashtag1","hashtag2"]},{"1401854617":["hashtag1","hashtag2"]},{"1401854602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401854610, 1401854607, 1401854615, 1401854598, 1401854617, 1401854602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35352444648743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:00:02.658035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_35_10700.jpg', '/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_44_9763.jpg', '/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_54_9770.jpg', '/home/pi/Desktop/images/31122025/07/29/image_31122025_07_30_04_9693.jpg', '/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_15_10755.jpg', '/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_35_10700.jpg
/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_44_9763.jpg
/home/pi/Desktop/images/31122025/07/29/image_31122025_07_29_54_9770.jpg
/home/pi/Desktop/images/31122025/07/29/image_31122025_07_30_04_9693.jpg
/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_15_10755.jpg
/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_24_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401854664","1401854666","1401854669","1401854662","1401854659","1401854667"],"photo_ids_order":["1401854659","1401854662","1401854664","1401854666","1401854667","1401854669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da78b32f0ffe1d1b3377ebf7a474c77b.jpg","text":"TemporaryFile(/tmp/multipartBody5255968176205481714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168063278,"filename":"image_31122025_07_29_54_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c309f1490f25e6bf51dd8a6691c2011c.jpg","text":"TemporaryFile(/tmp/multipartBody2286772050139581166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168063278,"filename":"image_31122025_07_30_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5675dae046cd98d2b78773255d329c4f.jpg","text":"TemporaryFile(/tmp/multipartBody519117624409341648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168063278,"filename":"image_31122025_07_30_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba1a1c20fe04d67069b88876eb220921.jpg","text":"TemporaryFile(/tmp/multipartBody4503988669887949364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168063278,"filename":"image_31122025_07_29_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a596d39008924aae584c8c4c68054b95.jpg","text":"TemporaryFile(/tmp/multipartBody2932838166027440222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168063278,"filename":"image_31122025_07_29_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82b90fc767da72be80cf6d33f336de19.jpg","text":"TemporaryFile(/tmp/multipartBody8203264033645354465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168063278,"filename":"image_31122025_07_30_15_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401854664","file1":"1401854662","file0":"1401854659","file4":"1401854667","file5":"1401854669","file3":"1401854666"},"map_files_photo_id_array":[{"photo_id":"1401854669","filename":"file5"},{"photo_id":"1401854664","filename":"file2"},{"photo_id":"1401854667","filename":"file4"},{"photo_id":"1401854662","filename":"file1"},{"photo_id":"1401854659","filename":"file0"},{"photo_id":"1401854666","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401854664":["hashtag1","hashtag2"]},{"1401854666":["hashtag1","hashtag2"]},{"1401854669":["hashtag1","hashtag2"]},{"1401854662":["hashtag1","hashtag2"]},{"1401854659":["hashtag1","hashtag2"]},{"1401854667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401854664, 1401854666, 1401854669, 1401854662, 1401854659, 1401854667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.031415700912476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:00:42.195741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_04_2741.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_07_2536.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_11_3698.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_14_2841.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_16_2618.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_20_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_04_2741.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_07_2536.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_11_3698.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_14_2841.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_16_2618.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_20_3749.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8971376419067383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:01:03.018524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_34_9601.jpg', '/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_44_10524.jpg', '/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_54_9732.jpg', '/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_15_10712.jpg', '/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_24_9597.jpg', '/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_34_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_34_9601.jpg
/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_44_10524.jpg
/home/pi/Desktop/images/31122025/07/30/image_31122025_07_30_54_9732.jpg
/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_15_10712.jpg
/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_24_9597.jpg
/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_34_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401854718","1401854910","1401854867","1401854794","1401854758","1401854830"],"photo_ids_order":["1401854718","1401854758","1401854794","1401854830","1401854867","1401854910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f928ce695ac6521b4b456c885761a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody6392588328414759008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168123657,"filename":"image_31122025_07_30_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23bb426c8468ddb97cbc88622b8b2aed.jpg","text":"TemporaryFile(/tmp/multipartBody8070113143892329199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168123657,"filename":"image_31122025_07_31_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/729c86dc54de9daa2140e647be7ab014.jpg","text":"TemporaryFile(/tmp/multipartBody429641282677528433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168123657,"filename":"image_31122025_07_31_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2f9d70edbf41bfb27a8343bda7fc9c2.jpg","text":"TemporaryFile(/tmp/multipartBody1960561344604932703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168123657,"filename":"image_31122025_07_30_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7df9a15ae3926976a4204338f90c4a2.jpg","text":"TemporaryFile(/tmp/multipartBody124199790819595229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168123657,"filename":"image_31122025_07_30_44_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a178e320f515c37f30338c56f5549e33.jpg","text":"TemporaryFile(/tmp/multipartBody3548998206149456697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168123657,"filename":"image_31122025_07_31_15_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401854794","file1":"1401854758","file0":"1401854718","file4":"1401854867","file5":"1401854910","file3":"1401854830"},"map_files_photo_id_array":[{"photo_id":"1401854910","filename":"file5"},{"photo_id":"1401854794","filename":"file2"},{"photo_id":"1401854867","filename":"file4"},{"photo_id":"1401854758","filename":"file1"},{"photo_id":"1401854718","filename":"file0"},{"photo_id":"1401854830","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401854718":["hashtag1","hashtag2"]},{"1401854910":["hashtag1","hashtag2"]},{"1401854867":["hashtag1","hashtag2"]},{"1401854794":["hashtag1","hashtag2"]},{"1401854758":["hashtag1","hashtag2"]},{"1401854830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401854718, 1401854910, 1401854867, 1401854794, 1401854758, 1401854830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.413835763931274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:01:42.362601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_04_2741.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_07_2536.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_11_3698.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_14_2841.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_16_2618.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_20_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_04_2741.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_07_2536.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_11_3698.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_14_2841.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_16_2618.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_20_3749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401855239","1401855193","1401855157","1401855052","1401855121","1401855087"],"photo_ids_order":["1401855052","1401855087","1401855121","1401855157","1401855193","1401855239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5572109403c876a19c8647fe1f371d10.jpg","text":"TemporaryFile(/tmp/multipartBody8807875783547825397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168164186,"filename":"image_03112025_17_12_20_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/239ac9734ed7e8e198f2f662b4b5a097.jpg","text":"TemporaryFile(/tmp/multipartBody4380841847114488813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168164186,"filename":"image_03112025_17_12_16_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0463f2056e465842b3541352740ea53e.jpg","text":"TemporaryFile(/tmp/multipartBody7670001617269441126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168164186,"filename":"image_03112025_17_12_14_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83585bdb83f22d00bc28cc998b39c883.jpg","text":"TemporaryFile(/tmp/multipartBody7243681349781042211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168164186,"filename":"image_03112025_17_12_04_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a7b6e51ad7dc7fde29fa39d9343a93e.jpg","text":"TemporaryFile(/tmp/multipartBody2527347808447312075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168164186,"filename":"image_03112025_17_12_11_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00a66acc5995725ef45a2c8498c17c18.jpg","text":"TemporaryFile(/tmp/multipartBody4736316854563834593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168164186,"filename":"image_03112025_17_12_07_2536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401855121","file1":"1401855087","file0":"1401855052","file4":"1401855193","file5":"1401855239","file3":"1401855157"},"map_files_photo_id_array":[{"photo_id":"1401855239","filename":"file5"},{"photo_id":"1401855121","filename":"file2"},{"photo_id":"1401855193","filename":"file4"},{"photo_id":"1401855087","filename":"file1"},{"photo_id":"1401855052","filename":"file0"},{"photo_id":"1401855157","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401855239":["hashtag1","hashtag2"]},{"1401855193":["hashtag1","hashtag2"]},{"1401855157":["hashtag1","hashtag2"]},{"1401855052":["hashtag1","hashtag2"]},{"1401855121":["hashtag1","hashtag2"]},{"1401855087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401855239, 1401855193, 1401855157, 1401855052, 1401855121, 1401855087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.307008266448975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:02:22.560866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_44_10630.jpg', '/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_54_9759.jpg', '/home/pi/Desktop/images/31122025/07/31/image_31122025_07_32_04_9610.jpg', '/home/pi/Desktop/images/31122025/07/32/image_31122025_07_32_14_10647.jpg', '/home/pi/Desktop/images/31122025/07/32/image_31122025_07_32_24_9671.jpg', '/home/pi/Desktop/images/31122025/07/32/image_31122025_07_32_35_10508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_44_10630.jpg
/home/pi/Desktop/images/31122025/07/31/image_31122025_07_31_54_9759.jpg
/home/pi/Desktop/images/31122025/07/31/image_31122025_07_32_04_9610.jpg
/home/pi/Desktop/images/31122025/07/32/image_31122025_07_32_14_10647.jpg
/home/pi/Desktop/images/31122025/07/32/image_31122025_07_32_24_9671.jpg
/home/pi/Desktop/images/31122025/07/32/image_31122025_07_32_35_10508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401855983","1401855893","1401855928","1401855820","1401856068","1401855684"],"photo_ids_order":["1401855684","1401855820","1401855893","1401855928","1401855983","1401856068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbc89f333c6971288f28efae67d0c6cf.jpg","text":"TemporaryFile(/tmp/multipartBody5771299047948231526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168203155,"filename":"image_31122025_07_32_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d09afec152e5a738e7ee93ed32c950fc.jpg","text":"TemporaryFile(/tmp/multipartBody2320715656488604015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168203155,"filename":"image_31122025_07_32_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3afcd89f0ca0dc0a1ad15ffdc3c96d3f.jpg","text":"TemporaryFile(/tmp/multipartBody1332170342838049265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168203155,"filename":"image_31122025_07_32_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75f06d429325defab7865b7333ac9655.jpg","text":"TemporaryFile(/tmp/multipartBody5403845066711986563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168203155,"filename":"image_31122025_07_31_54_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ff7a7ef53bce2f9c871c11add04b76b.jpg","text":"TemporaryFile(/tmp/multipartBody1243057166681709491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168203155,"filename":"image_31122025_07_32_35_10508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/118818f4e49a2c6430f088874fb5dacd.jpg","text":"TemporaryFile(/tmp/multipartBody5734191031558866073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168203155,"filename":"image_31122025_07_31_44_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401855893","file1":"1401855820","file0":"1401855684","file4":"1401855983","file5":"1401856068","file3":"1401855928"},"map_files_photo_id_array":[{"photo_id":"1401856068","filename":"file5"},{"photo_id":"1401855893","filename":"file2"},{"photo_id":"1401855983","filename":"file4"},{"photo_id":"1401855820","filename":"file1"},{"photo_id":"1401855684","filename":"file0"},{"photo_id":"1401855928","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401855983":["hashtag1","hashtag2"]},{"1401855893":["hashtag1","hashtag2"]},{"1401855928":["hashtag1","hashtag2"]},{"1401855820":["hashtag1","hashtag2"]},{"1401856068":["hashtag1","hashtag2"]},{"1401855684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401855983, 1401855893, 1401855928, 1401855820, 1401856068, 1401855684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82399249076843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:03:03.312738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/32/image_31122025_07_32_44_9564.jpg', '/home/pi/Desktop/images/31122025/07/32/image_31122025_07_33_04_10628.jpg', '/home/pi/Desktop/images/31122025/07/33/image_31122025_07_33_14_9717.jpg', '/home/pi/Desktop/images/31122025/07/33/image_31122025_07_33_24_9633.jpg', '/home/pi/Desktop/images/31122025/07/33/image_31122025_07_33_34_10702.jpg', '/home/pi/Desktop/images/31122025/07/33/image_31122025_07_33_54_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/32/image_31122025_07_32_44_9564.jpg
/home/pi/Desktop/images/31122025/07/32/image_31122025_07_33_04_10628.jpg
/home/pi/Desktop/images/31122025/07/33/image_31122025_07_33_14_9717.jpg
/home/pi/Desktop/images/31122025/07/33/image_31122025_07_33_24_9633.jpg
/home/pi/Desktop/images/31122025/07/33/image_31122025_07_33_34_10702.jpg
/home/pi/Desktop/images/31122025/07/33/image_31122025_07_33_54_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401856399","1401856330","1401856225","1401856476","1401856185","1401856262"],"photo_ids_order":["1401856185","1401856225","1401856262","1401856330","1401856399","1401856476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30b02b852ca91a36cba68e659964c28d.jpg","text":"TemporaryFile(/tmp/multipartBody8222766427420497852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168243955,"filename":"image_31122025_07_33_34_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf3f1abb70e13251ceae0f440e343291.jpg","text":"TemporaryFile(/tmp/multipartBody2833842230148279443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168243955,"filename":"image_31122025_07_33_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd6dee5a1e2916155bd7961cb32b05c7.jpg","text":"TemporaryFile(/tmp/multipartBody5411859370055125240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168243955,"filename":"image_31122025_07_33_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37ff5154107b021bd85a56ad11c73d7a.jpg","text":"TemporaryFile(/tmp/multipartBody4859260137264560282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168243955,"filename":"image_31122025_07_33_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da906eaed44cfe3ac44e43706512cc4d.jpg","text":"TemporaryFile(/tmp/multipartBody2907386281222464513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168243955,"filename":"image_31122025_07_32_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0224f582726cad390d3d2093a6a02793.jpg","text":"TemporaryFile(/tmp/multipartBody3039639337612131042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168243955,"filename":"image_31122025_07_33_14_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401856262","file1":"1401856225","file0":"1401856185","file4":"1401856399","file5":"1401856476","file3":"1401856330"},"map_files_photo_id_array":[{"photo_id":"1401856476","filename":"file5"},{"photo_id":"1401856262","filename":"file2"},{"photo_id":"1401856399","filename":"file4"},{"photo_id":"1401856225","filename":"file1"},{"photo_id":"1401856185","filename":"file0"},{"photo_id":"1401856330","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401856399":["hashtag1","hashtag2"]},{"1401856330":["hashtag1","hashtag2"]},{"1401856225":["hashtag1","hashtag2"]},{"1401856476":["hashtag1","hashtag2"]},{"1401856185":["hashtag1","hashtag2"]},{"1401856262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401856399, 1401856330, 1401856225, 1401856476, 1401856185, 1401856262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00034713745117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:03:42.801064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_23_2724.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_25_2638.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_29_3650.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_32_2639.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_34_2650.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_38_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_23_2724.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_25_2638.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_29_3650.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_32_2639.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_34_2650.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_38_3652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401857098","1401857056","1401856951","1401856788","1401857004","1401856863"],"photo_ids_order":["1401856788","1401856863","1401856951","1401857004","1401857056","1401857098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ba2a8e7c047d86946f53a018db172a6.jpg","text":"TemporaryFile(/tmp/multipartBody7831793023544910830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168284738,"filename":"image_03112025_17_12_38_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9be0e54648b1c50857d3d4d09e68cdcf.jpg","text":"TemporaryFile(/tmp/multipartBody7359888507673338432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168284738,"filename":"image_03112025_17_12_34_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d75e2371bd6eac528fb6fa20fb883b8.jpg","text":"TemporaryFile(/tmp/multipartBody5872817360006672740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168284738,"filename":"image_03112025_17_12_29_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf7cf28acd27202763afb292f9a4b426.jpg","text":"TemporaryFile(/tmp/multipartBody7469080013892565496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168284738,"filename":"image_03112025_17_12_23_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e1a247912b56a15cd1652e4dfa6c215.jpg","text":"TemporaryFile(/tmp/multipartBody6846583877688803830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168284738,"filename":"image_03112025_17_12_32_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9798ed636513bfa0c1b87284cd16e934.jpg","text":"TemporaryFile(/tmp/multipartBody6297157423481542467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168284738,"filename":"image_03112025_17_12_25_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401856951","file1":"1401856863","file0":"1401856788","file4":"1401857056","file5":"1401857098","file3":"1401857004"},"map_files_photo_id_array":[{"photo_id":"1401857098","filename":"file5"},{"photo_id":"1401856951","filename":"file2"},{"photo_id":"1401857056","filename":"file4"},{"photo_id":"1401856863","filename":"file1"},{"photo_id":"1401856788","filename":"file0"},{"photo_id":"1401857004","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401857098":["hashtag1","hashtag2"]},{"1401857056":["hashtag1","hashtag2"]},{"1401856951":["hashtag1","hashtag2"]},{"1401856788":["hashtag1","hashtag2"]},{"1401857004":["hashtag1","hashtag2"]},{"1401856863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401857098, 1401857056, 1401856951, 1401856788, 1401857004, 1401856863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.973843574523926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:04:21.947105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/33/image_31122025_07_34_04_9829.jpg', '/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_15_10731.jpg', '/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_24_9784.jpg', '/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_34_9545.jpg', '/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_45_10684.jpg', '/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_54_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/33/image_31122025_07_34_04_9829.jpg
/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_15_10731.jpg
/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_24_9784.jpg
/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_34_9545.jpg
/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_45_10684.jpg
/home/pi/Desktop/images/31122025/07/34/image_31122025_07_34_54_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401857308","1401857239","1401857274","1401857187","1401857223","1401857258"],"photo_ids_order":["1401857187","1401857223","1401857239","1401857258","1401857274","1401857308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05e1ece158368eedbeafab631eacc8bb.jpg","text":"TemporaryFile(/tmp/multipartBody4480478789668426160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168322537,"filename":"image_31122025_07_34_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8815586d53323b33b51df15f83cd56a5.jpg","text":"TemporaryFile(/tmp/multipartBody5786773723966995501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168322537,"filename":"image_31122025_07_34_24_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ce6f54f9fb198ac2cbc8497ae7f3823.jpg","text":"TemporaryFile(/tmp/multipartBody1402439093274021592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168322537,"filename":"image_31122025_07_34_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d4ef7330aafb89f670a059d499810de.jpg","text":"TemporaryFile(/tmp/multipartBody7590418252919533266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168322537,"filename":"image_31122025_07_34_04_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7d042e2bf257a7f61d0aa51d8274d68.jpg","text":"TemporaryFile(/tmp/multipartBody4777184835414930033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168322537,"filename":"image_31122025_07_34_15_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2dc14bb97f48034213f13b2e544bac65.jpg","text":"TemporaryFile(/tmp/multipartBody462269247516626896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168322537,"filename":"image_31122025_07_34_34_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401857239","file1":"1401857223","file0":"1401857187","file4":"1401857274","file5":"1401857308","file3":"1401857258"},"map_files_photo_id_array":[{"photo_id":"1401857308","filename":"file5"},{"photo_id":"1401857239","filename":"file2"},{"photo_id":"1401857274","filename":"file4"},{"photo_id":"1401857223","filename":"file1"},{"photo_id":"1401857187","filename":"file0"},{"photo_id":"1401857258","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401857308":["hashtag1","hashtag2"]},{"1401857239":["hashtag1","hashtag2"]},{"1401857274":["hashtag1","hashtag2"]},{"1401857187":["hashtag1","hashtag2"]},{"1401857223":["hashtag1","hashtag2"]},{"1401857258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401857308, 1401857239, 1401857274, 1401857187, 1401857223, 1401857258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.747053146362305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:05:02.825263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/34/image_31122025_07_35_04_9644.jpg', '/home/pi/Desktop/images/31122025/07/35/image_31122025_07_35_24_9679.jpg', '/home/pi/Desktop/images/31122025/07/35/image_31122025_07_35_34_9682.jpg', '/home/pi/Desktop/images/31122025/07/35/image_31122025_07_35_45_10627.jpg', '/home/pi/Desktop/images/31122025/07/35/image_31122025_07_35_54_9626.jpg', '/home/pi/Desktop/images/31122025/07/35/image_31122025_07_36_04_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/34/image_31122025_07_35_04_9644.jpg
/home/pi/Desktop/images/31122025/07/35/image_31122025_07_35_24_9679.jpg
/home/pi/Desktop/images/31122025/07/35/image_31122025_07_35_34_9682.jpg
/home/pi/Desktop/images/31122025/07/35/image_31122025_07_35_45_10627.jpg
/home/pi/Desktop/images/31122025/07/35/image_31122025_07_35_54_9626.jpg
/home/pi/Desktop/images/31122025/07/35/image_31122025_07_36_04_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401857491","1401857443","1401857548","1401857449","1401857462","1401857441"],"photo_ids_order":["1401857441","1401857443","1401857449","1401857462","1401857491","1401857548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30182425f199aeae5135be8557b7e001.jpg","text":"TemporaryFile(/tmp/multipartBody3789540203620346703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168363463,"filename":"image_31122025_07_35_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43a663a5b73a8b3e79c41c861533e7ea.jpg","text":"TemporaryFile(/tmp/multipartBody1610267595553782820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168363463,"filename":"image_31122025_07_35_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94c0c4a34c67492f69b6173a4a207a13.jpg","text":"TemporaryFile(/tmp/multipartBody2884567468328743105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168363463,"filename":"image_31122025_07_36_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/033ce9563b0babef0f7a82c25edadb4d.jpg","text":"TemporaryFile(/tmp/multipartBody1294787737266517119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168363463,"filename":"image_31122025_07_35_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ebf2c7c96ae4f915ba06f3230d46534.jpg","text":"TemporaryFile(/tmp/multipartBody5900674152825860775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168363463,"filename":"image_31122025_07_35_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e685213d35b4018f06e60e737709f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody6659909095653518409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168363463,"filename":"image_31122025_07_35_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401857449","file1":"1401857443","file0":"1401857441","file4":"1401857491","file5":"1401857548","file3":"1401857462"},"map_files_photo_id_array":[{"photo_id":"1401857548","filename":"file5"},{"photo_id":"1401857449","filename":"file2"},{"photo_id":"1401857491","filename":"file4"},{"photo_id":"1401857443","filename":"file1"},{"photo_id":"1401857441","filename":"file0"},{"photo_id":"1401857462","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401857491":["hashtag1","hashtag2"]},{"1401857443":["hashtag1","hashtag2"]},{"1401857548":["hashtag1","hashtag2"]},{"1401857449":["hashtag1","hashtag2"]},{"1401857462":["hashtag1","hashtag2"]},{"1401857441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401857491, 1401857443, 1401857548, 1401857449, 1401857462, 1401857441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52565789222717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:05:42.186240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_40_2581.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_43_2603.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_46_2938.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_49_3016.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_53_3649.jpg', '/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_55_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_40_2581.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_43_2603.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_46_2938.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_49_3016.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_53_3649.jpg
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_55_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401857848","1401857769","1401857721","1401857805","1401857882","1401857918"],"photo_ids_order":["1401857721","1401857769","1401857805","1401857848","1401857882","1401857918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a23fb5b1f591085ae0144a7c51ac9bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4755305139376471006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168404137,"filename":"image_03112025_17_12_49_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd6a551c8851c41104288e9db0fa72f5.jpg","text":"TemporaryFile(/tmp/multipartBody8940502131877701171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168404137,"filename":"image_03112025_17_12_43_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a45e060b8c2b9175d69a60778a2f268.jpg","text":"TemporaryFile(/tmp/multipartBody7890605825767217169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168404137,"filename":"image_03112025_17_12_40_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86df23f5b4775dd26c09dddfecedcac3.jpg","text":"TemporaryFile(/tmp/multipartBody6410262964713241251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168404137,"filename":"image_03112025_17_12_46_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3731ae596134b9ce88406eef460cdb79.jpg","text":"TemporaryFile(/tmp/multipartBody7818890640922867194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168404137,"filename":"image_03112025_17_12_53_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2787b41cc5f934b537c806da16489ee5.jpg","text":"TemporaryFile(/tmp/multipartBody2055938055225670417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168404137,"filename":"image_03112025_17_12_55_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401857805","file1":"1401857769","file0":"1401857721","file4":"1401857882","file5":"1401857918","file3":"1401857848"},"map_files_photo_id_array":[{"photo_id":"1401857918","filename":"file5"},{"photo_id":"1401857805","filename":"file2"},{"photo_id":"1401857882","filename":"file4"},{"photo_id":"1401857769","filename":"file1"},{"photo_id":"1401857721","filename":"file0"},{"photo_id":"1401857848","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401857848":["hashtag1","hashtag2"]},{"1401857769":["hashtag1","hashtag2"]},{"1401857721":["hashtag1","hashtag2"]},{"1401857805":["hashtag1","hashtag2"]},{"1401857882":["hashtag1","hashtag2"]},{"1401857918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401857848, 1401857769, 1401857721, 1401857805, 1401857882, 1401857918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.956448554992676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:06:22.353298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_15_10677.jpg', '/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_24_9557.jpg', '/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_34_9644.jpg', '/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_44_10609.jpg', '/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_54_9637.jpg', '/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_14_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_15_10677.jpg
/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_24_9557.jpg
/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_34_9644.jpg
/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_44_10609.jpg
/home/pi/Desktop/images/31122025/07/36/image_31122025_07_36_54_9637.jpg
/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_14_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858166","1401858160","1401858118","1401858042","1401858152","1401858082"],"photo_ids_order":["1401858042","1401858082","1401858118","1401858152","1401858160","1401858166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdc0b10be7c3674159748fd7af21badf.jpg","text":"TemporaryFile(/tmp/multipartBody2926873704969826636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168442944,"filename":"image_31122025_07_37_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df49fdc953113749a9cf365f5acc2c54.jpg","text":"TemporaryFile(/tmp/multipartBody20921739201769105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168442944,"filename":"image_31122025_07_36_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e028fd78b74f14dd72960df181a43ba1.jpg","text":"TemporaryFile(/tmp/multipartBody5929347143532040035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168442944,"filename":"image_31122025_07_36_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/817ceeedf0847ead0a9e391c147e2ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3852403621076160620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168442944,"filename":"image_31122025_07_36_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce3511426a04778befea58f4b5b16695.jpg","text":"TemporaryFile(/tmp/multipartBody7210018132686021813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168442944,"filename":"image_31122025_07_36_44_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f59b16b221b4abfcb596bf654a782f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7515677203063855651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168442944,"filename":"image_31122025_07_36_24_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858118","file1":"1401858082","file0":"1401858042","file4":"1401858160","file5":"1401858166","file3":"1401858152"},"map_files_photo_id_array":[{"photo_id":"1401858166","filename":"file5"},{"photo_id":"1401858118","filename":"file2"},{"photo_id":"1401858160","filename":"file4"},{"photo_id":"1401858082","filename":"file1"},{"photo_id":"1401858042","filename":"file0"},{"photo_id":"1401858152","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401858166":["hashtag1","hashtag2"]},{"1401858160":["hashtag1","hashtag2"]},{"1401858118":["hashtag1","hashtag2"]},{"1401858042":["hashtag1","hashtag2"]},{"1401858152":["hashtag1","hashtag2"]},{"1401858082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401858166, 1401858160, 1401858118, 1401858042, 1401858152, 1401858082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20814657211304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:07:03.224845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_24_9571.jpg', '/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_35_10685.jpg', '/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_44_9653.jpg', '/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_54_9789.jpg', '/home/pi/Desktop/images/31122025/07/37/image_31122025_07_38_04_9632.jpg', '/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_14_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_24_9571.jpg
/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_35_10685.jpg
/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_44_9653.jpg
/home/pi/Desktop/images/31122025/07/37/image_31122025_07_37_54_9789.jpg
/home/pi/Desktop/images/31122025/07/37/image_31122025_07_38_04_9632.jpg
/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_14_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858319","1401858301","1401858288","1401858321","1401858266","1401858269"],"photo_ids_order":["1401858266","1401858269","1401858288","1401858301","1401858319","1401858321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/360786553d4c3142727a725c13d571e2.jpg","text":"TemporaryFile(/tmp/multipartBody3728495471365823570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168483879,"filename":"image_31122025_07_38_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cdde536187189901e5759a8f41e4f40.jpg","text":"TemporaryFile(/tmp/multipartBody8697787902860678003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168483879,"filename":"image_31122025_07_37_54_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f42e14d71d454dc68bedd286d56e22c.jpg","text":"TemporaryFile(/tmp/multipartBody3473960486423148678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168483879,"filename":"image_31122025_07_37_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f701fe971dd0369e0c3839d5f567202.jpg","text":"TemporaryFile(/tmp/multipartBody9113444909814302541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168483879,"filename":"image_31122025_07_38_14_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcb2679c46310d8eb7d1fe7d90c84928.jpg","text":"TemporaryFile(/tmp/multipartBody3885530603158866431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168483879,"filename":"image_31122025_07_37_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b21a60f74d264f0eff07a4ee51f1ed42.jpg","text":"TemporaryFile(/tmp/multipartBody6456385018079793325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168483879,"filename":"image_31122025_07_37_35_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858288","file1":"1401858269","file0":"1401858266","file4":"1401858319","file5":"1401858321","file3":"1401858301"},"map_files_photo_id_array":[{"photo_id":"1401858321","filename":"file5"},{"photo_id":"1401858288","filename":"file2"},{"photo_id":"1401858319","filename":"file4"},{"photo_id":"1401858269","filename":"file1"},{"photo_id":"1401858266","filename":"file0"},{"photo_id":"1401858301","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401858319":["hashtag1","hashtag2"]},{"1401858301":["hashtag1","hashtag2"]},{"1401858288":["hashtag1","hashtag2"]},{"1401858321":["hashtag1","hashtag2"]},{"1401858266":["hashtag1","hashtag2"]},{"1401858269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401858319, 1401858301, 1401858288, 1401858321, 1401858266, 1401858269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6788284778595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:07:42.657835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_58_2877.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_02_3738.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_05_2797.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_07_2637.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_11_3566.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_13_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/12/image_03112025_17_12_58_2877.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_02_3738.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_05_2797.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_07_2637.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_11_3566.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_13_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858352","1401858354","1401858357","1401858356","1401858344","1401858355"],"photo_ids_order":["1401858344","1401858352","1401858354","1401858355","1401858356","1401858357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/378b8c7859fd0b8a46820cd1dd8e0cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2873685471768366898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168524650,"filename":"image_03112025_17_13_02_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ca9f1cabf537a8d6678a0c57f33bee0.jpg","text":"TemporaryFile(/tmp/multipartBody1309689610267145546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168524650,"filename":"image_03112025_17_13_05_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/306476766a5dc01a1ce79b4541a5e0c2.jpg","text":"TemporaryFile(/tmp/multipartBody5886517967704673359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168524650,"filename":"image_03112025_17_13_13_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e310bca6167128a980bbf7b975b39ffa.jpg","text":"TemporaryFile(/tmp/multipartBody358855403488146819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168524650,"filename":"image_03112025_17_13_11_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa72e9da9cbbf6f898caf8125b52da37.jpg","text":"TemporaryFile(/tmp/multipartBody6467965187222159154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168524650,"filename":"image_03112025_17_12_58_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41e1f4021e807a6614987ed01ffa0603.jpg","text":"TemporaryFile(/tmp/multipartBody6588253019875746096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168524650,"filename":"image_03112025_17_13_07_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858354","file1":"1401858352","file0":"1401858344","file4":"1401858356","file5":"1401858357","file3":"1401858355"},"map_files_photo_id_array":[{"photo_id":"1401858357","filename":"file5"},{"photo_id":"1401858354","filename":"file2"},{"photo_id":"1401858356","filename":"file4"},{"photo_id":"1401858352","filename":"file1"},{"photo_id":"1401858344","filename":"file0"},{"photo_id":"1401858355","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401858352":["hashtag1","hashtag2"]},{"1401858354":["hashtag1","hashtag2"]},{"1401858357":["hashtag1","hashtag2"]},{"1401858356":["hashtag1","hashtag2"]},{"1401858344":["hashtag1","hashtag2"]},{"1401858355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401858352, 1401858354, 1401858357, 1401858356, 1401858344, 1401858355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.724705934524536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:08:22.870177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_24_9630.jpg', '/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_35_10624.jpg', '/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_44_9676.jpg', '/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_54_9700.jpg', '/home/pi/Desktop/images/31122025/07/38/image_31122025_07_39_05_10634.jpg', '/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_14_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_24_9630.jpg
/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_35_10624.jpg
/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_44_9676.jpg
/home/pi/Desktop/images/31122025/07/38/image_31122025_07_38_54_9700.jpg
/home/pi/Desktop/images/31122025/07/38/image_31122025_07_39_05_10634.jpg
/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_14_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858364","1401858369","1401858402","1401858373","1401858376","1401858361"],"photo_ids_order":["1401858361","1401858364","1401858369","1401858373","1401858376","1401858402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9aba2770a8755e2b54f6c4ee5075c089.jpg","text":"TemporaryFile(/tmp/multipartBody5458754464143425107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168563494,"filename":"image_31122025_07_38_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef65f81eed097a10de9c9858ee796e33.jpg","text":"TemporaryFile(/tmp/multipartBody7279426064908535695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168563494,"filename":"image_31122025_07_38_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ce16f409dd82242c0d09396a4f1d98f.jpg","text":"TemporaryFile(/tmp/multipartBody5312654117481168157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168563494,"filename":"image_31122025_07_39_14_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81b878ca4947b3caf593a91185ad5c51.jpg","text":"TemporaryFile(/tmp/multipartBody1549070299123302454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168563494,"filename":"image_31122025_07_38_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d9f0cb48d42beca1e2a5c19b3e2db71.jpg","text":"TemporaryFile(/tmp/multipartBody6582715774126786084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168563494,"filename":"image_31122025_07_39_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eeda78febd5c0e3fdf502822a596954f.jpg","text":"TemporaryFile(/tmp/multipartBody366504936344406561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168563494,"filename":"image_31122025_07_38_24_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858369","file1":"1401858364","file0":"1401858361","file4":"1401858376","file5":"1401858402","file3":"1401858373"},"map_files_photo_id_array":[{"photo_id":"1401858402","filename":"file5"},{"photo_id":"1401858369","filename":"file2"},{"photo_id":"1401858376","filename":"file4"},{"photo_id":"1401858364","filename":"file1"},{"photo_id":"1401858361","filename":"file0"},{"photo_id":"1401858373","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401858364":["hashtag1","hashtag2"]},{"1401858369":["hashtag1","hashtag2"]},{"1401858402":["hashtag1","hashtag2"]},{"1401858373":["hashtag1","hashtag2"]},{"1401858376":["hashtag1","hashtag2"]},{"1401858361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401858364, 1401858369, 1401858402, 1401858373, 1401858376, 1401858361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33202075958252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:09:03.011323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_24_9674.jpg', '/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_34_9594.jpg', '/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_45_10806.jpg', '/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_54_9667.jpg', '/home/pi/Desktop/images/31122025/07/39/image_31122025_07_40_04_9515.jpg', '/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_15_10872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_24_9674.jpg
/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_34_9594.jpg
/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_45_10806.jpg
/home/pi/Desktop/images/31122025/07/39/image_31122025_07_39_54_9667.jpg
/home/pi/Desktop/images/31122025/07/39/image_31122025_07_40_04_9515.jpg
/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_15_10872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858520","1401858517","1401858554","1401858551","1401858545","1401858530"],"photo_ids_order":["1401858517","1401858520","1401858530","1401858545","1401858551","1401858554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a961266f5fa185e38e4d367f73922dc.jpg","text":"TemporaryFile(/tmp/multipartBody7285228533935925238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168603859,"filename":"image_31122025_07_39_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53314ffff0b2342f50898b863a87c85e.jpg","text":"TemporaryFile(/tmp/multipartBody2985265762035595559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168603859,"filename":"image_31122025_07_39_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92e2ecc031bbc769d4d29e3daf1f2043.jpg","text":"TemporaryFile(/tmp/multipartBody3035400207067429262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168603859,"filename":"image_31122025_07_40_15_10872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/019851f5a211746d872d3d07ca052000.jpg","text":"TemporaryFile(/tmp/multipartBody1447994765278577765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168603859,"filename":"image_31122025_07_40_04_9515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d12c61b66f4084702367b7a57f12a01.jpg","text":"TemporaryFile(/tmp/multipartBody7931138199255225009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168603859,"filename":"image_31122025_07_39_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7188dbfd7195bad5df116e43dae33bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1907030312702390612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168603859,"filename":"image_31122025_07_39_45_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858530","file1":"1401858520","file0":"1401858517","file4":"1401858551","file5":"1401858554","file3":"1401858545"},"map_files_photo_id_array":[{"photo_id":"1401858554","filename":"file5"},{"photo_id":"1401858530","filename":"file2"},{"photo_id":"1401858551","filename":"file4"},{"photo_id":"1401858520","filename":"file1"},{"photo_id":"1401858517","filename":"file0"},{"photo_id":"1401858545","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401858520":["hashtag1","hashtag2"]},{"1401858517":["hashtag1","hashtag2"]},{"1401858554":["hashtag1","hashtag2"]},{"1401858551":["hashtag1","hashtag2"]},{"1401858545":["hashtag1","hashtag2"]},{"1401858530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401858520, 1401858517, 1401858554, 1401858551, 1401858545, 1401858530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.476516008377075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:09:42.084764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_16_2566.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_20_3685.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_22_2665.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_25_2729.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_29_3638.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_31_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_16_2566.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_20_3685.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_22_2665.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_25_2729.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_29_3638.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_31_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858681","1401858651","1401858674","1401858683","1401858677","1401858679"],"photo_ids_order":["1401858651","1401858674","1401858677","1401858679","1401858681","1401858683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4119b6843580f0e07d6ed3d73955ad2.jpg","text":"TemporaryFile(/tmp/multipartBody236056013097047237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168644048,"filename":"image_03112025_17_13_29_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecf7e23c1faefdfb4acd09a0da817c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1529448230487395658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168644048,"filename":"image_03112025_17_13_16_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48383f34518469f1e2a221bddb7374ee.jpg","text":"TemporaryFile(/tmp/multipartBody4842813456897337881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168644048,"filename":"image_03112025_17_13_20_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ac41e93f832d42d6041cd4e33d7c9e8.jpg","text":"TemporaryFile(/tmp/multipartBody3617457759935918885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168644048,"filename":"image_03112025_17_13_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6876987659b3b6683519ab4871a3f459.jpg","text":"TemporaryFile(/tmp/multipartBody5443392729981923989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168644048,"filename":"image_03112025_17_13_22_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eef7772d11fbffa5e8a52ef783a1ff93.jpg","text":"TemporaryFile(/tmp/multipartBody8291296878834064992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168644048,"filename":"image_03112025_17_13_25_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858677","file1":"1401858674","file0":"1401858651","file4":"1401858681","file5":"1401858683","file3":"1401858679"},"map_files_photo_id_array":[{"photo_id":"1401858683","filename":"file5"},{"photo_id":"1401858677","filename":"file2"},{"photo_id":"1401858681","filename":"file4"},{"photo_id":"1401858674","filename":"file1"},{"photo_id":"1401858651","filename":"file0"},{"photo_id":"1401858679","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401858681":["hashtag1","hashtag2"]},{"1401858651":["hashtag1","hashtag2"]},{"1401858674":["hashtag1","hashtag2"]},{"1401858683":["hashtag1","hashtag2"]},{"1401858677":["hashtag1","hashtag2"]},{"1401858679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401858681, 1401858651, 1401858674, 1401858683, 1401858677, 1401858679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49396347999573 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:10:32.268758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_34_2538.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_38_3682.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_40_2585.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_43_2800.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_47_3717.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_49_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_34_2538.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_38_3682.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_40_2585.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_43_2800.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_47_3717.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_49_2552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858783","1401858762","1401858735","1401858720","1401858749","1401858781"],"photo_ids_order":["1401858720","1401858735","1401858749","1401858762","1401858781","1401858783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/feb708060e568baa699da1bd75c5fa5b.jpg","text":"TemporaryFile(/tmp/multipartBody8117459435333493627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168694251,"filename":"image_03112025_17_13_49_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a344d348e199f65f175d18101185caa.jpg","text":"TemporaryFile(/tmp/multipartBody3373144510917249276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168694251,"filename":"image_03112025_17_13_43_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/528e5326aa6b509130d81a2e4d95c448.jpg","text":"TemporaryFile(/tmp/multipartBody2918923610412610281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168694251,"filename":"image_03112025_17_13_38_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1faf01b29688aba3e032d0ce2b29b4d6.jpg","text":"TemporaryFile(/tmp/multipartBody8827585934248355149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168694251,"filename":"image_03112025_17_13_34_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc1f409641857fda52b5fa65ee40b39b.jpg","text":"TemporaryFile(/tmp/multipartBody2687225578211053608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168694251,"filename":"image_03112025_17_13_40_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7014e1ee75419e3ab954c983a846adc9.jpg","text":"TemporaryFile(/tmp/multipartBody5258998215448429269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168694251,"filename":"image_03112025_17_13_47_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858749","file1":"1401858735","file0":"1401858720","file4":"1401858781","file5":"1401858783","file3":"1401858762"},"map_files_photo_id_array":[{"photo_id":"1401858783","filename":"file5"},{"photo_id":"1401858749","filename":"file2"},{"photo_id":"1401858781","filename":"file4"},{"photo_id":"1401858735","filename":"file1"},{"photo_id":"1401858720","filename":"file0"},{"photo_id":"1401858762","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401858783":["hashtag1","hashtag2"]},{"1401858762":["hashtag1","hashtag2"]},{"1401858735":["hashtag1","hashtag2"]},{"1401858720":["hashtag1","hashtag2"]},{"1401858749":["hashtag1","hashtag2"]},{"1401858781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401858783, 1401858762, 1401858735, 1401858720, 1401858749, 1401858781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84576869010925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:11:12.353211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_52_2777.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_56_3586.jpg', '/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_58_2752.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_01_2536.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_05_3719.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_07_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_52_2777.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_56_3586.jpg
/home/pi/Desktop/images/03112025/17/13/image_03112025_17_13_58_2752.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_01_2536.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_05_3719.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_07_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858792","1401858804","1401858785","1401858788","1401858796","1401858800"],"photo_ids_order":["1401858785","1401858788","1401858792","1401858796","1401858800","1401858804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16963bafec49cc922be120a058b1a5a3.jpg","text":"TemporaryFile(/tmp/multipartBody6008755013398839163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168734211,"filename":"image_03112025_17_13_58_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a854b5e004d2d99a0de9dcb7263c670d.jpg","text":"TemporaryFile(/tmp/multipartBody7937330013783872912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168734211,"filename":"image_03112025_17_14_07_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/921f0a9af5742d69ba8f54f7fa8e8498.jpg","text":"TemporaryFile(/tmp/multipartBody2000341927257113985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168734211,"filename":"image_03112025_17_13_52_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27eb87e7f9ad9b7cb650ba7a470b5114.jpg","text":"TemporaryFile(/tmp/multipartBody1399693059442919592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168734211,"filename":"image_03112025_17_13_56_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21f7857de0be87a28568bd6f08682670.jpg","text":"TemporaryFile(/tmp/multipartBody8583489013817554890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168734211,"filename":"image_03112025_17_14_01_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44990d5732adf3d1b874d5e145629c56.jpg","text":"TemporaryFile(/tmp/multipartBody527555648778512508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168734211,"filename":"image_03112025_17_14_05_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858792","file1":"1401858788","file0":"1401858785","file4":"1401858800","file5":"1401858804","file3":"1401858796"},"map_files_photo_id_array":[{"photo_id":"1401858804","filename":"file5"},{"photo_id":"1401858792","filename":"file2"},{"photo_id":"1401858800","filename":"file4"},{"photo_id":"1401858788","filename":"file1"},{"photo_id":"1401858785","filename":"file0"},{"photo_id":"1401858796","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401858792":["hashtag1","hashtag2"]},{"1401858804":["hashtag1","hashtag2"]},{"1401858785":["hashtag1","hashtag2"]},{"1401858788":["hashtag1","hashtag2"]},{"1401858796":["hashtag1","hashtag2"]},{"1401858800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401858792, 1401858804, 1401858785, 1401858788, 1401858796, 1401858800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.620224952697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:12:02.957488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_24_9638.jpg', '/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_34_9652.jpg', '/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_44_10539.jpg', '/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_54_9666.jpg', '/home/pi/Desktop/images/31122025/07/40/image_31122025_07_41_05_10586.jpg', '/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_14_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_24_9638.jpg
/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_34_9652.jpg
/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_44_10539.jpg
/home/pi/Desktop/images/31122025/07/40/image_31122025_07_40_54_9666.jpg
/home/pi/Desktop/images/31122025/07/40/image_31122025_07_41_05_10586.jpg
/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_14_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858832","1401858829","1401858823","1401858825","1401858821","1401858827"],"photo_ids_order":["1401858821","1401858823","1401858825","1401858827","1401858829","1401858832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d340681ecbc27401ac59a46c73c36dc.jpg","text":"TemporaryFile(/tmp/multipartBody2701135497572831023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168783569,"filename":"image_31122025_07_41_14_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04a3775376f938e1fefe77f6b7a112a6.jpg","text":"TemporaryFile(/tmp/multipartBody3607385225058563248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168783569,"filename":"image_31122025_07_41_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/273e1c2d5dbad044fb3fd5dc3689f371.jpg","text":"TemporaryFile(/tmp/multipartBody349289609728250725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168783569,"filename":"image_31122025_07_40_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d10160ca35e8803d2025c169f65c7d79.jpg","text":"TemporaryFile(/tmp/multipartBody1838643151385338184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168783569,"filename":"image_31122025_07_40_44_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09d530f760de9e79a896f473f3eaa81f.jpg","text":"TemporaryFile(/tmp/multipartBody6984085948928096914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168783569,"filename":"image_31122025_07_40_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22aa17c348927770c975647134f144e9.jpg","text":"TemporaryFile(/tmp/multipartBody3772245703925625177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168783569,"filename":"image_31122025_07_40_54_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858825","file1":"1401858823","file0":"1401858821","file4":"1401858829","file5":"1401858832","file3":"1401858827"},"map_files_photo_id_array":[{"photo_id":"1401858832","filename":"file5"},{"photo_id":"1401858825","filename":"file2"},{"photo_id":"1401858829","filename":"file4"},{"photo_id":"1401858823","filename":"file1"},{"photo_id":"1401858821","filename":"file0"},{"photo_id":"1401858827","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401858832":["hashtag1","hashtag2"]},{"1401858829":["hashtag1","hashtag2"]},{"1401858823":["hashtag1","hashtag2"]},{"1401858825":["hashtag1","hashtag2"]},{"1401858821":["hashtag1","hashtag2"]},{"1401858827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401858832, 1401858829, 1401858823, 1401858825, 1401858821, 1401858827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.638951539993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:12:42.567095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_10_2635.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_14_3762.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_16_2664.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_19_2758.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_22_2722.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_26_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_10_2635.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_14_3762.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_16_2664.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_19_2758.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_22_2722.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_26_3695.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8458878993988037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:13:03.532010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_24_9744.jpg', '/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_35_10671.jpg', '/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_44_9789.jpg', '/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_54_9658.jpg', '/home/pi/Desktop/images/31122025/07/41/image_31122025_07_42_04_9718.jpg', '/home/pi/Desktop/images/31122025/07/42/image_31122025_07_42_24_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_24_9744.jpg
/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_35_10671.jpg
/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_44_9789.jpg
/home/pi/Desktop/images/31122025/07/41/image_31122025_07_41_54_9658.jpg
/home/pi/Desktop/images/31122025/07/41/image_31122025_07_42_04_9718.jpg
/home/pi/Desktop/images/31122025/07/42/image_31122025_07_42_24_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858868","1401858873","1401858870","1401858866","1401858869","1401858863"],"photo_ids_order":["1401858863","1401858866","1401858868","1401858869","1401858870","1401858873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a85487100b5ac3d3f76b3a805230a831.jpg","text":"TemporaryFile(/tmp/multipartBody7458653548458305006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168844236,"filename":"image_31122025_07_41_44_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a86ad471257f5ab35a8454969921c67.jpg","text":"TemporaryFile(/tmp/multipartBody1480954348258475392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168844236,"filename":"image_31122025_07_42_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9e1ad3cbd9e07cc534d2440832b5a7f.jpg","text":"TemporaryFile(/tmp/multipartBody4925741792760391064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168844236,"filename":"image_31122025_07_42_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e4210cd412612de53ba05daccbfec62.jpg","text":"TemporaryFile(/tmp/multipartBody2149024016145855360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168844236,"filename":"image_31122025_07_41_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d01579d2e9f42f2ac2ae204e214a3334.jpg","text":"TemporaryFile(/tmp/multipartBody5408048280855626885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168844236,"filename":"image_31122025_07_41_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82c5c316a846d1d28eee5d090d40622c.jpg","text":"TemporaryFile(/tmp/multipartBody4998047431950067850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168844236,"filename":"image_31122025_07_41_24_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858868","file1":"1401858866","file0":"1401858863","file4":"1401858870","file5":"1401858873","file3":"1401858869"},"map_files_photo_id_array":[{"photo_id":"1401858873","filename":"file5"},{"photo_id":"1401858868","filename":"file2"},{"photo_id":"1401858870","filename":"file4"},{"photo_id":"1401858866","filename":"file1"},{"photo_id":"1401858863","filename":"file0"},{"photo_id":"1401858869","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401858868":["hashtag1","hashtag2"]},{"1401858873":["hashtag1","hashtag2"]},{"1401858870":["hashtag1","hashtag2"]},{"1401858866":["hashtag1","hashtag2"]},{"1401858869":["hashtag1","hashtag2"]},{"1401858863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401858868, 1401858873, 1401858870, 1401858866, 1401858869, 1401858863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.250595808029175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:13:42.715556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_10_2635.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_14_3762.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_16_2664.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_19_2758.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_22_2722.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_26_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_10_2635.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_14_3762.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_16_2664.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_19_2758.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_22_2722.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_26_3695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858885","1401858890","1401858887","1401858881","1401858892","1401858889"],"photo_ids_order":["1401858881","1401858885","1401858887","1401858889","1401858890","1401858892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70b8f76bc7c936c1b871d0555a18f90a.jpg","text":"TemporaryFile(/tmp/multipartBody4574996362191393586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168884567,"filename":"image_03112025_17_14_14_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2ea05ba074931982686159236a82311.jpg","text":"TemporaryFile(/tmp/multipartBody2612381056499093669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168884567,"filename":"image_03112025_17_14_22_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1e14a55ecfe703326141669f3dcd938.jpg","text":"TemporaryFile(/tmp/multipartBody4564177643967918064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168884567,"filename":"image_03112025_17_14_16_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d331f1ce434411b7f9b18dc7dfe5b1b6.jpg","text":"TemporaryFile(/tmp/multipartBody4072374858037766963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168884567,"filename":"image_03112025_17_14_10_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d4c2d58ba8a0a04e815b0d720969ef7.jpg","text":"TemporaryFile(/tmp/multipartBody6706436022268982597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168884567,"filename":"image_03112025_17_14_26_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8da86c74dd68bcac3a4d67046089ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody7499125651906755582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168884567,"filename":"image_03112025_17_14_19_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858887","file1":"1401858885","file0":"1401858881","file4":"1401858890","file5":"1401858892","file3":"1401858889"},"map_files_photo_id_array":[{"photo_id":"1401858892","filename":"file5"},{"photo_id":"1401858887","filename":"file2"},{"photo_id":"1401858890","filename":"file4"},{"photo_id":"1401858885","filename":"file1"},{"photo_id":"1401858881","filename":"file0"},{"photo_id":"1401858889","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401858885":["hashtag1","hashtag2"]},{"1401858890":["hashtag1","hashtag2"]},{"1401858887":["hashtag1","hashtag2"]},{"1401858881":["hashtag1","hashtag2"]},{"1401858892":["hashtag1","hashtag2"]},{"1401858889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401858885, 1401858890, 1401858887, 1401858881, 1401858892, 1401858889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11348080635071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:14:31.916328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_28_2627.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_31_2599.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_35_3824.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_37_2527.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_40_2698.jpg', '/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_44_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_28_2627.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_31_2599.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_35_3824.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_37_2527.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_40_2698.jpg
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_44_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858922","1401858904","1401858924","1401858909","1401858900","1401858926"],"photo_ids_order":["1401858900","1401858904","1401858909","1401858922","1401858924","1401858926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edb7beec5e07ec1443469a728ae59faf.jpg","text":"TemporaryFile(/tmp/multipartBody1060049685751085425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168934403,"filename":"image_03112025_17_14_37_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fb694d4148695fae6adb0698f6a1492.jpg","text":"TemporaryFile(/tmp/multipartBody2673477011517379536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168934403,"filename":"image_03112025_17_14_31_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f1c252907f3998fb734bc28f885b6bc.jpg","text":"TemporaryFile(/tmp/multipartBody8478355295682629512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168934403,"filename":"image_03112025_17_14_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bdcabf29d8be0f1a9875619418d6bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4120636123597953375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168934403,"filename":"image_03112025_17_14_35_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/487de2575d64015f25779f46c46fd799.jpg","text":"TemporaryFile(/tmp/multipartBody1461476758977494977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168934403,"filename":"image_03112025_17_14_28_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95963f2e24616ac7e988310752f818ae.jpg","text":"TemporaryFile(/tmp/multipartBody5390754710347948589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168934403,"filename":"image_03112025_17_14_44_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858909","file1":"1401858904","file0":"1401858900","file4":"1401858924","file5":"1401858926","file3":"1401858922"},"map_files_photo_id_array":[{"photo_id":"1401858926","filename":"file5"},{"photo_id":"1401858909","filename":"file2"},{"photo_id":"1401858924","filename":"file4"},{"photo_id":"1401858904","filename":"file1"},{"photo_id":"1401858900","filename":"file0"},{"photo_id":"1401858922","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401858922":["hashtag1","hashtag2"]},{"1401858904":["hashtag1","hashtag2"]},{"1401858924":["hashtag1","hashtag2"]},{"1401858909":["hashtag1","hashtag2"]},{"1401858900":["hashtag1","hashtag2"]},{"1401858926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401858922, 1401858904, 1401858924, 1401858909, 1401858900, 1401858926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55111217498779 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:15:22.084211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/42/image_31122025_07_42_34_9834.jpg', '/home/pi/Desktop/images/31122025/07/42/image_31122025_07_42_44_9688.jpg', '/home/pi/Desktop/images/31122025/07/42/image_31122025_07_42_54_10621.jpg', '/home/pi/Desktop/images/31122025/07/42/image_31122025_07_43_04_9759.jpg', '/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_14_9707.jpg', '/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_25_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/42/image_31122025_07_42_34_9834.jpg
/home/pi/Desktop/images/31122025/07/42/image_31122025_07_42_44_9688.jpg
/home/pi/Desktop/images/31122025/07/42/image_31122025_07_42_54_10621.jpg
/home/pi/Desktop/images/31122025/07/42/image_31122025_07_43_04_9759.jpg
/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_14_9707.jpg
/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_25_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858931","1401858945","1401858933","1401858941","1401858938","1401858943"],"photo_ids_order":["1401858931","1401858933","1401858938","1401858941","1401858943","1401858945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28e60ed8e6c883169e7a293c7c6d49d8.jpg","text":"TemporaryFile(/tmp/multipartBody3528529239820181786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168982679,"filename":"image_31122025_07_42_34_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9fc5c0419640c3c6746d4065828b91b.jpg","text":"TemporaryFile(/tmp/multipartBody3795434971115535373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168982679,"filename":"image_31122025_07_43_25_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7f75d96025349d447697519b58d29ec.jpg","text":"TemporaryFile(/tmp/multipartBody8982000908161244881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168982679,"filename":"image_31122025_07_42_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/025d9909594d02c0287fb92d858cb17a.jpg","text":"TemporaryFile(/tmp/multipartBody3648267934042053738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168982679,"filename":"image_31122025_07_43_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8e15da1dccd45a1b002747d2affe066.jpg","text":"TemporaryFile(/tmp/multipartBody7721564078479812899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168982679,"filename":"image_31122025_07_42_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63334dbc934103b19ab7ddec619d8747.jpg","text":"TemporaryFile(/tmp/multipartBody4006931415085330128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767168982679,"filename":"image_31122025_07_43_14_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858938","file1":"1401858933","file0":"1401858931","file4":"1401858943","file5":"1401858945","file3":"1401858941"},"map_files_photo_id_array":[{"photo_id":"1401858945","filename":"file5"},{"photo_id":"1401858938","filename":"file2"},{"photo_id":"1401858943","filename":"file4"},{"photo_id":"1401858933","filename":"file1"},{"photo_id":"1401858931","filename":"file0"},{"photo_id":"1401858941","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401858931":["hashtag1","hashtag2"]},{"1401858945":["hashtag1","hashtag2"]},{"1401858933":["hashtag1","hashtag2"]},{"1401858941":["hashtag1","hashtag2"]},{"1401858938":["hashtag1","hashtag2"]},{"1401858943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401858931, 1401858945, 1401858933, 1401858941, 1401858938, 1401858943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.869956493377686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:16:12.204436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_46_2532.jpg', '/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_06_3010.jpg', '/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_10_3605.jpg', '/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_23_12939.jpg', '/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_25_1610.jpg', '/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_45_1698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/14/image_03112025_17_14_46_2532.jpg
/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_06_3010.jpg
/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_10_3605.jpg
/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_23_12939.jpg
/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_25_1610.jpg
/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_45_1698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858960","1401858963","1401858957","1401858971","1401858950","1401858953"],"photo_ids_order":["1401858950","1401858953","1401858957","1401858960","1401858963","1401858971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f774f536f72a4d59dd9b812002f0c03.jpg","text":"TemporaryFile(/tmp/multipartBody2880893587341309405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169034015,"filename":"image_03112025_17_16_23_12939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdbced3de62341716769e226507f822b.jpg","text":"TemporaryFile(/tmp/multipartBody8778167455942471766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169034015,"filename":"image_03112025_17_16_25_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77052491a50778e725c43d0351859077.jpg","text":"TemporaryFile(/tmp/multipartBody1993206038198487463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169034015,"filename":"image_03112025_17_16_10_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21692e5dc0743ec7131ba0a7110d47f8.jpg","text":"TemporaryFile(/tmp/multipartBody622169397207124151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169034015,"filename":"image_03112025_17_16_45_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5c8cfb6234f097ba0c7112c45f81704.jpg","text":"TemporaryFile(/tmp/multipartBody435679016230996471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169034015,"filename":"image_03112025_17_14_46_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20311c8ac695e888abdfadcffbd670eb.jpg","text":"TemporaryFile(/tmp/multipartBody2831535413381466055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169034015,"filename":"image_03112025_17_16_06_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858957","file1":"1401858953","file0":"1401858950","file4":"1401858963","file5":"1401858971","file3":"1401858960"},"map_files_photo_id_array":[{"photo_id":"1401858971","filename":"file5"},{"photo_id":"1401858957","filename":"file2"},{"photo_id":"1401858963","filename":"file4"},{"photo_id":"1401858953","filename":"file1"},{"photo_id":"1401858950","filename":"file0"},{"photo_id":"1401858960","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401858960":["hashtag1","hashtag2"]},{"1401858963":["hashtag1","hashtag2"]},{"1401858957":["hashtag1","hashtag2"]},{"1401858971":["hashtag1","hashtag2"]},{"1401858950":["hashtag1","hashtag2"]},{"1401858953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401858960, 1401858963, 1401858957, 1401858971, 1401858950, 1401858953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26044750213623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:17:03.138801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_34_9591.jpg', '/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_44_9564.jpg', '/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_54_10534.jpg', '/home/pi/Desktop/images/31122025/07/43/image_31122025_07_44_04_9717.jpg', '/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_15_10668.jpg', '/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_24_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_34_9591.jpg
/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_44_9564.jpg
/home/pi/Desktop/images/31122025/07/43/image_31122025_07_43_54_10534.jpg
/home/pi/Desktop/images/31122025/07/43/image_31122025_07_44_04_9717.jpg
/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_15_10668.jpg
/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_24_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858984","1401858989","1401858980","1401858977","1401858986","1401858982"],"photo_ids_order":["1401858977","1401858980","1401858982","1401858984","1401858986","1401858989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ed9c508adf8214e996b4afa3f008ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4408245741063362066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169083793,"filename":"image_31122025_07_44_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23f15d06892db4c76279d7afc2a8f48d.jpg","text":"TemporaryFile(/tmp/multipartBody4588150997515724240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169083793,"filename":"image_31122025_07_44_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f44933215ae047577afbc4a959488682.jpg","text":"TemporaryFile(/tmp/multipartBody1929871111556002901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169083793,"filename":"image_31122025_07_43_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17558927803d4e26b91c8a254fb41470.jpg","text":"TemporaryFile(/tmp/multipartBody6221373310288582504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169083793,"filename":"image_31122025_07_43_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6c1f493886122d726471a6672e8b563.jpg","text":"TemporaryFile(/tmp/multipartBody4245728360133616408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169083793,"filename":"image_31122025_07_44_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/112db9aff19c62438e0310085d0622fb.jpg","text":"TemporaryFile(/tmp/multipartBody530388793975735648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169083793,"filename":"image_31122025_07_43_54_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401858982","file1":"1401858980","file0":"1401858977","file4":"1401858986","file5":"1401858989","file3":"1401858984"},"map_files_photo_id_array":[{"photo_id":"1401858989","filename":"file5"},{"photo_id":"1401858982","filename":"file2"},{"photo_id":"1401858986","filename":"file4"},{"photo_id":"1401858980","filename":"file1"},{"photo_id":"1401858977","filename":"file0"},{"photo_id":"1401858984","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401858984":["hashtag1","hashtag2"]},{"1401858989":["hashtag1","hashtag2"]},{"1401858980":["hashtag1","hashtag2"]},{"1401858977":["hashtag1","hashtag2"]},{"1401858986":["hashtag1","hashtag2"]},{"1401858982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401858984, 1401858989, 1401858980, 1401858977, 1401858986, 1401858982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59189963340759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:17:42.505757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_46_1507.jpg', '/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_56_1720.jpg', '/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_58_1782.jpg', '/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_31_29366.jpg', '/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_42_4757.jpg', '/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_45_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_46_1507.jpg
/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_56_1720.jpg
/home/pi/Desktop/images/03112025/17/16/image_03112025_17_16_58_1782.jpg
/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_31_29366.jpg
/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_42_4757.jpg
/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_45_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401858996","1401859011","1401859013","1401859022","1401859016","1401859019"],"photo_ids_order":["1401858996","1401859011","1401859013","1401859016","1401859019","1401859022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1478b9550ab32cbd1206b1c16725975b.jpg","text":"TemporaryFile(/tmp/multipartBody6433047779246688406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169124502,"filename":"image_03112025_17_16_46_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c17a0d109ece4841f28b143a702da8d.jpg","text":"TemporaryFile(/tmp/multipartBody7582095974704085089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169124502,"filename":"image_03112025_17_16_56_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d3e9af841310a10312dc7bd97fb6c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5824784299390799926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169124502,"filename":"image_03112025_17_16_58_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/967969c19557cce3abd29479a7ea92e4.jpg","text":"TemporaryFile(/tmp/multipartBody332903413798012546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169124502,"filename":"image_03112025_17_17_45_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e015aae5b996ab62024e2bf79d2e35f.jpg","text":"TemporaryFile(/tmp/multipartBody6350819413252095663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169124502,"filename":"image_03112025_17_17_31_29366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72181c7aa3e0d5972bdbb7175c47bc64.jpg","text":"TemporaryFile(/tmp/multipartBody2262052412106802106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169124502,"filename":"image_03112025_17_17_42_4757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859013","file1":"1401859011","file0":"1401858996","file4":"1401859019","file5":"1401859022","file3":"1401859016"},"map_files_photo_id_array":[{"photo_id":"1401859022","filename":"file5"},{"photo_id":"1401859013","filename":"file2"},{"photo_id":"1401859019","filename":"file4"},{"photo_id":"1401859011","filename":"file1"},{"photo_id":"1401858996","filename":"file0"},{"photo_id":"1401859016","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401858996":["hashtag1","hashtag2"]},{"1401859011":["hashtag1","hashtag2"]},{"1401859013":["hashtag1","hashtag2"]},{"1401859022":["hashtag1","hashtag2"]},{"1401859016":["hashtag1","hashtag2"]},{"1401859019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401858996, 1401859011, 1401859013, 1401859022, 1401859016, 1401859019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1769118309021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:18:22.713691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_34_9630.jpg', '/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_44_9691.jpg', '/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_54_10630.jpg', '/home/pi/Desktop/images/31122025/07/44/image_31122025_07_45_04_9683.jpg', '/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_14_9678.jpg', '/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_25_10879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_34_9630.jpg
/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_44_9691.jpg
/home/pi/Desktop/images/31122025/07/44/image_31122025_07_44_54_10630.jpg
/home/pi/Desktop/images/31122025/07/44/image_31122025_07_45_04_9683.jpg
/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_14_9678.jpg
/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_25_10879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859026","1401859028","1401859037","1401859030","1401859048","1401859033"],"photo_ids_order":["1401859026","1401859028","1401859030","1401859033","1401859037","1401859048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/899f2ff3dcd50ff5cedf277c94e7a251.jpg","text":"TemporaryFile(/tmp/multipartBody7823604000863791111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169163334,"filename":"image_31122025_07_44_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5adf3b8b34ac6da4d18f4566fe45889.jpg","text":"TemporaryFile(/tmp/multipartBody3341715001687726869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169163334,"filename":"image_31122025_07_44_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81f6ce335aae5a5c85ede5cb29ea10d3.jpg","text":"TemporaryFile(/tmp/multipartBody6716831842975593981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169163334,"filename":"image_31122025_07_45_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e1893a48670fbc736cfefd34f0ac441.jpg","text":"TemporaryFile(/tmp/multipartBody667478681588688317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169163334,"filename":"image_31122025_07_44_54_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b62d7b2361240193be41f3bcef304199.jpg","text":"TemporaryFile(/tmp/multipartBody8164329338582914471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169163334,"filename":"image_31122025_07_45_25_10879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c49b48a258093c4e5498d2b2922e1318.jpg","text":"TemporaryFile(/tmp/multipartBody6762066705092524185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169163334,"filename":"image_31122025_07_45_04_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859030","file1":"1401859028","file0":"1401859026","file4":"1401859037","file5":"1401859048","file3":"1401859033"},"map_files_photo_id_array":[{"photo_id":"1401859048","filename":"file5"},{"photo_id":"1401859030","filename":"file2"},{"photo_id":"1401859037","filename":"file4"},{"photo_id":"1401859028","filename":"file1"},{"photo_id":"1401859026","filename":"file0"},{"photo_id":"1401859033","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401859026":["hashtag1","hashtag2"]},{"1401859028":["hashtag1","hashtag2"]},{"1401859037":["hashtag1","hashtag2"]},{"1401859030":["hashtag1","hashtag2"]},{"1401859048":["hashtag1","hashtag2"]},{"1401859033":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401859026, 1401859028, 1401859037, 1401859030, 1401859048, 1401859033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20645761489868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:19:02.947931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_34_9641.jpg', '/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_44_9661.jpg', '/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_54_9793.jpg', '/home/pi/Desktop/images/31122025/07/45/image_31122025_07_46_05_10812.jpg', '/home/pi/Desktop/images/31122025/07/46/image_31122025_07_46_24_9831.jpg', '/home/pi/Desktop/images/31122025/07/46/image_31122025_07_46_35_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_34_9641.jpg
/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_44_9661.jpg
/home/pi/Desktop/images/31122025/07/45/image_31122025_07_45_54_9793.jpg
/home/pi/Desktop/images/31122025/07/45/image_31122025_07_46_05_10812.jpg
/home/pi/Desktop/images/31122025/07/46/image_31122025_07_46_24_9831.jpg
/home/pi/Desktop/images/31122025/07/46/image_31122025_07_46_35_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401859073","1401859061","1401859055","1401859075","1401859078","1401859051"],"photo_ids_order":["1401859051","1401859055","1401859061","1401859073","1401859075","1401859078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db912476c740563c9a9c9b3e58b4c5ad.jpg","text":"TemporaryFile(/tmp/multipartBody2076879929909799895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169203696,"filename":"image_31122025_07_46_05_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c886c69e4677c35e2a4cc5e86773b111.jpg","text":"TemporaryFile(/tmp/multipartBody1806935981571164022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169203696,"filename":"image_31122025_07_45_54_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b195c7877b10eeb5fddb231bcb8a5ad2.jpg","text":"TemporaryFile(/tmp/multipartBody7114181298926541469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169203696,"filename":"image_31122025_07_45_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dac986ce4ef2ae61b72b08ada78e0c2.jpg","text":"TemporaryFile(/tmp/multipartBody5474232603981680638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169203696,"filename":"image_31122025_07_46_24_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19b89b099b4f9d8c67ea9c9cf6b5b754.jpg","text":"TemporaryFile(/tmp/multipartBody3140462369641008332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169203696,"filename":"image_31122025_07_46_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a63cd41575dc269db075eb465627062f.jpg","text":"TemporaryFile(/tmp/multipartBody1874294371782316298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169203696,"filename":"image_31122025_07_45_34_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859061","file1":"1401859055","file0":"1401859051","file4":"1401859075","file5":"1401859078","file3":"1401859073"},"map_files_photo_id_array":[{"photo_id":"1401859078","filename":"file5"},{"photo_id":"1401859061","filename":"file2"},{"photo_id":"1401859075","filename":"file4"},{"photo_id":"1401859055","filename":"file1"},{"photo_id":"1401859051","filename":"file0"},{"photo_id":"1401859073","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401859073":["hashtag1","hashtag2"]},{"1401859061":["hashtag1","hashtag2"]},{"1401859055":["hashtag1","hashtag2"]},{"1401859075":["hashtag1","hashtag2"]},{"1401859078":["hashtag1","hashtag2"]},{"1401859051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401859073, 1401859061, 1401859055, 1401859075, 1401859078, 1401859051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.75623893737793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:20:02.857516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/46/image_31122025_07_46_44_9729.jpg', '/home/pi/Desktop/images/31122025/07/46/image_31122025_07_46_54_9560.jpg', '/home/pi/Desktop/images/31122025/07/46/image_31122025_07_47_04_9975.jpg', '/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_14_9847.jpg', '/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_25_10824.jpg', '/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/46/image_31122025_07_46_44_9729.jpg
/home/pi/Desktop/images/31122025/07/46/image_31122025_07_46_54_9560.jpg
/home/pi/Desktop/images/31122025/07/46/image_31122025_07_47_04_9975.jpg
/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_14_9847.jpg
/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_25_10824.jpg
/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_34_9561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859405","1401859338","1401859410","1401859413","1401859373","1401859408"],"photo_ids_order":["1401859338","1401859373","1401859405","1401859408","1401859410","1401859413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46aa6cd5fd0005bf8029a0943475b2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2601137875504947774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169263494,"filename":"image_31122025_07_47_04_9975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c3cc465c29b214faf2f41f76201b919.jpg","text":"TemporaryFile(/tmp/multipartBody4933710389336129651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169263494,"filename":"image_31122025_07_46_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfac17251e79646e2e68018c9241c8a7.jpg","text":"TemporaryFile(/tmp/multipartBody8995582463286860611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169263494,"filename":"image_31122025_07_47_25_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea0eca0900c735f0509f8388530b32d3.jpg","text":"TemporaryFile(/tmp/multipartBody9137891102189614957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169263494,"filename":"image_31122025_07_47_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f097e02dcfc32e4a6d2a443837febb4.jpg","text":"TemporaryFile(/tmp/multipartBody42390694341434404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169263494,"filename":"image_31122025_07_46_54_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e962f16d91132c32917dc521de5f4035.jpg","text":"TemporaryFile(/tmp/multipartBody1634188417392476413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169263494,"filename":"image_31122025_07_47_14_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859405","file1":"1401859373","file0":"1401859338","file4":"1401859410","file5":"1401859413","file3":"1401859408"},"map_files_photo_id_array":[{"photo_id":"1401859413","filename":"file5"},{"photo_id":"1401859405","filename":"file2"},{"photo_id":"1401859410","filename":"file4"},{"photo_id":"1401859373","filename":"file1"},{"photo_id":"1401859338","filename":"file0"},{"photo_id":"1401859408","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401859405":["hashtag1","hashtag2"]},{"1401859338":["hashtag1","hashtag2"]},{"1401859410":["hashtag1","hashtag2"]},{"1401859413":["hashtag1","hashtag2"]},{"1401859373":["hashtag1","hashtag2"]},{"1401859408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401859405, 1401859338, 1401859410, 1401859413, 1401859373, 1401859408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.027339458465576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:20:42.421375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_50_1762.jpg', '/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_51_1591.jpg', '/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_53_1776.jpg', '/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_58_1582.jpg', '/home/pi/Desktop/images/03112025/17/17/image_03112025_17_18_00_1712.jpg', '/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_38_26492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_50_1762.jpg
/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_51_1591.jpg
/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_53_1776.jpg
/home/pi/Desktop/images/03112025/17/17/image_03112025_17_17_58_1582.jpg
/home/pi/Desktop/images/03112025/17/17/image_03112025_17_18_00_1712.jpg
/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_38_26492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859437","1401859431","1401859440","1401859418","1401859433","1401859435"],"photo_ids_order":["1401859418","1401859431","1401859433","1401859435","1401859437","1401859440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02a86f85dacb138313dc5b181d5cfb0b.jpg","text":"TemporaryFile(/tmp/multipartBody858902997662795431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169304334,"filename":"image_03112025_17_18_00_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cb092a8ffdd11f654b4b909dc426645.jpg","text":"TemporaryFile(/tmp/multipartBody6983370311868000475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169304334,"filename":"image_03112025_17_17_51_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1ad553ff16d81928bd1c5013bb76253.jpg","text":"TemporaryFile(/tmp/multipartBody119683106516911040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169304334,"filename":"image_03112025_17_18_38_26492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18b54da41379f370656727b58967020e.jpg","text":"TemporaryFile(/tmp/multipartBody7065127437375928195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169304334,"filename":"image_03112025_17_17_50_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c2af99c47f13f484fc499db3ad5cb89.jpg","text":"TemporaryFile(/tmp/multipartBody897242792570806396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169304334,"filename":"image_03112025_17_17_53_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61170e40ad3eeda5edb8816563ddbefc.jpg","text":"TemporaryFile(/tmp/multipartBody4034153478420081315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169304334,"filename":"image_03112025_17_17_58_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859433","file1":"1401859431","file0":"1401859418","file4":"1401859437","file5":"1401859440","file3":"1401859435"},"map_files_photo_id_array":[{"photo_id":"1401859440","filename":"file5"},{"photo_id":"1401859433","filename":"file2"},{"photo_id":"1401859437","filename":"file4"},{"photo_id":"1401859431","filename":"file1"},{"photo_id":"1401859418","filename":"file0"},{"photo_id":"1401859435","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401859437":["hashtag1","hashtag2"]},{"1401859431":["hashtag1","hashtag2"]},{"1401859440":["hashtag1","hashtag2"]},{"1401859418":["hashtag1","hashtag2"]},{"1401859433":["hashtag1","hashtag2"]},{"1401859435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401859437, 1401859431, 1401859440, 1401859418, 1401859433, 1401859435)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.81911778450012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:21:32.693441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_40_1621.jpg', '/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_45_1631.jpg', '/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_52_7225.jpg', '/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_54_1636.jpg', '/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_57_1670.jpg', '/home/pi/Desktop/images/03112025/17/18/image_03112025_17_19_00_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_40_1621.jpg
/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_45_1631.jpg
/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_52_7225.jpg
/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_54_1636.jpg
/home/pi/Desktop/images/03112025/17/18/image_03112025_17_18_57_1670.jpg
/home/pi/Desktop/images/03112025/17/18/image_03112025_17_19_00_1605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859461","1401859464","1401859467","1401859449","1401859469","1401859471"],"photo_ids_order":["1401859449","1401859461","1401859464","1401859467","1401859469","1401859471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc0ce6ed19d23fbfc6508a176853b6e8.jpg","text":"TemporaryFile(/tmp/multipartBody3639818338238796326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169354605,"filename":"image_03112025_17_18_45_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f7eb170285ef9966947b8c816a048d8.jpg","text":"TemporaryFile(/tmp/multipartBody8998283351124857090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169354605,"filename":"image_03112025_17_18_52_7225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c1740bc369fc7857580db3b1b154e66.jpg","text":"TemporaryFile(/tmp/multipartBody7707461013942921381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169354605,"filename":"image_03112025_17_18_54_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d79a8a994cf5a0d58277ff1dd6f67b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3256088947563402750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169354605,"filename":"image_03112025_17_18_40_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e010b93b8987e494e91e70d2aac6f146.jpg","text":"TemporaryFile(/tmp/multipartBody8465131648104452757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169354605,"filename":"image_03112025_17_18_57_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc8333ebcbe5e7aa801c7824a5463a30.jpg","text":"TemporaryFile(/tmp/multipartBody4686201919938223660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169354605,"filename":"image_03112025_17_19_00_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859464","file1":"1401859461","file0":"1401859449","file4":"1401859469","file5":"1401859471","file3":"1401859467"},"map_files_photo_id_array":[{"photo_id":"1401859471","filename":"file5"},{"photo_id":"1401859464","filename":"file2"},{"photo_id":"1401859469","filename":"file4"},{"photo_id":"1401859461","filename":"file1"},{"photo_id":"1401859449","filename":"file0"},{"photo_id":"1401859467","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401859461":["hashtag1","hashtag2"]},{"1401859464":["hashtag1","hashtag2"]},{"1401859467":["hashtag1","hashtag2"]},{"1401859449":["hashtag1","hashtag2"]},{"1401859469":["hashtag1","hashtag2"]},{"1401859471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401859461, 1401859464, 1401859467, 1401859449, 1401859469, 1401859471)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.233251094818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:22:22.592430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_44_9762.jpg', '/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_54_10077.jpg', '/home/pi/Desktop/images/31122025/07/47/image_31122025_07_48_04_9879.jpg', '/home/pi/Desktop/images/31122025/07/48/image_31122025_07_48_15_10693.jpg', '/home/pi/Desktop/images/31122025/07/48/image_31122025_07_48_24_9662.jpg', '/home/pi/Desktop/images/31122025/07/48/image_31122025_07_48_34_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_44_9762.jpg
/home/pi/Desktop/images/31122025/07/47/image_31122025_07_47_54_10077.jpg
/home/pi/Desktop/images/31122025/07/47/image_31122025_07_48_04_9879.jpg
/home/pi/Desktop/images/31122025/07/48/image_31122025_07_48_15_10693.jpg
/home/pi/Desktop/images/31122025/07/48/image_31122025_07_48_24_9662.jpg
/home/pi/Desktop/images/31122025/07/48/image_31122025_07_48_34_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859569","1401859566","1401859571","1401859574","1401859561","1401859590"],"photo_ids_order":["1401859561","1401859566","1401859569","1401859571","1401859574","1401859590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68c69a2f34a918f3090eca467cca37d2.jpg","text":"TemporaryFile(/tmp/multipartBody142024682677340718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169403148,"filename":"image_31122025_07_48_04_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/589ce6b77f99d4a1cb50f5f7c2d1738f.jpg","text":"TemporaryFile(/tmp/multipartBody3634163172971364678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169403148,"filename":"image_31122025_07_47_54_10077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1303e77b29597625dac8a3cc3dcabb64.jpg","text":"TemporaryFile(/tmp/multipartBody2864382550325386686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169403148,"filename":"image_31122025_07_48_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74da981971cdc5328eb0dc426c0ee468.jpg","text":"TemporaryFile(/tmp/multipartBody8778776114617843791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169403148,"filename":"image_31122025_07_48_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af9be5c256c3b5dba79b728f63567a28.jpg","text":"TemporaryFile(/tmp/multipartBody7332706901428510549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169403148,"filename":"image_31122025_07_47_44_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05b1bafb5c851eb0f99523c58b37f4dc.jpg","text":"TemporaryFile(/tmp/multipartBody272401339567114441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169403148,"filename":"image_31122025_07_48_34_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859569","file1":"1401859566","file0":"1401859561","file4":"1401859574","file5":"1401859590","file3":"1401859571"},"map_files_photo_id_array":[{"photo_id":"1401859590","filename":"file5"},{"photo_id":"1401859569","filename":"file2"},{"photo_id":"1401859574","filename":"file4"},{"photo_id":"1401859566","filename":"file1"},{"photo_id":"1401859561","filename":"file0"},{"photo_id":"1401859571","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401859569":["hashtag1","hashtag2"]},{"1401859566":["hashtag1","hashtag2"]},{"1401859571":["hashtag1","hashtag2"]},{"1401859574":["hashtag1","hashtag2"]},{"1401859561":["hashtag1","hashtag2"]},{"1401859590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401859569, 1401859566, 1401859571, 1401859574, 1401859561, 1401859590)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.711358070373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:23:11.954998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_12_1790.jpg', '/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_22_4083.jpg', '/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_24_1684.jpg', '/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_27_1590.jpg', '/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_29_1643.jpg', '/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_30_1522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_12_1790.jpg
/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_22_4083.jpg
/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_24_1684.jpg
/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_27_1590.jpg
/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_29_1643.jpg
/home/pi/Desktop/images/03112025/17/19/image_03112025_17_19_30_1522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859701","1401859712","1401859715","1401859709","1401859703","1401859706"],"photo_ids_order":["1401859701","1401859703","1401859706","1401859709","1401859712","1401859715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44068fa1a7e8170dc6746deab0a54714.jpg","text":"TemporaryFile(/tmp/multipartBody3994414927625843269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169454188,"filename":"image_03112025_17_19_12_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbdc846f37459700a34e4c0169244182.jpg","text":"TemporaryFile(/tmp/multipartBody1879330288751748489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169454188,"filename":"image_03112025_17_19_29_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a7d142c04ecba997515f7a86b455ecd.jpg","text":"TemporaryFile(/tmp/multipartBody3204319863012343021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169454188,"filename":"image_03112025_17_19_30_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e6698c4c69e7a147d8cabad9eba7c19.jpg","text":"TemporaryFile(/tmp/multipartBody2168991176399053626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169454188,"filename":"image_03112025_17_19_27_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9ba6c9c55ed066c7b2e155f70b2105a.jpg","text":"TemporaryFile(/tmp/multipartBody6512726802740781851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169454188,"filename":"image_03112025_17_19_22_4083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbee990bf63d3dd2f83fa4e496c9bd15.jpg","text":"TemporaryFile(/tmp/multipartBody1118251481600426359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169454188,"filename":"image_03112025_17_19_24_1684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859706","file1":"1401859703","file0":"1401859701","file4":"1401859712","file5":"1401859715","file3":"1401859709"},"map_files_photo_id_array":[{"photo_id":"1401859715","filename":"file5"},{"photo_id":"1401859706","filename":"file2"},{"photo_id":"1401859712","filename":"file4"},{"photo_id":"1401859703","filename":"file1"},{"photo_id":"1401859701","filename":"file0"},{"photo_id":"1401859709","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401859701":["hashtag1","hashtag2"]},{"1401859712":["hashtag1","hashtag2"]},{"1401859715":["hashtag1","hashtag2"]},{"1401859709":["hashtag1","hashtag2"]},{"1401859703":["hashtag1","hashtag2"]},{"1401859706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401859701, 1401859712, 1401859715, 1401859709, 1401859703, 1401859706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88497257232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:24:02.670316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:24:14.503027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_07_3011.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_11_3778.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_15_3872.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_18_2969.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_19_1638.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_22_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_07_3011.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_11_3778.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_15_3872.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_18_2969.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_19_1638.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_22_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859740","1401859757","1401859750","1401859744","1401859753","1401859735"],"photo_ids_order":["1401859735","1401859740","1401859744","1401859750","1401859753","1401859757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5342e1f341f40361013152dd78a833f9.jpg","text":"TemporaryFile(/tmp/multipartBody2866676283749810619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169516452,"filename":"image_03112025_17_22_11_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79fecf85d627ee101f53f3a91df89fff.jpg","text":"TemporaryFile(/tmp/multipartBody2610332546950384679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169516452,"filename":"image_03112025_17_22_22_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f4463a106ff0c1cc6d5a0499d22884e.jpg","text":"TemporaryFile(/tmp/multipartBody6786019810784189982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169516452,"filename":"image_03112025_17_22_18_2969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f388c51e3ba0623257a22b7b0bfb1a43.jpg","text":"TemporaryFile(/tmp/multipartBody8620129752526098754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169516452,"filename":"image_03112025_17_22_15_3872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93676d1f20292a9e9bab328e116248a4.jpg","text":"TemporaryFile(/tmp/multipartBody2232124024103634742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169516452,"filename":"image_03112025_17_22_19_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6887f434191a1001cf3c2b0dbaf1f142.jpg","text":"TemporaryFile(/tmp/multipartBody815461204027196599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169516452,"filename":"image_03112025_17_22_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859744","file1":"1401859740","file0":"1401859735","file4":"1401859753","file5":"1401859757","file3":"1401859750"},"map_files_photo_id_array":[{"photo_id":"1401859757","filename":"file5"},{"photo_id":"1401859744","filename":"file2"},{"photo_id":"1401859753","filename":"file4"},{"photo_id":"1401859740","filename":"file1"},{"photo_id":"1401859735","filename":"file0"},{"photo_id":"1401859750","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401859740":["hashtag1","hashtag2"]},{"1401859757":["hashtag1","hashtag2"]},{"1401859750":["hashtag1","hashtag2"]},{"1401859744":["hashtag1","hashtag2"]},{"1401859753":["hashtag1","hashtag2"]},{"1401859735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401859740, 1401859757, 1401859750, 1401859744, 1401859753, 1401859735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17788648605347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:25:03.078395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/48/image_31122025_07_48_54_9709.jpg', '/home/pi/Desktop/images/31122025/07/48/image_31122025_07_49_04_9596.jpg', '/home/pi/Desktop/images/31122025/07/49/image_31122025_07_49_14_9817.jpg', '/home/pi/Desktop/images/31122025/07/49/image_31122025_07_49_25_10756.jpg', '/home/pi/Desktop/images/31122025/07/49/image_31122025_07_49_34_9675.jpg', '/home/pi/Desktop/images/31122025/07/49/image_31122025_07_49_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/48/image_31122025_07_48_54_9709.jpg
/home/pi/Desktop/images/31122025/07/48/image_31122025_07_49_04_9596.jpg
/home/pi/Desktop/images/31122025/07/49/image_31122025_07_49_14_9817.jpg
/home/pi/Desktop/images/31122025/07/49/image_31122025_07_49_25_10756.jpg
/home/pi/Desktop/images/31122025/07/49/image_31122025_07_49_34_9675.jpg
/home/pi/Desktop/images/31122025/07/49/image_31122025_07_49_44_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859770","1401859775","1401859778","1401859774","1401859762","1401859765"],"photo_ids_order":["1401859762","1401859765","1401859770","1401859774","1401859775","1401859778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc25aee2a7aea208684473a7b51d1a89.jpg","text":"TemporaryFile(/tmp/multipartBody4776092566361573345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169563744,"filename":"image_31122025_07_49_14_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c69ce92e36d7012af03102b7b451b077.jpg","text":"TemporaryFile(/tmp/multipartBody5831131406872252920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169563744,"filename":"image_31122025_07_49_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd12353fec43439c2d3e67a7a66a4d17.jpg","text":"TemporaryFile(/tmp/multipartBody3955366938990636589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169563744,"filename":"image_31122025_07_49_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55ba772817dba844a7240798e5c52d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4212831467417636746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169563744,"filename":"image_31122025_07_49_25_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/082c1c388c889c583febb49f219063cc.jpg","text":"TemporaryFile(/tmp/multipartBody164520688935847967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169563744,"filename":"image_31122025_07_48_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43f6705b9f6cb8755597e0d721fdcfec.jpg","text":"TemporaryFile(/tmp/multipartBody540838458031372361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169563744,"filename":"image_31122025_07_49_04_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859770","file1":"1401859765","file0":"1401859762","file4":"1401859775","file5":"1401859778","file3":"1401859774"},"map_files_photo_id_array":[{"photo_id":"1401859778","filename":"file5"},{"photo_id":"1401859770","filename":"file2"},{"photo_id":"1401859775","filename":"file4"},{"photo_id":"1401859765","filename":"file1"},{"photo_id":"1401859762","filename":"file0"},{"photo_id":"1401859774","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401859770":["hashtag1","hashtag2"]},{"1401859775":["hashtag1","hashtag2"]},{"1401859778":["hashtag1","hashtag2"]},{"1401859774":["hashtag1","hashtag2"]},{"1401859762":["hashtag1","hashtag2"]},{"1401859765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401859770, 1401859775, 1401859778, 1401859774, 1401859762, 1401859765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.114545583724976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:25:42.434316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_41_19049.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_43_1582.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_44_1532.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_47_1578.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_49_1536.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_51_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_41_19049.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_43_1582.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_44_1532.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_47_1578.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_49_1536.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_51_1574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859791","1401859785","1401859793","1401859795","1401859789","1401859797"],"photo_ids_order":["1401859785","1401859789","1401859791","1401859793","1401859795","1401859797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dbda4adab9777b3ec9bade43f1153c1.jpg","text":"TemporaryFile(/tmp/multipartBody7859106490468775374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169604363,"filename":"image_03112025_17_22_44_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5dfae61b01f7f20008342ef73cde354.jpg","text":"TemporaryFile(/tmp/multipartBody1232321493864816224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169604363,"filename":"image_03112025_17_22_41_19049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a801570314674d010ea751e93b81eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1029454131021928711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169604363,"filename":"image_03112025_17_22_47_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fee25a98347ddecf22d17f55580d0fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3195836763648102302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169604363,"filename":"image_03112025_17_22_49_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cc55881ee730f0ccdc4606b17b5113a.jpg","text":"TemporaryFile(/tmp/multipartBody1108570708839656496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169604363,"filename":"image_03112025_17_22_43_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fc5b84e78ac3826c9d8ed4845ee8f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7355929815692973221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169604363,"filename":"image_03112025_17_22_51_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859791","file1":"1401859789","file0":"1401859785","file4":"1401859795","file5":"1401859797","file3":"1401859793"},"map_files_photo_id_array":[{"photo_id":"1401859797","filename":"file5"},{"photo_id":"1401859791","filename":"file2"},{"photo_id":"1401859795","filename":"file4"},{"photo_id":"1401859789","filename":"file1"},{"photo_id":"1401859785","filename":"file0"},{"photo_id":"1401859793","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401859791":["hashtag1","hashtag2"]},{"1401859785":["hashtag1","hashtag2"]},{"1401859793":["hashtag1","hashtag2"]},{"1401859795":["hashtag1","hashtag2"]},{"1401859789":["hashtag1","hashtag2"]},{"1401859797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401859791, 1401859785, 1401859793, 1401859795, 1401859789, 1401859797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87034869194031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:26:22.644446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_14_9894.jpg', '/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_24_9632.jpg', '/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_34_10640.jpg', '/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_44_9681.jpg', '/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_54_9750.jpg', '/home/pi/Desktop/images/31122025/07/50/image_31122025_07_51_05_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_14_9894.jpg
/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_24_9632.jpg
/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_34_10640.jpg
/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_44_9681.jpg
/home/pi/Desktop/images/31122025/07/50/image_31122025_07_50_54_9750.jpg
/home/pi/Desktop/images/31122025/07/50/image_31122025_07_51_05_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859801","1401859809","1401859803","1401859812","1401859826","1401859805"],"photo_ids_order":["1401859801","1401859803","1401859805","1401859809","1401859812","1401859826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4498bebca8c2e35b502480ccdb2a1f3.jpg","text":"TemporaryFile(/tmp/multipartBody3837096207238692138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169643235,"filename":"image_31122025_07_50_14_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d48e48fdd6db4c1301efdc19d135380a.jpg","text":"TemporaryFile(/tmp/multipartBody8674830236101099529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169643235,"filename":"image_31122025_07_50_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e74942c092ad8a6db39094cf98aca88b.jpg","text":"TemporaryFile(/tmp/multipartBody6774591100177508573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169643235,"filename":"image_31122025_07_50_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/406c49cd35d45a5063d37b685db13e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7462452689186695982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169643235,"filename":"image_31122025_07_50_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c61cff63f1872f6e988987b58c84ebc6.jpg","text":"TemporaryFile(/tmp/multipartBody7254946529776132863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169643235,"filename":"image_31122025_07_51_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fb55afb9f37cde31592d1b31c3e160d.jpg","text":"TemporaryFile(/tmp/multipartBody8496394243606699718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169643235,"filename":"image_31122025_07_50_34_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859805","file1":"1401859803","file0":"1401859801","file4":"1401859812","file5":"1401859826","file3":"1401859809"},"map_files_photo_id_array":[{"photo_id":"1401859826","filename":"file5"},{"photo_id":"1401859805","filename":"file2"},{"photo_id":"1401859812","filename":"file4"},{"photo_id":"1401859803","filename":"file1"},{"photo_id":"1401859801","filename":"file0"},{"photo_id":"1401859809","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401859801":["hashtag1","hashtag2"]},{"1401859809":["hashtag1","hashtag2"]},{"1401859803":["hashtag1","hashtag2"]},{"1401859812":["hashtag1","hashtag2"]},{"1401859826":["hashtag1","hashtag2"]},{"1401859805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401859801, 1401859809, 1401859803, 1401859812, 1401859826, 1401859805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.170963525772095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:27:03.355811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_14_9676.jpg', '/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_24_9660.jpg', '/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_34_10618.jpg', '/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_44_9620.jpg', '/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_55_10607.jpg', '/home/pi/Desktop/images/31122025/07/51/image_31122025_07_52_04_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_14_9676.jpg
/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_24_9660.jpg
/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_34_10618.jpg
/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_44_9620.jpg
/home/pi/Desktop/images/31122025/07/51/image_31122025_07_51_55_10607.jpg
/home/pi/Desktop/images/31122025/07/51/image_31122025_07_52_04_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859833","1401859836","1401859830","1401859838","1401859841","1401859834"],"photo_ids_order":["1401859830","1401859833","1401859834","1401859836","1401859838","1401859841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c244b7b9245873f3f99bf5df98a9e6d9.jpg","text":"TemporaryFile(/tmp/multipartBody2574645915238463890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169684012,"filename":"image_31122025_07_51_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49e9e29d0ffe83fd58d8c03367ddc8ce.jpg","text":"TemporaryFile(/tmp/multipartBody4171225919250024346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169684012,"filename":"image_31122025_07_51_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ea5c79b96628cd4c3aea133c8214017.jpg","text":"TemporaryFile(/tmp/multipartBody4151719462071227490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169684012,"filename":"image_31122025_07_51_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f825da6aebb15270530a8a04bb54e20d.jpg","text":"TemporaryFile(/tmp/multipartBody728886375390788437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169684012,"filename":"image_31122025_07_51_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdc013b9876f6d6d3762ed09b86c4305.jpg","text":"TemporaryFile(/tmp/multipartBody6814137464179246530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169684012,"filename":"image_31122025_07_52_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fdd6d4be392786a17fa7dde38550f40.jpg","text":"TemporaryFile(/tmp/multipartBody5475520935186328646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169684012,"filename":"image_31122025_07_51_34_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859834","file1":"1401859833","file0":"1401859830","file4":"1401859838","file5":"1401859841","file3":"1401859836"},"map_files_photo_id_array":[{"photo_id":"1401859841","filename":"file5"},{"photo_id":"1401859834","filename":"file2"},{"photo_id":"1401859838","filename":"file4"},{"photo_id":"1401859833","filename":"file1"},{"photo_id":"1401859830","filename":"file0"},{"photo_id":"1401859836","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401859833":["hashtag1","hashtag2"]},{"1401859836":["hashtag1","hashtag2"]},{"1401859830":["hashtag1","hashtag2"]},{"1401859838":["hashtag1","hashtag2"]},{"1401859841":["hashtag1","hashtag2"]},{"1401859834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401859833, 1401859836, 1401859830, 1401859838, 1401859841, 1401859834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.273722648620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:27:42.845352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_52_1658.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_54_1653.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_55_1655.jpg', '/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_57_1760.jpg', '/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_01_2538.jpg', '/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_04_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_52_1658.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_54_1653.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_55_1655.jpg
/home/pi/Desktop/images/03112025/17/22/image_03112025_17_22_57_1760.jpg
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_01_2538.jpg
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_04_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859851","1401859857","1401859853","1401859855","1401859849","1401859852"],"photo_ids_order":["1401859849","1401859851","1401859852","1401859853","1401859855","1401859857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e88922fc91b5e77e423ac14b1a6059e2.jpg","text":"TemporaryFile(/tmp/multipartBody7801334892695419309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169724783,"filename":"image_03112025_17_22_54_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3919c4fe0331e56a2db4c1958c439e1.jpg","text":"TemporaryFile(/tmp/multipartBody7189186282599084811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169724783,"filename":"image_03112025_17_23_04_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/097f7353d7b664ff977f7ddbf1dc2505.jpg","text":"TemporaryFile(/tmp/multipartBody5811552312658388322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169724783,"filename":"image_03112025_17_22_57_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26a9526ea3823e36b779f27288a20691.jpg","text":"TemporaryFile(/tmp/multipartBody1465681715856072725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169724783,"filename":"image_03112025_17_23_01_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abea1d8f37033404cc2aa9a5ca434e20.jpg","text":"TemporaryFile(/tmp/multipartBody7680063010968099462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169724783,"filename":"image_03112025_17_22_52_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72f3216d08eab08ec61c93fb857befb4.jpg","text":"TemporaryFile(/tmp/multipartBody6812403962960388780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169724783,"filename":"image_03112025_17_22_55_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859852","file1":"1401859851","file0":"1401859849","file4":"1401859855","file5":"1401859857","file3":"1401859853"},"map_files_photo_id_array":[{"photo_id":"1401859857","filename":"file5"},{"photo_id":"1401859852","filename":"file2"},{"photo_id":"1401859855","filename":"file4"},{"photo_id":"1401859851","filename":"file1"},{"photo_id":"1401859849","filename":"file0"},{"photo_id":"1401859853","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401859851":["hashtag1","hashtag2"]},{"1401859857":["hashtag1","hashtag2"]},{"1401859853":["hashtag1","hashtag2"]},{"1401859855":["hashtag1","hashtag2"]},{"1401859849":["hashtag1","hashtag2"]},{"1401859852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401859851, 1401859857, 1401859853, 1401859855, 1401859849, 1401859852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23680400848389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:28:31.979097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_08_3664.jpg', '/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_10_2552.jpg', '/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_13_2536.jpg', '/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_17_3574.jpg', '/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_52_35344.jpg', '/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_55_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_08_3664.jpg
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_10_2552.jpg
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_13_2536.jpg
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_17_3574.jpg
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_52_35344.jpg
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_55_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859866","1401859875","1401859869","1401859877","1401859871","1401859865"],"photo_ids_order":["1401859865","1401859866","1401859869","1401859871","1401859875","1401859877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/845d877c31871423b8cd9a4389157793.jpg","text":"TemporaryFile(/tmp/multipartBody2816362132975875621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169773922,"filename":"image_03112025_17_23_10_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b6cecab8a487d67c5e380ba25c273cf.jpg","text":"TemporaryFile(/tmp/multipartBody5113823848323278584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169773922,"filename":"image_03112025_17_23_52_35344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8624c96554e9afe169b934dc662da6b.jpg","text":"TemporaryFile(/tmp/multipartBody1423361096789186845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169773922,"filename":"image_03112025_17_23_13_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae7de7a876fe3e0c546020076f7219cb.jpg","text":"TemporaryFile(/tmp/multipartBody7631325196988842221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169773922,"filename":"image_03112025_17_23_55_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/993359bd4223477e57b545b42e65e781.jpg","text":"TemporaryFile(/tmp/multipartBody6922546343519692995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169773922,"filename":"image_03112025_17_23_17_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2615037b9a61939f48f5d735de32498e.jpg","text":"TemporaryFile(/tmp/multipartBody1644221180721787533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169773922,"filename":"image_03112025_17_23_08_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859869","file1":"1401859866","file0":"1401859865","file4":"1401859875","file5":"1401859877","file3":"1401859871"},"map_files_photo_id_array":[{"photo_id":"1401859877","filename":"file5"},{"photo_id":"1401859869","filename":"file2"},{"photo_id":"1401859875","filename":"file4"},{"photo_id":"1401859866","filename":"file1"},{"photo_id":"1401859865","filename":"file0"},{"photo_id":"1401859871","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401859866":["hashtag1","hashtag2"]},{"1401859875":["hashtag1","hashtag2"]},{"1401859869":["hashtag1","hashtag2"]},{"1401859877":["hashtag1","hashtag2"]},{"1401859871":["hashtag1","hashtag2"]},{"1401859865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401859866, 1401859875, 1401859869, 1401859877, 1401859871, 1401859865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62876534461975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:29:12.372692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_57_1827.jpg', '/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_58_1542.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_02_1797.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_04_1841.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_09_4958.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_11_2900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_57_1827.jpg
/home/pi/Desktop/images/03112025/17/23/image_03112025_17_23_58_1542.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_02_1797.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_04_1841.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_09_4958.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_11_2900.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859900","1401859893","1401859883","1401859891","1401859896","1401859881"],"photo_ids_order":["1401859881","1401859883","1401859891","1401859893","1401859896","1401859900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b43a5f8d06bd767bca399afed2098c76.jpg","text":"TemporaryFile(/tmp/multipartBody3057551944479766340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169814736,"filename":"image_03112025_17_24_11_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5965ddf37b39cffe4437af18c053ca6b.jpg","text":"TemporaryFile(/tmp/multipartBody6211046622750006462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169814736,"filename":"image_03112025_17_24_04_1841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c81f2718d1a08f3da66b9e6e282553db.jpg","text":"TemporaryFile(/tmp/multipartBody8992170169098265929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169814736,"filename":"image_03112025_17_23_58_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71291add1553bbc2f4a4397a5a1a149c.jpg","text":"TemporaryFile(/tmp/multipartBody8112692004977244703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169814736,"filename":"image_03112025_17_24_02_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf667380362aa32dc17ca6f2d5de067f.jpg","text":"TemporaryFile(/tmp/multipartBody3438523842039495391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169814736,"filename":"image_03112025_17_24_09_4958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcc2b66af25c746d6a23f2bbe9effbe6.jpg","text":"TemporaryFile(/tmp/multipartBody5113579446979730651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169814736,"filename":"image_03112025_17_23_57_1827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859891","file1":"1401859883","file0":"1401859881","file4":"1401859896","file5":"1401859900","file3":"1401859893"},"map_files_photo_id_array":[{"photo_id":"1401859900","filename":"file5"},{"photo_id":"1401859891","filename":"file2"},{"photo_id":"1401859896","filename":"file4"},{"photo_id":"1401859883","filename":"file1"},{"photo_id":"1401859881","filename":"file0"},{"photo_id":"1401859893","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401859900":["hashtag1","hashtag2"]},{"1401859893":["hashtag1","hashtag2"]},{"1401859883":["hashtag1","hashtag2"]},{"1401859891":["hashtag1","hashtag2"]},{"1401859896":["hashtag1","hashtag2"]},{"1401859881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401859900, 1401859893, 1401859883, 1401859891, 1401859896, 1401859881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.134114503860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:30:03.002864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_14_9828.jpg', '/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_24_9552.jpg', '/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_34_10602.jpg', '/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_44_9616.jpg', '/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_55_10587.jpg', '/home/pi/Desktop/images/31122025/07/52/image_31122025_07_53_04_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_14_9828.jpg
/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_24_9552.jpg
/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_34_10602.jpg
/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_44_9616.jpg
/home/pi/Desktop/images/31122025/07/52/image_31122025_07_52_55_10587.jpg
/home/pi/Desktop/images/31122025/07/52/image_31122025_07_53_04_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401859977","1401859974","1401859985","1401859979","1401859981","1401859989"],"photo_ids_order":["1401859974","1401859977","1401859979","1401859981","1401859985","1401859989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a44d48d5ffa142dada17963cbd3fb40.jpg","text":"TemporaryFile(/tmp/multipartBody8558635248182083923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169863646,"filename":"image_31122025_07_52_24_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57d4776f4613a9ed74f6e507241ca859.jpg","text":"TemporaryFile(/tmp/multipartBody3958855931730723959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169863646,"filename":"image_31122025_07_52_14_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/184eb3321dea96a8cfd8fb0367cc63ab.jpg","text":"TemporaryFile(/tmp/multipartBody3376822786420229660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169863646,"filename":"image_31122025_07_52_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1265ff1334ae654a2bb6d92b9b18759d.jpg","text":"TemporaryFile(/tmp/multipartBody1707327491590410294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169863646,"filename":"image_31122025_07_52_34_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2efe7f687da146ab5fde3a61c4962370.jpg","text":"TemporaryFile(/tmp/multipartBody1600584320060045275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169863646,"filename":"image_31122025_07_52_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bc89b41214ff00bf9f56e0105f2b67a.jpg","text":"TemporaryFile(/tmp/multipartBody6877436169554451760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169863646,"filename":"image_31122025_07_53_04_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401859979","file1":"1401859977","file0":"1401859974","file4":"1401859985","file5":"1401859989","file3":"1401859981"},"map_files_photo_id_array":[{"photo_id":"1401859989","filename":"file5"},{"photo_id":"1401859979","filename":"file2"},{"photo_id":"1401859985","filename":"file4"},{"photo_id":"1401859977","filename":"file1"},{"photo_id":"1401859974","filename":"file0"},{"photo_id":"1401859981","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401859977":["hashtag1","hashtag2"]},{"1401859974":["hashtag1","hashtag2"]},{"1401859985":["hashtag1","hashtag2"]},{"1401859979":["hashtag1","hashtag2"]},{"1401859981":["hashtag1","hashtag2"]},{"1401859989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401859977, 1401859974, 1401859985, 1401859979, 1401859981, 1401859989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31201720237732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:30:42.654479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_32_20942.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_36_3305.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_38_1856.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_39_1602.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_41_1735.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_43_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_32_20942.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_36_3305.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_38_1856.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_39_1602.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_41_1735.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_43_1665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860090","1401860063","1401860045","1401860083","1401860086","1401860071"],"photo_ids_order":["1401860045","1401860063","1401860071","1401860083","1401860086","1401860090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fcfd06706650a4d6e7fcd213c8c2da26.jpg","text":"TemporaryFile(/tmp/multipartBody8735157655556925477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169904512,"filename":"image_03112025_17_24_43_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1db022f02d399ef42fdf0503fbb782d7.jpg","text":"TemporaryFile(/tmp/multipartBody598105566525414064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169904512,"filename":"image_03112025_17_24_36_3305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1775f5b5a0a2b3e02aa23f193f8beeed.jpg","text":"TemporaryFile(/tmp/multipartBody3210346229309045858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169904512,"filename":"image_03112025_17_24_32_20942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5db111046e6315298578312dd0d14e9.jpg","text":"TemporaryFile(/tmp/multipartBody6711312914254060358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169904512,"filename":"image_03112025_17_24_39_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2a3037e59e889940a0991d863fc7ea7.jpg","text":"TemporaryFile(/tmp/multipartBody4990156887392723762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169904512,"filename":"image_03112025_17_24_41_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92bb2e47580327a9a7c25a801bd515dd.jpg","text":"TemporaryFile(/tmp/multipartBody8311110023864411315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169904512,"filename":"image_03112025_17_24_38_1856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860071","file1":"1401860063","file0":"1401860045","file4":"1401860086","file5":"1401860090","file3":"1401860083"},"map_files_photo_id_array":[{"photo_id":"1401860090","filename":"file5"},{"photo_id":"1401860071","filename":"file2"},{"photo_id":"1401860086","filename":"file4"},{"photo_id":"1401860063","filename":"file1"},{"photo_id":"1401860045","filename":"file0"},{"photo_id":"1401860083","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401860090":["hashtag1","hashtag2"]},{"1401860063":["hashtag1","hashtag2"]},{"1401860045":["hashtag1","hashtag2"]},{"1401860083":["hashtag1","hashtag2"]},{"1401860086":["hashtag1","hashtag2"]},{"1401860071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401860090, 1401860063, 1401860045, 1401860083, 1401860086, 1401860071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.415107011795044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:31:32.898380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_44_1581.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_50_5675.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_51_1541.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_53_1683.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_55_1590.jpg', '/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_56_1535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_44_1581.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_50_5675.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_51_1541.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_53_1683.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_55_1590.jpg
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_56_1535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860116","1401860110","1401860107","1401860118","1401860105","1401860114"],"photo_ids_order":["1401860105","1401860107","1401860110","1401860114","1401860116","1401860118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9be0ad3555908c9a42c24d26b05a891d.jpg","text":"TemporaryFile(/tmp/multipartBody7545064321428836889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169954851,"filename":"image_03112025_17_24_55_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2aff17bd3fc1129fd58aa7faa8f6822c.jpg","text":"TemporaryFile(/tmp/multipartBody8055619575797936818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169954851,"filename":"image_03112025_17_24_51_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/227e27ca3b03f304cc2033019af6651a.jpg","text":"TemporaryFile(/tmp/multipartBody2288322050349407913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169954851,"filename":"image_03112025_17_24_50_5675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30ba922e00e8820193466790742631aa.jpg","text":"TemporaryFile(/tmp/multipartBody1301097227093815084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169954851,"filename":"image_03112025_17_24_56_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acb7e107f2ba6dc22f74e822c76e8caa.jpg","text":"TemporaryFile(/tmp/multipartBody5005209322104736235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169954851,"filename":"image_03112025_17_24_44_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54657dda945367347f26bd936efc2ce7.jpg","text":"TemporaryFile(/tmp/multipartBody906062760167539246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767169954851,"filename":"image_03112025_17_24_53_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860110","file1":"1401860107","file0":"1401860105","file4":"1401860116","file5":"1401860118","file3":"1401860114"},"map_files_photo_id_array":[{"photo_id":"1401860118","filename":"file5"},{"photo_id":"1401860110","filename":"file2"},{"photo_id":"1401860116","filename":"file4"},{"photo_id":"1401860107","filename":"file1"},{"photo_id":"1401860105","filename":"file0"},{"photo_id":"1401860114","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401860116":["hashtag1","hashtag2"]},{"1401860110":["hashtag1","hashtag2"]},{"1401860107":["hashtag1","hashtag2"]},{"1401860118":["hashtag1","hashtag2"]},{"1401860105":["hashtag1","hashtag2"]},{"1401860114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401860116, 1401860110, 1401860107, 1401860118, 1401860105, 1401860114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.353010177612305 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:32:21.961725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_14_9766.jpg', '/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_24_9741.jpg', '/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_34_10572.jpg', '/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_44_9521.jpg', '/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_55_10640.jpg', '/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_15_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_14_9766.jpg
/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_24_9741.jpg
/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_34_10572.jpg
/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_44_9521.jpg
/home/pi/Desktop/images/31122025/07/53/image_31122025_07_53_55_10640.jpg
/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_15_10560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860140","1401860131","1401860125","1401860156","1401860144","1401860129"],"photo_ids_order":["1401860125","1401860129","1401860131","1401860140","1401860144","1401860156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be0637c9002a8133919ebeec4d667b80.jpg","text":"TemporaryFile(/tmp/multipartBody1593823516169168169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170002554,"filename":"image_31122025_07_53_44_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6405a1779e8767e4e64db8de0aff2171.jpg","text":"TemporaryFile(/tmp/multipartBody3617083468620160894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170002554,"filename":"image_31122025_07_53_34_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbc94d2df6596e71c9bec6fea491f435.jpg","text":"TemporaryFile(/tmp/multipartBody7709003245747167867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170002554,"filename":"image_31122025_07_53_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/184823bb3749788a83b972a34b6ac6e7.jpg","text":"TemporaryFile(/tmp/multipartBody8834344261872935314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170002554,"filename":"image_31122025_07_54_15_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ffce3716741f99efd8cb71500377f2e.jpg","text":"TemporaryFile(/tmp/multipartBody1231653110302116069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170002554,"filename":"image_31122025_07_53_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/193db8fa6cc4f70bd86c803ad39a9fca.jpg","text":"TemporaryFile(/tmp/multipartBody4083455356184206250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170002554,"filename":"image_31122025_07_53_24_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860131","file1":"1401860129","file0":"1401860125","file4":"1401860144","file5":"1401860156","file3":"1401860140"},"map_files_photo_id_array":[{"photo_id":"1401860156","filename":"file5"},{"photo_id":"1401860131","filename":"file2"},{"photo_id":"1401860144","filename":"file4"},{"photo_id":"1401860129","filename":"file1"},{"photo_id":"1401860125","filename":"file0"},{"photo_id":"1401860140","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860140":["hashtag1","hashtag2"]},{"1401860131":["hashtag1","hashtag2"]},{"1401860125":["hashtag1","hashtag2"]},{"1401860156":["hashtag1","hashtag2"]},{"1401860144":["hashtag1","hashtag2"]},{"1401860129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860140, 1401860131, 1401860125, 1401860156, 1401860144, 1401860129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.745850563049316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:33:02.889039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_24_9541.jpg', '/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_34_9554.jpg', '/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_44_10535.jpg', '/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_54_9572.jpg', '/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_14_9751.jpg', '/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_24_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_24_9541.jpg
/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_34_9554.jpg
/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_44_10535.jpg
/home/pi/Desktop/images/31122025/07/54/image_31122025_07_54_54_9572.jpg
/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_14_9751.jpg
/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_24_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860200","1401860206","1401860208","1401860180","1401860183","1401860204"],"photo_ids_order":["1401860180","1401860183","1401860200","1401860204","1401860206","1401860208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f29b284e055a388bf67c4e7c30eff22b.jpg","text":"TemporaryFile(/tmp/multipartBody4584659976625082475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170043565,"filename":"image_31122025_07_54_44_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/513c4f2df8417757167a487ba4825fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4148489853916402511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170043565,"filename":"image_31122025_07_55_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4cb98c915c120d6d015a04638ee0eff.jpg","text":"TemporaryFile(/tmp/multipartBody7498618730155480028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170043565,"filename":"image_31122025_07_55_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44d45dd5b9a8da45a3c63185f0cdc186.jpg","text":"TemporaryFile(/tmp/multipartBody369710508083733023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170043565,"filename":"image_31122025_07_54_24_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e9ceadcde9fdbcc9689a1d980384977.jpg","text":"TemporaryFile(/tmp/multipartBody4466328881082209728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170043565,"filename":"image_31122025_07_54_34_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97cba24fcd13ebc351762cbd45af57eb.jpg","text":"TemporaryFile(/tmp/multipartBody3969114849488659808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170043565,"filename":"image_31122025_07_54_54_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860200","file1":"1401860183","file0":"1401860180","file4":"1401860206","file5":"1401860208","file3":"1401860204"},"map_files_photo_id_array":[{"photo_id":"1401860208","filename":"file5"},{"photo_id":"1401860200","filename":"file2"},{"photo_id":"1401860206","filename":"file4"},{"photo_id":"1401860183","filename":"file1"},{"photo_id":"1401860180","filename":"file0"},{"photo_id":"1401860204","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860200":["hashtag1","hashtag2"]},{"1401860206":["hashtag1","hashtag2"]},{"1401860208":["hashtag1","hashtag2"]},{"1401860180":["hashtag1","hashtag2"]},{"1401860183":["hashtag1","hashtag2"]},{"1401860204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860200, 1401860206, 1401860208, 1401860180, 1401860183, 1401860204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.074886083602905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:33:42.262564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_58_1608.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_09_3011.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_13_3643.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_15_2558.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_19_3704.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_21_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/24/image_03112025_17_24_58_1608.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_09_3011.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_13_3643.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_15_2558.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_19_3704.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_21_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860230","1401860232","1401860235","1401860223","1401860219","1401860228"],"photo_ids_order":["1401860219","1401860223","1401860228","1401860230","1401860232","1401860235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26cc000034d1fda10233fdf14bd0ffbf.jpg","text":"TemporaryFile(/tmp/multipartBody8812692769041285211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170084199,"filename":"image_03112025_17_25_15_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e480dd7ef485f1c57bcd7b46be0e7ab.jpg","text":"TemporaryFile(/tmp/multipartBody1277882325696821348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170084199,"filename":"image_03112025_17_25_19_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14bd0318f95a4c21aa805d0842ee6527.jpg","text":"TemporaryFile(/tmp/multipartBody7373586557705693347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170084199,"filename":"image_03112025_17_25_21_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f2a8397340331573dc90449d420d669.jpg","text":"TemporaryFile(/tmp/multipartBody4438739968969240273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170084199,"filename":"image_03112025_17_25_09_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14ecfc6acffb2906bf6ca369d9e5e70f.jpg","text":"TemporaryFile(/tmp/multipartBody2879042179190737934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170084199,"filename":"image_03112025_17_24_58_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/026984c7196d9a9a585586c5105e4e24.jpg","text":"TemporaryFile(/tmp/multipartBody2876219836967532614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170084199,"filename":"image_03112025_17_25_13_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860228","file1":"1401860223","file0":"1401860219","file4":"1401860232","file5":"1401860235","file3":"1401860230"},"map_files_photo_id_array":[{"photo_id":"1401860235","filename":"file5"},{"photo_id":"1401860228","filename":"file2"},{"photo_id":"1401860232","filename":"file4"},{"photo_id":"1401860223","filename":"file1"},{"photo_id":"1401860219","filename":"file0"},{"photo_id":"1401860230","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401860230":["hashtag1","hashtag2"]},{"1401860232":["hashtag1","hashtag2"]},{"1401860235":["hashtag1","hashtag2"]},{"1401860223":["hashtag1","hashtag2"]},{"1401860219":["hashtag1","hashtag2"]},{"1401860228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401860230, 1401860232, 1401860235, 1401860223, 1401860219, 1401860228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.006728649139404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:34:32.520448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_24_2609.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_28_3673.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_31_2770.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_33_2630.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_37_3651.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_39_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_24_2609.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_28_3673.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_31_2770.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_33_2630.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_37_3651.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_39_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860418","1401860427","1401860415","1401860316","1401860420","1401860423"],"photo_ids_order":["1401860316","1401860415","1401860418","1401860420","1401860423","1401860427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f02a3258dc04d10eece76bfed5297598.jpg","text":"TemporaryFile(/tmp/multipartBody8731036871436151115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170134455,"filename":"image_03112025_17_25_31_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9c965b1708fc71a76dad6fb057516e3.jpg","text":"TemporaryFile(/tmp/multipartBody8823582150501289870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170134455,"filename":"image_03112025_17_25_39_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e232002a7722fdae263f66d56902b1e4.jpg","text":"TemporaryFile(/tmp/multipartBody4473495896536929378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170134455,"filename":"image_03112025_17_25_28_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eefa7c37860077e594593234a8907dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7623262432349294637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170134455,"filename":"image_03112025_17_25_24_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e0742efe6d10f021ffa413c71b5f1ab.jpg","text":"TemporaryFile(/tmp/multipartBody8974074582351254825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170134455,"filename":"image_03112025_17_25_33_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7d802a32f430235a14b7b7a89a3c3bd.jpg","text":"TemporaryFile(/tmp/multipartBody2355749243878949586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170134455,"filename":"image_03112025_17_25_37_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860418","file1":"1401860415","file0":"1401860316","file4":"1401860423","file5":"1401860427","file3":"1401860420"},"map_files_photo_id_array":[{"photo_id":"1401860427","filename":"file5"},{"photo_id":"1401860418","filename":"file2"},{"photo_id":"1401860423","filename":"file4"},{"photo_id":"1401860415","filename":"file1"},{"photo_id":"1401860316","filename":"file0"},{"photo_id":"1401860420","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401860418":["hashtag1","hashtag2"]},{"1401860427":["hashtag1","hashtag2"]},{"1401860415":["hashtag1","hashtag2"]},{"1401860316":["hashtag1","hashtag2"]},{"1401860420":["hashtag1","hashtag2"]},{"1401860423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401860418, 1401860427, 1401860415, 1401860316, 1401860420, 1401860423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24827313423157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:35:22.570262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_35_10682.jpg', '/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_44_9603.jpg', '/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_54_9801.jpg', '/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_14_9590.jpg', '/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_24_9717.jpg', '/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_34_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_35_10682.jpg
/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_44_9603.jpg
/home/pi/Desktop/images/31122025/07/55/image_31122025_07_55_54_9801.jpg
/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_14_9590.jpg
/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_24_9717.jpg
/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_34_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860500","1401860518","1401860502","1401860505","1401860480","1401860476"],"photo_ids_order":["1401860476","1401860480","1401860500","1401860502","1401860505","1401860518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ddc075dc1e452e5449d65a8cc1317455.jpg","text":"TemporaryFile(/tmp/multipartBody5373317235278127783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170183168,"filename":"image_31122025_07_55_54_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c133367a646d553a283823d0cf01228.jpg","text":"TemporaryFile(/tmp/multipartBody2999109658207122285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170183168,"filename":"image_31122025_07_56_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d321c5eec9b8a152197cf6971c718b45.jpg","text":"TemporaryFile(/tmp/multipartBody8646244590535462789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170183168,"filename":"image_31122025_07_56_14_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8fd700faad8ad1f9e52b5b7c8822efc.jpg","text":"TemporaryFile(/tmp/multipartBody513054036216800897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170183168,"filename":"image_31122025_07_56_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/733d2fddd7d01e9fc0fe30339417bf09.jpg","text":"TemporaryFile(/tmp/multipartBody4252979403880409752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170183168,"filename":"image_31122025_07_55_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b2eeeffca117489abfbf79ac33c84b4.jpg","text":"TemporaryFile(/tmp/multipartBody2698408105883076311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170183168,"filename":"image_31122025_07_55_35_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860500","file1":"1401860480","file0":"1401860476","file4":"1401860505","file5":"1401860518","file3":"1401860502"},"map_files_photo_id_array":[{"photo_id":"1401860518","filename":"file5"},{"photo_id":"1401860500","filename":"file2"},{"photo_id":"1401860505","filename":"file4"},{"photo_id":"1401860480","filename":"file1"},{"photo_id":"1401860476","filename":"file0"},{"photo_id":"1401860502","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860500":["hashtag1","hashtag2"]},{"1401860518":["hashtag1","hashtag2"]},{"1401860502":["hashtag1","hashtag2"]},{"1401860505":["hashtag1","hashtag2"]},{"1401860480":["hashtag1","hashtag2"]},{"1401860476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860500, 1401860518, 1401860502, 1401860505, 1401860480, 1401860476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10647368431091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:36:11.853870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_42_2575.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_46_3657.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_48_2526.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_52_3623.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_54_2656.jpg', '/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_57_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_42_2575.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_46_3657.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_48_2526.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_52_3623.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_54_2656.jpg
/home/pi/Desktop/images/03112025/17/25/image_03112025_17_25_57_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860611","1401860614","1401860622","1401860601","1401860604","1401860607"],"photo_ids_order":["1401860601","1401860604","1401860607","1401860611","1401860614","1401860622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abe77887fb5def2d624d4538ea05d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody8996486087737630754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170233660,"filename":"image_03112025_17_25_52_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c79a331d963e1147c8ca10c73135f84.jpg","text":"TemporaryFile(/tmp/multipartBody743641922491978572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170233660,"filename":"image_03112025_17_25_54_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ece61301c7179a9a81974d7d7b905621.jpg","text":"TemporaryFile(/tmp/multipartBody3348762738878194191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170233660,"filename":"image_03112025_17_25_57_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/499d649e80785da5fa9b8efa5a361dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6674890319188431568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170233660,"filename":"image_03112025_17_25_42_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/499cdc9af9f2951b8f5feeb4f547dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody7296088207021178072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170233660,"filename":"image_03112025_17_25_46_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dc13d56a31340db5bb4dbd562248317.jpg","text":"TemporaryFile(/tmp/multipartBody5133535822828563684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170233660,"filename":"image_03112025_17_25_48_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860607","file1":"1401860604","file0":"1401860601","file4":"1401860614","file5":"1401860622","file3":"1401860611"},"map_files_photo_id_array":[{"photo_id":"1401860622","filename":"file5"},{"photo_id":"1401860607","filename":"file2"},{"photo_id":"1401860614","filename":"file4"},{"photo_id":"1401860604","filename":"file1"},{"photo_id":"1401860601","filename":"file0"},{"photo_id":"1401860611","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401860611":["hashtag1","hashtag2"]},{"1401860614":["hashtag1","hashtag2"]},{"1401860622":["hashtag1","hashtag2"]},{"1401860601":["hashtag1","hashtag2"]},{"1401860604":["hashtag1","hashtag2"]},{"1401860607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401860611, 1401860614, 1401860622, 1401860601, 1401860604, 1401860607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32467198371887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:37:02.861011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_44_10500.jpg', '/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_54_9721.jpg', '/home/pi/Desktop/images/31122025/07/56/image_31122025_07_57_05_10753.jpg', '/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_14_9650.jpg', '/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_24_9619.jpg', '/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_35_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_44_10500.jpg
/home/pi/Desktop/images/31122025/07/56/image_31122025_07_56_54_9721.jpg
/home/pi/Desktop/images/31122025/07/56/image_31122025_07_57_05_10753.jpg
/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_14_9650.jpg
/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_24_9619.jpg
/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_35_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860743","1401860737","1401860746","1401860739","1401860718","1401860708"],"photo_ids_order":["1401860708","1401860718","1401860737","1401860739","1401860743","1401860746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a2f93eff144b013a66f100e444d7cc2.jpg","text":"TemporaryFile(/tmp/multipartBody3812199215563591714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170283485,"filename":"image_31122025_07_57_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fee9eda4563f53928f418b97721649c3.jpg","text":"TemporaryFile(/tmp/multipartBody8091394615047308171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170283485,"filename":"image_31122025_07_57_05_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc40f15b35ee1804abc7e399b4fed162.jpg","text":"TemporaryFile(/tmp/multipartBody6909002093561543595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170283485,"filename":"image_31122025_07_57_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f6913604fb0ead24041680867a34fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3735060330531803295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170283485,"filename":"image_31122025_07_57_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3197d6f9b75e9d74e155c87c836682dd.jpg","text":"TemporaryFile(/tmp/multipartBody659341384647363132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170283485,"filename":"image_31122025_07_56_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ac72f9a7422c9fb102edb70c9ddd910.jpg","text":"TemporaryFile(/tmp/multipartBody7654958591238144637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170283485,"filename":"image_31122025_07_56_44_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860737","file1":"1401860718","file0":"1401860708","file4":"1401860743","file5":"1401860746","file3":"1401860739"},"map_files_photo_id_array":[{"photo_id":"1401860746","filename":"file5"},{"photo_id":"1401860737","filename":"file2"},{"photo_id":"1401860743","filename":"file4"},{"photo_id":"1401860718","filename":"file1"},{"photo_id":"1401860708","filename":"file0"},{"photo_id":"1401860739","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860743":["hashtag1","hashtag2"]},{"1401860737":["hashtag1","hashtag2"]},{"1401860746":["hashtag1","hashtag2"]},{"1401860739":["hashtag1","hashtag2"]},{"1401860718":["hashtag1","hashtag2"]},{"1401860708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860743, 1401860737, 1401860746, 1401860739, 1401860718, 1401860708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.526360511779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:37:42.192670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_12_11270.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_24_11983.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_26_1661.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_27_1647.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_29_1515.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_30_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_12_11270.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_24_11983.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_26_1661.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_27_1647.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_29_1515.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_30_1584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860764","1401860758","1401860760","1401860759","1401860761","1401860755"],"photo_ids_order":["1401860755","1401860758","1401860759","1401860760","1401860761","1401860764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62144374d8b183af179b229160155138.jpg","text":"TemporaryFile(/tmp/multipartBody8489677455666521499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170324161,"filename":"image_03112025_17_26_30_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20fcabe55faab9d54ac5cc1d1f5c7d73.jpg","text":"TemporaryFile(/tmp/multipartBody6527173321171008963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170324161,"filename":"image_03112025_17_26_24_11983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07ba820011bffcaa7bc7dffd34ac19fc.jpg","text":"TemporaryFile(/tmp/multipartBody8840027176464621773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170324161,"filename":"image_03112025_17_26_27_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39259cb210b87709e1f261920883fa9b.jpg","text":"TemporaryFile(/tmp/multipartBody1217737582367867689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170324161,"filename":"image_03112025_17_26_26_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bd73b02853946366309006edd2e4144.jpg","text":"TemporaryFile(/tmp/multipartBody3818229540665257419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170324161,"filename":"image_03112025_17_26_29_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8a2b3f48c953ae24ddd2b58c24a15ed.jpg","text":"TemporaryFile(/tmp/multipartBody115191314815701076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170324161,"filename":"image_03112025_17_26_12_11270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860759","file1":"1401860758","file0":"1401860755","file4":"1401860761","file5":"1401860764","file3":"1401860760"},"map_files_photo_id_array":[{"photo_id":"1401860764","filename":"file5"},{"photo_id":"1401860759","filename":"file2"},{"photo_id":"1401860761","filename":"file4"},{"photo_id":"1401860758","filename":"file1"},{"photo_id":"1401860755","filename":"file0"},{"photo_id":"1401860760","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401860764":["hashtag1","hashtag2"]},{"1401860758":["hashtag1","hashtag2"]},{"1401860760":["hashtag1","hashtag2"]},{"1401860759":["hashtag1","hashtag2"]},{"1401860761":["hashtag1","hashtag2"]},{"1401860755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401860764, 1401860758, 1401860760, 1401860759, 1401860761, 1401860755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80220293998718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:38:22.368923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_44_9582.jpg', '/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_54_9797.jpg', '/home/pi/Desktop/images/31122025/07/57/image_31122025_07_58_05_10542.jpg', '/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_14_9626.jpg', '/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_24_9567.jpg', '/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_34_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_44_9582.jpg
/home/pi/Desktop/images/31122025/07/57/image_31122025_07_57_54_9797.jpg
/home/pi/Desktop/images/31122025/07/57/image_31122025_07_58_05_10542.jpg
/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_14_9626.jpg
/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_24_9567.jpg
/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_34_10757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860778","1401860793","1401860786","1401860795","1401860774","1401860782"],"photo_ids_order":["1401860774","1401860778","1401860782","1401860786","1401860793","1401860795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4868d81cf4438a9e1e8c0726116dbe6.jpg","text":"TemporaryFile(/tmp/multipartBody361338178021096559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170362981,"filename":"image_31122025_07_57_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25098ce961d81f915235e86aff5b4da1.jpg","text":"TemporaryFile(/tmp/multipartBody1760851068369897121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170362981,"filename":"image_31122025_07_58_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a63fe9ee1e04fe5ab0ea5047e60b7b89.jpg","text":"TemporaryFile(/tmp/multipartBody5400067573357392528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170362981,"filename":"image_31122025_07_58_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5257a4b1e2ee3d2a1e5521e4f6c4aef6.jpg","text":"TemporaryFile(/tmp/multipartBody5884346599237302746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170362981,"filename":"image_31122025_07_58_34_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c54e364e089f4107656fc7557d140060.jpg","text":"TemporaryFile(/tmp/multipartBody7897169245791427377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170362981,"filename":"image_31122025_07_57_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/215c55830c0d00b657a2cbd640004085.jpg","text":"TemporaryFile(/tmp/multipartBody3043234644563882300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170362981,"filename":"image_31122025_07_58_05_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860782","file1":"1401860778","file0":"1401860774","file4":"1401860793","file5":"1401860795","file3":"1401860786"},"map_files_photo_id_array":[{"photo_id":"1401860795","filename":"file5"},{"photo_id":"1401860782","filename":"file2"},{"photo_id":"1401860793","filename":"file4"},{"photo_id":"1401860778","filename":"file1"},{"photo_id":"1401860774","filename":"file0"},{"photo_id":"1401860786","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860778":["hashtag1","hashtag2"]},{"1401860793":["hashtag1","hashtag2"]},{"1401860786":["hashtag1","hashtag2"]},{"1401860795":["hashtag1","hashtag2"]},{"1401860774":["hashtag1","hashtag2"]},{"1401860782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860778, 1401860793, 1401860786, 1401860795, 1401860774, 1401860782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.595030546188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:39:03.560330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_44_9551.jpg', '/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_54_9718.jpg', '/home/pi/Desktop/images/31122025/07/58/image_31122025_07_59_04_10699.jpg', '/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_14_9675.jpg', '/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_24_9607.jpg', '/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_34_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_44_9551.jpg
/home/pi/Desktop/images/31122025/07/58/image_31122025_07_58_54_9718.jpg
/home/pi/Desktop/images/31122025/07/58/image_31122025_07_59_04_10699.jpg
/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_14_9675.jpg
/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_24_9607.jpg
/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_34_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860821","1401860824","1401860818","1401860831","1401860828","1401860816"],"photo_ids_order":["1401860816","1401860818","1401860821","1401860824","1401860828","1401860831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97bd901aecae319de41e030c2b6a4620.jpg","text":"TemporaryFile(/tmp/multipartBody6669437271441382220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170404315,"filename":"image_31122025_07_59_04_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b13beebf65876f12a7869cd3b5e98a7.jpg","text":"TemporaryFile(/tmp/multipartBody197648249410029864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170404315,"filename":"image_31122025_07_59_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbf9aef8ead65ba94359dc9e65ef3356.jpg","text":"TemporaryFile(/tmp/multipartBody8377451371619799280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170404315,"filename":"image_31122025_07_58_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b1d31718982ffcb7ec85a53fa1d5ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4794821624156031457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170404315,"filename":"image_31122025_07_59_34_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0ced10f1cec8a079870467b3fbd9a67.jpg","text":"TemporaryFile(/tmp/multipartBody6293220380126283073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170404315,"filename":"image_31122025_07_59_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95909d6acee4c69437177264a4283bec.jpg","text":"TemporaryFile(/tmp/multipartBody7498821168580758592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170404315,"filename":"image_31122025_07_58_44_9551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860821","file1":"1401860818","file0":"1401860816","file4":"1401860828","file5":"1401860831","file3":"1401860824"},"map_files_photo_id_array":[{"photo_id":"1401860831","filename":"file5"},{"photo_id":"1401860821","filename":"file2"},{"photo_id":"1401860828","filename":"file4"},{"photo_id":"1401860818","filename":"file1"},{"photo_id":"1401860816","filename":"file0"},{"photo_id":"1401860824","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860821":["hashtag1","hashtag2"]},{"1401860824":["hashtag1","hashtag2"]},{"1401860818":["hashtag1","hashtag2"]},{"1401860831":["hashtag1","hashtag2"]},{"1401860828":["hashtag1","hashtag2"]},{"1401860816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860821, 1401860824, 1401860818, 1401860831, 1401860828, 1401860816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46356415748596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:39:42.567627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_32_1537.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_34_1820.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_36_2451.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_38_1536.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_39_1611.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_41_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_32_1537.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_34_1820.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_36_2451.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_38_1536.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_39_1611.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_41_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860845","1401860839","1401860841","1401860835","1401860849","1401860843"],"photo_ids_order":["1401860835","1401860839","1401860841","1401860843","1401860845","1401860849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e3baf2d8763cf7e3642a3cdc5125a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1633543625168675854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170444500,"filename":"image_03112025_17_26_39_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/879ca668d284c97dbcbcf8ebc7eca18c.jpg","text":"TemporaryFile(/tmp/multipartBody186222071796679436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170444500,"filename":"image_03112025_17_26_34_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bda7a5f202de7fcdf4d1169caea802b.jpg","text":"TemporaryFile(/tmp/multipartBody405900546627833869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170444500,"filename":"image_03112025_17_26_36_2451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de01ba99301267ad6638a9a110d46318.jpg","text":"TemporaryFile(/tmp/multipartBody3287430644352658954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170444500,"filename":"image_03112025_17_26_32_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df9be95fdc75a083fc7e61fce8e39e84.jpg","text":"TemporaryFile(/tmp/multipartBody3760347707749828152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170444500,"filename":"image_03112025_17_26_41_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2211626f518f6a92feadc8d584e98e36.jpg","text":"TemporaryFile(/tmp/multipartBody8937058885742770367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170444500,"filename":"image_03112025_17_26_38_1536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860841","file1":"1401860839","file0":"1401860835","file4":"1401860845","file5":"1401860849","file3":"1401860843"},"map_files_photo_id_array":[{"photo_id":"1401860849","filename":"file5"},{"photo_id":"1401860841","filename":"file2"},{"photo_id":"1401860845","filename":"file4"},{"photo_id":"1401860839","filename":"file1"},{"photo_id":"1401860835","filename":"file0"},{"photo_id":"1401860843","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401860845":["hashtag1","hashtag2"]},{"1401860839":["hashtag1","hashtag2"]},{"1401860841":["hashtag1","hashtag2"]},{"1401860835":["hashtag1","hashtag2"]},{"1401860849":["hashtag1","hashtag2"]},{"1401860843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401860845, 1401860839, 1401860841, 1401860835, 1401860849, 1401860843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31362771987915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:40:22.712582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_44_9652.jpg', '/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_54_9714.jpg', '/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_15_10052.jpg', '/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_25_10579.jpg', '/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_35_9604.jpg', '/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_45_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_44_9652.jpg
/home/pi/Desktop/images/31122025/07/59/image_31122025_07_59_54_9714.jpg
/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_15_10052.jpg
/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_25_10579.jpg
/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_35_9604.jpg
/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_45_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860868","1401860861","1401860855","1401860864","1401860858","1401860872"],"photo_ids_order":["1401860855","1401860858","1401860861","1401860864","1401860868","1401860872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60247ac42f951d3bd3d81e58d962124e.jpg","text":"TemporaryFile(/tmp/multipartBody497876862976809895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170483305,"filename":"image_31122025_08_00_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afbaa42abbc8a487a98536ef00f85a16.jpg","text":"TemporaryFile(/tmp/multipartBody6637730034456512513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170483305,"filename":"image_31122025_08_00_15_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a30801df38781262cda59cb4ea359f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1547134798412305769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170483305,"filename":"image_31122025_07_59_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb3d40c05e279bc0f188be3742fcdd18.jpg","text":"TemporaryFile(/tmp/multipartBody9114693174076131617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170483305,"filename":"image_31122025_08_00_25_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ee0a3cbdfa72355cc8656133f9362b7.jpg","text":"TemporaryFile(/tmp/multipartBody5520203608413325377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170483305,"filename":"image_31122025_07_59_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51b1b43f7836e8e6943f5cdcc586ed9e.jpg","text":"TemporaryFile(/tmp/multipartBody5664595167271621059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170483305,"filename":"image_31122025_08_00_45_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860861","file1":"1401860858","file0":"1401860855","file4":"1401860868","file5":"1401860872","file3":"1401860864"},"map_files_photo_id_array":[{"photo_id":"1401860872","filename":"file5"},{"photo_id":"1401860861","filename":"file2"},{"photo_id":"1401860868","filename":"file4"},{"photo_id":"1401860858","filename":"file1"},{"photo_id":"1401860855","filename":"file0"},{"photo_id":"1401860864","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860868":["hashtag1","hashtag2"]},{"1401860861":["hashtag1","hashtag2"]},{"1401860855":["hashtag1","hashtag2"]},{"1401860864":["hashtag1","hashtag2"]},{"1401860858":["hashtag1","hashtag2"]},{"1401860872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860868, 1401860861, 1401860855, 1401860864, 1401860858, 1401860872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.023987770080566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:41:02.561425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_55_10581.jpg', '/home/pi/Desktop/images/31122025/08/00/image_31122025_08_01_05_9545.jpg', '/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_16_10630.jpg', '/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_25_9783.jpg', '/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_35_9666.jpg', '/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_46_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/00/image_31122025_08_00_55_10581.jpg
/home/pi/Desktop/images/31122025/08/00/image_31122025_08_01_05_9545.jpg
/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_16_10630.jpg
/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_25_9783.jpg
/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_35_9666.jpg
/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_46_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860889","1401860886","1401860876","1401860878","1401860881","1401860875"],"photo_ids_order":["1401860875","1401860876","1401860878","1401860881","1401860886","1401860889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/546050b9ff99c4b91ca9c02f090a0910.jpg","text":"TemporaryFile(/tmp/multipartBody2486801354109050101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170523189,"filename":"image_31122025_08_01_46_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b7f06de72e5b672b5757f17ee203e17.jpg","text":"TemporaryFile(/tmp/multipartBody2616750849546661333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170523189,"filename":"image_31122025_08_01_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69733e63a50caeefa93412732833b329.jpg","text":"TemporaryFile(/tmp/multipartBody4174744606557269495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170523189,"filename":"image_31122025_08_01_05_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ed2097b09957b3d183e74a444b06f29.jpg","text":"TemporaryFile(/tmp/multipartBody360549151751166892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170523189,"filename":"image_31122025_08_01_16_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbdf939c01155c095965996f2d65019c.jpg","text":"TemporaryFile(/tmp/multipartBody1909361381801804120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170523189,"filename":"image_31122025_08_01_25_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a92fedb1d99c5463ef0453fb5b40b252.jpg","text":"TemporaryFile(/tmp/multipartBody6466123741851896490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170523189,"filename":"image_31122025_08_00_55_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860878","file1":"1401860876","file0":"1401860875","file4":"1401860886","file5":"1401860889","file3":"1401860881"},"map_files_photo_id_array":[{"photo_id":"1401860889","filename":"file5"},{"photo_id":"1401860878","filename":"file2"},{"photo_id":"1401860886","filename":"file4"},{"photo_id":"1401860876","filename":"file1"},{"photo_id":"1401860875","filename":"file0"},{"photo_id":"1401860881","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860889":["hashtag1","hashtag2"]},{"1401860886":["hashtag1","hashtag2"]},{"1401860876":["hashtag1","hashtag2"]},{"1401860878":["hashtag1","hashtag2"]},{"1401860881":["hashtag1","hashtag2"]},{"1401860875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860889, 1401860886, 1401860876, 1401860878, 1401860881, 1401860875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79771971702576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:41:41.919893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_43_1706.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_44_1526.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_46_1763.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_49_2736.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_51_2567.jpg', '/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_54_2896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_43_1706.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_44_1526.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_46_1763.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_49_2736.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_51_2567.jpg
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_26_54_2896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860917","1401860898","1401860916","1401860918","1401860912","1401860915"],"photo_ids_order":["1401860898","1401860912","1401860915","1401860916","1401860917","1401860918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4aa4c5e27e01f3135efacddff1f2c5d1.jpg","text":"TemporaryFile(/tmp/multipartBody1280313633020910663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170563901,"filename":"image_03112025_17_26_51_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2414675c2d099c8ae970a6f18facb862.jpg","text":"TemporaryFile(/tmp/multipartBody2032313199292635298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170563901,"filename":"image_03112025_17_26_43_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8318783851f7f03201c1d7d6f72b982c.jpg","text":"TemporaryFile(/tmp/multipartBody2490651678083904790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170563901,"filename":"image_03112025_17_26_49_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eaa1cadf55e2e9249d6f5e4af0642c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1478627123695399446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170563901,"filename":"image_03112025_17_26_54_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4113e36a54b88cba6da78289b2d1ae83.jpg","text":"TemporaryFile(/tmp/multipartBody4356388127230595049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170563901,"filename":"image_03112025_17_26_44_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09773e46bb43ece4ed78cce1b8f92f10.jpg","text":"TemporaryFile(/tmp/multipartBody5825661851066232887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170563901,"filename":"image_03112025_17_26_46_1763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860915","file1":"1401860912","file0":"1401860898","file4":"1401860917","file5":"1401860918","file3":"1401860916"},"map_files_photo_id_array":[{"photo_id":"1401860918","filename":"file5"},{"photo_id":"1401860915","filename":"file2"},{"photo_id":"1401860917","filename":"file4"},{"photo_id":"1401860912","filename":"file1"},{"photo_id":"1401860898","filename":"file0"},{"photo_id":"1401860916","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401860917":["hashtag1","hashtag2"]},{"1401860898":["hashtag1","hashtag2"]},{"1401860916":["hashtag1","hashtag2"]},{"1401860918":["hashtag1","hashtag2"]},{"1401860912":["hashtag1","hashtag2"]},{"1401860915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401860917, 1401860898, 1401860916, 1401860918, 1401860912, 1401860915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53250002861023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:42:22.083732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_56_9777.jpg', '/home/pi/Desktop/images/31122025/08/01/image_31122025_08_02_05_9664.jpg', '/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_15_9625.jpg', '/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_26_10668.jpg', '/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_35_9716.jpg', '/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_46_10535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/01/image_31122025_08_01_56_9777.jpg
/home/pi/Desktop/images/31122025/08/01/image_31122025_08_02_05_9664.jpg
/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_15_9625.jpg
/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_26_10668.jpg
/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_35_9716.jpg
/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_46_10535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860935","1401860952","1401860931","1401860925","1401860949","1401860940"],"photo_ids_order":["1401860925","1401860931","1401860935","1401860940","1401860949","1401860952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d510bc9f6120682d817a963ff62eccc7.jpg","text":"TemporaryFile(/tmp/multipartBody1185956445274652914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170602636,"filename":"image_31122025_08_02_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad1b29b81c6b0a61dbeab14e241acd92.jpg","text":"TemporaryFile(/tmp/multipartBody1526693217384622819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170602636,"filename":"image_31122025_08_02_46_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78899ef42d617687a3a7d3276efb60e2.jpg","text":"TemporaryFile(/tmp/multipartBody7578708680961349063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170602636,"filename":"image_31122025_08_02_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00adf19a7b99d16694111ec675dfbbd8.jpg","text":"TemporaryFile(/tmp/multipartBody7633706967570834788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170602636,"filename":"image_31122025_08_01_56_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65749fb396c0e1c8b50d509a1c30b0c0.jpg","text":"TemporaryFile(/tmp/multipartBody8273020526036178270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170602636,"filename":"image_31122025_08_02_35_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9ddb60b27d120ffb58d6022ee9640dc.jpg","text":"TemporaryFile(/tmp/multipartBody487403683848442230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170602636,"filename":"image_31122025_08_02_26_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860935","file1":"1401860931","file0":"1401860925","file4":"1401860949","file5":"1401860952","file3":"1401860940"},"map_files_photo_id_array":[{"photo_id":"1401860952","filename":"file5"},{"photo_id":"1401860935","filename":"file2"},{"photo_id":"1401860949","filename":"file4"},{"photo_id":"1401860931","filename":"file1"},{"photo_id":"1401860925","filename":"file0"},{"photo_id":"1401860940","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860935":["hashtag1","hashtag2"]},{"1401860952":["hashtag1","hashtag2"]},{"1401860931":["hashtag1","hashtag2"]},{"1401860925":["hashtag1","hashtag2"]},{"1401860949":["hashtag1","hashtag2"]},{"1401860940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860935, 1401860952, 1401860931, 1401860925, 1401860949, 1401860940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92870903015137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:43:02.963200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_56_9843.jpg', '/home/pi/Desktop/images/31122025/08/02/image_31122025_08_03_05_9627.jpg', '/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_15_9638.jpg', '/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_26_10810.jpg', '/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_35_9643.jpg', '/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_45_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/02/image_31122025_08_02_56_9843.jpg
/home/pi/Desktop/images/31122025/08/02/image_31122025_08_03_05_9627.jpg
/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_15_9638.jpg
/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_26_10810.jpg
/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_35_9643.jpg
/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_45_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401860973","1401860976","1401860964","1401860984","1401860969","1401860980"],"photo_ids_order":["1401860964","1401860969","1401860973","1401860976","1401860980","1401860984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d765a3d6ec412e296f28b0ff4991d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3819207945538697759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170643607,"filename":"image_31122025_08_03_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d446029f9f8b1d0e3e7609512462d056.jpg","text":"TemporaryFile(/tmp/multipartBody8623804392109465814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170643607,"filename":"image_31122025_08_03_26_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b957927f167eba80823bb0b65d5bfb33.jpg","text":"TemporaryFile(/tmp/multipartBody361285721525248161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170643607,"filename":"image_31122025_08_02_56_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c4acd8cd133e3ac77523eb9a2e49163.jpg","text":"TemporaryFile(/tmp/multipartBody384774265074578514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170643607,"filename":"image_31122025_08_03_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9da03719863661e9a97a7a0e4253a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2497647485352440759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170643607,"filename":"image_31122025_08_03_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7193c7c3f540521f058d9ca2379fd5e.jpg","text":"TemporaryFile(/tmp/multipartBody8587674115320146777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170643607,"filename":"image_31122025_08_03_35_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401860973","file1":"1401860969","file0":"1401860964","file4":"1401860980","file5":"1401860984","file3":"1401860976"},"map_files_photo_id_array":[{"photo_id":"1401860984","filename":"file5"},{"photo_id":"1401860973","filename":"file2"},{"photo_id":"1401860980","filename":"file4"},{"photo_id":"1401860969","filename":"file1"},{"photo_id":"1401860964","filename":"file0"},{"photo_id":"1401860976","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401860973":["hashtag1","hashtag2"]},{"1401860976":["hashtag1","hashtag2"]},{"1401860964":["hashtag1","hashtag2"]},{"1401860984":["hashtag1","hashtag2"]},{"1401860969":["hashtag1","hashtag2"]},{"1401860980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401860973, 1401860976, 1401860964, 1401860984, 1401860969, 1401860980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90488386154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:43:42.248993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/26/image_03112025_17_27_01_3926.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_04_3028.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_07_2845.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_27_20607.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_29_1633.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_31_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/26/image_03112025_17_27_01_3926.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_04_3028.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_07_2845.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_27_20607.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_29_1633.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_31_1711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861039","1401861006","1401861003","1401861050","1401860998","1401861055"],"photo_ids_order":["1401860998","1401861003","1401861006","1401861039","1401861050","1401861055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/839f4fb0f1d2f9c320ff312d6df37711.jpg","text":"TemporaryFile(/tmp/multipartBody7946601092852795963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170684205,"filename":"image_03112025_17_27_27_20607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/310f9bb60d91b84bbb745005c8af3f47.jpg","text":"TemporaryFile(/tmp/multipartBody7848977126102024431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170684205,"filename":"image_03112025_17_27_07_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4f358eec1c778ec5458866d0d4127bd.jpg","text":"TemporaryFile(/tmp/multipartBody2527473107193147340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170684205,"filename":"image_03112025_17_27_04_3028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8eb9fa62e78a47a3b00e486a1404c49d.jpg","text":"TemporaryFile(/tmp/multipartBody2264819215056280604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170684205,"filename":"image_03112025_17_27_29_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/546110715c74a3030b6942be3fb2a23f.jpg","text":"TemporaryFile(/tmp/multipartBody7477511732385663702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170684205,"filename":"image_03112025_17_27_01_3926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aba67ab91169345d997fcbcf0d0450a2.jpg","text":"TemporaryFile(/tmp/multipartBody8494483142756657356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170684205,"filename":"image_03112025_17_27_31_1711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861006","file1":"1401861003","file0":"1401860998","file4":"1401861050","file5":"1401861055","file3":"1401861039"},"map_files_photo_id_array":[{"photo_id":"1401861055","filename":"file5"},{"photo_id":"1401861006","filename":"file2"},{"photo_id":"1401861050","filename":"file4"},{"photo_id":"1401861003","filename":"file1"},{"photo_id":"1401860998","filename":"file0"},{"photo_id":"1401861039","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861039":["hashtag1","hashtag2"]},{"1401861006":["hashtag1","hashtag2"]},{"1401861003":["hashtag1","hashtag2"]},{"1401861050":["hashtag1","hashtag2"]},{"1401860998":["hashtag1","hashtag2"]},{"1401861055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861039, 1401861006, 1401861003, 1401861050, 1401860998, 1401861055)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.649641275405884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:44:32.408762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_50_19932.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_52_1618.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_54_1749.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_55_1668.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_57_1521.jpg', '/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_59_1770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_50_19932.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_52_1618.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_54_1749.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_55_1668.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_57_1521.jpg
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_27_59_1770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861106","1401861101","1401861131","1401861125","1401861113","1401861127"],"photo_ids_order":["1401861101","1401861106","1401861113","1401861125","1401861127","1401861131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31f250c9db48f5ec0d90dfc3bab9094c.jpg","text":"TemporaryFile(/tmp/multipartBody6043697840818330136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170734384,"filename":"image_03112025_17_27_52_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1292d64af94fec8f9c6d75f4aea80ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2863397859059484725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170734384,"filename":"image_03112025_17_27_50_19932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98823988353b054a85d45dcca303b0b5.jpg","text":"TemporaryFile(/tmp/multipartBody3477461689575693763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170734384,"filename":"image_03112025_17_27_59_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4502ed211f65fba96741b355999192e3.jpg","text":"TemporaryFile(/tmp/multipartBody269640875749946522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170734384,"filename":"image_03112025_17_27_55_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0d09c2cb560e10b7dbc6572d1a147b8.jpg","text":"TemporaryFile(/tmp/multipartBody8935908868653065906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170734384,"filename":"image_03112025_17_27_54_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90abaf4714aafd8063138bf5773fe88c.jpg","text":"TemporaryFile(/tmp/multipartBody7726748775594716865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170734384,"filename":"image_03112025_17_27_57_1521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861113","file1":"1401861106","file0":"1401861101","file4":"1401861127","file5":"1401861131","file3":"1401861125"},"map_files_photo_id_array":[{"photo_id":"1401861131","filename":"file5"},{"photo_id":"1401861113","filename":"file2"},{"photo_id":"1401861127","filename":"file4"},{"photo_id":"1401861106","filename":"file1"},{"photo_id":"1401861101","filename":"file0"},{"photo_id":"1401861125","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861106":["hashtag1","hashtag2"]},{"1401861101":["hashtag1","hashtag2"]},{"1401861131":["hashtag1","hashtag2"]},{"1401861125":["hashtag1","hashtag2"]},{"1401861113":["hashtag1","hashtag2"]},{"1401861127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861106, 1401861101, 1401861131, 1401861125, 1401861113, 1401861127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92288684844971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:45:12.651621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/27/image_03112025_17_28_00_1672.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_03_2916.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_05_1505.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_07_1827.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_08_1629.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_10_1498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/27/image_03112025_17_28_00_1672.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_03_2916.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_05_1505.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_07_1827.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_08_1629.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_10_1498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861150","1401861144","1401861138","1401861147","1401861134","1401861154"],"photo_ids_order":["1401861134","1401861138","1401861144","1401861147","1401861150","1401861154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/899a7a09782496604ef058e4f3cac4bc.jpg","text":"TemporaryFile(/tmp/multipartBody5053119099992991067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170774475,"filename":"image_03112025_17_28_08_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f20577c03745781e99031cfcd889226.jpg","text":"TemporaryFile(/tmp/multipartBody1688817909001132553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170774475,"filename":"image_03112025_17_28_05_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3253689eec3fd82ed787cff55d77d70e.jpg","text":"TemporaryFile(/tmp/multipartBody7852429422681943440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170774475,"filename":"image_03112025_17_28_03_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4698db4a0e4be8c5dc1640990a2d88e6.jpg","text":"TemporaryFile(/tmp/multipartBody5575205064764726992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170774475,"filename":"image_03112025_17_28_07_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84016d56ce7c242bf148492b5a329726.jpg","text":"TemporaryFile(/tmp/multipartBody6007891477764795068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170774475,"filename":"image_03112025_17_28_00_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da7a1f1e94f1ae0bd63aa18afa11a96b.jpg","text":"TemporaryFile(/tmp/multipartBody7663278067149470589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170774475,"filename":"image_03112025_17_28_10_1498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861144","file1":"1401861138","file0":"1401861134","file4":"1401861150","file5":"1401861154","file3":"1401861147"},"map_files_photo_id_array":[{"photo_id":"1401861154","filename":"file5"},{"photo_id":"1401861144","filename":"file2"},{"photo_id":"1401861150","filename":"file4"},{"photo_id":"1401861138","filename":"file1"},{"photo_id":"1401861134","filename":"file0"},{"photo_id":"1401861147","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861150":["hashtag1","hashtag2"]},{"1401861144":["hashtag1","hashtag2"]},{"1401861138":["hashtag1","hashtag2"]},{"1401861147":["hashtag1","hashtag2"]},{"1401861134":["hashtag1","hashtag2"]},{"1401861154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861150, 1401861144, 1401861138, 1401861147, 1401861134, 1401861154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.754504680633545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:46:02.402551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_55_9948.jpg', '/home/pi/Desktop/images/31122025/08/03/image_31122025_08_04_06_10566.jpg', '/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_15_9853.jpg', '/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_25_9920.jpg', '/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_35_9592.jpg', '/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_45_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/03/image_31122025_08_03_55_9948.jpg
/home/pi/Desktop/images/31122025/08/03/image_31122025_08_04_06_10566.jpg
/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_15_9853.jpg
/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_25_9920.jpg
/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_35_9592.jpg
/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_45_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861159","1401861164","1401861161","1401861175","1401861169","1401861172"],"photo_ids_order":["1401861159","1401861161","1401861164","1401861169","1401861172","1401861175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1d3e3a2fd338654e1ba2dab80ed6c96.jpg","text":"TemporaryFile(/tmp/multipartBody1083109633917341703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170823033,"filename":"image_31122025_08_03_55_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5329a7637b4efb04f5f86c7c2a6e711.jpg","text":"TemporaryFile(/tmp/multipartBody559496059041662712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170823033,"filename":"image_31122025_08_04_15_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db6d3d79efbd0cab387419967b6aed6e.jpg","text":"TemporaryFile(/tmp/multipartBody3308424899798529158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170823033,"filename":"image_31122025_08_04_06_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0ccf722c8908d6110217be830c65791.jpg","text":"TemporaryFile(/tmp/multipartBody5434314051731097194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170823033,"filename":"image_31122025_08_04_45_10465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ceee0a1803a2944fa67d7308d6622664.jpg","text":"TemporaryFile(/tmp/multipartBody5158532740886177612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170823033,"filename":"image_31122025_08_04_25_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a5b097fb613a70ef3c0d0b89b369953.jpg","text":"TemporaryFile(/tmp/multipartBody8914640043393673288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170823033,"filename":"image_31122025_08_04_35_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861164","file1":"1401861161","file0":"1401861159","file4":"1401861172","file5":"1401861175","file3":"1401861169"},"map_files_photo_id_array":[{"photo_id":"1401861175","filename":"file5"},{"photo_id":"1401861164","filename":"file2"},{"photo_id":"1401861172","filename":"file4"},{"photo_id":"1401861161","filename":"file1"},{"photo_id":"1401861159","filename":"file0"},{"photo_id":"1401861169","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861159":["hashtag1","hashtag2"]},{"1401861164":["hashtag1","hashtag2"]},{"1401861161":["hashtag1","hashtag2"]},{"1401861175":["hashtag1","hashtag2"]},{"1401861169":["hashtag1","hashtag2"]},{"1401861172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861159, 1401861164, 1401861161, 1401861175, 1401861169, 1401861172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.202900886535645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:46:41.835007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_11_1660.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_13_1624.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_15_1674.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_16_1661.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_18_1610.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_20_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_11_1660.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_13_1624.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_15_1674.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_16_1661.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_18_1610.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_20_1651.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8630859851837158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:47:02.538461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_55_9754.jpg', '/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_16_10678.jpg', '/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_25_9627.jpg', '/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_35_9659.jpg', '/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_46_10700.jpg', '/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_55_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/04/image_31122025_08_04_55_9754.jpg
/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_16_10678.jpg
/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_25_9627.jpg
/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_35_9659.jpg
/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_46_10700.jpg
/home/pi/Desktop/images/31122025/08/05/image_31122025_08_05_55_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861216","1401861213","1401861207","1401861209","1401861218","1401861220"],"photo_ids_order":["1401861207","1401861209","1401861213","1401861216","1401861218","1401861220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed4885ee93967f0c3744c409a2dfad20.jpg","text":"TemporaryFile(/tmp/multipartBody250745099521766600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170883214,"filename":"image_31122025_08_05_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02f6b3f4be227f2fffaf8729dcfa8693.jpg","text":"TemporaryFile(/tmp/multipartBody3367213580066781796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170883214,"filename":"image_31122025_08_05_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/238f257d90ae2f5be4c6fdc156df73ec.jpg","text":"TemporaryFile(/tmp/multipartBody2430902123432054092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170883214,"filename":"image_31122025_08_04_55_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d34b8a859507e91e58378a81e9483db2.jpg","text":"TemporaryFile(/tmp/multipartBody7513608685034486803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170883214,"filename":"image_31122025_08_05_16_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67d50dc17fd4d4c73e133607d2e84b70.jpg","text":"TemporaryFile(/tmp/multipartBody5812497744893807503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170883214,"filename":"image_31122025_08_05_46_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83d2bf523612ebdce8c337dfc77cf836.jpg","text":"TemporaryFile(/tmp/multipartBody6891378575729006383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170883214,"filename":"image_31122025_08_05_55_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861213","file1":"1401861209","file0":"1401861207","file4":"1401861218","file5":"1401861220","file3":"1401861216"},"map_files_photo_id_array":[{"photo_id":"1401861220","filename":"file5"},{"photo_id":"1401861213","filename":"file2"},{"photo_id":"1401861218","filename":"file4"},{"photo_id":"1401861209","filename":"file1"},{"photo_id":"1401861207","filename":"file0"},{"photo_id":"1401861216","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861216":["hashtag1","hashtag2"]},{"1401861213":["hashtag1","hashtag2"]},{"1401861207":["hashtag1","hashtag2"]},{"1401861209":["hashtag1","hashtag2"]},{"1401861218":["hashtag1","hashtag2"]},{"1401861220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861216, 1401861213, 1401861207, 1401861209, 1401861218, 1401861220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67245149612427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:47:42.056529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_11_1660.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_13_1624.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_15_1674.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_16_1661.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_18_1610.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_20_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_11_1660.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_13_1624.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_15_1674.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_16_1661.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_18_1610.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_20_1651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861237","1401861233","1401861236","1401861238","1401861235","1401861229"],"photo_ids_order":["1401861229","1401861233","1401861235","1401861236","1401861237","1401861238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a561d9537f58b87031ed69e2bc029c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3619382324796875883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170923905,"filename":"image_03112025_17_28_18_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/879a564e3b2d8fd093f26a0aa63ae4d4.jpg","text":"TemporaryFile(/tmp/multipartBody7730861693058764128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170923905,"filename":"image_03112025_17_28_13_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de226bd446fe51a91ab56c394a211d21.jpg","text":"TemporaryFile(/tmp/multipartBody4547629758928119627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170923905,"filename":"image_03112025_17_28_16_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/733f533ffa844935a7418bdb35fb15c8.jpg","text":"TemporaryFile(/tmp/multipartBody1216431607634366919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170923905,"filename":"image_03112025_17_28_20_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/363bfc8dae1c7c77f9b7bd8813074b94.jpg","text":"TemporaryFile(/tmp/multipartBody6144972171795715078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170923905,"filename":"image_03112025_17_28_15_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f09a72e570b441689aac6c7d8a2bdc19.jpg","text":"TemporaryFile(/tmp/multipartBody8842887401995627153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170923905,"filename":"image_03112025_17_28_11_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861235","file1":"1401861233","file0":"1401861229","file4":"1401861237","file5":"1401861238","file3":"1401861236"},"map_files_photo_id_array":[{"photo_id":"1401861238","filename":"file5"},{"photo_id":"1401861235","filename":"file2"},{"photo_id":"1401861237","filename":"file4"},{"photo_id":"1401861233","filename":"file1"},{"photo_id":"1401861229","filename":"file0"},{"photo_id":"1401861236","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861237":["hashtag1","hashtag2"]},{"1401861233":["hashtag1","hashtag2"]},{"1401861236":["hashtag1","hashtag2"]},{"1401861238":["hashtag1","hashtag2"]},{"1401861235":["hashtag1","hashtag2"]},{"1401861229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861237, 1401861233, 1401861236, 1401861238, 1401861235, 1401861229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00748348236084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:48:22.337540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/05/image_31122025_08_06_05_9902.jpg', '/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_15_9734.jpg', '/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_26_10810.jpg', '/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_36_9727.jpg', '/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_45_9727.jpg', '/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_55_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/05/image_31122025_08_06_05_9902.jpg
/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_15_9734.jpg
/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_26_10810.jpg
/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_36_9727.jpg
/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_45_9727.jpg
/home/pi/Desktop/images/31122025/08/06/image_31122025_08_06_55_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861252","1401861266","1401861269","1401861260","1401861248","1401861244"],"photo_ids_order":["1401861244","1401861248","1401861252","1401861260","1401861266","1401861269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fdd3e0f96a7ab08758f79951a416410.jpg","text":"TemporaryFile(/tmp/multipartBody5592011821178500017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170962971,"filename":"image_31122025_08_06_26_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b69968866d24a6b3098421c14a04181c.jpg","text":"TemporaryFile(/tmp/multipartBody8533026186717291941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170962971,"filename":"image_31122025_08_06_45_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d7b23dab641f767f7ad424362403f1d.jpg","text":"TemporaryFile(/tmp/multipartBody3881903845356364846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170962971,"filename":"image_31122025_08_06_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72d531bab5eda2bd765c41dace22b8df.jpg","text":"TemporaryFile(/tmp/multipartBody7381535846624678879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170962971,"filename":"image_31122025_08_06_36_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/530e5a258994fd3235e3fceec666c4ab.jpg","text":"TemporaryFile(/tmp/multipartBody5662646040665589856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170962971,"filename":"image_31122025_08_06_15_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f56a3d0219a5da7edcb0b54e202c489.jpg","text":"TemporaryFile(/tmp/multipartBody633887911322607987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767170962971,"filename":"image_31122025_08_06_05_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861252","file1":"1401861248","file0":"1401861244","file4":"1401861266","file5":"1401861269","file3":"1401861260"},"map_files_photo_id_array":[{"photo_id":"1401861269","filename":"file5"},{"photo_id":"1401861252","filename":"file2"},{"photo_id":"1401861266","filename":"file4"},{"photo_id":"1401861248","filename":"file1"},{"photo_id":"1401861244","filename":"file0"},{"photo_id":"1401861260","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861252":["hashtag1","hashtag2"]},{"1401861266":["hashtag1","hashtag2"]},{"1401861269":["hashtag1","hashtag2"]},{"1401861260":["hashtag1","hashtag2"]},{"1401861248":["hashtag1","hashtag2"]},{"1401861244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861252, 1401861266, 1401861269, 1401861260, 1401861248, 1401861244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77735948562622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:49:03.394836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/06/image_31122025_08_07_06_10647.jpg', '/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_15_9605.jpg', '/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_25_9681.jpg', '/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_36_10684.jpg', '/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_45_9724.jpg', '/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_55_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/06/image_31122025_08_07_06_10647.jpg
/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_15_9605.jpg
/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_25_9681.jpg
/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_36_10684.jpg
/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_45_9724.jpg
/home/pi/Desktop/images/31122025/08/07/image_31122025_08_07_55_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861303","1401861306","1401861296","1401861299","1401861293","1401861280"],"photo_ids_order":["1401861280","1401861293","1401861296","1401861299","1401861303","1401861306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdd35e402e1e186a89efc978ebfecc89.jpg","text":"TemporaryFile(/tmp/multipartBody1124114765620286103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171004242,"filename":"image_31122025_08_07_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/420e8ededcd7d2248f1095816b26ecd9.jpg","text":"TemporaryFile(/tmp/multipartBody3944377811181390043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171004242,"filename":"image_31122025_08_07_55_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20dd766ae901ff6d51e52e7bc4cfac43.jpg","text":"TemporaryFile(/tmp/multipartBody6094433547606701582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171004242,"filename":"image_31122025_08_07_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d61ea9ba8b36cde776c93631daa08501.jpg","text":"TemporaryFile(/tmp/multipartBody4560056677017214588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171004242,"filename":"image_31122025_08_07_36_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c83f40f691cb42375638e94b9884193.jpg","text":"TemporaryFile(/tmp/multipartBody4226433828635081155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171004242,"filename":"image_31122025_08_07_15_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6250130710b6457192a7f6d9c1e00ed2.jpg","text":"TemporaryFile(/tmp/multipartBody242777012529296552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171004242,"filename":"image_31122025_08_07_06_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861296","file1":"1401861293","file0":"1401861280","file4":"1401861303","file5":"1401861306","file3":"1401861299"},"map_files_photo_id_array":[{"photo_id":"1401861306","filename":"file5"},{"photo_id":"1401861296","filename":"file2"},{"photo_id":"1401861303","filename":"file4"},{"photo_id":"1401861293","filename":"file1"},{"photo_id":"1401861280","filename":"file0"},{"photo_id":"1401861299","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861303":["hashtag1","hashtag2"]},{"1401861306":["hashtag1","hashtag2"]},{"1401861296":["hashtag1","hashtag2"]},{"1401861299":["hashtag1","hashtag2"]},{"1401861293":["hashtag1","hashtag2"]},{"1401861280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861303, 1401861306, 1401861296, 1401861299, 1401861293, 1401861280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49439096450806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:49:42.354791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_21_1630.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_23_1676.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_25_1629.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_26_1580.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_28_1510.jpg', '/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_37_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_21_1630.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_23_1676.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_25_1629.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_26_1580.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_28_1510.jpg
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_37_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861316","1401861321","1401861324","1401861332","1401861326","1401861329"],"photo_ids_order":["1401861316","1401861321","1401861324","1401861326","1401861329","1401861332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/411191bc05307e1c27e4b2883b3214e9.jpg","text":"TemporaryFile(/tmp/multipartBody251676593779860716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171044317,"filename":"image_03112025_17_28_21_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbd04a6ec79d8ea8d38c88253aec639e.jpg","text":"TemporaryFile(/tmp/multipartBody484154895057405544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171044317,"filename":"image_03112025_17_28_23_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/096641f9d1e86818edf310ac2a4866b5.jpg","text":"TemporaryFile(/tmp/multipartBody6926038983597719293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171044317,"filename":"image_03112025_17_28_25_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d10ab5c6c375a630597f70e79076668b.jpg","text":"TemporaryFile(/tmp/multipartBody3032192589630776337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171044317,"filename":"image_03112025_17_28_37_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f228045714308ca713b55a545f5aedb0.jpg","text":"TemporaryFile(/tmp/multipartBody7998199033171227490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171044317,"filename":"image_03112025_17_28_26_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f83001a18ded53197b1eac0b1519278.jpg","text":"TemporaryFile(/tmp/multipartBody3761845786321689289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171044317,"filename":"image_03112025_17_28_28_1510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861324","file1":"1401861321","file0":"1401861316","file4":"1401861329","file5":"1401861332","file3":"1401861326"},"map_files_photo_id_array":[{"photo_id":"1401861332","filename":"file5"},{"photo_id":"1401861324","filename":"file2"},{"photo_id":"1401861329","filename":"file4"},{"photo_id":"1401861321","filename":"file1"},{"photo_id":"1401861316","filename":"file0"},{"photo_id":"1401861326","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861316":["hashtag1","hashtag2"]},{"1401861321":["hashtag1","hashtag2"]},{"1401861324":["hashtag1","hashtag2"]},{"1401861332":["hashtag1","hashtag2"]},{"1401861326":["hashtag1","hashtag2"]},{"1401861329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861316, 1401861321, 1401861324, 1401861332, 1401861326, 1401861329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.706531047821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:50:22.472122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/07/image_31122025_08_08_06_10756.jpg', '/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_15_9732.jpg', '/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_25_9632.jpg', '/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_36_10599.jpg', '/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_45_9703.jpg', '/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/07/image_31122025_08_08_06_10756.jpg
/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_15_9732.jpg
/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_25_9632.jpg
/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_36_10599.jpg
/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_45_9703.jpg
/home/pi/Desktop/images/31122025/08/08/image_31122025_08_08_55_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861354","1401861348","1401861363","1401861342","1401861344","1401861340"],"photo_ids_order":["1401861340","1401861342","1401861344","1401861348","1401861354","1401861363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef1d1701882e2dca2b95b24a45905edf.jpg","text":"TemporaryFile(/tmp/multipartBody7838149704634934223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171083109,"filename":"image_31122025_08_08_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a282c0731ef824dc9fce33d9403f4ad.jpg","text":"TemporaryFile(/tmp/multipartBody3573979668451975127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171083109,"filename":"image_31122025_08_08_36_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1c76062728afacd4014c059c603c933.jpg","text":"TemporaryFile(/tmp/multipartBody6196668850504754840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171083109,"filename":"image_31122025_08_08_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30eb4396d08d8a11ad2da9d850b09919.jpg","text":"TemporaryFile(/tmp/multipartBody3706063373039897194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171083109,"filename":"image_31122025_08_08_15_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/254d90212ff24ee24b01c850f7728dd2.jpg","text":"TemporaryFile(/tmp/multipartBody920749580112951433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171083109,"filename":"image_31122025_08_08_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4104087bcb6e9f54533f902f5ec1a15.jpg","text":"TemporaryFile(/tmp/multipartBody6164775746386559385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171083109,"filename":"image_31122025_08_08_06_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861344","file1":"1401861342","file0":"1401861340","file4":"1401861354","file5":"1401861363","file3":"1401861348"},"map_files_photo_id_array":[{"photo_id":"1401861363","filename":"file5"},{"photo_id":"1401861344","filename":"file2"},{"photo_id":"1401861354","filename":"file4"},{"photo_id":"1401861342","filename":"file1"},{"photo_id":"1401861340","filename":"file0"},{"photo_id":"1401861348","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861354":["hashtag1","hashtag2"]},{"1401861348":["hashtag1","hashtag2"]},{"1401861363":["hashtag1","hashtag2"]},{"1401861342":["hashtag1","hashtag2"]},{"1401861344":["hashtag1","hashtag2"]},{"1401861340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861354, 1401861348, 1401861363, 1401861342, 1401861344, 1401861340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.664777755737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:51:03.309759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/08/image_31122025_08_09_06_10669.jpg', '/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_16_9781.jpg', '/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_25_9859.jpg', '/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_35_9740.jpg', '/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_45_9771.jpg', '/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_56_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/08/image_31122025_08_09_06_10669.jpg
/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_16_9781.jpg
/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_25_9859.jpg
/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_35_9740.jpg
/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_45_9771.jpg
/home/pi/Desktop/images/31122025/08/09/image_31122025_08_09_56_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861378","1401861387","1401861372","1401861381","1401861385","1401861376"],"photo_ids_order":["1401861372","1401861376","1401861378","1401861381","1401861385","1401861387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d25790cef262067b3a685bd0493672d.jpg","text":"TemporaryFile(/tmp/multipartBody96944767283691464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171124015,"filename":"image_31122025_08_09_25_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0242e23ff13e9001b7cee7f9144a3c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1320523089288676028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171124015,"filename":"image_31122025_08_09_56_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73b3028e8a49649dd34919f85fbcb40a.jpg","text":"TemporaryFile(/tmp/multipartBody5414363708880137474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171124015,"filename":"image_31122025_08_09_06_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4609d880fb5af9758004dd54be84cb71.jpg","text":"TemporaryFile(/tmp/multipartBody4777656117975037653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171124015,"filename":"image_31122025_08_09_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/455f78f04e2acf8775c34957b97bcfcb.jpg","text":"TemporaryFile(/tmp/multipartBody383353531718124590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171124015,"filename":"image_31122025_08_09_45_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf41a680f28ebd594df9b4b4a26f2df2.jpg","text":"TemporaryFile(/tmp/multipartBody7706027914649882287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171124015,"filename":"image_31122025_08_09_16_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861378","file1":"1401861376","file0":"1401861372","file4":"1401861385","file5":"1401861387","file3":"1401861381"},"map_files_photo_id_array":[{"photo_id":"1401861387","filename":"file5"},{"photo_id":"1401861378","filename":"file2"},{"photo_id":"1401861385","filename":"file4"},{"photo_id":"1401861376","filename":"file1"},{"photo_id":"1401861372","filename":"file0"},{"photo_id":"1401861381","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861378":["hashtag1","hashtag2"]},{"1401861387":["hashtag1","hashtag2"]},{"1401861372":["hashtag1","hashtag2"]},{"1401861381":["hashtag1","hashtag2"]},{"1401861385":["hashtag1","hashtag2"]},{"1401861376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861378, 1401861387, 1401861372, 1401861381, 1401861385, 1401861376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.264795541763306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:52:02.394687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/09/image_31122025_08_10_05_9724.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_15_9718.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_26_10603.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_35_9826.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_45_9872.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_11_06_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/09/image_31122025_08_10_05_9724.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_15_9718.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_26_10603.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_35_9826.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_45_9872.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_11_06_10678.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.56160569190979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:52:11.945129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_49_11718.jpg', '/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_17_1663.jpg', '/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_44_27452.jpg', '/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_46_1603.jpg', '/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_47_1651.jpg', '/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_49_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/28/image_03112025_17_28_49_11718.jpg
/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_17_1663.jpg
/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_44_27452.jpg
/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_46_1603.jpg
/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_47_1651.jpg
/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_49_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861429","1401861420","1401861411","1401861407","1401861416","1401861404"],"photo_ids_order":["1401861404","1401861407","1401861411","1401861416","1401861420","1401861429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02839b490e1a39c76917688c6fa79a20.jpg","text":"TemporaryFile(/tmp/multipartBody6919199674360077741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171193753,"filename":"image_03112025_17_29_49_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66d082714aa89a5ba62a67f46a2a7158.jpg","text":"TemporaryFile(/tmp/multipartBody4771180989720290242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171193753,"filename":"image_03112025_17_29_47_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2991d0c63b80da9d8b320ea7bd56168e.jpg","text":"TemporaryFile(/tmp/multipartBody5611788008064612832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171193753,"filename":"image_03112025_17_29_44_27452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/734fec3b48f74bb1dc3382bd8c1dca1a.jpg","text":"TemporaryFile(/tmp/multipartBody1974871904843934915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171193753,"filename":"image_03112025_17_29_17_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fe10ddfaea62a220b39e7a4fce0541e.jpg","text":"TemporaryFile(/tmp/multipartBody8424965268387727506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171193753,"filename":"image_03112025_17_29_46_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56eaee7189dfa71e6daee433e0c4aa05.jpg","text":"TemporaryFile(/tmp/multipartBody3186545815357729529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171193753,"filename":"image_03112025_17_28_49_11718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861411","file1":"1401861407","file0":"1401861404","file4":"1401861420","file5":"1401861429","file3":"1401861416"},"map_files_photo_id_array":[{"photo_id":"1401861429","filename":"file5"},{"photo_id":"1401861411","filename":"file2"},{"photo_id":"1401861420","filename":"file4"},{"photo_id":"1401861407","filename":"file1"},{"photo_id":"1401861404","filename":"file0"},{"photo_id":"1401861416","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861429":["hashtag1","hashtag2"]},{"1401861420":["hashtag1","hashtag2"]},{"1401861411":["hashtag1","hashtag2"]},{"1401861407":["hashtag1","hashtag2"]},{"1401861416":["hashtag1","hashtag2"]},{"1401861404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861429, 1401861420, 1401861411, 1401861407, 1401861416, 1401861404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34884977340698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:53:02.860897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/09/image_31122025_08_10_05_9724.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_15_9718.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_26_10603.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_35_9826.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_45_9872.jpg', '/home/pi/Desktop/images/31122025/08/10/image_31122025_08_11_06_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/09/image_31122025_08_10_05_9724.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_15_9718.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_26_10603.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_35_9826.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_10_45_9872.jpg
/home/pi/Desktop/images/31122025/08/10/image_31122025_08_11_06_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861450","1401861447","1401861441","1401861444","1401861437","1401861454"],"photo_ids_order":["1401861437","1401861441","1401861444","1401861447","1401861450","1401861454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57b7cf587064b0f349d82e10debf57b7.jpg","text":"TemporaryFile(/tmp/multipartBody7974563746108266075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171243626,"filename":"image_31122025_08_10_45_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4de4648308aee80897d920e1cde61146.jpg","text":"TemporaryFile(/tmp/multipartBody2617060706690496355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171243626,"filename":"image_31122025_08_10_35_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76badabc9107ef94e2587487e04c4600.jpg","text":"TemporaryFile(/tmp/multipartBody2901049832292406998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171243626,"filename":"image_31122025_08_10_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b8360e6a522f6463d298d24d8a54630.jpg","text":"TemporaryFile(/tmp/multipartBody3242313311221700776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171243626,"filename":"image_31122025_08_10_26_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52aa3b86d7ce16ff765b3b8bc0f70063.jpg","text":"TemporaryFile(/tmp/multipartBody131346662282227515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171243626,"filename":"image_31122025_08_10_05_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47ae71242098d034f92bf633dc4575b2.jpg","text":"TemporaryFile(/tmp/multipartBody6549359906106248824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171243626,"filename":"image_31122025_08_11_06_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861444","file1":"1401861441","file0":"1401861437","file4":"1401861450","file5":"1401861454","file3":"1401861447"},"map_files_photo_id_array":[{"photo_id":"1401861454","filename":"file5"},{"photo_id":"1401861444","filename":"file2"},{"photo_id":"1401861450","filename":"file4"},{"photo_id":"1401861441","filename":"file1"},{"photo_id":"1401861437","filename":"file0"},{"photo_id":"1401861447","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861450":["hashtag1","hashtag2"]},{"1401861447":["hashtag1","hashtag2"]},{"1401861441":["hashtag1","hashtag2"]},{"1401861444":["hashtag1","hashtag2"]},{"1401861437":["hashtag1","hashtag2"]},{"1401861454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861450, 1401861447, 1401861441, 1401861444, 1401861437, 1401861454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1301429271698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:53:42.420383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_52_3132.jpg', '/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_59_1775.jpg', '/home/pi/Desktop/images/03112025/17/29/image_03112025_17_30_00_1555.jpg', '/home/pi/Desktop/images/03112025/17/31/image_03112025_17_31_07_3427.jpg', '/home/pi/Desktop/images/03112025/17/32/image_03112025_17_32_19_2681.jpg', '/home/pi/Desktop/images/03112025/17/32/image_03112025_17_32_22_2514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_52_3132.jpg
/home/pi/Desktop/images/03112025/17/29/image_03112025_17_29_59_1775.jpg
/home/pi/Desktop/images/03112025/17/29/image_03112025_17_30_00_1555.jpg
/home/pi/Desktop/images/03112025/17/31/image_03112025_17_31_07_3427.jpg
/home/pi/Desktop/images/03112025/17/32/image_03112025_17_32_19_2681.jpg
/home/pi/Desktop/images/03112025/17/32/image_03112025_17_32_22_2514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861471","1401861474","1401861468","1401861476","1401861479","1401861463"],"photo_ids_order":["1401861463","1401861468","1401861471","1401861474","1401861476","1401861479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b9b8fc55e4e863aba30d0b475a35789.jpg","text":"TemporaryFile(/tmp/multipartBody1947753292092953443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171284352,"filename":"image_03112025_17_30_00_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b39e6d12af589e116018625f3f8eda5d.jpg","text":"TemporaryFile(/tmp/multipartBody2160206025913737115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171284352,"filename":"image_03112025_17_31_07_3427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d298fb911e0474f9a9f95cfba7a93af9.jpg","text":"TemporaryFile(/tmp/multipartBody7170623335963861627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171284352,"filename":"image_03112025_17_29_59_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04bd49eb4c876a821d41fd0c0f10b1d2.jpg","text":"TemporaryFile(/tmp/multipartBody2156314951776090747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171284352,"filename":"image_03112025_17_32_19_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61c2170273b22803a150bbd116c132d8.jpg","text":"TemporaryFile(/tmp/multipartBody434756868285084673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171284352,"filename":"image_03112025_17_32_22_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/617ba43cd3055865df20b75f87eea39b.jpg","text":"TemporaryFile(/tmp/multipartBody4970906460702186775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171284352,"filename":"image_03112025_17_29_52_3132.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861471","file1":"1401861468","file0":"1401861463","file4":"1401861476","file5":"1401861479","file3":"1401861474"},"map_files_photo_id_array":[{"photo_id":"1401861479","filename":"file5"},{"photo_id":"1401861471","filename":"file2"},{"photo_id":"1401861476","filename":"file4"},{"photo_id":"1401861468","filename":"file1"},{"photo_id":"1401861463","filename":"file0"},{"photo_id":"1401861474","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861471":["hashtag1","hashtag2"]},{"1401861474":["hashtag1","hashtag2"]},{"1401861468":["hashtag1","hashtag2"]},{"1401861476":["hashtag1","hashtag2"]},{"1401861479":["hashtag1","hashtag2"]},{"1401861463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861471, 1401861474, 1401861468, 1401861476, 1401861479, 1401861463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77258253097534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:54:22.662264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_15_9603.jpg', '/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_25_9637.jpg', '/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_36_10648.jpg', '/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_45_9668.jpg', '/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_55_9678.jpg', '/home/pi/Desktop/images/31122025/08/11/image_31122025_08_12_06_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_15_9603.jpg
/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_25_9637.jpg
/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_36_10648.jpg
/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_45_9668.jpg
/home/pi/Desktop/images/31122025/08/11/image_31122025_08_11_55_9678.jpg
/home/pi/Desktop/images/31122025/08/11/image_31122025_08_12_06_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861508","1401861489","1401861491","1401861487","1401861502","1401861505"],"photo_ids_order":["1401861487","1401861489","1401861491","1401861502","1401861505","1401861508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44563e3d0df686ad1471886d2158b601.jpg","text":"TemporaryFile(/tmp/multipartBody896980569401236298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171323294,"filename":"image_31122025_08_12_06_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f9d807b185a81c57a7ac7928c8d20dd.jpg","text":"TemporaryFile(/tmp/multipartBody69661475451654300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171323294,"filename":"image_31122025_08_11_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e7046161cfa1c8cf9b8076c51ce5fa7.jpg","text":"TemporaryFile(/tmp/multipartBody7288257662813561580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171323294,"filename":"image_31122025_08_11_36_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2937315e94d24986dce0d97f08ed5e68.jpg","text":"TemporaryFile(/tmp/multipartBody7473640320214834639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171323294,"filename":"image_31122025_08_11_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/686bad5efccf95f45a3136cd60c48873.jpg","text":"TemporaryFile(/tmp/multipartBody6713183173887246888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171323294,"filename":"image_31122025_08_11_45_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6385432bbe1d0fdba9643d49a5c2154.jpg","text":"TemporaryFile(/tmp/multipartBody6972381084542197666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171323294,"filename":"image_31122025_08_11_55_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861491","file1":"1401861489","file0":"1401861487","file4":"1401861505","file5":"1401861508","file3":"1401861502"},"map_files_photo_id_array":[{"photo_id":"1401861508","filename":"file5"},{"photo_id":"1401861491","filename":"file2"},{"photo_id":"1401861505","filename":"file4"},{"photo_id":"1401861489","filename":"file1"},{"photo_id":"1401861487","filename":"file0"},{"photo_id":"1401861502","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861508":["hashtag1","hashtag2"]},{"1401861489":["hashtag1","hashtag2"]},{"1401861491":["hashtag1","hashtag2"]},{"1401861487":["hashtag1","hashtag2"]},{"1401861502":["hashtag1","hashtag2"]},{"1401861505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861508, 1401861489, 1401861491, 1401861487, 1401861502, 1401861505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.036688804626465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:55:03.337067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/12/image_31122025_08_12_15_9687.jpg', '/home/pi/Desktop/images/31122025/08/12/image_31122025_08_12_36_10713.jpg', '/home/pi/Desktop/images/31122025/08/12/image_31122025_08_12_45_9653.jpg', '/home/pi/Desktop/images/31122025/08/13/image_31122025_08_13_35_9817.jpg', '/home/pi/Desktop/images/31122025/08/13/image_31122025_08_13_46_10648.jpg', '/home/pi/Desktop/images/31122025/08/13/image_31122025_08_13_55_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/12/image_31122025_08_12_15_9687.jpg
/home/pi/Desktop/images/31122025/08/12/image_31122025_08_12_36_10713.jpg
/home/pi/Desktop/images/31122025/08/12/image_31122025_08_12_45_9653.jpg
/home/pi/Desktop/images/31122025/08/13/image_31122025_08_13_35_9817.jpg
/home/pi/Desktop/images/31122025/08/13/image_31122025_08_13_46_10648.jpg
/home/pi/Desktop/images/31122025/08/13/image_31122025_08_13_55_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861513","1401861525","1401861521","1401861515","1401861517","1401861511"],"photo_ids_order":["1401861511","1401861513","1401861515","1401861517","1401861521","1401861525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed2be1d10494ffc409e2ffce3283e97a.jpg","text":"TemporaryFile(/tmp/multipartBody102969224609249991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171364084,"filename":"image_31122025_08_12_36_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2fc08d83d38af79588f9004592057c8.jpg","text":"TemporaryFile(/tmp/multipartBody1263244666184965172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171364084,"filename":"image_31122025_08_13_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17ae37340252f997d52025297f713274.jpg","text":"TemporaryFile(/tmp/multipartBody833803310720078360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171364084,"filename":"image_31122025_08_13_46_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d774bc2936ff319a49fd8bc87a4732d6.jpg","text":"TemporaryFile(/tmp/multipartBody2855277450954655020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171364084,"filename":"image_31122025_08_12_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a68867d176e69e68beeb33f28618355.jpg","text":"TemporaryFile(/tmp/multipartBody244748438015283463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171364084,"filename":"image_31122025_08_13_35_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/301a703135d8d002c0061eb5d0c18d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2148757739687879818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171364084,"filename":"image_31122025_08_12_15_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861515","file1":"1401861513","file0":"1401861511","file4":"1401861521","file5":"1401861525","file3":"1401861517"},"map_files_photo_id_array":[{"photo_id":"1401861525","filename":"file5"},{"photo_id":"1401861515","filename":"file2"},{"photo_id":"1401861521","filename":"file4"},{"photo_id":"1401861513","filename":"file1"},{"photo_id":"1401861511","filename":"file0"},{"photo_id":"1401861517","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861513":["hashtag1","hashtag2"]},{"1401861525":["hashtag1","hashtag2"]},{"1401861521":["hashtag1","hashtag2"]},{"1401861515":["hashtag1","hashtag2"]},{"1401861517":["hashtag1","hashtag2"]},{"1401861511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861513, 1401861525, 1401861521, 1401861515, 1401861517, 1401861511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96480417251587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:55:42.833128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/32/image_03112025_17_32_52_14702.jpg', '/home/pi/Desktop/images/03112025/17/32/image_03112025_17_33_00_8716.jpg', '/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_18_16106.jpg', '/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_23_1611.jpg', '/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_25_1660.jpg', '/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_26_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/32/image_03112025_17_32_52_14702.jpg
/home/pi/Desktop/images/03112025/17/32/image_03112025_17_33_00_8716.jpg
/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_18_16106.jpg
/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_23_1611.jpg
/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_25_1660.jpg
/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_26_1711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861540","1401861543","1401861539","1401861548","1401861535","1401861538"],"photo_ids_order":["1401861535","1401861538","1401861539","1401861540","1401861543","1401861548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/823ce5c6da7561ae4e9b756405056ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2672567068569503766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171404798,"filename":"image_03112025_17_33_23_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35436ebbd5f2d444ccd2848b864b2953.jpg","text":"TemporaryFile(/tmp/multipartBody2010867884319868866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171404798,"filename":"image_03112025_17_33_25_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa1eb18102e45c356fb916246cc62323.jpg","text":"TemporaryFile(/tmp/multipartBody7611186389477349384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171404798,"filename":"image_03112025_17_33_18_16106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74a9d711bb68dd924300049db3cd33fe.jpg","text":"TemporaryFile(/tmp/multipartBody3385161893164510820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171404798,"filename":"image_03112025_17_33_26_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9468968dbf31b30904b99fb1b6162f6f.jpg","text":"TemporaryFile(/tmp/multipartBody550592943380868997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171404798,"filename":"image_03112025_17_32_52_14702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0794302123e8bfe6012b4c9484cfefa.jpg","text":"TemporaryFile(/tmp/multipartBody435090779368725555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171404798,"filename":"image_03112025_17_33_00_8716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861539","file1":"1401861538","file0":"1401861535","file4":"1401861543","file5":"1401861548","file3":"1401861540"},"map_files_photo_id_array":[{"photo_id":"1401861548","filename":"file5"},{"photo_id":"1401861539","filename":"file2"},{"photo_id":"1401861543","filename":"file4"},{"photo_id":"1401861538","filename":"file1"},{"photo_id":"1401861535","filename":"file0"},{"photo_id":"1401861540","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861540":["hashtag1","hashtag2"]},{"1401861543":["hashtag1","hashtag2"]},{"1401861539":["hashtag1","hashtag2"]},{"1401861548":["hashtag1","hashtag2"]},{"1401861535":["hashtag1","hashtag2"]},{"1401861538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861540, 1401861543, 1401861539, 1401861548, 1401861535, 1401861538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23731327056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 09:56:21.966529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/14/image_31122025_08_14_26_10722.jpg', '/home/pi/Desktop/images/31122025/08/14/image_31122025_08_14_35_9654.jpg', '/home/pi/Desktop/images/31122025/08/14/image_31122025_08_14_45_9607.jpg', '/home/pi/Desktop/images/31122025/08/14/image_31122025_08_14_56_10751.jpg', '/home/pi/Desktop/images/31122025/08/14/image_31122025_08_15_05_9888.jpg', '/home/pi/Desktop/images/31122025/08/15/image_31122025_08_15_15_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/14/image_31122025_08_14_26_10722.jpg
/home/pi/Desktop/images/31122025/08/14/image_31122025_08_14_35_9654.jpg
/home/pi/Desktop/images/31122025/08/14/image_31122025_08_14_45_9607.jpg
/home/pi/Desktop/images/31122025/08/14/image_31122025_08_14_56_10751.jpg
/home/pi/Desktop/images/31122025/08/14/image_31122025_08_15_05_9888.jpg
/home/pi/Desktop/images/31122025/08/15/image_31122025_08_15_15_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861570","1401861564","1401861558","1401861578","1401861589","1401861568"],"photo_ids_order":["1401861558","1401861564","1401861568","1401861570","1401861578","1401861589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75d1bc825ad2eb5b8146c2681ffe74dc.jpg","text":"TemporaryFile(/tmp/multipartBody4196517654787728402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171442597,"filename":"image_31122025_08_14_56_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd3f9beb2ab87584f3fc3f0b6fc14b32.jpg","text":"TemporaryFile(/tmp/multipartBody5006737461247960607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171442597,"filename":"image_31122025_08_14_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/609f80605af4bf1e95aebcd3af659bf6.jpg","text":"TemporaryFile(/tmp/multipartBody3248874169024106089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171442597,"filename":"image_31122025_08_14_26_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afa658f1d2efdd893b294666de280e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8699946313262041579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171442597,"filename":"image_31122025_08_15_05_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59e1bf2b046f7f1cc5b6b426733a1878.jpg","text":"TemporaryFile(/tmp/multipartBody8882067420321012705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171442597,"filename":"image_31122025_08_15_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/257e2366440e7219f5056fd96d192bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1840161204736444237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171442597,"filename":"image_31122025_08_14_45_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861568","file1":"1401861564","file0":"1401861558","file4":"1401861578","file5":"1401861589","file3":"1401861570"},"map_files_photo_id_array":[{"photo_id":"1401861589","filename":"file5"},{"photo_id":"1401861568","filename":"file2"},{"photo_id":"1401861578","filename":"file4"},{"photo_id":"1401861564","filename":"file1"},{"photo_id":"1401861558","filename":"file0"},{"photo_id":"1401861570","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861570":["hashtag1","hashtag2"]},{"1401861564":["hashtag1","hashtag2"]},{"1401861558":["hashtag1","hashtag2"]},{"1401861578":["hashtag1","hashtag2"]},{"1401861589":["hashtag1","hashtag2"]},{"1401861568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861570, 1401861564, 1401861558, 1401861578, 1401861589, 1401861568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57427787780762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:57:02.676602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/15/image_31122025_08_15_25_9716.jpg', '/home/pi/Desktop/images/31122025/08/15/image_31122025_08_15_45_9681.jpg', '/home/pi/Desktop/images/31122025/08/15/image_31122025_08_15_56_10618.jpg', '/home/pi/Desktop/images/31122025/08/16/image_31122025_08_16_15_9662.jpg', '/home/pi/Desktop/images/31122025/08/16/image_31122025_08_16_35_9567.jpg', '/home/pi/Desktop/images/31122025/08/16/image_31122025_08_16_45_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/15/image_31122025_08_15_25_9716.jpg
/home/pi/Desktop/images/31122025/08/15/image_31122025_08_15_45_9681.jpg
/home/pi/Desktop/images/31122025/08/15/image_31122025_08_15_56_10618.jpg
/home/pi/Desktop/images/31122025/08/16/image_31122025_08_16_15_9662.jpg
/home/pi/Desktop/images/31122025/08/16/image_31122025_08_16_35_9567.jpg
/home/pi/Desktop/images/31122025/08/16/image_31122025_08_16_45_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861612","1401861615","1401861609","1401861617","1401861605","1401861619"],"photo_ids_order":["1401861605","1401861609","1401861612","1401861615","1401861617","1401861619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a93cb3bc4fefd98cad2715d80c7a09d0.jpg","text":"TemporaryFile(/tmp/multipartBody1999925623988390929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171483375,"filename":"image_31122025_08_15_56_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7648d8b2af5d7da0798856bcd82dd0c.jpg","text":"TemporaryFile(/tmp/multipartBody7795579369217636044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171483375,"filename":"image_31122025_08_16_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1bb1799a4865665b26ec72c9653b93e.jpg","text":"TemporaryFile(/tmp/multipartBody617960314605982883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171483375,"filename":"image_31122025_08_15_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a68329011534dcd068a141c9965b0131.jpg","text":"TemporaryFile(/tmp/multipartBody4512701223046633115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171483375,"filename":"image_31122025_08_16_35_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c245bf56d74cf09b54ece2ff1e82429a.jpg","text":"TemporaryFile(/tmp/multipartBody6221972626134682949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171483375,"filename":"image_31122025_08_15_25_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2c87113b6d1128cf315b119c4617225.jpg","text":"TemporaryFile(/tmp/multipartBody7713523525615600203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171483375,"filename":"image_31122025_08_16_45_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861612","file1":"1401861609","file0":"1401861605","file4":"1401861617","file5":"1401861619","file3":"1401861615"},"map_files_photo_id_array":[{"photo_id":"1401861619","filename":"file5"},{"photo_id":"1401861612","filename":"file2"},{"photo_id":"1401861617","filename":"file4"},{"photo_id":"1401861609","filename":"file1"},{"photo_id":"1401861605","filename":"file0"},{"photo_id":"1401861615","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401861612":["hashtag1","hashtag2"]},{"1401861615":["hashtag1","hashtag2"]},{"1401861609":["hashtag1","hashtag2"]},{"1401861617":["hashtag1","hashtag2"]},{"1401861605":["hashtag1","hashtag2"]},{"1401861619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401861612, 1401861615, 1401861609, 1401861617, 1401861605, 1401861619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48105525970459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:57:42.173842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_38_12014.jpg', '/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_47_1707.jpg', '/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_48_1696.jpg', '/home/pi/Desktop/images/03112025/17/34/image_03112025_17_34_16_21779.jpg', '/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_07_3011.jpg', '/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_11_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_38_12014.jpg
/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_47_1707.jpg
/home/pi/Desktop/images/03112025/17/33/image_03112025_17_33_48_1696.jpg
/home/pi/Desktop/images/03112025/17/34/image_03112025_17_34_16_21779.jpg
/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_07_3011.jpg
/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_11_3640.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401861633","1401861636","1401861635","1401861638","1401861628","1401861637"],"photo_ids_order":["1401861628","1401861633","1401861635","1401861636","1401861637","1401861638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ff64ea671bb11ce8b1b472b315a6c52.jpg","text":"TemporaryFile(/tmp/multipartBody2466037356301585811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171524134,"filename":"image_03112025_17_33_47_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee1a078273e8535dfdc24c5d3a535c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5400820179819321423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171524134,"filename":"image_03112025_17_34_16_21779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac16c0c41350a9af2b865ec809babf48.jpg","text":"TemporaryFile(/tmp/multipartBody9118743433463852659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171524134,"filename":"image_03112025_17_33_48_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89458fca46057d486009d9adda9e12bb.jpg","text":"TemporaryFile(/tmp/multipartBody7824811072244735438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171524134,"filename":"image_03112025_17_36_11_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdbfa8d287d5a94a756ab2375ab7bd65.jpg","text":"TemporaryFile(/tmp/multipartBody1441941437113956358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171524134,"filename":"image_03112025_17_33_38_12014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08f98e1046252d5d4d97ca30fcfb214e.jpg","text":"TemporaryFile(/tmp/multipartBody8296518877755504141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171524134,"filename":"image_03112025_17_36_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401861635","file1":"1401861633","file0":"1401861628","file4":"1401861637","file5":"1401861638","file3":"1401861636"},"map_files_photo_id_array":[{"photo_id":"1401861638","filename":"file5"},{"photo_id":"1401861635","filename":"file2"},{"photo_id":"1401861637","filename":"file4"},{"photo_id":"1401861633","filename":"file1"},{"photo_id":"1401861628","filename":"file0"},{"photo_id":"1401861636","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401861633":["hashtag1","hashtag2"]},{"1401861636":["hashtag1","hashtag2"]},{"1401861635":["hashtag1","hashtag2"]},{"1401861638":["hashtag1","hashtag2"]},{"1401861628":["hashtag1","hashtag2"]},{"1401861637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401861633, 1401861636, 1401861635, 1401861638, 1401861628, 1401861637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27890348434448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 09:59:03.309963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/16/image_31122025_08_16_56_10645.jpg', '/home/pi/Desktop/images/31122025/08/16/image_31122025_08_17_05_9577.jpg', '/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_15_9667.jpg', '/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_25_10595.jpg', '/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_35_9545.jpg', '/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_46_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/16/image_31122025_08_16_56_10645.jpg
/home/pi/Desktop/images/31122025/08/16/image_31122025_08_17_05_9577.jpg
/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_15_9667.jpg
/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_25_10595.jpg
/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_35_9545.jpg
/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_46_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401862236","1401862196","1401862157","1401862030","1401862114","1401862074"],"photo_ids_order":["1401862030","1401862074","1401862114","1401862157","1401862196","1401862236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c12173aa18d7bd01cd2ce4ad1cc5532.jpg","text":"TemporaryFile(/tmp/multipartBody623061468022045248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171603972,"filename":"image_31122025_08_17_46_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e018e6bf64facfad9f1b92a93c2a9260.jpg","text":"TemporaryFile(/tmp/multipartBody6675813795456278281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171603972,"filename":"image_31122025_08_17_35_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6f997d5cf7c84c7d8811df9ad502fc4.jpg","text":"TemporaryFile(/tmp/multipartBody459716612742479038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171603972,"filename":"image_31122025_08_17_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06314ef725fd29390d0bdcfa9431e9a6.jpg","text":"TemporaryFile(/tmp/multipartBody7923785242998431389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171603972,"filename":"image_31122025_08_16_56_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/012cfa9bce40a1d7158086ab7bebd905.jpg","text":"TemporaryFile(/tmp/multipartBody6646779947315866059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171603972,"filename":"image_31122025_08_17_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a302c7c477f319122a5c1c0ed3b6148.jpg","text":"TemporaryFile(/tmp/multipartBody4183180439318587611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171603972,"filename":"image_31122025_08_17_05_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401862114","file1":"1401862074","file0":"1401862030","file4":"1401862196","file5":"1401862236","file3":"1401862157"},"map_files_photo_id_array":[{"photo_id":"1401862236","filename":"file5"},{"photo_id":"1401862114","filename":"file2"},{"photo_id":"1401862196","filename":"file4"},{"photo_id":"1401862074","filename":"file1"},{"photo_id":"1401862030","filename":"file0"},{"photo_id":"1401862157","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401862236":["hashtag1","hashtag2"]},{"1401862196":["hashtag1","hashtag2"]},{"1401862157":["hashtag1","hashtag2"]},{"1401862030":["hashtag1","hashtag2"]},{"1401862114":["hashtag1","hashtag2"]},{"1401862074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401862236, 1401862196, 1401862157, 1401862030, 1401862114, 1401862074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33048868179321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 09:59:42.331157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_24_12658.jpg', '/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_25_1595.jpg', '/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_27_1566.jpg', '/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_37_2618.jpg', '/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_47_10001.jpg', '/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_06_1927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_24_12658.jpg
/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_25_1595.jpg
/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_27_1566.jpg
/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_37_2618.jpg
/home/pi/Desktop/images/03112025/17/36/image_03112025_17_36_47_10001.jpg
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_06_1927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401862373","1401862337","1401862265","1401862456","1401862411","1401862300"],"photo_ids_order":["1401862265","1401862300","1401862337","1401862373","1401862411","1401862456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2219f0b6ba7910a420c9f31a4bf7c2c.jpg","text":"TemporaryFile(/tmp/multipartBody7358724509355743190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171644142,"filename":"image_03112025_17_36_37_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d697ab9000ec5e86240e8d8e0e41da7a.jpg","text":"TemporaryFile(/tmp/multipartBody2906172376085197754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171644142,"filename":"image_03112025_17_36_27_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40cd25c8e3d33725c677c0c1405db5b6.jpg","text":"TemporaryFile(/tmp/multipartBody1592330354344482242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171644142,"filename":"image_03112025_17_36_24_12658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ef35d429d7e8100c5181e7f89800bd8.jpg","text":"TemporaryFile(/tmp/multipartBody1884198873600875530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171644142,"filename":"image_03112025_17_37_06_1927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dca0eaf0845e32d1c05aea72735fddd2.jpg","text":"TemporaryFile(/tmp/multipartBody2828004561974558373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171644142,"filename":"image_03112025_17_36_47_10001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a169dd870529ef282785005902453be4.jpg","text":"TemporaryFile(/tmp/multipartBody2293475127912009094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171644142,"filename":"image_03112025_17_36_25_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401862337","file1":"1401862300","file0":"1401862265","file4":"1401862411","file5":"1401862456","file3":"1401862373"},"map_files_photo_id_array":[{"photo_id":"1401862456","filename":"file5"},{"photo_id":"1401862337","filename":"file2"},{"photo_id":"1401862411","filename":"file4"},{"photo_id":"1401862300","filename":"file1"},{"photo_id":"1401862265","filename":"file0"},{"photo_id":"1401862373","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401862373":["hashtag1","hashtag2"]},{"1401862337":["hashtag1","hashtag2"]},{"1401862265":["hashtag1","hashtag2"]},{"1401862456":["hashtag1","hashtag2"]},{"1401862411":["hashtag1","hashtag2"]},{"1401862300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401862373, 1401862337, 1401862265, 1401862456, 1401862411, 1401862300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91584372520447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:00:22.592904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_55_9547.jpg', '/home/pi/Desktop/images/31122025/08/17/image_31122025_08_18_05_9522.jpg', '/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_16_10689.jpg', '/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_25_9556.jpg', '/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_35_9813.jpg', '/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_46_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/17/image_31122025_08_17_55_9547.jpg
/home/pi/Desktop/images/31122025/08/17/image_31122025_08_18_05_9522.jpg
/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_16_10689.jpg
/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_25_9556.jpg
/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_35_9813.jpg
/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_46_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401862939","1401862903","1401862711","1401862851","1401862974","1401862782"],"photo_ids_order":["1401862711","1401862782","1401862851","1401862903","1401862939","1401862974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fcc3292c4ed19906d457be01c3fb83e.jpg","text":"TemporaryFile(/tmp/multipartBody8569452481669965675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171683248,"filename":"image_31122025_08_18_35_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9429bba4d6de70b904101bd345e3ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody271780584921143157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171683248,"filename":"image_31122025_08_18_25_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/769bc0bf4300f058d722113bf9a111f3.jpg","text":"TemporaryFile(/tmp/multipartBody4334637916464799990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171683248,"filename":"image_31122025_08_17_55_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ef61174cfc7da9d5fe4aa24c8738341.jpg","text":"TemporaryFile(/tmp/multipartBody7484311062663543204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171683248,"filename":"image_31122025_08_18_16_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff9c93717ae7fb8bda78452ec772fe0b.jpg","text":"TemporaryFile(/tmp/multipartBody355631189953701269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171683248,"filename":"image_31122025_08_18_46_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8422d198b22bf42ff094b2fc4b55d64.jpg","text":"TemporaryFile(/tmp/multipartBody5381435675981519164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171683248,"filename":"image_31122025_08_18_05_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401862851","file1":"1401862782","file0":"1401862711","file4":"1401862939","file5":"1401862974","file3":"1401862903"},"map_files_photo_id_array":[{"photo_id":"1401862974","filename":"file5"},{"photo_id":"1401862851","filename":"file2"},{"photo_id":"1401862939","filename":"file4"},{"photo_id":"1401862782","filename":"file1"},{"photo_id":"1401862711","filename":"file0"},{"photo_id":"1401862903","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401862939":["hashtag1","hashtag2"]},{"1401862903":["hashtag1","hashtag2"]},{"1401862711":["hashtag1","hashtag2"]},{"1401862851":["hashtag1","hashtag2"]},{"1401862974":["hashtag1","hashtag2"]},{"1401862782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401862939, 1401862903, 1401862711, 1401862851, 1401862974, 1401862782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63059687614441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:01:03.477749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_55_9742.jpg', '/home/pi/Desktop/images/31122025/08/18/image_31122025_08_19_05_9662.jpg', '/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_16_10678.jpg', '/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_25_9560.jpg', '/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_35_9898.jpg', '/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_46_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/18/image_31122025_08_18_55_9742.jpg
/home/pi/Desktop/images/31122025/08/18/image_31122025_08_19_05_9662.jpg
/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_16_10678.jpg
/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_25_9560.jpg
/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_35_9898.jpg
/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_46_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401863174","1401863228","1401863200","1401863212","1401863205","1401863208"],"photo_ids_order":["1401863174","1401863200","1401863205","1401863208","1401863212","1401863228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0e7126bccd81b992feade70bd4bda7e.jpg","text":"TemporaryFile(/tmp/multipartBody6603269584818229888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171724206,"filename":"image_31122025_08_18_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/356cbe91930f5ab77c2a827c0f4b0990.jpg","text":"TemporaryFile(/tmp/multipartBody2556069214544143716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171724206,"filename":"image_31122025_08_19_46_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7e5f5a02bc4aae9316cb0df3f1fc00d.jpg","text":"TemporaryFile(/tmp/multipartBody2196878203299325749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171724206,"filename":"image_31122025_08_19_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78dfb1024cb35944763655b3e1417894.jpg","text":"TemporaryFile(/tmp/multipartBody4559867970242016885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171724206,"filename":"image_31122025_08_19_35_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f2974004b64687707a77983f5a43a65.jpg","text":"TemporaryFile(/tmp/multipartBody6725885901687570265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171724206,"filename":"image_31122025_08_19_16_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d39927448ba03cccd6d33ca28a3a2bbd.jpg","text":"TemporaryFile(/tmp/multipartBody812576330989093696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171724206,"filename":"image_31122025_08_19_25_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401863205","file1":"1401863200","file0":"1401863174","file4":"1401863212","file5":"1401863228","file3":"1401863208"},"map_files_photo_id_array":[{"photo_id":"1401863228","filename":"file5"},{"photo_id":"1401863205","filename":"file2"},{"photo_id":"1401863212","filename":"file4"},{"photo_id":"1401863200","filename":"file1"},{"photo_id":"1401863174","filename":"file0"},{"photo_id":"1401863208","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401863174":["hashtag1","hashtag2"]},{"1401863228":["hashtag1","hashtag2"]},{"1401863200":["hashtag1","hashtag2"]},{"1401863212":["hashtag1","hashtag2"]},{"1401863205":["hashtag1","hashtag2"]},{"1401863208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401863174, 1401863228, 1401863200, 1401863212, 1401863205, 1401863208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.936485052108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:01:42.810867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_09_1747.jpg', '/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_11_1623.jpg', '/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_12_1636.jpg', '/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_16_3389.jpg', '/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_19_1691.jpg', '/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_21_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_09_1747.jpg
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_11_1623.jpg
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_12_1636.jpg
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_16_3389.jpg
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_19_1691.jpg
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_21_1584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401863666","1401863881","1401863482","1401863769","1401863562","1401863949"],"photo_ids_order":["1401863482","1401863562","1401863666","1401863769","1401863881","1401863949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/defd4e9b45fb20501f1b199445accc87.jpg","text":"TemporaryFile(/tmp/multipartBody8598289140812428548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171764742,"filename":"image_03112025_17_37_12_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5e519ac245771d2b7682fba07cd7154.jpg","text":"TemporaryFile(/tmp/multipartBody3706454397971053692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171764742,"filename":"image_03112025_17_37_19_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d65196ee780dd8b5fdcba642e3a97d9a.jpg","text":"TemporaryFile(/tmp/multipartBody8961183248418413761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171764742,"filename":"image_03112025_17_37_09_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91158ed18a59bf982be65bbe606d94d2.jpg","text":"TemporaryFile(/tmp/multipartBody7661939656201200534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171764742,"filename":"image_03112025_17_37_16_3389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6504b3ed082e4c7abaff29093f2a8ed4.jpg","text":"TemporaryFile(/tmp/multipartBody6554546089712274112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171764742,"filename":"image_03112025_17_37_11_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc0519cdbfeeda39a1fad2a462efb8e2.jpg","text":"TemporaryFile(/tmp/multipartBody5997432208368994463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171764742,"filename":"image_03112025_17_37_21_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401863666","file1":"1401863562","file0":"1401863482","file4":"1401863881","file5":"1401863949","file3":"1401863769"},"map_files_photo_id_array":[{"photo_id":"1401863949","filename":"file5"},{"photo_id":"1401863666","filename":"file2"},{"photo_id":"1401863881","filename":"file4"},{"photo_id":"1401863562","filename":"file1"},{"photo_id":"1401863482","filename":"file0"},{"photo_id":"1401863769","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401863666":["hashtag1","hashtag2"]},{"1401863881":["hashtag1","hashtag2"]},{"1401863482":["hashtag1","hashtag2"]},{"1401863769":["hashtag1","hashtag2"]},{"1401863562":["hashtag1","hashtag2"]},{"1401863949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401863666, 1401863881, 1401863482, 1401863769, 1401863562, 1401863949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.760533809661865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:02:21.958066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_56_9768.jpg', '/home/pi/Desktop/images/31122025/08/19/image_31122025_08_20_05_9716.jpg', '/home/pi/Desktop/images/31122025/08/20/image_31122025_08_20_15_9622.jpg', '/home/pi/Desktop/images/31122025/08/20/image_31122025_08_20_26_10708.jpg', '/home/pi/Desktop/images/31122025/08/20/image_31122025_08_20_46_10712.jpg', '/home/pi/Desktop/images/31122025/08/20/image_31122025_08_20_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/19/image_31122025_08_19_56_9768.jpg
/home/pi/Desktop/images/31122025/08/19/image_31122025_08_20_05_9716.jpg
/home/pi/Desktop/images/31122025/08/20/image_31122025_08_20_15_9622.jpg
/home/pi/Desktop/images/31122025/08/20/image_31122025_08_20_26_10708.jpg
/home/pi/Desktop/images/31122025/08/20/image_31122025_08_20_46_10712.jpg
/home/pi/Desktop/images/31122025/08/20/image_31122025_08_20_55_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401864533","1401864203","1401864268","1401864448","1401864375","1401864312"],"photo_ids_order":["1401864203","1401864268","1401864312","1401864375","1401864448","1401864533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/520aaea3e4e646e6156d509dd3ad5432.jpg","text":"TemporaryFile(/tmp/multipartBody7301903479511919661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171802521,"filename":"image_31122025_08_20_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7b3412d7787b028e6ce4c685e429073.jpg","text":"TemporaryFile(/tmp/multipartBody976317607182603227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171802521,"filename":"image_31122025_08_19_56_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0901b8c0092bbbeac102a7c8861a368a.jpg","text":"TemporaryFile(/tmp/multipartBody8720193619503787092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171802521,"filename":"image_31122025_08_20_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/000ae427fc087b565788489b4fb05d43.jpg","text":"TemporaryFile(/tmp/multipartBody8835995755649466598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171802521,"filename":"image_31122025_08_20_46_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e65cbc1a6d4872cd53a86e15198e7422.jpg","text":"TemporaryFile(/tmp/multipartBody745591230282007556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171802521,"filename":"image_31122025_08_20_26_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9c64593499dc468d90741fb4782e528.jpg","text":"TemporaryFile(/tmp/multipartBody4838326800351083168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171802521,"filename":"image_31122025_08_20_15_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401864312","file1":"1401864268","file0":"1401864203","file4":"1401864448","file5":"1401864533","file3":"1401864375"},"map_files_photo_id_array":[{"photo_id":"1401864533","filename":"file5"},{"photo_id":"1401864312","filename":"file2"},{"photo_id":"1401864448","filename":"file4"},{"photo_id":"1401864268","filename":"file1"},{"photo_id":"1401864203","filename":"file0"},{"photo_id":"1401864375","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401864533":["hashtag1","hashtag2"]},{"1401864203":["hashtag1","hashtag2"]},{"1401864268":["hashtag1","hashtag2"]},{"1401864448":["hashtag1","hashtag2"]},{"1401864375":["hashtag1","hashtag2"]},{"1401864312":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401864533, 1401864203, 1401864268, 1401864448, 1401864375, 1401864312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.934526443481445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:03:02.885004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/20/image_31122025_08_21_05_9507.jpg', '/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_16_10830.jpg', '/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_25_9567.jpg', '/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_35_10161.jpg', '/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_45_9617.jpg', '/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_56_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/20/image_31122025_08_21_05_9507.jpg
/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_16_10830.jpg
/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_25_9567.jpg
/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_35_10161.jpg
/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_45_9617.jpg
/home/pi/Desktop/images/31122025/08/21/image_31122025_08_21_56_10586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401864865","1401864907","1401864792","1401864750","1401864828","1401864714"],"photo_ids_order":["1401864714","1401864750","1401864792","1401864828","1401864865","1401864907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc7b0ffcc1c5a6a49f4289b296d44eee.jpg","text":"TemporaryFile(/tmp/multipartBody3503151566904157827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171843502,"filename":"image_31122025_08_21_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d332cc446a1e519557549799389b582.jpg","text":"TemporaryFile(/tmp/multipartBody8127153170582167829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171843502,"filename":"image_31122025_08_21_56_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ecc5dcae2ba09e0a61641f78a00884d.jpg","text":"TemporaryFile(/tmp/multipartBody4529892946697454799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171843502,"filename":"image_31122025_08_21_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e065f0dc70697d0f3c962a4cc3d2a204.jpg","text":"TemporaryFile(/tmp/multipartBody3221554656768504212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171843502,"filename":"image_31122025_08_21_16_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b47412ef57d8ed1561837c214556c448.jpg","text":"TemporaryFile(/tmp/multipartBody4452889578033311809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171843502,"filename":"image_31122025_08_21_35_10161.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ee196860ca55ce2366b84488650d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8305697425797598672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171843502,"filename":"image_31122025_08_21_05_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401864792","file1":"1401864750","file0":"1401864714","file4":"1401864865","file5":"1401864907","file3":"1401864828"},"map_files_photo_id_array":[{"photo_id":"1401864907","filename":"file5"},{"photo_id":"1401864792","filename":"file2"},{"photo_id":"1401864865","filename":"file4"},{"photo_id":"1401864750","filename":"file1"},{"photo_id":"1401864714","filename":"file0"},{"photo_id":"1401864828","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401864865":["hashtag1","hashtag2"]},{"1401864907":["hashtag1","hashtag2"]},{"1401864792":["hashtag1","hashtag2"]},{"1401864750":["hashtag1","hashtag2"]},{"1401864828":["hashtag1","hashtag2"]},{"1401864714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401864865, 1401864907, 1401864792, 1401864750, 1401864828, 1401864714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.387202739715576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:03:42.259268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_22_1721.jpg', '/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_28_1734.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_08_40895.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_10_1546.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_12_1649.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_13_1790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_22_1721.jpg
/home/pi/Desktop/images/03112025/17/37/image_03112025_17_37_28_1734.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_08_40895.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_10_1546.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_12_1649.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_13_1790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401864931","1401864936","1401864927","1401864950","1401864944","1401864953"],"photo_ids_order":["1401864927","1401864931","1401864936","1401864944","1401864950","1401864953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79364e3231b1ad47945a548fdbaf7505.jpg","text":"TemporaryFile(/tmp/multipartBody4456932877264158721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171884220,"filename":"image_03112025_17_37_28_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da829d289812747e9224379781b05836.jpg","text":"TemporaryFile(/tmp/multipartBody6772489380464663715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171884220,"filename":"image_03112025_17_38_08_40895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40b41f94f146de12d0d7f66a3846623f.jpg","text":"TemporaryFile(/tmp/multipartBody8377355694893474333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171884220,"filename":"image_03112025_17_37_22_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e761609ef4b3981c26b0c6ddb362871.jpg","text":"TemporaryFile(/tmp/multipartBody7403798420582422901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171884220,"filename":"image_03112025_17_38_12_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9a0cc64b6e72a0c9b2fe4c7454c1f55.jpg","text":"TemporaryFile(/tmp/multipartBody5399077868776566810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171884220,"filename":"image_03112025_17_38_10_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00adf35c71c7ffb1e9c1e9812edd43a0.jpg","text":"TemporaryFile(/tmp/multipartBody3768936299524625785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171884220,"filename":"image_03112025_17_38_13_1790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401864936","file1":"1401864931","file0":"1401864927","file4":"1401864950","file5":"1401864953","file3":"1401864944"},"map_files_photo_id_array":[{"photo_id":"1401864953","filename":"file5"},{"photo_id":"1401864936","filename":"file2"},{"photo_id":"1401864950","filename":"file4"},{"photo_id":"1401864931","filename":"file1"},{"photo_id":"1401864927","filename":"file0"},{"photo_id":"1401864944","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401864931":["hashtag1","hashtag2"]},{"1401864936":["hashtag1","hashtag2"]},{"1401864927":["hashtag1","hashtag2"]},{"1401864950":["hashtag1","hashtag2"]},{"1401864944":["hashtag1","hashtag2"]},{"1401864953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401864931, 1401864936, 1401864927, 1401864950, 1401864944, 1401864953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27611994743347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:04:22.420194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/21/image_31122025_08_22_05_9754.jpg', '/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_15_9587.jpg', '/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_26_10651.jpg', '/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_35_9635.jpg', '/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_46_10534.jpg', '/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_56_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/21/image_31122025_08_22_05_9754.jpg
/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_15_9587.jpg
/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_26_10651.jpg
/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_35_9635.jpg
/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_46_10534.jpg
/home/pi/Desktop/images/31122025/08/22/image_31122025_08_22_56_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865192","1401865405","1401865389","1401865295","1401865355","1401865241"],"photo_ids_order":["1401865192","1401865241","1401865295","1401865355","1401865389","1401865405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adbeaa4dd885570d095948b11ef34fb7.jpg","text":"TemporaryFile(/tmp/multipartBody5489306384880233864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171922967,"filename":"image_31122025_08_22_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eabc8073cd407d59d6d7c5dd0b43bf3c.jpg","text":"TemporaryFile(/tmp/multipartBody2251893965898819379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171922967,"filename":"image_31122025_08_22_56_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3c9f41f854dfe94bf43055afeca8313.jpg","text":"TemporaryFile(/tmp/multipartBody3602221484161139753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171922967,"filename":"image_31122025_08_22_46_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/640d4b0a81c68a1eafa4e18a8c868306.jpg","text":"TemporaryFile(/tmp/multipartBody865116823132840667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171922967,"filename":"image_31122025_08_22_26_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f22abe1e50197a153b725db0b9b1e949.jpg","text":"TemporaryFile(/tmp/multipartBody8489926119806795576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171922967,"filename":"image_31122025_08_22_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/591c41a8ca40fa7380bc104548f84277.jpg","text":"TemporaryFile(/tmp/multipartBody7066057177943295213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171922967,"filename":"image_31122025_08_22_15_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865295","file1":"1401865241","file0":"1401865192","file4":"1401865389","file5":"1401865405","file3":"1401865355"},"map_files_photo_id_array":[{"photo_id":"1401865405","filename":"file5"},{"photo_id":"1401865295","filename":"file2"},{"photo_id":"1401865389","filename":"file4"},{"photo_id":"1401865241","filename":"file1"},{"photo_id":"1401865192","filename":"file0"},{"photo_id":"1401865355","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865192":["hashtag1","hashtag2"]},{"1401865405":["hashtag1","hashtag2"]},{"1401865389":["hashtag1","hashtag2"]},{"1401865295":["hashtag1","hashtag2"]},{"1401865355":["hashtag1","hashtag2"]},{"1401865241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865192, 1401865405, 1401865389, 1401865295, 1401865355, 1401865241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22020506858826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:05:03.277720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/22/image_31122025_08_23_05_9646.jpg', '/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_16_10586.jpg', '/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_26_9778.jpg', '/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_35_9781.jpg', '/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_45_9568.jpg', '/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_56_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/22/image_31122025_08_23_05_9646.jpg
/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_16_10586.jpg
/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_26_9778.jpg
/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_35_9781.jpg
/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_45_9568.jpg
/home/pi/Desktop/images/31122025/08/23/image_31122025_08_23_56_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865531","1401865572","1401865510","1401865577","1401865568","1401865562"],"photo_ids_order":["1401865510","1401865531","1401865562","1401865568","1401865572","1401865577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1249c42b7629960a9066be30f8a7bda6.jpg","text":"TemporaryFile(/tmp/multipartBody230930033007427662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171963884,"filename":"image_31122025_08_23_16_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3db10bf74ac8315a273539cf95858a1.jpg","text":"TemporaryFile(/tmp/multipartBody3690709214357378996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171963884,"filename":"image_31122025_08_23_45_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e5984c39ea9ac196f4aeb8f5ec0a2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1976156098488595813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171963884,"filename":"image_31122025_08_23_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26bc841652b0659665a313ce08ff3053.jpg","text":"TemporaryFile(/tmp/multipartBody585542951818292339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171963884,"filename":"image_31122025_08_23_56_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79602df07bbac6498878f6b0c0a4b644.jpg","text":"TemporaryFile(/tmp/multipartBody7734166973719705858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171963884,"filename":"image_31122025_08_23_35_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9640d3dbc95e5e856c9ae3886abac5ea.jpg","text":"TemporaryFile(/tmp/multipartBody4927857757666593882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767171963884,"filename":"image_31122025_08_23_26_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865562","file1":"1401865531","file0":"1401865510","file4":"1401865572","file5":"1401865577","file3":"1401865568"},"map_files_photo_id_array":[{"photo_id":"1401865577","filename":"file5"},{"photo_id":"1401865562","filename":"file2"},{"photo_id":"1401865572","filename":"file4"},{"photo_id":"1401865531","filename":"file1"},{"photo_id":"1401865510","filename":"file0"},{"photo_id":"1401865568","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865531":["hashtag1","hashtag2"]},{"1401865572":["hashtag1","hashtag2"]},{"1401865510":["hashtag1","hashtag2"]},{"1401865577":["hashtag1","hashtag2"]},{"1401865568":["hashtag1","hashtag2"]},{"1401865562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865531, 1401865572, 1401865510, 1401865577, 1401865568, 1401865562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38448786735535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:05:42.758038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_15_1541.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_16_1551.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_18_1648.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_20_1673.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_21_1606.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_33_11713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_15_1541.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_16_1551.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_18_1648.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_20_1673.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_21_1606.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_33_11713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865591","1401865590","1401865593","1401865596","1401865592","1401865594"],"photo_ids_order":["1401865590","1401865591","1401865592","1401865593","1401865594","1401865596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9789091084ce8a8c0b1b652c05b007b4.jpg","text":"TemporaryFile(/tmp/multipartBody1001480999429808117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172004750,"filename":"image_03112025_17_38_16_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0da0f9e351940be126e62a8935e0426.jpg","text":"TemporaryFile(/tmp/multipartBody4039966176637935124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172004750,"filename":"image_03112025_17_38_15_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b34215c4b33b15afc5cb2c2dca692064.jpg","text":"TemporaryFile(/tmp/multipartBody7710677567083600234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172004750,"filename":"image_03112025_17_38_20_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c68ce11abbd67dbdf52cbd0030b51df.jpg","text":"TemporaryFile(/tmp/multipartBody1056181065979097802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172004750,"filename":"image_03112025_17_38_33_11713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24ba272fc2b5db57cbb04fd45a57a624.jpg","text":"TemporaryFile(/tmp/multipartBody8560934636951643837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172004750,"filename":"image_03112025_17_38_18_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7fc025ec4f4f25b75fbde10d8519429.jpg","text":"TemporaryFile(/tmp/multipartBody8729449645708106657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172004750,"filename":"image_03112025_17_38_21_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865592","file1":"1401865591","file0":"1401865590","file4":"1401865594","file5":"1401865596","file3":"1401865593"},"map_files_photo_id_array":[{"photo_id":"1401865596","filename":"file5"},{"photo_id":"1401865592","filename":"file2"},{"photo_id":"1401865594","filename":"file4"},{"photo_id":"1401865591","filename":"file1"},{"photo_id":"1401865590","filename":"file0"},{"photo_id":"1401865593","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401865591":["hashtag1","hashtag2"]},{"1401865590":["hashtag1","hashtag2"]},{"1401865593":["hashtag1","hashtag2"]},{"1401865596":["hashtag1","hashtag2"]},{"1401865592":["hashtag1","hashtag2"]},{"1401865594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401865591, 1401865590, 1401865593, 1401865596, 1401865592, 1401865594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.275176763534546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:06:21.898182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/23/image_31122025_08_24_05_9603.jpg', '/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_15_9681.jpg', '/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_26_10632.jpg', '/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_36_10045.jpg', '/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_45_9584.jpg', '/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_56_10534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/23/image_31122025_08_24_05_9603.jpg
/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_15_9681.jpg
/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_26_10632.jpg
/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_36_10045.jpg
/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_45_9584.jpg
/home/pi/Desktop/images/31122025/08/24/image_31122025_08_24_56_10534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865636","1401865612","1401865615","1401865609","1401865631","1401865643"],"photo_ids_order":["1401865609","1401865612","1401865615","1401865631","1401865636","1401865643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df3441805616488858d1a762d200544c.jpg","text":"TemporaryFile(/tmp/multipartBody1665204952141243349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172042499,"filename":"image_31122025_08_24_45_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/234f172b0e397239588dc1777623984e.jpg","text":"TemporaryFile(/tmp/multipartBody8288760295084238610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172042499,"filename":"image_31122025_08_24_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98f4168a596acef491bf99debb3bd27e.jpg","text":"TemporaryFile(/tmp/multipartBody808143850047469879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172042499,"filename":"image_31122025_08_24_26_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c00e892296b1d8f1f142b5111f613c7.jpg","text":"TemporaryFile(/tmp/multipartBody6746737707020533713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172042499,"filename":"image_31122025_08_24_05_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf7db854ee9b098a68bcb43782e4156e.jpg","text":"TemporaryFile(/tmp/multipartBody5066883952594862001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172042499,"filename":"image_31122025_08_24_36_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/223bdbc9a8cc0f39fb18eaef2801f63d.jpg","text":"TemporaryFile(/tmp/multipartBody2187541595508174534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172042499,"filename":"image_31122025_08_24_56_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865615","file1":"1401865612","file0":"1401865609","file4":"1401865636","file5":"1401865643","file3":"1401865631"},"map_files_photo_id_array":[{"photo_id":"1401865643","filename":"file5"},{"photo_id":"1401865615","filename":"file2"},{"photo_id":"1401865636","filename":"file4"},{"photo_id":"1401865612","filename":"file1"},{"photo_id":"1401865609","filename":"file0"},{"photo_id":"1401865631","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865636":["hashtag1","hashtag2"]},{"1401865612":["hashtag1","hashtag2"]},{"1401865615":["hashtag1","hashtag2"]},{"1401865609":["hashtag1","hashtag2"]},{"1401865631":["hashtag1","hashtag2"]},{"1401865643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865636, 1401865612, 1401865615, 1401865609, 1401865631, 1401865643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8073296546936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:07:02.960197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/24/image_31122025_08_25_05_9716.jpg', '/home/pi/Desktop/images/31122025/08/25/image_31122025_08_25_15_9837.jpg', '/home/pi/Desktop/images/31122025/08/25/image_31122025_08_25_25_9860.jpg', '/home/pi/Desktop/images/31122025/08/25/image_31122025_08_25_36_10689.jpg', '/home/pi/Desktop/images/31122025/08/25/image_31122025_08_25_45_9302.jpg', '/home/pi/Desktop/images/31122025/08/25/image_31122025_08_26_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/24/image_31122025_08_25_05_9716.jpg
/home/pi/Desktop/images/31122025/08/25/image_31122025_08_25_15_9837.jpg
/home/pi/Desktop/images/31122025/08/25/image_31122025_08_25_25_9860.jpg
/home/pi/Desktop/images/31122025/08/25/image_31122025_08_25_36_10689.jpg
/home/pi/Desktop/images/31122025/08/25/image_31122025_08_25_45_9302.jpg
/home/pi/Desktop/images/31122025/08/25/image_31122025_08_26_05_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865732","1401865702","1401865746","1401865740","1401865743","1401865736"],"photo_ids_order":["1401865702","1401865732","1401865736","1401865740","1401865743","1401865746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78e2cddc259f076bbcb7a02692b13af4.jpg","text":"TemporaryFile(/tmp/multipartBody6537292633741695400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172083651,"filename":"image_31122025_08_25_15_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55a845e581b7b6c2cc88f7425e62c3b5.jpg","text":"TemporaryFile(/tmp/multipartBody1858048902814950719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172083651,"filename":"image_31122025_08_25_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ea7d609e9c708a334b8184cd001c1cf.jpg","text":"TemporaryFile(/tmp/multipartBody8716613604709793641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172083651,"filename":"image_31122025_08_26_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86dfbef55c5f3b51e61b1804d208cd94.jpg","text":"TemporaryFile(/tmp/multipartBody6340119494172202486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172083651,"filename":"image_31122025_08_25_36_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fde1dd36f6bcbed9905afe044db7b127.jpg","text":"TemporaryFile(/tmp/multipartBody7850409370993817039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172083651,"filename":"image_31122025_08_25_45_9302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6403e9eb175507b4c802a2fbece50659.jpg","text":"TemporaryFile(/tmp/multipartBody3633485638783093658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172083651,"filename":"image_31122025_08_25_25_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865736","file1":"1401865732","file0":"1401865702","file4":"1401865743","file5":"1401865746","file3":"1401865740"},"map_files_photo_id_array":[{"photo_id":"1401865746","filename":"file5"},{"photo_id":"1401865736","filename":"file2"},{"photo_id":"1401865743","filename":"file4"},{"photo_id":"1401865732","filename":"file1"},{"photo_id":"1401865702","filename":"file0"},{"photo_id":"1401865740","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865732":["hashtag1","hashtag2"]},{"1401865702":["hashtag1","hashtag2"]},{"1401865746":["hashtag1","hashtag2"]},{"1401865740":["hashtag1","hashtag2"]},{"1401865743":["hashtag1","hashtag2"]},{"1401865736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865732, 1401865702, 1401865746, 1401865740, 1401865743, 1401865736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21113562583923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:07:42.243540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_35_1617.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_38_1751.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_40_1538.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_41_1720.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_43_1516.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_45_1707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_35_1617.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_38_1751.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_40_1538.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_41_1720.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_43_1516.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_45_1707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865753","1401865755","1401865758","1401865757","1401865751","1401865760"],"photo_ids_order":["1401865751","1401865753","1401865755","1401865757","1401865758","1401865760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f22dae1c0d708eb94bdd3c10fbec992a.jpg","text":"TemporaryFile(/tmp/multipartBody6256293556983839530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172124195,"filename":"image_03112025_17_38_38_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec7217600674a41a3c6d7f90205839e0.jpg","text":"TemporaryFile(/tmp/multipartBody2794131031121314447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172124195,"filename":"image_03112025_17_38_40_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2eb3fe3db907a364ad4a4b2196fd01c1.jpg","text":"TemporaryFile(/tmp/multipartBody8491234861820024893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172124195,"filename":"image_03112025_17_38_43_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/462724533539e49fa04d70bed2611e45.jpg","text":"TemporaryFile(/tmp/multipartBody6248748528184857062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172124195,"filename":"image_03112025_17_38_41_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0303e157f759560c938900fd24297d86.jpg","text":"TemporaryFile(/tmp/multipartBody8808911084729753357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172124195,"filename":"image_03112025_17_38_35_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d088e4bf2fceabf26d66117111890533.jpg","text":"TemporaryFile(/tmp/multipartBody211334445148792906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172124195,"filename":"image_03112025_17_38_45_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865755","file1":"1401865753","file0":"1401865751","file4":"1401865758","file5":"1401865760","file3":"1401865757"},"map_files_photo_id_array":[{"photo_id":"1401865760","filename":"file5"},{"photo_id":"1401865755","filename":"file2"},{"photo_id":"1401865758","filename":"file4"},{"photo_id":"1401865753","filename":"file1"},{"photo_id":"1401865751","filename":"file0"},{"photo_id":"1401865757","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401865753":["hashtag1","hashtag2"]},{"1401865755":["hashtag1","hashtag2"]},{"1401865758":["hashtag1","hashtag2"]},{"1401865757":["hashtag1","hashtag2"]},{"1401865751":["hashtag1","hashtag2"]},{"1401865760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401865753, 1401865755, 1401865758, 1401865757, 1401865751, 1401865760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89659118652344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:08:22.438877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_15_9584.jpg', '/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_26_10710.jpg', '/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_35_9772.jpg', '/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_45_9790.jpg', '/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_55_9609.jpg', '/home/pi/Desktop/images/31122025/08/26/image_31122025_08_27_05_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_15_9584.jpg
/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_26_10710.jpg
/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_35_9772.jpg
/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_45_9790.jpg
/home/pi/Desktop/images/31122025/08/26/image_31122025_08_26_55_9609.jpg
/home/pi/Desktop/images/31122025/08/26/image_31122025_08_27_05_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865785","1401865779","1401865794","1401865776","1401865806","1401865781"],"photo_ids_order":["1401865776","1401865779","1401865781","1401865785","1401865794","1401865806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93bb75f9b3fbdc821a3039ae6b057f65.jpg","text":"TemporaryFile(/tmp/multipartBody1875387041989467976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172163033,"filename":"image_31122025_08_26_45_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71a312e46c3d0ab3017f04aaad0ab5b8.jpg","text":"TemporaryFile(/tmp/multipartBody2807524054076374007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172163033,"filename":"image_31122025_08_26_26_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dec0c9cf9c4f39cda7b7a1fb88f3af1e.jpg","text":"TemporaryFile(/tmp/multipartBody8974649254186683882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172163033,"filename":"image_31122025_08_26_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fc76abe74ed3cdc308fb73e7d42f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody2052182059758964252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172163033,"filename":"image_31122025_08_26_15_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec2d5abde1a4d10192c20df3d3be51cd.jpg","text":"TemporaryFile(/tmp/multipartBody8584733893111181980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172163033,"filename":"image_31122025_08_27_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c47d955a873c9ac770917b7d5b9587a.jpg","text":"TemporaryFile(/tmp/multipartBody2816429706387781054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172163033,"filename":"image_31122025_08_26_35_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865781","file1":"1401865779","file0":"1401865776","file4":"1401865794","file5":"1401865806","file3":"1401865785"},"map_files_photo_id_array":[{"photo_id":"1401865806","filename":"file5"},{"photo_id":"1401865781","filename":"file2"},{"photo_id":"1401865794","filename":"file4"},{"photo_id":"1401865779","filename":"file1"},{"photo_id":"1401865776","filename":"file0"},{"photo_id":"1401865785","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865785":["hashtag1","hashtag2"]},{"1401865779":["hashtag1","hashtag2"]},{"1401865794":["hashtag1","hashtag2"]},{"1401865776":["hashtag1","hashtag2"]},{"1401865806":["hashtag1","hashtag2"]},{"1401865781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865785, 1401865779, 1401865794, 1401865776, 1401865806, 1401865781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21236848831177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:09:03.606429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_15_9760.jpg', '/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_25_9643.jpg', '/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_35_10567.jpg', '/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_45_9753.jpg', '/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_55_9680.jpg', '/home/pi/Desktop/images/31122025/08/27/image_31122025_08_28_06_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_15_9760.jpg
/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_25_9643.jpg
/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_35_10567.jpg
/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_45_9753.jpg
/home/pi/Desktop/images/31122025/08/27/image_31122025_08_27_55_9680.jpg
/home/pi/Desktop/images/31122025/08/27/image_31122025_08_28_06_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865855","1401865822","1401865816","1401865828","1401865812","1401865814"],"photo_ids_order":["1401865812","1401865814","1401865816","1401865822","1401865828","1401865855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6de84fa35491d180fd3706957b03ad86.jpg","text":"TemporaryFile(/tmp/multipartBody3680672078284992112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172204303,"filename":"image_31122025_08_28_06_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5d3ba3966737f8bdef90d195c90074b.jpg","text":"TemporaryFile(/tmp/multipartBody5250561685909024345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172204303,"filename":"image_31122025_08_27_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e95997f978afc596118e7c461a82bde3.jpg","text":"TemporaryFile(/tmp/multipartBody7629477130297537585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172204303,"filename":"image_31122025_08_27_35_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/177c4b57aae554f8b1a71e26e0a26665.jpg","text":"TemporaryFile(/tmp/multipartBody5530555416153499752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172204303,"filename":"image_31122025_08_27_55_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/491cc8efb1bdcc3dff429250490d333f.jpg","text":"TemporaryFile(/tmp/multipartBody2247648105990777118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172204303,"filename":"image_31122025_08_27_15_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a68e0abd8dedeab68ccefddde434356.jpg","text":"TemporaryFile(/tmp/multipartBody5093211161501567564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172204303,"filename":"image_31122025_08_27_25_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865816","file1":"1401865814","file0":"1401865812","file4":"1401865828","file5":"1401865855","file3":"1401865822"},"map_files_photo_id_array":[{"photo_id":"1401865855","filename":"file5"},{"photo_id":"1401865816","filename":"file2"},{"photo_id":"1401865828","filename":"file4"},{"photo_id":"1401865814","filename":"file1"},{"photo_id":"1401865812","filename":"file0"},{"photo_id":"1401865822","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865855":["hashtag1","hashtag2"]},{"1401865822":["hashtag1","hashtag2"]},{"1401865816":["hashtag1","hashtag2"]},{"1401865828":["hashtag1","hashtag2"]},{"1401865812":["hashtag1","hashtag2"]},{"1401865814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865855, 1401865822, 1401865816, 1401865828, 1401865812, 1401865814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33086681365967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:10:03.266844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_15_9672.jpg', '/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_25_10152.jpg', '/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_35_9823.jpg', '/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_45_9672.jpg', '/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_56_10763.jpg', '/home/pi/Desktop/images/31122025/08/28/image_31122025_08_29_05_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_15_9672.jpg
/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_25_10152.jpg
/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_35_9823.jpg
/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_45_9672.jpg
/home/pi/Desktop/images/31122025/08/28/image_31122025_08_28_56_10763.jpg
/home/pi/Desktop/images/31122025/08/28/image_31122025_08_29_05_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865882","1401865878","1401865874","1401865868","1401865871","1401865865"],"photo_ids_order":["1401865865","1401865868","1401865871","1401865874","1401865878","1401865882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecda328300f775da93bfcfb38c987505.jpg","text":"TemporaryFile(/tmp/multipartBody4400807982654052036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172263882,"filename":"image_31122025_08_29_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27f6a27358beb40787400c6c6ef3fea5.jpg","text":"TemporaryFile(/tmp/multipartBody5022554636084395525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172263882,"filename":"image_31122025_08_28_56_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07389954af8f78cb11dd2d20b32bd27a.jpg","text":"TemporaryFile(/tmp/multipartBody5855343518450582387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172263882,"filename":"image_31122025_08_28_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42cbe8979a5ca72706ba949cd9bc7cee.jpg","text":"TemporaryFile(/tmp/multipartBody5813654239336751408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172263882,"filename":"image_31122025_08_28_25_10152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f9cf3937e7fc8c5a8e303399f047d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4769310430589019514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172263882,"filename":"image_31122025_08_28_35_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/457646b8f217e348d3932b47d2ccf8ab.jpg","text":"TemporaryFile(/tmp/multipartBody5908526814882997787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172263882,"filename":"image_31122025_08_28_15_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865871","file1":"1401865868","file0":"1401865865","file4":"1401865878","file5":"1401865882","file3":"1401865874"},"map_files_photo_id_array":[{"photo_id":"1401865882","filename":"file5"},{"photo_id":"1401865871","filename":"file2"},{"photo_id":"1401865878","filename":"file4"},{"photo_id":"1401865868","filename":"file1"},{"photo_id":"1401865865","filename":"file0"},{"photo_id":"1401865874","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865882":["hashtag1","hashtag2"]},{"1401865878":["hashtag1","hashtag2"]},{"1401865874":["hashtag1","hashtag2"]},{"1401865868":["hashtag1","hashtag2"]},{"1401865871":["hashtag1","hashtag2"]},{"1401865865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865882, 1401865878, 1401865874, 1401865868, 1401865871, 1401865865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14443373680115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:10:42.805968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_46_1612.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_48_1638.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_49_1651.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_51_1978.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_53_1807.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_55_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_46_1612.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_48_1638.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_49_1651.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_51_1978.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_53_1807.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_55_1659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865912","1401865906","1401865908","1401865898","1401865910","1401865904"],"photo_ids_order":["1401865898","1401865904","1401865906","1401865908","1401865910","1401865912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e216104afdba7aadbe326e7a16cace1.jpg","text":"TemporaryFile(/tmp/multipartBody936619124234032840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172304745,"filename":"image_03112025_17_38_55_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c55202724999ed7a0c18d2857e67e5f.jpg","text":"TemporaryFile(/tmp/multipartBody3290332269054130242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172304745,"filename":"image_03112025_17_38_49_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eac32d923931571e607c08e7526a780c.jpg","text":"TemporaryFile(/tmp/multipartBody5228338188409749238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172304745,"filename":"image_03112025_17_38_51_1978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e50dd522ec60d3642848e265c006490.jpg","text":"TemporaryFile(/tmp/multipartBody5507235935970863448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172304745,"filename":"image_03112025_17_38_46_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96c421aaa5413022e74d5a6517a33c87.jpg","text":"TemporaryFile(/tmp/multipartBody2689096552186146117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172304745,"filename":"image_03112025_17_38_53_1807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a358d0c1bdaee0f69c832bbfeea77764.jpg","text":"TemporaryFile(/tmp/multipartBody9162509759255521470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172304745,"filename":"image_03112025_17_38_48_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865906","file1":"1401865904","file0":"1401865898","file4":"1401865910","file5":"1401865912","file3":"1401865908"},"map_files_photo_id_array":[{"photo_id":"1401865912","filename":"file5"},{"photo_id":"1401865906","filename":"file2"},{"photo_id":"1401865910","filename":"file4"},{"photo_id":"1401865904","filename":"file1"},{"photo_id":"1401865898","filename":"file0"},{"photo_id":"1401865908","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401865912":["hashtag1","hashtag2"]},{"1401865906":["hashtag1","hashtag2"]},{"1401865908":["hashtag1","hashtag2"]},{"1401865898":["hashtag1","hashtag2"]},{"1401865910":["hashtag1","hashtag2"]},{"1401865904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401865912, 1401865906, 1401865908, 1401865898, 1401865910, 1401865904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.470532178878784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:11:22.130249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_15_9806.jpg', '/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_26_10642.jpg', '/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_36_9827.jpg', '/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_45_9620.jpg', '/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_55_9754.jpg', '/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_16_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_15_9806.jpg
/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_26_10642.jpg
/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_36_9827.jpg
/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_45_9620.jpg
/home/pi/Desktop/images/31122025/08/29/image_31122025_08_29_55_9754.jpg
/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_16_10050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865945","1401865965","1401865959","1401865956","1401865919","1401865934"],"photo_ids_order":["1401865919","1401865934","1401865945","1401865956","1401865959","1401865965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b8667e0980516a30fecb4a5b99dbef8.jpg","text":"TemporaryFile(/tmp/multipartBody5746518627586699691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172342724,"filename":"image_31122025_08_29_36_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c491e0d22be35677e30db7e94f77092a.jpg","text":"TemporaryFile(/tmp/multipartBody4751531613662028175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172342724,"filename":"image_31122025_08_30_16_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5610589168268153427a31182a473417.jpg","text":"TemporaryFile(/tmp/multipartBody7348914027731760393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172342724,"filename":"image_31122025_08_29_55_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1781b1cfa7a1c33834d20da72897e9fd.jpg","text":"TemporaryFile(/tmp/multipartBody5810024597519584081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172342724,"filename":"image_31122025_08_29_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04bc1ebc9b250c5849d173130f828173.jpg","text":"TemporaryFile(/tmp/multipartBody5991977452125395412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172342724,"filename":"image_31122025_08_29_15_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfb9eb2e31b1710d5fb40b5fc98410eb.jpg","text":"TemporaryFile(/tmp/multipartBody5266926794614400262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172342724,"filename":"image_31122025_08_29_26_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865945","file1":"1401865934","file0":"1401865919","file4":"1401865959","file5":"1401865965","file3":"1401865956"},"map_files_photo_id_array":[{"photo_id":"1401865965","filename":"file5"},{"photo_id":"1401865945","filename":"file2"},{"photo_id":"1401865959","filename":"file4"},{"photo_id":"1401865934","filename":"file1"},{"photo_id":"1401865919","filename":"file0"},{"photo_id":"1401865956","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865945":["hashtag1","hashtag2"]},{"1401865965":["hashtag1","hashtag2"]},{"1401865959":["hashtag1","hashtag2"]},{"1401865956":["hashtag1","hashtag2"]},{"1401865919":["hashtag1","hashtag2"]},{"1401865934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865945, 1401865965, 1401865959, 1401865956, 1401865919, 1401865934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.237680196762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:12:02.796651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_27_10734.jpg', '/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_36_9538.jpg', '/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_47_10556.jpg', '/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_57_9803.jpg', '/home/pi/Desktop/images/31122025/08/30/image_31122025_08_31_06_9635.jpg', '/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_16_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_27_10734.jpg
/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_36_9538.jpg
/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_47_10556.jpg
/home/pi/Desktop/images/31122025/08/30/image_31122025_08_30_57_9803.jpg
/home/pi/Desktop/images/31122025/08/30/image_31122025_08_31_06_9635.jpg
/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_16_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401865972","1401865983","1401865985","1401865982","1401866006","1401865990"],"photo_ids_order":["1401865972","1401865982","1401865983","1401865985","1401865990","1401866006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77cbba3b7ff987ffab51d886bcdad8f4.jpg","text":"TemporaryFile(/tmp/multipartBody5401416350156529394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172383436,"filename":"image_31122025_08_30_27_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44e1173d9a91430fad1fd5f0a0514543.jpg","text":"TemporaryFile(/tmp/multipartBody5988233451898426507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172383436,"filename":"image_31122025_08_30_47_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c63da1586f10049b3025b2958968101.jpg","text":"TemporaryFile(/tmp/multipartBody6936003663016928918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172383436,"filename":"image_31122025_08_30_57_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee455eb1ec2b4b5e37051f31a302382e.jpg","text":"TemporaryFile(/tmp/multipartBody2942331671388300423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172383436,"filename":"image_31122025_08_30_36_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d38eaaf34254599a1ef989800cea942.jpg","text":"TemporaryFile(/tmp/multipartBody2022160969598364267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172383436,"filename":"image_31122025_08_31_16_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/700cb197d81f3a28ba57a439b9b847ce.jpg","text":"TemporaryFile(/tmp/multipartBody535785525975434588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172383436,"filename":"image_31122025_08_31_06_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401865983","file1":"1401865982","file0":"1401865972","file4":"1401865990","file5":"1401866006","file3":"1401865985"},"map_files_photo_id_array":[{"photo_id":"1401866006","filename":"file5"},{"photo_id":"1401865983","filename":"file2"},{"photo_id":"1401865990","filename":"file4"},{"photo_id":"1401865982","filename":"file1"},{"photo_id":"1401865972","filename":"file0"},{"photo_id":"1401865985","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401865972":["hashtag1","hashtag2"]},{"1401865983":["hashtag1","hashtag2"]},{"1401865985":["hashtag1","hashtag2"]},{"1401865982":["hashtag1","hashtag2"]},{"1401866006":["hashtag1","hashtag2"]},{"1401865990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401865972, 1401865983, 1401865985, 1401865982, 1401866006, 1401865990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.380563259124756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:12:42.328560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_56_1560.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_58_1697.jpg', '/home/pi/Desktop/images/03112025/17/38/image_03112025_17_39_00_1548.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_01_1567.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_05_1735.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_06_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_56_1560.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_38_58_1697.jpg
/home/pi/Desktop/images/03112025/17/38/image_03112025_17_39_00_1548.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_01_1567.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_05_1735.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_06_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866035","1401866029","1401866034","1401866036","1401866024","1401866032"],"photo_ids_order":["1401866024","1401866029","1401866032","1401866034","1401866035","1401866036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/567b27857d9c27fa615cb5d8a05df1b6.jpg","text":"TemporaryFile(/tmp/multipartBody8949358792802690270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172424284,"filename":"image_03112025_17_39_05_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b332485fe6e84e5684b10f9e0c8f42fa.jpg","text":"TemporaryFile(/tmp/multipartBody3233936056978496290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172424284,"filename":"image_03112025_17_38_58_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e3937d86b0227cbce1efbb3cb502272.jpg","text":"TemporaryFile(/tmp/multipartBody20195858782540419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172424284,"filename":"image_03112025_17_39_01_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/634413de98f75b2a3951fe4cd791140f.jpg","text":"TemporaryFile(/tmp/multipartBody1415565025406039240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172424284,"filename":"image_03112025_17_39_06_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2dcd4ec8801d0a06379fb2a7581924b.jpg","text":"TemporaryFile(/tmp/multipartBody8343962581625375616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172424284,"filename":"image_03112025_17_38_56_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c9cd8ede64bfc0163883aa9abfdf928.jpg","text":"TemporaryFile(/tmp/multipartBody6525409579184653182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172424284,"filename":"image_03112025_17_39_00_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866032","file1":"1401866029","file0":"1401866024","file4":"1401866035","file5":"1401866036","file3":"1401866034"},"map_files_photo_id_array":[{"photo_id":"1401866036","filename":"file5"},{"photo_id":"1401866032","filename":"file2"},{"photo_id":"1401866035","filename":"file4"},{"photo_id":"1401866029","filename":"file1"},{"photo_id":"1401866024","filename":"file0"},{"photo_id":"1401866034","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866035":["hashtag1","hashtag2"]},{"1401866029":["hashtag1","hashtag2"]},{"1401866034":["hashtag1","hashtag2"]},{"1401866036":["hashtag1","hashtag2"]},{"1401866024":["hashtag1","hashtag2"]},{"1401866032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866035, 1401866029, 1401866034, 1401866036, 1401866024, 1401866032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43093156814575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:13:22.613279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_27_10749.jpg', '/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_36_9628.jpg', '/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_46_9726.jpg', '/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_57_10794.jpg', '/home/pi/Desktop/images/31122025/08/31/image_31122025_08_32_07_9763.jpg', '/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_17_9895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_27_10749.jpg
/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_36_9628.jpg
/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_46_9726.jpg
/home/pi/Desktop/images/31122025/08/31/image_31122025_08_31_57_10794.jpg
/home/pi/Desktop/images/31122025/08/31/image_31122025_08_32_07_9763.jpg
/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_17_9895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866041","1401866055","1401866051","1401866045","1401866059","1401866047"],"photo_ids_order":["1401866041","1401866045","1401866047","1401866051","1401866055","1401866059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2dfb8da1d92c080478952d6f4c164175.jpg","text":"TemporaryFile(/tmp/multipartBody3763275089408987087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172463205,"filename":"image_31122025_08_31_27_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a00f85245e183e190e561ac1b4314a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5680825091152803349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172463205,"filename":"image_31122025_08_32_07_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e6b108cec8e5c8e49981a8c609854c9.jpg","text":"TemporaryFile(/tmp/multipartBody5323688822711866345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172463205,"filename":"image_31122025_08_31_57_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e60daaec70c36c6894f0e1ecfe9401b5.jpg","text":"TemporaryFile(/tmp/multipartBody5859481082248341637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172463205,"filename":"image_31122025_08_31_36_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a3c7acf16a8bf661a771e97ed9446f9.jpg","text":"TemporaryFile(/tmp/multipartBody3946116356343211831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172463205,"filename":"image_31122025_08_32_17_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27330696d159f5d7b707b9ac6b18412b.jpg","text":"TemporaryFile(/tmp/multipartBody3562725708393168482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172463205,"filename":"image_31122025_08_31_46_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866047","file1":"1401866045","file0":"1401866041","file4":"1401866055","file5":"1401866059","file3":"1401866051"},"map_files_photo_id_array":[{"photo_id":"1401866059","filename":"file5"},{"photo_id":"1401866047","filename":"file2"},{"photo_id":"1401866055","filename":"file4"},{"photo_id":"1401866045","filename":"file1"},{"photo_id":"1401866041","filename":"file0"},{"photo_id":"1401866051","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866041":["hashtag1","hashtag2"]},{"1401866055":["hashtag1","hashtag2"]},{"1401866051":["hashtag1","hashtag2"]},{"1401866045":["hashtag1","hashtag2"]},{"1401866059":["hashtag1","hashtag2"]},{"1401866047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866041, 1401866055, 1401866051, 1401866045, 1401866059, 1401866047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.820253133773804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:14:03.534072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_26_9728.jpg', '/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_37_10544.jpg', '/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_46_9539.jpg', '/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_56_9744.jpg', '/home/pi/Desktop/images/31122025/08/32/image_31122025_08_33_06_9859.jpg', '/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_17_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_26_9728.jpg
/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_37_10544.jpg
/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_46_9539.jpg
/home/pi/Desktop/images/31122025/08/32/image_31122025_08_32_56_9744.jpg
/home/pi/Desktop/images/31122025/08/32/image_31122025_08_33_06_9859.jpg
/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_17_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866076","1401866079","1401866071","1401866065","1401866074","1401866068"],"photo_ids_order":["1401866065","1401866068","1401866071","1401866074","1401866076","1401866079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3abceb810eeea7e2cae163a7db6e9e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6266774660238451533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172504215,"filename":"image_31122025_08_33_06_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4122e7609c81b8a11625876729986895.jpg","text":"TemporaryFile(/tmp/multipartBody6455788560461728118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172504215,"filename":"image_31122025_08_33_17_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb879fa134856e3691b5cede45787dbf.jpg","text":"TemporaryFile(/tmp/multipartBody3897748375006418260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172504215,"filename":"image_31122025_08_32_46_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/399acefc8731d7763d53bce303ddad9a.jpg","text":"TemporaryFile(/tmp/multipartBody566370696509073701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172504215,"filename":"image_31122025_08_32_26_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3f77d6156a3e71529d82144aaef0244.jpg","text":"TemporaryFile(/tmp/multipartBody3145784518178451990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172504215,"filename":"image_31122025_08_32_56_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/452bb96b0d44388c1450828966aeab67.jpg","text":"TemporaryFile(/tmp/multipartBody3428622563191379664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172504215,"filename":"image_31122025_08_32_37_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866071","file1":"1401866068","file0":"1401866065","file4":"1401866076","file5":"1401866079","file3":"1401866074"},"map_files_photo_id_array":[{"photo_id":"1401866079","filename":"file5"},{"photo_id":"1401866071","filename":"file2"},{"photo_id":"1401866076","filename":"file4"},{"photo_id":"1401866068","filename":"file1"},{"photo_id":"1401866065","filename":"file0"},{"photo_id":"1401866074","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866076":["hashtag1","hashtag2"]},{"1401866079":["hashtag1","hashtag2"]},{"1401866071":["hashtag1","hashtag2"]},{"1401866065":["hashtag1","hashtag2"]},{"1401866074":["hashtag1","hashtag2"]},{"1401866068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866076, 1401866079, 1401866071, 1401866065, 1401866074, 1401866068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.536463499069214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:14:42.759099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_08_1622.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_10_1564.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_11_1726.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_13_1568.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_14_1646.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_16_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_08_1622.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_10_1564.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_11_1726.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_13_1568.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_14_1646.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_16_1557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866116","1401866094","1401866099","1401866102","1401866105","1401866108"],"photo_ids_order":["1401866094","1401866099","1401866102","1401866105","1401866108","1401866116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0d290999b0aaf6253547f730a920166.jpg","text":"TemporaryFile(/tmp/multipartBody3785182520994507143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172544692,"filename":"image_03112025_17_39_16_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed682c3f689d99659a4fbbbc3921e9b0.jpg","text":"TemporaryFile(/tmp/multipartBody8511203285844927837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172544692,"filename":"image_03112025_17_39_08_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ece1819c7ecaa7dda6bf93b095c4ecfa.jpg","text":"TemporaryFile(/tmp/multipartBody7474281243252124785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172544692,"filename":"image_03112025_17_39_10_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c82b73a3d8080ba061d9e0badccd970.jpg","text":"TemporaryFile(/tmp/multipartBody2943371038034104597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172544692,"filename":"image_03112025_17_39_11_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfd5a2cf3ea576b3dec3b75af52daae1.jpg","text":"TemporaryFile(/tmp/multipartBody4699860039130238217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172544692,"filename":"image_03112025_17_39_13_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f7a357c987f86f18e2e73759dc206e0.jpg","text":"TemporaryFile(/tmp/multipartBody6740472759885936874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172544692,"filename":"image_03112025_17_39_14_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866102","file1":"1401866099","file0":"1401866094","file4":"1401866108","file5":"1401866116","file3":"1401866105"},"map_files_photo_id_array":[{"photo_id":"1401866116","filename":"file5"},{"photo_id":"1401866102","filename":"file2"},{"photo_id":"1401866108","filename":"file4"},{"photo_id":"1401866099","filename":"file1"},{"photo_id":"1401866094","filename":"file0"},{"photo_id":"1401866105","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866116":["hashtag1","hashtag2"]},{"1401866094":["hashtag1","hashtag2"]},{"1401866099":["hashtag1","hashtag2"]},{"1401866102":["hashtag1","hashtag2"]},{"1401866105":["hashtag1","hashtag2"]},{"1401866108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866116, 1401866094, 1401866099, 1401866102, 1401866105, 1401866108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69298481941223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:15:21.944016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_26_9721.jpg', '/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_36_9792.jpg', '/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_47_10588.jpg', '/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_57_9724.jpg', '/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_16_9738.jpg', '/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_27_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_26_9721.jpg
/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_36_9792.jpg
/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_47_10588.jpg
/home/pi/Desktop/images/31122025/08/33/image_31122025_08_33_57_9724.jpg
/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_16_9738.jpg
/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_27_10575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866134","1401866137","1401866145","1401866130","1401866141","1401866132"],"photo_ids_order":["1401866130","1401866132","1401866134","1401866137","1401866141","1401866145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c83c9f3b9fb0ca1bce11d5c0720bd71f.jpg","text":"TemporaryFile(/tmp/multipartBody2881823051061037810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172582546,"filename":"image_31122025_08_33_47_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea4ec79e98608b523d059aace38cd23f.jpg","text":"TemporaryFile(/tmp/multipartBody9189036880067875836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172582546,"filename":"image_31122025_08_33_57_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7b4a0823b3122b52e9dee59b6fd4b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2059124271279051773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172582546,"filename":"image_31122025_08_34_27_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9622ac0a5ab6c250ed32245ae17b2ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6871281634231260990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172582546,"filename":"image_31122025_08_33_26_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/672346e97e875a2f67986a2da21240d5.jpg","text":"TemporaryFile(/tmp/multipartBody7287934254729592820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172582546,"filename":"image_31122025_08_34_16_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acc863b43d79deda881b9045fda620f3.jpg","text":"TemporaryFile(/tmp/multipartBody2879524331195617170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172582546,"filename":"image_31122025_08_33_36_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866134","file1":"1401866132","file0":"1401866130","file4":"1401866141","file5":"1401866145","file3":"1401866137"},"map_files_photo_id_array":[{"photo_id":"1401866145","filename":"file5"},{"photo_id":"1401866134","filename":"file2"},{"photo_id":"1401866141","filename":"file4"},{"photo_id":"1401866132","filename":"file1"},{"photo_id":"1401866130","filename":"file0"},{"photo_id":"1401866137","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866134":["hashtag1","hashtag2"]},{"1401866137":["hashtag1","hashtag2"]},{"1401866145":["hashtag1","hashtag2"]},{"1401866130":["hashtag1","hashtag2"]},{"1401866141":["hashtag1","hashtag2"]},{"1401866132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866134, 1401866137, 1401866145, 1401866130, 1401866141, 1401866132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67883658409119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:16:02.686551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_36_9740.jpg', '/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_46_9826.jpg', '/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_57_10576.jpg', '/home/pi/Desktop/images/31122025/08/34/image_31122025_08_35_06_9527.jpg', '/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_17_10624.jpg', '/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_26_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_36_9740.jpg
/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_46_9826.jpg
/home/pi/Desktop/images/31122025/08/34/image_31122025_08_34_57_10576.jpg
/home/pi/Desktop/images/31122025/08/34/image_31122025_08_35_06_9527.jpg
/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_17_10624.jpg
/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_26_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866149","1401866151","1401866153","1401866156","1401866159","1401866150"],"photo_ids_order":["1401866149","1401866150","1401866151","1401866153","1401866156","1401866159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5611ae3259fdc49038c78e9d9e46d622.jpg","text":"TemporaryFile(/tmp/multipartBody4501924862174834244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172623324,"filename":"image_31122025_08_34_36_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db029e393716775c5449793af33154b0.jpg","text":"TemporaryFile(/tmp/multipartBody3778492691570039918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172623324,"filename":"image_31122025_08_34_57_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a742c015adc59d6d626819a83fe14002.jpg","text":"TemporaryFile(/tmp/multipartBody8589606203907867346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172623324,"filename":"image_31122025_08_35_06_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/154fc6a75580a20558b76a10b35fe7dc.jpg","text":"TemporaryFile(/tmp/multipartBody2784488824639506038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172623324,"filename":"image_31122025_08_35_17_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/756428c9a19c3f5ccee6ca68dc849115.jpg","text":"TemporaryFile(/tmp/multipartBody3687022770982917237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172623324,"filename":"image_31122025_08_35_26_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc1da47c7f40dcdc2f6e51cad2551199.jpg","text":"TemporaryFile(/tmp/multipartBody4188383827540608703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172623324,"filename":"image_31122025_08_34_46_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866151","file1":"1401866150","file0":"1401866149","file4":"1401866156","file5":"1401866159","file3":"1401866153"},"map_files_photo_id_array":[{"photo_id":"1401866159","filename":"file5"},{"photo_id":"1401866151","filename":"file2"},{"photo_id":"1401866156","filename":"file4"},{"photo_id":"1401866150","filename":"file1"},{"photo_id":"1401866149","filename":"file0"},{"photo_id":"1401866153","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866149":["hashtag1","hashtag2"]},{"1401866151":["hashtag1","hashtag2"]},{"1401866153":["hashtag1","hashtag2"]},{"1401866156":["hashtag1","hashtag2"]},{"1401866159":["hashtag1","hashtag2"]},{"1401866150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866149, 1401866151, 1401866153, 1401866156, 1401866159, 1401866150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67137289047241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:16:42.203185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_18_1629.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_19_1548.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_23_3602.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_26_2724.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_28_2753.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_32_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_18_1629.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_19_1548.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_23_3602.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_26_2724.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_28_2753.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_32_3677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866184","1401866178","1401866189","1401866174","1401866176","1401866179"],"photo_ids_order":["1401866174","1401866176","1401866178","1401866179","1401866184","1401866189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2289034adbd93ecdc6b7d22d578addb9.jpg","text":"TemporaryFile(/tmp/multipartBody5361674566947146121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172664149,"filename":"image_03112025_17_39_28_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1271fbb12d21bea4973642619be52a09.jpg","text":"TemporaryFile(/tmp/multipartBody8302769763047367459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172664149,"filename":"image_03112025_17_39_23_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14d0eec4ebbb224b20acdbdb76868acd.jpg","text":"TemporaryFile(/tmp/multipartBody1174573589863281974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172664149,"filename":"image_03112025_17_39_32_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3967e36d6919fc87e43775fcab9badd5.jpg","text":"TemporaryFile(/tmp/multipartBody693984510427649503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172664149,"filename":"image_03112025_17_39_18_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce921849f36b666b0bd1e83254bcb795.jpg","text":"TemporaryFile(/tmp/multipartBody6545189597531465319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172664149,"filename":"image_03112025_17_39_19_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce41e7cce6f1a3ea6571578951f18826.jpg","text":"TemporaryFile(/tmp/multipartBody4172755141062886458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172664149,"filename":"image_03112025_17_39_26_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866178","file1":"1401866176","file0":"1401866174","file4":"1401866184","file5":"1401866189","file3":"1401866179"},"map_files_photo_id_array":[{"photo_id":"1401866189","filename":"file5"},{"photo_id":"1401866178","filename":"file2"},{"photo_id":"1401866184","filename":"file4"},{"photo_id":"1401866176","filename":"file1"},{"photo_id":"1401866174","filename":"file0"},{"photo_id":"1401866179","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866184":["hashtag1","hashtag2"]},{"1401866178":["hashtag1","hashtag2"]},{"1401866189":["hashtag1","hashtag2"]},{"1401866174":["hashtag1","hashtag2"]},{"1401866176":["hashtag1","hashtag2"]},{"1401866179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866184, 1401866178, 1401866189, 1401866174, 1401866176, 1401866179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51775145530701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:17:22.340476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_36_9751.jpg', '/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_47_10603.jpg', '/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_56_9556.jpg', '/home/pi/Desktop/images/31122025/08/35/image_31122025_08_36_06_9548.jpg', '/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_17_10669.jpg', '/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_26_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_36_9751.jpg
/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_47_10603.jpg
/home/pi/Desktop/images/31122025/08/35/image_31122025_08_35_56_9556.jpg
/home/pi/Desktop/images/31122025/08/35/image_31122025_08_36_06_9548.jpg
/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_17_10669.jpg
/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_26_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866203","1401866205","1401866214","1401866198","1401866201","1401866207"],"photo_ids_order":["1401866198","1401866201","1401866203","1401866205","1401866207","1401866214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a9681b34a98d8adbff8e867aaa4007b.jpg","text":"TemporaryFile(/tmp/multipartBody309537284010846375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172702938,"filename":"image_31122025_08_35_56_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/deb282acfeb22b162616c0c1bdf596be.jpg","text":"TemporaryFile(/tmp/multipartBody5940558162690787375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172702938,"filename":"image_31122025_08_36_06_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2807f6f43e6aea5905f7a866f59e2b4f.jpg","text":"TemporaryFile(/tmp/multipartBody5153068382586655632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172702938,"filename":"image_31122025_08_36_26_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c33b80f42052f257eab54b937e304e1.jpg","text":"TemporaryFile(/tmp/multipartBody5692654185389568197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172702938,"filename":"image_31122025_08_35_36_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/472cd0e17275e6b00804bc9e72c4d484.jpg","text":"TemporaryFile(/tmp/multipartBody5513316186446720200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172702938,"filename":"image_31122025_08_35_47_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e6955520107de21e1f77398d88e622a.jpg","text":"TemporaryFile(/tmp/multipartBody11511212301124999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172702938,"filename":"image_31122025_08_36_17_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866203","file1":"1401866201","file0":"1401866198","file4":"1401866207","file5":"1401866214","file3":"1401866205"},"map_files_photo_id_array":[{"photo_id":"1401866214","filename":"file5"},{"photo_id":"1401866203","filename":"file2"},{"photo_id":"1401866207","filename":"file4"},{"photo_id":"1401866201","filename":"file1"},{"photo_id":"1401866198","filename":"file0"},{"photo_id":"1401866205","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866203":["hashtag1","hashtag2"]},{"1401866205":["hashtag1","hashtag2"]},{"1401866214":["hashtag1","hashtag2"]},{"1401866198":["hashtag1","hashtag2"]},{"1401866201":["hashtag1","hashtag2"]},{"1401866207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866203, 1401866205, 1401866214, 1401866198, 1401866201, 1401866207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.825202226638794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:18:03.051621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_37_10745.jpg', '/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_47_9585.jpg', '/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_56_9634.jpg', '/home/pi/Desktop/images/31122025/08/36/image_31122025_08_37_07_10619.jpg', '/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_16_9341.jpg', '/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_27_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_37_10745.jpg
/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_47_9585.jpg
/home/pi/Desktop/images/31122025/08/36/image_31122025_08_36_56_9634.jpg
/home/pi/Desktop/images/31122025/08/36/image_31122025_08_37_07_10619.jpg
/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_16_9341.jpg
/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_27_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866227","1401866224","1401866223","1401866220","1401866222","1401866225"],"photo_ids_order":["1401866220","1401866222","1401866223","1401866224","1401866225","1401866227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6238e44a1fc930f6fa1db1a662e8f51a.jpg","text":"TemporaryFile(/tmp/multipartBody4643110717657760333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172743658,"filename":"image_31122025_08_37_27_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb3ab8ccaf5c53969e353aef90563c86.jpg","text":"TemporaryFile(/tmp/multipartBody1152983596594008712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172743658,"filename":"image_31122025_08_37_07_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aae194045f7db1ee6278899a73d8abad.jpg","text":"TemporaryFile(/tmp/multipartBody4997770276249437208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172743658,"filename":"image_31122025_08_36_56_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9dde7b64c5c7ded0566e7374d781b6d5.jpg","text":"TemporaryFile(/tmp/multipartBody1883690286687942288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172743658,"filename":"image_31122025_08_36_37_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7142aee2bcce56ac87c17718c9efc749.jpg","text":"TemporaryFile(/tmp/multipartBody3498858689086457300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172743658,"filename":"image_31122025_08_36_47_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/320dac782abcf20a52ee6883a4449069.jpg","text":"TemporaryFile(/tmp/multipartBody6269314121146870267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172743658,"filename":"image_31122025_08_37_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866223","file1":"1401866222","file0":"1401866220","file4":"1401866225","file5":"1401866227","file3":"1401866224"},"map_files_photo_id_array":[{"photo_id":"1401866227","filename":"file5"},{"photo_id":"1401866223","filename":"file2"},{"photo_id":"1401866225","filename":"file4"},{"photo_id":"1401866222","filename":"file1"},{"photo_id":"1401866220","filename":"file0"},{"photo_id":"1401866224","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866227":["hashtag1","hashtag2"]},{"1401866224":["hashtag1","hashtag2"]},{"1401866223":["hashtag1","hashtag2"]},{"1401866220":["hashtag1","hashtag2"]},{"1401866222":["hashtag1","hashtag2"]},{"1401866225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866227, 1401866224, 1401866223, 1401866220, 1401866222, 1401866225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.452452421188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:18:42.796733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_35_2604.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_37_2850.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_40_2628.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_44_3555.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_46_2340.jpg', '/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_50_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_35_2604.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_37_2850.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_40_2628.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_44_3555.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_46_2340.jpg
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_50_3679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866247","1401866246","1401866249","1401866243","1401866245","1401866239"],"photo_ids_order":["1401866239","1401866243","1401866245","1401866246","1401866247","1401866249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59add474ee2939f295216c250655588b.jpg","text":"TemporaryFile(/tmp/multipartBody895823831847800020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172784742,"filename":"image_03112025_17_39_46_2340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aca0bd14278daeaa6f1ead098e96cf54.jpg","text":"TemporaryFile(/tmp/multipartBody1422196413540311119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172784742,"filename":"image_03112025_17_39_44_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff7199bad528d8deda90acaffedf486a.jpg","text":"TemporaryFile(/tmp/multipartBody873357995767982597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172784742,"filename":"image_03112025_17_39_50_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f7c4cde07f5a4ad53f9ac7c58552c12.jpg","text":"TemporaryFile(/tmp/multipartBody8736974368306831086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172784742,"filename":"image_03112025_17_39_37_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97f6ea40fb935b6432e2ebe602c538dd.jpg","text":"TemporaryFile(/tmp/multipartBody1119891198343724903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172784742,"filename":"image_03112025_17_39_40_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54561d87459e8776d56c5413f9f950f1.jpg","text":"TemporaryFile(/tmp/multipartBody6131329322333168627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172784742,"filename":"image_03112025_17_39_35_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866245","file1":"1401866243","file0":"1401866239","file4":"1401866247","file5":"1401866249","file3":"1401866246"},"map_files_photo_id_array":[{"photo_id":"1401866249","filename":"file5"},{"photo_id":"1401866245","filename":"file2"},{"photo_id":"1401866247","filename":"file4"},{"photo_id":"1401866243","filename":"file1"},{"photo_id":"1401866239","filename":"file0"},{"photo_id":"1401866246","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866247":["hashtag1","hashtag2"]},{"1401866246":["hashtag1","hashtag2"]},{"1401866249":["hashtag1","hashtag2"]},{"1401866243":["hashtag1","hashtag2"]},{"1401866245":["hashtag1","hashtag2"]},{"1401866239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866247, 1401866246, 1401866249, 1401866243, 1401866245, 1401866239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.288007497787476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:19:31.936763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_53_3232.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_07_3011.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_10_3658.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_13_2512.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_17_3654.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_19_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/39/image_03112025_17_39_53_3232.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_07_3011.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_10_3658.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_13_2512.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_17_3654.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_19_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866271","1401866274","1401866268","1401866277","1401866270","1401866276"],"photo_ids_order":["1401866268","1401866270","1401866271","1401866274","1401866276","1401866277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc4d3bf92b6a11a1d4bb1b174b879e96.jpg","text":"TemporaryFile(/tmp/multipartBody7469660320290014200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172833876,"filename":"image_03112025_17_41_10_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b39131b204a29db033dca81ea141e0f2.jpg","text":"TemporaryFile(/tmp/multipartBody7832471907914167890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172833876,"filename":"image_03112025_17_41_13_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee91d7a9d1f9ac21f6ac4169ef1904bb.jpg","text":"TemporaryFile(/tmp/multipartBody238305593732860497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172833876,"filename":"image_03112025_17_39_53_3232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e82c5f00617d7d40ce38d64bb4df18a7.jpg","text":"TemporaryFile(/tmp/multipartBody8458145497966625105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172833876,"filename":"image_03112025_17_41_19_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/863eef65869faca3dc775a814388a707.jpg","text":"TemporaryFile(/tmp/multipartBody5918934956553740435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172833876,"filename":"image_03112025_17_41_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46f50603e1224929c9be73cd72f70b1a.jpg","text":"TemporaryFile(/tmp/multipartBody997298317773603681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172833876,"filename":"image_03112025_17_41_17_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866271","file1":"1401866270","file0":"1401866268","file4":"1401866276","file5":"1401866277","file3":"1401866274"},"map_files_photo_id_array":[{"photo_id":"1401866277","filename":"file5"},{"photo_id":"1401866271","filename":"file2"},{"photo_id":"1401866276","filename":"file4"},{"photo_id":"1401866270","filename":"file1"},{"photo_id":"1401866268","filename":"file0"},{"photo_id":"1401866274","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866271":["hashtag1","hashtag2"]},{"1401866274":["hashtag1","hashtag2"]},{"1401866268":["hashtag1","hashtag2"]},{"1401866277":["hashtag1","hashtag2"]},{"1401866270":["hashtag1","hashtag2"]},{"1401866276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866271, 1401866274, 1401866268, 1401866277, 1401866270, 1401866276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.225640535354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:20:12.122223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_23_3584.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_25_2538.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_28_2725.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_32_3619.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_39_7116.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_40_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_23_3584.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_25_2538.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_28_2725.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_32_3619.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_39_7116.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_40_1578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866292","1401866286","1401866280","1401866282","1401866279","1401866284"],"photo_ids_order":["1401866279","1401866280","1401866282","1401866284","1401866286","1401866292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78b54a48b4d50b7e1736db2e93ca9711.jpg","text":"TemporaryFile(/tmp/multipartBody4144976742574116148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172873943,"filename":"image_03112025_17_41_40_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd2230e6ac8f8506b97cd3c8e233ff59.jpg","text":"TemporaryFile(/tmp/multipartBody8935719373705367211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172873943,"filename":"image_03112025_17_41_39_7116.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/039dd8f63d86f523a6c6a04a27233a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1376543043809726278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172873943,"filename":"image_03112025_17_41_25_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5391c553506a33ee2cdbdf1eb5537dff.jpg","text":"TemporaryFile(/tmp/multipartBody244379825413450540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172873943,"filename":"image_03112025_17_41_28_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e7ba00490edd32be1dffe8a88c801c4.jpg","text":"TemporaryFile(/tmp/multipartBody724502909354923613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172873943,"filename":"image_03112025_17_41_23_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30af901d52bd8cf4ddeea1b5de288b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5901720038147402682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172873943,"filename":"image_03112025_17_41_32_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866282","file1":"1401866280","file0":"1401866279","file4":"1401866286","file5":"1401866292","file3":"1401866284"},"map_files_photo_id_array":[{"photo_id":"1401866292","filename":"file5"},{"photo_id":"1401866282","filename":"file2"},{"photo_id":"1401866286","filename":"file4"},{"photo_id":"1401866280","filename":"file1"},{"photo_id":"1401866279","filename":"file0"},{"photo_id":"1401866284","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866292":["hashtag1","hashtag2"]},{"1401866286":["hashtag1","hashtag2"]},{"1401866280":["hashtag1","hashtag2"]},{"1401866282":["hashtag1","hashtag2"]},{"1401866279":["hashtag1","hashtag2"]},{"1401866284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866292, 1401866286, 1401866280, 1401866282, 1401866279, 1401866284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.948123931884766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:21:05.669180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_37_9883.jpg', '/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_46_9704.jpg', '/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_56_9764.jpg', '/home/pi/Desktop/images/31122025/08/37/image_31122025_08_38_07_10769.jpg', '/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_16_9587.jpg', '/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_26_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_37_9883.jpg
/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_46_9704.jpg
/home/pi/Desktop/images/31122025/08/37/image_31122025_08_37_56_9764.jpg
/home/pi/Desktop/images/31122025/08/37/image_31122025_08_38_07_10769.jpg
/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_16_9587.jpg
/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_26_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866311","1401866314","1401866316","1401866313","1401866318","1401866312"],"photo_ids_order":["1401866311","1401866312","1401866313","1401866314","1401866316","1401866318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f8d00232259350c7692dded316e030a.jpg","text":"TemporaryFile(/tmp/multipartBody4205068884742419683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172926324,"filename":"image_31122025_08_37_37_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dcd0c35a38c5939e0a3686f60400b9ee.jpg","text":"TemporaryFile(/tmp/multipartBody8941113842071645497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172926324,"filename":"image_31122025_08_38_07_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae290ee265db2005b0771b6540c7a3ae.jpg","text":"TemporaryFile(/tmp/multipartBody6380318924466776813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172926324,"filename":"image_31122025_08_38_16_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26a6ef8c0022ce1b517efa670ec990e2.jpg","text":"TemporaryFile(/tmp/multipartBody4015263899210332893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172926324,"filename":"image_31122025_08_37_56_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca442a142f7985402e9f635dd17b15ef.jpg","text":"TemporaryFile(/tmp/multipartBody1819394398620355657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172926324,"filename":"image_31122025_08_38_26_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dcbc2ee69d40dec34b0cdc8447d107b0.jpg","text":"TemporaryFile(/tmp/multipartBody454109577515881362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172926324,"filename":"image_31122025_08_37_46_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866313","file1":"1401866312","file0":"1401866311","file4":"1401866316","file5":"1401866318","file3":"1401866314"},"map_files_photo_id_array":[{"photo_id":"1401866318","filename":"file5"},{"photo_id":"1401866313","filename":"file2"},{"photo_id":"1401866316","filename":"file4"},{"photo_id":"1401866312","filename":"file1"},{"photo_id":"1401866311","filename":"file0"},{"photo_id":"1401866314","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866311":["hashtag1","hashtag2"]},{"1401866314":["hashtag1","hashtag2"]},{"1401866316":["hashtag1","hashtag2"]},{"1401866313":["hashtag1","hashtag2"]},{"1401866318":["hashtag1","hashtag2"]},{"1401866312":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866311, 1401866314, 1401866316, 1401866313, 1401866318, 1401866312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.898975133895874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:21:45.039533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_42_1648.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_44_1552.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_46_2795.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_49_2526.jpg', '/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_53_3678.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_01_8154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_42_1648.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_44_1552.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_46_2795.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_49_2526.jpg
/home/pi/Desktop/images/03112025/17/41/image_03112025_17_41_53_3678.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_01_8154.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866326","1401866325","1401866328","1401866327","1401866330","1401866324"],"photo_ids_order":["1401866324","1401866325","1401866326","1401866327","1401866328","1401866330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dab4719d09d258c322156f97d5e9818.jpg","text":"TemporaryFile(/tmp/multipartBody5957074838854658165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172966963,"filename":"image_03112025_17_41_46_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b4e4dafe72d3533a2dfd532c155dcb6.jpg","text":"TemporaryFile(/tmp/multipartBody1334583991607322733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172966963,"filename":"image_03112025_17_41_44_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f0792ac55220e012ab78d957b16ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody5768592093386853431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172966963,"filename":"image_03112025_17_41_53_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ae13c53313f556e7c40215113efbc85.jpg","text":"TemporaryFile(/tmp/multipartBody4898866006612967557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172966963,"filename":"image_03112025_17_41_49_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a9269164e460c0ef1c37cd97f91fbd2.jpg","text":"TemporaryFile(/tmp/multipartBody1423554172050979705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172966963,"filename":"image_03112025_17_42_01_8154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64ddbd1dbf32ffb891cfafc1f079457a.jpg","text":"TemporaryFile(/tmp/multipartBody5485770030293128952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767172966963,"filename":"image_03112025_17_41_42_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866326","file1":"1401866325","file0":"1401866324","file4":"1401866328","file5":"1401866330","file3":"1401866327"},"map_files_photo_id_array":[{"photo_id":"1401866330","filename":"file5"},{"photo_id":"1401866326","filename":"file2"},{"photo_id":"1401866328","filename":"file4"},{"photo_id":"1401866325","filename":"file1"},{"photo_id":"1401866324","filename":"file0"},{"photo_id":"1401866327","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866326":["hashtag1","hashtag2"]},{"1401866325":["hashtag1","hashtag2"]},{"1401866328":["hashtag1","hashtag2"]},{"1401866327":["hashtag1","hashtag2"]},{"1401866330":["hashtag1","hashtag2"]},{"1401866324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866326, 1401866325, 1401866328, 1401866327, 1401866330, 1401866324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52689862251282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:22:32.129237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_02_1806.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_04_1751.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_06_1666.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_08_1678.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_10_2657.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_13_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_02_1806.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_04_1751.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_06_1666.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_08_1678.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_10_2657.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_13_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866335","1401866343","1401866337","1401866346","1401866351","1401866350"],"photo_ids_order":["1401866335","1401866337","1401866343","1401866346","1401866350","1401866351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c219fc12158786f3f52a1b57c45cdb49.jpg","text":"TemporaryFile(/tmp/multipartBody4669137265911553115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173013939,"filename":"image_03112025_17_42_02_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caf31c5498c3df7225dfecde4210869f.jpg","text":"TemporaryFile(/tmp/multipartBody4519748563947921897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173013939,"filename":"image_03112025_17_42_06_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f25459674e5adf15ba3897350f1da9d.jpg","text":"TemporaryFile(/tmp/multipartBody574670399090358033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173013939,"filename":"image_03112025_17_42_04_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dc75ece3b209deec88f86c731437fb0.jpg","text":"TemporaryFile(/tmp/multipartBody6375484066729701528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173013939,"filename":"image_03112025_17_42_08_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92b76fb4d01613058710727667df2bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5532377890628844306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173013939,"filename":"image_03112025_17_42_13_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35c0db95e763a197f1de04d45feadf3c.jpg","text":"TemporaryFile(/tmp/multipartBody6587205915730350431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173013939,"filename":"image_03112025_17_42_10_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866343","file1":"1401866337","file0":"1401866335","file4":"1401866350","file5":"1401866351","file3":"1401866346"},"map_files_photo_id_array":[{"photo_id":"1401866351","filename":"file5"},{"photo_id":"1401866343","filename":"file2"},{"photo_id":"1401866350","filename":"file4"},{"photo_id":"1401866337","filename":"file1"},{"photo_id":"1401866335","filename":"file0"},{"photo_id":"1401866346","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866335":["hashtag1","hashtag2"]},{"1401866343":["hashtag1","hashtag2"]},{"1401866337":["hashtag1","hashtag2"]},{"1401866346":["hashtag1","hashtag2"]},{"1401866351":["hashtag1","hashtag2"]},{"1401866350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866335, 1401866343, 1401866337, 1401866346, 1401866351, 1401866350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.844562292099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:23:12.439034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_16_3550.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_19_2892.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_22_2757.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_25_2673.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_28_3640.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_31_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_16_3550.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_19_2892.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_22_2757.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_25_2673.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_28_3640.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_31_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866352","1401866358","1401866360","1401866354","1401866362","1401866356"],"photo_ids_order":["1401866352","1401866354","1401866356","1401866358","1401866360","1401866362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/008ff8f57182eed6902292b5d4b4d6b2.jpg","text":"TemporaryFile(/tmp/multipartBody2847504376386009275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173054245,"filename":"image_03112025_17_42_16_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c92b1369cae291bb7d48b218c4725e46.jpg","text":"TemporaryFile(/tmp/multipartBody4614184300629837546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173054245,"filename":"image_03112025_17_42_25_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/219d7ea95d53f90d7d51ab0976b4e793.jpg","text":"TemporaryFile(/tmp/multipartBody261798960101967521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173054245,"filename":"image_03112025_17_42_28_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5127a7acfbb10070164255e16b766891.jpg","text":"TemporaryFile(/tmp/multipartBody2596965874539188876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173054245,"filename":"image_03112025_17_42_19_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85c4a0b3bb3dddeaeba412dee0221e51.jpg","text":"TemporaryFile(/tmp/multipartBody1546203004135572880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173054245,"filename":"image_03112025_17_42_31_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/662945cfc9662c1687bb075c50ae7cc8.jpg","text":"TemporaryFile(/tmp/multipartBody681744834335856575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173054245,"filename":"image_03112025_17_42_22_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866356","file1":"1401866354","file0":"1401866352","file4":"1401866360","file5":"1401866362","file3":"1401866358"},"map_files_photo_id_array":[{"photo_id":"1401866362","filename":"file5"},{"photo_id":"1401866356","filename":"file2"},{"photo_id":"1401866360","filename":"file4"},{"photo_id":"1401866354","filename":"file1"},{"photo_id":"1401866352","filename":"file0"},{"photo_id":"1401866358","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866352":["hashtag1","hashtag2"]},{"1401866358":["hashtag1","hashtag2"]},{"1401866360":["hashtag1","hashtag2"]},{"1401866354":["hashtag1","hashtag2"]},{"1401866362":["hashtag1","hashtag2"]},{"1401866356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866352, 1401866358, 1401866360, 1401866354, 1401866362, 1401866356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213119983673096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:24:03.197380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_37_10820.jpg', '/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_47_9664.jpg', '/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_56_9686.jpg', '/home/pi/Desktop/images/31122025/08/38/image_31122025_08_39_07_10630.jpg', '/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_17_9965.jpg', '/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_26_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_37_10820.jpg
/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_47_9664.jpg
/home/pi/Desktop/images/31122025/08/38/image_31122025_08_38_56_9686.jpg
/home/pi/Desktop/images/31122025/08/38/image_31122025_08_39_07_10630.jpg
/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_17_9965.jpg
/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_26_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866376","1401866378","1401866375","1401866380","1401866374","1401866383"],"photo_ids_order":["1401866374","1401866375","1401866376","1401866378","1401866380","1401866383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c112c6f90abfd96ca10f80fdcc18afe4.jpg","text":"TemporaryFile(/tmp/multipartBody1355599270221684224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173103891,"filename":"image_31122025_08_38_56_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99b1aeb5ae49e53792fcf5149ccd912c.jpg","text":"TemporaryFile(/tmp/multipartBody2888606508535273696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173103891,"filename":"image_31122025_08_39_07_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40abcb63717b6f309b394e6c53a0efbf.jpg","text":"TemporaryFile(/tmp/multipartBody4985498748568850710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173103891,"filename":"image_31122025_08_38_47_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19bcc36370150070e199ada0ea67e006.jpg","text":"TemporaryFile(/tmp/multipartBody9195442852278654207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173103891,"filename":"image_31122025_08_39_17_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcf5fc42ad655ce30b6af32e413083ad.jpg","text":"TemporaryFile(/tmp/multipartBody4690031354151079303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173103891,"filename":"image_31122025_08_38_37_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/029b9f650a574e6ba46bd7593da8f934.jpg","text":"TemporaryFile(/tmp/multipartBody5065307001301555080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173103891,"filename":"image_31122025_08_39_26_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866376","file1":"1401866375","file0":"1401866374","file4":"1401866380","file5":"1401866383","file3":"1401866378"},"map_files_photo_id_array":[{"photo_id":"1401866383","filename":"file5"},{"photo_id":"1401866376","filename":"file2"},{"photo_id":"1401866380","filename":"file4"},{"photo_id":"1401866375","filename":"file1"},{"photo_id":"1401866374","filename":"file0"},{"photo_id":"1401866378","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866376":["hashtag1","hashtag2"]},{"1401866378":["hashtag1","hashtag2"]},{"1401866375":["hashtag1","hashtag2"]},{"1401866380":["hashtag1","hashtag2"]},{"1401866374":["hashtag1","hashtag2"]},{"1401866383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866376, 1401866378, 1401866375, 1401866380, 1401866374, 1401866383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.538386821746826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:24:42.679223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_53_22014.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_55_1624.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_56_1702.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_58_1569.jpg', '/home/pi/Desktop/images/03112025/17/42/image_03112025_17_43_00_1739.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_01_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_53_22014.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_55_1624.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_56_1702.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_42_58_1569.jpg
/home/pi/Desktop/images/03112025/17/42/image_03112025_17_43_00_1739.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_01_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866410","1401866391","1401866388","1401866409","1401866402","1401866411"],"photo_ids_order":["1401866388","1401866391","1401866402","1401866409","1401866410","1401866411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb44f1cb28184e0db63db61a83a12fc6.jpg","text":"TemporaryFile(/tmp/multipartBody1397130611106471822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173144609,"filename":"image_03112025_17_43_00_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6989f4d94bfaf46d22c299b47df9b8c3.jpg","text":"TemporaryFile(/tmp/multipartBody5443777442823703449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173144609,"filename":"image_03112025_17_42_55_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39f31eb30757f3e232b5954a06171216.jpg","text":"TemporaryFile(/tmp/multipartBody5672532167669182650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173144609,"filename":"image_03112025_17_42_53_22014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6a0dfc0084a734b98d87002f7755c43.jpg","text":"TemporaryFile(/tmp/multipartBody6992047101747733726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173144609,"filename":"image_03112025_17_42_58_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2096861335c3b7eb36826854e369cf2.jpg","text":"TemporaryFile(/tmp/multipartBody1171808313087720692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173144609,"filename":"image_03112025_17_42_56_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef083776b607131fbd641d7334f6c369.jpg","text":"TemporaryFile(/tmp/multipartBody6497987355355282341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173144609,"filename":"image_03112025_17_43_01_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866402","file1":"1401866391","file0":"1401866388","file4":"1401866410","file5":"1401866411","file3":"1401866409"},"map_files_photo_id_array":[{"photo_id":"1401866411","filename":"file5"},{"photo_id":"1401866402","filename":"file2"},{"photo_id":"1401866410","filename":"file4"},{"photo_id":"1401866391","filename":"file1"},{"photo_id":"1401866388","filename":"file0"},{"photo_id":"1401866409","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866410":["hashtag1","hashtag2"]},{"1401866391":["hashtag1","hashtag2"]},{"1401866388":["hashtag1","hashtag2"]},{"1401866409":["hashtag1","hashtag2"]},{"1401866402":["hashtag1","hashtag2"]},{"1401866411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866410, 1401866391, 1401866388, 1401866409, 1401866402, 1401866411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36339473724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:25:31.917955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_03_1639.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_05_1560.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_06_1554.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_08_1716.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_09_1645.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_11_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_03_1639.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_05_1560.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_06_1554.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_08_1716.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_09_1645.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_11_1630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866419","1401866428","1401866500","1401866520","1401866417","1401866467"],"photo_ids_order":["1401866417","1401866419","1401866428","1401866467","1401866500","1401866520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31ef0337bf0a19ad21ba5c7d810cb155.jpg","text":"TemporaryFile(/tmp/multipartBody5417105028916073850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173193870,"filename":"image_03112025_17_43_05_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6a40f1e2964f9736a06ce59441f8746.jpg","text":"TemporaryFile(/tmp/multipartBody2332131844596831030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173193870,"filename":"image_03112025_17_43_06_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4199cda2bf1b7eb93620256d5ffdf3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8397606853940736404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173193870,"filename":"image_03112025_17_43_09_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/091aea08ff4745737deceb2d4f5a57c8.jpg","text":"TemporaryFile(/tmp/multipartBody1953985705545940728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173193870,"filename":"image_03112025_17_43_11_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bffdcd1754567f0971e3210cf8b3911.jpg","text":"TemporaryFile(/tmp/multipartBody8816555438741039841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173193870,"filename":"image_03112025_17_43_03_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/faf63763d89f3e3afa6cdcb9c6b80802.jpg","text":"TemporaryFile(/tmp/multipartBody1764617919804925330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173193870,"filename":"image_03112025_17_43_08_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866428","file1":"1401866419","file0":"1401866417","file4":"1401866500","file5":"1401866520","file3":"1401866467"},"map_files_photo_id_array":[{"photo_id":"1401866520","filename":"file5"},{"photo_id":"1401866428","filename":"file2"},{"photo_id":"1401866500","filename":"file4"},{"photo_id":"1401866419","filename":"file1"},{"photo_id":"1401866417","filename":"file0"},{"photo_id":"1401866467","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866419":["hashtag1","hashtag2"]},{"1401866428":["hashtag1","hashtag2"]},{"1401866500":["hashtag1","hashtag2"]},{"1401866520":["hashtag1","hashtag2"]},{"1401866417":["hashtag1","hashtag2"]},{"1401866467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866419, 1401866428, 1401866500, 1401866520, 1401866417, 1401866467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45604920387268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:26:12.180454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_13_1650.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_14_1726.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_16_1560.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_19_2662.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_36_16854.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_39_3036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_13_1650.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_14_1726.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_16_1560.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_19_2662.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_36_16854.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_39_3036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866550","1401866582","1401866561","1401866579","1401866584","1401866575"],"photo_ids_order":["1401866550","1401866561","1401866575","1401866579","1401866582","1401866584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8a288666a418900058c700357533a8c.jpg","text":"TemporaryFile(/tmp/multipartBody8314384469688614852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173233993,"filename":"image_03112025_17_43_13_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c7683748b0672004a51887ebc0a5765.jpg","text":"TemporaryFile(/tmp/multipartBody8611908353255178683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173233993,"filename":"image_03112025_17_43_36_16854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2412afddec7e0da7f77dba917e292b9.jpg","text":"TemporaryFile(/tmp/multipartBody6453513641374950100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173233993,"filename":"image_03112025_17_43_14_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d45f8670a879fe033b253bc518999c7.jpg","text":"TemporaryFile(/tmp/multipartBody6195875589936052025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173233993,"filename":"image_03112025_17_43_19_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60632629786437d06a061a27a6fade5b.jpg","text":"TemporaryFile(/tmp/multipartBody5645873209532473654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173233993,"filename":"image_03112025_17_43_39_3036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51ab42f12c4515957e6dc2e0380be759.jpg","text":"TemporaryFile(/tmp/multipartBody8391923926862138825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173233993,"filename":"image_03112025_17_43_16_1560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866575","file1":"1401866561","file0":"1401866550","file4":"1401866582","file5":"1401866584","file3":"1401866579"},"map_files_photo_id_array":[{"photo_id":"1401866584","filename":"file5"},{"photo_id":"1401866575","filename":"file2"},{"photo_id":"1401866582","filename":"file4"},{"photo_id":"1401866561","filename":"file1"},{"photo_id":"1401866550","filename":"file0"},{"photo_id":"1401866579","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866550":["hashtag1","hashtag2"]},{"1401866582":["hashtag1","hashtag2"]},{"1401866561":["hashtag1","hashtag2"]},{"1401866579":["hashtag1","hashtag2"]},{"1401866584":["hashtag1","hashtag2"]},{"1401866575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866550, 1401866582, 1401866561, 1401866579, 1401866584, 1401866575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97461199760437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:27:03.026022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_36_9785.jpg', '/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_47_10564.jpg', '/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_56_9615.jpg', '/home/pi/Desktop/images/31122025/08/39/image_31122025_08_40_06_9863.jpg', '/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_16_9793.jpg', '/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_27_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_36_9785.jpg
/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_47_10564.jpg
/home/pi/Desktop/images/31122025/08/39/image_31122025_08_39_56_9615.jpg
/home/pi/Desktop/images/31122025/08/39/image_31122025_08_40_06_9863.jpg
/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_16_9793.jpg
/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_27_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866623","1401866617","1401866622","1401866618","1401866615","1401866620"],"photo_ids_order":["1401866615","1401866617","1401866618","1401866620","1401866622","1401866623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd44fe4c6a804d97f0c18250a62a1f02.jpg","text":"TemporaryFile(/tmp/multipartBody8789902441867402127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173283671,"filename":"image_31122025_08_40_27_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f7a831d10e6ec639c954d6eb81b331b.jpg","text":"TemporaryFile(/tmp/multipartBody4791519612105614372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173283671,"filename":"image_31122025_08_39_47_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebd0edbca7d8864c525624f682908d50.jpg","text":"TemporaryFile(/tmp/multipartBody1018914399886074328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173283671,"filename":"image_31122025_08_40_16_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/598b00c6bbac1faca603c0049a341cd0.jpg","text":"TemporaryFile(/tmp/multipartBody8312590462232323584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173283671,"filename":"image_31122025_08_39_56_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e942cae1e181209ab9da22649c6235cc.jpg","text":"TemporaryFile(/tmp/multipartBody5736242681742340434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173283671,"filename":"image_31122025_08_39_36_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d845332f42a40e8437c23ff1e24b4168.jpg","text":"TemporaryFile(/tmp/multipartBody4569222195176062362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173283671,"filename":"image_31122025_08_40_06_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866618","file1":"1401866617","file0":"1401866615","file4":"1401866622","file5":"1401866623","file3":"1401866620"},"map_files_photo_id_array":[{"photo_id":"1401866623","filename":"file5"},{"photo_id":"1401866618","filename":"file2"},{"photo_id":"1401866622","filename":"file4"},{"photo_id":"1401866617","filename":"file1"},{"photo_id":"1401866615","filename":"file0"},{"photo_id":"1401866620","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866623":["hashtag1","hashtag2"]},{"1401866617":["hashtag1","hashtag2"]},{"1401866622":["hashtag1","hashtag2"]},{"1401866618":["hashtag1","hashtag2"]},{"1401866615":["hashtag1","hashtag2"]},{"1401866620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866623, 1401866617, 1401866622, 1401866618, 1401866615, 1401866620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.186227321624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:27:42.253668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_40_1734.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_42_1867.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_44_1541.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_45_1739.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_47_1749.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_49_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_40_1734.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_42_1867.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_44_1541.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_45_1739.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_47_1749.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_49_1607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866632","1401866634","1401866628","1401866636","1401866630","1401866635"],"photo_ids_order":["1401866628","1401866630","1401866632","1401866634","1401866635","1401866636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1c9c61ec60c5b07da8f165379244600.jpg","text":"TemporaryFile(/tmp/multipartBody6455392213596149041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173326344,"filename":"image_03112025_17_43_44_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c9632f2a6f16d6537ff83e64e22e337.jpg","text":"TemporaryFile(/tmp/multipartBody7903552443746763617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173326344,"filename":"image_03112025_17_43_45_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9876df7b5c28fc0ed756fcfce69c85bc.jpg","text":"TemporaryFile(/tmp/multipartBody1665024958551787936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173326344,"filename":"image_03112025_17_43_40_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4cc53e674769f0a5bfbc2af1ffd78673.jpg","text":"TemporaryFile(/tmp/multipartBody9141633933073320820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173326344,"filename":"image_03112025_17_43_49_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d594f86777c30a5c2496209c085b524.jpg","text":"TemporaryFile(/tmp/multipartBody6561836074230484397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173326344,"filename":"image_03112025_17_43_42_1867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/144dd306fb34339aef7d431f18919282.jpg","text":"TemporaryFile(/tmp/multipartBody2933169355094493910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173326344,"filename":"image_03112025_17_43_47_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866632","file1":"1401866630","file0":"1401866628","file4":"1401866635","file5":"1401866636","file3":"1401866634"},"map_files_photo_id_array":[{"photo_id":"1401866636","filename":"file5"},{"photo_id":"1401866632","filename":"file2"},{"photo_id":"1401866635","filename":"file4"},{"photo_id":"1401866630","filename":"file1"},{"photo_id":"1401866628","filename":"file0"},{"photo_id":"1401866634","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866632":["hashtag1","hashtag2"]},{"1401866634":["hashtag1","hashtag2"]},{"1401866628":["hashtag1","hashtag2"]},{"1401866636":["hashtag1","hashtag2"]},{"1401866630":["hashtag1","hashtag2"]},{"1401866635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866632, 1401866634, 1401866628, 1401866636, 1401866630, 1401866635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68064832687378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:28:32.455235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_51_1766.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_52_1659.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_54_1642.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_55_1574.jpg', '/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_58_2823.jpg', '/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_04_5519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_51_1766.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_52_1659.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_54_1642.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_55_1574.jpg
/home/pi/Desktop/images/03112025/17/43/image_03112025_17_43_58_2823.jpg
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_04_5519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866652","1401866646","1401866643","1401866660","1401866662","1401866641"],"photo_ids_order":["1401866641","1401866643","1401866646","1401866652","1401866660","1401866662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/788f15e271fad9158a20048726fb8df2.jpg","text":"TemporaryFile(/tmp/multipartBody3221248299984299267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173374383,"filename":"image_03112025_17_43_55_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b407674ec45c22eec0607191ab867831.jpg","text":"TemporaryFile(/tmp/multipartBody6573708794193961862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173374383,"filename":"image_03112025_17_43_54_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d264d525371796ecaa07525b177b194a.jpg","text":"TemporaryFile(/tmp/multipartBody2645534991919651187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173374383,"filename":"image_03112025_17_43_52_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8d11d6ec205f8473e0db702a8b384db.jpg","text":"TemporaryFile(/tmp/multipartBody222213596440303101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173374383,"filename":"image_03112025_17_43_58_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5baa3271e15f0128f0489d9bd4cb8fb.jpg","text":"TemporaryFile(/tmp/multipartBody413925793923989574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173374383,"filename":"image_03112025_17_44_04_5519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c421c9fd95529fc4eb2e1d4eac0d2fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3224793384708439403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173374383,"filename":"image_03112025_17_43_51_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866646","file1":"1401866643","file0":"1401866641","file4":"1401866660","file5":"1401866662","file3":"1401866652"},"map_files_photo_id_array":[{"photo_id":"1401866662","filename":"file5"},{"photo_id":"1401866646","filename":"file2"},{"photo_id":"1401866660","filename":"file4"},{"photo_id":"1401866643","filename":"file1"},{"photo_id":"1401866641","filename":"file0"},{"photo_id":"1401866652","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866652":["hashtag1","hashtag2"]},{"1401866646":["hashtag1","hashtag2"]},{"1401866643":["hashtag1","hashtag2"]},{"1401866660":["hashtag1","hashtag2"]},{"1401866662":["hashtag1","hashtag2"]},{"1401866641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866652, 1401866646, 1401866643, 1401866660, 1401866662, 1401866641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19725275039673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:29:12.520496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_05_1689.jpg', '/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_07_1613.jpg', '/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_10_2709.jpg', '/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_12_2655.jpg', '/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_47_34144.jpg', '/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_48_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_05_1689.jpg
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_07_1613.jpg
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_10_2709.jpg
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_12_2655.jpg
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_47_34144.jpg
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_48_1588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866667","1401866672","1401866669","1401866663","1401866665","1401866674"],"photo_ids_order":["1401866663","1401866665","1401866667","1401866669","1401866672","1401866674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b8bb21308c48a6e30cc044ed7d54f99.jpg","text":"TemporaryFile(/tmp/multipartBody477283287758291723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173414329,"filename":"image_03112025_17_44_10_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec85f424ade19c81e96848385a433a24.jpg","text":"TemporaryFile(/tmp/multipartBody2933365300010054552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173414329,"filename":"image_03112025_17_44_47_34144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72fce94656ce56a0302c15ed5ffd793d.jpg","text":"TemporaryFile(/tmp/multipartBody9114424119107745404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173414329,"filename":"image_03112025_17_44_12_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22c7b0a477cc38423e67ce57571e3a56.jpg","text":"TemporaryFile(/tmp/multipartBody5654189793634397338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173414329,"filename":"image_03112025_17_44_05_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/571a1a378cf7ae5f34e3273e08c64bee.jpg","text":"TemporaryFile(/tmp/multipartBody3673708132099874875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173414329,"filename":"image_03112025_17_44_07_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0080e3f40ba43c6fd559950d60e04414.jpg","text":"TemporaryFile(/tmp/multipartBody6989697314439813780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173414329,"filename":"image_03112025_17_44_48_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866667","file1":"1401866665","file0":"1401866663","file4":"1401866672","file5":"1401866674","file3":"1401866669"},"map_files_photo_id_array":[{"photo_id":"1401866674","filename":"file5"},{"photo_id":"1401866667","filename":"file2"},{"photo_id":"1401866672","filename":"file4"},{"photo_id":"1401866665","filename":"file1"},{"photo_id":"1401866663","filename":"file0"},{"photo_id":"1401866669","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866667":["hashtag1","hashtag2"]},{"1401866672":["hashtag1","hashtag2"]},{"1401866669":["hashtag1","hashtag2"]},{"1401866663":["hashtag1","hashtag2"]},{"1401866665":["hashtag1","hashtag2"]},{"1401866674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866667, 1401866672, 1401866669, 1401866663, 1401866665, 1401866674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86307144165039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:30:03.139418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_37_9791.jpg', '/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_46_9829.jpg', '/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_56_9826.jpg', '/home/pi/Desktop/images/31122025/08/40/image_31122025_08_41_07_10599.jpg', '/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_17_9824.jpg', '/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_26_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_37_9791.jpg
/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_46_9829.jpg
/home/pi/Desktop/images/31122025/08/40/image_31122025_08_40_56_9826.jpg
/home/pi/Desktop/images/31122025/08/40/image_31122025_08_41_07_10599.jpg
/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_17_9824.jpg
/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_26_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866688","1401866682","1401866685","1401866684","1401866686","1401866680"],"photo_ids_order":["1401866680","1401866682","1401866684","1401866685","1401866686","1401866688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/573c3874d598dd6108da358a7c218f6b.jpg","text":"TemporaryFile(/tmp/multipartBody4164992925468407304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173463712,"filename":"image_31122025_08_41_26_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34d0275c46ed10c1e532217bd46ebd50.jpg","text":"TemporaryFile(/tmp/multipartBody5108319996088990337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173463712,"filename":"image_31122025_08_40_46_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22132b96834f021b94627f3d1ea5d1f1.jpg","text":"TemporaryFile(/tmp/multipartBody684699689469807396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173463712,"filename":"image_31122025_08_41_07_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88eb40c84ebb8da3c4ffe8d4cf2d8428.jpg","text":"TemporaryFile(/tmp/multipartBody3020645667782575785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173463712,"filename":"image_31122025_08_40_56_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6190e1c238d19fa159c69f3820fbd46.jpg","text":"TemporaryFile(/tmp/multipartBody801996872033329418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173463712,"filename":"image_31122025_08_41_17_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33059149f711999911749b3719f8e6bf.jpg","text":"TemporaryFile(/tmp/multipartBody3461632511598672328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173463712,"filename":"image_31122025_08_40_37_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866684","file1":"1401866682","file0":"1401866680","file4":"1401866686","file5":"1401866688","file3":"1401866685"},"map_files_photo_id_array":[{"photo_id":"1401866688","filename":"file5"},{"photo_id":"1401866684","filename":"file2"},{"photo_id":"1401866686","filename":"file4"},{"photo_id":"1401866682","filename":"file1"},{"photo_id":"1401866680","filename":"file0"},{"photo_id":"1401866685","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866688":["hashtag1","hashtag2"]},{"1401866682":["hashtag1","hashtag2"]},{"1401866685":["hashtag1","hashtag2"]},{"1401866684":["hashtag1","hashtag2"]},{"1401866686":["hashtag1","hashtag2"]},{"1401866680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866688, 1401866682, 1401866685, 1401866684, 1401866686, 1401866680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77608275413513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:30:42.706288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_50_1798.jpg', '/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_52_1680.jpg', '/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_57_5801.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_07_3015.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_11_3741.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_14_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_50_1798.jpg
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_52_1680.jpg
/home/pi/Desktop/images/03112025/17/44/image_03112025_17_44_57_5801.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_07_3015.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_11_3741.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_14_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866701","1401866697","1401866700","1401866699","1401866703","1401866702"],"photo_ids_order":["1401866697","1401866699","1401866700","1401866701","1401866702","1401866703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0697f4897d9c2369fcc3ea6670788910.jpg","text":"TemporaryFile(/tmp/multipartBody1224679212396634543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173504494,"filename":"image_03112025_17_45_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be21354668da1f671895d58342dd3f46.jpg","text":"TemporaryFile(/tmp/multipartBody1027767799930492470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173504494,"filename":"image_03112025_17_44_50_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10bee692e0500a73290658ceea0e11c9.jpg","text":"TemporaryFile(/tmp/multipartBody4145698338736861173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173504494,"filename":"image_03112025_17_44_57_5801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18b1324bf2bea65158c028ec304d8c58.jpg","text":"TemporaryFile(/tmp/multipartBody1802245231856337958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173504494,"filename":"image_03112025_17_44_52_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd6ab325625733220feeb915a799b02e.jpg","text":"TemporaryFile(/tmp/multipartBody4060471867588065677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173504494,"filename":"image_03112025_17_45_14_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e30828fdea75e653ac81ca86dcc47c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1148364646297346446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173504494,"filename":"image_03112025_17_45_11_3741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866700","file1":"1401866699","file0":"1401866697","file4":"1401866702","file5":"1401866703","file3":"1401866701"},"map_files_photo_id_array":[{"photo_id":"1401866703","filename":"file5"},{"photo_id":"1401866700","filename":"file2"},{"photo_id":"1401866702","filename":"file4"},{"photo_id":"1401866699","filename":"file1"},{"photo_id":"1401866697","filename":"file0"},{"photo_id":"1401866701","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866701":["hashtag1","hashtag2"]},{"1401866697":["hashtag1","hashtag2"]},{"1401866700":["hashtag1","hashtag2"]},{"1401866699":["hashtag1","hashtag2"]},{"1401866703":["hashtag1","hashtag2"]},{"1401866702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866701, 1401866697, 1401866700, 1401866699, 1401866703, 1401866702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.363683223724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:31:32.028309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_16_2637.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_20_3712.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_35_15118.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_37_1650.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_39_1561.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_40_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_16_2637.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_20_3712.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_35_15118.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_37_1650.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_39_1561.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_40_1735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866710","1401866713","1401866707","1401866715","1401866726","1401866708"],"photo_ids_order":["1401866707","1401866708","1401866710","1401866713","1401866715","1401866726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90f4807cafc0e3d9f6dbfa7f2a0236e9.jpg","text":"TemporaryFile(/tmp/multipartBody793516043586577921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173553950,"filename":"image_03112025_17_45_35_15118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9e4142dd3fedc8294d24dc135743c6a.jpg","text":"TemporaryFile(/tmp/multipartBody8858715677585764471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173553950,"filename":"image_03112025_17_45_37_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ac818d00fdec0e66153476b85eef4fd.jpg","text":"TemporaryFile(/tmp/multipartBody5464308987365926543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173553950,"filename":"image_03112025_17_45_16_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d090eb97e6a5d02bd9f9b8ca44221c7.jpg","text":"TemporaryFile(/tmp/multipartBody6819124415690074226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173553950,"filename":"image_03112025_17_45_39_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d14b916220570b34bc47e95ce995306.jpg","text":"TemporaryFile(/tmp/multipartBody7762245365158369575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173553950,"filename":"image_03112025_17_45_40_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b99cae325b029d0bd4b3f97e7dd6126f.jpg","text":"TemporaryFile(/tmp/multipartBody8212977455615783392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173553950,"filename":"image_03112025_17_45_20_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866710","file1":"1401866708","file0":"1401866707","file4":"1401866715","file5":"1401866726","file3":"1401866713"},"map_files_photo_id_array":[{"photo_id":"1401866726","filename":"file5"},{"photo_id":"1401866710","filename":"file2"},{"photo_id":"1401866715","filename":"file4"},{"photo_id":"1401866708","filename":"file1"},{"photo_id":"1401866707","filename":"file0"},{"photo_id":"1401866713","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866710":["hashtag1","hashtag2"]},{"1401866713":["hashtag1","hashtag2"]},{"1401866707":["hashtag1","hashtag2"]},{"1401866715":["hashtag1","hashtag2"]},{"1401866726":["hashtag1","hashtag2"]},{"1401866708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866710, 1401866713, 1401866707, 1401866715, 1401866726, 1401866708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.519540548324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:32:12.136550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_42_1565.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_43_1630.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_45_1637.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_47_1640.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_48_1544.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_50_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_42_1565.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_43_1630.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_45_1637.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_47_1640.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_48_1544.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_50_1576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866760","1401866763","1401866751","1401866754","1401866727","1401866752"],"photo_ids_order":["1401866727","1401866751","1401866752","1401866754","1401866760","1401866763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c26ae84c03d118052fe4f1e7a1302192.jpg","text":"TemporaryFile(/tmp/multipartBody3325721408440862682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173593924,"filename":"image_03112025_17_45_48_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c7f86879150c7c6a9a633c3717e3b00.jpg","text":"TemporaryFile(/tmp/multipartBody4068569027935361997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173593924,"filename":"image_03112025_17_45_50_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7947675dc3cd900cb055fde7636c05e6.jpg","text":"TemporaryFile(/tmp/multipartBody7093448312622163049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173593924,"filename":"image_03112025_17_45_43_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a27a4e9d76810b5d41d55b0873cea186.jpg","text":"TemporaryFile(/tmp/multipartBody948625012898426879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173593924,"filename":"image_03112025_17_45_47_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00e3b525197cfe9e7fb7bfaaa1740e25.jpg","text":"TemporaryFile(/tmp/multipartBody8019056623559142295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173593924,"filename":"image_03112025_17_45_42_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1281ca24ff75a9af32ac7c4c48f8e8d4.jpg","text":"TemporaryFile(/tmp/multipartBody8079403333287023034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173593924,"filename":"image_03112025_17_45_45_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866752","file1":"1401866751","file0":"1401866727","file4":"1401866760","file5":"1401866763","file3":"1401866754"},"map_files_photo_id_array":[{"photo_id":"1401866763","filename":"file5"},{"photo_id":"1401866752","filename":"file2"},{"photo_id":"1401866760","filename":"file4"},{"photo_id":"1401866751","filename":"file1"},{"photo_id":"1401866727","filename":"file0"},{"photo_id":"1401866754","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866760":["hashtag1","hashtag2"]},{"1401866763":["hashtag1","hashtag2"]},{"1401866751":["hashtag1","hashtag2"]},{"1401866754":["hashtag1","hashtag2"]},{"1401866727":["hashtag1","hashtag2"]},{"1401866752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866760, 1401866763, 1401866751, 1401866754, 1401866727, 1401866752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.640817403793335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:33:02.966232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_36_9647.jpg', '/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_47_10727.jpg', '/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_56_9779.jpg', '/home/pi/Desktop/images/31122025/08/41/image_31122025_08_42_06_9832.jpg', '/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_17_10578.jpg', '/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_26_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_36_9647.jpg
/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_47_10727.jpg
/home/pi/Desktop/images/31122025/08/41/image_31122025_08_41_56_9779.jpg
/home/pi/Desktop/images/31122025/08/41/image_31122025_08_42_06_9832.jpg
/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_17_10578.jpg
/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_26_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866769","1401866771","1401866768","1401866770","1401866773","1401866767"],"photo_ids_order":["1401866767","1401866768","1401866769","1401866770","1401866771","1401866773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c0ad1f030128eb856f7197087d212ef.jpg","text":"TemporaryFile(/tmp/multipartBody5911909478565614067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173643649,"filename":"image_31122025_08_41_56_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18727184ad169499a043998bb4cc25b9.jpg","text":"TemporaryFile(/tmp/multipartBody2040817461143336089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173643649,"filename":"image_31122025_08_42_17_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd446cb7d2a2f21cda51029bfb01d538.jpg","text":"TemporaryFile(/tmp/multipartBody636736265747913518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173643649,"filename":"image_31122025_08_41_47_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f23ebc7680494c625726d7290bf233c.jpg","text":"TemporaryFile(/tmp/multipartBody644402596935696088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173643649,"filename":"image_31122025_08_42_06_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8982ef7f1e40779b969278093f6e349.jpg","text":"TemporaryFile(/tmp/multipartBody6937355552095396684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173643649,"filename":"image_31122025_08_42_26_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d860c2d753425baf6611aae6c0a14c40.jpg","text":"TemporaryFile(/tmp/multipartBody9088065107058201213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173643649,"filename":"image_31122025_08_41_36_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866769","file1":"1401866768","file0":"1401866767","file4":"1401866771","file5":"1401866773","file3":"1401866770"},"map_files_photo_id_array":[{"photo_id":"1401866773","filename":"file5"},{"photo_id":"1401866769","filename":"file2"},{"photo_id":"1401866771","filename":"file4"},{"photo_id":"1401866768","filename":"file1"},{"photo_id":"1401866767","filename":"file0"},{"photo_id":"1401866770","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866769":["hashtag1","hashtag2"]},{"1401866771":["hashtag1","hashtag2"]},{"1401866768":["hashtag1","hashtag2"]},{"1401866770":["hashtag1","hashtag2"]},{"1401866773":["hashtag1","hashtag2"]},{"1401866767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866769, 1401866771, 1401866768, 1401866770, 1401866773, 1401866767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.348329067230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:33:42.301644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_53_2753.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_55_2859.jpg', '/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_59_3707.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_02_2577.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_05_2764.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_08_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_53_2753.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_55_2859.jpg
/home/pi/Desktop/images/03112025/17/45/image_03112025_17_45_59_3707.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_02_2577.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_05_2764.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_08_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866781","1401866778","1401866780","1401866783","1401866782","1401866779"],"photo_ids_order":["1401866778","1401866779","1401866780","1401866781","1401866782","1401866783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a3d6fea6e59bddb1cb09ebb6dd63767.jpg","text":"TemporaryFile(/tmp/multipartBody5220772693799938493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173684214,"filename":"image_03112025_17_46_02_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51213343077b37bd814772291e569bb4.jpg","text":"TemporaryFile(/tmp/multipartBody7121463561544505198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173684214,"filename":"image_03112025_17_45_53_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a31c874e468ca8537a3a0b982c5497d.jpg","text":"TemporaryFile(/tmp/multipartBody1153732598343268350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173684214,"filename":"image_03112025_17_45_59_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e6272f3901ee11ffec62f61944f4575.jpg","text":"TemporaryFile(/tmp/multipartBody8508710108975489292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173684214,"filename":"image_03112025_17_46_08_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93fa6ddcc58f4a5b8138c9d940e393c8.jpg","text":"TemporaryFile(/tmp/multipartBody41607729943914377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173684214,"filename":"image_03112025_17_46_05_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab9fd58ad656a179963f841af1234bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5987679330576629508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173684214,"filename":"image_03112025_17_45_55_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866780","file1":"1401866779","file0":"1401866778","file4":"1401866782","file5":"1401866783","file3":"1401866781"},"map_files_photo_id_array":[{"photo_id":"1401866783","filename":"file5"},{"photo_id":"1401866780","filename":"file2"},{"photo_id":"1401866782","filename":"file4"},{"photo_id":"1401866779","filename":"file1"},{"photo_id":"1401866778","filename":"file0"},{"photo_id":"1401866781","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866781":["hashtag1","hashtag2"]},{"1401866778":["hashtag1","hashtag2"]},{"1401866780":["hashtag1","hashtag2"]},{"1401866783":["hashtag1","hashtag2"]},{"1401866782":["hashtag1","hashtag2"]},{"1401866779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866781, 1401866778, 1401866780, 1401866783, 1401866782, 1401866779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18807601928711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:34:22.607811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_36_9703.jpg', '/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_47_10606.jpg', '/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_57_9755.jpg', '/home/pi/Desktop/images/31122025/08/42/image_31122025_08_43_06_9630.jpg', '/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_17_10668.jpg', '/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_26_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_36_9703.jpg
/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_47_10606.jpg
/home/pi/Desktop/images/31122025/08/42/image_31122025_08_42_57_9755.jpg
/home/pi/Desktop/images/31122025/08/42/image_31122025_08_43_06_9630.jpg
/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_17_10668.jpg
/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_26_9534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866793","1401866787","1401866796","1401866789","1401866791","1401866794"],"photo_ids_order":["1401866787","1401866789","1401866791","1401866793","1401866794","1401866796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a914e5cc501e7bdb6247231165179d0.jpg","text":"TemporaryFile(/tmp/multipartBody4354594446104346323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173723192,"filename":"image_31122025_08_43_06_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92fab2022f5ec3c6407699e8eded3c61.jpg","text":"TemporaryFile(/tmp/multipartBody6415126498235159034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173723192,"filename":"image_31122025_08_42_36_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ad6f70fe75963340ad80909d35ce812.jpg","text":"TemporaryFile(/tmp/multipartBody4565865914862104323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173723192,"filename":"image_31122025_08_43_26_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e584b033936d817a87f664b044c0b42f.jpg","text":"TemporaryFile(/tmp/multipartBody5392768101299818131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173723192,"filename":"image_31122025_08_42_47_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b20e61b97009852c8a184a88e6d3c6b2.jpg","text":"TemporaryFile(/tmp/multipartBody4135223916231382209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173723192,"filename":"image_31122025_08_42_57_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f1c4177f2f2ddc3908a4881a010e0d4.jpg","text":"TemporaryFile(/tmp/multipartBody8377067707943446061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173723192,"filename":"image_31122025_08_43_17_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866791","file1":"1401866789","file0":"1401866787","file4":"1401866794","file5":"1401866796","file3":"1401866793"},"map_files_photo_id_array":[{"photo_id":"1401866796","filename":"file5"},{"photo_id":"1401866791","filename":"file2"},{"photo_id":"1401866794","filename":"file4"},{"photo_id":"1401866789","filename":"file1"},{"photo_id":"1401866787","filename":"file0"},{"photo_id":"1401866793","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866793":["hashtag1","hashtag2"]},{"1401866787":["hashtag1","hashtag2"]},{"1401866796":["hashtag1","hashtag2"]},{"1401866789":["hashtag1","hashtag2"]},{"1401866791":["hashtag1","hashtag2"]},{"1401866794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866793, 1401866787, 1401866796, 1401866789, 1401866791, 1401866794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.945868492126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:35:03.351653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_36_9651.jpg', '/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_47_10889.jpg', '/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_57_9829.jpg', '/home/pi/Desktop/images/31122025/08/43/image_31122025_08_44_06_9735.jpg', '/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_16_9832.jpg', '/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_26_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_36_9651.jpg
/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_47_10889.jpg
/home/pi/Desktop/images/31122025/08/43/image_31122025_08_43_57_9829.jpg
/home/pi/Desktop/images/31122025/08/43/image_31122025_08_44_06_9735.jpg
/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_16_9832.jpg
/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_26_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866841","1401866844","1401866832","1401866798","1401866846","1401866813"],"photo_ids_order":["1401866798","1401866813","1401866832","1401866841","1401866844","1401866846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52df1b0b39629bebf13eeb22416e5315.jpg","text":"TemporaryFile(/tmp/multipartBody1177962298240337336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173764035,"filename":"image_31122025_08_44_06_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c577cb0008d639799b06c6a597e1b42d.jpg","text":"TemporaryFile(/tmp/multipartBody1923260807504973321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173764035,"filename":"image_31122025_08_44_16_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b19b8411f7a060d6e6e6718d8ab8d5f.jpg","text":"TemporaryFile(/tmp/multipartBody1185690593442673350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173764035,"filename":"image_31122025_08_43_57_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9dc428e4cbb97bbec0126c972bf8911a.jpg","text":"TemporaryFile(/tmp/multipartBody2229337704176492940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173764035,"filename":"image_31122025_08_43_36_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3221d1246f168f752ffe2021228fccf.jpg","text":"TemporaryFile(/tmp/multipartBody1132139621766625425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173764035,"filename":"image_31122025_08_44_26_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e3beb5fd27a47c0ee6a9a5c507fb3a1.jpg","text":"TemporaryFile(/tmp/multipartBody7198809153455192891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173764035,"filename":"image_31122025_08_43_47_10889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866832","file1":"1401866813","file0":"1401866798","file4":"1401866844","file5":"1401866846","file3":"1401866841"},"map_files_photo_id_array":[{"photo_id":"1401866846","filename":"file5"},{"photo_id":"1401866832","filename":"file2"},{"photo_id":"1401866844","filename":"file4"},{"photo_id":"1401866813","filename":"file1"},{"photo_id":"1401866798","filename":"file0"},{"photo_id":"1401866841","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401866841":["hashtag1","hashtag2"]},{"1401866844":["hashtag1","hashtag2"]},{"1401866832":["hashtag1","hashtag2"]},{"1401866798":["hashtag1","hashtag2"]},{"1401866846":["hashtag1","hashtag2"]},{"1401866813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401866841, 1401866844, 1401866832, 1401866798, 1401866846, 1401866813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2675416469574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:35:42.717047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_11_2879.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_14_2631.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_17_3673.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_20_2678.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_27_6868.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_28_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_11_2879.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_14_2631.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_17_3673.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_20_2678.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_27_6868.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_28_1626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866898","1401866897","1401866901","1401866896","1401866900","1401866899"],"photo_ids_order":["1401866896","1401866897","1401866898","1401866899","1401866900","1401866901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d7da0e0f7b95d01655bcdfdfaec2663.jpg","text":"TemporaryFile(/tmp/multipartBody252345857389499607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173804635,"filename":"image_03112025_17_46_17_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53b791c3ae49e39ec3d50d2c4c89ff5b.jpg","text":"TemporaryFile(/tmp/multipartBody6579201898610203444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173804635,"filename":"image_03112025_17_46_14_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b7b18ecd1d85f132e65e90352be69d4.jpg","text":"TemporaryFile(/tmp/multipartBody3707829833997100887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173804635,"filename":"image_03112025_17_46_28_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9968f5da7621f0d5b7e4844b4ac289ed.jpg","text":"TemporaryFile(/tmp/multipartBody647862570628785388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173804635,"filename":"image_03112025_17_46_11_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a984edf9058253fdcca93d65bfdc494c.jpg","text":"TemporaryFile(/tmp/multipartBody4747246096641635133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173804635,"filename":"image_03112025_17_46_27_6868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23ac1282164731afce832eddef25f5db.jpg","text":"TemporaryFile(/tmp/multipartBody8242039935981933362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173804635,"filename":"image_03112025_17_46_20_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866898","file1":"1401866897","file0":"1401866896","file4":"1401866900","file5":"1401866901","file3":"1401866899"},"map_files_photo_id_array":[{"photo_id":"1401866901","filename":"file5"},{"photo_id":"1401866898","filename":"file2"},{"photo_id":"1401866900","filename":"file4"},{"photo_id":"1401866897","filename":"file1"},{"photo_id":"1401866896","filename":"file0"},{"photo_id":"1401866899","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866898":["hashtag1","hashtag2"]},{"1401866897":["hashtag1","hashtag2"]},{"1401866901":["hashtag1","hashtag2"]},{"1401866896":["hashtag1","hashtag2"]},{"1401866900":["hashtag1","hashtag2"]},{"1401866899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866898, 1401866897, 1401866901, 1401866896, 1401866900, 1401866899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41971564292908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:36:31.904119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_44_15731.jpg', '/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_46_1573.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_02_15885.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_03_1589.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_05_1521.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_07_1754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_44_15731.jpg
/home/pi/Desktop/images/03112025/17/46/image_03112025_17_46_46_1573.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_02_15885.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_03_1589.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_05_1521.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_07_1754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866914","1401866917","1401866905","1401866910","1401866913","1401866907"],"photo_ids_order":["1401866905","1401866907","1401866910","1401866913","1401866914","1401866917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0edeef735c03a56ca09b564bcb6a1a5.jpg","text":"TemporaryFile(/tmp/multipartBody3296757527302901001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173853889,"filename":"image_03112025_17_47_05_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b74cca0877b4750c4516331ef01861f.jpg","text":"TemporaryFile(/tmp/multipartBody3350181782847619308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173853889,"filename":"image_03112025_17_47_07_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6b852561a982aa9a162b8eaf748a970.jpg","text":"TemporaryFile(/tmp/multipartBody2354104592918324686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173853889,"filename":"image_03112025_17_46_44_15731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b306ac3befc7c462d9228f8ba433f3a.jpg","text":"TemporaryFile(/tmp/multipartBody4455956726870018503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173853889,"filename":"image_03112025_17_47_02_15885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aef9f11ee40e8e97ea917c5746f2c63.jpg","text":"TemporaryFile(/tmp/multipartBody1359189042338210958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173853889,"filename":"image_03112025_17_47_03_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a650d7966e65d502755eb1e0d836a95b.jpg","text":"TemporaryFile(/tmp/multipartBody4726062802036747193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173853889,"filename":"image_03112025_17_46_46_1573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866910","file1":"1401866907","file0":"1401866905","file4":"1401866914","file5":"1401866917","file3":"1401866913"},"map_files_photo_id_array":[{"photo_id":"1401866917","filename":"file5"},{"photo_id":"1401866910","filename":"file2"},{"photo_id":"1401866914","filename":"file4"},{"photo_id":"1401866907","filename":"file1"},{"photo_id":"1401866905","filename":"file0"},{"photo_id":"1401866913","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866914":["hashtag1","hashtag2"]},{"1401866917":["hashtag1","hashtag2"]},{"1401866905":["hashtag1","hashtag2"]},{"1401866910":["hashtag1","hashtag2"]},{"1401866913":["hashtag1","hashtag2"]},{"1401866907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866914, 1401866917, 1401866905, 1401866910, 1401866913, 1401866907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94118690490723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:37:12.034523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_08_1754.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_10_1585.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_12_1673.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_13_1611.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_15_1576.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_16_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_08_1754.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_10_1585.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_12_1673.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_13_1611.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_15_1576.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_16_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401866923","1401866940","1401866943","1401866937","1401866942","1401866936"],"photo_ids_order":["1401866923","1401866936","1401866937","1401866940","1401866942","1401866943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d76f12ca228bb22c7df92fbf62f2b571.jpg","text":"TemporaryFile(/tmp/multipartBody1625703147693438739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173893799,"filename":"image_03112025_17_47_08_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c875643428d0688f7d34127ae94aead.jpg","text":"TemporaryFile(/tmp/multipartBody23521445298626980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173893799,"filename":"image_03112025_17_47_13_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/266f7fd1fb00969e464d521f2f567be8.jpg","text":"TemporaryFile(/tmp/multipartBody8004052425845271218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173893799,"filename":"image_03112025_17_47_16_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/592d34eccc5b87e80f370372c163a547.jpg","text":"TemporaryFile(/tmp/multipartBody3146224578645804776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173893799,"filename":"image_03112025_17_47_12_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26c819bd2230978d8027964dd5491969.jpg","text":"TemporaryFile(/tmp/multipartBody1009506586956872548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173893799,"filename":"image_03112025_17_47_15_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/399193b5ffc3ebcb11b69112c70ef275.jpg","text":"TemporaryFile(/tmp/multipartBody3401021134802899970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173893799,"filename":"image_03112025_17_47_10_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401866937","file1":"1401866936","file0":"1401866923","file4":"1401866942","file5":"1401866943","file3":"1401866940"},"map_files_photo_id_array":[{"photo_id":"1401866943","filename":"file5"},{"photo_id":"1401866937","filename":"file2"},{"photo_id":"1401866942","filename":"file4"},{"photo_id":"1401866936","filename":"file1"},{"photo_id":"1401866923","filename":"file0"},{"photo_id":"1401866940","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401866923":["hashtag1","hashtag2"]},{"1401866940":["hashtag1","hashtag2"]},{"1401866943":["hashtag1","hashtag2"]},{"1401866937":["hashtag1","hashtag2"]},{"1401866942":["hashtag1","hashtag2"]},{"1401866936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401866923, 1401866940, 1401866943, 1401866937, 1401866942, 1401866936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10332894325256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:38:02.692246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_37_10627.jpg', '/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_46_9617.jpg', '/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_57_10638.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_07_9720.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_16_9657.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_26_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_37_10627.jpg
/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_46_9617.jpg
/home/pi/Desktop/images/31122025/08/44/image_31122025_08_44_57_10638.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_07_9720.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_16_9657.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_26_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867010","1401867004","1401867006","1401867009","1401867008","1401867007"],"photo_ids_order":["1401867004","1401867006","1401867007","1401867008","1401867009","1401867010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da15587e87ce022e5c22c729c954db89.jpg","text":"TemporaryFile(/tmp/multipartBody6302704922694484592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173943298,"filename":"image_31122025_08_45_26_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b83ba540e32834bb67a840e9c5a0c574.jpg","text":"TemporaryFile(/tmp/multipartBody9147642179411528933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173943298,"filename":"image_31122025_08_44_37_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af8c15cfffb590000826c01bad231bc1.jpg","text":"TemporaryFile(/tmp/multipartBody279864320851920912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173943298,"filename":"image_31122025_08_44_46_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a91228e216bcf2eae0ab92c2401cd42.jpg","text":"TemporaryFile(/tmp/multipartBody6464131108276266337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173943298,"filename":"image_31122025_08_45_16_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c88dab81d4855901c08b066768e4e8bb.jpg","text":"TemporaryFile(/tmp/multipartBody1647829319992593417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173943298,"filename":"image_31122025_08_45_07_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d3b28c2577115bffee773b712787115.jpg","text":"TemporaryFile(/tmp/multipartBody3194033479075386384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173943298,"filename":"image_31122025_08_44_57_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867007","file1":"1401867006","file0":"1401867004","file4":"1401867009","file5":"1401867010","file3":"1401867008"},"map_files_photo_id_array":[{"photo_id":"1401867010","filename":"file5"},{"photo_id":"1401867007","filename":"file2"},{"photo_id":"1401867009","filename":"file4"},{"photo_id":"1401867006","filename":"file1"},{"photo_id":"1401867004","filename":"file0"},{"photo_id":"1401867008","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401867010":["hashtag1","hashtag2"]},{"1401867004":["hashtag1","hashtag2"]},{"1401867006":["hashtag1","hashtag2"]},{"1401867009":["hashtag1","hashtag2"]},{"1401867008":["hashtag1","hashtag2"]},{"1401867007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401867010, 1401867004, 1401867006, 1401867009, 1401867008, 1401867007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.783567905426025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:38:42.223049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_18_1697.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_20_1805.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_23_2710.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_24_1565.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_26_1616.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_28_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_18_1697.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_20_1805.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_23_2710.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_24_1565.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_26_1616.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_28_1693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867021","1401867027","1401867029","1401867023","1401867017","1401867025"],"photo_ids_order":["1401867017","1401867021","1401867023","1401867025","1401867027","1401867029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7992799813a77c7515cca71731e9379e.jpg","text":"TemporaryFile(/tmp/multipartBody3268589220404986912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173984168,"filename":"image_03112025_17_47_20_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2815ddcbe1bd527ca30e28f5b9d4dcc2.jpg","text":"TemporaryFile(/tmp/multipartBody4647224133639639210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173984168,"filename":"image_03112025_17_47_26_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edbbf2c7545d32d21d64e011417c3f0f.jpg","text":"TemporaryFile(/tmp/multipartBody272066692369409571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173984168,"filename":"image_03112025_17_47_28_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/269bfee8df69c97d8bcd26a80fa44569.jpg","text":"TemporaryFile(/tmp/multipartBody1948989785105620272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173984168,"filename":"image_03112025_17_47_23_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2288e6e5c706438bc7ac7c1e9e5db21.jpg","text":"TemporaryFile(/tmp/multipartBody9184528763939927964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173984168,"filename":"image_03112025_17_47_18_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a06fa6e91c7497d47ca81a93542c5513.jpg","text":"TemporaryFile(/tmp/multipartBody6704756690560334543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767173984168,"filename":"image_03112025_17_47_24_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867023","file1":"1401867021","file0":"1401867017","file4":"1401867027","file5":"1401867029","file3":"1401867025"},"map_files_photo_id_array":[{"photo_id":"1401867029","filename":"file5"},{"photo_id":"1401867023","filename":"file2"},{"photo_id":"1401867027","filename":"file4"},{"photo_id":"1401867021","filename":"file1"},{"photo_id":"1401867017","filename":"file0"},{"photo_id":"1401867025","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401867021":["hashtag1","hashtag2"]},{"1401867027":["hashtag1","hashtag2"]},{"1401867029":["hashtag1","hashtag2"]},{"1401867023":["hashtag1","hashtag2"]},{"1401867017":["hashtag1","hashtag2"]},{"1401867025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401867021, 1401867027, 1401867029, 1401867023, 1401867017, 1401867025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16558885574341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:39:22.498390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_37_10642.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_46_9668.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_56_9738.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_46_07_10576.jpg', '/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_16_9584.jpg', '/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_26_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_37_10642.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_46_9668.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_56_9738.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_46_07_10576.jpg
/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_16_9584.jpg
/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_26_9781.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4676816463470459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:39:32.338383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_29_1846.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_31_1742.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_33_1542.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_34_1641.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_36_1614.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_37_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_29_1846.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_31_1742.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_33_1542.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_34_1641.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_36_1614.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_37_1543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867066","1401867060","1401867057","1401867068","1401867064","1401867067"],"photo_ids_order":["1401867057","1401867060","1401867064","1401867066","1401867067","1401867068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b884905a3d9426ce9c3e8589f1d839f8.jpg","text":"TemporaryFile(/tmp/multipartBody2754045148084110966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174034249,"filename":"image_03112025_17_47_34_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e3a9486e5354a0ef234340792a02cdc.jpg","text":"TemporaryFile(/tmp/multipartBody4670661612074901419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174034249,"filename":"image_03112025_17_47_31_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ff0cbe67c0060b480d6d09082e120d4.jpg","text":"TemporaryFile(/tmp/multipartBody7102687877921718240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174034249,"filename":"image_03112025_17_47_29_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63d10a90343b4ae75200a4cf23cc5bb3.jpg","text":"TemporaryFile(/tmp/multipartBody3500895034153272368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174034249,"filename":"image_03112025_17_47_37_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba3b9e5f17d9f95fad800869891382e6.jpg","text":"TemporaryFile(/tmp/multipartBody159485690210190045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174034249,"filename":"image_03112025_17_47_33_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03c578ad2c7e0cf39f3859bc00dc542d.jpg","text":"TemporaryFile(/tmp/multipartBody4889784535246101980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174034249,"filename":"image_03112025_17_47_36_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867064","file1":"1401867060","file0":"1401867057","file4":"1401867067","file5":"1401867068","file3":"1401867066"},"map_files_photo_id_array":[{"photo_id":"1401867068","filename":"file5"},{"photo_id":"1401867064","filename":"file2"},{"photo_id":"1401867067","filename":"file4"},{"photo_id":"1401867060","filename":"file1"},{"photo_id":"1401867057","filename":"file0"},{"photo_id":"1401867066","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401867066":["hashtag1","hashtag2"]},{"1401867060":["hashtag1","hashtag2"]},{"1401867057":["hashtag1","hashtag2"]},{"1401867068":["hashtag1","hashtag2"]},{"1401867064":["hashtag1","hashtag2"]},{"1401867067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401867066, 1401867060, 1401867057, 1401867068, 1401867064, 1401867067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34001922607422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:40:12.689722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_40_2782.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_44_3662.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_46_2566.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_49_2740.jpg', '/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_53_3573.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_09_16423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_40_2782.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_44_3662.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_46_2566.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_49_2740.jpg
/home/pi/Desktop/images/03112025/17/47/image_03112025_17_47_53_3573.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_09_16423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867201","1401867225","1401867163","1401867223","1401867217","1401867121"],"photo_ids_order":["1401867121","1401867163","1401867201","1401867217","1401867223","1401867225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/692b66074ef41950f11f7a54a9bacc6e.jpg","text":"TemporaryFile(/tmp/multipartBody7291873411430625121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174074481,"filename":"image_03112025_17_47_46_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f5345e3aaf04161a4e06cf2ab17f657.jpg","text":"TemporaryFile(/tmp/multipartBody4281429837471156859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174074481,"filename":"image_03112025_17_48_09_16423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/629f4fe304e393cbec2a5974f2a5844a.jpg","text":"TemporaryFile(/tmp/multipartBody5590380783707899782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174074481,"filename":"image_03112025_17_47_44_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93b6a0019ba3935b72aa40357c4f911f.jpg","text":"TemporaryFile(/tmp/multipartBody3991995001785371439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174074481,"filename":"image_03112025_17_47_53_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70bfdbf50bfcfac3338ec85dbb683ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7981652970203743001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174074481,"filename":"image_03112025_17_47_49_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a2bc50e631338004a70e426bd86ae95.jpg","text":"TemporaryFile(/tmp/multipartBody7426061329996647738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174074481,"filename":"image_03112025_17_47_40_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867201","file1":"1401867163","file0":"1401867121","file4":"1401867223","file5":"1401867225","file3":"1401867217"},"map_files_photo_id_array":[{"photo_id":"1401867225","filename":"file5"},{"photo_id":"1401867201","filename":"file2"},{"photo_id":"1401867223","filename":"file4"},{"photo_id":"1401867163","filename":"file1"},{"photo_id":"1401867121","filename":"file0"},{"photo_id":"1401867217","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401867201":["hashtag1","hashtag2"]},{"1401867225":["hashtag1","hashtag2"]},{"1401867163":["hashtag1","hashtag2"]},{"1401867223":["hashtag1","hashtag2"]},{"1401867217":["hashtag1","hashtag2"]},{"1401867121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401867201, 1401867225, 1401867163, 1401867223, 1401867217, 1401867121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48874115943909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:41:02.526057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_37_10642.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_46_9668.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_56_9738.jpg', '/home/pi/Desktop/images/31122025/08/45/image_31122025_08_46_07_10576.jpg', '/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_16_9584.jpg', '/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_26_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_37_10642.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_46_9668.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_45_56_9738.jpg
/home/pi/Desktop/images/31122025/08/45/image_31122025_08_46_07_10576.jpg
/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_16_9584.jpg
/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_26_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867306","1401867284","1401867323","1401867311","1401867320","1401867297"],"photo_ids_order":["1401867284","1401867297","1401867306","1401867311","1401867320","1401867323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a67a801a8e76911e6f46efffeb61e153.jpg","text":"TemporaryFile(/tmp/multipartBody4181384807093366205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174123182,"filename":"image_31122025_08_45_56_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d5632656ec427b68fb8d3643a5830c5.jpg","text":"TemporaryFile(/tmp/multipartBody3053696430241979356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174123182,"filename":"image_31122025_08_45_37_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/191b3dc603c5dfc0a1efea7174918cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4429154578502094954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174123182,"filename":"image_31122025_08_46_26_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9728a6a2124d9907e988376154619376.jpg","text":"TemporaryFile(/tmp/multipartBody7783777950384463155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174123182,"filename":"image_31122025_08_46_07_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4faab7cea84d973a5dff93b43a61896b.jpg","text":"TemporaryFile(/tmp/multipartBody836283655323498514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174123182,"filename":"image_31122025_08_46_16_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e4caf738ea91db736841ea121f64675.jpg","text":"TemporaryFile(/tmp/multipartBody4489354912197127503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174123182,"filename":"image_31122025_08_45_46_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867306","file1":"1401867297","file0":"1401867284","file4":"1401867320","file5":"1401867323","file3":"1401867311"},"map_files_photo_id_array":[{"photo_id":"1401867323","filename":"file5"},{"photo_id":"1401867306","filename":"file2"},{"photo_id":"1401867320","filename":"file4"},{"photo_id":"1401867297","filename":"file1"},{"photo_id":"1401867284","filename":"file0"},{"photo_id":"1401867311","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401867306":["hashtag1","hashtag2"]},{"1401867284":["hashtag1","hashtag2"]},{"1401867323":["hashtag1","hashtag2"]},{"1401867311":["hashtag1","hashtag2"]},{"1401867320":["hashtag1","hashtag2"]},{"1401867297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401867306, 1401867284, 1401867323, 1401867311, 1401867320, 1401867297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7391357421875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:41:41.885667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_11_1862.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_27_15650.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_28_1668.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_30_1491.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_32_1677.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_33_1793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_11_1862.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_27_15650.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_28_1668.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_30_1491.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_32_1677.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_33_1793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867363","1401867366","1401867351","1401867368","1401867365","1401867364"],"photo_ids_order":["1401867351","1401867363","1401867364","1401867365","1401867366","1401867368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10e1925d8af4e445b0a8c8cf92f3a523.jpg","text":"TemporaryFile(/tmp/multipartBody3417505413753260810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174163784,"filename":"image_03112025_17_48_27_15650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f81e986c8ba1ed4ee939a10b415614b.jpg","text":"TemporaryFile(/tmp/multipartBody7060455696952127016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174163784,"filename":"image_03112025_17_48_32_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cdf29a58b7c5a0ad082aab43e316744.jpg","text":"TemporaryFile(/tmp/multipartBody6988121675338732697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174163784,"filename":"image_03112025_17_48_11_1862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76fada95ee3cbb95b3c725ec95f19fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6864518802770850142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174163784,"filename":"image_03112025_17_48_33_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a42ac78f19b1590dd4cdf76f678f1804.jpg","text":"TemporaryFile(/tmp/multipartBody8618259884571546182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174163784,"filename":"image_03112025_17_48_30_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dc34e42c598cdbe55619393648f040e.jpg","text":"TemporaryFile(/tmp/multipartBody8955850341695372005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174163784,"filename":"image_03112025_17_48_28_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867364","file1":"1401867363","file0":"1401867351","file4":"1401867366","file5":"1401867368","file3":"1401867365"},"map_files_photo_id_array":[{"photo_id":"1401867368","filename":"file5"},{"photo_id":"1401867364","filename":"file2"},{"photo_id":"1401867366","filename":"file4"},{"photo_id":"1401867363","filename":"file1"},{"photo_id":"1401867351","filename":"file0"},{"photo_id":"1401867365","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401867363":["hashtag1","hashtag2"]},{"1401867366":["hashtag1","hashtag2"]},{"1401867351":["hashtag1","hashtag2"]},{"1401867368":["hashtag1","hashtag2"]},{"1401867365":["hashtag1","hashtag2"]},{"1401867364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401867363, 1401867366, 1401867351, 1401867368, 1401867365, 1401867364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.835360527038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:42:22.061701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_37_10690.jpg', '/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_47_9826.jpg', '/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_56_9649.jpg', '/home/pi/Desktop/images/31122025/08/46/image_31122025_08_47_06_10017.jpg', '/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_17_10699.jpg', '/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_27_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_37_10690.jpg
/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_47_9826.jpg
/home/pi/Desktop/images/31122025/08/46/image_31122025_08_46_56_9649.jpg
/home/pi/Desktop/images/31122025/08/46/image_31122025_08_47_06_10017.jpg
/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_17_10699.jpg
/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_27_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867387","1401867380","1401867377","1401867391","1401867385","1401867388"],"photo_ids_order":["1401867377","1401867380","1401867385","1401867387","1401867388","1401867391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4024aa538937972ec06fa2ecb6576f82.jpg","text":"TemporaryFile(/tmp/multipartBody6843854043329053407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174202634,"filename":"image_31122025_08_47_06_10017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fd1b9f1733ef0a522f0b53b570bb370.jpg","text":"TemporaryFile(/tmp/multipartBody2653422552063878538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174202634,"filename":"image_31122025_08_46_47_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0a9a465503b1b831462c8da7980ea36.jpg","text":"TemporaryFile(/tmp/multipartBody5639200925120531977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174202634,"filename":"image_31122025_08_46_37_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f9cc307fadf0c4beb121c8cb413a149.jpg","text":"TemporaryFile(/tmp/multipartBody8570172926856446960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174202634,"filename":"image_31122025_08_47_27_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80b2cf89666758f351b25cf929db8e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1389654261494456231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174202634,"filename":"image_31122025_08_46_56_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b0d1e2dfe64fc25b7d21356724a3667.jpg","text":"TemporaryFile(/tmp/multipartBody7998875287719904610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174202634,"filename":"image_31122025_08_47_17_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867385","file1":"1401867380","file0":"1401867377","file4":"1401867388","file5":"1401867391","file3":"1401867387"},"map_files_photo_id_array":[{"photo_id":"1401867391","filename":"file5"},{"photo_id":"1401867385","filename":"file2"},{"photo_id":"1401867388","filename":"file4"},{"photo_id":"1401867380","filename":"file1"},{"photo_id":"1401867377","filename":"file0"},{"photo_id":"1401867387","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401867387":["hashtag1","hashtag2"]},{"1401867380":["hashtag1","hashtag2"]},{"1401867377":["hashtag1","hashtag2"]},{"1401867391":["hashtag1","hashtag2"]},{"1401867385":["hashtag1","hashtag2"]},{"1401867388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401867387, 1401867380, 1401867377, 1401867391, 1401867385, 1401867388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.385905504226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:43:02.813603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_36_9756.jpg', '/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_46_9760.jpg', '/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_57_10660.jpg', '/home/pi/Desktop/images/31122025/08/47/image_31122025_08_48_07_9819.jpg', '/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_17_9810.jpg', '/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_26_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_36_9756.jpg
/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_46_9760.jpg
/home/pi/Desktop/images/31122025/08/47/image_31122025_08_47_57_10660.jpg
/home/pi/Desktop/images/31122025/08/47/image_31122025_08_48_07_9819.jpg
/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_17_9810.jpg
/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_26_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867429","1401867599","1401867473","1401867674","1401867532","1401867634"],"photo_ids_order":["1401867429","1401867473","1401867532","1401867599","1401867634","1401867674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/008d08b899a6579049cfe3391532ceac.jpg","text":"TemporaryFile(/tmp/multipartBody7112070793057940904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174243452,"filename":"image_31122025_08_47_36_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d582a77cf7702c0835a1100d6b769cec.jpg","text":"TemporaryFile(/tmp/multipartBody2016049990151584392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174243452,"filename":"image_31122025_08_48_07_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87a190b24854664b9320de6f5a51fe57.jpg","text":"TemporaryFile(/tmp/multipartBody5325163168213705242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174243452,"filename":"image_31122025_08_47_46_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82fc10bc1037b007542055aeb07c14d6.jpg","text":"TemporaryFile(/tmp/multipartBody8339465694325186322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174243452,"filename":"image_31122025_08_48_26_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f9772656b89aa9501d02b414ebd6043.jpg","text":"TemporaryFile(/tmp/multipartBody6113250440036825032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174243452,"filename":"image_31122025_08_47_57_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67e488e03a0fa758cd96d82a64a38dec.jpg","text":"TemporaryFile(/tmp/multipartBody2247296970254374720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174243452,"filename":"image_31122025_08_48_17_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867532","file1":"1401867473","file0":"1401867429","file4":"1401867634","file5":"1401867674","file3":"1401867599"},"map_files_photo_id_array":[{"photo_id":"1401867674","filename":"file5"},{"photo_id":"1401867532","filename":"file2"},{"photo_id":"1401867634","filename":"file4"},{"photo_id":"1401867473","filename":"file1"},{"photo_id":"1401867429","filename":"file0"},{"photo_id":"1401867599","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401867429":["hashtag1","hashtag2"]},{"1401867599":["hashtag1","hashtag2"]},{"1401867473":["hashtag1","hashtag2"]},{"1401867674":["hashtag1","hashtag2"]},{"1401867532":["hashtag1","hashtag2"]},{"1401867634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401867429, 1401867599, 1401867473, 1401867674, 1401867532, 1401867634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.000653982162476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:43:42.308033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_35_1630.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_37_1634.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_38_1835.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_40_1591.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_42_1512.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_43_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_35_1630.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_37_1634.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_38_1835.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_40_1591.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_42_1512.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_43_1736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867782","1401867848","1401867781","1401867877","1401867778","1401867808"],"photo_ids_order":["1401867778","1401867781","1401867782","1401867808","1401867848","1401867877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8d2b4c816a15e9fb90592a9c1fd33de.jpg","text":"TemporaryFile(/tmp/multipartBody9042751632706136635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174284200,"filename":"image_03112025_17_48_38_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f275fe3cbc8e45c5801def7a044c7d0.jpg","text":"TemporaryFile(/tmp/multipartBody7719716461417638597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174284200,"filename":"image_03112025_17_48_42_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7eff0a6f465d7582cda249d1e9164c73.jpg","text":"TemporaryFile(/tmp/multipartBody865203206404739750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174284200,"filename":"image_03112025_17_48_37_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c19d8b56e5f9afdb739a33e48b7eb18.jpg","text":"TemporaryFile(/tmp/multipartBody133461886535317239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174284200,"filename":"image_03112025_17_48_43_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/627cfe6f3c0de7d5e5a9367f4f633b03.jpg","text":"TemporaryFile(/tmp/multipartBody8148528711481266349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174284200,"filename":"image_03112025_17_48_35_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dc02fe8b2a5fb54c07da32292f29fa9.jpg","text":"TemporaryFile(/tmp/multipartBody4547318566961045317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174284200,"filename":"image_03112025_17_48_40_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867782","file1":"1401867781","file0":"1401867778","file4":"1401867848","file5":"1401867877","file3":"1401867808"},"map_files_photo_id_array":[{"photo_id":"1401867877","filename":"file5"},{"photo_id":"1401867782","filename":"file2"},{"photo_id":"1401867848","filename":"file4"},{"photo_id":"1401867781","filename":"file1"},{"photo_id":"1401867778","filename":"file0"},{"photo_id":"1401867808","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401867782":["hashtag1","hashtag2"]},{"1401867848":["hashtag1","hashtag2"]},{"1401867781":["hashtag1","hashtag2"]},{"1401867877":["hashtag1","hashtag2"]},{"1401867778":["hashtag1","hashtag2"]},{"1401867808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401867782, 1401867848, 1401867781, 1401867877, 1401867778, 1401867808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31422543525696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:44:22.473900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_37_10623.jpg', '/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_46_9707.jpg', '/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_56_9777.jpg', '/home/pi/Desktop/images/31122025/08/48/image_31122025_08_49_07_10713.jpg', '/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_17_9699.jpg', '/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_26_9554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_37_10623.jpg
/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_46_9707.jpg
/home/pi/Desktop/images/31122025/08/48/image_31122025_08_48_56_9777.jpg
/home/pi/Desktop/images/31122025/08/48/image_31122025_08_49_07_10713.jpg
/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_17_9699.jpg
/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_26_9554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867942","1401867936","1401867915","1401867890","1401867938","1401867891"],"photo_ids_order":["1401867890","1401867891","1401867915","1401867936","1401867938","1401867942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/917fd66691c2d95c411ff55604ba4593.jpg","text":"TemporaryFile(/tmp/multipartBody3982185706480974030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174323042,"filename":"image_31122025_08_49_26_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f669b924264923f1587df9bbb1afc8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5597348782022010385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174323042,"filename":"image_31122025_08_49_07_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d2403dcc76564861f3dfd6c16353811.jpg","text":"TemporaryFile(/tmp/multipartBody8411776579403788274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174323042,"filename":"image_31122025_08_48_56_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/654dfbbd1f82be25e3f1e675942f37ff.jpg","text":"TemporaryFile(/tmp/multipartBody4861562035914566071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174323042,"filename":"image_31122025_08_48_37_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79b1cb3de0b481e9768204d09ac931a0.jpg","text":"TemporaryFile(/tmp/multipartBody3339303521888838867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174323042,"filename":"image_31122025_08_49_17_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/463156edf9dd9409848f558492efbb87.jpg","text":"TemporaryFile(/tmp/multipartBody5354628462393283033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174323042,"filename":"image_31122025_08_48_46_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867915","file1":"1401867891","file0":"1401867890","file4":"1401867938","file5":"1401867942","file3":"1401867936"},"map_files_photo_id_array":[{"photo_id":"1401867942","filename":"file5"},{"photo_id":"1401867915","filename":"file2"},{"photo_id":"1401867938","filename":"file4"},{"photo_id":"1401867891","filename":"file1"},{"photo_id":"1401867890","filename":"file0"},{"photo_id":"1401867936","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401867942":["hashtag1","hashtag2"]},{"1401867936":["hashtag1","hashtag2"]},{"1401867915":["hashtag1","hashtag2"]},{"1401867890":["hashtag1","hashtag2"]},{"1401867938":["hashtag1","hashtag2"]},{"1401867891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401867942, 1401867936, 1401867915, 1401867890, 1401867938, 1401867891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.101813554763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:45:03.312470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_37_10523.jpg', '/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_46_9719.jpg', '/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_56_9735.jpg', '/home/pi/Desktop/images/31122025/08/49/image_31122025_08_50_07_10662.jpg', '/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_17_9753.jpg', '/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_26_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_37_10523.jpg
/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_46_9719.jpg
/home/pi/Desktop/images/31122025/08/49/image_31122025_08_49_56_9735.jpg
/home/pi/Desktop/images/31122025/08/49/image_31122025_08_50_07_10662.jpg
/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_17_9753.jpg
/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_26_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867960","1401867962","1401867959","1401867961","1401867964","1401867958"],"photo_ids_order":["1401867958","1401867959","1401867960","1401867961","1401867962","1401867964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/845d3fe1f15ecb1d11800d8f6c2dfcd7.jpg","text":"TemporaryFile(/tmp/multipartBody1437508585302975736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174363936,"filename":"image_31122025_08_49_56_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cbf63d9b5671dfb5051c141608d92be.jpg","text":"TemporaryFile(/tmp/multipartBody6864059109369962272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174363936,"filename":"image_31122025_08_50_17_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66c9f6004f0d65acd9db084e91b472c7.jpg","text":"TemporaryFile(/tmp/multipartBody8055043248637498582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174363936,"filename":"image_31122025_08_49_46_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d7cf465c65f89a546643ce57f6a36c1.jpg","text":"TemporaryFile(/tmp/multipartBody3031277896808702542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174363936,"filename":"image_31122025_08_50_07_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb32cc6e234a90334e3ddaef3d1c6137.jpg","text":"TemporaryFile(/tmp/multipartBody7462433542272677730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174363936,"filename":"image_31122025_08_50_26_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7319142720c281d872e74dbaf70bdae.jpg","text":"TemporaryFile(/tmp/multipartBody8208181116519722564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174363936,"filename":"image_31122025_08_49_37_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867960","file1":"1401867959","file0":"1401867958","file4":"1401867962","file5":"1401867964","file3":"1401867961"},"map_files_photo_id_array":[{"photo_id":"1401867964","filename":"file5"},{"photo_id":"1401867960","filename":"file2"},{"photo_id":"1401867962","filename":"file4"},{"photo_id":"1401867959","filename":"file1"},{"photo_id":"1401867958","filename":"file0"},{"photo_id":"1401867961","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401867960":["hashtag1","hashtag2"]},{"1401867962":["hashtag1","hashtag2"]},{"1401867959":["hashtag1","hashtag2"]},{"1401867961":["hashtag1","hashtag2"]},{"1401867964":["hashtag1","hashtag2"]},{"1401867958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401867960, 1401867962, 1401867959, 1401867961, 1401867964, 1401867958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24589967727661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:45:42.581786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_45_1573.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_47_1950.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_49_1736.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_50_1511.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_52_1610.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_53_1585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_45_1573.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_47_1950.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_49_1736.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_50_1511.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_52_1610.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_53_1585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867972","1401867969","1401867974","1401867971","1401867973","1401867970"],"photo_ids_order":["1401867969","1401867970","1401867971","1401867972","1401867973","1401867974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dc2d50b348b0935ea3fac860ba306bf.jpg","text":"TemporaryFile(/tmp/multipartBody5532277805922957449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174404390,"filename":"image_03112025_17_48_50_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/405613f52f9d238d614093c46777ef43.jpg","text":"TemporaryFile(/tmp/multipartBody3479958262606477754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174404390,"filename":"image_03112025_17_48_45_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c758ea1fe7adb9cecb31795b2a741bf.jpg","text":"TemporaryFile(/tmp/multipartBody3890464741016449604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174404390,"filename":"image_03112025_17_48_53_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86cadb9b55745bc9bd4e84133d74a0e1.jpg","text":"TemporaryFile(/tmp/multipartBody1269044297401344773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174404390,"filename":"image_03112025_17_48_49_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b3ebc03be25aa9e75d7e5532434d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody598180543078731206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174404390,"filename":"image_03112025_17_48_52_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/890b3b7116160a75421f435afb4752ce.jpg","text":"TemporaryFile(/tmp/multipartBody2924787162567282730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174404390,"filename":"image_03112025_17_48_47_1950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867971","file1":"1401867970","file0":"1401867969","file4":"1401867973","file5":"1401867974","file3":"1401867972"},"map_files_photo_id_array":[{"photo_id":"1401867974","filename":"file5"},{"photo_id":"1401867971","filename":"file2"},{"photo_id":"1401867973","filename":"file4"},{"photo_id":"1401867970","filename":"file1"},{"photo_id":"1401867969","filename":"file0"},{"photo_id":"1401867972","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401867972":["hashtag1","hashtag2"]},{"1401867969":["hashtag1","hashtag2"]},{"1401867974":["hashtag1","hashtag2"]},{"1401867971":["hashtag1","hashtag2"]},{"1401867973":["hashtag1","hashtag2"]},{"1401867970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401867972, 1401867969, 1401867974, 1401867971, 1401867973, 1401867970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.157623529434204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:46:21.893690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_36_9798.jpg', '/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_47_10530.jpg', '/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_56_9796.jpg', '/home/pi/Desktop/images/31122025/08/50/image_31122025_08_51_07_10564.jpg', '/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_17_9633.jpg', '/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_26_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_36_9798.jpg
/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_47_10530.jpg
/home/pi/Desktop/images/31122025/08/50/image_31122025_08_50_56_9796.jpg
/home/pi/Desktop/images/31122025/08/50/image_31122025_08_51_07_10564.jpg
/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_17_9633.jpg
/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_26_9562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867983","1401867977","1401867985","1401867988","1401867979","1401867981"],"photo_ids_order":["1401867977","1401867979","1401867981","1401867983","1401867985","1401867988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4073be2d907f660f0fa65d35dde7316.jpg","text":"TemporaryFile(/tmp/multipartBody2208352153586829209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174442476,"filename":"image_31122025_08_51_07_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af12f8062aad7f00b65f0f3b3bf5fed4.jpg","text":"TemporaryFile(/tmp/multipartBody225519306556190540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174442476,"filename":"image_31122025_08_50_36_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cffc74655d4d449fc07fcb41abd20a2.jpg","text":"TemporaryFile(/tmp/multipartBody2039625096749981202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174442476,"filename":"image_31122025_08_51_17_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52e98fcbead4af42ab5c1f7f5d2e66b5.jpg","text":"TemporaryFile(/tmp/multipartBody1874315740378036461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174442476,"filename":"image_31122025_08_51_26_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfc3a252466971fae6522ff50bb35783.jpg","text":"TemporaryFile(/tmp/multipartBody7998674771441965446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174442476,"filename":"image_31122025_08_50_47_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79ee3305f68a62511c0b207dc17ffdbc.jpg","text":"TemporaryFile(/tmp/multipartBody5657443317696978969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174442476,"filename":"image_31122025_08_50_56_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867981","file1":"1401867979","file0":"1401867977","file4":"1401867985","file5":"1401867988","file3":"1401867983"},"map_files_photo_id_array":[{"photo_id":"1401867988","filename":"file5"},{"photo_id":"1401867981","filename":"file2"},{"photo_id":"1401867985","filename":"file4"},{"photo_id":"1401867979","filename":"file1"},{"photo_id":"1401867977","filename":"file0"},{"photo_id":"1401867983","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401867983":["hashtag1","hashtag2"]},{"1401867977":["hashtag1","hashtag2"]},{"1401867985":["hashtag1","hashtag2"]},{"1401867988":["hashtag1","hashtag2"]},{"1401867979":["hashtag1","hashtag2"]},{"1401867981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401867983, 1401867977, 1401867985, 1401867988, 1401867979, 1401867981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96407413482666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:47:02.654874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_37_10702.jpg', '/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_46_9671.jpg', '/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_56_9612.jpg', '/home/pi/Desktop/images/31122025/08/51/image_31122025_08_52_07_10539.jpg', '/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_16_9614.jpg', '/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_27_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_37_10702.jpg
/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_46_9671.jpg
/home/pi/Desktop/images/31122025/08/51/image_31122025_08_51_56_9612.jpg
/home/pi/Desktop/images/31122025/08/51/image_31122025_08_52_07_10539.jpg
/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_16_9614.jpg
/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_27_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401867993","1401867995","1401867998","1401867991","1401867997","1401868000"],"photo_ids_order":["1401867991","1401867993","1401867995","1401867997","1401867998","1401868000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cf55d39995f81445334be19f92e6623.jpg","text":"TemporaryFile(/tmp/multipartBody3888708714838937472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174483257,"filename":"image_31122025_08_51_46_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e097a33f29233c3824b1a6054a84fabf.jpg","text":"TemporaryFile(/tmp/multipartBody677460597361237607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174483257,"filename":"image_31122025_08_51_56_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/046d1df07db12884fbf1758d1ed7829c.jpg","text":"TemporaryFile(/tmp/multipartBody4339743937036711431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174483257,"filename":"image_31122025_08_52_16_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a1309ee18c38ec522dbb9d7d78ed59f.jpg","text":"TemporaryFile(/tmp/multipartBody7012286254353060872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174483257,"filename":"image_31122025_08_51_37_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd294560049f09f6a2009b1f2c8dcfb5.jpg","text":"TemporaryFile(/tmp/multipartBody1825778471458019875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174483257,"filename":"image_31122025_08_52_07_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c177d90dc64527f010f44994fe065b2b.jpg","text":"TemporaryFile(/tmp/multipartBody800404800856255970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174483257,"filename":"image_31122025_08_52_27_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401867995","file1":"1401867993","file0":"1401867991","file4":"1401867998","file5":"1401868000","file3":"1401867997"},"map_files_photo_id_array":[{"photo_id":"1401868000","filename":"file5"},{"photo_id":"1401867995","filename":"file2"},{"photo_id":"1401867998","filename":"file4"},{"photo_id":"1401867993","filename":"file1"},{"photo_id":"1401867991","filename":"file0"},{"photo_id":"1401867997","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401867993":["hashtag1","hashtag2"]},{"1401867995":["hashtag1","hashtag2"]},{"1401867998":["hashtag1","hashtag2"]},{"1401867991":["hashtag1","hashtag2"]},{"1401867997":["hashtag1","hashtag2"]},{"1401868000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401867993, 1401867995, 1401867998, 1401867991, 1401867997, 1401868000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.107017993927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:47:42.031151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_55_1609.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_57_1647.jpg', '/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_58_1545.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_02_3522.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_04_2793.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_07_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_55_1609.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_57_1647.jpg
/home/pi/Desktop/images/03112025/17/48/image_03112025_17_48_58_1545.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_02_3522.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_04_2793.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_07_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868020","1401868017","1401868019","1401868021","1401868018","1401868006"],"photo_ids_order":["1401868006","1401868017","1401868018","1401868019","1401868020","1401868021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e269f972bd15fc5304bbc461d4da95f5.jpg","text":"TemporaryFile(/tmp/multipartBody7317856280713570587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174523918,"filename":"image_03112025_17_49_04_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f66b5921f0a064a8b7b11bfc9619da4.jpg","text":"TemporaryFile(/tmp/multipartBody7321137773852243482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174523918,"filename":"image_03112025_17_48_57_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a1060a8da17d3caf3b515e43e85bd02.jpg","text":"TemporaryFile(/tmp/multipartBody7461954217179583570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174523918,"filename":"image_03112025_17_49_02_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aff426dbee615e041d8a51f4092d6f74.jpg","text":"TemporaryFile(/tmp/multipartBody3008691752260762269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174523918,"filename":"image_03112025_17_49_07_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b9814972deb3345aee06b1cbc700171.jpg","text":"TemporaryFile(/tmp/multipartBody5122669291550017560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174523918,"filename":"image_03112025_17_48_58_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f924da7eb0fac27d5af4c55ecc311b1.jpg","text":"TemporaryFile(/tmp/multipartBody5624458428671950562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174523918,"filename":"image_03112025_17_48_55_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868018","file1":"1401868017","file0":"1401868006","file4":"1401868020","file5":"1401868021","file3":"1401868019"},"map_files_photo_id_array":[{"photo_id":"1401868021","filename":"file5"},{"photo_id":"1401868018","filename":"file2"},{"photo_id":"1401868020","filename":"file4"},{"photo_id":"1401868017","filename":"file1"},{"photo_id":"1401868006","filename":"file0"},{"photo_id":"1401868019","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401868020":["hashtag1","hashtag2"]},{"1401868017":["hashtag1","hashtag2"]},{"1401868019":["hashtag1","hashtag2"]},{"1401868021":["hashtag1","hashtag2"]},{"1401868018":["hashtag1","hashtag2"]},{"1401868006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401868020, 1401868017, 1401868019, 1401868021, 1401868018, 1401868006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.621320724487305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:48:22.215606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_37_9854.jpg', '/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_47_9796.jpg', '/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_56_9478.jpg', '/home/pi/Desktop/images/31122025/08/52/image_31122025_08_53_07_10638.jpg', '/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_17_9845.jpg', '/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_26_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_37_9854.jpg
/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_47_9796.jpg
/home/pi/Desktop/images/31122025/08/52/image_31122025_08_52_56_9478.jpg
/home/pi/Desktop/images/31122025/08/52/image_31122025_08_53_07_10638.jpg
/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_17_9845.jpg
/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_26_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868031","1401868084","1401868081","1401868054","1401868078","1401868042"],"photo_ids_order":["1401868031","1401868042","1401868054","1401868078","1401868081","1401868084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7efa6afe45914f9d4f16433fdac5f2e.jpg","text":"TemporaryFile(/tmp/multipartBody9008995860786668021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174562764,"filename":"image_31122025_08_52_37_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bb1de0867e84855086882f662583116.jpg","text":"TemporaryFile(/tmp/multipartBody43124868440041466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174562764,"filename":"image_31122025_08_53_26_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dd4f81030b362950afd1335d54e7235.jpg","text":"TemporaryFile(/tmp/multipartBody3568871531856237761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174562764,"filename":"image_31122025_08_53_17_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/581a844615a3dce1d78fff94b74d2a39.jpg","text":"TemporaryFile(/tmp/multipartBody7286774634588325688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174562764,"filename":"image_31122025_08_52_56_9478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0402a46c86bf38ca7227a4d6c3f4534.jpg","text":"TemporaryFile(/tmp/multipartBody2621172121138171546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174562764,"filename":"image_31122025_08_53_07_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2edd6ffc904e0394ed177b07f1946a7f.jpg","text":"TemporaryFile(/tmp/multipartBody4442098006448180389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174562764,"filename":"image_31122025_08_52_47_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868054","file1":"1401868042","file0":"1401868031","file4":"1401868081","file5":"1401868084","file3":"1401868078"},"map_files_photo_id_array":[{"photo_id":"1401868084","filename":"file5"},{"photo_id":"1401868054","filename":"file2"},{"photo_id":"1401868081","filename":"file4"},{"photo_id":"1401868042","filename":"file1"},{"photo_id":"1401868031","filename":"file0"},{"photo_id":"1401868078","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401868031":["hashtag1","hashtag2"]},{"1401868084":["hashtag1","hashtag2"]},{"1401868081":["hashtag1","hashtag2"]},{"1401868054":["hashtag1","hashtag2"]},{"1401868078":["hashtag1","hashtag2"]},{"1401868042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401868031, 1401868084, 1401868081, 1401868054, 1401868078, 1401868042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80068230628967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:49:02.927975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_37_10561.jpg', '/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_46_9616.jpg', '/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_56_9565.jpg', '/home/pi/Desktop/images/31122025/08/53/image_31122025_08_54_07_10630.jpg', '/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_16_9723.jpg', '/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_26_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_37_10561.jpg
/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_46_9616.jpg
/home/pi/Desktop/images/31122025/08/53/image_31122025_08_53_56_9565.jpg
/home/pi/Desktop/images/31122025/08/53/image_31122025_08_54_07_10630.jpg
/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_16_9723.jpg
/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_26_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868094","1401868142","1401868096","1401868144","1401868126","1401868146"],"photo_ids_order":["1401868094","1401868096","1401868126","1401868142","1401868144","1401868146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e1edab6b7555633c0b30cd75a3fa3b6.jpg","text":"TemporaryFile(/tmp/multipartBody2861011654864296680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174603548,"filename":"image_31122025_08_53_37_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1663b0e9cb02cd6c78bc04915d8262f.jpg","text":"TemporaryFile(/tmp/multipartBody2113183443157540319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174603548,"filename":"image_31122025_08_54_07_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/364844c44c8f83f23bc964835063ac77.jpg","text":"TemporaryFile(/tmp/multipartBody360657703721376362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174603548,"filename":"image_31122025_08_53_46_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66432bda8599175ead51b0c4e1a2ea08.jpg","text":"TemporaryFile(/tmp/multipartBody2783861086858878671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174603548,"filename":"image_31122025_08_54_16_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad2a460241b308f5db20e6f17f8ef5c5.jpg","text":"TemporaryFile(/tmp/multipartBody8552558039013005392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174603548,"filename":"image_31122025_08_53_56_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7027c7080501400aff0e498c8311dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2492976603940774924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174603548,"filename":"image_31122025_08_54_26_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868126","file1":"1401868096","file0":"1401868094","file4":"1401868144","file5":"1401868146","file3":"1401868142"},"map_files_photo_id_array":[{"photo_id":"1401868146","filename":"file5"},{"photo_id":"1401868126","filename":"file2"},{"photo_id":"1401868144","filename":"file4"},{"photo_id":"1401868096","filename":"file1"},{"photo_id":"1401868094","filename":"file0"},{"photo_id":"1401868142","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401868094":["hashtag1","hashtag2"]},{"1401868142":["hashtag1","hashtag2"]},{"1401868096":["hashtag1","hashtag2"]},{"1401868144":["hashtag1","hashtag2"]},{"1401868126":["hashtag1","hashtag2"]},{"1401868146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401868094, 1401868142, 1401868096, 1401868144, 1401868126, 1401868146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20464873313904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:49:42.456965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_11_3715.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_13_2607.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_20_6226.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_21_1617.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_23_1713.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_25_2493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_11_3715.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_13_2607.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_20_6226.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_21_1617.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_23_1713.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_25_2493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868370","1401868367","1401868291","1401868369","1401868368","1401868350"],"photo_ids_order":["1401868291","1401868350","1401868367","1401868368","1401868369","1401868370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/122d849e44903e68224dddc6a5d48160.jpg","text":"TemporaryFile(/tmp/multipartBody8409720168673050989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174644338,"filename":"image_03112025_17_49_25_2493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60072b30bef6407547323a8c481b5117.jpg","text":"TemporaryFile(/tmp/multipartBody6874952741079039491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174644338,"filename":"image_03112025_17_49_20_6226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec9f3263784605e8060d3d9f0b831cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4330332570240971014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174644338,"filename":"image_03112025_17_49_11_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4caf1607042085b7c8e0436213c9d73.jpg","text":"TemporaryFile(/tmp/multipartBody3473870181788963771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174644338,"filename":"image_03112025_17_49_23_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ceb45128cbd9879c36015f94571e480.jpg","text":"TemporaryFile(/tmp/multipartBody2332471183577193699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174644338,"filename":"image_03112025_17_49_21_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f6a6a839a460a44b86d34bb0bc3ad64.jpg","text":"TemporaryFile(/tmp/multipartBody8414808322937744536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174644338,"filename":"image_03112025_17_49_13_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868367","file1":"1401868350","file0":"1401868291","file4":"1401868369","file5":"1401868370","file3":"1401868368"},"map_files_photo_id_array":[{"photo_id":"1401868370","filename":"file5"},{"photo_id":"1401868367","filename":"file2"},{"photo_id":"1401868369","filename":"file4"},{"photo_id":"1401868350","filename":"file1"},{"photo_id":"1401868291","filename":"file0"},{"photo_id":"1401868368","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401868370":["hashtag1","hashtag2"]},{"1401868367":["hashtag1","hashtag2"]},{"1401868291":["hashtag1","hashtag2"]},{"1401868369":["hashtag1","hashtag2"]},{"1401868368":["hashtag1","hashtag2"]},{"1401868350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401868370, 1401868367, 1401868291, 1401868369, 1401868368, 1401868350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06947302818298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:50:22.690108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_37_10641.jpg', '/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_46_9524.jpg', '/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_57_10631.jpg', '/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_16_9734.jpg', '/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_27_10656.jpg', '/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_36_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_37_10641.jpg
/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_46_9524.jpg
/home/pi/Desktop/images/31122025/08/54/image_31122025_08_54_57_10631.jpg
/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_16_9734.jpg
/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_27_10656.jpg
/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_36_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868391","1401868388","1401868382","1401868375","1401868386","1401868377"],"photo_ids_order":["1401868375","1401868377","1401868382","1401868386","1401868388","1401868391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/800e45cb093ae058002c256f66575437.jpg","text":"TemporaryFile(/tmp/multipartBody4340192068190009091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174683236,"filename":"image_31122025_08_55_36_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9db2196d1715a5c6d063be41ec8b0d7.jpg","text":"TemporaryFile(/tmp/multipartBody3344920972106179172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174683236,"filename":"image_31122025_08_55_27_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5e02ab70cdda34abdcd82800dfee66f.jpg","text":"TemporaryFile(/tmp/multipartBody6671689607782170920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174683236,"filename":"image_31122025_08_54_57_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e45811d1b0669fbd0d6224fbb3995bc.jpg","text":"TemporaryFile(/tmp/multipartBody6353652986197968353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174683236,"filename":"image_31122025_08_54_37_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cf0c18b912bb957ca33568c90771343.jpg","text":"TemporaryFile(/tmp/multipartBody9047758281381734895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174683236,"filename":"image_31122025_08_55_16_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6431bf06d2b2033ca3c882d9de52490b.jpg","text":"TemporaryFile(/tmp/multipartBody1830766580028391662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174683236,"filename":"image_31122025_08_54_46_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868382","file1":"1401868377","file0":"1401868375","file4":"1401868388","file5":"1401868391","file3":"1401868386"},"map_files_photo_id_array":[{"photo_id":"1401868391","filename":"file5"},{"photo_id":"1401868382","filename":"file2"},{"photo_id":"1401868388","filename":"file4"},{"photo_id":"1401868377","filename":"file1"},{"photo_id":"1401868375","filename":"file0"},{"photo_id":"1401868386","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401868391":["hashtag1","hashtag2"]},{"1401868388":["hashtag1","hashtag2"]},{"1401868382":["hashtag1","hashtag2"]},{"1401868375":["hashtag1","hashtag2"]},{"1401868386":["hashtag1","hashtag2"]},{"1401868377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401868391, 1401868388, 1401868382, 1401868375, 1401868386, 1401868377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9015908241272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:51:03.532362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_46_9563.jpg', '/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_57_10742.jpg', '/home/pi/Desktop/images/31122025/08/55/image_31122025_08_56_06_9687.jpg', '/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_16_9710.jpg', '/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_27_10745.jpg', '/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_37_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_46_9563.jpg
/home/pi/Desktop/images/31122025/08/55/image_31122025_08_55_57_10742.jpg
/home/pi/Desktop/images/31122025/08/55/image_31122025_08_56_06_9687.jpg
/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_16_9710.jpg
/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_27_10745.jpg
/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_37_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868410","1401868404","1401868413","1401868418","1401868406","1401868408"],"photo_ids_order":["1401868404","1401868406","1401868408","1401868410","1401868413","1401868418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d6b7347e1dd7cdda052529d936a0c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6218174083086726109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174724124,"filename":"image_31122025_08_56_16_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59f246945f8e85e53e9c18ada922a8a1.jpg","text":"TemporaryFile(/tmp/multipartBody2296917131754409486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174724124,"filename":"image_31122025_08_55_46_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3565494b39918067d291c1fe383f7072.jpg","text":"TemporaryFile(/tmp/multipartBody6777571841194965070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174724124,"filename":"image_31122025_08_56_27_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffe3b111d2f95433365f087f85db4ea1.jpg","text":"TemporaryFile(/tmp/multipartBody6212763783583973196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174724124,"filename":"image_31122025_08_56_37_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/712e42abeac36246f1eb23e6ab6233ec.jpg","text":"TemporaryFile(/tmp/multipartBody962103375402946800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174724124,"filename":"image_31122025_08_55_57_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdaa278abeb360211f6d29dd79ffe74e.jpg","text":"TemporaryFile(/tmp/multipartBody6818842261777554127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174724124,"filename":"image_31122025_08_56_06_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868408","file1":"1401868406","file0":"1401868404","file4":"1401868413","file5":"1401868418","file3":"1401868410"},"map_files_photo_id_array":[{"photo_id":"1401868418","filename":"file5"},{"photo_id":"1401868408","filename":"file2"},{"photo_id":"1401868413","filename":"file4"},{"photo_id":"1401868406","filename":"file1"},{"photo_id":"1401868404","filename":"file0"},{"photo_id":"1401868410","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401868410":["hashtag1","hashtag2"]},{"1401868404":["hashtag1","hashtag2"]},{"1401868413":["hashtag1","hashtag2"]},{"1401868418":["hashtag1","hashtag2"]},{"1401868406":["hashtag1","hashtag2"]},{"1401868408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401868410, 1401868404, 1401868413, 1401868418, 1401868406, 1401868408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68544125556946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:51:42.887449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_29_3160.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_31_2664.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_35_3710.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_38_2586.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_40_2719.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_43_3094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_29_3160.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_31_2664.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_35_3710.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_38_2586.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_40_2719.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_43_3094.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868427","1401868442","1401868439","1401868441","1401868423","1401868440"],"photo_ids_order":["1401868423","1401868427","1401868439","1401868440","1401868441","1401868442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8542d9335e971754d5a76d734efe7e30.jpg","text":"TemporaryFile(/tmp/multipartBody2768228819555798092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174764798,"filename":"image_03112025_17_49_31_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d7bbde5942d2b87f74be36402886b99.jpg","text":"TemporaryFile(/tmp/multipartBody4787137156676951756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174764798,"filename":"image_03112025_17_49_43_3094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fcc893cccdadfad883de4855c6a4ca9a.jpg","text":"TemporaryFile(/tmp/multipartBody8180753648918918238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174764798,"filename":"image_03112025_17_49_35_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ece4fc149048b4309acc299e24efd82.jpg","text":"TemporaryFile(/tmp/multipartBody5895272514716707725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174764798,"filename":"image_03112025_17_49_40_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92ca1c4a03013ac39ce9e3a6affcd689.jpg","text":"TemporaryFile(/tmp/multipartBody6897754535824384090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174764798,"filename":"image_03112025_17_49_29_3160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e08824663ba4eca78b63b1adb299bb39.jpg","text":"TemporaryFile(/tmp/multipartBody972173748612444174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174764798,"filename":"image_03112025_17_49_38_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868439","file1":"1401868427","file0":"1401868423","file4":"1401868441","file5":"1401868442","file3":"1401868440"},"map_files_photo_id_array":[{"photo_id":"1401868442","filename":"file5"},{"photo_id":"1401868439","filename":"file2"},{"photo_id":"1401868441","filename":"file4"},{"photo_id":"1401868427","filename":"file1"},{"photo_id":"1401868423","filename":"file0"},{"photo_id":"1401868440","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401868427":["hashtag1","hashtag2"]},{"1401868442":["hashtag1","hashtag2"]},{"1401868439":["hashtag1","hashtag2"]},{"1401868441":["hashtag1","hashtag2"]},{"1401868423":["hashtag1","hashtag2"]},{"1401868440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401868427, 1401868442, 1401868439, 1401868441, 1401868423, 1401868440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.969207525253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:52:22.052179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_46_9738.jpg', '/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_56_9652.jpg', '/home/pi/Desktop/images/31122025/08/56/image_31122025_08_57_07_10587.jpg', '/home/pi/Desktop/images/31122025/08/57/image_31122025_08_57_27_10576.jpg', '/home/pi/Desktop/images/31122025/08/57/image_31122025_08_57_36_9535.jpg', '/home/pi/Desktop/images/31122025/08/57/image_31122025_08_57_46_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_46_9738.jpg
/home/pi/Desktop/images/31122025/08/56/image_31122025_08_56_56_9652.jpg
/home/pi/Desktop/images/31122025/08/56/image_31122025_08_57_07_10587.jpg
/home/pi/Desktop/images/31122025/08/57/image_31122025_08_57_27_10576.jpg
/home/pi/Desktop/images/31122025/08/57/image_31122025_08_57_36_9535.jpg
/home/pi/Desktop/images/31122025/08/57/image_31122025_08_57_46_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868452","1401868446","1401868466","1401868457","1401868455","1401868449"],"photo_ids_order":["1401868446","1401868449","1401868452","1401868455","1401868457","1401868466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc918998a63b9cc9a8ee5403cd71a0c6.jpg","text":"TemporaryFile(/tmp/multipartBody6267716766658835848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174802620,"filename":"image_31122025_08_57_07_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/094c74fe2b4081f32b7d6f4522cc5423.jpg","text":"TemporaryFile(/tmp/multipartBody7257096999923361919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174802620,"filename":"image_31122025_08_56_46_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b413a2b9d9b1e5a62747cde27e951b32.jpg","text":"TemporaryFile(/tmp/multipartBody4056298526658488949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174802620,"filename":"image_31122025_08_57_46_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f99c93cbd6746855cfdbb453d041f523.jpg","text":"TemporaryFile(/tmp/multipartBody2679998860665108226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174802620,"filename":"image_31122025_08_57_36_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e5523376789d8671d4745ee76b109a6.jpg","text":"TemporaryFile(/tmp/multipartBody1291788322155831336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174802620,"filename":"image_31122025_08_57_27_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6de589263a73ff18c096d71b0ce2a8d.jpg","text":"TemporaryFile(/tmp/multipartBody1267252069621250312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174802620,"filename":"image_31122025_08_56_56_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868452","file1":"1401868449","file0":"1401868446","file4":"1401868457","file5":"1401868466","file3":"1401868455"},"map_files_photo_id_array":[{"photo_id":"1401868466","filename":"file5"},{"photo_id":"1401868452","filename":"file2"},{"photo_id":"1401868457","filename":"file4"},{"photo_id":"1401868449","filename":"file1"},{"photo_id":"1401868446","filename":"file0"},{"photo_id":"1401868455","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401868452":["hashtag1","hashtag2"]},{"1401868446":["hashtag1","hashtag2"]},{"1401868466":["hashtag1","hashtag2"]},{"1401868457":["hashtag1","hashtag2"]},{"1401868455":["hashtag1","hashtag2"]},{"1401868449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401868452, 1401868446, 1401868466, 1401868457, 1401868455, 1401868449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91657757759094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:53:03.033488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/57/image_31122025_08_57_57_10664.jpg', '/home/pi/Desktop/images/31122025/08/57/image_31122025_08_58_06_9638.jpg', '/home/pi/Desktop/images/31122025/08/58/image_31122025_08_58_16_9676.jpg', '/home/pi/Desktop/images/31122025/08/58/image_31122025_08_58_36_9659.jpg', '/home/pi/Desktop/images/31122025/08/58/image_31122025_08_58_47_10575.jpg', '/home/pi/Desktop/images/31122025/08/58/image_31122025_08_58_56_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/57/image_31122025_08_57_57_10664.jpg
/home/pi/Desktop/images/31122025/08/57/image_31122025_08_58_06_9638.jpg
/home/pi/Desktop/images/31122025/08/58/image_31122025_08_58_16_9676.jpg
/home/pi/Desktop/images/31122025/08/58/image_31122025_08_58_36_9659.jpg
/home/pi/Desktop/images/31122025/08/58/image_31122025_08_58_47_10575.jpg
/home/pi/Desktop/images/31122025/08/58/image_31122025_08_58_56_9509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868478","1401868475","1401868480","1401868477","1401868482","1401868479"],"photo_ids_order":["1401868475","1401868477","1401868478","1401868479","1401868480","1401868482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23aa1d71ef2b1155e6dbc09f853615af.jpg","text":"TemporaryFile(/tmp/multipartBody1194396120199633681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174843681,"filename":"image_31122025_08_58_16_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b0eace54d38a45c2da6a636657262e8.jpg","text":"TemporaryFile(/tmp/multipartBody1432356000691166788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174843681,"filename":"image_31122025_08_57_57_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ffdd705e01ece495064870fd67dbfea.jpg","text":"TemporaryFile(/tmp/multipartBody3372241745420154721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174843681,"filename":"image_31122025_08_58_47_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c77c26a4659794209a8146c1bb17e2c9.jpg","text":"TemporaryFile(/tmp/multipartBody397223987507305555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174843681,"filename":"image_31122025_08_58_06_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98e828e8569b79b0b35ad8afe28f1ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6471130408864603051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174843681,"filename":"image_31122025_08_58_56_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76665b56eda138c4df32d9b3721b5293.jpg","text":"TemporaryFile(/tmp/multipartBody4001738396508599989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174843681,"filename":"image_31122025_08_58_36_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868478","file1":"1401868477","file0":"1401868475","file4":"1401868480","file5":"1401868482","file3":"1401868479"},"map_files_photo_id_array":[{"photo_id":"1401868482","filename":"file5"},{"photo_id":"1401868478","filename":"file2"},{"photo_id":"1401868480","filename":"file4"},{"photo_id":"1401868477","filename":"file1"},{"photo_id":"1401868475","filename":"file0"},{"photo_id":"1401868479","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401868478":["hashtag1","hashtag2"]},{"1401868475":["hashtag1","hashtag2"]},{"1401868480":["hashtag1","hashtag2"]},{"1401868477":["hashtag1","hashtag2"]},{"1401868482":["hashtag1","hashtag2"]},{"1401868479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401868478, 1401868475, 1401868480, 1401868477, 1401868482, 1401868479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90889763832092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:53:42.265787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_46_2731.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_50_3694.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_52_2618.jpg', '/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_55_2593.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_06_3010.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_10_3501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_46_2731.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_50_3694.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_52_2618.jpg
/home/pi/Desktop/images/03112025/17/49/image_03112025_17_49_55_2593.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_06_3010.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_10_3501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868506","1401868490","1401868508","1401868502","1401868513","1401868504"],"photo_ids_order":["1401868490","1401868502","1401868504","1401868506","1401868508","1401868513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a9073fa329cb2360276a9035a10b125.jpg","text":"TemporaryFile(/tmp/multipartBody4931315400963709773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174884158,"filename":"image_03112025_17_49_55_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8621afb8567671aded8b672f21fa3f1c.jpg","text":"TemporaryFile(/tmp/multipartBody8035781006180023940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174884158,"filename":"image_03112025_17_49_46_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9bcb72294f27f0244a38fdeffb32a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4510903130951722731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174884158,"filename":"image_03112025_17_51_06_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d412896cd86ebcc03909be5009a15909.jpg","text":"TemporaryFile(/tmp/multipartBody9196462520618100187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174884158,"filename":"image_03112025_17_49_50_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41872ab0a36c0acc899e84e7b5dbf9f4.jpg","text":"TemporaryFile(/tmp/multipartBody4851453782539044918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174884158,"filename":"image_03112025_17_51_10_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85befcf63dcfb6887765f5ab0205456a.jpg","text":"TemporaryFile(/tmp/multipartBody4015830975098806035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174884158,"filename":"image_03112025_17_49_52_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868504","file1":"1401868502","file0":"1401868490","file4":"1401868508","file5":"1401868513","file3":"1401868506"},"map_files_photo_id_array":[{"photo_id":"1401868513","filename":"file5"},{"photo_id":"1401868504","filename":"file2"},{"photo_id":"1401868508","filename":"file4"},{"photo_id":"1401868502","filename":"file1"},{"photo_id":"1401868490","filename":"file0"},{"photo_id":"1401868506","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401868506":["hashtag1","hashtag2"]},{"1401868490":["hashtag1","hashtag2"]},{"1401868508":["hashtag1","hashtag2"]},{"1401868502":["hashtag1","hashtag2"]},{"1401868513":["hashtag1","hashtag2"]},{"1401868504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401868506, 1401868490, 1401868508, 1401868502, 1401868513, 1401868504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.230088233947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 10:54:22.440461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/08/58/image_31122025_08_59_06_9706.jpg', '/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_17_10599.jpg', '/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_26_9647.jpg', '/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_36_9749.jpg', '/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_47_10557.jpg', '/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_56_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/08/58/image_31122025_08_59_06_9706.jpg
/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_17_10599.jpg
/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_26_9647.jpg
/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_36_9749.jpg
/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_47_10557.jpg
/home/pi/Desktop/images/31122025/08/59/image_31122025_08_59_56_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868530","1401868524","1401868526","1401868546","1401868534","1401868528"],"photo_ids_order":["1401868524","1401868526","1401868528","1401868530","1401868534","1401868546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12b447fb194803f1fb22218b3a5f1888.jpg","text":"TemporaryFile(/tmp/multipartBody2676671637654407670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174923027,"filename":"image_31122025_08_59_36_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c15534db9d2e8535b926d36ba7bca0c7.jpg","text":"TemporaryFile(/tmp/multipartBody6411718649152792030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174923027,"filename":"image_31122025_08_59_06_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f90829f1e590ae3ceacf07e05d10f5b1.jpg","text":"TemporaryFile(/tmp/multipartBody2207195350489773610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174923027,"filename":"image_31122025_08_59_17_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d00771cbd14688dfd0b19184eb5b1927.jpg","text":"TemporaryFile(/tmp/multipartBody3902979003688247406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174923027,"filename":"image_31122025_08_59_56_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a031004a5d6e6fa93c75c90246666ab.jpg","text":"TemporaryFile(/tmp/multipartBody2707452904113490761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174923027,"filename":"image_31122025_08_59_47_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0ab336757ce99018159a29395b1d120.jpg","text":"TemporaryFile(/tmp/multipartBody9083081256193061827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174923027,"filename":"image_31122025_08_59_26_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868528","file1":"1401868526","file0":"1401868524","file4":"1401868534","file5":"1401868546","file3":"1401868530"},"map_files_photo_id_array":[{"photo_id":"1401868546","filename":"file5"},{"photo_id":"1401868528","filename":"file2"},{"photo_id":"1401868534","filename":"file4"},{"photo_id":"1401868526","filename":"file1"},{"photo_id":"1401868524","filename":"file0"},{"photo_id":"1401868530","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401868530":["hashtag1","hashtag2"]},{"1401868524":["hashtag1","hashtag2"]},{"1401868526":["hashtag1","hashtag2"]},{"1401868546":["hashtag1","hashtag2"]},{"1401868534":["hashtag1","hashtag2"]},{"1401868528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401868530, 1401868524, 1401868526, 1401868546, 1401868534, 1401868528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22664213180542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:55:03.262893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_14_10051.jpg', '/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_25_10796.jpg', '/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_35_9517.jpg', '/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_45_10578.jpg', '/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_55_9618.jpg', '/home/pi/Desktop/images/31122025/09/00/image_31122025_09_01_04_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_14_10051.jpg
/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_25_10796.jpg
/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_35_9517.jpg
/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_45_10578.jpg
/home/pi/Desktop/images/31122025/09/00/image_31122025_09_00_55_9618.jpg
/home/pi/Desktop/images/31122025/09/00/image_31122025_09_01_04_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868565","1401868553","1401868556","1401868561","1401868558","1401868554"],"photo_ids_order":["1401868553","1401868554","1401868556","1401868558","1401868561","1401868565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd732d2106b662c9b9f353d1f151e9bd.jpg","text":"TemporaryFile(/tmp/multipartBody3812994885177355610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174963881,"filename":"image_31122025_09_01_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c360d747217df57e97c3a2465cd29314.jpg","text":"TemporaryFile(/tmp/multipartBody7004467639929343810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174963881,"filename":"image_31122025_09_00_14_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8150abfc2b74d8830dd163eca4660083.jpg","text":"TemporaryFile(/tmp/multipartBody6672008338828713248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174963881,"filename":"image_31122025_09_00_35_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9614528b02d109dc0325dff9873bbc45.jpg","text":"TemporaryFile(/tmp/multipartBody5873362993455873789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174963881,"filename":"image_31122025_09_00_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25a27e7c3f31f34d08e1227bb6da91ee.jpg","text":"TemporaryFile(/tmp/multipartBody4277434572693400364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174963881,"filename":"image_31122025_09_00_45_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c18e14494e6ddc26f5f7414d0a9513d.jpg","text":"TemporaryFile(/tmp/multipartBody4809643277866812991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767174963881,"filename":"image_31122025_09_00_25_10796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868556","file1":"1401868554","file0":"1401868553","file4":"1401868561","file5":"1401868565","file3":"1401868558"},"map_files_photo_id_array":[{"photo_id":"1401868565","filename":"file5"},{"photo_id":"1401868556","filename":"file2"},{"photo_id":"1401868561","filename":"file4"},{"photo_id":"1401868554","filename":"file1"},{"photo_id":"1401868553","filename":"file0"},{"photo_id":"1401868558","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401868565":["hashtag1","hashtag2"]},{"1401868553":["hashtag1","hashtag2"]},{"1401868556":["hashtag1","hashtag2"]},{"1401868561":["hashtag1","hashtag2"]},{"1401868558":["hashtag1","hashtag2"]},{"1401868554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401868565, 1401868553, 1401868556, 1401868561, 1401868558, 1401868554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16183042526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:55:42.673905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_12_2615.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_16_3564.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_19_2592.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_22_3647.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_25_2713.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_28_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_12_2615.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_16_3564.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_19_2592.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_22_3647.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_25_2713.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_28_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868577","1401868574","1401868576","1401868578","1401868572","1401868575"],"photo_ids_order":["1401868572","1401868574","1401868575","1401868576","1401868577","1401868578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/491152ef36a578fb9af5f8e91ea5c71b.jpg","text":"TemporaryFile(/tmp/multipartBody6999466348082658942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175004574,"filename":"image_03112025_17_51_25_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24f8a5e1786d1e800c82956479a850ad.jpg","text":"TemporaryFile(/tmp/multipartBody5729145463101644407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175004574,"filename":"image_03112025_17_51_16_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e77b784bece092a2a30f911140f0f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody7779245551970775474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175004574,"filename":"image_03112025_17_51_22_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/431ae3bab17b6a1321939c9e72792ceb.jpg","text":"TemporaryFile(/tmp/multipartBody1528711517176511898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175004574,"filename":"image_03112025_17_51_28_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2f246796faf376736f755f87bb559a4.jpg","text":"TemporaryFile(/tmp/multipartBody4225931161258751338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175004574,"filename":"image_03112025_17_51_12_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31fee2a79029d16ad38567cbe3f65a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4078531672218870641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175004574,"filename":"image_03112025_17_51_19_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868575","file1":"1401868574","file0":"1401868572","file4":"1401868577","file5":"1401868578","file3":"1401868576"},"map_files_photo_id_array":[{"photo_id":"1401868578","filename":"file5"},{"photo_id":"1401868575","filename":"file2"},{"photo_id":"1401868577","filename":"file4"},{"photo_id":"1401868574","filename":"file1"},{"photo_id":"1401868572","filename":"file0"},{"photo_id":"1401868576","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401868577":["hashtag1","hashtag2"]},{"1401868574":["hashtag1","hashtag2"]},{"1401868576":["hashtag1","hashtag2"]},{"1401868578":["hashtag1","hashtag2"]},{"1401868572":["hashtag1","hashtag2"]},{"1401868575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401868577, 1401868574, 1401868576, 1401868578, 1401868572, 1401868575)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.40797019004822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:56:31.931207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_31_3559.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_34_2795.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_37_2660.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_51_14737.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_53_1599.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_54_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_31_3559.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_34_2795.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_37_2660.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_51_14737.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_53_1599.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_54_1531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868589","1401868613","1401868591","1401868594","1401868612","1401868609"],"photo_ids_order":["1401868589","1401868591","1401868594","1401868609","1401868612","1401868613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9401f220fafe53695b4cfebefe5f2611.jpg","text":"TemporaryFile(/tmp/multipartBody8708550289636600950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175053851,"filename":"image_03112025_17_51_31_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1819182d83bace3b14072506c36465c9.jpg","text":"TemporaryFile(/tmp/multipartBody227808530236282683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175053851,"filename":"image_03112025_17_51_54_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebc0fda5e7a71ae2663d5111dbf919a0.jpg","text":"TemporaryFile(/tmp/multipartBody9003026077964825844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175053851,"filename":"image_03112025_17_51_34_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02be9b161bd4197ec37515fe42850352.jpg","text":"TemporaryFile(/tmp/multipartBody1098568774132380878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175053851,"filename":"image_03112025_17_51_37_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2293e6f4407d6b2ccc73fca205e17ad.jpg","text":"TemporaryFile(/tmp/multipartBody7244349425987933537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175053851,"filename":"image_03112025_17_51_53_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/495175596304aabfc8d30c3eeaa75bfb.jpg","text":"TemporaryFile(/tmp/multipartBody6077912459723631373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175053851,"filename":"image_03112025_17_51_51_14737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868594","file1":"1401868591","file0":"1401868589","file4":"1401868612","file5":"1401868613","file3":"1401868609"},"map_files_photo_id_array":[{"photo_id":"1401868613","filename":"file5"},{"photo_id":"1401868594","filename":"file2"},{"photo_id":"1401868612","filename":"file4"},{"photo_id":"1401868591","filename":"file1"},{"photo_id":"1401868589","filename":"file0"},{"photo_id":"1401868609","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401868589":["hashtag1","hashtag2"]},{"1401868613":["hashtag1","hashtag2"]},{"1401868591":["hashtag1","hashtag2"]},{"1401868594":["hashtag1","hashtag2"]},{"1401868612":["hashtag1","hashtag2"]},{"1401868609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401868589, 1401868613, 1401868591, 1401868594, 1401868612, 1401868609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44236636161804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 10:57:12.404353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_56_1628.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_58_1606.jpg', '/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_59_1651.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_01_1640.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_03_1641.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_04_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_56_1628.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_58_1606.jpg
/home/pi/Desktop/images/03112025/17/51/image_03112025_17_51_59_1651.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_01_1640.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_03_1641.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_04_1517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401868632","1401868626","1401868634","1401868628","1401868636","1401868630"],"photo_ids_order":["1401868626","1401868628","1401868630","1401868632","1401868634","1401868636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78300a332299c208b5a8cc63a72d236b.jpg","text":"TemporaryFile(/tmp/multipartBody3215475491183315951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175094148,"filename":"image_03112025_17_52_01_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88a8e9ce466cf7e9b6fd7a66f2cde91e.jpg","text":"TemporaryFile(/tmp/multipartBody1950924730780675871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175094148,"filename":"image_03112025_17_51_56_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0693957af64ca886b4583ba8de1b1480.jpg","text":"TemporaryFile(/tmp/multipartBody2970585586542887351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175094148,"filename":"image_03112025_17_52_03_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e787fbea1e53ebf877601b1f04abf5f.jpg","text":"TemporaryFile(/tmp/multipartBody3857978227107535252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175094148,"filename":"image_03112025_17_51_58_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1adb8476e5506ff2d46bd794d12b547.jpg","text":"TemporaryFile(/tmp/multipartBody7186793477241725328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175094148,"filename":"image_03112025_17_52_04_1517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/053881111b1c05ae21372f3deebf752c.jpg","text":"TemporaryFile(/tmp/multipartBody646687067878737254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175094148,"filename":"image_03112025_17_51_59_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401868630","file1":"1401868628","file0":"1401868626","file4":"1401868634","file5":"1401868636","file3":"1401868632"},"map_files_photo_id_array":[{"photo_id":"1401868636","filename":"file5"},{"photo_id":"1401868630","filename":"file2"},{"photo_id":"1401868634","filename":"file4"},{"photo_id":"1401868628","filename":"file1"},{"photo_id":"1401868626","filename":"file0"},{"photo_id":"1401868632","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401868632":["hashtag1","hashtag2"]},{"1401868626":["hashtag1","hashtag2"]},{"1401868634":["hashtag1","hashtag2"]},{"1401868628":["hashtag1","hashtag2"]},{"1401868636":["hashtag1","hashtag2"]},{"1401868630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401868632, 1401868626, 1401868634, 1401868628, 1401868636, 1401868630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60971689224243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 10:59:03.811161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_15_10532.jpg', '/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_24_9567.jpg', '/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_35_10714.jpg', '/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_45_9647.jpg', '/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_54_9712.jpg', '/home/pi/Desktop/images/31122025/09/01/image_31122025_09_02_04_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_15_10532.jpg
/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_24_9567.jpg
/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_35_10714.jpg
/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_45_9647.jpg
/home/pi/Desktop/images/31122025/09/01/image_31122025_09_01_54_9712.jpg
/home/pi/Desktop/images/31122025/09/01/image_31122025_09_02_04_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401869234","1401869185","1401869236","1401869097","1401869139","1401869226"],"photo_ids_order":["1401869097","1401869139","1401869185","1401869226","1401869234","1401869236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdd88848831787a228914081819cc74b.jpg","text":"TemporaryFile(/tmp/multipartBody4681592035948261894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175204472,"filename":"image_31122025_09_01_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41510be3f6803b3529843db8bf9847db.jpg","text":"TemporaryFile(/tmp/multipartBody4304040980735482612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175204472,"filename":"image_31122025_09_01_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e57627eb5edbe85b0fcfa6a129af553.jpg","text":"TemporaryFile(/tmp/multipartBody7641159586665329147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175204472,"filename":"image_31122025_09_02_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/064ab37620448de026835cffe9e29cb9.jpg","text":"TemporaryFile(/tmp/multipartBody511158295821621056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175204472,"filename":"image_31122025_09_01_15_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/994dd942750a0214787734b090faafab.jpg","text":"TemporaryFile(/tmp/multipartBody245506105690963573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175204472,"filename":"image_31122025_09_01_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5e3c3daab005c09b04fcf84eb3caac1.jpg","text":"TemporaryFile(/tmp/multipartBody4180988329607888033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175204472,"filename":"image_31122025_09_01_45_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401869185","file1":"1401869139","file0":"1401869097","file4":"1401869234","file5":"1401869236","file3":"1401869226"},"map_files_photo_id_array":[{"photo_id":"1401869236","filename":"file5"},{"photo_id":"1401869185","filename":"file2"},{"photo_id":"1401869234","filename":"file4"},{"photo_id":"1401869139","filename":"file1"},{"photo_id":"1401869097","filename":"file0"},{"photo_id":"1401869226","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401869234":["hashtag1","hashtag2"]},{"1401869185":["hashtag1","hashtag2"]},{"1401869236":["hashtag1","hashtag2"]},{"1401869097":["hashtag1","hashtag2"]},{"1401869139":["hashtag1","hashtag2"]},{"1401869226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401869234, 1401869185, 1401869236, 1401869097, 1401869139, 1401869226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.338820934295654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:00:02.411043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_15_10693.jpg', '/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_24_9634.jpg', '/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_35_10601.jpg', '/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_45_9644.jpg', '/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_54_9556.jpg', '/home/pi/Desktop/images/31122025/09/02/image_31122025_09_03_05_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_15_10693.jpg
/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_24_9634.jpg
/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_35_10601.jpg
/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_45_9644.jpg
/home/pi/Desktop/images/31122025/09/02/image_31122025_09_02_54_9556.jpg
/home/pi/Desktop/images/31122025/09/02/image_31122025_09_03_05_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401869681","1401869717","1401869761","1401869542","1401869611","1401869474"],"photo_ids_order":["1401869474","1401869542","1401869611","1401869681","1401869717","1401869761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2ee750adda5efb63af4f08ac04bf845.jpg","text":"TemporaryFile(/tmp/multipartBody3541722166443816678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175263631,"filename":"image_31122025_09_02_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1f3f57eb11337a0cc11def19bd2fd4c.jpg","text":"TemporaryFile(/tmp/multipartBody2596893072257941859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175263631,"filename":"image_31122025_09_02_54_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7671f117c7edd72e871120b8e9100a83.jpg","text":"TemporaryFile(/tmp/multipartBody7656610458114587772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175263631,"filename":"image_31122025_09_03_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3afe2b5be0800583567ff098d79a51e2.jpg","text":"TemporaryFile(/tmp/multipartBody879212977056627477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175263631,"filename":"image_31122025_09_02_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7060220ee2f791043977c8a7679cf958.jpg","text":"TemporaryFile(/tmp/multipartBody2883669134063140158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175263631,"filename":"image_31122025_09_02_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c456a80a3814c977a4637a8b22f4b71.jpg","text":"TemporaryFile(/tmp/multipartBody8029237543432549817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175263631,"filename":"image_31122025_09_02_15_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401869611","file1":"1401869542","file0":"1401869474","file4":"1401869717","file5":"1401869761","file3":"1401869681"},"map_files_photo_id_array":[{"photo_id":"1401869761","filename":"file5"},{"photo_id":"1401869611","filename":"file2"},{"photo_id":"1401869717","filename":"file4"},{"photo_id":"1401869542","filename":"file1"},{"photo_id":"1401869474","filename":"file0"},{"photo_id":"1401869681","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401869681":["hashtag1","hashtag2"]},{"1401869717":["hashtag1","hashtag2"]},{"1401869761":["hashtag1","hashtag2"]},{"1401869542":["hashtag1","hashtag2"]},{"1401869611":["hashtag1","hashtag2"]},{"1401869474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401869681, 1401869717, 1401869761, 1401869542, 1401869611, 1401869474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22693729400635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:00:42.060167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_07_2628.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_09_2590.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_13_3607.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_18_4640.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_19_1563.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_22_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_07_2628.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_09_2590.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_13_3607.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_18_4640.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_19_1563.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_22_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870027","1401870006","1401870061","1401870008","1401869991","1401870007"],"photo_ids_order":["1401869991","1401870006","1401870007","1401870008","1401870027","1401870061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0496021fdc91cc7cfec039a34cbc9c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6555054476684184257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175304057,"filename":"image_03112025_17_52_19_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ddc87437f8550e8187d5edf123a07ae2.jpg","text":"TemporaryFile(/tmp/multipartBody2445053052101800931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175304057,"filename":"image_03112025_17_52_09_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e38a6d590b7f6d8f522611a1ea04ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4172485630412834234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175304057,"filename":"image_03112025_17_52_22_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e28fe3da9ab26fff8dad9226c1f23e2.jpg","text":"TemporaryFile(/tmp/multipartBody8963558961425027813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175304057,"filename":"image_03112025_17_52_18_4640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e4e7bdb1edf54ca8a7c955b0160c43d.jpg","text":"TemporaryFile(/tmp/multipartBody6205939967478818369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175304057,"filename":"image_03112025_17_52_07_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ddea724f2403a0b732b9f21123410337.jpg","text":"TemporaryFile(/tmp/multipartBody4418302474619729257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175304057,"filename":"image_03112025_17_52_13_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870007","file1":"1401870006","file0":"1401869991","file4":"1401870027","file5":"1401870061","file3":"1401870008"},"map_files_photo_id_array":[{"photo_id":"1401870061","filename":"file5"},{"photo_id":"1401870007","filename":"file2"},{"photo_id":"1401870027","filename":"file4"},{"photo_id":"1401870006","filename":"file1"},{"photo_id":"1401869991","filename":"file0"},{"photo_id":"1401870008","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401870027":["hashtag1","hashtag2"]},{"1401870006":["hashtag1","hashtag2"]},{"1401870061":["hashtag1","hashtag2"]},{"1401870008":["hashtag1","hashtag2"]},{"1401869991":["hashtag1","hashtag2"]},{"1401870007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401870027, 1401870006, 1401870061, 1401870008, 1401869991, 1401870007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31868505477905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:01:22.249091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_14_9557.jpg', '/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_24_9709.jpg', '/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_35_10566.jpg', '/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_45_9795.jpg', '/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_54_9689.jpg', '/home/pi/Desktop/images/31122025/09/03/image_31122025_09_04_05_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_14_9557.jpg
/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_24_9709.jpg
/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_35_10566.jpg
/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_45_9795.jpg
/home/pi/Desktop/images/31122025/09/03/image_31122025_09_03_54_9689.jpg
/home/pi/Desktop/images/31122025/09/03/image_31122025_09_04_05_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870128","1401870137","1401870139","1401870183","1401870202","1401870168"],"photo_ids_order":["1401870128","1401870137","1401870139","1401870168","1401870183","1401870202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c6dab674ae279ab425509f0e24e476f.jpg","text":"TemporaryFile(/tmp/multipartBody5571117751024418651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175342819,"filename":"image_31122025_09_03_14_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01e51d669e7de7f5daa43c8b2fe1a049.jpg","text":"TemporaryFile(/tmp/multipartBody7096681750513458068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175342819,"filename":"image_31122025_09_03_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4db8716a2d4822eef71b2f9fef7c144.jpg","text":"TemporaryFile(/tmp/multipartBody3005512832117968349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175342819,"filename":"image_31122025_09_03_35_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/389d3e8746c835b4aeaa26e6a9c5bf29.jpg","text":"TemporaryFile(/tmp/multipartBody5748046444035410621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175342819,"filename":"image_31122025_09_03_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e2fc2ce7da621e336d54d44256ff192.jpg","text":"TemporaryFile(/tmp/multipartBody8903767389965216348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175342819,"filename":"image_31122025_09_04_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a03e3fbd83ad2533180c8fc4d23fc735.jpg","text":"TemporaryFile(/tmp/multipartBody2648934987590965222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175342819,"filename":"image_31122025_09_03_45_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870139","file1":"1401870137","file0":"1401870128","file4":"1401870183","file5":"1401870202","file3":"1401870168"},"map_files_photo_id_array":[{"photo_id":"1401870202","filename":"file5"},{"photo_id":"1401870139","filename":"file2"},{"photo_id":"1401870183","filename":"file4"},{"photo_id":"1401870137","filename":"file1"},{"photo_id":"1401870128","filename":"file0"},{"photo_id":"1401870168","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401870128":["hashtag1","hashtag2"]},{"1401870137":["hashtag1","hashtag2"]},{"1401870139":["hashtag1","hashtag2"]},{"1401870183":["hashtag1","hashtag2"]},{"1401870202":["hashtag1","hashtag2"]},{"1401870168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401870128, 1401870137, 1401870139, 1401870183, 1401870202, 1401870168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20193529129028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:02:02.861586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_15_9709.jpg', '/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_24_9657.jpg', '/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_35_10625.jpg', '/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_45_9733.jpg', '/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_55_9923.jpg', '/home/pi/Desktop/images/31122025/09/04/image_31122025_09_05_04_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_15_9709.jpg
/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_24_9657.jpg
/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_35_10625.jpg
/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_45_9733.jpg
/home/pi/Desktop/images/31122025/09/04/image_31122025_09_04_55_9923.jpg
/home/pi/Desktop/images/31122025/09/04/image_31122025_09_05_04_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870210","1401870204","1401870207","1401870212","1401870206","1401870214"],"photo_ids_order":["1401870204","1401870206","1401870207","1401870210","1401870212","1401870214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81c796f426d64404d90d3e3ea472a60a.jpg","text":"TemporaryFile(/tmp/multipartBody8261308657684704056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175383468,"filename":"image_31122025_09_04_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7708883c42301ecbe32168b200a9ce04.jpg","text":"TemporaryFile(/tmp/multipartBody2954354018759062013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175383468,"filename":"image_31122025_09_04_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/794b6c9dc3ca2c277a889746a5cade24.jpg","text":"TemporaryFile(/tmp/multipartBody6128500883081416595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175383468,"filename":"image_31122025_09_04_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a2bf57fc6d2137ece88f93fa2dbaea8.jpg","text":"TemporaryFile(/tmp/multipartBody3154927527675729243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175383468,"filename":"image_31122025_09_04_55_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64c216d0e3476804c073c5794ee16ff1.jpg","text":"TemporaryFile(/tmp/multipartBody5932964203673070418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175383468,"filename":"image_31122025_09_04_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28329a33a78f397932ac6cbd260902fa.jpg","text":"TemporaryFile(/tmp/multipartBody4963874379627109342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175383468,"filename":"image_31122025_09_05_04_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870207","file1":"1401870206","file0":"1401870204","file4":"1401870212","file5":"1401870214","file3":"1401870210"},"map_files_photo_id_array":[{"photo_id":"1401870214","filename":"file5"},{"photo_id":"1401870207","filename":"file2"},{"photo_id":"1401870212","filename":"file4"},{"photo_id":"1401870206","filename":"file1"},{"photo_id":"1401870204","filename":"file0"},{"photo_id":"1401870210","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401870210":["hashtag1","hashtag2"]},{"1401870204":["hashtag1","hashtag2"]},{"1401870207":["hashtag1","hashtag2"]},{"1401870212":["hashtag1","hashtag2"]},{"1401870206":["hashtag1","hashtag2"]},{"1401870214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401870210, 1401870204, 1401870207, 1401870212, 1401870206, 1401870214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2182183265686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:02:42.385333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_25_3635.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_28_2525.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_31_2669.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_33_2635.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_37_3581.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_40_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_25_3635.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_28_2525.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_31_2669.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_33_2635.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_37_3581.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_40_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870251","1401870248","1401870227","1401870242","1401870244","1401870246"],"photo_ids_order":["1401870227","1401870242","1401870244","1401870246","1401870248","1401870251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a24eba263577ad60150454d07fabce4f.jpg","text":"TemporaryFile(/tmp/multipartBody5746169588101673250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175424290,"filename":"image_03112025_17_52_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42629541813a3c33ad60f09e99c2fed0.jpg","text":"TemporaryFile(/tmp/multipartBody729295075799820958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175424290,"filename":"image_03112025_17_52_37_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f3bd4aef2923cb478fe40f3601a88a0.jpg","text":"TemporaryFile(/tmp/multipartBody3318981200885831206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175424290,"filename":"image_03112025_17_52_25_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af9f3ed1bfc8571d916c20a3cba0e021.jpg","text":"TemporaryFile(/tmp/multipartBody6641982093121817937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175424290,"filename":"image_03112025_17_52_28_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/600c28daf31752fff861e9a1c5048001.jpg","text":"TemporaryFile(/tmp/multipartBody747841286147573104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175424290,"filename":"image_03112025_17_52_31_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1e2cbf53d23b0d5492328c528ab13cc.jpg","text":"TemporaryFile(/tmp/multipartBody3374566081632123692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175424290,"filename":"image_03112025_17_52_33_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870244","file1":"1401870242","file0":"1401870227","file4":"1401870248","file5":"1401870251","file3":"1401870246"},"map_files_photo_id_array":[{"photo_id":"1401870251","filename":"file5"},{"photo_id":"1401870244","filename":"file2"},{"photo_id":"1401870248","filename":"file4"},{"photo_id":"1401870242","filename":"file1"},{"photo_id":"1401870227","filename":"file0"},{"photo_id":"1401870246","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401870251":["hashtag1","hashtag2"]},{"1401870248":["hashtag1","hashtag2"]},{"1401870227":["hashtag1","hashtag2"]},{"1401870242":["hashtag1","hashtag2"]},{"1401870244":["hashtag1","hashtag2"]},{"1401870246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401870251, 1401870248, 1401870227, 1401870242, 1401870244, 1401870246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.142249584198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:03:22.581507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_15_10629.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_25_9863.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_35_9904.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_44_9615.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_55_10643.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_06_05_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_15_10629.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_25_9863.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_35_9904.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_44_9615.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_55_10643.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_06_05_9692.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.46742939949035645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:03:32.563550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_42_2714.jpg', '/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_46_3794.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_15_28495.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_16_1624.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_18_1579.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_19_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_42_2714.jpg
/home/pi/Desktop/images/03112025/17/52/image_03112025_17_52_46_3794.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_15_28495.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_16_1624.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_18_1579.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_19_1606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870269","1401870272","1401870274","1401870262","1401870265","1401870273"],"photo_ids_order":["1401870262","1401870265","1401870269","1401870272","1401870273","1401870274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f1a27c76db4e9e030859cec7859b217.jpg","text":"TemporaryFile(/tmp/multipartBody6543240365443337931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175474470,"filename":"image_03112025_17_53_15_28495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa88de366668c1b6c4fea3111e2fa83e.jpg","text":"TemporaryFile(/tmp/multipartBody8164734121645386268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175474470,"filename":"image_03112025_17_53_16_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44ffe55b662dd9663a48d7b6c703978f.jpg","text":"TemporaryFile(/tmp/multipartBody1953203107423681370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175474470,"filename":"image_03112025_17_53_19_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/867c70f9e9e43a2a0bb5644fbf9df103.jpg","text":"TemporaryFile(/tmp/multipartBody8796684246659384483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175474470,"filename":"image_03112025_17_52_42_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc196e6465983789cdfa30fd0855e1c9.jpg","text":"TemporaryFile(/tmp/multipartBody4421601901226237312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175474470,"filename":"image_03112025_17_52_46_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ade591276050c8b8d6bcbc790e126a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7182036223793509521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175474470,"filename":"image_03112025_17_53_18_1579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870269","file1":"1401870265","file0":"1401870262","file4":"1401870273","file5":"1401870274","file3":"1401870272"},"map_files_photo_id_array":[{"photo_id":"1401870274","filename":"file5"},{"photo_id":"1401870269","filename":"file2"},{"photo_id":"1401870273","filename":"file4"},{"photo_id":"1401870265","filename":"file1"},{"photo_id":"1401870262","filename":"file0"},{"photo_id":"1401870272","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401870269":["hashtag1","hashtag2"]},{"1401870272":["hashtag1","hashtag2"]},{"1401870274":["hashtag1","hashtag2"]},{"1401870262":["hashtag1","hashtag2"]},{"1401870265":["hashtag1","hashtag2"]},{"1401870273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401870269, 1401870272, 1401870274, 1401870262, 1401870265, 1401870273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36206555366516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:04:12.685089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_21_1655.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_23_1538.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_24_1586.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_26_1598.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_27_1654.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_29_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_21_1655.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_23_1538.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_24_1586.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_26_1598.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_27_1654.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_29_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870284","1401870278","1401870286","1401870280","1401870282","1401870279"],"photo_ids_order":["1401870278","1401870279","1401870280","1401870282","1401870284","1401870286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60c5685377f0f9f20646176d783df3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5065929483289058292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175514455,"filename":"image_03112025_17_53_27_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/147aec36345da2034fa352047e293cc1.jpg","text":"TemporaryFile(/tmp/multipartBody6817932021065489601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175514455,"filename":"image_03112025_17_53_21_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e7ccf37b7da4845e819ce89bf846c63.jpg","text":"TemporaryFile(/tmp/multipartBody7921534818008125013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175514455,"filename":"image_03112025_17_53_29_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afa7475e51b6f360ac14d21d0a454f0f.jpg","text":"TemporaryFile(/tmp/multipartBody4821396418347278639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175514455,"filename":"image_03112025_17_53_24_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49997299717ebbf8e86d90260e2f9df9.jpg","text":"TemporaryFile(/tmp/multipartBody55311562141341269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175514455,"filename":"image_03112025_17_53_26_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45f492dacf70023bbbe020727260e25b.jpg","text":"TemporaryFile(/tmp/multipartBody4203259171476028019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175514455,"filename":"image_03112025_17_53_23_1538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870280","file1":"1401870279","file0":"1401870278","file4":"1401870284","file5":"1401870286","file3":"1401870282"},"map_files_photo_id_array":[{"photo_id":"1401870286","filename":"file5"},{"photo_id":"1401870280","filename":"file2"},{"photo_id":"1401870284","filename":"file4"},{"photo_id":"1401870279","filename":"file1"},{"photo_id":"1401870278","filename":"file0"},{"photo_id":"1401870282","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401870284":["hashtag1","hashtag2"]},{"1401870278":["hashtag1","hashtag2"]},{"1401870286":["hashtag1","hashtag2"]},{"1401870280":["hashtag1","hashtag2"]},{"1401870282":["hashtag1","hashtag2"]},{"1401870279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401870284, 1401870278, 1401870286, 1401870280, 1401870282, 1401870279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.641018867492676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:05:02.588969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_15_10629.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_25_9863.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_35_9904.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_44_9615.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_55_10643.jpg', '/home/pi/Desktop/images/31122025/09/05/image_31122025_09_06_05_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_15_10629.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_25_9863.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_35_9904.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_44_9615.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_05_55_10643.jpg
/home/pi/Desktop/images/31122025/09/05/image_31122025_09_06_05_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870315","1401870355","1401870331","1401870325","1401870328","1401870345"],"photo_ids_order":["1401870315","1401870325","1401870328","1401870331","1401870345","1401870355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16f5979a1d6a4d627e99ed5739a9f002.jpg","text":"TemporaryFile(/tmp/multipartBody5822433272565343506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175563218,"filename":"image_31122025_09_05_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d15dc93e585f9c3621462a45a293fd42.jpg","text":"TemporaryFile(/tmp/multipartBody7770733441184854289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175563218,"filename":"image_31122025_09_06_05_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/073d19a0ddd9033ac5e4ea7e4e60231d.jpg","text":"TemporaryFile(/tmp/multipartBody8241012448404332415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175563218,"filename":"image_31122025_09_05_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce1ba1dd1cae1be17fbdb7442fb4e1a7.jpg","text":"TemporaryFile(/tmp/multipartBody2154997125515939611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175563218,"filename":"image_31122025_09_05_25_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7256a411c14cd2c35f4b0dc4f90c3253.jpg","text":"TemporaryFile(/tmp/multipartBody7286515109614586425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175563218,"filename":"image_31122025_09_05_35_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62437d007739c0fa86878c0e2e5c74f0.jpg","text":"TemporaryFile(/tmp/multipartBody1589712950638246055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175563218,"filename":"image_31122025_09_05_55_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870328","file1":"1401870325","file0":"1401870315","file4":"1401870345","file5":"1401870355","file3":"1401870331"},"map_files_photo_id_array":[{"photo_id":"1401870355","filename":"file5"},{"photo_id":"1401870328","filename":"file2"},{"photo_id":"1401870345","filename":"file4"},{"photo_id":"1401870325","filename":"file1"},{"photo_id":"1401870315","filename":"file0"},{"photo_id":"1401870331","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401870315":["hashtag1","hashtag2"]},{"1401870355":["hashtag1","hashtag2"]},{"1401870331":["hashtag1","hashtag2"]},{"1401870325":["hashtag1","hashtag2"]},{"1401870328":["hashtag1","hashtag2"]},{"1401870345":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401870315, 1401870355, 1401870331, 1401870325, 1401870328, 1401870345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67753076553345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:05:41.838020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_31_1673.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_32_1520.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_34_1587.jpg', '/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_38_3854.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_06_3012.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_10_3776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_31_1673.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_32_1520.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_34_1587.jpg
/home/pi/Desktop/images/03112025/17/53/image_03112025_17_53_38_3854.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_06_3012.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_10_3776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870540","1401870609","1401870680","1401870644","1401870493","1401870574"],"photo_ids_order":["1401870493","1401870540","1401870574","1401870609","1401870644","1401870680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de33a979c0198871c0d41d62c622cf41.jpg","text":"TemporaryFile(/tmp/multipartBody4203793565368567971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175603735,"filename":"image_03112025_17_53_32_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ad4b4a2ff95f59a165c819336ebef56.jpg","text":"TemporaryFile(/tmp/multipartBody7665872056624157257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175603735,"filename":"image_03112025_17_53_38_3854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23e3471a27d4801e31b4929b23a6a2a3.jpg","text":"TemporaryFile(/tmp/multipartBody4871605370389672580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175603735,"filename":"image_03112025_17_55_10_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64969e83f0b25b6ba0abcde39adc7b57.jpg","text":"TemporaryFile(/tmp/multipartBody96314121841590962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175603735,"filename":"image_03112025_17_55_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/458f2c1945202d58ef2fe73bf088829a.jpg","text":"TemporaryFile(/tmp/multipartBody83326980852140062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175603735,"filename":"image_03112025_17_53_31_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac816eca1a66543fd7bcd20f7996c570.jpg","text":"TemporaryFile(/tmp/multipartBody5655388531278657191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175603735,"filename":"image_03112025_17_53_34_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870574","file1":"1401870540","file0":"1401870493","file4":"1401870644","file5":"1401870680","file3":"1401870609"},"map_files_photo_id_array":[{"photo_id":"1401870680","filename":"file5"},{"photo_id":"1401870574","filename":"file2"},{"photo_id":"1401870644","filename":"file4"},{"photo_id":"1401870540","filename":"file1"},{"photo_id":"1401870493","filename":"file0"},{"photo_id":"1401870609","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401870540":["hashtag1","hashtag2"]},{"1401870609":["hashtag1","hashtag2"]},{"1401870680":["hashtag1","hashtag2"]},{"1401870644":["hashtag1","hashtag2"]},{"1401870493":["hashtag1","hashtag2"]},{"1401870574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401870540, 1401870609, 1401870680, 1401870644, 1401870493, 1401870574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50994253158569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:06:22.047708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/06/image_31122025_09_06_14_9648.jpg', '/home/pi/Desktop/images/31122025/09/06/image_31122025_09_06_24_9944.jpg', '/home/pi/Desktop/images/31122025/09/06/image_31122025_09_06_35_10761.jpg', '/home/pi/Desktop/images/31122025/09/06/image_31122025_09_06_54_9691.jpg', '/home/pi/Desktop/images/31122025/09/06/image_31122025_09_07_05_10583.jpg', '/home/pi/Desktop/images/31122025/09/07/image_31122025_09_07_24_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/06/image_31122025_09_06_14_9648.jpg
/home/pi/Desktop/images/31122025/09/06/image_31122025_09_06_24_9944.jpg
/home/pi/Desktop/images/31122025/09/06/image_31122025_09_06_35_10761.jpg
/home/pi/Desktop/images/31122025/09/06/image_31122025_09_06_54_9691.jpg
/home/pi/Desktop/images/31122025/09/06/image_31122025_09_07_05_10583.jpg
/home/pi/Desktop/images/31122025/09/07/image_31122025_09_07_24_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870831","1401870825","1401870833","1401870827","1401870814","1401870855"],"photo_ids_order":["1401870814","1401870825","1401870827","1401870831","1401870833","1401870855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca270a1c5678758750b4b7f1fd925dbd.jpg","text":"TemporaryFile(/tmp/multipartBody946879674646966533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175642625,"filename":"image_31122025_09_06_54_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/207ef0ac38540a41eebd46b49f1be089.jpg","text":"TemporaryFile(/tmp/multipartBody6701007457308831552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175642625,"filename":"image_31122025_09_06_24_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c20af113cb53c3796221d90c2942162.jpg","text":"TemporaryFile(/tmp/multipartBody3953529929938195529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175642625,"filename":"image_31122025_09_07_05_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e395fde03c7ba8853bfa9dacd2df45cf.jpg","text":"TemporaryFile(/tmp/multipartBody5928187891869532605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175642625,"filename":"image_31122025_09_06_35_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1f25934de19e43e70eec934d0decae0.jpg","text":"TemporaryFile(/tmp/multipartBody7131333044647106236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175642625,"filename":"image_31122025_09_06_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7f299c5115facc5a3d86585b7812953.jpg","text":"TemporaryFile(/tmp/multipartBody3847575668283378596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175642625,"filename":"image_31122025_09_07_24_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870827","file1":"1401870825","file0":"1401870814","file4":"1401870833","file5":"1401870855","file3":"1401870831"},"map_files_photo_id_array":[{"photo_id":"1401870855","filename":"file5"},{"photo_id":"1401870827","filename":"file2"},{"photo_id":"1401870833","filename":"file4"},{"photo_id":"1401870825","filename":"file1"},{"photo_id":"1401870814","filename":"file0"},{"photo_id":"1401870831","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401870831":["hashtag1","hashtag2"]},{"1401870825":["hashtag1","hashtag2"]},{"1401870833":["hashtag1","hashtag2"]},{"1401870827":["hashtag1","hashtag2"]},{"1401870814":["hashtag1","hashtag2"]},{"1401870855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401870831, 1401870825, 1401870833, 1401870827, 1401870814, 1401870855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12466335296631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:07:02.821974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/07/image_31122025_09_07_34_9744.jpg', '/home/pi/Desktop/images/31122025/09/07/image_31122025_09_07_45_10558.jpg', '/home/pi/Desktop/images/31122025/09/07/image_31122025_09_07_54_9688.jpg', '/home/pi/Desktop/images/31122025/09/07/image_31122025_09_08_04_9726.jpg', '/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_15_10817.jpg', '/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_25_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/07/image_31122025_09_07_34_9744.jpg
/home/pi/Desktop/images/31122025/09/07/image_31122025_09_07_45_10558.jpg
/home/pi/Desktop/images/31122025/09/07/image_31122025_09_07_54_9688.jpg
/home/pi/Desktop/images/31122025/09/07/image_31122025_09_08_04_9726.jpg
/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_15_10817.jpg
/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_25_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401870945","1401870980","1401870998","1401871000","1401871002","1401870936"],"photo_ids_order":["1401870936","1401870945","1401870980","1401870998","1401871000","1401871002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0911d8d428bd9e88b0146bd6c1533b4.jpg","text":"TemporaryFile(/tmp/multipartBody6972633824657252982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175683492,"filename":"image_31122025_09_07_45_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c4e847a405c6a3448aa58927320493c.jpg","text":"TemporaryFile(/tmp/multipartBody2910957026597029435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175683492,"filename":"image_31122025_09_07_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70a297cef80b86da78cdb36aa6fb9620.jpg","text":"TemporaryFile(/tmp/multipartBody6264151082989552488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175683492,"filename":"image_31122025_09_08_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7634c2f851419cdbff69da3b4226f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4009909914465155590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175683492,"filename":"image_31122025_09_08_15_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ab923b0007d68bc7f92b9e00dd7c807.jpg","text":"TemporaryFile(/tmp/multipartBody1594082650307583183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175683492,"filename":"image_31122025_09_08_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf95be8ef23ac5b0ddf3160508c82779.jpg","text":"TemporaryFile(/tmp/multipartBody4679305056963261547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175683492,"filename":"image_31122025_09_07_34_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401870980","file1":"1401870945","file0":"1401870936","file4":"1401871000","file5":"1401871002","file3":"1401870998"},"map_files_photo_id_array":[{"photo_id":"1401871002","filename":"file5"},{"photo_id":"1401870980","filename":"file2"},{"photo_id":"1401871000","filename":"file4"},{"photo_id":"1401870945","filename":"file1"},{"photo_id":"1401870936","filename":"file0"},{"photo_id":"1401870998","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401870945":["hashtag1","hashtag2"]},{"1401870980":["hashtag1","hashtag2"]},{"1401870998":["hashtag1","hashtag2"]},{"1401871000":["hashtag1","hashtag2"]},{"1401871002":["hashtag1","hashtag2"]},{"1401870936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401870945, 1401870980, 1401870998, 1401871000, 1401871002, 1401870936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01861929893494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:07:42.229977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_13_2550.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_16_2831.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_20_4144.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_21_1689.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_25_3638.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_28_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_13_2550.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_16_2831.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_20_4144.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_21_1689.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_25_3638.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_28_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871136","1401871100","1401871066","1401871147","1401871152","1401871032"],"photo_ids_order":["1401871032","1401871066","1401871100","1401871136","1401871147","1401871152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ede7ba015f35f19a20228352a4ebf27d.jpg","text":"TemporaryFile(/tmp/multipartBody6372892708554117273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175724144,"filename":"image_03112025_17_55_21_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c41b26779cc624f34771e6bfa4eb60e.jpg","text":"TemporaryFile(/tmp/multipartBody2284038768258500458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175724144,"filename":"image_03112025_17_55_20_4144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f37907c6515b25f1b336f9126e35882.jpg","text":"TemporaryFile(/tmp/multipartBody8627240186819070682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175724144,"filename":"image_03112025_17_55_16_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cb702da998108b9c06a1b1bf925ac17.jpg","text":"TemporaryFile(/tmp/multipartBody7325250137061174757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175724144,"filename":"image_03112025_17_55_25_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fc9234d4c340cdf2274523fe0c7e471.jpg","text":"TemporaryFile(/tmp/multipartBody4398859902508142673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175724144,"filename":"image_03112025_17_55_28_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45d6d417a201a22692a294862e6920b2.jpg","text":"TemporaryFile(/tmp/multipartBody5899214312510810087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175724144,"filename":"image_03112025_17_55_13_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871100","file1":"1401871066","file0":"1401871032","file4":"1401871147","file5":"1401871152","file3":"1401871136"},"map_files_photo_id_array":[{"photo_id":"1401871152","filename":"file5"},{"photo_id":"1401871100","filename":"file2"},{"photo_id":"1401871147","filename":"file4"},{"photo_id":"1401871066","filename":"file1"},{"photo_id":"1401871032","filename":"file0"},{"photo_id":"1401871136","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401871136":["hashtag1","hashtag2"]},{"1401871100":["hashtag1","hashtag2"]},{"1401871066":["hashtag1","hashtag2"]},{"1401871147":["hashtag1","hashtag2"]},{"1401871152":["hashtag1","hashtag2"]},{"1401871032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401871136, 1401871100, 1401871066, 1401871147, 1401871152, 1401871032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41350841522217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:08:22.347790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_34_9505.jpg', '/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_45_10603.jpg', '/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_54_9548.jpg', '/home/pi/Desktop/images/31122025/09/08/image_31122025_09_09_05_10661.jpg', '/home/pi/Desktop/images/31122025/09/09/image_31122025_09_09_15_9810.jpg', '/home/pi/Desktop/images/31122025/09/09/image_31122025_09_09_35_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_34_9505.jpg
/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_45_10603.jpg
/home/pi/Desktop/images/31122025/09/08/image_31122025_09_08_54_9548.jpg
/home/pi/Desktop/images/31122025/09/08/image_31122025_09_09_05_10661.jpg
/home/pi/Desktop/images/31122025/09/09/image_31122025_09_09_15_9810.jpg
/home/pi/Desktop/images/31122025/09/09/image_31122025_09_09_35_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871180","1401871177","1401871185","1401871170","1401871164","1401871167"],"photo_ids_order":["1401871164","1401871167","1401871170","1401871177","1401871180","1401871185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0eaabbc2d0511fe7f968d34e8f061f61.jpg","text":"TemporaryFile(/tmp/multipartBody2098126695208276574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175762919,"filename":"image_31122025_09_09_15_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e8da1dc832140909661d65f702094e7.jpg","text":"TemporaryFile(/tmp/multipartBody6773484314636291980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175762919,"filename":"image_31122025_09_09_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a20a798fc0902191a126a3b01e4325b6.jpg","text":"TemporaryFile(/tmp/multipartBody4751496652109360651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175762919,"filename":"image_31122025_09_09_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/729b91583c4abd60e2e010b1cc2beadc.jpg","text":"TemporaryFile(/tmp/multipartBody760270905463208667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175762919,"filename":"image_31122025_09_08_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac98c3769c8f62abd3f11c255e5bc0ef.jpg","text":"TemporaryFile(/tmp/multipartBody6101306793462660001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175762919,"filename":"image_31122025_09_08_34_9505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff02b5a152d10134e16da0910c021b98.jpg","text":"TemporaryFile(/tmp/multipartBody8080354097301863230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175762919,"filename":"image_31122025_09_08_45_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871170","file1":"1401871167","file0":"1401871164","file4":"1401871180","file5":"1401871185","file3":"1401871177"},"map_files_photo_id_array":[{"photo_id":"1401871185","filename":"file5"},{"photo_id":"1401871170","filename":"file2"},{"photo_id":"1401871180","filename":"file4"},{"photo_id":"1401871167","filename":"file1"},{"photo_id":"1401871164","filename":"file0"},{"photo_id":"1401871177","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401871180":["hashtag1","hashtag2"]},{"1401871177":["hashtag1","hashtag2"]},{"1401871185":["hashtag1","hashtag2"]},{"1401871170":["hashtag1","hashtag2"]},{"1401871164":["hashtag1","hashtag2"]},{"1401871167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401871180, 1401871177, 1401871185, 1401871170, 1401871164, 1401871167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86317324638367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:09:03.472183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/09/image_31122025_09_09_45_9566.jpg', '/home/pi/Desktop/images/31122025/09/09/image_31122025_09_09_54_9679.jpg', '/home/pi/Desktop/images/31122025/09/09/image_31122025_09_10_05_10720.jpg', '/home/pi/Desktop/images/31122025/09/10/image_31122025_09_10_34_9831.jpg', '/home/pi/Desktop/images/31122025/09/10/image_31122025_09_10_45_10618.jpg', '/home/pi/Desktop/images/31122025/09/10/image_31122025_09_10_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/09/image_31122025_09_09_45_9566.jpg
/home/pi/Desktop/images/31122025/09/09/image_31122025_09_09_54_9679.jpg
/home/pi/Desktop/images/31122025/09/09/image_31122025_09_10_05_10720.jpg
/home/pi/Desktop/images/31122025/09/10/image_31122025_09_10_34_9831.jpg
/home/pi/Desktop/images/31122025/09/10/image_31122025_09_10_45_10618.jpg
/home/pi/Desktop/images/31122025/09/10/image_31122025_09_10_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871211","1401871213","1401871207","1401871215","1401871209","1401871218"],"photo_ids_order":["1401871207","1401871209","1401871211","1401871213","1401871215","1401871218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b57076b1db8145a98313684b9c3b1e1d.jpg","text":"TemporaryFile(/tmp/multipartBody8940970533091493736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175804217,"filename":"image_31122025_09_10_05_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f73bcc620303bb5e3f4430ac8c5e3c24.jpg","text":"TemporaryFile(/tmp/multipartBody9049913955447474974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175804217,"filename":"image_31122025_09_10_34_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f260a5f0f3bbe73689445e921dfc2e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6595301292319676936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175804217,"filename":"image_31122025_09_09_45_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47db4e38fd1f837a68714f304f07aeb9.jpg","text":"TemporaryFile(/tmp/multipartBody5267572058714223864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175804217,"filename":"image_31122025_09_10_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d7e6774d5fd2aa4539bdd8bcc43dc95.jpg","text":"TemporaryFile(/tmp/multipartBody962513506980446666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175804217,"filename":"image_31122025_09_09_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c727908795be60d8d4255fb3e6c3055e.jpg","text":"TemporaryFile(/tmp/multipartBody6540740359176137610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175804217,"filename":"image_31122025_09_10_54_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871211","file1":"1401871209","file0":"1401871207","file4":"1401871215","file5":"1401871218","file3":"1401871213"},"map_files_photo_id_array":[{"photo_id":"1401871218","filename":"file5"},{"photo_id":"1401871211","filename":"file2"},{"photo_id":"1401871215","filename":"file4"},{"photo_id":"1401871209","filename":"file1"},{"photo_id":"1401871207","filename":"file0"},{"photo_id":"1401871213","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401871211":["hashtag1","hashtag2"]},{"1401871213":["hashtag1","hashtag2"]},{"1401871207":["hashtag1","hashtag2"]},{"1401871215":["hashtag1","hashtag2"]},{"1401871209":["hashtag1","hashtag2"]},{"1401871218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401871211, 1401871213, 1401871207, 1401871215, 1401871209, 1401871218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15047073364258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:09:42.577144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_30_2678.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_34_3799.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_47_13172.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_49_1557.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_50_1491.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_52_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_30_2678.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_34_3799.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_47_13172.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_49_1557.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_50_1491.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_52_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871262","1401871259","1401871261","1401871255","1401871228","1401871263"],"photo_ids_order":["1401871228","1401871255","1401871259","1401871261","1401871262","1401871263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df2188b2d36083857a1ebc6e5b4026de.jpg","text":"TemporaryFile(/tmp/multipartBody3082414666623472736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175844471,"filename":"image_03112025_17_55_50_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d8e119b052c0a50b75f75cd7504fd69.jpg","text":"TemporaryFile(/tmp/multipartBody3450351568958614270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175844471,"filename":"image_03112025_17_55_47_13172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e4a5138dc250b72bd6cf22fa813f2d7.jpg","text":"TemporaryFile(/tmp/multipartBody4284555117060999147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175844471,"filename":"image_03112025_17_55_49_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec9639a7ae92eeabe0a998167d44500f.jpg","text":"TemporaryFile(/tmp/multipartBody4090422329368785847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175844471,"filename":"image_03112025_17_55_34_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9828bfe8d93075bc8270659be1d8b86b.jpg","text":"TemporaryFile(/tmp/multipartBody2830859591116630308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175844471,"filename":"image_03112025_17_55_30_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be32b6b07c32996d63634fd764e2aa72.jpg","text":"TemporaryFile(/tmp/multipartBody3370849997648234012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175844471,"filename":"image_03112025_17_55_52_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871259","file1":"1401871255","file0":"1401871228","file4":"1401871262","file5":"1401871263","file3":"1401871261"},"map_files_photo_id_array":[{"photo_id":"1401871263","filename":"file5"},{"photo_id":"1401871259","filename":"file2"},{"photo_id":"1401871262","filename":"file4"},{"photo_id":"1401871255","filename":"file1"},{"photo_id":"1401871228","filename":"file0"},{"photo_id":"1401871261","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401871262":["hashtag1","hashtag2"]},{"1401871259":["hashtag1","hashtag2"]},{"1401871261":["hashtag1","hashtag2"]},{"1401871255":["hashtag1","hashtag2"]},{"1401871228":["hashtag1","hashtag2"]},{"1401871263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401871262, 1401871259, 1401871261, 1401871255, 1401871228, 1401871263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24410843849182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:10:22.745986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/10/image_31122025_09_11_05_10643.jpg', '/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_15_9615.jpg', '/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_24_9631.jpg', '/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_35_10727.jpg', '/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_45_9630.jpg', '/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_54_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/10/image_31122025_09_11_05_10643.jpg
/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_15_9615.jpg
/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_24_9631.jpg
/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_35_10727.jpg
/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_45_9630.jpg
/home/pi/Desktop/images/31122025/09/11/image_31122025_09_11_54_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871277","1401871285","1401871288","1401871293","1401871281","1401871290"],"photo_ids_order":["1401871277","1401871281","1401871285","1401871288","1401871290","1401871293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa698c5e2797aafc42b91c7046084ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4652635026022682746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175883324,"filename":"image_31122025_09_11_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb9dc63f2ef21d106051f65daa931add.jpg","text":"TemporaryFile(/tmp/multipartBody6837034230419457238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175883324,"filename":"image_31122025_09_11_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d52109c0c9135293bb5b5aab0d4dacd.jpg","text":"TemporaryFile(/tmp/multipartBody6254834271533921808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175883324,"filename":"image_31122025_09_11_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e269527a5982a93e2793e1e2736a09d3.jpg","text":"TemporaryFile(/tmp/multipartBody8153649611323220023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175883324,"filename":"image_31122025_09_11_54_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/372d5a125384e44524072b224c75df71.jpg","text":"TemporaryFile(/tmp/multipartBody10366333365713560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175883324,"filename":"image_31122025_09_11_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea91c9b6c3a509315ad1dcedbb94373f.jpg","text":"TemporaryFile(/tmp/multipartBody8654217907580168170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175883324,"filename":"image_31122025_09_11_45_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871285","file1":"1401871281","file0":"1401871277","file4":"1401871290","file5":"1401871293","file3":"1401871288"},"map_files_photo_id_array":[{"photo_id":"1401871293","filename":"file5"},{"photo_id":"1401871285","filename":"file2"},{"photo_id":"1401871290","filename":"file4"},{"photo_id":"1401871281","filename":"file1"},{"photo_id":"1401871277","filename":"file0"},{"photo_id":"1401871288","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401871277":["hashtag1","hashtag2"]},{"1401871285":["hashtag1","hashtag2"]},{"1401871288":["hashtag1","hashtag2"]},{"1401871293":["hashtag1","hashtag2"]},{"1401871281":["hashtag1","hashtag2"]},{"1401871290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401871277, 1401871285, 1401871288, 1401871293, 1401871281, 1401871290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7646210193634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:11:02.708254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/11/image_31122025_09_12_05_10725.jpg', '/home/pi/Desktop/images/31122025/09/12/image_31122025_09_12_15_9580.jpg', '/home/pi/Desktop/images/31122025/09/12/image_31122025_09_12_24_9736.jpg', '/home/pi/Desktop/images/31122025/09/12/image_31122025_09_12_54_9597.jpg', '/home/pi/Desktop/images/31122025/09/12/image_31122025_09_13_05_10653.jpg', '/home/pi/Desktop/images/31122025/09/13/image_31122025_09_13_15_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/11/image_31122025_09_12_05_10725.jpg
/home/pi/Desktop/images/31122025/09/12/image_31122025_09_12_15_9580.jpg
/home/pi/Desktop/images/31122025/09/12/image_31122025_09_12_24_9736.jpg
/home/pi/Desktop/images/31122025/09/12/image_31122025_09_12_54_9597.jpg
/home/pi/Desktop/images/31122025/09/12/image_31122025_09_13_05_10653.jpg
/home/pi/Desktop/images/31122025/09/13/image_31122025_09_13_15_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871304","1401871309","1401871300","1401871306","1401871298","1401871302"],"photo_ids_order":["1401871298","1401871300","1401871302","1401871304","1401871306","1401871309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ce0708fe9dd5162c0a49f680b545aed.jpg","text":"TemporaryFile(/tmp/multipartBody1540062226272990741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175923388,"filename":"image_31122025_09_12_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe77498aa46dc441206f51be330fca6d.jpg","text":"TemporaryFile(/tmp/multipartBody4300836289304906371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175923388,"filename":"image_31122025_09_13_15_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/495acf8f5ed2cfbf5fb21e5bb897ce84.jpg","text":"TemporaryFile(/tmp/multipartBody2407355663931944419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175923388,"filename":"image_31122025_09_12_15_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c30f16f5e232d7095d1ddae65fc0e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody1449871789019615434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175923388,"filename":"image_31122025_09_13_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e85e93339168c1ffceffb0a50d4e3516.jpg","text":"TemporaryFile(/tmp/multipartBody1459484429401316332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175923388,"filename":"image_31122025_09_12_05_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f35858fda4fea3cce7d9683b6b98ab70.jpg","text":"TemporaryFile(/tmp/multipartBody4787650579074292317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175923388,"filename":"image_31122025_09_12_24_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871302","file1":"1401871300","file0":"1401871298","file4":"1401871306","file5":"1401871309","file3":"1401871304"},"map_files_photo_id_array":[{"photo_id":"1401871309","filename":"file5"},{"photo_id":"1401871302","filename":"file2"},{"photo_id":"1401871306","filename":"file4"},{"photo_id":"1401871300","filename":"file1"},{"photo_id":"1401871298","filename":"file0"},{"photo_id":"1401871304","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401871304":["hashtag1","hashtag2"]},{"1401871309":["hashtag1","hashtag2"]},{"1401871300":["hashtag1","hashtag2"]},{"1401871306":["hashtag1","hashtag2"]},{"1401871298":["hashtag1","hashtag2"]},{"1401871302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401871304, 1401871309, 1401871300, 1401871306, 1401871298, 1401871302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59434151649475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:11:42.023181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_54_1748.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_55_1534.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_57_1644.jpg', '/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_59_1579.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_01_2500.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_04_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_54_1748.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_55_1534.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_57_1644.jpg
/home/pi/Desktop/images/03112025/17/55/image_03112025_17_55_59_1579.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_01_2500.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_04_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871415","1401871375","1401871328","1401871315","1401871341","1401871317"],"photo_ids_order":["1401871315","1401871317","1401871328","1401871341","1401871375","1401871415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/011e71e324a5378b6971427162ca8499.jpg","text":"TemporaryFile(/tmp/multipartBody7590555141346735146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175963914,"filename":"image_03112025_17_56_04_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d14efcdd4c5370d85741bc6b4e77bcd3.jpg","text":"TemporaryFile(/tmp/multipartBody4241289635981645947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175963914,"filename":"image_03112025_17_56_01_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72e2b20b39ec0fb49b737dfbff50fe5f.jpg","text":"TemporaryFile(/tmp/multipartBody1981102534717180042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175963914,"filename":"image_03112025_17_55_57_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8e8ce64c329820d048009b4fa9e9d14.jpg","text":"TemporaryFile(/tmp/multipartBody379402771676933603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175963914,"filename":"image_03112025_17_55_54_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1d7a7c39d36ae04b97a826278fd1759.jpg","text":"TemporaryFile(/tmp/multipartBody8452496220695864081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175963914,"filename":"image_03112025_17_55_59_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d0f2b4b4a186827908ff368cb25ba0d.jpg","text":"TemporaryFile(/tmp/multipartBody2387402573949785780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767175963914,"filename":"image_03112025_17_55_55_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871328","file1":"1401871317","file0":"1401871315","file4":"1401871375","file5":"1401871415","file3":"1401871341"},"map_files_photo_id_array":[{"photo_id":"1401871415","filename":"file5"},{"photo_id":"1401871328","filename":"file2"},{"photo_id":"1401871375","filename":"file4"},{"photo_id":"1401871317","filename":"file1"},{"photo_id":"1401871315","filename":"file0"},{"photo_id":"1401871341","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401871415":["hashtag1","hashtag2"]},{"1401871375":["hashtag1","hashtag2"]},{"1401871328":["hashtag1","hashtag2"]},{"1401871315":["hashtag1","hashtag2"]},{"1401871341":["hashtag1","hashtag2"]},{"1401871317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401871415, 1401871375, 1401871328, 1401871315, 1401871341, 1401871317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64094161987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:12:22.200579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/13/image_31122025_09_13_34_9794.jpg', '/home/pi/Desktop/images/31122025/09/13/image_31122025_09_13_44_9735.jpg', '/home/pi/Desktop/images/31122025/09/13/image_31122025_09_13_55_10572.jpg', '/home/pi/Desktop/images/31122025/09/13/image_31122025_09_14_04_9634.jpg', '/home/pi/Desktop/images/31122025/09/14/image_31122025_09_14_15_10661.jpg', '/home/pi/Desktop/images/31122025/09/14/image_31122025_09_14_34_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/13/image_31122025_09_13_34_9794.jpg
/home/pi/Desktop/images/31122025/09/13/image_31122025_09_13_44_9735.jpg
/home/pi/Desktop/images/31122025/09/13/image_31122025_09_13_55_10572.jpg
/home/pi/Desktop/images/31122025/09/13/image_31122025_09_14_04_9634.jpg
/home/pi/Desktop/images/31122025/09/14/image_31122025_09_14_15_10661.jpg
/home/pi/Desktop/images/31122025/09/14/image_31122025_09_14_34_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871559","1401871555","1401871548","1401871542","1401871551","1401871545"],"photo_ids_order":["1401871542","1401871545","1401871548","1401871551","1401871555","1401871559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71dc2ec05fe3dc74fac11066c938f394.jpg","text":"TemporaryFile(/tmp/multipartBody527773210644219603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176002780,"filename":"image_31122025_09_14_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6490ceeb222dcc9f5e7c784f82adf67e.jpg","text":"TemporaryFile(/tmp/multipartBody2492028974467396943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176002780,"filename":"image_31122025_09_14_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d08f402210f8468bdea7278816c82abb.jpg","text":"TemporaryFile(/tmp/multipartBody3992983146630883873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176002780,"filename":"image_31122025_09_13_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6ecf0d05bf41513f7dedd87d0b2d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody9215009964347182292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176002780,"filename":"image_31122025_09_13_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2256a4ac3aca1ee6aa03fd76d42c61f1.jpg","text":"TemporaryFile(/tmp/multipartBody8644963695936312766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176002780,"filename":"image_31122025_09_14_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81444ec6fabc42c32e22256e110e70c7.jpg","text":"TemporaryFile(/tmp/multipartBody4909964000916858133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176002780,"filename":"image_31122025_09_13_44_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871548","file1":"1401871545","file0":"1401871542","file4":"1401871555","file5":"1401871559","file3":"1401871551"},"map_files_photo_id_array":[{"photo_id":"1401871559","filename":"file5"},{"photo_id":"1401871548","filename":"file2"},{"photo_id":"1401871555","filename":"file4"},{"photo_id":"1401871545","filename":"file1"},{"photo_id":"1401871542","filename":"file0"},{"photo_id":"1401871551","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401871559":["hashtag1","hashtag2"]},{"1401871555":["hashtag1","hashtag2"]},{"1401871548":["hashtag1","hashtag2"]},{"1401871542":["hashtag1","hashtag2"]},{"1401871551":["hashtag1","hashtag2"]},{"1401871545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401871559, 1401871555, 1401871548, 1401871542, 1401871551, 1401871545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99632000923157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:13:03.918820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/14/image_31122025_09_14_45_10642.jpg', '/home/pi/Desktop/images/31122025/09/14/image_31122025_09_14_55_9646.jpg', '/home/pi/Desktop/images/31122025/09/14/image_31122025_09_15_04_9715.jpg', '/home/pi/Desktop/images/31122025/09/15/image_31122025_09_15_34_9668.jpg', '/home/pi/Desktop/images/31122025/09/15/image_31122025_09_15_45_10643.jpg', '/home/pi/Desktop/images/31122025/09/15/image_31122025_09_15_55_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/14/image_31122025_09_14_45_10642.jpg
/home/pi/Desktop/images/31122025/09/14/image_31122025_09_14_55_9646.jpg
/home/pi/Desktop/images/31122025/09/14/image_31122025_09_15_04_9715.jpg
/home/pi/Desktop/images/31122025/09/15/image_31122025_09_15_34_9668.jpg
/home/pi/Desktop/images/31122025/09/15/image_31122025_09_15_45_10643.jpg
/home/pi/Desktop/images/31122025/09/15/image_31122025_09_15_55_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871568","1401871570","1401871572","1401871581","1401871575","1401871578"],"photo_ids_order":["1401871568","1401871570","1401871572","1401871575","1401871578","1401871581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0755708e0fa9ba4ceb4765f441736138.jpg","text":"TemporaryFile(/tmp/multipartBody9083655311929240535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176046244,"filename":"image_31122025_09_14_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29e7cddfc01561c02ea22327a5436b75.jpg","text":"TemporaryFile(/tmp/multipartBody1997446295918441619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176046244,"filename":"image_31122025_09_14_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9ef27d2bee0e659808925a62ddc186f.jpg","text":"TemporaryFile(/tmp/multipartBody1017961938896620362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176046244,"filename":"image_31122025_09_15_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de3ac3f2b862c9f7eafae1794158ada1.jpg","text":"TemporaryFile(/tmp/multipartBody6570563575677416933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176046244,"filename":"image_31122025_09_15_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df7d30a0805ae758ed55feb3632fa2c5.jpg","text":"TemporaryFile(/tmp/multipartBody8319871358770033672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176046244,"filename":"image_31122025_09_15_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cda5e951f58ec802776c9b7d9edbc80.jpg","text":"TemporaryFile(/tmp/multipartBody36056471499391400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176046244,"filename":"image_31122025_09_15_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871572","file1":"1401871570","file0":"1401871568","file4":"1401871578","file5":"1401871581","file3":"1401871575"},"map_files_photo_id_array":[{"photo_id":"1401871581","filename":"file5"},{"photo_id":"1401871572","filename":"file2"},{"photo_id":"1401871578","filename":"file4"},{"photo_id":"1401871570","filename":"file1"},{"photo_id":"1401871568","filename":"file0"},{"photo_id":"1401871575","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401871568":["hashtag1","hashtag2"]},{"1401871570":["hashtag1","hashtag2"]},{"1401871572":["hashtag1","hashtag2"]},{"1401871581":["hashtag1","hashtag2"]},{"1401871575":["hashtag1","hashtag2"]},{"1401871578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401871568, 1401871570, 1401871572, 1401871581, 1401871575, 1401871578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0110719203949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:13:43.266688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_06_2612.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_10_3669.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_13_2603.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_16_3673.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_19_2760.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_22_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_06_2612.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_10_3669.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_13_2603.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_16_3673.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_19_2760.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_22_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871597","1401871593","1401871596","1401871595","1401871589","1401871598"],"photo_ids_order":["1401871589","1401871593","1401871595","1401871596","1401871597","1401871598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce33f9d6c9ccdce2b0b9abd407dd1b97.jpg","text":"TemporaryFile(/tmp/multipartBody2739996278972446962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176085186,"filename":"image_03112025_17_56_19_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8df9788fd423c30e42efe2edce506015.jpg","text":"TemporaryFile(/tmp/multipartBody4528872447102595661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176085186,"filename":"image_03112025_17_56_10_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdfeda0c451927317126a820ea0d2915.jpg","text":"TemporaryFile(/tmp/multipartBody96504384094065145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176085186,"filename":"image_03112025_17_56_16_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18f64568df57239fe7009ae4f4b9fc10.jpg","text":"TemporaryFile(/tmp/multipartBody512223648701196877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176085186,"filename":"image_03112025_17_56_13_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce1366f050df297e6b0d0bb68ba2d4df.jpg","text":"TemporaryFile(/tmp/multipartBody8667613942885376889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176085186,"filename":"image_03112025_17_56_06_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/670a467e5cd37bcbabfe554e83aa4a6f.jpg","text":"TemporaryFile(/tmp/multipartBody6604560769555658878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176085186,"filename":"image_03112025_17_56_22_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871595","file1":"1401871593","file0":"1401871589","file4":"1401871597","file5":"1401871598","file3":"1401871596"},"map_files_photo_id_array":[{"photo_id":"1401871598","filename":"file5"},{"photo_id":"1401871595","filename":"file2"},{"photo_id":"1401871597","filename":"file4"},{"photo_id":"1401871593","filename":"file1"},{"photo_id":"1401871589","filename":"file0"},{"photo_id":"1401871596","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401871597":["hashtag1","hashtag2"]},{"1401871593":["hashtag1","hashtag2"]},{"1401871596":["hashtag1","hashtag2"]},{"1401871595":["hashtag1","hashtag2"]},{"1401871589":["hashtag1","hashtag2"]},{"1401871598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401871597, 1401871593, 1401871596, 1401871595, 1401871589, 1401871598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02964472770691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:14:22.356584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_25_9689.jpg', '/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_45_10703.jpg', '/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_55_9855.jpg', '/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_14_9794.jpg', '/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_25_10690.jpg', '/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_35_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_25_9689.jpg
/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_45_10703.jpg
/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_55_9855.jpg
/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_14_9794.jpg
/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_25_10690.jpg
/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_35_9842.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4458158016204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:14:32.642590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_25_3658.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_43_17708.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_55_11815.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_56_1628.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_58_1612.jpg', '/home/pi/Desktop/images/03112025/17/56/image_03112025_17_57_00_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_25_3658.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_43_17708.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_55_11815.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_56_1628.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_56_58_1612.jpg
/home/pi/Desktop/images/03112025/17/56/image_03112025_17_57_00_1696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871616","1401871645","1401871630","1401871641","1401871644","1401871611"],"photo_ids_order":["1401871611","1401871616","1401871630","1401871641","1401871644","1401871645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec1029d52b6a8293fd23693dc6ad7b08.jpg","text":"TemporaryFile(/tmp/multipartBody6776916870400131561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176134531,"filename":"image_03112025_17_56_43_17708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2752672b228099969d62a49dcb735ef5.jpg","text":"TemporaryFile(/tmp/multipartBody959738356103033616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176134531,"filename":"image_03112025_17_57_00_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fea1990aac441dbd4a0b5c95ebf242b.jpg","text":"TemporaryFile(/tmp/multipartBody3441075285373613402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176134531,"filename":"image_03112025_17_56_55_11815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93e09d5cd48dbe00b2a76e56821a648e.jpg","text":"TemporaryFile(/tmp/multipartBody6256132403625876632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176134531,"filename":"image_03112025_17_56_56_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d0821fde3d50f62cb36025df21e37ce.jpg","text":"TemporaryFile(/tmp/multipartBody7373958593223114056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176134531,"filename":"image_03112025_17_56_58_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbfbb65c7f8c39c4286e22bf8271c141.jpg","text":"TemporaryFile(/tmp/multipartBody706764516402212656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176134531,"filename":"image_03112025_17_56_25_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871630","file1":"1401871616","file0":"1401871611","file4":"1401871644","file5":"1401871645","file3":"1401871641"},"map_files_photo_id_array":[{"photo_id":"1401871645","filename":"file5"},{"photo_id":"1401871630","filename":"file2"},{"photo_id":"1401871644","filename":"file4"},{"photo_id":"1401871616","filename":"file1"},{"photo_id":"1401871611","filename":"file0"},{"photo_id":"1401871641","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401871616":["hashtag1","hashtag2"]},{"1401871645":["hashtag1","hashtag2"]},{"1401871630":["hashtag1","hashtag2"]},{"1401871641":["hashtag1","hashtag2"]},{"1401871644":["hashtag1","hashtag2"]},{"1401871611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401871616, 1401871645, 1401871630, 1401871641, 1401871644, 1401871611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.087592363357544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:15:12.623802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_01_1576.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_03_1720.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_05_1631.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_06_1538.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_08_1752.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_10_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_01_1576.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_03_1720.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_05_1631.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_06_1538.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_08_1752.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_10_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871655","1401871649","1401871651","1401871648","1401871653","1401871656"],"photo_ids_order":["1401871648","1401871649","1401871651","1401871653","1401871655","1401871656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d39e92bf29c4a843f4c0288694b839b6.jpg","text":"TemporaryFile(/tmp/multipartBody1797135924292617614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176174407,"filename":"image_03112025_17_57_08_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88e98697df2fb2f6e8b1ef22c204d923.jpg","text":"TemporaryFile(/tmp/multipartBody298056647689750872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176174407,"filename":"image_03112025_17_57_03_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cab8172fde8045f0d4ee8a597da2eed.jpg","text":"TemporaryFile(/tmp/multipartBody5542177867470074032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176174407,"filename":"image_03112025_17_57_05_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a33fbe12b1819aac2872be5a88de631b.jpg","text":"TemporaryFile(/tmp/multipartBody2373176201183588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176174407,"filename":"image_03112025_17_57_01_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eae8d060ab4d2cd2e18957ef3ec98a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8417713694552136816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176174407,"filename":"image_03112025_17_57_06_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5d2b135c729e3d97b5b452a08d666b7.jpg","text":"TemporaryFile(/tmp/multipartBody181405954471190389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176174407,"filename":"image_03112025_17_57_10_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871651","file1":"1401871649","file0":"1401871648","file4":"1401871655","file5":"1401871656","file3":"1401871653"},"map_files_photo_id_array":[{"photo_id":"1401871656","filename":"file5"},{"photo_id":"1401871651","filename":"file2"},{"photo_id":"1401871655","filename":"file4"},{"photo_id":"1401871649","filename":"file1"},{"photo_id":"1401871648","filename":"file0"},{"photo_id":"1401871653","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401871655":["hashtag1","hashtag2"]},{"1401871649":["hashtag1","hashtag2"]},{"1401871651":["hashtag1","hashtag2"]},{"1401871648":["hashtag1","hashtag2"]},{"1401871653":["hashtag1","hashtag2"]},{"1401871656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401871655, 1401871649, 1401871651, 1401871648, 1401871653, 1401871656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6633620262146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:16:03.288380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_25_9689.jpg', '/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_45_10703.jpg', '/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_55_9855.jpg', '/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_14_9794.jpg', '/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_25_10690.jpg', '/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_35_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_25_9689.jpg
/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_45_10703.jpg
/home/pi/Desktop/images/31122025/09/16/image_31122025_09_16_55_9855.jpg
/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_14_9794.jpg
/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_25_10690.jpg
/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_35_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871699","1401871703","1401871683","1401871686","1401871662","1401871701"],"photo_ids_order":["1401871662","1401871683","1401871686","1401871699","1401871701","1401871703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bee39e14711b09535424eafd30ee575.jpg","text":"TemporaryFile(/tmp/multipartBody4749583559780475325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176223901,"filename":"image_31122025_09_17_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fb1ac54c318acf3c394bdffc09fd7dc.jpg","text":"TemporaryFile(/tmp/multipartBody6512900471321277452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176223901,"filename":"image_31122025_09_17_35_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b007b20e128867b64fdfa4ea69ccd8a.jpg","text":"TemporaryFile(/tmp/multipartBody7301589328185502998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176223901,"filename":"image_31122025_09_16_45_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2c2417f29649baecc74f1d273daceea.jpg","text":"TemporaryFile(/tmp/multipartBody143226502286303257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176223901,"filename":"image_31122025_09_16_55_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ecdfd9ad95e3d74866c990427915c0f.jpg","text":"TemporaryFile(/tmp/multipartBody471515052361869239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176223901,"filename":"image_31122025_09_16_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2abb17ae66b0f8a6c83b01f4c71c098f.jpg","text":"TemporaryFile(/tmp/multipartBody3419999585951720734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176223901,"filename":"image_31122025_09_17_25_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871686","file1":"1401871683","file0":"1401871662","file4":"1401871701","file5":"1401871703","file3":"1401871699"},"map_files_photo_id_array":[{"photo_id":"1401871703","filename":"file5"},{"photo_id":"1401871686","filename":"file2"},{"photo_id":"1401871701","filename":"file4"},{"photo_id":"1401871683","filename":"file1"},{"photo_id":"1401871662","filename":"file0"},{"photo_id":"1401871699","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401871699":["hashtag1","hashtag2"]},{"1401871703":["hashtag1","hashtag2"]},{"1401871683":["hashtag1","hashtag2"]},{"1401871686":["hashtag1","hashtag2"]},{"1401871662":["hashtag1","hashtag2"]},{"1401871701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401871699, 1401871703, 1401871683, 1401871686, 1401871662, 1401871701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81015348434448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:16:42.719769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_11_1690.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_13_1599.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_15_1654.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_16_1545.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_18_1724.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_20_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_11_1690.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_13_1599.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_15_1654.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_16_1545.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_18_1724.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_20_1755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871739","1401871730","1401871735","1401871738","1401871720","1401871719"],"photo_ids_order":["1401871719","1401871720","1401871730","1401871735","1401871738","1401871739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20ca9e6dba8640b8a098aeba316c62ff.jpg","text":"TemporaryFile(/tmp/multipartBody7891265948122987173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176264487,"filename":"image_03112025_17_57_20_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a811caee864b73bb6446e40e9b3b791.jpg","text":"TemporaryFile(/tmp/multipartBody4675303099841682267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176264487,"filename":"image_03112025_17_57_15_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b437c80a434f10838f476606c164b5fb.jpg","text":"TemporaryFile(/tmp/multipartBody1820354813476255766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176264487,"filename":"image_03112025_17_57_16_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91eabd4072c3b4ecf6b0b17ff33d7496.jpg","text":"TemporaryFile(/tmp/multipartBody5907540494327924450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176264487,"filename":"image_03112025_17_57_18_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36521e0445bf61fbda137249d7a12468.jpg","text":"TemporaryFile(/tmp/multipartBody3454028146910332259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176264487,"filename":"image_03112025_17_57_13_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37e403d07d54c39d29a43ce22b19ea94.jpg","text":"TemporaryFile(/tmp/multipartBody5072572781459620066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176264487,"filename":"image_03112025_17_57_11_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871730","file1":"1401871720","file0":"1401871719","file4":"1401871738","file5":"1401871739","file3":"1401871735"},"map_files_photo_id_array":[{"photo_id":"1401871739","filename":"file5"},{"photo_id":"1401871730","filename":"file2"},{"photo_id":"1401871738","filename":"file4"},{"photo_id":"1401871720","filename":"file1"},{"photo_id":"1401871719","filename":"file0"},{"photo_id":"1401871735","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401871739":["hashtag1","hashtag2"]},{"1401871730":["hashtag1","hashtag2"]},{"1401871735":["hashtag1","hashtag2"]},{"1401871738":["hashtag1","hashtag2"]},{"1401871720":["hashtag1","hashtag2"]},{"1401871719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401871739, 1401871730, 1401871735, 1401871738, 1401871720, 1401871719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24847197532654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:17:22.005912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_45_9669.jpg', '/home/pi/Desktop/images/31122025/09/17/image_31122025_09_18_05_10871.jpg', '/home/pi/Desktop/images/31122025/09/18/image_31122025_09_18_15_9747.jpg', '/home/pi/Desktop/images/31122025/09/18/image_31122025_09_18_25_9788.jpg', '/home/pi/Desktop/images/31122025/09/18/image_31122025_09_18_34_9787.jpg', '/home/pi/Desktop/images/31122025/09/18/image_31122025_09_18_55_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/17/image_31122025_09_17_45_9669.jpg
/home/pi/Desktop/images/31122025/09/17/image_31122025_09_18_05_10871.jpg
/home/pi/Desktop/images/31122025/09/18/image_31122025_09_18_15_9747.jpg
/home/pi/Desktop/images/31122025/09/18/image_31122025_09_18_25_9788.jpg
/home/pi/Desktop/images/31122025/09/18/image_31122025_09_18_34_9787.jpg
/home/pi/Desktop/images/31122025/09/18/image_31122025_09_18_55_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401871931","1401871891","1401871933","1401871855","1401871936","1401871924"],"photo_ids_order":["1401871855","1401871891","1401871924","1401871931","1401871933","1401871936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fe91eada94db772a197a8c5c6d36df3.jpg","text":"TemporaryFile(/tmp/multipartBody1099854734339187444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176302587,"filename":"image_31122025_09_18_25_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c55c0c9e6e8f52ff294f92750044fa27.jpg","text":"TemporaryFile(/tmp/multipartBody1658004757827459335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176302587,"filename":"image_31122025_09_18_05_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/037829a1462ca5096fec640fda72008d.jpg","text":"TemporaryFile(/tmp/multipartBody4400552989242434412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176302587,"filename":"image_31122025_09_18_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf06a9508b3d25909d5a391a1d1f59d2.jpg","text":"TemporaryFile(/tmp/multipartBody4638488898895377163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176302587,"filename":"image_31122025_09_17_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b05e022517fe7ba83d862755a6d8fa18.jpg","text":"TemporaryFile(/tmp/multipartBody4756340531384596656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176302587,"filename":"image_31122025_09_18_55_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9caede80513093b3126f00183810d79d.jpg","text":"TemporaryFile(/tmp/multipartBody2395670012898610013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176302587,"filename":"image_31122025_09_18_15_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401871924","file1":"1401871891","file0":"1401871855","file4":"1401871933","file5":"1401871936","file3":"1401871931"},"map_files_photo_id_array":[{"photo_id":"1401871936","filename":"file5"},{"photo_id":"1401871924","filename":"file2"},{"photo_id":"1401871933","filename":"file4"},{"photo_id":"1401871891","filename":"file1"},{"photo_id":"1401871855","filename":"file0"},{"photo_id":"1401871931","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401871931":["hashtag1","hashtag2"]},{"1401871891":["hashtag1","hashtag2"]},{"1401871933":["hashtag1","hashtag2"]},{"1401871855":["hashtag1","hashtag2"]},{"1401871936":["hashtag1","hashtag2"]},{"1401871924":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401871931, 1401871891, 1401871933, 1401871855, 1401871936, 1401871924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24698829650879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:18:02.640482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/19/image_31122025_09_19_15_10702.jpg', '/home/pi/Desktop/images/31122025/09/19/image_31122025_09_19_34_9571.jpg', '/home/pi/Desktop/images/31122025/09/19/image_31122025_09_19_45_10556.jpg', '/home/pi/Desktop/images/31122025/09/20/image_31122025_09_20_25_10900.jpg', '/home/pi/Desktop/images/31122025/09/20/image_31122025_09_21_04_9945.jpg', '/home/pi/Desktop/images/31122025/09/21/image_31122025_09_21_45_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/19/image_31122025_09_19_15_10702.jpg
/home/pi/Desktop/images/31122025/09/19/image_31122025_09_19_34_9571.jpg
/home/pi/Desktop/images/31122025/09/19/image_31122025_09_19_45_10556.jpg
/home/pi/Desktop/images/31122025/09/20/image_31122025_09_20_25_10900.jpg
/home/pi/Desktop/images/31122025/09/20/image_31122025_09_21_04_9945.jpg
/home/pi/Desktop/images/31122025/09/21/image_31122025_09_21_45_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401872006","1401872009","1401872079","1401872037","1401872010","1401872028"],"photo_ids_order":["1401872006","1401872009","1401872010","1401872028","1401872037","1401872079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ab6eb001b2b576e21a36825037a2954.jpg","text":"TemporaryFile(/tmp/multipartBody4050918865231450855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176343219,"filename":"image_31122025_09_19_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b227106ab8c06ba02d582ae4d7d07c47.jpg","text":"TemporaryFile(/tmp/multipartBody8516170202713154512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176343219,"filename":"image_31122025_09_19_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2bad606adec5e23c3656bfbf6c3a233.jpg","text":"TemporaryFile(/tmp/multipartBody6901084099243655446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176343219,"filename":"image_31122025_09_21_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe6ab11de757e9c2924d246c29363760.jpg","text":"TemporaryFile(/tmp/multipartBody2220022122386708096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176343219,"filename":"image_31122025_09_21_04_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f154b2b67127318d70d5a95814a15821.jpg","text":"TemporaryFile(/tmp/multipartBody8832448340644618240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176343219,"filename":"image_31122025_09_19_45_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14b0c59d15ae1b229e9f0ab9f2df8f52.jpg","text":"TemporaryFile(/tmp/multipartBody5770893697843004336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176343219,"filename":"image_31122025_09_20_25_10900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401872010","file1":"1401872009","file0":"1401872006","file4":"1401872037","file5":"1401872079","file3":"1401872028"},"map_files_photo_id_array":[{"photo_id":"1401872079","filename":"file5"},{"photo_id":"1401872010","filename":"file2"},{"photo_id":"1401872037","filename":"file4"},{"photo_id":"1401872009","filename":"file1"},{"photo_id":"1401872006","filename":"file0"},{"photo_id":"1401872028","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401872006":["hashtag1","hashtag2"]},{"1401872009":["hashtag1","hashtag2"]},{"1401872079":["hashtag1","hashtag2"]},{"1401872037":["hashtag1","hashtag2"]},{"1401872010":["hashtag1","hashtag2"]},{"1401872028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401872006, 1401872009, 1401872079, 1401872037, 1401872010, 1401872028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79043173789978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:18:42.204319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_21_1582.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_23_1613.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_24_1661.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_28_3645.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_31_2715.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_33_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_21_1582.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_23_1613.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_24_1661.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_28_3645.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_31_2715.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_33_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401872237","1401872209","1401872256","1401872241","1401872235","1401872247"],"photo_ids_order":["1401872209","1401872235","1401872237","1401872241","1401872247","1401872256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3973a3358ee70cd66866435b129bd35.jpg","text":"TemporaryFile(/tmp/multipartBody3113559450372907426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176384053,"filename":"image_03112025_17_57_24_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd2dbfdfdd68cb13fc946d2a5de71b3c.jpg","text":"TemporaryFile(/tmp/multipartBody5038840424755900933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176384053,"filename":"image_03112025_17_57_21_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9a83118c388904ecdcbc1bdb1b8cb4f.jpg","text":"TemporaryFile(/tmp/multipartBody3478594461078293880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176384053,"filename":"image_03112025_17_57_33_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed4b7dd89c074904a3881505e9e7c5dc.jpg","text":"TemporaryFile(/tmp/multipartBody6077982466211809018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176384053,"filename":"image_03112025_17_57_28_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dbec655d720e64190da6ad63304c9c2.jpg","text":"TemporaryFile(/tmp/multipartBody9221724586834735263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176384053,"filename":"image_03112025_17_57_23_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57e63be2f22cde5168084103cfc5cab9.jpg","text":"TemporaryFile(/tmp/multipartBody5143895075682386598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176384053,"filename":"image_03112025_17_57_31_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401872237","file1":"1401872235","file0":"1401872209","file4":"1401872247","file5":"1401872256","file3":"1401872241"},"map_files_photo_id_array":[{"photo_id":"1401872256","filename":"file5"},{"photo_id":"1401872237","filename":"file2"},{"photo_id":"1401872247","filename":"file4"},{"photo_id":"1401872235","filename":"file1"},{"photo_id":"1401872209","filename":"file0"},{"photo_id":"1401872241","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401872237":["hashtag1","hashtag2"]},{"1401872209":["hashtag1","hashtag2"]},{"1401872256":["hashtag1","hashtag2"]},{"1401872241":["hashtag1","hashtag2"]},{"1401872235":["hashtag1","hashtag2"]},{"1401872247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401872237, 1401872209, 1401872256, 1401872241, 1401872235, 1401872247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14195442199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:19:22.465814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/22/image_31122025_09_22_34_9652.jpg', '/home/pi/Desktop/images/31122025/09/22/image_31122025_09_22_45_10805.jpg', '/home/pi/Desktop/images/31122025/09/22/image_31122025_09_22_54_9337.jpg', '/home/pi/Desktop/images/31122025/09/23/image_31122025_09_23_15_9744.jpg', '/home/pi/Desktop/images/31122025/09/23/image_31122025_09_23_24_9663.jpg', '/home/pi/Desktop/images/31122025/09/23/image_31122025_09_23_34_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/22/image_31122025_09_22_34_9652.jpg
/home/pi/Desktop/images/31122025/09/22/image_31122025_09_22_45_10805.jpg
/home/pi/Desktop/images/31122025/09/22/image_31122025_09_22_54_9337.jpg
/home/pi/Desktop/images/31122025/09/23/image_31122025_09_23_15_9744.jpg
/home/pi/Desktop/images/31122025/09/23/image_31122025_09_23_24_9663.jpg
/home/pi/Desktop/images/31122025/09/23/image_31122025_09_23_34_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401872275","1401872269","1401872263","1401872271","1401872265","1401872259"],"photo_ids_order":["1401872259","1401872263","1401872265","1401872269","1401872271","1401872275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33df2a22ebbba9bf796a0e2b341c2019.jpg","text":"TemporaryFile(/tmp/multipartBody8175554536271867220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176423043,"filename":"image_31122025_09_23_34_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf2f338ef88a47b150faa9ddce368f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8398993797494209830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176423043,"filename":"image_31122025_09_23_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43fa63ac1a1bca8eb230a0ccba103adb.jpg","text":"TemporaryFile(/tmp/multipartBody5087698748383279353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176423043,"filename":"image_31122025_09_22_45_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/318647df32ef26d0abb3598dbdb6858f.jpg","text":"TemporaryFile(/tmp/multipartBody1379112889839300749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176423043,"filename":"image_31122025_09_23_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10bdb09a06c4415e64b6d92cddc498d0.jpg","text":"TemporaryFile(/tmp/multipartBody5181774396014052218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176423043,"filename":"image_31122025_09_22_54_9337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb758ea10b89ab4558801927f409fe22.jpg","text":"TemporaryFile(/tmp/multipartBody3283745846890157952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176423043,"filename":"image_31122025_09_22_34_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401872265","file1":"1401872263","file0":"1401872259","file4":"1401872271","file5":"1401872275","file3":"1401872269"},"map_files_photo_id_array":[{"photo_id":"1401872275","filename":"file5"},{"photo_id":"1401872265","filename":"file2"},{"photo_id":"1401872271","filename":"file4"},{"photo_id":"1401872263","filename":"file1"},{"photo_id":"1401872259","filename":"file0"},{"photo_id":"1401872269","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401872275":["hashtag1","hashtag2"]},{"1401872269":["hashtag1","hashtag2"]},{"1401872263":["hashtag1","hashtag2"]},{"1401872271":["hashtag1","hashtag2"]},{"1401872265":["hashtag1","hashtag2"]},{"1401872259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401872275, 1401872269, 1401872263, 1401872271, 1401872265, 1401872259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73107838630676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:20:03.148923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/23/image_31122025_09_24_05_10628.jpg', '/home/pi/Desktop/images/31122025/09/24/image_31122025_09_24_45_10726.jpg', '/home/pi/Desktop/images/31122025/09/24/image_31122025_09_24_54_9535.jpg', '/home/pi/Desktop/images/31122025/09/25/image_31122025_09_25_24_9616.jpg', '/home/pi/Desktop/images/31122025/09/25/image_31122025_09_25_45_10176.jpg', '/home/pi/Desktop/images/31122025/09/25/image_31122025_09_26_04_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/23/image_31122025_09_24_05_10628.jpg
/home/pi/Desktop/images/31122025/09/24/image_31122025_09_24_45_10726.jpg
/home/pi/Desktop/images/31122025/09/24/image_31122025_09_24_54_9535.jpg
/home/pi/Desktop/images/31122025/09/25/image_31122025_09_25_24_9616.jpg
/home/pi/Desktop/images/31122025/09/25/image_31122025_09_25_45_10176.jpg
/home/pi/Desktop/images/31122025/09/25/image_31122025_09_26_04_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401872423","1401872464","1401872346","1401872355","1401872505","1401872381"],"photo_ids_order":["1401872346","1401872355","1401872381","1401872423","1401872464","1401872505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47018022df0c5fad93941d748c0821ce.jpg","text":"TemporaryFile(/tmp/multipartBody2703329038937193840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176463775,"filename":"image_31122025_09_25_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85a4e0216477bdb6e1f143732346c013.jpg","text":"TemporaryFile(/tmp/multipartBody8564228758211559046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176463775,"filename":"image_31122025_09_25_45_10176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44547ea405fc07f492e1f768e3093ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6094653837019744138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176463775,"filename":"image_31122025_09_24_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/732ea00d4dbe82216eb41abcbc87754b.jpg","text":"TemporaryFile(/tmp/multipartBody782094435201763461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176463775,"filename":"image_31122025_09_24_45_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f868e6f0e85f2f2ee1a8d6a0089e3f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1791470573232166429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176463775,"filename":"image_31122025_09_26_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb6729868e8c82a242255100e8e776ac.jpg","text":"TemporaryFile(/tmp/multipartBody6289675441872558918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176463775,"filename":"image_31122025_09_24_54_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401872381","file1":"1401872355","file0":"1401872346","file4":"1401872464","file5":"1401872505","file3":"1401872423"},"map_files_photo_id_array":[{"photo_id":"1401872505","filename":"file5"},{"photo_id":"1401872381","filename":"file2"},{"photo_id":"1401872464","filename":"file4"},{"photo_id":"1401872355","filename":"file1"},{"photo_id":"1401872346","filename":"file0"},{"photo_id":"1401872423","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401872423":["hashtag1","hashtag2"]},{"1401872464":["hashtag1","hashtag2"]},{"1401872346":["hashtag1","hashtag2"]},{"1401872355":["hashtag1","hashtag2"]},{"1401872505":["hashtag1","hashtag2"]},{"1401872381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401872423, 1401872464, 1401872346, 1401872355, 1401872505, 1401872381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53299069404602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:20:42.660447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_36_2909.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_40_3629.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_43_2560.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_46_3577.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_49_2553.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_51_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_36_2909.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_40_3629.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_43_2560.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_46_3577.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_49_2553.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_51_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401872677","1401872713","1401872629","1401872712","1401872721","1401872718"],"photo_ids_order":["1401872629","1401872677","1401872712","1401872713","1401872718","1401872721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edd4f7a1bb7972e79fd08caced7a69e3.jpg","text":"TemporaryFile(/tmp/multipartBody98661408779337355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176504760,"filename":"image_03112025_17_57_40_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cf9aea3e7337f9341d8564ee4a4d94e.jpg","text":"TemporaryFile(/tmp/multipartBody4344058308900329523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176504760,"filename":"image_03112025_17_57_46_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56c28da2bce9f14e9f4579bacfdd4592.jpg","text":"TemporaryFile(/tmp/multipartBody8100754232444446768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176504760,"filename":"image_03112025_17_57_36_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ddbc83066e22bf86a84055774b9a98b.jpg","text":"TemporaryFile(/tmp/multipartBody5516143613102332793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176504760,"filename":"image_03112025_17_57_43_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11cb82ed4b61e8dd767f6af4ee583272.jpg","text":"TemporaryFile(/tmp/multipartBody5032317764183553416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176504760,"filename":"image_03112025_17_57_51_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf8d1e8ab4b39d14a23760c46b21167b.jpg","text":"TemporaryFile(/tmp/multipartBody6051182051581933778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176504760,"filename":"image_03112025_17_57_49_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401872712","file1":"1401872677","file0":"1401872629","file4":"1401872718","file5":"1401872721","file3":"1401872713"},"map_files_photo_id_array":[{"photo_id":"1401872721","filename":"file5"},{"photo_id":"1401872712","filename":"file2"},{"photo_id":"1401872718","filename":"file4"},{"photo_id":"1401872677","filename":"file1"},{"photo_id":"1401872629","filename":"file0"},{"photo_id":"1401872713","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401872677":["hashtag1","hashtag2"]},{"1401872713":["hashtag1","hashtag2"]},{"1401872629":["hashtag1","hashtag2"]},{"1401872712":["hashtag1","hashtag2"]},{"1401872721":["hashtag1","hashtag2"]},{"1401872718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401872677, 1401872713, 1401872629, 1401872712, 1401872721, 1401872718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.979045391082764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:21:22.840062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/26/image_31122025_09_26_34_9720.jpg', '/home/pi/Desktop/images/31122025/09/26/image_31122025_09_27_05_9630.jpg', '/home/pi/Desktop/images/31122025/09/27/image_31122025_09_27_14_9635.jpg', '/home/pi/Desktop/images/31122025/09/27/image_31122025_09_27_25_10732.jpg', '/home/pi/Desktop/images/31122025/09/27/image_31122025_09_27_35_9626.jpg', '/home/pi/Desktop/images/31122025/09/27/image_31122025_09_28_05_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/26/image_31122025_09_26_34_9720.jpg
/home/pi/Desktop/images/31122025/09/26/image_31122025_09_27_05_9630.jpg
/home/pi/Desktop/images/31122025/09/27/image_31122025_09_27_14_9635.jpg
/home/pi/Desktop/images/31122025/09/27/image_31122025_09_27_25_10732.jpg
/home/pi/Desktop/images/31122025/09/27/image_31122025_09_27_35_9626.jpg
/home/pi/Desktop/images/31122025/09/27/image_31122025_09_28_05_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401872726","1401872731","1401872737","1401872733","1401872735","1401872729"],"photo_ids_order":["1401872726","1401872729","1401872731","1401872733","1401872735","1401872737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/933fa056e0c2b9729ec2de9ee9ef81ef.jpg","text":"TemporaryFile(/tmp/multipartBody6142525464950260216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176543427,"filename":"image_31122025_09_26_34_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce0aae855dca3df71d091a232d0ec8b1.jpg","text":"TemporaryFile(/tmp/multipartBody5736091117740978385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176543427,"filename":"image_31122025_09_27_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13c4ae912796a1ca4805fae61b8b7e72.jpg","text":"TemporaryFile(/tmp/multipartBody8632105423630028825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176543427,"filename":"image_31122025_09_28_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2f59d8d9e3875607cddf9986c386a11.jpg","text":"TemporaryFile(/tmp/multipartBody8455624693684037264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176543427,"filename":"image_31122025_09_27_25_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dafb75cf2c557395f41783764f6ae23.jpg","text":"TemporaryFile(/tmp/multipartBody5008634057057415122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176543427,"filename":"image_31122025_09_27_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2b6cecc8ed2f76f7da3057849cd0f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1037118048403212151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176543427,"filename":"image_31122025_09_27_05_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401872731","file1":"1401872729","file0":"1401872726","file4":"1401872735","file5":"1401872737","file3":"1401872733"},"map_files_photo_id_array":[{"photo_id":"1401872737","filename":"file5"},{"photo_id":"1401872731","filename":"file2"},{"photo_id":"1401872735","filename":"file4"},{"photo_id":"1401872729","filename":"file1"},{"photo_id":"1401872726","filename":"file0"},{"photo_id":"1401872733","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401872726":["hashtag1","hashtag2"]},{"1401872731":["hashtag1","hashtag2"]},{"1401872737":["hashtag1","hashtag2"]},{"1401872733":["hashtag1","hashtag2"]},{"1401872735":["hashtag1","hashtag2"]},{"1401872729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401872726, 1401872731, 1401872737, 1401872733, 1401872735, 1401872729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8471565246582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:22:02.307259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_14_9674.jpg', '/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_25_10797.jpg', '/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_35_9579.jpg', '/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_44_9685.jpg', '/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_55_10835.jpg', '/home/pi/Desktop/images/31122025/09/28/image_31122025_09_29_05_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_14_9674.jpg
/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_25_10797.jpg
/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_35_9579.jpg
/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_44_9685.jpg
/home/pi/Desktop/images/31122025/09/28/image_31122025_09_28_55_10835.jpg
/home/pi/Desktop/images/31122025/09/28/image_31122025_09_29_05_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401872804","1401872743","1401872763","1401872742","1401872844","1401872745"],"photo_ids_order":["1401872742","1401872743","1401872745","1401872763","1401872804","1401872844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4d87047cf421c8707fa9eb947f4c81d.jpg","text":"TemporaryFile(/tmp/multipartBody4745553846656945791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176582970,"filename":"image_31122025_09_28_55_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc9e4f2b9daa29d1fe266a6aa996f732.jpg","text":"TemporaryFile(/tmp/multipartBody2622927676126154304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176582970,"filename":"image_31122025_09_28_25_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/258beb0c306ecb9178914f29656fd296.jpg","text":"TemporaryFile(/tmp/multipartBody3860407746862633432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176582970,"filename":"image_31122025_09_28_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00ebed38990da14b0298d6a32abe73f7.jpg","text":"TemporaryFile(/tmp/multipartBody861273873400979224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176582970,"filename":"image_31122025_09_28_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/559aa09caf422e29d5a0e680ba3887f3.jpg","text":"TemporaryFile(/tmp/multipartBody6653742693954245167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176582970,"filename":"image_31122025_09_29_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5eee1a1a8b37a0539278be93fbcb383.jpg","text":"TemporaryFile(/tmp/multipartBody1709051373405640474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176582970,"filename":"image_31122025_09_28_35_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401872745","file1":"1401872743","file0":"1401872742","file4":"1401872804","file5":"1401872844","file3":"1401872763"},"map_files_photo_id_array":[{"photo_id":"1401872844","filename":"file5"},{"photo_id":"1401872745","filename":"file2"},{"photo_id":"1401872804","filename":"file4"},{"photo_id":"1401872743","filename":"file1"},{"photo_id":"1401872742","filename":"file0"},{"photo_id":"1401872763","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401872804":["hashtag1","hashtag2"]},{"1401872743":["hashtag1","hashtag2"]},{"1401872763":["hashtag1","hashtag2"]},{"1401872742":["hashtag1","hashtag2"]},{"1401872844":["hashtag1","hashtag2"]},{"1401872745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401872804, 1401872743, 1401872763, 1401872742, 1401872844, 1401872745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63897180557251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:22:42.021432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_55_3717.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_58_2565.jpg', '/home/pi/Desktop/images/03112025/17/57/image_03112025_17_58_00_2817.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_04_3634.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_07_2787.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_10_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_55_3717.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_57_58_2565.jpg
/home/pi/Desktop/images/03112025/17/57/image_03112025_17_58_00_2817.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_04_3634.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_07_2787.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_10_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873082","1401873085","1401872994","1401873051","1401873030","1401873047"],"photo_ids_order":["1401872994","1401873030","1401873047","1401873051","1401873082","1401873085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acff0b2c1b07195d975745341175ae34.jpg","text":"TemporaryFile(/tmp/multipartBody731633137783154180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176623917,"filename":"image_03112025_17_58_07_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4153afde0fbdeb5c3c2eea11f577af6.jpg","text":"TemporaryFile(/tmp/multipartBody7970481553763209260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176623917,"filename":"image_03112025_17_58_10_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/129cd70d600849af402a9193d8254102.jpg","text":"TemporaryFile(/tmp/multipartBody3160562767051673743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176623917,"filename":"image_03112025_17_57_55_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53d16714381b0f935f0932e747fe0ac6.jpg","text":"TemporaryFile(/tmp/multipartBody3235227376641112647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176623917,"filename":"image_03112025_17_58_04_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3da2d7518af179f3810ef5fba7e0d990.jpg","text":"TemporaryFile(/tmp/multipartBody4071713245823391127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176623917,"filename":"image_03112025_17_57_58_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f647c3e5baecaefdd76ab076c978df6.jpg","text":"TemporaryFile(/tmp/multipartBody6722638777509732867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176623917,"filename":"image_03112025_17_58_00_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873047","file1":"1401873030","file0":"1401872994","file4":"1401873082","file5":"1401873085","file3":"1401873051"},"map_files_photo_id_array":[{"photo_id":"1401873085","filename":"file5"},{"photo_id":"1401873047","filename":"file2"},{"photo_id":"1401873082","filename":"file4"},{"photo_id":"1401873030","filename":"file1"},{"photo_id":"1401872994","filename":"file0"},{"photo_id":"1401873051","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401873082":["hashtag1","hashtag2"]},{"1401873085":["hashtag1","hashtag2"]},{"1401872994":["hashtag1","hashtag2"]},{"1401873051":["hashtag1","hashtag2"]},{"1401873030":["hashtag1","hashtag2"]},{"1401873047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401873082, 1401873085, 1401872994, 1401873051, 1401873030, 1401873047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.133235454559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:23:22.177181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_15_9818.jpg', '/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_24_9735.jpg', '/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_34_9859.jpg', '/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_45_10766.jpg', '/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_54_9524.jpg', '/home/pi/Desktop/images/31122025/09/31/image_31122025_09_31_14_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_15_9818.jpg
/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_24_9735.jpg
/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_34_9859.jpg
/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_45_10766.jpg
/home/pi/Desktop/images/31122025/09/29/image_31122025_09_29_54_9524.jpg
/home/pi/Desktop/images/31122025/09/31/image_31122025_09_31_14_10041.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873097","1401873100","1401873099","1401873102","1401873105","1401873110"],"photo_ids_order":["1401873097","1401873099","1401873100","1401873102","1401873105","1401873110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b8dbedebb0743fa3476fe6f5c6beb1f.jpg","text":"TemporaryFile(/tmp/multipartBody5355560551056880655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176662809,"filename":"image_31122025_09_29_15_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9113f3314622ce2930cc5ceefd5863aa.jpg","text":"TemporaryFile(/tmp/multipartBody8190598618395068071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176662809,"filename":"image_31122025_09_29_34_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6dba8167c2ee917ae781c78748bc8787.jpg","text":"TemporaryFile(/tmp/multipartBody6117693470382367320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176662809,"filename":"image_31122025_09_29_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74930c8484e4bf85474a573da3ca2571.jpg","text":"TemporaryFile(/tmp/multipartBody7281806874256659970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176662809,"filename":"image_31122025_09_29_45_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da89eba80c1a1ec4523f11bf4894dd08.jpg","text":"TemporaryFile(/tmp/multipartBody8482389095641363995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176662809,"filename":"image_31122025_09_29_54_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/183bf8dd0cb47d14b749120ab03bcc95.jpg","text":"TemporaryFile(/tmp/multipartBody6921809932346999164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176662809,"filename":"image_31122025_09_31_14_10041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873100","file1":"1401873099","file0":"1401873097","file4":"1401873105","file5":"1401873110","file3":"1401873102"},"map_files_photo_id_array":[{"photo_id":"1401873110","filename":"file5"},{"photo_id":"1401873100","filename":"file2"},{"photo_id":"1401873105","filename":"file4"},{"photo_id":"1401873099","filename":"file1"},{"photo_id":"1401873097","filename":"file0"},{"photo_id":"1401873102","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873097":["hashtag1","hashtag2"]},{"1401873100":["hashtag1","hashtag2"]},{"1401873099":["hashtag1","hashtag2"]},{"1401873102":["hashtag1","hashtag2"]},{"1401873105":["hashtag1","hashtag2"]},{"1401873110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873097, 1401873100, 1401873099, 1401873102, 1401873105, 1401873110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85712718963623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:24:03.180873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/31/image_31122025_09_31_25_10620.jpg', '/home/pi/Desktop/images/31122025/09/31/image_31122025_09_31_34_9682.jpg', '/home/pi/Desktop/images/31122025/09/31/image_31122025_09_31_45_10653.jpg', '/home/pi/Desktop/images/31122025/09/32/image_31122025_09_32_25_10777.jpg', '/home/pi/Desktop/images/31122025/09/32/image_31122025_09_32_44_9637.jpg', '/home/pi/Desktop/images/31122025/09/32/image_31122025_09_32_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/31/image_31122025_09_31_25_10620.jpg
/home/pi/Desktop/images/31122025/09/31/image_31122025_09_31_34_9682.jpg
/home/pi/Desktop/images/31122025/09/31/image_31122025_09_31_45_10653.jpg
/home/pi/Desktop/images/31122025/09/32/image_31122025_09_32_25_10777.jpg
/home/pi/Desktop/images/31122025/09/32/image_31122025_09_32_44_9637.jpg
/home/pi/Desktop/images/31122025/09/32/image_31122025_09_32_55_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873130","1401873133","1401873127","1401873129","1401873131","1401873125"],"photo_ids_order":["1401873125","1401873127","1401873129","1401873130","1401873131","1401873133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3698d306c84f9c3f64377c80b3ef4af0.jpg","text":"TemporaryFile(/tmp/multipartBody4861984726198226678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176703847,"filename":"image_31122025_09_32_25_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a789498572c612f367215c35e19af2e9.jpg","text":"TemporaryFile(/tmp/multipartBody3510423122362299228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176703847,"filename":"image_31122025_09_32_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be545a6845e09c49e0f52d970850eea4.jpg","text":"TemporaryFile(/tmp/multipartBody685663953409030856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176703847,"filename":"image_31122025_09_31_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ad18a61f1c434da15d93efa700164fd.jpg","text":"TemporaryFile(/tmp/multipartBody5951247398898968017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176703847,"filename":"image_31122025_09_31_45_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3cd8472c1c03419ad5f0182a11f6984.jpg","text":"TemporaryFile(/tmp/multipartBody1920439590370624428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176703847,"filename":"image_31122025_09_32_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2483fbdb72febefd0563a0c6c252c78.jpg","text":"TemporaryFile(/tmp/multipartBody7763505970750394735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176703847,"filename":"image_31122025_09_31_25_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873129","file1":"1401873127","file0":"1401873125","file4":"1401873131","file5":"1401873133","file3":"1401873130"},"map_files_photo_id_array":[{"photo_id":"1401873133","filename":"file5"},{"photo_id":"1401873129","filename":"file2"},{"photo_id":"1401873131","filename":"file4"},{"photo_id":"1401873127","filename":"file1"},{"photo_id":"1401873125","filename":"file0"},{"photo_id":"1401873130","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873130":["hashtag1","hashtag2"]},{"1401873133":["hashtag1","hashtag2"]},{"1401873127":["hashtag1","hashtag2"]},{"1401873129":["hashtag1","hashtag2"]},{"1401873131":["hashtag1","hashtag2"]},{"1401873125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873130, 1401873133, 1401873127, 1401873129, 1401873131, 1401873125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.804277658462524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:24:42.363810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_12_2587.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_16_3557.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_19_2983.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_21_2573.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_25_3550.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_28_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_12_2587.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_16_3557.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_19_2983.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_21_2573.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_25_3550.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_28_2816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873142","1401873139","1401873141","1401873144","1401873143","1401873146"],"photo_ids_order":["1401873139","1401873141","1401873142","1401873143","1401873144","1401873146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a58deaeebc5bde96508bf498c899b837.jpg","text":"TemporaryFile(/tmp/multipartBody2430285067081727118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176744254,"filename":"image_03112025_17_58_19_2983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eaa13d6c851512921e29e537015c2bcf.jpg","text":"TemporaryFile(/tmp/multipartBody377174503109975996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176744254,"filename":"image_03112025_17_58_12_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/812561d7f92b6062e3d10724c24a871d.jpg","text":"TemporaryFile(/tmp/multipartBody340756136709208554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176744254,"filename":"image_03112025_17_58_16_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4fa94a9e34fadf05f2149b1af8789d9.jpg","text":"TemporaryFile(/tmp/multipartBody4168417127150316371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176744254,"filename":"image_03112025_17_58_25_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d89261c67375b7d4a1466056e93ca90.jpg","text":"TemporaryFile(/tmp/multipartBody1064836701881821838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176744254,"filename":"image_03112025_17_58_21_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c62725b4faf277b7643bf47eb3deaba0.jpg","text":"TemporaryFile(/tmp/multipartBody805106040738667844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176744254,"filename":"image_03112025_17_58_28_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873142","file1":"1401873141","file0":"1401873139","file4":"1401873144","file5":"1401873146","file3":"1401873143"},"map_files_photo_id_array":[{"photo_id":"1401873146","filename":"file5"},{"photo_id":"1401873142","filename":"file2"},{"photo_id":"1401873144","filename":"file4"},{"photo_id":"1401873141","filename":"file1"},{"photo_id":"1401873139","filename":"file0"},{"photo_id":"1401873143","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401873142":["hashtag1","hashtag2"]},{"1401873139":["hashtag1","hashtag2"]},{"1401873141":["hashtag1","hashtag2"]},{"1401873144":["hashtag1","hashtag2"]},{"1401873143":["hashtag1","hashtag2"]},{"1401873146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401873142, 1401873139, 1401873141, 1401873144, 1401873143, 1401873146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.142635345458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:25:22.529895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/32/image_31122025_09_33_04_9613.jpg', '/home/pi/Desktop/images/31122025/09/33/image_31122025_09_33_25_10720.jpg', '/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_14_9850.jpg', '/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_25_10669.jpg', '/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_35_9830.jpg', '/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_44_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/32/image_31122025_09_33_04_9613.jpg
/home/pi/Desktop/images/31122025/09/33/image_31122025_09_33_25_10720.jpg
/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_14_9850.jpg
/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_25_10669.jpg
/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_35_9830.jpg
/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_44_9538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873154","1401873159","1401873150","1401873156","1401873152","1401873149"],"photo_ids_order":["1401873149","1401873150","1401873152","1401873154","1401873156","1401873159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1612e304c12568674d9705ef933ad6f.jpg","text":"TemporaryFile(/tmp/multipartBody2490654631674454886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176783167,"filename":"image_31122025_09_34_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d53e7adf971a5b2c9fc270c6ab4d85c9.jpg","text":"TemporaryFile(/tmp/multipartBody2186966625912592308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176783167,"filename":"image_31122025_09_34_44_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0e4f942c5d016bbe6d7cd567f15975b.jpg","text":"TemporaryFile(/tmp/multipartBody8869166786901080625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176783167,"filename":"image_31122025_09_33_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c326e5ece51e69243c02a5a4d10c4948.jpg","text":"TemporaryFile(/tmp/multipartBody5183820642185486798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176783167,"filename":"image_31122025_09_34_35_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ceb272dea8254927d12234cd4ba52a0.jpg","text":"TemporaryFile(/tmp/multipartBody4722214912658746520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176783167,"filename":"image_31122025_09_34_14_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/822e77aa9ccb0a137b72b6704a8050ca.jpg","text":"TemporaryFile(/tmp/multipartBody6323075043008533916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176783167,"filename":"image_31122025_09_33_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873152","file1":"1401873150","file0":"1401873149","file4":"1401873156","file5":"1401873159","file3":"1401873154"},"map_files_photo_id_array":[{"photo_id":"1401873159","filename":"file5"},{"photo_id":"1401873152","filename":"file2"},{"photo_id":"1401873156","filename":"file4"},{"photo_id":"1401873150","filename":"file1"},{"photo_id":"1401873149","filename":"file0"},{"photo_id":"1401873154","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873154":["hashtag1","hashtag2"]},{"1401873159":["hashtag1","hashtag2"]},{"1401873150":["hashtag1","hashtag2"]},{"1401873156":["hashtag1","hashtag2"]},{"1401873152":["hashtag1","hashtag2"]},{"1401873149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873154, 1401873159, 1401873150, 1401873156, 1401873152, 1401873149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.402446269989014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:26:03.169275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_54_9725.jpg', '/home/pi/Desktop/images/31122025/09/34/image_31122025_09_35_05_10705.jpg', '/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_15_9794.jpg', '/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_24_9757.jpg', '/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_35_10581.jpg', '/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_45_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/34/image_31122025_09_34_54_9725.jpg
/home/pi/Desktop/images/31122025/09/34/image_31122025_09_35_05_10705.jpg
/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_15_9794.jpg
/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_24_9757.jpg
/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_35_10581.jpg
/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_45_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873267","1401873231","1401873162","1401873191","1401873164","1401873292"],"photo_ids_order":["1401873162","1401873164","1401873191","1401873231","1401873267","1401873292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94dc61df818d2f3eab7b8a53cf638bfd.jpg","text":"TemporaryFile(/tmp/multipartBody8393667982202327245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176823776,"filename":"image_31122025_09_35_35_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1db44fc3d0e6d50132ec5f54fb15e264.jpg","text":"TemporaryFile(/tmp/multipartBody367080089125024968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176823776,"filename":"image_31122025_09_35_24_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1afc34fc379b535948c4d02bcfe7e98b.jpg","text":"TemporaryFile(/tmp/multipartBody182335953942661617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176823776,"filename":"image_31122025_09_34_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c20eec1b1824f2705bb2408435f78114.jpg","text":"TemporaryFile(/tmp/multipartBody6133018167501460471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176823776,"filename":"image_31122025_09_35_15_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b3e1a54a1315bf5b86a90711c4c60fa.jpg","text":"TemporaryFile(/tmp/multipartBody2932683890557335461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176823776,"filename":"image_31122025_09_35_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/547fbc7bc9c7250955b2a0d3a9c3c556.jpg","text":"TemporaryFile(/tmp/multipartBody694075196682119265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176823776,"filename":"image_31122025_09_35_45_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873191","file1":"1401873164","file0":"1401873162","file4":"1401873267","file5":"1401873292","file3":"1401873231"},"map_files_photo_id_array":[{"photo_id":"1401873292","filename":"file5"},{"photo_id":"1401873191","filename":"file2"},{"photo_id":"1401873267","filename":"file4"},{"photo_id":"1401873164","filename":"file1"},{"photo_id":"1401873162","filename":"file0"},{"photo_id":"1401873231","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873267":["hashtag1","hashtag2"]},{"1401873231":["hashtag1","hashtag2"]},{"1401873162":["hashtag1","hashtag2"]},{"1401873191":["hashtag1","hashtag2"]},{"1401873164":["hashtag1","hashtag2"]},{"1401873292":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873267, 1401873231, 1401873162, 1401873191, 1401873164, 1401873292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.037832498550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:26:42.800240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_30_2780.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_34_3472.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_37_2680.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_39_2743.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_43_3596.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_46_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_30_2780.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_34_3472.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_37_2680.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_39_2743.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_43_3596.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_46_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873340","1401873343","1401873339","1401873327","1401873342","1401873347"],"photo_ids_order":["1401873327","1401873339","1401873340","1401873342","1401873343","1401873347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5bf3029f3cbade8e57fb95ce5e45fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8282909957990852529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176864721,"filename":"image_03112025_17_58_37_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fa9b039600e78da62ef9599e2bce8da.jpg","text":"TemporaryFile(/tmp/multipartBody5467809323670730883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176864721,"filename":"image_03112025_17_58_43_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a235a168b7244e880b3fa0806890899.jpg","text":"TemporaryFile(/tmp/multipartBody4390979585297387580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176864721,"filename":"image_03112025_17_58_34_3472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5393840e17262510c90cd1b20bce84fd.jpg","text":"TemporaryFile(/tmp/multipartBody5380841471691747859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176864721,"filename":"image_03112025_17_58_30_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/200ca0645cc79fdeafa0c15f7042afdb.jpg","text":"TemporaryFile(/tmp/multipartBody5013903241282889668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176864721,"filename":"image_03112025_17_58_39_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05b6ed403abbb80a20abf8e9850ef4fa.jpg","text":"TemporaryFile(/tmp/multipartBody8867363189436046884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176864721,"filename":"image_03112025_17_58_46_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873340","file1":"1401873339","file0":"1401873327","file4":"1401873343","file5":"1401873347","file3":"1401873342"},"map_files_photo_id_array":[{"photo_id":"1401873347","filename":"file5"},{"photo_id":"1401873340","filename":"file2"},{"photo_id":"1401873343","filename":"file4"},{"photo_id":"1401873339","filename":"file1"},{"photo_id":"1401873327","filename":"file0"},{"photo_id":"1401873342","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401873340":["hashtag1","hashtag2"]},{"1401873343":["hashtag1","hashtag2"]},{"1401873339":["hashtag1","hashtag2"]},{"1401873327":["hashtag1","hashtag2"]},{"1401873342":["hashtag1","hashtag2"]},{"1401873347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401873340, 1401873343, 1401873339, 1401873327, 1401873342, 1401873347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94885611534119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:27:22.033361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_54_9681.jpg', '/home/pi/Desktop/images/31122025/09/35/image_31122025_09_36_05_10589.jpg', '/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_15_9749.jpg', '/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_24_9747.jpg', '/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_34_9597.jpg', '/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_45_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/35/image_31122025_09_35_54_9681.jpg
/home/pi/Desktop/images/31122025/09/35/image_31122025_09_36_05_10589.jpg
/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_15_9749.jpg
/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_24_9747.jpg
/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_34_9597.jpg
/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_45_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873352","1401873358","1401873363","1401873360","1401873354","1401873356"],"photo_ids_order":["1401873352","1401873354","1401873356","1401873358","1401873360","1401873363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a71beca6a1d63f1123a1970c5df1daae.jpg","text":"TemporaryFile(/tmp/multipartBody3671710715101145048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176902619,"filename":"image_31122025_09_35_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a226aa89645a3728a5a3573ff71fbc5d.jpg","text":"TemporaryFile(/tmp/multipartBody4155002531873681986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176902619,"filename":"image_31122025_09_36_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f085c57ddc16dbd525c11b270beac6b7.jpg","text":"TemporaryFile(/tmp/multipartBody4762002118598033160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176902619,"filename":"image_31122025_09_36_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5bd16d6dd7a375602c338613ea224f4.jpg","text":"TemporaryFile(/tmp/multipartBody7732691618029017569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176902619,"filename":"image_31122025_09_36_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/821f26a683f149bb6c1773ff1ed65100.jpg","text":"TemporaryFile(/tmp/multipartBody7780207084075360616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176902619,"filename":"image_31122025_09_36_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e738ba6b193190cdf9e69ad7c8d6e9ce.jpg","text":"TemporaryFile(/tmp/multipartBody3398929850803269553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176902619,"filename":"image_31122025_09_36_15_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873356","file1":"1401873354","file0":"1401873352","file4":"1401873360","file5":"1401873363","file3":"1401873358"},"map_files_photo_id_array":[{"photo_id":"1401873363","filename":"file5"},{"photo_id":"1401873356","filename":"file2"},{"photo_id":"1401873360","filename":"file4"},{"photo_id":"1401873354","filename":"file1"},{"photo_id":"1401873352","filename":"file0"},{"photo_id":"1401873358","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873352":["hashtag1","hashtag2"]},{"1401873358":["hashtag1","hashtag2"]},{"1401873363":["hashtag1","hashtag2"]},{"1401873360":["hashtag1","hashtag2"]},{"1401873354":["hashtag1","hashtag2"]},{"1401873356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873352, 1401873358, 1401873363, 1401873360, 1401873354, 1401873356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82014179229736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:28:02.671430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_54_9741.jpg', '/home/pi/Desktop/images/31122025/09/36/image_31122025_09_37_04_9657.jpg', '/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_15_10738.jpg', '/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_25_9831.jpg', '/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_34_9785.jpg', '/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_44_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/36/image_31122025_09_36_54_9741.jpg
/home/pi/Desktop/images/31122025/09/36/image_31122025_09_37_04_9657.jpg
/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_15_10738.jpg
/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_25_9831.jpg
/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_34_9785.jpg
/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_44_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873373","1401873367","1401873376","1401873366","1401873368","1401873370"],"photo_ids_order":["1401873366","1401873367","1401873368","1401873370","1401873373","1401873376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fee7a03e47550d9a3fee60b1375de7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1193172640091399243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176943324,"filename":"image_31122025_09_37_34_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cc23a3372438ba6cf5f121da08e6a30.jpg","text":"TemporaryFile(/tmp/multipartBody7702933304528568096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176943324,"filename":"image_31122025_09_37_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00089dff986c19ff72afaa9607e44037.jpg","text":"TemporaryFile(/tmp/multipartBody5451440367585012586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176943324,"filename":"image_31122025_09_37_44_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cd1ef657069efbeca355a9438ccd0f2.jpg","text":"TemporaryFile(/tmp/multipartBody4381807350976284839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176943324,"filename":"image_31122025_09_36_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4afa5583c2c5a7b4bb9093933ab58a8.jpg","text":"TemporaryFile(/tmp/multipartBody3163856888600442646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176943324,"filename":"image_31122025_09_37_15_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5081897c642901b96dbbf8116abb6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6872921965356843557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176943324,"filename":"image_31122025_09_37_25_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873368","file1":"1401873367","file0":"1401873366","file4":"1401873373","file5":"1401873376","file3":"1401873370"},"map_files_photo_id_array":[{"photo_id":"1401873376","filename":"file5"},{"photo_id":"1401873368","filename":"file2"},{"photo_id":"1401873373","filename":"file4"},{"photo_id":"1401873367","filename":"file1"},{"photo_id":"1401873366","filename":"file0"},{"photo_id":"1401873370","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873373":["hashtag1","hashtag2"]},{"1401873367":["hashtag1","hashtag2"]},{"1401873376":["hashtag1","hashtag2"]},{"1401873366":["hashtag1","hashtag2"]},{"1401873368":["hashtag1","hashtag2"]},{"1401873370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873373, 1401873367, 1401873376, 1401873366, 1401873368, 1401873370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.436097860336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:28:42.252368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_48_2630.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_52_3700.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_54_2610.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_57_2645.jpg', '/home/pi/Desktop/images/03112025/17/58/image_03112025_17_59_01_3625.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_03_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_48_2630.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_52_3700.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_54_2610.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_58_57_2645.jpg
/home/pi/Desktop/images/03112025/17/58/image_03112025_17_59_01_3625.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_03_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873394","1401873388","1401873393","1401873392","1401873395","1401873391"],"photo_ids_order":["1401873388","1401873391","1401873392","1401873393","1401873394","1401873395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6dfed604ec854ef0e930113682add669.jpg","text":"TemporaryFile(/tmp/multipartBody5284472089887476495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176984197,"filename":"image_03112025_17_59_01_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ca80cd12a94fc2380560c6d82be4e35.jpg","text":"TemporaryFile(/tmp/multipartBody616256865149603711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176984197,"filename":"image_03112025_17_58_48_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bb22a3de73109fead4b526e8f1a9e03.jpg","text":"TemporaryFile(/tmp/multipartBody7311876325996391527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176984197,"filename":"image_03112025_17_58_57_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a8ec826d4ad69b5878b13a2c61e7cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6783580660400626643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176984197,"filename":"image_03112025_17_58_54_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b17c5384ae74e0cbc1243e9be7f2613a.jpg","text":"TemporaryFile(/tmp/multipartBody2784572685060109902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176984197,"filename":"image_03112025_17_59_03_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40d75a585d650c187141830a99486cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4870121661957433172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767176984197,"filename":"image_03112025_17_58_52_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873392","file1":"1401873391","file0":"1401873388","file4":"1401873394","file5":"1401873395","file3":"1401873393"},"map_files_photo_id_array":[{"photo_id":"1401873395","filename":"file5"},{"photo_id":"1401873392","filename":"file2"},{"photo_id":"1401873394","filename":"file4"},{"photo_id":"1401873391","filename":"file1"},{"photo_id":"1401873388","filename":"file0"},{"photo_id":"1401873393","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401873394":["hashtag1","hashtag2"]},{"1401873388":["hashtag1","hashtag2"]},{"1401873393":["hashtag1","hashtag2"]},{"1401873392":["hashtag1","hashtag2"]},{"1401873395":["hashtag1","hashtag2"]},{"1401873391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401873394, 1401873388, 1401873393, 1401873392, 1401873395, 1401873391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79018187522888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:29:22.539290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_55_10751.jpg', '/home/pi/Desktop/images/31122025/09/37/image_31122025_09_38_05_9700.jpg', '/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_14_9599.jpg', '/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_25_10586.jpg', '/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_34_9571.jpg', '/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_45_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/37/image_31122025_09_37_55_10751.jpg
/home/pi/Desktop/images/31122025/09/37/image_31122025_09_38_05_9700.jpg
/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_14_9599.jpg
/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_25_10586.jpg
/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_34_9571.jpg
/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_45_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873409","1401873403","1401873411","1401873414","1401873405","1401873416"],"photo_ids_order":["1401873403","1401873405","1401873409","1401873411","1401873414","1401873416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3724dbb9e8669bad0d2a8e0b8bd737f0.jpg","text":"TemporaryFile(/tmp/multipartBody7903153674942137042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177023156,"filename":"image_31122025_09_38_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/447db24f4962f34a301fc2e00d0030d1.jpg","text":"TemporaryFile(/tmp/multipartBody9138185933068679867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177023156,"filename":"image_31122025_09_37_55_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/602d2399c7af4bf4a7666b312ff1a4a6.jpg","text":"TemporaryFile(/tmp/multipartBody7464062651558588315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177023156,"filename":"image_31122025_09_38_25_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1a7bff7ce9feb7c8cfae1909d22c42c.jpg","text":"TemporaryFile(/tmp/multipartBody2857458585382448143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177023156,"filename":"image_31122025_09_38_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b956d90bfa37fb56791b5b12fe3e4d37.jpg","text":"TemporaryFile(/tmp/multipartBody4221271329596000092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177023156,"filename":"image_31122025_09_38_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cc2cb5ccf154fc73c3ef24f45e61ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2432497940172051780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177023156,"filename":"image_31122025_09_38_45_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873409","file1":"1401873405","file0":"1401873403","file4":"1401873414","file5":"1401873416","file3":"1401873411"},"map_files_photo_id_array":[{"photo_id":"1401873416","filename":"file5"},{"photo_id":"1401873409","filename":"file2"},{"photo_id":"1401873414","filename":"file4"},{"photo_id":"1401873405","filename":"file1"},{"photo_id":"1401873403","filename":"file0"},{"photo_id":"1401873411","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873409":["hashtag1","hashtag2"]},{"1401873403":["hashtag1","hashtag2"]},{"1401873411":["hashtag1","hashtag2"]},{"1401873414":["hashtag1","hashtag2"]},{"1401873405":["hashtag1","hashtag2"]},{"1401873416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873409, 1401873403, 1401873411, 1401873414, 1401873405, 1401873416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50958299636841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:30:03.197734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_55_9750.jpg', '/home/pi/Desktop/images/31122025/09/38/image_31122025_09_39_04_9799.jpg', '/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_14_9647.jpg', '/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_25_10663.jpg', '/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_34_9679.jpg', '/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_44_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/38/image_31122025_09_38_55_9750.jpg
/home/pi/Desktop/images/31122025/09/38/image_31122025_09_39_04_9799.jpg
/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_14_9647.jpg
/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_25_10663.jpg
/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_34_9679.jpg
/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_44_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873472","1401873466","1401873469","1401873448","1401873465","1401873479"],"photo_ids_order":["1401873448","1401873465","1401873466","1401873469","1401873472","1401873479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d1726d99b0db9af8655caf71349d1f1.jpg","text":"TemporaryFile(/tmp/multipartBody1387019427845101678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177063830,"filename":"image_31122025_09_39_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4693c349e29671f1023f2442c8d876dc.jpg","text":"TemporaryFile(/tmp/multipartBody5140535200421654428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177063830,"filename":"image_31122025_09_39_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fd82c42acf04aa89a05bee1daff46ff.jpg","text":"TemporaryFile(/tmp/multipartBody6546640636348104442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177063830,"filename":"image_31122025_09_39_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48b2508817ce942f6cde6b558a8d1ba8.jpg","text":"TemporaryFile(/tmp/multipartBody7081220568722249089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177063830,"filename":"image_31122025_09_38_55_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b771f130f21b9fbec5a78db427ec9281.jpg","text":"TemporaryFile(/tmp/multipartBody8320624277958975120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177063830,"filename":"image_31122025_09_39_04_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/726229f2dacefe06570c8be840ec5f54.jpg","text":"TemporaryFile(/tmp/multipartBody7884210041147619387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177063830,"filename":"image_31122025_09_39_44_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873466","file1":"1401873465","file0":"1401873448","file4":"1401873472","file5":"1401873479","file3":"1401873469"},"map_files_photo_id_array":[{"photo_id":"1401873479","filename":"file5"},{"photo_id":"1401873466","filename":"file2"},{"photo_id":"1401873472","filename":"file4"},{"photo_id":"1401873465","filename":"file1"},{"photo_id":"1401873448","filename":"file0"},{"photo_id":"1401873469","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873472":["hashtag1","hashtag2"]},{"1401873466":["hashtag1","hashtag2"]},{"1401873469":["hashtag1","hashtag2"]},{"1401873448":["hashtag1","hashtag2"]},{"1401873465":["hashtag1","hashtag2"]},{"1401873479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873472, 1401873466, 1401873469, 1401873448, 1401873465, 1401873479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54646348953247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:31:02.700988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_55_10730.jpg', '/home/pi/Desktop/images/31122025/09/39/image_31122025_09_40_05_9673.jpg', '/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_14_9680.jpg', '/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_25_10631.jpg', '/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_35_9824.jpg', '/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_44_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/39/image_31122025_09_39_55_10730.jpg
/home/pi/Desktop/images/31122025/09/39/image_31122025_09_40_05_9673.jpg
/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_14_9680.jpg
/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_25_10631.jpg
/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_35_9824.jpg
/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_44_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873493","1401873502","1401873495","1401873498","1401873503","1401873500"],"photo_ids_order":["1401873493","1401873495","1401873498","1401873500","1401873502","1401873503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cea15ed96d4396e439813a668f8549c.jpg","text":"TemporaryFile(/tmp/multipartBody6217290331884245599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177123363,"filename":"image_31122025_09_39_55_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa02364578bbff273a0bf8fae8551fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2605956764599872221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177123363,"filename":"image_31122025_09_40_35_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd65175438da790f663f914efaf4532e.jpg","text":"TemporaryFile(/tmp/multipartBody8374451970582789208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177123363,"filename":"image_31122025_09_40_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/125f5a7b7a1efe9e13b8c8a0215314ad.jpg","text":"TemporaryFile(/tmp/multipartBody5099565757932911103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177123363,"filename":"image_31122025_09_40_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c1510a5efa3991c77d18bb3767f64bd.jpg","text":"TemporaryFile(/tmp/multipartBody8774057337316689880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177123363,"filename":"image_31122025_09_40_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb746ac9109d99c76250b54fa1ccfc99.jpg","text":"TemporaryFile(/tmp/multipartBody5183995517139926723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177123363,"filename":"image_31122025_09_40_25_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873498","file1":"1401873495","file0":"1401873493","file4":"1401873502","file5":"1401873503","file3":"1401873500"},"map_files_photo_id_array":[{"photo_id":"1401873503","filename":"file5"},{"photo_id":"1401873498","filename":"file2"},{"photo_id":"1401873502","filename":"file4"},{"photo_id":"1401873495","filename":"file1"},{"photo_id":"1401873493","filename":"file0"},{"photo_id":"1401873500","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873493":["hashtag1","hashtag2"]},{"1401873502":["hashtag1","hashtag2"]},{"1401873495":["hashtag1","hashtag2"]},{"1401873498":["hashtag1","hashtag2"]},{"1401873503":["hashtag1","hashtag2"]},{"1401873500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873493, 1401873502, 1401873495, 1401873498, 1401873503, 1401873500)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.63440012931824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:32:02.529385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_54_9750.jpg', '/home/pi/Desktop/images/31122025/09/40/image_31122025_09_41_05_10523.jpg', '/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_14_9614.jpg', '/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_25_10564.jpg', '/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_34_9595.jpg', '/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_44_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/40/image_31122025_09_40_54_9750.jpg
/home/pi/Desktop/images/31122025/09/40/image_31122025_09_41_05_10523.jpg
/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_14_9614.jpg
/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_25_10564.jpg
/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_34_9595.jpg
/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_44_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873514","1401873511","1401873516","1401873521","1401873518","1401873512"],"photo_ids_order":["1401873511","1401873512","1401873514","1401873516","1401873518","1401873521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8eadcca2800b04cf3c6325c7b6c6fba.jpg","text":"TemporaryFile(/tmp/multipartBody7135489035609050185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177183131,"filename":"image_31122025_09_41_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9365a9d780f98d9d8664dec6f06d1e48.jpg","text":"TemporaryFile(/tmp/multipartBody2984562402399396631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177183131,"filename":"image_31122025_09_40_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/251cbac550c06b542dd4339aa6df4c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8131192170945219550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177183131,"filename":"image_31122025_09_41_25_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4363bbb5b69f70cd2e227c73aeb7d8a.jpg","text":"TemporaryFile(/tmp/multipartBody8385372036297705395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177183131,"filename":"image_31122025_09_41_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a46f78859dbd3ddbc248fc2123452e9c.jpg","text":"TemporaryFile(/tmp/multipartBody8000586560930996723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177183131,"filename":"image_31122025_09_41_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d69894a0a11037226ed0969870cebfb.jpg","text":"TemporaryFile(/tmp/multipartBody1799524199673485007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177183131,"filename":"image_31122025_09_41_05_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873514","file1":"1401873512","file0":"1401873511","file4":"1401873518","file5":"1401873521","file3":"1401873516"},"map_files_photo_id_array":[{"photo_id":"1401873521","filename":"file5"},{"photo_id":"1401873514","filename":"file2"},{"photo_id":"1401873518","filename":"file4"},{"photo_id":"1401873512","filename":"file1"},{"photo_id":"1401873511","filename":"file0"},{"photo_id":"1401873516","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873514":["hashtag1","hashtag2"]},{"1401873511":["hashtag1","hashtag2"]},{"1401873516":["hashtag1","hashtag2"]},{"1401873521":["hashtag1","hashtag2"]},{"1401873518":["hashtag1","hashtag2"]},{"1401873512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873514, 1401873511, 1401873516, 1401873521, 1401873518, 1401873512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.342960834503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:32:42.146679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_06_2669.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_10_3528.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_12_2645.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_15_2781.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_19_3638.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_21_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_06_2669.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_10_3528.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_12_2645.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_15_2781.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_19_3638.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_21_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873591","1401873588","1401873573","1401873590","1401873545","1401873589"],"photo_ids_order":["1401873545","1401873573","1401873588","1401873589","1401873590","1401873591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f424ad8529e2145fba503b449c718eda.jpg","text":"TemporaryFile(/tmp/multipartBody6026910633524018189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177224046,"filename":"image_03112025_17_59_21_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f895f40e118fff8c8471ec7d57f1b998.jpg","text":"TemporaryFile(/tmp/multipartBody7596981032027218185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177224046,"filename":"image_03112025_17_59_12_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04fd6c28ec1ed25d01e96348405187cc.jpg","text":"TemporaryFile(/tmp/multipartBody1612201990258212308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177224046,"filename":"image_03112025_17_59_10_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb674ce9886574467c8561f08057b887.jpg","text":"TemporaryFile(/tmp/multipartBody6162653670517656072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177224046,"filename":"image_03112025_17_59_19_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c01b6a6042392ad3c295f29807373ea.jpg","text":"TemporaryFile(/tmp/multipartBody4396262361007850737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177224046,"filename":"image_03112025_17_59_06_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/554d0903c261cd0a8e2936628c479d01.jpg","text":"TemporaryFile(/tmp/multipartBody3035261073903626762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177224046,"filename":"image_03112025_17_59_15_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873588","file1":"1401873573","file0":"1401873545","file4":"1401873590","file5":"1401873591","file3":"1401873589"},"map_files_photo_id_array":[{"photo_id":"1401873591","filename":"file5"},{"photo_id":"1401873588","filename":"file2"},{"photo_id":"1401873590","filename":"file4"},{"photo_id":"1401873573","filename":"file1"},{"photo_id":"1401873545","filename":"file0"},{"photo_id":"1401873589","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401873591":["hashtag1","hashtag2"]},{"1401873588":["hashtag1","hashtag2"]},{"1401873573":["hashtag1","hashtag2"]},{"1401873590":["hashtag1","hashtag2"]},{"1401873545":["hashtag1","hashtag2"]},{"1401873589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401873591, 1401873588, 1401873573, 1401873590, 1401873545, 1401873589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36527180671692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:33:22.417711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_55_10596.jpg', '/home/pi/Desktop/images/31122025/09/41/image_31122025_09_42_04_9704.jpg', '/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_14_9718.jpg', '/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_24_10005.jpg', '/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_35_10665.jpg', '/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_45_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/41/image_31122025_09_41_55_10596.jpg
/home/pi/Desktop/images/31122025/09/41/image_31122025_09_42_04_9704.jpg
/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_14_9718.jpg
/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_24_10005.jpg
/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_35_10665.jpg
/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_45_9935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873607","1401873610","1401873597","1401873599","1401873602","1401873605"],"photo_ids_order":["1401873597","1401873599","1401873602","1401873605","1401873607","1401873610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1bd9e24de419fee677f3ffca278e2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5237996151441440145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177263017,"filename":"image_31122025_09_42_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56520aaf697de68141557aa7fdca6097.jpg","text":"TemporaryFile(/tmp/multipartBody7920045264922548400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177263017,"filename":"image_31122025_09_42_45_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e744b90a7b1a1bb9f69b690b3dc497bb.jpg","text":"TemporaryFile(/tmp/multipartBody2329654520327368623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177263017,"filename":"image_31122025_09_41_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8669c8a92fda1e5aa8538b433b5d496.jpg","text":"TemporaryFile(/tmp/multipartBody556711355604147158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177263017,"filename":"image_31122025_09_42_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c683f0097181cf69d67096530dfb9787.jpg","text":"TemporaryFile(/tmp/multipartBody9198227996536247303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177263017,"filename":"image_31122025_09_42_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09cc89a65caded2a0e9f6322b935e6a8.jpg","text":"TemporaryFile(/tmp/multipartBody3151925599896850634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177263017,"filename":"image_31122025_09_42_24_10005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873602","file1":"1401873599","file0":"1401873597","file4":"1401873607","file5":"1401873610","file3":"1401873605"},"map_files_photo_id_array":[{"photo_id":"1401873610","filename":"file5"},{"photo_id":"1401873602","filename":"file2"},{"photo_id":"1401873607","filename":"file4"},{"photo_id":"1401873599","filename":"file1"},{"photo_id":"1401873597","filename":"file0"},{"photo_id":"1401873605","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873607":["hashtag1","hashtag2"]},{"1401873610":["hashtag1","hashtag2"]},{"1401873597":["hashtag1","hashtag2"]},{"1401873599":["hashtag1","hashtag2"]},{"1401873602":["hashtag1","hashtag2"]},{"1401873605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873607, 1401873610, 1401873597, 1401873599, 1401873602, 1401873605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.794527530670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:34:12.530345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_24_2660.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_28_3715.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_30_2541.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_34_3560.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_37_2730.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_39_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_24_2660.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_28_3715.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_30_2541.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_34_3560.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_37_2730.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_39_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873631","1401873636","1401873639","1401873633","1401873641","1401873644"],"photo_ids_order":["1401873631","1401873633","1401873636","1401873639","1401873641","1401873644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74ebaef216e694ce901edefb7f60fa8c.jpg","text":"TemporaryFile(/tmp/multipartBody7414057387775835872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177314380,"filename":"image_03112025_17_59_24_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f86be2db4e1212822d26fa0d548737fb.jpg","text":"TemporaryFile(/tmp/multipartBody2300764860939789968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177314380,"filename":"image_03112025_17_59_30_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b006245a05b165686bd7f1f98ea48505.jpg","text":"TemporaryFile(/tmp/multipartBody2270440883158219995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177314380,"filename":"image_03112025_17_59_34_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6a5aef95000fe8ec182076c7eeed3b4.jpg","text":"TemporaryFile(/tmp/multipartBody6082602761500611776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177314380,"filename":"image_03112025_17_59_28_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1b35dbcaf060032af50ebc1c8af3081.jpg","text":"TemporaryFile(/tmp/multipartBody7584995967611929078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177314380,"filename":"image_03112025_17_59_37_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e43b4a64c2b44dc2fe9a2e4ba607df6.jpg","text":"TemporaryFile(/tmp/multipartBody8495619296055675751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177314380,"filename":"image_03112025_17_59_39_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873636","file1":"1401873633","file0":"1401873631","file4":"1401873641","file5":"1401873644","file3":"1401873639"},"map_files_photo_id_array":[{"photo_id":"1401873644","filename":"file5"},{"photo_id":"1401873636","filename":"file2"},{"photo_id":"1401873641","filename":"file4"},{"photo_id":"1401873633","filename":"file1"},{"photo_id":"1401873631","filename":"file0"},{"photo_id":"1401873639","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401873631":["hashtag1","hashtag2"]},{"1401873636":["hashtag1","hashtag2"]},{"1401873639":["hashtag1","hashtag2"]},{"1401873633":["hashtag1","hashtag2"]},{"1401873641":["hashtag1","hashtag2"]},{"1401873644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401873631, 1401873636, 1401873639, 1401873633, 1401873641, 1401873644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55891418457031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:35:03.398002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_54_9676.jpg', '/home/pi/Desktop/images/31122025/09/42/image_31122025_09_43_05_10578.jpg', '/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_15_9758.jpg', '/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_24_9750.jpg', '/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_34_9739.jpg', '/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_45_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/42/image_31122025_09_42_54_9676.jpg
/home/pi/Desktop/images/31122025/09/42/image_31122025_09_43_05_10578.jpg
/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_15_9758.jpg
/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_24_9750.jpg
/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_34_9739.jpg
/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_45_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873664","1401873655","1401873660","1401873663","1401873657","1401873653"],"photo_ids_order":["1401873653","1401873655","1401873657","1401873660","1401873663","1401873664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f507aea064298d6442c8dd0d284321ea.jpg","text":"TemporaryFile(/tmp/multipartBody6345594825334088313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177364114,"filename":"image_31122025_09_43_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27997f04668be3f9aeea2c2ca3a54faa.jpg","text":"TemporaryFile(/tmp/multipartBody7956145512091549643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177364114,"filename":"image_31122025_09_43_05_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11a2c7d501465b54d5cb30fde2cf6a00.jpg","text":"TemporaryFile(/tmp/multipartBody2003718073718171251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177364114,"filename":"image_31122025_09_43_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8e33f2699abab8e17a60253fbcb57d8.jpg","text":"TemporaryFile(/tmp/multipartBody7301168462088038400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177364114,"filename":"image_31122025_09_43_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4396f51234f1d213123b19c9ea01f507.jpg","text":"TemporaryFile(/tmp/multipartBody6024412929650425917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177364114,"filename":"image_31122025_09_43_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66f8b319b770e4161f80765fdf13eeb8.jpg","text":"TemporaryFile(/tmp/multipartBody7095923535819422584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177364114,"filename":"image_31122025_09_42_54_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873657","file1":"1401873655","file0":"1401873653","file4":"1401873663","file5":"1401873664","file3":"1401873660"},"map_files_photo_id_array":[{"photo_id":"1401873664","filename":"file5"},{"photo_id":"1401873657","filename":"file2"},{"photo_id":"1401873663","filename":"file4"},{"photo_id":"1401873655","filename":"file1"},{"photo_id":"1401873653","filename":"file0"},{"photo_id":"1401873660","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873664":["hashtag1","hashtag2"]},{"1401873655":["hashtag1","hashtag2"]},{"1401873660":["hashtag1","hashtag2"]},{"1401873663":["hashtag1","hashtag2"]},{"1401873657":["hashtag1","hashtag2"]},{"1401873653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873664, 1401873655, 1401873660, 1401873663, 1401873657, 1401873653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37248468399048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:35:42.815868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_43_3587.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_45_2569.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_48_2645.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_52_3679.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_54_2676.jpg', '/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_57_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_43_3587.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_45_2569.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_48_2645.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_52_3679.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_54_2676.jpg
/home/pi/Desktop/images/03112025/17/59/image_03112025_17_59_57_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873685","1401873670","1401873684","1401873687","1401873683","1401873686"],"photo_ids_order":["1401873670","1401873683","1401873684","1401873685","1401873686","1401873687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0184bd9b14659fcff2c8baa24736c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1908386284580627772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177404772,"filename":"image_03112025_17_59_52_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3d4447224c380df988ab65625e3d10c.jpg","text":"TemporaryFile(/tmp/multipartBody7953354466149182823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177404772,"filename":"image_03112025_17_59_43_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6aba553c5a83412773678543178d4eb.jpg","text":"TemporaryFile(/tmp/multipartBody1566232165486226903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177404772,"filename":"image_03112025_17_59_48_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20b1f4a202fee361941459db3142ae70.jpg","text":"TemporaryFile(/tmp/multipartBody7310080114561494045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177404772,"filename":"image_03112025_17_59_57_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/633c5d7c479fa62917dbb086e64c0591.jpg","text":"TemporaryFile(/tmp/multipartBody2272625823110556056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177404772,"filename":"image_03112025_17_59_45_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9313a5df478a4fb2e3b0d04d6f1f11d1.jpg","text":"TemporaryFile(/tmp/multipartBody6467646796955986362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177404772,"filename":"image_03112025_17_59_54_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873684","file1":"1401873683","file0":"1401873670","file4":"1401873686","file5":"1401873687","file3":"1401873685"},"map_files_photo_id_array":[{"photo_id":"1401873687","filename":"file5"},{"photo_id":"1401873684","filename":"file2"},{"photo_id":"1401873686","filename":"file4"},{"photo_id":"1401873683","filename":"file1"},{"photo_id":"1401873670","filename":"file0"},{"photo_id":"1401873685","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401873685":["hashtag1","hashtag2"]},{"1401873670":["hashtag1","hashtag2"]},{"1401873684":["hashtag1","hashtag2"]},{"1401873687":["hashtag1","hashtag2"]},{"1401873683":["hashtag1","hashtag2"]},{"1401873686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401873685, 1401873670, 1401873684, 1401873687, 1401873683, 1401873686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.567206144332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:36:21.940070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_54_9614.jpg', '/home/pi/Desktop/images/31122025/09/43/image_31122025_09_44_04_9592.jpg', '/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_15_10715.jpg', '/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_25_9821.jpg', '/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_34_9737.jpg', '/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_44_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/43/image_31122025_09_43_54_9614.jpg
/home/pi/Desktop/images/31122025/09/43/image_31122025_09_44_04_9592.jpg
/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_15_10715.jpg
/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_25_9821.jpg
/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_34_9737.jpg
/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_44_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873699","1401873696","1401873692","1401873701","1401873704","1401873694"],"photo_ids_order":["1401873692","1401873694","1401873696","1401873699","1401873701","1401873704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae3be6f83c23d775a2ce69de8749e023.jpg","text":"TemporaryFile(/tmp/multipartBody8998552595596032548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177442554,"filename":"image_31122025_09_44_25_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a35ed3a344f15db3a22091af15587c0.jpg","text":"TemporaryFile(/tmp/multipartBody7771513561566780700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177442554,"filename":"image_31122025_09_44_15_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15433c5e88cd9441d7800525e6957641.jpg","text":"TemporaryFile(/tmp/multipartBody2791224206085043931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177442554,"filename":"image_31122025_09_43_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b32e969bb7b22b8920bc9b96460f126e.jpg","text":"TemporaryFile(/tmp/multipartBody3739228512916886519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177442554,"filename":"image_31122025_09_44_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45a8fe62b880e88d999dc6475c8adbb9.jpg","text":"TemporaryFile(/tmp/multipartBody6321294422994316252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177442554,"filename":"image_31122025_09_44_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07a8e9812436155022afeaae73d6b859.jpg","text":"TemporaryFile(/tmp/multipartBody4498060570385575307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177442554,"filename":"image_31122025_09_44_04_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873696","file1":"1401873694","file0":"1401873692","file4":"1401873701","file5":"1401873704","file3":"1401873699"},"map_files_photo_id_array":[{"photo_id":"1401873704","filename":"file5"},{"photo_id":"1401873696","filename":"file2"},{"photo_id":"1401873701","filename":"file4"},{"photo_id":"1401873694","filename":"file1"},{"photo_id":"1401873692","filename":"file0"},{"photo_id":"1401873699","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873699":["hashtag1","hashtag2"]},{"1401873696":["hashtag1","hashtag2"]},{"1401873692":["hashtag1","hashtag2"]},{"1401873701":["hashtag1","hashtag2"]},{"1401873704":["hashtag1","hashtag2"]},{"1401873694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873699, 1401873696, 1401873692, 1401873701, 1401873704, 1401873694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79714775085449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:37:02.831280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_55_10700.jpg', '/home/pi/Desktop/images/31122025/09/44/image_31122025_09_45_05_9760.jpg', '/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_14_9808.jpg', '/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_24_9717.jpg', '/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_35_10584.jpg', '/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_44_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/44/image_31122025_09_44_55_10700.jpg
/home/pi/Desktop/images/31122025/09/44/image_31122025_09_45_05_9760.jpg
/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_14_9808.jpg
/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_24_9717.jpg
/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_35_10584.jpg
/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_44_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873706","1401873786","1401873729","1401873827","1401873710","1401873707"],"photo_ids_order":["1401873706","1401873707","1401873710","1401873729","1401873786","1401873827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c1c91e57f3c57d95c0b8ed3af7e2525.jpg","text":"TemporaryFile(/tmp/multipartBody1307236778777567750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177483554,"filename":"image_31122025_09_44_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88cf760f2604e66c5fc54ecdc7484fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8549980566096419553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177483554,"filename":"image_31122025_09_45_35_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4df334e0ee844a3c41c73958604d6169.jpg","text":"TemporaryFile(/tmp/multipartBody1289587530738655771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177483554,"filename":"image_31122025_09_45_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72e67792d3db8f2e708369fc22fd3266.jpg","text":"TemporaryFile(/tmp/multipartBody4118624100228497320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177483554,"filename":"image_31122025_09_45_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6a621ab8be2d0379428345424bd0f76.jpg","text":"TemporaryFile(/tmp/multipartBody4614436538609642059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177483554,"filename":"image_31122025_09_45_14_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4385b8380e66ccb2379af043314f51d.jpg","text":"TemporaryFile(/tmp/multipartBody7352827424914109779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177483554,"filename":"image_31122025_09_45_05_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873710","file1":"1401873707","file0":"1401873706","file4":"1401873786","file5":"1401873827","file3":"1401873729"},"map_files_photo_id_array":[{"photo_id":"1401873827","filename":"file5"},{"photo_id":"1401873710","filename":"file2"},{"photo_id":"1401873786","filename":"file4"},{"photo_id":"1401873707","filename":"file1"},{"photo_id":"1401873706","filename":"file0"},{"photo_id":"1401873729","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401873706":["hashtag1","hashtag2"]},{"1401873786":["hashtag1","hashtag2"]},{"1401873729":["hashtag1","hashtag2"]},{"1401873827":["hashtag1","hashtag2"]},{"1401873710":["hashtag1","hashtag2"]},{"1401873707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401873706, 1401873786, 1401873729, 1401873827, 1401873710, 1401873707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04018688201904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:37:42.143738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/17/59/image_03112025_18_00_01_3660.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_08_3012.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_11_3585.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_14_2788.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_17_2704.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_20_3524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/17/59/image_03112025_18_00_01_3660.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_08_3012.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_11_3585.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_14_2788.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_17_2704.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_20_3524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401873955","1401874000","1401873999","1401873990","1401873995","1401874001"],"photo_ids_order":["1401873955","1401873990","1401873995","1401873999","1401874000","1401874001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73a715095aca00b562b44dd1ba8edf17.jpg","text":"TemporaryFile(/tmp/multipartBody2785387245848366729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177524053,"filename":"image_03112025_18_00_01_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c6b6180b93691209a82578bee98b8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2122170922837049510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177524053,"filename":"image_03112025_18_00_17_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/133692e8e463ef642acde783c8d14a44.jpg","text":"TemporaryFile(/tmp/multipartBody1015473957709860037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177524053,"filename":"image_03112025_18_00_14_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b84391d69b35e02f7bd5808b63ec999.jpg","text":"TemporaryFile(/tmp/multipartBody8467828450113611480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177524053,"filename":"image_03112025_18_00_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42b991b07520809f215f67d025d4e031.jpg","text":"TemporaryFile(/tmp/multipartBody8409082966197768043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177524053,"filename":"image_03112025_18_00_11_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4576d862fb8f383bfb2c73aa9635759.jpg","text":"TemporaryFile(/tmp/multipartBody593396293949384405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177524053,"filename":"image_03112025_18_00_20_3524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401873995","file1":"1401873990","file0":"1401873955","file4":"1401874000","file5":"1401874001","file3":"1401873999"},"map_files_photo_id_array":[{"photo_id":"1401874001","filename":"file5"},{"photo_id":"1401873995","filename":"file2"},{"photo_id":"1401874000","filename":"file4"},{"photo_id":"1401873990","filename":"file1"},{"photo_id":"1401873955","filename":"file0"},{"photo_id":"1401873999","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401873955":["hashtag1","hashtag2"]},{"1401874000":["hashtag1","hashtag2"]},{"1401873999":["hashtag1","hashtag2"]},{"1401873990":["hashtag1","hashtag2"]},{"1401873995":["hashtag1","hashtag2"]},{"1401874001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401873955, 1401874000, 1401873999, 1401873990, 1401873995, 1401874001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93561291694641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:38:22.404704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_54_9683.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_14_9642.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_24_9911.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_35_10563.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_45_9873.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_54_9683.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_14_9642.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_24_9911.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_35_10563.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_45_9873.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_54_9656.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5108969211578369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:38:32.321788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_23_2641.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_27_3520.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_29_2635.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_32_2669.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_36_3773.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_38_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_23_2641.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_27_3520.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_29_2635.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_32_2669.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_36_3773.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_38_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874039","1401874024","1401874044","1401874020","1401874014","1401874037"],"photo_ids_order":["1401874014","1401874020","1401874024","1401874037","1401874039","1401874044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1b9a31f3c579a42df04936312ac7abb.jpg","text":"TemporaryFile(/tmp/multipartBody3639635068986219229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177574226,"filename":"image_03112025_18_00_36_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51bd41d431aed6d3384a3d1b7fbcb0db.jpg","text":"TemporaryFile(/tmp/multipartBody1384889702966851701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177574226,"filename":"image_03112025_18_00_29_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2d29b1d4023eb6806be25758e28f7ac.jpg","text":"TemporaryFile(/tmp/multipartBody1487347147481374740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177574226,"filename":"image_03112025_18_00_38_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c77824a410b741bab61c9e294efbbe02.jpg","text":"TemporaryFile(/tmp/multipartBody5963169462473678313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177574226,"filename":"image_03112025_18_00_27_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/219f6137f847c4909579afeeff5b3527.jpg","text":"TemporaryFile(/tmp/multipartBody581120412033666187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177574226,"filename":"image_03112025_18_00_23_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad1041fc53e3593d399d3d693e34095e.jpg","text":"TemporaryFile(/tmp/multipartBody235731273281766247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177574226,"filename":"image_03112025_18_00_32_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874024","file1":"1401874020","file0":"1401874014","file4":"1401874039","file5":"1401874044","file3":"1401874037"},"map_files_photo_id_array":[{"photo_id":"1401874044","filename":"file5"},{"photo_id":"1401874024","filename":"file2"},{"photo_id":"1401874039","filename":"file4"},{"photo_id":"1401874020","filename":"file1"},{"photo_id":"1401874014","filename":"file0"},{"photo_id":"1401874037","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874039":["hashtag1","hashtag2"]},{"1401874024":["hashtag1","hashtag2"]},{"1401874044":["hashtag1","hashtag2"]},{"1401874020":["hashtag1","hashtag2"]},{"1401874014":["hashtag1","hashtag2"]},{"1401874037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874039, 1401874024, 1401874044, 1401874020, 1401874014, 1401874037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.150989294052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:39:12.505320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_41_2524.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_45_3891.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_48_2808.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_50_2705.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_53_2648.jpg', '/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_57_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_41_2524.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_45_3891.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_48_2808.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_50_2705.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_53_2648.jpg
/home/pi/Desktop/images/03112025/18/00/image_03112025_18_00_57_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874049","1401874058","1401874051","1401874060","1401874054","1401874063"],"photo_ids_order":["1401874049","1401874051","1401874054","1401874058","1401874060","1401874063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/662d0e582ec1a88be1230790765f67e0.jpg","text":"TemporaryFile(/tmp/multipartBody6834530030902272754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177614274,"filename":"image_03112025_18_00_41_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/340b45f6d93818f32f86583bb3688fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5110633884037411046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177614274,"filename":"image_03112025_18_00_50_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72f7de6acc536d71b897976b87536ab4.jpg","text":"TemporaryFile(/tmp/multipartBody395700863390443692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177614274,"filename":"image_03112025_18_00_45_3891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98243af36dbdd058e18a378ceefbefa4.jpg","text":"TemporaryFile(/tmp/multipartBody7092536529919063921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177614274,"filename":"image_03112025_18_00_53_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31f031b9e436190c90250a34edcf51c8.jpg","text":"TemporaryFile(/tmp/multipartBody3460606965622247504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177614274,"filename":"image_03112025_18_00_48_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61159713a7b0faab8d225da909a2a929.jpg","text":"TemporaryFile(/tmp/multipartBody3513751553474032359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177614274,"filename":"image_03112025_18_00_57_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874054","file1":"1401874051","file0":"1401874049","file4":"1401874060","file5":"1401874063","file3":"1401874058"},"map_files_photo_id_array":[{"photo_id":"1401874063","filename":"file5"},{"photo_id":"1401874054","filename":"file2"},{"photo_id":"1401874060","filename":"file4"},{"photo_id":"1401874051","filename":"file1"},{"photo_id":"1401874049","filename":"file0"},{"photo_id":"1401874058","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874049":["hashtag1","hashtag2"]},{"1401874058":["hashtag1","hashtag2"]},{"1401874051":["hashtag1","hashtag2"]},{"1401874060":["hashtag1","hashtag2"]},{"1401874054":["hashtag1","hashtag2"]},{"1401874063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874049, 1401874058, 1401874051, 1401874060, 1401874054, 1401874063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98061203956604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:40:03.213185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_54_9683.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_14_9642.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_24_9911.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_35_10563.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_45_9873.jpg', '/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/45/image_31122025_09_45_54_9683.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_14_9642.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_24_9911.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_35_10563.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_45_9873.jpg
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_46_54_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874083","1401874071","1401874073","1401874078","1401874081","1401874075"],"photo_ids_order":["1401874071","1401874073","1401874075","1401874078","1401874081","1401874083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93b7e4b35392930c1744c3d0ec3eaa04.jpg","text":"TemporaryFile(/tmp/multipartBody3208541691448359645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177663903,"filename":"image_31122025_09_46_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0ddbac914b6de1a1a87353518af4c5f.jpg","text":"TemporaryFile(/tmp/multipartBody6366453708523962574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177663903,"filename":"image_31122025_09_45_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c7f981aa0d8fbbf4255bd1ce218d323.jpg","text":"TemporaryFile(/tmp/multipartBody9027286175826954741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177663903,"filename":"image_31122025_09_46_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3b4f6a61ee58d90febd6576ff8c41ec.jpg","text":"TemporaryFile(/tmp/multipartBody5214391352916145465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177663903,"filename":"image_31122025_09_46_35_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a97bf031bc47f1b8bed706f0170b1536.jpg","text":"TemporaryFile(/tmp/multipartBody2076904237015892356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177663903,"filename":"image_31122025_09_46_45_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c703416051e68dc2edc11ff219501ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4966678997089737658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177663903,"filename":"image_31122025_09_46_24_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874075","file1":"1401874073","file0":"1401874071","file4":"1401874081","file5":"1401874083","file3":"1401874078"},"map_files_photo_id_array":[{"photo_id":"1401874083","filename":"file5"},{"photo_id":"1401874075","filename":"file2"},{"photo_id":"1401874081","filename":"file4"},{"photo_id":"1401874073","filename":"file1"},{"photo_id":"1401874071","filename":"file0"},{"photo_id":"1401874078","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874083":["hashtag1","hashtag2"]},{"1401874071":["hashtag1","hashtag2"]},{"1401874073":["hashtag1","hashtag2"]},{"1401874078":["hashtag1","hashtag2"]},{"1401874081":["hashtag1","hashtag2"]},{"1401874075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874083, 1401874071, 1401874073, 1401874078, 1401874081, 1401874075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.188583850860596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:40:42.771214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_01_4702.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_05_3929.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_07_1622.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_09_1760.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_11_2770.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_14_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_01_4702.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_05_3929.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_07_1622.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_09_1760.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_11_2770.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_14_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874095","1401874098","1401874092","1401874094","1401874097","1401874096"],"photo_ids_order":["1401874092","1401874094","1401874095","1401874096","1401874097","1401874098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3a452e588d885c5fafa1e5640730be0.jpg","text":"TemporaryFile(/tmp/multipartBody2688763600143589620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177704703,"filename":"image_03112025_18_01_07_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c75d6ec36300e858cce36b864df0b4f8.jpg","text":"TemporaryFile(/tmp/multipartBody2176195253445633445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177704703,"filename":"image_03112025_18_01_14_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fd15b9623deaa700b908495543ac658.jpg","text":"TemporaryFile(/tmp/multipartBody6563661679757123159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177704703,"filename":"image_03112025_18_01_01_4702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f3e2d7588bd1b27fd6b1921c785eeef.jpg","text":"TemporaryFile(/tmp/multipartBody8063997831722286544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177704703,"filename":"image_03112025_18_01_05_3929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/636777a998ff741be80a09d412ae8b01.jpg","text":"TemporaryFile(/tmp/multipartBody168964794810534155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177704703,"filename":"image_03112025_18_01_11_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6eb01624bab9de7c08b8d8df78e1d1f7.jpg","text":"TemporaryFile(/tmp/multipartBody2264795421639141682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177704703,"filename":"image_03112025_18_01_09_1760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874095","file1":"1401874094","file0":"1401874092","file4":"1401874097","file5":"1401874098","file3":"1401874096"},"map_files_photo_id_array":[{"photo_id":"1401874098","filename":"file5"},{"photo_id":"1401874095","filename":"file2"},{"photo_id":"1401874097","filename":"file4"},{"photo_id":"1401874094","filename":"file1"},{"photo_id":"1401874092","filename":"file0"},{"photo_id":"1401874096","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874095":["hashtag1","hashtag2"]},{"1401874098":["hashtag1","hashtag2"]},{"1401874092":["hashtag1","hashtag2"]},{"1401874094":["hashtag1","hashtag2"]},{"1401874097":["hashtag1","hashtag2"]},{"1401874096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874095, 1401874098, 1401874092, 1401874094, 1401874097, 1401874096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.127124071121216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:41:21.965687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/46/image_31122025_09_47_04_9859.jpg', '/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_15_10644.jpg', '/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_25_9807.jpg', '/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_34_9719.jpg', '/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_44_9579.jpg', '/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_55_10893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/46/image_31122025_09_47_04_9859.jpg
/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_15_10644.jpg
/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_25_9807.jpg
/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_34_9719.jpg
/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_44_9579.jpg
/home/pi/Desktop/images/31122025/09/47/image_31122025_09_47_55_10893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874111","1401874105","1401874113","1401874107","1401874109","1401874103"],"photo_ids_order":["1401874103","1401874105","1401874107","1401874109","1401874111","1401874113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3eb04809d897dc38af4984f965f3171.jpg","text":"TemporaryFile(/tmp/multipartBody8849541286190225330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177742619,"filename":"image_31122025_09_47_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/633d3d66d8b5a6d297da1e792fc33c49.jpg","text":"TemporaryFile(/tmp/multipartBody7227942339878752618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177742619,"filename":"image_31122025_09_47_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b630956ef25a5633d68aec6d3dcd147.jpg","text":"TemporaryFile(/tmp/multipartBody3430424354313038791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177742619,"filename":"image_31122025_09_47_55_10893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d6c17e12ea965f8023359300e575474.jpg","text":"TemporaryFile(/tmp/multipartBody3130964567479168942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177742619,"filename":"image_31122025_09_47_25_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a488461499a36c4fa1c7dfa791c7e056.jpg","text":"TemporaryFile(/tmp/multipartBody2773499028558096424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177742619,"filename":"image_31122025_09_47_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15636d60983a3bcf821a7c725a931b95.jpg","text":"TemporaryFile(/tmp/multipartBody2805001930539015124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177742619,"filename":"image_31122025_09_47_04_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874107","file1":"1401874105","file0":"1401874103","file4":"1401874111","file5":"1401874113","file3":"1401874109"},"map_files_photo_id_array":[{"photo_id":"1401874113","filename":"file5"},{"photo_id":"1401874107","filename":"file2"},{"photo_id":"1401874111","filename":"file4"},{"photo_id":"1401874105","filename":"file1"},{"photo_id":"1401874103","filename":"file0"},{"photo_id":"1401874109","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874111":["hashtag1","hashtag2"]},{"1401874105":["hashtag1","hashtag2"]},{"1401874113":["hashtag1","hashtag2"]},{"1401874107":["hashtag1","hashtag2"]},{"1401874109":["hashtag1","hashtag2"]},{"1401874103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874111, 1401874105, 1401874113, 1401874107, 1401874109, 1401874103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33663463592529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:42:02.562268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/47/image_31122025_09_48_05_9821.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_14_9786.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_24_9743.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_35_10665.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_45_9818.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/47/image_31122025_09_48_05_9821.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_14_9786.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_24_9743.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_35_10665.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_45_9818.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_54_9664.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5648288726806641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:42:12.106438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_18_3685.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_20_2567.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_23_2659.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_26_2815.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_29_3630.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_32_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_18_3685.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_20_2567.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_23_2659.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_26_2815.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_29_3630.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_32_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874144","1401874146","1401874140","1401874134","1401874137","1401874142"],"photo_ids_order":["1401874134","1401874137","1401874140","1401874142","1401874144","1401874146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c37e77f5185544f6a156f7982cf898f.jpg","text":"TemporaryFile(/tmp/multipartBody4368054644476342840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177794013,"filename":"image_03112025_18_01_29_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e0d0a5bf5dfa471065bab17238ecd18.jpg","text":"TemporaryFile(/tmp/multipartBody6953053953396536879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177794013,"filename":"image_03112025_18_01_32_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ffafe854fece7d2055f7fdc3ec0c4f0.jpg","text":"TemporaryFile(/tmp/multipartBody888236366191344894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177794013,"filename":"image_03112025_18_01_23_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13fc101190828a210e0b0a1dbb4ba8fd.jpg","text":"TemporaryFile(/tmp/multipartBody7451449896262212618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177794013,"filename":"image_03112025_18_01_18_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a25208a7027ddb243eddc503b8c60f0.jpg","text":"TemporaryFile(/tmp/multipartBody114998612237490080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177794013,"filename":"image_03112025_18_01_20_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85e8bb4c078133a01fd4d27ff5504497.jpg","text":"TemporaryFile(/tmp/multipartBody6080572511746701949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177794013,"filename":"image_03112025_18_01_26_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874140","file1":"1401874137","file0":"1401874134","file4":"1401874144","file5":"1401874146","file3":"1401874142"},"map_files_photo_id_array":[{"photo_id":"1401874146","filename":"file5"},{"photo_id":"1401874140","filename":"file2"},{"photo_id":"1401874144","filename":"file4"},{"photo_id":"1401874137","filename":"file1"},{"photo_id":"1401874134","filename":"file0"},{"photo_id":"1401874142","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874144":["hashtag1","hashtag2"]},{"1401874146":["hashtag1","hashtag2"]},{"1401874140":["hashtag1","hashtag2"]},{"1401874134":["hashtag1","hashtag2"]},{"1401874137":["hashtag1","hashtag2"]},{"1401874142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874144, 1401874146, 1401874140, 1401874134, 1401874137, 1401874142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89798307418823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:43:02.909615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/47/image_31122025_09_48_05_9821.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_14_9786.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_24_9743.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_35_10665.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_45_9818.jpg', '/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/47/image_31122025_09_48_05_9821.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_14_9786.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_24_9743.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_35_10665.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_45_9818.jpg
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_48_54_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874158","1401874155","1401874160","1401874154","1401874157","1401874156"],"photo_ids_order":["1401874154","1401874155","1401874156","1401874157","1401874158","1401874160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9187eb8046c57cc8a5228f19333b3907.jpg","text":"TemporaryFile(/tmp/multipartBody1158937719076489817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177843584,"filename":"image_31122025_09_48_45_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22e57e5aff9a8ae028ef04aa316eee9d.jpg","text":"TemporaryFile(/tmp/multipartBody5608840757436514762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177843584,"filename":"image_31122025_09_48_14_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85f2b763e6b99630c2a2425c543bc475.jpg","text":"TemporaryFile(/tmp/multipartBody9158380978400313186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177843584,"filename":"image_31122025_09_48_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/722ac7a3bdfa81ff85c408b4596d7251.jpg","text":"TemporaryFile(/tmp/multipartBody4251668060439541698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177843584,"filename":"image_31122025_09_48_05_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30fbe6dd5c3f8ea2eb87e6c5fbb81a01.jpg","text":"TemporaryFile(/tmp/multipartBody1586316469594547165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177843584,"filename":"image_31122025_09_48_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/399c8ffd75af2ca33d8351ef935dc664.jpg","text":"TemporaryFile(/tmp/multipartBody6759345731807760786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177843584,"filename":"image_31122025_09_48_24_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874156","file1":"1401874155","file0":"1401874154","file4":"1401874158","file5":"1401874160","file3":"1401874157"},"map_files_photo_id_array":[{"photo_id":"1401874160","filename":"file5"},{"photo_id":"1401874156","filename":"file2"},{"photo_id":"1401874158","filename":"file4"},{"photo_id":"1401874155","filename":"file1"},{"photo_id":"1401874154","filename":"file0"},{"photo_id":"1401874157","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874158":["hashtag1","hashtag2"]},{"1401874155":["hashtag1","hashtag2"]},{"1401874160":["hashtag1","hashtag2"]},{"1401874154":["hashtag1","hashtag2"]},{"1401874157":["hashtag1","hashtag2"]},{"1401874156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874158, 1401874155, 1401874160, 1401874154, 1401874157, 1401874156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.412858963012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:43:42.475991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_36_3627.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_38_2742.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_41_2603.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_44_2736.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_47_3572.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_50_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_36_3627.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_38_2742.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_41_2603.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_44_2736.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_47_3572.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_50_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874179","1401874172","1401874178","1401874177","1401874174","1401874168"],"photo_ids_order":["1401874168","1401874172","1401874174","1401874177","1401874178","1401874179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9627805c71e7eef69f660ca64daf385e.jpg","text":"TemporaryFile(/tmp/multipartBody1080992220431198891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177884380,"filename":"image_03112025_18_01_50_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b0d435efa08712f3ef2de9cb96057b8.jpg","text":"TemporaryFile(/tmp/multipartBody2732472408596497046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177884380,"filename":"image_03112025_18_01_38_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47c60484285b78b71a900bc65174095e.jpg","text":"TemporaryFile(/tmp/multipartBody5934445158244034612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177884380,"filename":"image_03112025_18_01_47_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eeb903b9cbccf854c778c41efee673cd.jpg","text":"TemporaryFile(/tmp/multipartBody2046260798274315018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177884380,"filename":"image_03112025_18_01_44_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d97e405fb6cd9ad1188e86894ecc72aa.jpg","text":"TemporaryFile(/tmp/multipartBody112888065390516059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177884380,"filename":"image_03112025_18_01_41_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9eae5fdc8cc5639a97cd1043cec7c1a0.jpg","text":"TemporaryFile(/tmp/multipartBody2800618151559216162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177884380,"filename":"image_03112025_18_01_36_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874174","file1":"1401874172","file0":"1401874168","file4":"1401874178","file5":"1401874179","file3":"1401874177"},"map_files_photo_id_array":[{"photo_id":"1401874179","filename":"file5"},{"photo_id":"1401874174","filename":"file2"},{"photo_id":"1401874178","filename":"file4"},{"photo_id":"1401874172","filename":"file1"},{"photo_id":"1401874168","filename":"file0"},{"photo_id":"1401874177","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874179":["hashtag1","hashtag2"]},{"1401874172":["hashtag1","hashtag2"]},{"1401874178":["hashtag1","hashtag2"]},{"1401874177":["hashtag1","hashtag2"]},{"1401874174":["hashtag1","hashtag2"]},{"1401874168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874179, 1401874172, 1401874178, 1401874177, 1401874174, 1401874168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48766899108887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:44:22.769856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/48/image_31122025_09_49_04_9614.jpg', '/home/pi/Desktop/images/31122025/09/49/image_31122025_09_49_15_10651.jpg', '/home/pi/Desktop/images/31122025/09/49/image_31122025_09_49_24_9738.jpg', '/home/pi/Desktop/images/31122025/09/49/image_31122025_09_49_34_9704.jpg', '/home/pi/Desktop/images/31122025/09/49/image_31122025_09_49_45_10601.jpg', '/home/pi/Desktop/images/31122025/09/49/image_31122025_09_50_04_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/48/image_31122025_09_49_04_9614.jpg
/home/pi/Desktop/images/31122025/09/49/image_31122025_09_49_15_10651.jpg
/home/pi/Desktop/images/31122025/09/49/image_31122025_09_49_24_9738.jpg
/home/pi/Desktop/images/31122025/09/49/image_31122025_09_49_34_9704.jpg
/home/pi/Desktop/images/31122025/09/49/image_31122025_09_49_45_10601.jpg
/home/pi/Desktop/images/31122025/09/49/image_31122025_09_50_04_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874216","1401874219","1401874188","1401874185","1401874196","1401874214"],"photo_ids_order":["1401874185","1401874188","1401874196","1401874214","1401874216","1401874219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afc87cb1423d5ac3136eccc5818f0d9c.jpg","text":"TemporaryFile(/tmp/multipartBody958762890034339114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177923356,"filename":"image_31122025_09_49_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da13bf35643c19080f7107df96a2816a.jpg","text":"TemporaryFile(/tmp/multipartBody3881892339198716833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177923356,"filename":"image_31122025_09_50_04_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0a2fe98aae9df6dcf02f29ec90531dd.jpg","text":"TemporaryFile(/tmp/multipartBody944351681221871637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177923356,"filename":"image_31122025_09_49_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0f9b3c4c670bcc078f434f524585b8d.jpg","text":"TemporaryFile(/tmp/multipartBody6836723205979145078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177923356,"filename":"image_31122025_09_49_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a364c327674b98eb8502c05528e4d14.jpg","text":"TemporaryFile(/tmp/multipartBody4360107836587048472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177923356,"filename":"image_31122025_09_49_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e18e5b9932913317dd65b5f59e8056b5.jpg","text":"TemporaryFile(/tmp/multipartBody4445876145222649625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177923356,"filename":"image_31122025_09_49_34_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874196","file1":"1401874188","file0":"1401874185","file4":"1401874216","file5":"1401874219","file3":"1401874214"},"map_files_photo_id_array":[{"photo_id":"1401874219","filename":"file5"},{"photo_id":"1401874196","filename":"file2"},{"photo_id":"1401874216","filename":"file4"},{"photo_id":"1401874188","filename":"file1"},{"photo_id":"1401874185","filename":"file0"},{"photo_id":"1401874214","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874216":["hashtag1","hashtag2"]},{"1401874219":["hashtag1","hashtag2"]},{"1401874188":["hashtag1","hashtag2"]},{"1401874185":["hashtag1","hashtag2"]},{"1401874196":["hashtag1","hashtag2"]},{"1401874214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874216, 1401874219, 1401874188, 1401874185, 1401874196, 1401874214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56550049781799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:45:02.632437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_14_9848.jpg', '/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_25_10753.jpg', '/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_35_9745.jpg', '/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_44_9677.jpg', '/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_55_10585.jpg', '/home/pi/Desktop/images/31122025/09/50/image_31122025_09_51_05_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_14_9848.jpg
/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_25_10753.jpg
/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_35_9745.jpg
/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_44_9677.jpg
/home/pi/Desktop/images/31122025/09/50/image_31122025_09_50_55_10585.jpg
/home/pi/Desktop/images/31122025/09/50/image_31122025_09_51_05_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874243","1401874237","1401874239","1401874233","1401874241","1401874235"],"photo_ids_order":["1401874233","1401874235","1401874237","1401874239","1401874241","1401874243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aaea206bdde2fbcf913d08f38db9a882.jpg","text":"TemporaryFile(/tmp/multipartBody4119102584016335603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177963306,"filename":"image_31122025_09_51_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6891fd4466b5c2780ef51b30430294e6.jpg","text":"TemporaryFile(/tmp/multipartBody538466292637805126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177963306,"filename":"image_31122025_09_50_35_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a7a27b434765c8eeae36ac7faa5502b.jpg","text":"TemporaryFile(/tmp/multipartBody5422900913008513289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177963306,"filename":"image_31122025_09_50_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23b8d3ea4cb003ab5ce34f8fbcf93b00.jpg","text":"TemporaryFile(/tmp/multipartBody5128354540229719313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177963306,"filename":"image_31122025_09_50_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9166b3ba05664e4f861418118d047c22.jpg","text":"TemporaryFile(/tmp/multipartBody5066015393436975982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177963306,"filename":"image_31122025_09_50_55_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b551ed634f6ff1cc5fe160dab982bc2e.jpg","text":"TemporaryFile(/tmp/multipartBody965388772360636605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767177963306,"filename":"image_31122025_09_50_25_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874237","file1":"1401874235","file0":"1401874233","file4":"1401874241","file5":"1401874243","file3":"1401874239"},"map_files_photo_id_array":[{"photo_id":"1401874243","filename":"file5"},{"photo_id":"1401874237","filename":"file2"},{"photo_id":"1401874241","filename":"file4"},{"photo_id":"1401874235","filename":"file1"},{"photo_id":"1401874233","filename":"file0"},{"photo_id":"1401874239","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874243":["hashtag1","hashtag2"]},{"1401874237":["hashtag1","hashtag2"]},{"1401874239":["hashtag1","hashtag2"]},{"1401874233":["hashtag1","hashtag2"]},{"1401874241":["hashtag1","hashtag2"]},{"1401874235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874243, 1401874237, 1401874239, 1401874233, 1401874241, 1401874235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89680552482605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:45:41.887953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_54_3596.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_56_2745.jpg', '/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_59_2577.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_05_6005.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_08_3134.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_10_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_54_3596.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_56_2745.jpg
/home/pi/Desktop/images/03112025/18/01/image_03112025_18_01_59_2577.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_05_6005.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_08_3134.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_10_1558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874260","1401874253","1401874252","1401874261","1401874255","1401874249"],"photo_ids_order":["1401874249","1401874252","1401874253","1401874255","1401874260","1401874261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fc735cfb8f37596c465db021a40aa3d.jpg","text":"TemporaryFile(/tmp/multipartBody870248790662140819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178003839,"filename":"image_03112025_18_02_08_3134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff7d9d8b7c8ea21cc7a1288351307e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3677826643192204111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178003839,"filename":"image_03112025_18_01_59_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea6162f80e2610c54054562947824ff4.jpg","text":"TemporaryFile(/tmp/multipartBody390421669628204063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178003839,"filename":"image_03112025_18_01_56_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bd7c7fb02fe9c68c867774d83a6f177.jpg","text":"TemporaryFile(/tmp/multipartBody2351999139499635902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178003839,"filename":"image_03112025_18_02_10_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57f528b665a45cc91278daff7fdeb748.jpg","text":"TemporaryFile(/tmp/multipartBody412538019055770312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178003839,"filename":"image_03112025_18_02_05_6005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14167434897cfd29633411ca25389b18.jpg","text":"TemporaryFile(/tmp/multipartBody3142862864097995749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178003839,"filename":"image_03112025_18_01_54_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874253","file1":"1401874252","file0":"1401874249","file4":"1401874260","file5":"1401874261","file3":"1401874255"},"map_files_photo_id_array":[{"photo_id":"1401874261","filename":"file5"},{"photo_id":"1401874253","filename":"file2"},{"photo_id":"1401874260","filename":"file4"},{"photo_id":"1401874252","filename":"file1"},{"photo_id":"1401874249","filename":"file0"},{"photo_id":"1401874255","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874260":["hashtag1","hashtag2"]},{"1401874253":["hashtag1","hashtag2"]},{"1401874252":["hashtag1","hashtag2"]},{"1401874261":["hashtag1","hashtag2"]},{"1401874255":["hashtag1","hashtag2"]},{"1401874249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874260, 1401874253, 1401874252, 1401874261, 1401874255, 1401874249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.159120082855225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:46:22.081537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/51/image_31122025_09_51_14_9750.jpg', '/home/pi/Desktop/images/31122025/09/51/image_31122025_09_51_24_9642.jpg', '/home/pi/Desktop/images/31122025/09/51/image_31122025_09_51_35_10682.jpg', '/home/pi/Desktop/images/31122025/09/51/image_31122025_09_51_54_9638.jpg', '/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_15_9778.jpg', '/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_24_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/51/image_31122025_09_51_14_9750.jpg
/home/pi/Desktop/images/31122025/09/51/image_31122025_09_51_24_9642.jpg
/home/pi/Desktop/images/31122025/09/51/image_31122025_09_51_35_10682.jpg
/home/pi/Desktop/images/31122025/09/51/image_31122025_09_51_54_9638.jpg
/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_15_9778.jpg
/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_24_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874281","1401874269","1401874284","1401874271","1401874277","1401874279"],"photo_ids_order":["1401874269","1401874271","1401874277","1401874279","1401874281","1401874284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68958e19b54ce07e756b649178d2d3ca.jpg","text":"TemporaryFile(/tmp/multipartBody7030365748900268069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178042703,"filename":"image_31122025_09_52_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03ff313e1e2638271de0602b3cd1b195.jpg","text":"TemporaryFile(/tmp/multipartBody6967853422819290474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178042703,"filename":"image_31122025_09_51_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7fd9f7b963b91dffa5c5c5ddae94536.jpg","text":"TemporaryFile(/tmp/multipartBody4304636744148995471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178042703,"filename":"image_31122025_09_52_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b329a5ecca14ba36bf8d97b203eadbe.jpg","text":"TemporaryFile(/tmp/multipartBody6347956683983839041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178042703,"filename":"image_31122025_09_51_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c006b3d4fb4c6303176f78887a571460.jpg","text":"TemporaryFile(/tmp/multipartBody8373178401605922164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178042703,"filename":"image_31122025_09_51_35_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/586560f7e702c9496855c3165d440d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6091402452003224776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178042703,"filename":"image_31122025_09_51_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874277","file1":"1401874271","file0":"1401874269","file4":"1401874281","file5":"1401874284","file3":"1401874279"},"map_files_photo_id_array":[{"photo_id":"1401874284","filename":"file5"},{"photo_id":"1401874277","filename":"file2"},{"photo_id":"1401874281","filename":"file4"},{"photo_id":"1401874271","filename":"file1"},{"photo_id":"1401874269","filename":"file0"},{"photo_id":"1401874279","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874281":["hashtag1","hashtag2"]},{"1401874269":["hashtag1","hashtag2"]},{"1401874284":["hashtag1","hashtag2"]},{"1401874271":["hashtag1","hashtag2"]},{"1401874277":["hashtag1","hashtag2"]},{"1401874279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874281, 1401874269, 1401874284, 1401874271, 1401874277, 1401874279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3332998752594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:47:03.021731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_34_9788.jpg', '/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_45_10633.jpg', '/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_55_9774.jpg', '/home/pi/Desktop/images/31122025/09/52/image_31122025_09_53_04_9720.jpg', '/home/pi/Desktop/images/31122025/09/53/image_31122025_09_53_25_9725.jpg', '/home/pi/Desktop/images/31122025/09/53/image_31122025_09_53_44_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_34_9788.jpg
/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_45_10633.jpg
/home/pi/Desktop/images/31122025/09/52/image_31122025_09_52_55_9774.jpg
/home/pi/Desktop/images/31122025/09/52/image_31122025_09_53_04_9720.jpg
/home/pi/Desktop/images/31122025/09/53/image_31122025_09_53_25_9725.jpg
/home/pi/Desktop/images/31122025/09/53/image_31122025_09_53_44_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874383","1401874397","1401874367","1401874418","1401874331","1401874291"],"photo_ids_order":["1401874291","1401874331","1401874367","1401874383","1401874397","1401874418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52131de32eb392bd4646b7e2e20ec525.jpg","text":"TemporaryFile(/tmp/multipartBody1164041642945748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178083685,"filename":"image_31122025_09_53_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc700b846d9fc99ab4ab4bac537a46e0.jpg","text":"TemporaryFile(/tmp/multipartBody256153218122084074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178083685,"filename":"image_31122025_09_53_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfb2e9d55ed4e9d830cdde3b6cd3606c.jpg","text":"TemporaryFile(/tmp/multipartBody1669455910222164471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178083685,"filename":"image_31122025_09_52_55_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db1d44600d6fc95206d7034905b157de.jpg","text":"TemporaryFile(/tmp/multipartBody4108247906699429182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178083685,"filename":"image_31122025_09_53_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fb671dc7aef74b9c3c7e65945bb855b.jpg","text":"TemporaryFile(/tmp/multipartBody5225148127814727136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178083685,"filename":"image_31122025_09_52_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26c51b6465b4c51d3bcdbd181da5b01d.jpg","text":"TemporaryFile(/tmp/multipartBody1331890977497559838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178083685,"filename":"image_31122025_09_52_34_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874367","file1":"1401874331","file0":"1401874291","file4":"1401874397","file5":"1401874418","file3":"1401874383"},"map_files_photo_id_array":[{"photo_id":"1401874418","filename":"file5"},{"photo_id":"1401874367","filename":"file2"},{"photo_id":"1401874397","filename":"file4"},{"photo_id":"1401874331","filename":"file1"},{"photo_id":"1401874291","filename":"file0"},{"photo_id":"1401874383","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874383":["hashtag1","hashtag2"]},{"1401874397":["hashtag1","hashtag2"]},{"1401874367":["hashtag1","hashtag2"]},{"1401874418":["hashtag1","hashtag2"]},{"1401874331":["hashtag1","hashtag2"]},{"1401874291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874383, 1401874397, 1401874367, 1401874418, 1401874331, 1401874291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53170156478882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:47:42.204806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_11_1798.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_14_2829.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_17_2569.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_21_3795.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_23_2568.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_26_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_11_1798.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_14_2829.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_17_2569.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_21_3795.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_23_2568.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_26_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874461","1401874458","1401874457","1401874456","1401874459","1401874444"],"photo_ids_order":["1401874444","1401874456","1401874457","1401874458","1401874459","1401874461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0957cabb0636fd585688abacfc4e673c.jpg","text":"TemporaryFile(/tmp/multipartBody4568299502944793942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178124128,"filename":"image_03112025_18_02_26_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d4bd246c66774610166e23812cf9da5.jpg","text":"TemporaryFile(/tmp/multipartBody7104401214552817496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178124128,"filename":"image_03112025_18_02_21_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d98356e1c0e9e4b275f8aef1482c102f.jpg","text":"TemporaryFile(/tmp/multipartBody2312395615405505668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178124128,"filename":"image_03112025_18_02_17_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f4255eb9a68102f3122e71720539e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4864361843807833523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178124128,"filename":"image_03112025_18_02_14_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6933fe8abe7b186ee99f938d0a60b438.jpg","text":"TemporaryFile(/tmp/multipartBody2866900021511603697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178124128,"filename":"image_03112025_18_02_23_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d52b5037d8515777531bbfa4ab7520e.jpg","text":"TemporaryFile(/tmp/multipartBody7788645581635246522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178124128,"filename":"image_03112025_18_02_11_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874457","file1":"1401874456","file0":"1401874444","file4":"1401874459","file5":"1401874461","file3":"1401874458"},"map_files_photo_id_array":[{"photo_id":"1401874461","filename":"file5"},{"photo_id":"1401874457","filename":"file2"},{"photo_id":"1401874459","filename":"file4"},{"photo_id":"1401874456","filename":"file1"},{"photo_id":"1401874444","filename":"file0"},{"photo_id":"1401874458","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874461":["hashtag1","hashtag2"]},{"1401874458":["hashtag1","hashtag2"]},{"1401874457":["hashtag1","hashtag2"]},{"1401874456":["hashtag1","hashtag2"]},{"1401874459":["hashtag1","hashtag2"]},{"1401874444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874461, 1401874458, 1401874457, 1401874456, 1401874459, 1401874444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.973960638046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:48:22.339115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/53/image_31122025_09_53_55_10701.jpg', '/home/pi/Desktop/images/31122025/09/53/image_31122025_09_54_05_9629.jpg', '/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_14_9872.jpg', '/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_24_9595.jpg', '/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_35_10661.jpg', '/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_44_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/53/image_31122025_09_53_55_10701.jpg
/home/pi/Desktop/images/31122025/09/53/image_31122025_09_54_05_9629.jpg
/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_14_9872.jpg
/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_24_9595.jpg
/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_35_10661.jpg
/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_44_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874470","1401874488","1401874473","1401874466","1401874480","1401874471"],"photo_ids_order":["1401874466","1401874470","1401874471","1401874473","1401874480","1401874488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64f14415ae07b321ca8c8ea2eb1b3865.jpg","text":"TemporaryFile(/tmp/multipartBody7883260279581834951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178162940,"filename":"image_31122025_09_54_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54236f6da4bd6230e7ea5e569f6320dd.jpg","text":"TemporaryFile(/tmp/multipartBody7482501080270314095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178162940,"filename":"image_31122025_09_54_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a628e0b7b6e97c45268177a831c6ef17.jpg","text":"TemporaryFile(/tmp/multipartBody4794251691098076315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178162940,"filename":"image_31122025_09_54_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dde04589d9f89f65cbb977ef97db1232.jpg","text":"TemporaryFile(/tmp/multipartBody6253339970490871905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178162940,"filename":"image_31122025_09_53_55_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ceed4d3bcaa7b9c3ebecb8672a6001dc.jpg","text":"TemporaryFile(/tmp/multipartBody7306619930285773883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178162940,"filename":"image_31122025_09_54_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1da7895460b46b2ccf23a3ccb696a17e.jpg","text":"TemporaryFile(/tmp/multipartBody3893650699288037151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178162940,"filename":"image_31122025_09_54_14_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874471","file1":"1401874470","file0":"1401874466","file4":"1401874480","file5":"1401874488","file3":"1401874473"},"map_files_photo_id_array":[{"photo_id":"1401874488","filename":"file5"},{"photo_id":"1401874471","filename":"file2"},{"photo_id":"1401874480","filename":"file4"},{"photo_id":"1401874470","filename":"file1"},{"photo_id":"1401874466","filename":"file0"},{"photo_id":"1401874473","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874470":["hashtag1","hashtag2"]},{"1401874488":["hashtag1","hashtag2"]},{"1401874473":["hashtag1","hashtag2"]},{"1401874466":["hashtag1","hashtag2"]},{"1401874480":["hashtag1","hashtag2"]},{"1401874471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874470, 1401874488, 1401874473, 1401874466, 1401874480, 1401874471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.246352672576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:49:03.579151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_54_9711.jpg', '/home/pi/Desktop/images/31122025/09/54/image_31122025_09_55_05_10790.jpg', '/home/pi/Desktop/images/31122025/09/55/image_31122025_09_55_15_9694.jpg', '/home/pi/Desktop/images/31122025/09/55/image_31122025_09_55_45_10552.jpg', '/home/pi/Desktop/images/31122025/09/55/image_31122025_09_56_04_9552.jpg', '/home/pi/Desktop/images/31122025/09/56/image_31122025_09_56_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/54/image_31122025_09_54_54_9711.jpg
/home/pi/Desktop/images/31122025/09/54/image_31122025_09_55_05_10790.jpg
/home/pi/Desktop/images/31122025/09/55/image_31122025_09_55_15_9694.jpg
/home/pi/Desktop/images/31122025/09/55/image_31122025_09_55_45_10552.jpg
/home/pi/Desktop/images/31122025/09/55/image_31122025_09_56_04_9552.jpg
/home/pi/Desktop/images/31122025/09/56/image_31122025_09_56_24_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874501","1401874491","1401874496","1401874499","1401874493","1401874489"],"photo_ids_order":["1401874489","1401874491","1401874493","1401874496","1401874499","1401874501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1180e2f1a1b580efd65cadd1b7a6413.jpg","text":"TemporaryFile(/tmp/multipartBody3895306641274127878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178204298,"filename":"image_31122025_09_56_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c05cc4d95101011bf96d8c8ce87d0a69.jpg","text":"TemporaryFile(/tmp/multipartBody3252703172593582149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178204298,"filename":"image_31122025_09_55_05_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cc8fd7e381e17d4a56d854c6bb52ed3.jpg","text":"TemporaryFile(/tmp/multipartBody4825461210859892131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178204298,"filename":"image_31122025_09_55_45_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1cea1c88872dfd1569846f640377c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6664480529476377967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178204298,"filename":"image_31122025_09_56_04_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bff0448a8286882b6f456baa922122ab.jpg","text":"TemporaryFile(/tmp/multipartBody1984615829699436355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178204298,"filename":"image_31122025_09_55_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb9db6351535d007563a1f7180cb126f.jpg","text":"TemporaryFile(/tmp/multipartBody3742698998040752455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178204298,"filename":"image_31122025_09_54_54_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874493","file1":"1401874491","file0":"1401874489","file4":"1401874499","file5":"1401874501","file3":"1401874496"},"map_files_photo_id_array":[{"photo_id":"1401874501","filename":"file5"},{"photo_id":"1401874493","filename":"file2"},{"photo_id":"1401874499","filename":"file4"},{"photo_id":"1401874491","filename":"file1"},{"photo_id":"1401874489","filename":"file0"},{"photo_id":"1401874496","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874501":["hashtag1","hashtag2"]},{"1401874491":["hashtag1","hashtag2"]},{"1401874496":["hashtag1","hashtag2"]},{"1401874499":["hashtag1","hashtag2"]},{"1401874493":["hashtag1","hashtag2"]},{"1401874489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874501, 1401874491, 1401874496, 1401874499, 1401874493, 1401874489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6040198802948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:50:03.285315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/56/image_31122025_09_56_34_9735.jpg', '/home/pi/Desktop/images/31122025/09/56/image_31122025_09_56_45_10771.jpg', '/home/pi/Desktop/images/31122025/09/56/image_31122025_09_56_55_9750.jpg', '/home/pi/Desktop/images/31122025/09/56/image_31122025_09_57_04_9803.jpg', '/home/pi/Desktop/images/31122025/09/57/image_31122025_09_57_14_9570.jpg', '/home/pi/Desktop/images/31122025/09/57/image_31122025_09_57_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/56/image_31122025_09_56_34_9735.jpg
/home/pi/Desktop/images/31122025/09/56/image_31122025_09_56_45_10771.jpg
/home/pi/Desktop/images/31122025/09/56/image_31122025_09_56_55_9750.jpg
/home/pi/Desktop/images/31122025/09/56/image_31122025_09_57_04_9803.jpg
/home/pi/Desktop/images/31122025/09/57/image_31122025_09_57_14_9570.jpg
/home/pi/Desktop/images/31122025/09/57/image_31122025_09_57_34_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874513","1401874515","1401874526","1401874520","1401874523","1401874517"],"photo_ids_order":["1401874513","1401874515","1401874517","1401874520","1401874523","1401874526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12532f84850643df8ea23f550d235a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5841345333039483229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178263919,"filename":"image_31122025_09_56_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/282101503d2591a605a688965e276a55.jpg","text":"TemporaryFile(/tmp/multipartBody8832396607679219902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178263919,"filename":"image_31122025_09_56_45_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7461d22e18a5c602d9d5b9cc6c96f129.jpg","text":"TemporaryFile(/tmp/multipartBody3320308132864370552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178263919,"filename":"image_31122025_09_57_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4668abd6810417d1eb09a4ee80d831ac.jpg","text":"TemporaryFile(/tmp/multipartBody8719769548206831192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178263919,"filename":"image_31122025_09_57_04_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22e76ba0937a25b3e79161531d16b932.jpg","text":"TemporaryFile(/tmp/multipartBody9158139747216823514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178263919,"filename":"image_31122025_09_57_14_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e5039e157ab3a86590aa8ec801775f4.jpg","text":"TemporaryFile(/tmp/multipartBody3372778928501757560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178263919,"filename":"image_31122025_09_56_55_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874517","file1":"1401874515","file0":"1401874513","file4":"1401874523","file5":"1401874526","file3":"1401874520"},"map_files_photo_id_array":[{"photo_id":"1401874526","filename":"file5"},{"photo_id":"1401874517","filename":"file2"},{"photo_id":"1401874523","filename":"file4"},{"photo_id":"1401874515","filename":"file1"},{"photo_id":"1401874513","filename":"file0"},{"photo_id":"1401874520","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874513":["hashtag1","hashtag2"]},{"1401874515":["hashtag1","hashtag2"]},{"1401874526":["hashtag1","hashtag2"]},{"1401874520":["hashtag1","hashtag2"]},{"1401874523":["hashtag1","hashtag2"]},{"1401874517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874513, 1401874515, 1401874526, 1401874520, 1401874523, 1401874517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36074447631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:50:42.804591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_29_3547.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_32_2664.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_36_4008.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_38_1686.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_41_3696.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_44_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_29_3547.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_32_2664.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_36_4008.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_38_1686.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_41_3696.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_44_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874551","1401874554","1401874544","1401874543","1401874552","1401874531"],"photo_ids_order":["1401874531","1401874543","1401874544","1401874551","1401874552","1401874554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b9eaae4067dd976277e655456f2c8fc.jpg","text":"TemporaryFile(/tmp/multipartBody840130645236181117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178304730,"filename":"image_03112025_18_02_38_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56c2adb646e27bcfb1f18a56b929fb06.jpg","text":"TemporaryFile(/tmp/multipartBody3644929466713926440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178304730,"filename":"image_03112025_18_02_44_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3caadd3bb573c4421a3db8f8ce57be58.jpg","text":"TemporaryFile(/tmp/multipartBody4732369040433030499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178304730,"filename":"image_03112025_18_02_36_4008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45b341e312df1d57c72bd390da84d493.jpg","text":"TemporaryFile(/tmp/multipartBody7814824463666689347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178304730,"filename":"image_03112025_18_02_32_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66d692b1f3bec9ca280faff5b43aaaa6.jpg","text":"TemporaryFile(/tmp/multipartBody737438347831394083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178304730,"filename":"image_03112025_18_02_41_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b00c6306d5ec365179296add4891862a.jpg","text":"TemporaryFile(/tmp/multipartBody2884376431821287160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178304730,"filename":"image_03112025_18_02_29_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874544","file1":"1401874543","file0":"1401874531","file4":"1401874552","file5":"1401874554","file3":"1401874551"},"map_files_photo_id_array":[{"photo_id":"1401874554","filename":"file5"},{"photo_id":"1401874544","filename":"file2"},{"photo_id":"1401874552","filename":"file4"},{"photo_id":"1401874543","filename":"file1"},{"photo_id":"1401874531","filename":"file0"},{"photo_id":"1401874551","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874551":["hashtag1","hashtag2"]},{"1401874554":["hashtag1","hashtag2"]},{"1401874544":["hashtag1","hashtag2"]},{"1401874543":["hashtag1","hashtag2"]},{"1401874552":["hashtag1","hashtag2"]},{"1401874531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874551, 1401874554, 1401874544, 1401874543, 1401874552, 1401874531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57599496841431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:51:22.078348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/57/image_31122025_09_57_44_9642.jpg', '/home/pi/Desktop/images/31122025/09/57/image_31122025_09_57_55_10541.jpg', '/home/pi/Desktop/images/31122025/09/58/image_31122025_09_58_24_9548.jpg', '/home/pi/Desktop/images/31122025/09/58/image_31122025_09_58_34_9632.jpg', '/home/pi/Desktop/images/31122025/09/58/image_31122025_09_58_45_10605.jpg', '/home/pi/Desktop/images/31122025/09/58/image_31122025_09_58_54_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/57/image_31122025_09_57_44_9642.jpg
/home/pi/Desktop/images/31122025/09/57/image_31122025_09_57_55_10541.jpg
/home/pi/Desktop/images/31122025/09/58/image_31122025_09_58_24_9548.jpg
/home/pi/Desktop/images/31122025/09/58/image_31122025_09_58_34_9632.jpg
/home/pi/Desktop/images/31122025/09/58/image_31122025_09_58_45_10605.jpg
/home/pi/Desktop/images/31122025/09/58/image_31122025_09_58_54_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874581","1401874617","1401874608","1401874598","1401874559","1401874576"],"photo_ids_order":["1401874559","1401874576","1401874581","1401874598","1401874608","1401874617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7da9244725aafdf596c9cf09f29b45f5.jpg","text":"TemporaryFile(/tmp/multipartBody326834790001531505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178342727,"filename":"image_31122025_09_58_24_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/124aadb4b68c63687c00afb57d4142ea.jpg","text":"TemporaryFile(/tmp/multipartBody5319092548785947755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178342727,"filename":"image_31122025_09_58_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ec078f06678ac6c550b6b831d4ba284.jpg","text":"TemporaryFile(/tmp/multipartBody9106536349574099515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178342727,"filename":"image_31122025_09_58_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e03fad8b19a764ddc8af3f608f6afdd7.jpg","text":"TemporaryFile(/tmp/multipartBody1555693248454977492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178342727,"filename":"image_31122025_09_58_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a27c719bd319107b9525351360decb5e.jpg","text":"TemporaryFile(/tmp/multipartBody8245531100288225055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178342727,"filename":"image_31122025_09_57_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/594e4de38bcd7d3d255b3684b22ca7e8.jpg","text":"TemporaryFile(/tmp/multipartBody3962438661666238612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178342727,"filename":"image_31122025_09_57_55_10541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874581","file1":"1401874576","file0":"1401874559","file4":"1401874608","file5":"1401874617","file3":"1401874598"},"map_files_photo_id_array":[{"photo_id":"1401874617","filename":"file5"},{"photo_id":"1401874581","filename":"file2"},{"photo_id":"1401874608","filename":"file4"},{"photo_id":"1401874576","filename":"file1"},{"photo_id":"1401874559","filename":"file0"},{"photo_id":"1401874598","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874581":["hashtag1","hashtag2"]},{"1401874617":["hashtag1","hashtag2"]},{"1401874608":["hashtag1","hashtag2"]},{"1401874598":["hashtag1","hashtag2"]},{"1401874559":["hashtag1","hashtag2"]},{"1401874576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874581, 1401874617, 1401874608, 1401874598, 1401874559, 1401874576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45924997329712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:52:02.680252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/09/58/image_31122025_09_59_04_9818.jpg', '/home/pi/Desktop/images/31122025/09/59/image_31122025_09_59_15_10825.jpg', '/home/pi/Desktop/images/31122025/09/59/image_31122025_09_59_25_9643.jpg', '/home/pi/Desktop/images/31122025/09/59/image_31122025_09_59_34_9611.jpg', '/home/pi/Desktop/images/31122025/09/59/image_31122025_09_59_45_10556.jpg', '/home/pi/Desktop/images/31122025/10/00/image_31122025_10_00_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/09/58/image_31122025_09_59_04_9818.jpg
/home/pi/Desktop/images/31122025/09/59/image_31122025_09_59_15_10825.jpg
/home/pi/Desktop/images/31122025/09/59/image_31122025_09_59_25_9643.jpg
/home/pi/Desktop/images/31122025/09/59/image_31122025_09_59_34_9611.jpg
/home/pi/Desktop/images/31122025/09/59/image_31122025_09_59_45_10556.jpg
/home/pi/Desktop/images/31122025/10/00/image_31122025_10_00_14_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874683","1401874656","1401874688","1401874685","1401874679","1401874681"],"photo_ids_order":["1401874656","1401874679","1401874681","1401874683","1401874685","1401874688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/782aa8ba913351e3d89d0c60d9d923fd.jpg","text":"TemporaryFile(/tmp/multipartBody8520884515165311734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178383275,"filename":"image_31122025_09_59_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab3d691a701332b6f691d5ed1b0dfbb7.jpg","text":"TemporaryFile(/tmp/multipartBody7811620554671810570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178383275,"filename":"image_31122025_09_59_04_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fad1ff0fa15d913a6dde100b073845bf.jpg","text":"TemporaryFile(/tmp/multipartBody7111059917178639731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178383275,"filename":"image_31122025_10_00_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/658a16e999f21f5bede4e21e2afe0206.jpg","text":"TemporaryFile(/tmp/multipartBody6233718432802114319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178383275,"filename":"image_31122025_09_59_45_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d29d65d8a02b6d86f4829fc4cfa0ea5.jpg","text":"TemporaryFile(/tmp/multipartBody2486465564645205356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178383275,"filename":"image_31122025_09_59_15_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6549288bfdbbe59ec9a6dddae774a90.jpg","text":"TemporaryFile(/tmp/multipartBody2938591878764763477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178383275,"filename":"image_31122025_09_59_25_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874681","file1":"1401874679","file0":"1401874656","file4":"1401874685","file5":"1401874688","file3":"1401874683"},"map_files_photo_id_array":[{"photo_id":"1401874688","filename":"file5"},{"photo_id":"1401874681","filename":"file2"},{"photo_id":"1401874685","filename":"file4"},{"photo_id":"1401874679","filename":"file1"},{"photo_id":"1401874656","filename":"file0"},{"photo_id":"1401874683","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874683":["hashtag1","hashtag2"]},{"1401874656":["hashtag1","hashtag2"]},{"1401874688":["hashtag1","hashtag2"]},{"1401874685":["hashtag1","hashtag2"]},{"1401874679":["hashtag1","hashtag2"]},{"1401874681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874683, 1401874656, 1401874688, 1401874685, 1401874679, 1401874681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.004934310913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:52:42.205178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_47_2864.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_51_3648.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_53_2660.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_56_2742.jpg', '/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_59_2744.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_02_3021.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_47_2864.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_51_3648.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_53_2660.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_56_2742.jpg
/home/pi/Desktop/images/03112025/18/02/image_03112025_18_02_59_2744.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_02_3021.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874698","1401874701","1401874700","1401874699","1401874703","1401874696"],"photo_ids_order":["1401874696","1401874698","1401874699","1401874700","1401874701","1401874703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6ff5b4bc43834e3fc46ae83ab5ebcf9.jpg","text":"TemporaryFile(/tmp/multipartBody9209650516192968287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178424146,"filename":"image_03112025_18_02_51_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff26c2eb114388941ed64eff6d792b38.jpg","text":"TemporaryFile(/tmp/multipartBody4802392456358675745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178424146,"filename":"image_03112025_18_02_59_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/452c2b943ed3cdafe3efdca00213e13f.jpg","text":"TemporaryFile(/tmp/multipartBody6249264257136844057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178424146,"filename":"image_03112025_18_02_56_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d49683be04de4756b4dfb0f22e675a54.jpg","text":"TemporaryFile(/tmp/multipartBody5918722209908080019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178424146,"filename":"image_03112025_18_02_53_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17264b2003ad704478c583e1ee6bbbcf.jpg","text":"TemporaryFile(/tmp/multipartBody6608971555760274918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178424146,"filename":"image_03112025_18_03_02_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/689d00bcf725b5263d61fe12e6a48043.jpg","text":"TemporaryFile(/tmp/multipartBody8445827247486227844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178424146,"filename":"image_03112025_18_02_47_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874699","file1":"1401874698","file0":"1401874696","file4":"1401874701","file5":"1401874703","file3":"1401874700"},"map_files_photo_id_array":[{"photo_id":"1401874703","filename":"file5"},{"photo_id":"1401874699","filename":"file2"},{"photo_id":"1401874701","filename":"file4"},{"photo_id":"1401874698","filename":"file1"},{"photo_id":"1401874696","filename":"file0"},{"photo_id":"1401874700","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874698":["hashtag1","hashtag2"]},{"1401874701":["hashtag1","hashtag2"]},{"1401874700":["hashtag1","hashtag2"]},{"1401874699":["hashtag1","hashtag2"]},{"1401874703":["hashtag1","hashtag2"]},{"1401874696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874698, 1401874701, 1401874700, 1401874699, 1401874703, 1401874696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83397197723389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:53:22.349149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/00/image_31122025_10_00_25_10794.jpg', '/home/pi/Desktop/images/31122025/10/00/image_31122025_10_00_35_9855.jpg', '/home/pi/Desktop/images/31122025/10/01/image_31122025_10_01_24_9635.jpg', '/home/pi/Desktop/images/31122025/10/01/image_31122025_10_01_35_10756.jpg', '/home/pi/Desktop/images/31122025/10/01/image_31122025_10_01_45_9708.jpg', '/home/pi/Desktop/images/31122025/10/01/image_31122025_10_01_55_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/00/image_31122025_10_00_25_10794.jpg
/home/pi/Desktop/images/31122025/10/00/image_31122025_10_00_35_9855.jpg
/home/pi/Desktop/images/31122025/10/01/image_31122025_10_01_24_9635.jpg
/home/pi/Desktop/images/31122025/10/01/image_31122025_10_01_35_10756.jpg
/home/pi/Desktop/images/31122025/10/01/image_31122025_10_01_45_9708.jpg
/home/pi/Desktop/images/31122025/10/01/image_31122025_10_01_55_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874708","1401874713","1401874722","1401874710","1401874720","1401874717"],"photo_ids_order":["1401874708","1401874710","1401874713","1401874717","1401874720","1401874722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0968f46c59da870b3e6b5434737b6c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2619986853262238883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178462963,"filename":"image_31122025_10_00_25_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b6cb9708d67c5223b82f4cc15410184.jpg","text":"TemporaryFile(/tmp/multipartBody3675642046166519404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178462963,"filename":"image_31122025_10_01_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b2cc31762e8d619aeb0a0693f21d20d.jpg","text":"TemporaryFile(/tmp/multipartBody8402299051398506017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178462963,"filename":"image_31122025_10_01_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80f41639031647765695c5633ce50f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6140855453477370402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178462963,"filename":"image_31122025_10_00_35_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/202993955ad61316b5db91e5b6a6d1b3.jpg","text":"TemporaryFile(/tmp/multipartBody2970899406525352862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178462963,"filename":"image_31122025_10_01_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a5fd953bdec18a8d1a1c33762c9a5c2.jpg","text":"TemporaryFile(/tmp/multipartBody63254196547535931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178462963,"filename":"image_31122025_10_01_35_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874713","file1":"1401874710","file0":"1401874708","file4":"1401874720","file5":"1401874722","file3":"1401874717"},"map_files_photo_id_array":[{"photo_id":"1401874722","filename":"file5"},{"photo_id":"1401874713","filename":"file2"},{"photo_id":"1401874720","filename":"file4"},{"photo_id":"1401874710","filename":"file1"},{"photo_id":"1401874708","filename":"file0"},{"photo_id":"1401874717","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874708":["hashtag1","hashtag2"]},{"1401874713":["hashtag1","hashtag2"]},{"1401874722":["hashtag1","hashtag2"]},{"1401874710":["hashtag1","hashtag2"]},{"1401874720":["hashtag1","hashtag2"]},{"1401874717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874708, 1401874713, 1401874722, 1401874710, 1401874720, 1401874717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.397560834884644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:54:03.296872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_15_9743.jpg', '/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_25_9673.jpg', '/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_35_9745.jpg', '/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_55_9683.jpg', '/home/pi/Desktop/images/31122025/10/02/image_31122025_10_03_05_9778.jpg', '/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_15_9743.jpg
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_25_9673.jpg
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_35_9745.jpg
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_55_9683.jpg
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_03_05_9778.jpg
/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_15_10654.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.552863597869873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:54:12.515722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_05_3583.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_08_2476.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_11_3684.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_14_2645.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_17_2651.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_20_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_05_3583.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_08_2476.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_11_3684.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_14_2645.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_17_2651.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_20_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874825","1401874819","1401874810","1401874788","1401874796","1401874766"],"photo_ids_order":["1401874766","1401874788","1401874796","1401874810","1401874819","1401874825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c9995a3801380159e59c80d136eeac9.jpg","text":"TemporaryFile(/tmp/multipartBody8554982284312902334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178514324,"filename":"image_03112025_18_03_20_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80bb3e282c573091224b78d6e8df532d.jpg","text":"TemporaryFile(/tmp/multipartBody8092253740788331627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178514324,"filename":"image_03112025_18_03_17_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4d701321fdf04ef7506c0ddd0103c57.jpg","text":"TemporaryFile(/tmp/multipartBody7965488504888129011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178514324,"filename":"image_03112025_18_03_14_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f39b9bde2fb6766bd9d7391e106b9521.jpg","text":"TemporaryFile(/tmp/multipartBody3154579206782148754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178514324,"filename":"image_03112025_18_03_08_2476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a36348bb3a071f5902b4e6e34b9d176.jpg","text":"TemporaryFile(/tmp/multipartBody3231292364673622391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178514324,"filename":"image_03112025_18_03_11_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/197960f3e9b66561dc954a99973f330d.jpg","text":"TemporaryFile(/tmp/multipartBody1538381312216047604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178514324,"filename":"image_03112025_18_03_05_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874796","file1":"1401874788","file0":"1401874766","file4":"1401874819","file5":"1401874825","file3":"1401874810"},"map_files_photo_id_array":[{"photo_id":"1401874825","filename":"file5"},{"photo_id":"1401874796","filename":"file2"},{"photo_id":"1401874819","filename":"file4"},{"photo_id":"1401874788","filename":"file1"},{"photo_id":"1401874766","filename":"file0"},{"photo_id":"1401874810","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874825":["hashtag1","hashtag2"]},{"1401874819":["hashtag1","hashtag2"]},{"1401874810":["hashtag1","hashtag2"]},{"1401874788":["hashtag1","hashtag2"]},{"1401874796":["hashtag1","hashtag2"]},{"1401874766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874825, 1401874819, 1401874810, 1401874788, 1401874796, 1401874766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81103277206421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:55:03.497461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_15_9743.jpg', '/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_25_9673.jpg', '/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_35_9745.jpg', '/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_55_9683.jpg', '/home/pi/Desktop/images/31122025/10/02/image_31122025_10_03_05_9778.jpg', '/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_15_9743.jpg
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_25_9673.jpg
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_35_9745.jpg
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_02_55_9683.jpg
/home/pi/Desktop/images/31122025/10/02/image_31122025_10_03_05_9778.jpg
/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_15_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874918","1401874923","1401874926","1401874920","1401874914","1401874916"],"photo_ids_order":["1401874914","1401874916","1401874918","1401874920","1401874923","1401874926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3fa794092966b1ba3d3a47e84fb0acd.jpg","text":"TemporaryFile(/tmp/multipartBody2253499929449053222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178564134,"filename":"image_31122025_10_02_35_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1f3e65e2ec3cd64d19236e680136271.jpg","text":"TemporaryFile(/tmp/multipartBody5631128693854675241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178564134,"filename":"image_31122025_10_03_05_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0abad167e4609eeea4e218d66588c45.jpg","text":"TemporaryFile(/tmp/multipartBody6600513075623700122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178564134,"filename":"image_31122025_10_03_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2be31dff8ec85a5ff61e7b22bda2a194.jpg","text":"TemporaryFile(/tmp/multipartBody8249965752049492267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178564134,"filename":"image_31122025_10_02_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b9a94da3cd135d9f3076ada4fa36c95.jpg","text":"TemporaryFile(/tmp/multipartBody5107625676961814049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178564134,"filename":"image_31122025_10_02_15_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c0245962d34fd4c151667e305634e28.jpg","text":"TemporaryFile(/tmp/multipartBody4145401736080976885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178564134,"filename":"image_31122025_10_02_25_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874918","file1":"1401874916","file0":"1401874914","file4":"1401874923","file5":"1401874926","file3":"1401874920"},"map_files_photo_id_array":[{"photo_id":"1401874926","filename":"file5"},{"photo_id":"1401874918","filename":"file2"},{"photo_id":"1401874923","filename":"file4"},{"photo_id":"1401874916","filename":"file1"},{"photo_id":"1401874914","filename":"file0"},{"photo_id":"1401874920","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874918":["hashtag1","hashtag2"]},{"1401874923":["hashtag1","hashtag2"]},{"1401874926":["hashtag1","hashtag2"]},{"1401874920":["hashtag1","hashtag2"]},{"1401874914":["hashtag1","hashtag2"]},{"1401874916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874918, 1401874923, 1401874926, 1401874920, 1401874914, 1401874916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30251693725586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:55:42.756665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_23_2639.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_26_2705.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_29_2733.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_32_3657.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_35_2966.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_38_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_23_2639.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_26_2705.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_29_2733.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_32_3657.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_35_2966.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_38_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874939","1401874938","1401874932","1401874935","1401874937","1401874936"],"photo_ids_order":["1401874932","1401874935","1401874936","1401874937","1401874938","1401874939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eba88de83717c62cd5819ff90db512df.jpg","text":"TemporaryFile(/tmp/multipartBody2430444346970563509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178604703,"filename":"image_03112025_18_03_38_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca9f9f0ade165d95c26196ea487112ae.jpg","text":"TemporaryFile(/tmp/multipartBody491175757783662409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178604703,"filename":"image_03112025_18_03_35_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e0f3e44820c323d7e2518c63cc9dfca.jpg","text":"TemporaryFile(/tmp/multipartBody7943487896254864564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178604703,"filename":"image_03112025_18_03_23_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f0653dfa65c606319965863fd71d6fc.jpg","text":"TemporaryFile(/tmp/multipartBody3019350417210310902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178604703,"filename":"image_03112025_18_03_26_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49d37be3843ddfb5b08f462614f6df66.jpg","text":"TemporaryFile(/tmp/multipartBody1063600242381210836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178604703,"filename":"image_03112025_18_03_32_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6e79fd4e89b9aba2896cd4f6bf5950b.jpg","text":"TemporaryFile(/tmp/multipartBody3734011032485835991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178604703,"filename":"image_03112025_18_03_29_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874936","file1":"1401874935","file0":"1401874932","file4":"1401874938","file5":"1401874939","file3":"1401874937"},"map_files_photo_id_array":[{"photo_id":"1401874939","filename":"file5"},{"photo_id":"1401874936","filename":"file2"},{"photo_id":"1401874938","filename":"file4"},{"photo_id":"1401874935","filename":"file1"},{"photo_id":"1401874932","filename":"file0"},{"photo_id":"1401874937","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401874939":["hashtag1","hashtag2"]},{"1401874938":["hashtag1","hashtag2"]},{"1401874932":["hashtag1","hashtag2"]},{"1401874935":["hashtag1","hashtag2"]},{"1401874937":["hashtag1","hashtag2"]},{"1401874936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401874939, 1401874938, 1401874932, 1401874935, 1401874937, 1401874936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.233386516571045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:56:21.931494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_35_9788.jpg', '/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_44_9582.jpg', '/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_55_10702.jpg', '/home/pi/Desktop/images/31122025/10/03/image_31122025_10_04_05_9548.jpg', '/home/pi/Desktop/images/31122025/10/04/image_31122025_10_04_15_10715.jpg', '/home/pi/Desktop/images/31122025/10/04/image_31122025_10_04_35_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_35_9788.jpg
/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_44_9582.jpg
/home/pi/Desktop/images/31122025/10/03/image_31122025_10_03_55_10702.jpg
/home/pi/Desktop/images/31122025/10/03/image_31122025_10_04_05_9548.jpg
/home/pi/Desktop/images/31122025/10/04/image_31122025_10_04_15_10715.jpg
/home/pi/Desktop/images/31122025/10/04/image_31122025_10_04_35_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401874959","1401874953","1401874970","1401874949","1401874951","1401874945"],"photo_ids_order":["1401874945","1401874949","1401874951","1401874953","1401874959","1401874970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5f3f861cb1d1dec74ec10fdf457676d.jpg","text":"TemporaryFile(/tmp/multipartBody1851828930753072552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178642519,"filename":"image_31122025_10_04_15_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e8cc74094716c2420bfb2ad876d4b41.jpg","text":"TemporaryFile(/tmp/multipartBody6073175557501135451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178642519,"filename":"image_31122025_10_04_05_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/859c28cdfc9598ef43842d1c9aaaaa01.jpg","text":"TemporaryFile(/tmp/multipartBody1272628747665599549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178642519,"filename":"image_31122025_10_04_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51bff75d055de721a4b99d1c0c8859a0.jpg","text":"TemporaryFile(/tmp/multipartBody186800137618130622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178642519,"filename":"image_31122025_10_03_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af7a76bd68f71c2e0a74bc7addab2ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4195520186880797076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178642519,"filename":"image_31122025_10_03_55_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b89497a451d88df15718be2c09631fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3473155389136376111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178642519,"filename":"image_31122025_10_03_35_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874951","file1":"1401874949","file0":"1401874945","file4":"1401874959","file5":"1401874970","file3":"1401874953"},"map_files_photo_id_array":[{"photo_id":"1401874970","filename":"file5"},{"photo_id":"1401874951","filename":"file2"},{"photo_id":"1401874959","filename":"file4"},{"photo_id":"1401874949","filename":"file1"},{"photo_id":"1401874945","filename":"file0"},{"photo_id":"1401874953","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401874959":["hashtag1","hashtag2"]},{"1401874953":["hashtag1","hashtag2"]},{"1401874970":["hashtag1","hashtag2"]},{"1401874949":["hashtag1","hashtag2"]},{"1401874951":["hashtag1","hashtag2"]},{"1401874945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401874959, 1401874953, 1401874970, 1401874949, 1401874951, 1401874945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45554256439209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:57:02.738805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/04/image_31122025_10_04_44_9807.jpg', '/home/pi/Desktop/images/31122025/10/04/image_31122025_10_04_55_10547.jpg', '/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_14_10039.jpg', '/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_25_10806.jpg', '/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_35_9715.jpg', '/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_44_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/04/image_31122025_10_04_44_9807.jpg
/home/pi/Desktop/images/31122025/10/04/image_31122025_10_04_55_10547.jpg
/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_14_10039.jpg
/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_25_10806.jpg
/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_35_9715.jpg
/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_44_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401875040","1401874986","1401875079","1401874989","1401874985","1401875003"],"photo_ids_order":["1401874985","1401874986","1401874989","1401875003","1401875040","1401875079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb30c3ea000b2e7f3ad0791a592b2ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1899103492934366635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178683410,"filename":"image_31122025_10_05_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91b6e82590f543f6a618081e07dd36f4.jpg","text":"TemporaryFile(/tmp/multipartBody3867684706063196437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178683410,"filename":"image_31122025_10_04_55_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd08ec1024b31d8d1fa9f0d67151c79d.jpg","text":"TemporaryFile(/tmp/multipartBody5518593618954618909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178683410,"filename":"image_31122025_10_05_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1ce83f5f7453c73cffba2e3383e5ac6.jpg","text":"TemporaryFile(/tmp/multipartBody1700247844202969339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178683410,"filename":"image_31122025_10_05_14_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d63d3b5cc3febcc364565982f3bd7fb.jpg","text":"TemporaryFile(/tmp/multipartBody3440846166481938474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178683410,"filename":"image_31122025_10_04_44_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed2d64348e7fb4d2ccb3993bd1d4a11c.jpg","text":"TemporaryFile(/tmp/multipartBody4413492310225364302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178683410,"filename":"image_31122025_10_05_25_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401874989","file1":"1401874986","file0":"1401874985","file4":"1401875040","file5":"1401875079","file3":"1401875003"},"map_files_photo_id_array":[{"photo_id":"1401875079","filename":"file5"},{"photo_id":"1401874989","filename":"file2"},{"photo_id":"1401875040","filename":"file4"},{"photo_id":"1401874986","filename":"file1"},{"photo_id":"1401874985","filename":"file0"},{"photo_id":"1401875003","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401875040":["hashtag1","hashtag2"]},{"1401874986":["hashtag1","hashtag2"]},{"1401875079":["hashtag1","hashtag2"]},{"1401874989":["hashtag1","hashtag2"]},{"1401874985":["hashtag1","hashtag2"]},{"1401875003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401875040, 1401874986, 1401875079, 1401874989, 1401874985, 1401875003)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.575775384902954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 11:59:03.053336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 11:59:12.478953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 291, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 11:59:22.407732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_55_10593.jpg', '/home/pi/Desktop/images/31122025/10/05/image_31122025_10_06_05_9709.jpg', '/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_14_9858.jpg', '/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_24_9906.jpg', '/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_34_9697.jpg', '/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_44_10303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/05/image_31122025_10_05_55_10593.jpg
/home/pi/Desktop/images/31122025/10/05/image_31122025_10_06_05_9709.jpg
/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_14_9858.jpg
/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_24_9906.jpg
/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_34_9697.jpg
/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_44_10303.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401875901","1401875891","1401875888","1401875915","1401875898","1401875895"],"photo_ids_order":["1401875888","1401875891","1401875895","1401875898","1401875901","1401875915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48484d15025e868384c90ae889d03705.jpg","text":"TemporaryFile(/tmp/multipartBody483761908349765810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178822991,"filename":"image_31122025_10_06_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ddf2a564f4861fb08ea36bbad3f98412.jpg","text":"TemporaryFile(/tmp/multipartBody1924812924541131162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178822991,"filename":"image_31122025_10_06_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db9e2bb636f7dec8165aa57a717713ff.jpg","text":"TemporaryFile(/tmp/multipartBody3671063124819736938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178822991,"filename":"image_31122025_10_05_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46fbfdb451f8be74b7efc1a344fe9aee.jpg","text":"TemporaryFile(/tmp/multipartBody9047958742629291632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178822991,"filename":"image_31122025_10_06_44_10303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1be1522fc95a995a6156045bf63fb36.jpg","text":"TemporaryFile(/tmp/multipartBody4264876532559559645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178822991,"filename":"image_31122025_10_06_24_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51f52da106a6caa3c0b05c685b9a5c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3964163254931723409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178822991,"filename":"image_31122025_10_06_14_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401875895","file1":"1401875891","file0":"1401875888","file4":"1401875901","file5":"1401875915","file3":"1401875898"},"map_files_photo_id_array":[{"photo_id":"1401875915","filename":"file5"},{"photo_id":"1401875895","filename":"file2"},{"photo_id":"1401875901","filename":"file4"},{"photo_id":"1401875891","filename":"file1"},{"photo_id":"1401875888","filename":"file0"},{"photo_id":"1401875898","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401875901":["hashtag1","hashtag2"]},{"1401875891":["hashtag1","hashtag2"]},{"1401875888":["hashtag1","hashtag2"]},{"1401875915":["hashtag1","hashtag2"]},{"1401875898":["hashtag1","hashtag2"]},{"1401875895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401875901, 1401875891, 1401875888, 1401875915, 1401875898, 1401875895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.691235065460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:00:03.180095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_54_9701.jpg', '/home/pi/Desktop/images/31122025/10/06/image_31122025_10_07_05_10764.jpg', '/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_14_9686.jpg', '/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_24_9729.jpg', '/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_35_10599.jpg', '/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_45_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/06/image_31122025_10_06_54_9701.jpg
/home/pi/Desktop/images/31122025/10/06/image_31122025_10_07_05_10764.jpg
/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_14_9686.jpg
/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_24_9729.jpg
/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_35_10599.jpg
/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_45_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401875940","1401875943","1401875946","1401875945","1401875950","1401875947"],"photo_ids_order":["1401875940","1401875943","1401875945","1401875946","1401875947","1401875950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7741a1888bbd874b65df7de09d146d16.jpg","text":"TemporaryFile(/tmp/multipartBody3122678173162608949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178865232,"filename":"image_31122025_10_06_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e2a4855c61e3a8d30e291f4c9de645c.jpg","text":"TemporaryFile(/tmp/multipartBody6702009915479472248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178865232,"filename":"image_31122025_10_07_05_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/880b1d3d32035851faa65c022a0b1882.jpg","text":"TemporaryFile(/tmp/multipartBody5560760859261445838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178865232,"filename":"image_31122025_10_07_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/544ed322403c1e3a9a90ac2b9846a0fd.jpg","text":"TemporaryFile(/tmp/multipartBody6676656633408509291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178865232,"filename":"image_31122025_10_07_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bd44358a021580144b6b7c3dac41896.jpg","text":"TemporaryFile(/tmp/multipartBody3114504088951636707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178865232,"filename":"image_31122025_10_07_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c599d006543b2374a9a3c4ed28abec43.jpg","text":"TemporaryFile(/tmp/multipartBody7719427080472509462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178865232,"filename":"image_31122025_10_07_35_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401875945","file1":"1401875943","file0":"1401875940","file4":"1401875947","file5":"1401875950","file3":"1401875946"},"map_files_photo_id_array":[{"photo_id":"1401875950","filename":"file5"},{"photo_id":"1401875945","filename":"file2"},{"photo_id":"1401875947","filename":"file4"},{"photo_id":"1401875943","filename":"file1"},{"photo_id":"1401875940","filename":"file0"},{"photo_id":"1401875946","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401875940":["hashtag1","hashtag2"]},{"1401875943":["hashtag1","hashtag2"]},{"1401875946":["hashtag1","hashtag2"]},{"1401875945":["hashtag1","hashtag2"]},{"1401875950":["hashtag1","hashtag2"]},{"1401875947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401875940, 1401875943, 1401875946, 1401875945, 1401875950, 1401875947)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.55548596382141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:01:03.166097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:01:12.602035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_41_2630.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_44_3638.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_47_2631.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_50_3557.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_53_2644.jpg', '/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_56_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_41_2630.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_44_3638.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_47_2631.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_50_3557.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_53_2644.jpg
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_56_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401875981","1401875984","1401875987","1401875989","1401875974","1401875965"],"photo_ids_order":["1401875965","1401875974","1401875981","1401875984","1401875987","1401875989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0dbc5725be80ddc80555a1d15725b54.jpg","text":"TemporaryFile(/tmp/multipartBody8556083771584509701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178934609,"filename":"image_03112025_18_03_47_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a56ecb3ae87e6d4d4b6cd03450cccca.jpg","text":"TemporaryFile(/tmp/multipartBody5935921981438052908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178934609,"filename":"image_03112025_18_03_50_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b815c9a2dc9e4e28aced21db6b7bd2a.jpg","text":"TemporaryFile(/tmp/multipartBody4152259863532971370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178934609,"filename":"image_03112025_18_03_53_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ddf7d259b28cd91f3cedb1974ad77a19.jpg","text":"TemporaryFile(/tmp/multipartBody2066005261947903809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178934609,"filename":"image_03112025_18_03_56_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7ea0eacdc1a65698169355b1ee28c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7788455345463022317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178934609,"filename":"image_03112025_18_03_44_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cac838d6a61a53cf0d9318fce20eb3e.jpg","text":"TemporaryFile(/tmp/multipartBody335023880237202998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178934609,"filename":"image_03112025_18_03_41_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401875981","file1":"1401875974","file0":"1401875965","file4":"1401875987","file5":"1401875989","file3":"1401875984"},"map_files_photo_id_array":[{"photo_id":"1401875989","filename":"file5"},{"photo_id":"1401875981","filename":"file2"},{"photo_id":"1401875987","filename":"file4"},{"photo_id":"1401875974","filename":"file1"},{"photo_id":"1401875965","filename":"file0"},{"photo_id":"1401875984","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401875981":["hashtag1","hashtag2"]},{"1401875984":["hashtag1","hashtag2"]},{"1401875987":["hashtag1","hashtag2"]},{"1401875989":["hashtag1","hashtag2"]},{"1401875974":["hashtag1","hashtag2"]},{"1401875965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401875981, 1401875984, 1401875987, 1401875989, 1401875974, 1401875965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.117319107055664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:02:10.702573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_54_9719.jpg', '/home/pi/Desktop/images/31122025/10/07/image_31122025_10_08_04_9750.jpg', '/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_15_10720.jpg', '/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_24_9605.jpg', '/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_34_9692.jpg', '/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_45_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/07/image_31122025_10_07_54_9719.jpg
/home/pi/Desktop/images/31122025/10/07/image_31122025_10_08_04_9750.jpg
/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_15_10720.jpg
/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_24_9605.jpg
/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_34_9692.jpg
/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_45_10767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401876003","1401875999","1401876005","1401876010","1401876007","1401876001"],"photo_ids_order":["1401875999","1401876001","1401876003","1401876005","1401876007","1401876010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5a06c48cc81098e402e0ac4bef89b01.jpg","text":"TemporaryFile(/tmp/multipartBody6324209415517609804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178994897,"filename":"image_31122025_10_08_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/312c418824ec0d66e83557cf799d3934.jpg","text":"TemporaryFile(/tmp/multipartBody3211981143580670649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178994897,"filename":"image_31122025_10_07_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3de1e96bcdf0e72a2397f4307233cb4f.jpg","text":"TemporaryFile(/tmp/multipartBody1205186425351703923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178994897,"filename":"image_31122025_10_08_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b25c0084f4a9ef567e7f4b97b52b254.jpg","text":"TemporaryFile(/tmp/multipartBody8236952617308391114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178994897,"filename":"image_31122025_10_08_45_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4723b0846968e34e1bd1d080c25d757.jpg","text":"TemporaryFile(/tmp/multipartBody2217441020246242149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178994897,"filename":"image_31122025_10_08_34_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18730c3ac114e01df890d5e2f66371a1.jpg","text":"TemporaryFile(/tmp/multipartBody1826955282911556501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767178994897,"filename":"image_31122025_10_08_04_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401876003","file1":"1401876001","file0":"1401875999","file4":"1401876007","file5":"1401876010","file3":"1401876005"},"map_files_photo_id_array":[{"photo_id":"1401876010","filename":"file5"},{"photo_id":"1401876003","filename":"file2"},{"photo_id":"1401876007","filename":"file4"},{"photo_id":"1401876001","filename":"file1"},{"photo_id":"1401875999","filename":"file0"},{"photo_id":"1401876005","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401876003":["hashtag1","hashtag2"]},{"1401875999":["hashtag1","hashtag2"]},{"1401876005":["hashtag1","hashtag2"]},{"1401876010":["hashtag1","hashtag2"]},{"1401876007":["hashtag1","hashtag2"]},{"1401876001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401876003, 1401875999, 1401876005, 1401876010, 1401876007, 1401876001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.021987199783325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:03:02.788933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_55_9770.jpg', '/home/pi/Desktop/images/31122025/10/08/image_31122025_10_09_05_10006.jpg', '/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_14_9664.jpg', '/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_25_10637.jpg', '/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_35_9669.jpg', '/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_44_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/08/image_31122025_10_08_55_9770.jpg
/home/pi/Desktop/images/31122025/10/08/image_31122025_10_09_05_10006.jpg
/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_14_9664.jpg
/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_25_10637.jpg
/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_35_9669.jpg
/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_44_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401876045","1401876050","1401876047","1401876049","1401876052","1401876048"],"photo_ids_order":["1401876045","1401876047","1401876048","1401876049","1401876050","1401876052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67addb334d6a104509f8c65b0dd8a79c.jpg","text":"TemporaryFile(/tmp/multipartBody2941686688456582230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179043704,"filename":"image_31122025_10_08_55_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04d05512c68d883ca2f196b50de4d12b.jpg","text":"TemporaryFile(/tmp/multipartBody6282511925910575896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179043704,"filename":"image_31122025_10_09_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b963ee17264d22b3c092d04cb5e59fa.jpg","text":"TemporaryFile(/tmp/multipartBody4534047290822795267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179043704,"filename":"image_31122025_10_09_05_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf69b83dc69a8ea3e5227bafa68b9e42.jpg","text":"TemporaryFile(/tmp/multipartBody5896735077874867986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179043704,"filename":"image_31122025_10_09_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cdf652d47f869aae7e4ca76f85d1c51.jpg","text":"TemporaryFile(/tmp/multipartBody3238546258641030810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179043704,"filename":"image_31122025_10_09_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56ee88ca45677b98e364760e121fe5c3.jpg","text":"TemporaryFile(/tmp/multipartBody5961879263926980704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179043704,"filename":"image_31122025_10_09_14_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401876048","file1":"1401876047","file0":"1401876045","file4":"1401876050","file5":"1401876052","file3":"1401876049"},"map_files_photo_id_array":[{"photo_id":"1401876052","filename":"file5"},{"photo_id":"1401876048","filename":"file2"},{"photo_id":"1401876050","filename":"file4"},{"photo_id":"1401876047","filename":"file1"},{"photo_id":"1401876045","filename":"file0"},{"photo_id":"1401876049","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401876045":["hashtag1","hashtag2"]},{"1401876050":["hashtag1","hashtag2"]},{"1401876047":["hashtag1","hashtag2"]},{"1401876049":["hashtag1","hashtag2"]},{"1401876052":["hashtag1","hashtag2"]},{"1401876048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401876045, 1401876050, 1401876047, 1401876049, 1401876052, 1401876048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38077998161316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:03:42.222560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_59_3583.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_02_2763.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_05_2657.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_08_3831.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_11_2671.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_14_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/03/image_03112025_18_03_59_3583.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_02_2763.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_05_2657.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_08_3831.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_11_2671.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_14_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401876074","1401876077","1401876059","1401876070","1401876066","1401876063"],"photo_ids_order":["1401876059","1401876063","1401876066","1401876070","1401876074","1401876077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3b05f211902ff1fb3b8f0494b0c4480.jpg","text":"TemporaryFile(/tmp/multipartBody304751715668930398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179084795,"filename":"image_03112025_18_04_11_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6297564e8a44aa9cf87753b42b306e19.jpg","text":"TemporaryFile(/tmp/multipartBody6452777642510325423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179084795,"filename":"image_03112025_18_04_14_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc043a09bb6d9b8f227218a40c510539.jpg","text":"TemporaryFile(/tmp/multipartBody1133321094449537413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179084795,"filename":"image_03112025_18_03_59_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fce58fca64afedacb48f68b0564d101.jpg","text":"TemporaryFile(/tmp/multipartBody8313131746907681578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179084795,"filename":"image_03112025_18_04_08_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bba4e7e9a17396e061bcfb468cb26d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2421009696326300228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179084795,"filename":"image_03112025_18_04_05_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6256948e1f7f7db392667e81ec30970.jpg","text":"TemporaryFile(/tmp/multipartBody1613120524501672641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179084795,"filename":"image_03112025_18_04_02_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401876066","file1":"1401876063","file0":"1401876059","file4":"1401876074","file5":"1401876077","file3":"1401876070"},"map_files_photo_id_array":[{"photo_id":"1401876077","filename":"file5"},{"photo_id":"1401876066","filename":"file2"},{"photo_id":"1401876074","filename":"file4"},{"photo_id":"1401876063","filename":"file1"},{"photo_id":"1401876059","filename":"file0"},{"photo_id":"1401876070","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401876074":["hashtag1","hashtag2"]},{"1401876077":["hashtag1","hashtag2"]},{"1401876059":["hashtag1","hashtag2"]},{"1401876070":["hashtag1","hashtag2"]},{"1401876066":["hashtag1","hashtag2"]},{"1401876063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401876074, 1401876077, 1401876059, 1401876070, 1401876066, 1401876063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01789832115173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:04:32.341700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_17_2758.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_20_3653.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_25_4706.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_26_1618.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_29_2765.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_32_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_17_2758.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_20_3653.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_25_4706.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_26_1618.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_29_2765.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_32_2788.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8143949508666992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:04:42.351380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_17_2758.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_20_3653.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_25_4706.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_26_1618.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_29_2765.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_32_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_17_2758.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_20_3653.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_25_4706.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_26_1618.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_29_2765.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_32_2788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401876467","1401876359","1401876396","1401876540","1401876504","1401876432"],"photo_ids_order":["1401876359","1401876396","1401876432","1401876467","1401876504","1401876540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec910faf5cff88c7e3b3020cd74ef61d.jpg","text":"TemporaryFile(/tmp/multipartBody685145380810634181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179144194,"filename":"image_03112025_18_04_26_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0efda98e97dae0ea4f3ad43aef4a8e55.jpg","text":"TemporaryFile(/tmp/multipartBody3986436779350598981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179144194,"filename":"image_03112025_18_04_17_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c2b8fc348798a5e19adf4776808f81d.jpg","text":"TemporaryFile(/tmp/multipartBody5861739879878735014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179144194,"filename":"image_03112025_18_04_20_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5dfa18a9b08f9f145145f80b6743cdf.jpg","text":"TemporaryFile(/tmp/multipartBody871169363177602900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179144194,"filename":"image_03112025_18_04_32_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5d91161e81ccf57bd26fef6cf0de4c6.jpg","text":"TemporaryFile(/tmp/multipartBody2938525687126360275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179144194,"filename":"image_03112025_18_04_29_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52ecd3ccb97ef567ce724086fd00f257.jpg","text":"TemporaryFile(/tmp/multipartBody6514579675608835988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179144194,"filename":"image_03112025_18_04_25_4706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401876432","file1":"1401876396","file0":"1401876359","file4":"1401876504","file5":"1401876540","file3":"1401876467"},"map_files_photo_id_array":[{"photo_id":"1401876540","filename":"file5"},{"photo_id":"1401876432","filename":"file2"},{"photo_id":"1401876504","filename":"file4"},{"photo_id":"1401876396","filename":"file1"},{"photo_id":"1401876359","filename":"file0"},{"photo_id":"1401876467","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401876467":["hashtag1","hashtag2"]},{"1401876359":["hashtag1","hashtag2"]},{"1401876396":["hashtag1","hashtag2"]},{"1401876540":["hashtag1","hashtag2"]},{"1401876504":["hashtag1","hashtag2"]},{"1401876432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401876467, 1401876359, 1401876396, 1401876540, 1401876504, 1401876432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42620801925659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:05:22.602417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_55_10680.jpg', '/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_15_10056.jpg', '/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_26_10847.jpg', '/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_35_9566.jpg', '/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_45_9689.jpg', '/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_56_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/09/image_31122025_10_09_55_10680.jpg
/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_15_10056.jpg
/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_26_10847.jpg
/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_35_9566.jpg
/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_45_9689.jpg
/home/pi/Desktop/images/31122025/10/10/image_31122025_10_10_56_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401876677","1401876808","1401876715","1401876891","1401876765","1401876846"],"photo_ids_order":["1401876677","1401876715","1401876765","1401876808","1401876846","1401876891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36c23b991aaa1a5b844e298e64489b63.jpg","text":"TemporaryFile(/tmp/multipartBody7342316155713556631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179183266,"filename":"image_31122025_10_09_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1aeb166c31d95dc464a5ad08f2a31ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7037935545013604022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179183266,"filename":"image_31122025_10_10_35_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08a5ede714a283b029475f350e8ab007.jpg","text":"TemporaryFile(/tmp/multipartBody155223667109926863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179183266,"filename":"image_31122025_10_10_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00b660ee8b118454ef2f88d7f16f8ccd.jpg","text":"TemporaryFile(/tmp/multipartBody2789566355541345878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179183266,"filename":"image_31122025_10_10_56_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d68a7f78f225f8e866462c2c83406a41.jpg","text":"TemporaryFile(/tmp/multipartBody7202825518291727882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179183266,"filename":"image_31122025_10_10_26_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49c82dff13a1f28fb536b8185ee0f525.jpg","text":"TemporaryFile(/tmp/multipartBody8290458015121462115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179183266,"filename":"image_31122025_10_10_45_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401876765","file1":"1401876715","file0":"1401876677","file4":"1401876846","file5":"1401876891","file3":"1401876808"},"map_files_photo_id_array":[{"photo_id":"1401876891","filename":"file5"},{"photo_id":"1401876765","filename":"file2"},{"photo_id":"1401876846","filename":"file4"},{"photo_id":"1401876715","filename":"file1"},{"photo_id":"1401876677","filename":"file0"},{"photo_id":"1401876808","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401876677":["hashtag1","hashtag2"]},{"1401876808":["hashtag1","hashtag2"]},{"1401876715":["hashtag1","hashtag2"]},{"1401876891":["hashtag1","hashtag2"]},{"1401876765":["hashtag1","hashtag2"]},{"1401876846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401876677, 1401876808, 1401876715, 1401876891, 1401876765, 1401876846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.336185455322266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:06:03.227821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/10/image_31122025_10_11_05_9709.jpg', '/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_15_9641.jpg', '/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_26_10698.jpg', '/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_35_9673.jpg', '/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_45_9639.jpg', '/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_55_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/10/image_31122025_10_11_05_9709.jpg
/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_15_9641.jpg
/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_26_10698.jpg
/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_35_9673.jpg
/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_45_9639.jpg
/home/pi/Desktop/images/31122025/10/11/image_31122025_10_11_55_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401876974","1401876935","1401876976","1401876981","1401876963","1401877008"],"photo_ids_order":["1401876935","1401876963","1401876974","1401876976","1401876981","1401877008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30051858efa282da9def0eb32c0b10a2.jpg","text":"TemporaryFile(/tmp/multipartBody7042644753363197801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179224077,"filename":"image_31122025_10_11_26_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6a737231af24eae3ab2fd72bb942f05.jpg","text":"TemporaryFile(/tmp/multipartBody9052182011965781585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179224077,"filename":"image_31122025_10_11_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4db6250f36a2b5e5da156b9c68ca2dcb.jpg","text":"TemporaryFile(/tmp/multipartBody5382975279106980067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179224077,"filename":"image_31122025_10_11_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0819d3e822cb45499e9c00ec3a716a5.jpg","text":"TemporaryFile(/tmp/multipartBody7459531529263464812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179224077,"filename":"image_31122025_10_11_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb7725c6ddc93bb182f164c5ca3eb53e.jpg","text":"TemporaryFile(/tmp/multipartBody8172785542728119880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179224077,"filename":"image_31122025_10_11_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1884606bbe16db3eaff949a033bdde2b.jpg","text":"TemporaryFile(/tmp/multipartBody5711855370111892071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179224077,"filename":"image_31122025_10_11_55_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401876974","file1":"1401876963","file0":"1401876935","file4":"1401876981","file5":"1401877008","file3":"1401876976"},"map_files_photo_id_array":[{"photo_id":"1401877008","filename":"file5"},{"photo_id":"1401876974","filename":"file2"},{"photo_id":"1401876981","filename":"file4"},{"photo_id":"1401876963","filename":"file1"},{"photo_id":"1401876935","filename":"file0"},{"photo_id":"1401876976","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401876974":["hashtag1","hashtag2"]},{"1401876935":["hashtag1","hashtag2"]},{"1401876976":["hashtag1","hashtag2"]},{"1401876981":["hashtag1","hashtag2"]},{"1401876963":["hashtag1","hashtag2"]},{"1401877008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401876974, 1401876935, 1401876976, 1401876981, 1401876963, 1401877008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30383038520813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:07:02.525024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/11/image_31122025_10_12_05_10689.jpg', '/home/pi/Desktop/images/31122025/10/12/image_31122025_10_12_15_9669.jpg', '/home/pi/Desktop/images/31122025/10/12/image_31122025_10_12_35_10603.jpg', '/home/pi/Desktop/images/31122025/10/12/image_31122025_10_12_45_9667.jpg', '/home/pi/Desktop/images/31122025/10/12/image_31122025_10_12_55_9689.jpg', '/home/pi/Desktop/images/31122025/10/12/image_31122025_10_13_05_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/11/image_31122025_10_12_05_10689.jpg
/home/pi/Desktop/images/31122025/10/12/image_31122025_10_12_15_9669.jpg
/home/pi/Desktop/images/31122025/10/12/image_31122025_10_12_35_10603.jpg
/home/pi/Desktop/images/31122025/10/12/image_31122025_10_12_45_9667.jpg
/home/pi/Desktop/images/31122025/10/12/image_31122025_10_12_55_9689.jpg
/home/pi/Desktop/images/31122025/10/12/image_31122025_10_13_05_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401877130","1401877095","1401877254","1401877170","1401877212","1401877292"],"photo_ids_order":["1401877095","1401877130","1401877170","1401877212","1401877254","1401877292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed671715cda6d7ed9c9fa6d46d8cb536.jpg","text":"TemporaryFile(/tmp/multipartBody7707661522311093286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179283218,"filename":"image_31122025_10_12_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/418125adce800a281cf81c19a62dd8dd.jpg","text":"TemporaryFile(/tmp/multipartBody7779139535178654530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179283218,"filename":"image_31122025_10_12_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/161c290b2563c9af78411b7a466bdf93.jpg","text":"TemporaryFile(/tmp/multipartBody5555959398430668717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179283218,"filename":"image_31122025_10_12_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08f638223cb7fd50d79449532f16b979.jpg","text":"TemporaryFile(/tmp/multipartBody7741462000921895945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179283218,"filename":"image_31122025_10_12_35_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13c2d265ad1ed980ee6b67dacd7aab40.jpg","text":"TemporaryFile(/tmp/multipartBody1543665326881629843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179283218,"filename":"image_31122025_10_12_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd31b75fe4105e117224cf159ef84644.jpg","text":"TemporaryFile(/tmp/multipartBody1194966821151119606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179283218,"filename":"image_31122025_10_13_05_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401877170","file1":"1401877130","file0":"1401877095","file4":"1401877254","file5":"1401877292","file3":"1401877212"},"map_files_photo_id_array":[{"photo_id":"1401877292","filename":"file5"},{"photo_id":"1401877170","filename":"file2"},{"photo_id":"1401877254","filename":"file4"},{"photo_id":"1401877130","filename":"file1"},{"photo_id":"1401877095","filename":"file0"},{"photo_id":"1401877212","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401877130":["hashtag1","hashtag2"]},{"1401877095":["hashtag1","hashtag2"]},{"1401877254":["hashtag1","hashtag2"]},{"1401877170":["hashtag1","hashtag2"]},{"1401877212":["hashtag1","hashtag2"]},{"1401877292":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401877130, 1401877095, 1401877254, 1401877170, 1401877212, 1401877292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4292266368866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:07:42.115272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_35_2659.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_38_3285.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_41_2752.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_44_3623.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_47_2781.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_50_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_35_2659.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_38_3285.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_41_2752.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_44_3623.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_47_2781.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_50_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401877439","1401877400","1401877399","1401877450","1401877374","1401877419"],"photo_ids_order":["1401877374","1401877399","1401877400","1401877419","1401877439","1401877450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39f271db05ef69f428a53989087ce3eb.jpg","text":"TemporaryFile(/tmp/multipartBody1778852392691315754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179325300,"filename":"image_03112025_18_04_47_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0a499046948358c3ac0a3e285dc787a.jpg","text":"TemporaryFile(/tmp/multipartBody3887047320198041481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179325300,"filename":"image_03112025_18_04_41_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d118ad0d9b3d7716963c01ca2c635f6a.jpg","text":"TemporaryFile(/tmp/multipartBody2717403496346812263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179325300,"filename":"image_03112025_18_04_38_3285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82a1d961b07f754ba832c42ccc730ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1750901994915053042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179325300,"filename":"image_03112025_18_04_50_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89dce44ef6942c9d28fd1dd3c9b5123f.jpg","text":"TemporaryFile(/tmp/multipartBody794753150497070132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179325300,"filename":"image_03112025_18_04_35_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b6534caef986b3ae4c66e70b04ffb32.jpg","text":"TemporaryFile(/tmp/multipartBody3538877194375541839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179325300,"filename":"image_03112025_18_04_44_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401877400","file1":"1401877399","file0":"1401877374","file4":"1401877439","file5":"1401877450","file3":"1401877419"},"map_files_photo_id_array":[{"photo_id":"1401877450","filename":"file5"},{"photo_id":"1401877400","filename":"file2"},{"photo_id":"1401877439","filename":"file4"},{"photo_id":"1401877399","filename":"file1"},{"photo_id":"1401877374","filename":"file0"},{"photo_id":"1401877419","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401877439":["hashtag1","hashtag2"]},{"1401877400":["hashtag1","hashtag2"]},{"1401877399":["hashtag1","hashtag2"]},{"1401877450":["hashtag1","hashtag2"]},{"1401877374":["hashtag1","hashtag2"]},{"1401877419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401877439, 1401877400, 1401877399, 1401877450, 1401877374, 1401877419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.315587282180786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:08:22.257561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_15_9645.jpg', '/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_25_9667.jpg', '/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_35_10754.jpg', '/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_45_9707.jpg', '/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_55_9534.jpg', '/home/pi/Desktop/images/31122025/10/13/image_31122025_10_14_05_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_15_9645.jpg
/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_25_9667.jpg
/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_35_10754.jpg
/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_45_9707.jpg
/home/pi/Desktop/images/31122025/10/13/image_31122025_10_13_55_9534.jpg
/home/pi/Desktop/images/31122025/10/13/image_31122025_10_14_05_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401877460","1401877474","1401877462","1401877471","1401877464","1401877457"],"photo_ids_order":["1401877457","1401877460","1401877462","1401877464","1401877471","1401877474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a15917dacf0f12c1485e4e2e9658e6be.jpg","text":"TemporaryFile(/tmp/multipartBody8332700502982215964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179363629,"filename":"image_31122025_10_13_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a09568281296bc67474da0d8bf0f060.jpg","text":"TemporaryFile(/tmp/multipartBody2717275421671812135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179363629,"filename":"image_31122025_10_14_05_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/506ed979ef846c7a3413b2c7a2de7370.jpg","text":"TemporaryFile(/tmp/multipartBody5302136344593917366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179363629,"filename":"image_31122025_10_13_35_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cea8b369b51fd6872903710fcd53fa42.jpg","text":"TemporaryFile(/tmp/multipartBody7932495126615257176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179363629,"filename":"image_31122025_10_13_55_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83a4a8be73a7fa4172d41820050a32a6.jpg","text":"TemporaryFile(/tmp/multipartBody7490209060195033602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179363629,"filename":"image_31122025_10_13_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95364881dc0dabe39aa360eee9ebae99.jpg","text":"TemporaryFile(/tmp/multipartBody5453858424081622527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179363629,"filename":"image_31122025_10_13_15_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401877462","file1":"1401877460","file0":"1401877457","file4":"1401877471","file5":"1401877474","file3":"1401877464"},"map_files_photo_id_array":[{"photo_id":"1401877474","filename":"file5"},{"photo_id":"1401877462","filename":"file2"},{"photo_id":"1401877471","filename":"file4"},{"photo_id":"1401877460","filename":"file1"},{"photo_id":"1401877457","filename":"file0"},{"photo_id":"1401877464","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401877460":["hashtag1","hashtag2"]},{"1401877474":["hashtag1","hashtag2"]},{"1401877462":["hashtag1","hashtag2"]},{"1401877471":["hashtag1","hashtag2"]},{"1401877464":["hashtag1","hashtag2"]},{"1401877457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401877460, 1401877474, 1401877462, 1401877471, 1401877464, 1401877457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.772085666656494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:09:03.633292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/14/image_31122025_10_14_15_9727.jpg', '/home/pi/Desktop/images/31122025/10/14/image_31122025_10_14_25_9698.jpg', '/home/pi/Desktop/images/31122025/10/14/image_31122025_10_14_45_9743.jpg', '/home/pi/Desktop/images/31122025/10/14/image_31122025_10_14_55_9669.jpg', '/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_14_10056.jpg', '/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_25_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/14/image_31122025_10_14_15_9727.jpg
/home/pi/Desktop/images/31122025/10/14/image_31122025_10_14_25_9698.jpg
/home/pi/Desktop/images/31122025/10/14/image_31122025_10_14_45_9743.jpg
/home/pi/Desktop/images/31122025/10/14/image_31122025_10_14_55_9669.jpg
/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_14_10056.jpg
/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_25_10795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401877514","1401877525","1401877761","1401877516","1401877635","1401877512"],"photo_ids_order":["1401877512","1401877514","1401877516","1401877525","1401877635","1401877761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4142bde4421a3e99bd5dc3a41c33828e.jpg","text":"TemporaryFile(/tmp/multipartBody8317644911924447814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179404409,"filename":"image_31122025_10_14_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f515fd51e5553f05f0856f619412888e.jpg","text":"TemporaryFile(/tmp/multipartBody8396882129215098042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179404409,"filename":"image_31122025_10_14_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5947d6a9465c54f9e1ad8bae7bdf2bb.jpg","text":"TemporaryFile(/tmp/multipartBody715449492409489425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179404409,"filename":"image_31122025_10_15_25_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67be06902649744862356a315189f7e2.jpg","text":"TemporaryFile(/tmp/multipartBody6679028563990931544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179404409,"filename":"image_31122025_10_14_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edf9dcdd10748a266578fe96a9177452.jpg","text":"TemporaryFile(/tmp/multipartBody2188859233798935650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179404409,"filename":"image_31122025_10_15_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d801e59f2bbd5f7d423ed6ca95fc114.jpg","text":"TemporaryFile(/tmp/multipartBody8019896289002379389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179404409,"filename":"image_31122025_10_14_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401877516","file1":"1401877514","file0":"1401877512","file4":"1401877635","file5":"1401877761","file3":"1401877525"},"map_files_photo_id_array":[{"photo_id":"1401877761","filename":"file5"},{"photo_id":"1401877516","filename":"file2"},{"photo_id":"1401877635","filename":"file4"},{"photo_id":"1401877514","filename":"file1"},{"photo_id":"1401877512","filename":"file0"},{"photo_id":"1401877525","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401877514":["hashtag1","hashtag2"]},{"1401877525":["hashtag1","hashtag2"]},{"1401877761":["hashtag1","hashtag2"]},{"1401877516":["hashtag1","hashtag2"]},{"1401877635":["hashtag1","hashtag2"]},{"1401877512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401877514, 1401877525, 1401877761, 1401877516, 1401877635, 1401877512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.732582092285156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:10:03.205261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_35_9723.jpg', '/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_45_9707.jpg', '/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_55_10672.jpg', '/home/pi/Desktop/images/31122025/10/15/image_31122025_10_16_05_9699.jpg', '/home/pi/Desktop/images/31122025/10/16/image_31122025_10_16_15_9711.jpg', '/home/pi/Desktop/images/31122025/10/16/image_31122025_10_16_24_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_35_9723.jpg
/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_45_9707.jpg
/home/pi/Desktop/images/31122025/10/15/image_31122025_10_15_55_10672.jpg
/home/pi/Desktop/images/31122025/10/15/image_31122025_10_16_05_9699.jpg
/home/pi/Desktop/images/31122025/10/16/image_31122025_10_16_15_9711.jpg
/home/pi/Desktop/images/31122025/10/16/image_31122025_10_16_24_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401878581","1401878584","1401878551","1401878556","1401878550","1401878553"],"photo_ids_order":["1401878550","1401878551","1401878553","1401878556","1401878581","1401878584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc0e68fa69bc805ecfa60d2aa66ab2e1.jpg","text":"TemporaryFile(/tmp/multipartBody3799256786679256018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179463874,"filename":"image_31122025_10_16_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bea9a267ca0e849faff9adc5d75cb366.jpg","text":"TemporaryFile(/tmp/multipartBody4548451084487940419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179463874,"filename":"image_31122025_10_16_24_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9309e830d4e14cf9c8d47abf43a2f825.jpg","text":"TemporaryFile(/tmp/multipartBody1966059425217032609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179463874,"filename":"image_31122025_10_15_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4583922aa195b549405be926a2e844c2.jpg","text":"TemporaryFile(/tmp/multipartBody1692228143004155699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179463874,"filename":"image_31122025_10_16_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1ab873f38481862db2b58e0a2abc2a3.jpg","text":"TemporaryFile(/tmp/multipartBody2066912369794819733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179463874,"filename":"image_31122025_10_15_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6af268f9d5f56ac08492ced9818a4aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3350724318305850185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179463874,"filename":"image_31122025_10_15_55_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401878553","file1":"1401878551","file0":"1401878550","file4":"1401878581","file5":"1401878584","file3":"1401878556"},"map_files_photo_id_array":[{"photo_id":"1401878584","filename":"file5"},{"photo_id":"1401878553","filename":"file2"},{"photo_id":"1401878581","filename":"file4"},{"photo_id":"1401878551","filename":"file1"},{"photo_id":"1401878550","filename":"file0"},{"photo_id":"1401878556","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401878581":["hashtag1","hashtag2"]},{"1401878584":["hashtag1","hashtag2"]},{"1401878551":["hashtag1","hashtag2"]},{"1401878556":["hashtag1","hashtag2"]},{"1401878550":["hashtag1","hashtag2"]},{"1401878553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401878581, 1401878584, 1401878551, 1401878556, 1401878550, 1401878553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96476745605469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:10:42.663155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_53_3647.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_56_2708.jpg', '/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_59_2897.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_02_2658.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_06_4371.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_08_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_53_3647.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_56_2708.jpg
/home/pi/Desktop/images/03112025/18/04/image_03112025_18_04_59_2897.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_02_2658.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_06_4371.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_08_1680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401878596","1401878592","1401878595","1401878598","1401878597","1401878594"],"photo_ids_order":["1401878592","1401878594","1401878595","1401878596","1401878597","1401878598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e15be5fcc8ad821d34a218857e7b95b.jpg","text":"TemporaryFile(/tmp/multipartBody8777070910663528433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179504577,"filename":"image_03112025_18_05_02_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c27fd55c1b957b23b94da2c3805982a6.jpg","text":"TemporaryFile(/tmp/multipartBody7937697477818147576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179504577,"filename":"image_03112025_18_04_53_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3e6390098adcbb68ec68c0f30040fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2675229000573889770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179504577,"filename":"image_03112025_18_04_59_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28a497f56d15c5322188de0505a2059e.jpg","text":"TemporaryFile(/tmp/multipartBody789301143318874294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179504577,"filename":"image_03112025_18_05_08_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f20025c6f95c73be2427b71af3f88914.jpg","text":"TemporaryFile(/tmp/multipartBody8800711332245737078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179504577,"filename":"image_03112025_18_05_06_4371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b0e3b4c54670e9f201bbebd2926f655.jpg","text":"TemporaryFile(/tmp/multipartBody3116974413279295022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179504577,"filename":"image_03112025_18_04_56_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401878595","file1":"1401878594","file0":"1401878592","file4":"1401878597","file5":"1401878598","file3":"1401878596"},"map_files_photo_id_array":[{"photo_id":"1401878598","filename":"file5"},{"photo_id":"1401878595","filename":"file2"},{"photo_id":"1401878597","filename":"file4"},{"photo_id":"1401878594","filename":"file1"},{"photo_id":"1401878592","filename":"file0"},{"photo_id":"1401878596","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401878596":["hashtag1","hashtag2"]},{"1401878592":["hashtag1","hashtag2"]},{"1401878595":["hashtag1","hashtag2"]},{"1401878598":["hashtag1","hashtag2"]},{"1401878597":["hashtag1","hashtag2"]},{"1401878594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401878596, 1401878592, 1401878595, 1401878598, 1401878597, 1401878594)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.04197406768799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:11:32.877218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_21_12943.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_22_1513.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_24_1687.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_25_1596.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_27_1800.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_29_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_21_12943.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_22_1513.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_24_1687.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_25_1596.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_27_1800.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_29_1683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401878810","1401879010","1401878605","1401878607","1401878703","1401878909"],"photo_ids_order":["1401878605","1401878607","1401878703","1401878810","1401878909","1401879010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66de08bf90bef4fea4b82591f9dcfd58.jpg","text":"TemporaryFile(/tmp/multipartBody7006180314655322454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179554832,"filename":"image_03112025_18_05_25_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4ff260cdfc32f725d3fca29d698abbe.jpg","text":"TemporaryFile(/tmp/multipartBody8247798443963463463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179554832,"filename":"image_03112025_18_05_29_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24cc79521cd89ad82078178375716afe.jpg","text":"TemporaryFile(/tmp/multipartBody2646071582120207954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179554832,"filename":"image_03112025_18_05_21_12943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baa4fbdd637b8c49ef8b4c6fe0d5a2af.jpg","text":"TemporaryFile(/tmp/multipartBody1101308471462490363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179554832,"filename":"image_03112025_18_05_22_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f66828376bae7ac5aaedd131a7b83a84.jpg","text":"TemporaryFile(/tmp/multipartBody7594911685482931813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179554832,"filename":"image_03112025_18_05_24_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f58a3bdcfd52c0a30d2ff273305ad10.jpg","text":"TemporaryFile(/tmp/multipartBody4781394664002246334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179554832,"filename":"image_03112025_18_05_27_1800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401878703","file1":"1401878607","file0":"1401878605","file4":"1401878909","file5":"1401879010","file3":"1401878810"},"map_files_photo_id_array":[{"photo_id":"1401879010","filename":"file5"},{"photo_id":"1401878703","filename":"file2"},{"photo_id":"1401878909","filename":"file4"},{"photo_id":"1401878607","filename":"file1"},{"photo_id":"1401878605","filename":"file0"},{"photo_id":"1401878810","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401878810":["hashtag1","hashtag2"]},{"1401879010":["hashtag1","hashtag2"]},{"1401878605":["hashtag1","hashtag2"]},{"1401878607":["hashtag1","hashtag2"]},{"1401878703":["hashtag1","hashtag2"]},{"1401878909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401878810, 1401879010, 1401878605, 1401878607, 1401878703, 1401878909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62019324302673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:12:11.991567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_31_1662.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_32_1622.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_35_2560.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_38_2795.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_41_3709.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_44_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_31_1662.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_32_1622.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_35_2560.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_38_2795.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_41_3709.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_44_2551.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.6917438507080078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:12:22.028807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/16/image_31122025_10_16_45_9640.jpg', '/home/pi/Desktop/images/31122025/10/16/image_31122025_10_16_55_9751.jpg', '/home/pi/Desktop/images/31122025/10/16/image_31122025_10_17_05_10698.jpg', '/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_15_9714.jpg', '/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_25_9634.jpg', '/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_34_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/16/image_31122025_10_16_45_9640.jpg
/home/pi/Desktop/images/31122025/10/16/image_31122025_10_16_55_9751.jpg
/home/pi/Desktop/images/31122025/10/16/image_31122025_10_17_05_10698.jpg
/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_15_9714.jpg
/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_25_9634.jpg
/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_34_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401879256","1401879220","1401879238","1401879252","1401879249","1401879259"],"photo_ids_order":["1401879220","1401879238","1401879249","1401879252","1401879256","1401879259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41e7cd16406000b2fe012fa14e3a52dd.jpg","text":"TemporaryFile(/tmp/multipartBody3908484262719919028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179602632,"filename":"image_31122025_10_17_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/163642677b2200aacac7f661952d87bd.jpg","text":"TemporaryFile(/tmp/multipartBody7293027993127796606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179602632,"filename":"image_31122025_10_16_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7be0a5528c7cb96d21bfcf14fec042b3.jpg","text":"TemporaryFile(/tmp/multipartBody9142091583614513007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179602632,"filename":"image_31122025_10_16_55_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfb3ba79e2a4eb1de36a0cd10e84200a.jpg","text":"TemporaryFile(/tmp/multipartBody9208338196570846354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179602632,"filename":"image_31122025_10_17_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/743aac388e40ca4b7895b7c09f1cbaea.jpg","text":"TemporaryFile(/tmp/multipartBody1794830129791121644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179602632,"filename":"image_31122025_10_17_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dd16c1ec5569b56251d99977fe69b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8092314352068434376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179602632,"filename":"image_31122025_10_17_34_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401879249","file1":"1401879238","file0":"1401879220","file4":"1401879256","file5":"1401879259","file3":"1401879252"},"map_files_photo_id_array":[{"photo_id":"1401879259","filename":"file5"},{"photo_id":"1401879249","filename":"file2"},{"photo_id":"1401879256","filename":"file4"},{"photo_id":"1401879238","filename":"file1"},{"photo_id":"1401879220","filename":"file0"},{"photo_id":"1401879252","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401879256":["hashtag1","hashtag2"]},{"1401879220":["hashtag1","hashtag2"]},{"1401879238":["hashtag1","hashtag2"]},{"1401879252":["hashtag1","hashtag2"]},{"1401879249":["hashtag1","hashtag2"]},{"1401879259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401879256, 1401879220, 1401879238, 1401879252, 1401879249, 1401879259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08083438873291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:13:03.061415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_45_10724.jpg', '/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_55_9640.jpg', '/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_15_10674.jpg', '/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_25_9759.jpg', '/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_35_9796.jpg', '/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_45_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_45_10724.jpg
/home/pi/Desktop/images/31122025/10/17/image_31122025_10_17_55_9640.jpg
/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_15_10674.jpg
/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_25_9759.jpg
/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_35_9796.jpg
/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_45_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401879261","1401879267","1401879269","1401879263","1401879271","1401879265"],"photo_ids_order":["1401879261","1401879263","1401879265","1401879267","1401879269","1401879271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41219e20fa7fe0ea14512fad58a134d4.jpg","text":"TemporaryFile(/tmp/multipartBody532214527165785434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179643825,"filename":"image_31122025_10_17_45_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e61df6e4989162fa701b5c60afa5a896.jpg","text":"TemporaryFile(/tmp/multipartBody1358557653518090094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179643825,"filename":"image_31122025_10_18_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af7b52a8fb914ffdab9948c826bc1e87.jpg","text":"TemporaryFile(/tmp/multipartBody1824917730961152202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179643825,"filename":"image_31122025_10_18_35_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1af3cbc624f94197dfebeb2077c8505.jpg","text":"TemporaryFile(/tmp/multipartBody8925703119310221888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179643825,"filename":"image_31122025_10_17_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bc6ca1f3710d7238f21323f4738ef9e.jpg","text":"TemporaryFile(/tmp/multipartBody4393445958228533259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179643825,"filename":"image_31122025_10_18_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8fc800f488435273066e08d10117ac8f.jpg","text":"TemporaryFile(/tmp/multipartBody6996162549957627866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179643825,"filename":"image_31122025_10_18_15_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401879265","file1":"1401879263","file0":"1401879261","file4":"1401879269","file5":"1401879271","file3":"1401879267"},"map_files_photo_id_array":[{"photo_id":"1401879271","filename":"file5"},{"photo_id":"1401879265","filename":"file2"},{"photo_id":"1401879269","filename":"file4"},{"photo_id":"1401879263","filename":"file1"},{"photo_id":"1401879261","filename":"file0"},{"photo_id":"1401879267","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401879261":["hashtag1","hashtag2"]},{"1401879267":["hashtag1","hashtag2"]},{"1401879269":["hashtag1","hashtag2"]},{"1401879263":["hashtag1","hashtag2"]},{"1401879271":["hashtag1","hashtag2"]},{"1401879265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401879261, 1401879267, 1401879269, 1401879263, 1401879271, 1401879265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01685881614685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:13:42.433190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_31_1662.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_32_1622.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_35_2560.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_38_2795.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_41_3709.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_44_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_31_1662.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_32_1622.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_35_2560.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_38_2795.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_41_3709.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_44_2551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401879313","1401879304","1401879279","1401879293","1401879323","1401879283"],"photo_ids_order":["1401879279","1401879283","1401879293","1401879304","1401879313","1401879323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3cc7695d84390119e900e20165b744a.jpg","text":"TemporaryFile(/tmp/multipartBody4482984729078285624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179684250,"filename":"image_03112025_18_05_41_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fa37cd1ecbf6a05d36b73de71e8cc65.jpg","text":"TemporaryFile(/tmp/multipartBody3967823180960530757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179684250,"filename":"image_03112025_18_05_38_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/839c9a2ec22c16f68d904c0c435d500e.jpg","text":"TemporaryFile(/tmp/multipartBody5027025920274384462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179684250,"filename":"image_03112025_18_05_31_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ad44d2f20870d5170406b90fcb828c0.jpg","text":"TemporaryFile(/tmp/multipartBody3477217070321036799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179684250,"filename":"image_03112025_18_05_35_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/093c4454d5e4b26f9293e3ec3035da76.jpg","text":"TemporaryFile(/tmp/multipartBody7263850859843213197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179684250,"filename":"image_03112025_18_05_44_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ac8dd0a3abed76b21ab0479037aafe8.jpg","text":"TemporaryFile(/tmp/multipartBody5906760119230670769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179684250,"filename":"image_03112025_18_05_32_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401879293","file1":"1401879283","file0":"1401879279","file4":"1401879313","file5":"1401879323","file3":"1401879304"},"map_files_photo_id_array":[{"photo_id":"1401879323","filename":"file5"},{"photo_id":"1401879293","filename":"file2"},{"photo_id":"1401879313","filename":"file4"},{"photo_id":"1401879283","filename":"file1"},{"photo_id":"1401879279","filename":"file0"},{"photo_id":"1401879304","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401879313":["hashtag1","hashtag2"]},{"1401879304":["hashtag1","hashtag2"]},{"1401879279":["hashtag1","hashtag2"]},{"1401879293":["hashtag1","hashtag2"]},{"1401879323":["hashtag1","hashtag2"]},{"1401879283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401879313, 1401879304, 1401879279, 1401879293, 1401879323, 1401879283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72697114944458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:14:22.652092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_55_9703.jpg', '/home/pi/Desktop/images/31122025/10/18/image_31122025_10_19_05_9724.jpg', '/home/pi/Desktop/images/31122025/10/19/image_31122025_10_19_15_9860.jpg', '/home/pi/Desktop/images/31122025/10/19/image_31122025_10_19_35_9692.jpg', '/home/pi/Desktop/images/31122025/10/19/image_31122025_10_19_45_9683.jpg', '/home/pi/Desktop/images/31122025/10/19/image_31122025_10_19_55_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/18/image_31122025_10_18_55_9703.jpg
/home/pi/Desktop/images/31122025/10/18/image_31122025_10_19_05_9724.jpg
/home/pi/Desktop/images/31122025/10/19/image_31122025_10_19_15_9860.jpg
/home/pi/Desktop/images/31122025/10/19/image_31122025_10_19_35_9692.jpg
/home/pi/Desktop/images/31122025/10/19/image_31122025_10_19_45_9683.jpg
/home/pi/Desktop/images/31122025/10/19/image_31122025_10_19_55_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401879388","1401879399","1401879360","1401879378","1401879382","1401879385"],"photo_ids_order":["1401879360","1401879378","1401879382","1401879385","1401879388","1401879399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43806b50917c48c36b520cd191789b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7211876008421144825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179723294,"filename":"image_31122025_10_19_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/566b91ff1e596aea43679026f4909d64.jpg","text":"TemporaryFile(/tmp/multipartBody6380694984652437045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179723294,"filename":"image_31122025_10_19_55_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d643949fcc84ab9492f0f0ab25baec3.jpg","text":"TemporaryFile(/tmp/multipartBody4522981706302087514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179723294,"filename":"image_31122025_10_18_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13708899e41c6285b203eeaf63407bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3943952034698263286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179723294,"filename":"image_31122025_10_19_05_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/354596ba8c44b721d0eeae776b455580.jpg","text":"TemporaryFile(/tmp/multipartBody719504306908575615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179723294,"filename":"image_31122025_10_19_15_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0dd6e6ef2e380459b37fcacc6de31f49.jpg","text":"TemporaryFile(/tmp/multipartBody1095677318259345421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179723294,"filename":"image_31122025_10_19_35_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401879382","file1":"1401879378","file0":"1401879360","file4":"1401879388","file5":"1401879399","file3":"1401879385"},"map_files_photo_id_array":[{"photo_id":"1401879399","filename":"file5"},{"photo_id":"1401879382","filename":"file2"},{"photo_id":"1401879388","filename":"file4"},{"photo_id":"1401879378","filename":"file1"},{"photo_id":"1401879360","filename":"file0"},{"photo_id":"1401879385","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401879388":["hashtag1","hashtag2"]},{"1401879399":["hashtag1","hashtag2"]},{"1401879360":["hashtag1","hashtag2"]},{"1401879378":["hashtag1","hashtag2"]},{"1401879382":["hashtag1","hashtag2"]},{"1401879385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401879388, 1401879399, 1401879360, 1401879378, 1401879382, 1401879385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41007947921753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:15:03.471310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/20/image_31122025_10_20_14_10056.jpg', '/home/pi/Desktop/images/31122025/10/20/image_31122025_10_20_34_9632.jpg', '/home/pi/Desktop/images/31122025/10/20/image_31122025_10_20_44_9626.jpg', '/home/pi/Desktop/images/31122025/10/20/image_31122025_10_20_54_10697.jpg', '/home/pi/Desktop/images/31122025/10/20/image_31122025_10_21_04_9762.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_14_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/20/image_31122025_10_20_14_10056.jpg
/home/pi/Desktop/images/31122025/10/20/image_31122025_10_20_34_9632.jpg
/home/pi/Desktop/images/31122025/10/20/image_31122025_10_20_44_9626.jpg
/home/pi/Desktop/images/31122025/10/20/image_31122025_10_20_54_10697.jpg
/home/pi/Desktop/images/31122025/10/20/image_31122025_10_21_04_9762.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_14_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401879412","1401879409","1401879406","1401879414","1401879402","1401879404"],"photo_ids_order":["1401879402","1401879404","1401879406","1401879409","1401879412","1401879414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1e0a8fc33582b29d00f20c0a0473e4d.jpg","text":"TemporaryFile(/tmp/multipartBody5630164847804041024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179764155,"filename":"image_31122025_10_21_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92d9894d622d5541b00edef06b9ce734.jpg","text":"TemporaryFile(/tmp/multipartBody5794280972531792125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179764155,"filename":"image_31122025_10_20_54_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/859c47b08fc70a1633bc9026c7515e45.jpg","text":"TemporaryFile(/tmp/multipartBody5507003621926371775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179764155,"filename":"image_31122025_10_20_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3127e3e1b0f829abdf36e463e84be2e.jpg","text":"TemporaryFile(/tmp/multipartBody5930923049776266427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179764155,"filename":"image_31122025_10_21_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd3a7cb39c2c2e046f83bb642563b120.jpg","text":"TemporaryFile(/tmp/multipartBody5560329827787820200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179764155,"filename":"image_31122025_10_20_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81b15c3d38506a768c3ca7bf54ba419e.jpg","text":"TemporaryFile(/tmp/multipartBody2774577815605986750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179764155,"filename":"image_31122025_10_20_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401879406","file1":"1401879404","file0":"1401879402","file4":"1401879412","file5":"1401879414","file3":"1401879409"},"map_files_photo_id_array":[{"photo_id":"1401879414","filename":"file5"},{"photo_id":"1401879406","filename":"file2"},{"photo_id":"1401879412","filename":"file4"},{"photo_id":"1401879404","filename":"file1"},{"photo_id":"1401879402","filename":"file0"},{"photo_id":"1401879409","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401879412":["hashtag1","hashtag2"]},{"1401879409":["hashtag1","hashtag2"]},{"1401879406":["hashtag1","hashtag2"]},{"1401879414":["hashtag1","hashtag2"]},{"1401879402":["hashtag1","hashtag2"]},{"1401879404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401879412, 1401879409, 1401879406, 1401879414, 1401879402, 1401879404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4071478843689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:15:42.783038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_46_2704.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_50_3675.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_53_2756.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_56_2759.jpg', '/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_58_2650.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_02_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_46_2704.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_50_3675.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_53_2756.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_56_2759.jpg
/home/pi/Desktop/images/03112025/18/05/image_03112025_18_05_58_2650.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_02_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401879445","1401879535","1401879421","1401879422","1401879419","1401879499"],"photo_ids_order":["1401879419","1401879421","1401879422","1401879445","1401879499","1401879535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76692388f69dcb6edc642692c5972538.jpg","text":"TemporaryFile(/tmp/multipartBody4089836662027000381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179804686,"filename":"image_03112025_18_05_56_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d60d28b106d4074d4d38eb47720bf9a.jpg","text":"TemporaryFile(/tmp/multipartBody7898148135287157270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179804686,"filename":"image_03112025_18_06_02_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/076df009559abd73e557001d2317bef9.jpg","text":"TemporaryFile(/tmp/multipartBody2086969052317642772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179804686,"filename":"image_03112025_18_05_50_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74365fb8096aa4e43f1f8a21f19d8847.jpg","text":"TemporaryFile(/tmp/multipartBody3476831727884492861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179804686,"filename":"image_03112025_18_05_53_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/429a1f2f8c92d52f5218d1848649fb77.jpg","text":"TemporaryFile(/tmp/multipartBody7193837386478862256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179804686,"filename":"image_03112025_18_05_46_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eddac22518ff64d65e9f1ba512bc261f.jpg","text":"TemporaryFile(/tmp/multipartBody1332090321551035130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179804686,"filename":"image_03112025_18_05_58_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401879422","file1":"1401879421","file0":"1401879419","file4":"1401879499","file5":"1401879535","file3":"1401879445"},"map_files_photo_id_array":[{"photo_id":"1401879535","filename":"file5"},{"photo_id":"1401879422","filename":"file2"},{"photo_id":"1401879499","filename":"file4"},{"photo_id":"1401879421","filename":"file1"},{"photo_id":"1401879419","filename":"file0"},{"photo_id":"1401879445","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401879445":["hashtag1","hashtag2"]},{"1401879535":["hashtag1","hashtag2"]},{"1401879421":["hashtag1","hashtag2"]},{"1401879422":["hashtag1","hashtag2"]},{"1401879419":["hashtag1","hashtag2"]},{"1401879499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401879445, 1401879535, 1401879421, 1401879422, 1401879419, 1401879499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54607963562012 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:16:32.055768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_05_2564.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_09_4379.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_11_1728.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_13_2685.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_17_3369.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_19_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_05_2564.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_09_4379.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_11_1728.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_13_2685.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_17_3369.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_19_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401879658","1401879625","1401879657","1401879644","1401879656","1401879623"],"photo_ids_order":["1401879623","1401879625","1401879644","1401879656","1401879657","1401879658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b55a2a89fd832f7ee4fee84610baf73d.jpg","text":"TemporaryFile(/tmp/multipartBody8131800606718039101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179853977,"filename":"image_03112025_18_06_19_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34f7da4bdaf5dc40f3451d99bf1ffdbc.jpg","text":"TemporaryFile(/tmp/multipartBody7039734997669602819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179853977,"filename":"image_03112025_18_06_09_4379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3616a54e9b1547046cfc3f8bbfdf11b.jpg","text":"TemporaryFile(/tmp/multipartBody5011155329374617762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179853977,"filename":"image_03112025_18_06_17_3369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1a42ffc63939dc40b0cd9924f0c60eb.jpg","text":"TemporaryFile(/tmp/multipartBody6355777389241639079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179853977,"filename":"image_03112025_18_06_11_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d55d3736e3cbf0ca878451acd889c825.jpg","text":"TemporaryFile(/tmp/multipartBody5602868371854848526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179853977,"filename":"image_03112025_18_06_13_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ec3aadcd63f73c7f376566fcdca4f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2822413738635555376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179853977,"filename":"image_03112025_18_06_05_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401879644","file1":"1401879625","file0":"1401879623","file4":"1401879657","file5":"1401879658","file3":"1401879656"},"map_files_photo_id_array":[{"photo_id":"1401879658","filename":"file5"},{"photo_id":"1401879644","filename":"file2"},{"photo_id":"1401879657","filename":"file4"},{"photo_id":"1401879625","filename":"file1"},{"photo_id":"1401879623","filename":"file0"},{"photo_id":"1401879656","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401879658":["hashtag1","hashtag2"]},{"1401879625":["hashtag1","hashtag2"]},{"1401879657":["hashtag1","hashtag2"]},{"1401879644":["hashtag1","hashtag2"]},{"1401879656":["hashtag1","hashtag2"]},{"1401879623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401879658, 1401879625, 1401879657, 1401879644, 1401879656, 1401879623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.091540813446045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:17:12.019819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_23_3652.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_28_2825.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_32_3548.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_34_2601.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_38_3679.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_41_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_23_3652.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_28_2825.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_32_3548.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_34_2601.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_38_3679.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_41_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401879751","1401879931","1401879894","1401879789","1401879852","1401879830"],"photo_ids_order":["1401879751","1401879789","1401879830","1401879852","1401879894","1401879931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0480faa0edaf9226af8d45d8886890a.jpg","text":"TemporaryFile(/tmp/multipartBody7550708183322344545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179893801,"filename":"image_03112025_18_06_23_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53470c8d1c969d3bcff20e97dff3db55.jpg","text":"TemporaryFile(/tmp/multipartBody1352694359564636425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179893801,"filename":"image_03112025_18_06_41_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/197b1379a7ac9d1b472965c43e643f45.jpg","text":"TemporaryFile(/tmp/multipartBody8796606686162709390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179893801,"filename":"image_03112025_18_06_38_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c88c46acef5af117ed53c21bcedf01b5.jpg","text":"TemporaryFile(/tmp/multipartBody4031774339942322209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179893801,"filename":"image_03112025_18_06_28_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49e3664c7aa3a558ee1ae2c044b778a9.jpg","text":"TemporaryFile(/tmp/multipartBody240217526807031489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179893801,"filename":"image_03112025_18_06_34_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a91e71a48aac9f1491b8ba8eff437d59.jpg","text":"TemporaryFile(/tmp/multipartBody3228793239710435683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179893801,"filename":"image_03112025_18_06_32_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401879830","file1":"1401879789","file0":"1401879751","file4":"1401879894","file5":"1401879931","file3":"1401879852"},"map_files_photo_id_array":[{"photo_id":"1401879931","filename":"file5"},{"photo_id":"1401879830","filename":"file2"},{"photo_id":"1401879894","filename":"file4"},{"photo_id":"1401879789","filename":"file1"},{"photo_id":"1401879751","filename":"file0"},{"photo_id":"1401879852","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401879751":["hashtag1","hashtag2"]},{"1401879931":["hashtag1","hashtag2"]},{"1401879894":["hashtag1","hashtag2"]},{"1401879789":["hashtag1","hashtag2"]},{"1401879852":["hashtag1","hashtag2"]},{"1401879830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401879751, 1401879931, 1401879894, 1401879789, 1401879852, 1401879830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.777395486831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:18:02.789178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_24_9893.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_34_10611.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_44_9750.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_54_9964.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_22_04_9729.jpg', '/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_15_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_24_9893.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_34_10611.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_44_9750.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_54_9964.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_22_04_9729.jpg
/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_15_10663.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.9444746971130371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:18:12.302325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_43_2671.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_47_3685.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_50_2644.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_53_2796.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_55_2677.jpg', '/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_59_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_43_2671.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_47_3685.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_50_2644.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_53_2796.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_55_2677.jpg
/home/pi/Desktop/images/03112025/18/06/image_03112025_18_06_59_3736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401880195","1401880171","1401880165","1401880162","1401880169","1401880130"],"photo_ids_order":["1401880130","1401880162","1401880165","1401880169","1401880171","1401880195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6c6c3f4608e4c0ce303854ccd1f7110.jpg","text":"TemporaryFile(/tmp/multipartBody7790878857315215348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179954092,"filename":"image_03112025_18_06_59_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/537d99fa783c3deee62a6f54b5350123.jpg","text":"TemporaryFile(/tmp/multipartBody8159146576004930849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179954092,"filename":"image_03112025_18_06_55_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8a22e57afc30af103bf7c7efd9a5122.jpg","text":"TemporaryFile(/tmp/multipartBody6737158362276558695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179954092,"filename":"image_03112025_18_06_50_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b717acb0310874974d5dd3ba6e66053.jpg","text":"TemporaryFile(/tmp/multipartBody9020163053184396748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179954092,"filename":"image_03112025_18_06_47_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/975cc02fa9a8853f28b0773d5bfe9eae.jpg","text":"TemporaryFile(/tmp/multipartBody8237121918466992820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179954092,"filename":"image_03112025_18_06_53_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d377c14f5e99eaf9f7574aecb891bc0f.jpg","text":"TemporaryFile(/tmp/multipartBody6810135045087133943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767179954092,"filename":"image_03112025_18_06_43_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401880165","file1":"1401880162","file0":"1401880130","file4":"1401880171","file5":"1401880195","file3":"1401880169"},"map_files_photo_id_array":[{"photo_id":"1401880195","filename":"file5"},{"photo_id":"1401880165","filename":"file2"},{"photo_id":"1401880171","filename":"file4"},{"photo_id":"1401880162","filename":"file1"},{"photo_id":"1401880130","filename":"file0"},{"photo_id":"1401880169","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401880195":["hashtag1","hashtag2"]},{"1401880171":["hashtag1","hashtag2"]},{"1401880165":["hashtag1","hashtag2"]},{"1401880162":["hashtag1","hashtag2"]},{"1401880169":["hashtag1","hashtag2"]},{"1401880130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401880195, 1401880171, 1401880165, 1401880162, 1401880169, 1401880130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31130862236023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:19:03.423354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_24_9893.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_34_10611.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_44_9750.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_54_9964.jpg', '/home/pi/Desktop/images/31122025/10/21/image_31122025_10_22_04_9729.jpg', '/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_15_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_24_9893.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_34_10611.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_44_9750.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_21_54_9964.jpg
/home/pi/Desktop/images/31122025/10/21/image_31122025_10_22_04_9729.jpg
/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_15_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401880375","1401880369","1401880366","1401880371","1401880376","1401880373"],"photo_ids_order":["1401880366","1401880369","1401880371","1401880373","1401880375","1401880376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e71d6d55a0cc15a3ddb9c6671a6ff8ef.jpg","text":"TemporaryFile(/tmp/multipartBody1050595294734521466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180004275,"filename":"image_31122025_10_22_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bc582489c2c7238c103af989af5fb1b.jpg","text":"TemporaryFile(/tmp/multipartBody3561801156057125941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180004275,"filename":"image_31122025_10_21_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2638573398fcba9506a5fcb1449f3ae2.jpg","text":"TemporaryFile(/tmp/multipartBody6352453828820029078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180004275,"filename":"image_31122025_10_21_24_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/663a48524aa9c990d1986974466160fe.jpg","text":"TemporaryFile(/tmp/multipartBody8081787420890378919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180004275,"filename":"image_31122025_10_21_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85cc36adf59374b19847f51124c4cb85.jpg","text":"TemporaryFile(/tmp/multipartBody2916616821531898107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180004275,"filename":"image_31122025_10_22_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c440236f8f72f9c91e97502fbd518378.jpg","text":"TemporaryFile(/tmp/multipartBody6826436605898070125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180004275,"filename":"image_31122025_10_21_54_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401880371","file1":"1401880369","file0":"1401880366","file4":"1401880375","file5":"1401880376","file3":"1401880373"},"map_files_photo_id_array":[{"photo_id":"1401880376","filename":"file5"},{"photo_id":"1401880371","filename":"file2"},{"photo_id":"1401880375","filename":"file4"},{"photo_id":"1401880369","filename":"file1"},{"photo_id":"1401880366","filename":"file0"},{"photo_id":"1401880373","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401880375":["hashtag1","hashtag2"]},{"1401880369":["hashtag1","hashtag2"]},{"1401880366":["hashtag1","hashtag2"]},{"1401880371":["hashtag1","hashtag2"]},{"1401880376":["hashtag1","hashtag2"]},{"1401880373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401880375, 1401880369, 1401880366, 1401880371, 1401880376, 1401880373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55117964744568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:19:42.568453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_02_2587.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_04_2663.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_08_3646.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_11_2623.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_14_3622.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_17_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_02_2587.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_04_2663.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_08_3646.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_11_2623.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_14_3622.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_17_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401880387","1401880384","1401880386","1401880382","1401880385","1401880388"],"photo_ids_order":["1401880382","1401880384","1401880385","1401880386","1401880387","1401880388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cca8a294ce98d638e17bf603d91da429.jpg","text":"TemporaryFile(/tmp/multipartBody4769294607360804856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180044483,"filename":"image_03112025_18_07_14_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7953c3114749150f4223328b9ca99177.jpg","text":"TemporaryFile(/tmp/multipartBody9159701508366241794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180044483,"filename":"image_03112025_18_07_04_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/556651f9a2e07883ba46acefe8f3a59d.jpg","text":"TemporaryFile(/tmp/multipartBody5856260214839181230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180044483,"filename":"image_03112025_18_07_11_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f22904e67a9ce0e4a60594173cbe7b25.jpg","text":"TemporaryFile(/tmp/multipartBody2212482881238180352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180044483,"filename":"image_03112025_18_07_02_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93e96268f7068d452c395b538fa02faf.jpg","text":"TemporaryFile(/tmp/multipartBody3569593308424561174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180044483,"filename":"image_03112025_18_07_08_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7439325e81a20e0622ba3d33bb54297.jpg","text":"TemporaryFile(/tmp/multipartBody3471145235569745697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180044483,"filename":"image_03112025_18_07_17_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401880385","file1":"1401880384","file0":"1401880382","file4":"1401880387","file5":"1401880388","file3":"1401880386"},"map_files_photo_id_array":[{"photo_id":"1401880388","filename":"file5"},{"photo_id":"1401880385","filename":"file2"},{"photo_id":"1401880387","filename":"file4"},{"photo_id":"1401880384","filename":"file1"},{"photo_id":"1401880382","filename":"file0"},{"photo_id":"1401880386","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401880387":["hashtag1","hashtag2"]},{"1401880384":["hashtag1","hashtag2"]},{"1401880386":["hashtag1","hashtag2"]},{"1401880382":["hashtag1","hashtag2"]},{"1401880385":["hashtag1","hashtag2"]},{"1401880388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401880387, 1401880384, 1401880386, 1401880382, 1401880385, 1401880388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.985692262649536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:20:22.788761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_24_9832.jpg', '/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_34_9621.jpg', '/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_54_9659.jpg', '/home/pi/Desktop/images/31122025/10/22/image_31122025_10_23_04_9644.jpg', '/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_15_10764.jpg', '/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_25_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_24_9832.jpg
/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_34_9621.jpg
/home/pi/Desktop/images/31122025/10/22/image_31122025_10_22_54_9659.jpg
/home/pi/Desktop/images/31122025/10/22/image_31122025_10_23_04_9644.jpg
/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_15_10764.jpg
/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_25_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401880393","1401880398","1401880395","1401880397","1401880401","1401880391"],"photo_ids_order":["1401880391","1401880393","1401880395","1401880397","1401880398","1401880401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/532ff80505bc05a00835c4e9affd43a0.jpg","text":"TemporaryFile(/tmp/multipartBody5586890684509814273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180083418,"filename":"image_31122025_10_22_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b9736d6c2a1a3248f5cfa89613b16bf.jpg","text":"TemporaryFile(/tmp/multipartBody2168722038181376105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180083418,"filename":"image_31122025_10_23_15_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ab1406ba5681e008d5040eae7be998b.jpg","text":"TemporaryFile(/tmp/multipartBody3595403661902102013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180083418,"filename":"image_31122025_10_22_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34b9627c01c2d907c118c1aec5a50d61.jpg","text":"TemporaryFile(/tmp/multipartBody4666826999415559819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180083418,"filename":"image_31122025_10_23_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ab523df8fa17c6f4832aac544003c35.jpg","text":"TemporaryFile(/tmp/multipartBody3350690078222718913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180083418,"filename":"image_31122025_10_23_25_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb1dee7ba03910664a784ce60ef5e550.jpg","text":"TemporaryFile(/tmp/multipartBody3149997307142991410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180083418,"filename":"image_31122025_10_22_24_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401880395","file1":"1401880393","file0":"1401880391","file4":"1401880398","file5":"1401880401","file3":"1401880397"},"map_files_photo_id_array":[{"photo_id":"1401880401","filename":"file5"},{"photo_id":"1401880395","filename":"file2"},{"photo_id":"1401880398","filename":"file4"},{"photo_id":"1401880393","filename":"file1"},{"photo_id":"1401880391","filename":"file0"},{"photo_id":"1401880397","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401880393":["hashtag1","hashtag2"]},{"1401880398":["hashtag1","hashtag2"]},{"1401880395":["hashtag1","hashtag2"]},{"1401880397":["hashtag1","hashtag2"]},{"1401880401":["hashtag1","hashtag2"]},{"1401880391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401880393, 1401880398, 1401880395, 1401880397, 1401880401, 1401880391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46592164039612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:21:02.688441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_34_9561.jpg', '/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_44_9898.jpg', '/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_55_10694.jpg', '/home/pi/Desktop/images/31122025/10/23/image_31122025_10_24_04_9664.jpg', '/home/pi/Desktop/images/31122025/10/24/image_31122025_10_24_14_9766.jpg', '/home/pi/Desktop/images/31122025/10/24/image_31122025_10_24_44_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_34_9561.jpg
/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_44_9898.jpg
/home/pi/Desktop/images/31122025/10/23/image_31122025_10_23_55_10694.jpg
/home/pi/Desktop/images/31122025/10/23/image_31122025_10_24_04_9664.jpg
/home/pi/Desktop/images/31122025/10/24/image_31122025_10_24_14_9766.jpg
/home/pi/Desktop/images/31122025/10/24/image_31122025_10_24_44_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401880519","1401880420","1401880413","1401880484","1401880448","1401880409"],"photo_ids_order":["1401880409","1401880413","1401880420","1401880448","1401880484","1401880519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b25c97ef4a997a9cdc8945582cb9be15.jpg","text":"TemporaryFile(/tmp/multipartBody8422770466758323048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180123396,"filename":"image_31122025_10_24_44_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64087bf030f1ab8e7163afc11a6a0be6.jpg","text":"TemporaryFile(/tmp/multipartBody1134016424418841133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180123396,"filename":"image_31122025_10_23_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eeb5b76a9f2435c2634a70f924887313.jpg","text":"TemporaryFile(/tmp/multipartBody6178799494445379796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180123396,"filename":"image_31122025_10_23_44_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f10687a68021b0f062d54232f2cb3a28.jpg","text":"TemporaryFile(/tmp/multipartBody8418435774225315328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180123396,"filename":"image_31122025_10_24_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69cee43f8f74032a1c4c376c99320f87.jpg","text":"TemporaryFile(/tmp/multipartBody8424009776798734015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180123396,"filename":"image_31122025_10_24_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34316e623fa959e2bd7b82d027b9ab64.jpg","text":"TemporaryFile(/tmp/multipartBody931509215601316593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180123396,"filename":"image_31122025_10_23_34_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401880420","file1":"1401880413","file0":"1401880409","file4":"1401880484","file5":"1401880519","file3":"1401880448"},"map_files_photo_id_array":[{"photo_id":"1401880519","filename":"file5"},{"photo_id":"1401880420","filename":"file2"},{"photo_id":"1401880484","filename":"file4"},{"photo_id":"1401880413","filename":"file1"},{"photo_id":"1401880409","filename":"file0"},{"photo_id":"1401880448","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401880519":["hashtag1","hashtag2"]},{"1401880420":["hashtag1","hashtag2"]},{"1401880413":["hashtag1","hashtag2"]},{"1401880484":["hashtag1","hashtag2"]},{"1401880448":["hashtag1","hashtag2"]},{"1401880409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401880519, 1401880420, 1401880413, 1401880484, 1401880448, 1401880409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.996798276901245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:21:41.996440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_20_2777.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_22_2832.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_26_3673.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_29_2507.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_32_3000.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_34_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_20_2777.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_22_2832.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_26_3673.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_29_2507.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_32_3000.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_34_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401880814","1401880849","1401880744","1401880708","1401880779","1401880670"],"photo_ids_order":["1401880670","1401880708","1401880744","1401880779","1401880814","1401880849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35f8b41236191a7c84cac36304a8bb38.jpg","text":"TemporaryFile(/tmp/multipartBody5608281177113697943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180163908,"filename":"image_03112025_18_07_32_3000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/373120266fda1b24ca300031d568182b.jpg","text":"TemporaryFile(/tmp/multipartBody3682467820812802599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180163908,"filename":"image_03112025_18_07_34_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85e3f7231031d48df2531efc95fc4a17.jpg","text":"TemporaryFile(/tmp/multipartBody3471120636366000310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180163908,"filename":"image_03112025_18_07_26_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a27b856f11e0a30eb73413bf687218db.jpg","text":"TemporaryFile(/tmp/multipartBody5864821562916119763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180163908,"filename":"image_03112025_18_07_22_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acb0a237cfaa0a55a360208ee8dff023.jpg","text":"TemporaryFile(/tmp/multipartBody6468628109518772870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180163908,"filename":"image_03112025_18_07_29_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a430a7216301e2085ac311eab332c145.jpg","text":"TemporaryFile(/tmp/multipartBody2111187013399592275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180163908,"filename":"image_03112025_18_07_20_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401880744","file1":"1401880708","file0":"1401880670","file4":"1401880814","file5":"1401880849","file3":"1401880779"},"map_files_photo_id_array":[{"photo_id":"1401880849","filename":"file5"},{"photo_id":"1401880744","filename":"file2"},{"photo_id":"1401880814","filename":"file4"},{"photo_id":"1401880708","filename":"file1"},{"photo_id":"1401880670","filename":"file0"},{"photo_id":"1401880779","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401880814":["hashtag1","hashtag2"]},{"1401880849":["hashtag1","hashtag2"]},{"1401880744":["hashtag1","hashtag2"]},{"1401880708":["hashtag1","hashtag2"]},{"1401880779":["hashtag1","hashtag2"]},{"1401880670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401880814, 1401880849, 1401880744, 1401880708, 1401880779, 1401880670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.318758726119995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:22:22.090182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/24/image_31122025_10_24_54_9662.jpg', '/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_14_10067.jpg', '/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_25_10697.jpg', '/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_35_9729.jpg', '/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_45_9716.jpg', '/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_55_10033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/24/image_31122025_10_24_54_9662.jpg
/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_14_10067.jpg
/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_25_10697.jpg
/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_35_9729.jpg
/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_45_9716.jpg
/home/pi/Desktop/images/31122025/10/25/image_31122025_10_25_55_10033.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881017","1401881067","1401881072","1401881069","1401881054","1401880979"],"photo_ids_order":["1401880979","1401881017","1401881054","1401881067","1401881069","1401881072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c7f1b360b35d968380fab5bb887bb54.jpg","text":"TemporaryFile(/tmp/multipartBody6468188338037689346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180202707,"filename":"image_31122025_10_25_14_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/199b84302f7b34deba317593e18edaf0.jpg","text":"TemporaryFile(/tmp/multipartBody4227164773357162529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180202707,"filename":"image_31122025_10_25_35_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9a2ac5a5f57dd1b6eae1f4046efd04c.jpg","text":"TemporaryFile(/tmp/multipartBody8805650616280127797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180202707,"filename":"image_31122025_10_25_55_10033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4cd3a60233e4f3ef20414e419e1b8188.jpg","text":"TemporaryFile(/tmp/multipartBody3795219106468250915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180202707,"filename":"image_31122025_10_25_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99189cc95af82dd9bd2cdb3aa487cdcd.jpg","text":"TemporaryFile(/tmp/multipartBody363565230479982707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180202707,"filename":"image_31122025_10_25_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afa3619466d32a366765515ce1f4998d.jpg","text":"TemporaryFile(/tmp/multipartBody6244297366297668554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180202707,"filename":"image_31122025_10_24_54_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881054","file1":"1401881017","file0":"1401880979","file4":"1401881069","file5":"1401881072","file3":"1401881067"},"map_files_photo_id_array":[{"photo_id":"1401881072","filename":"file5"},{"photo_id":"1401881054","filename":"file2"},{"photo_id":"1401881069","filename":"file4"},{"photo_id":"1401881017","filename":"file1"},{"photo_id":"1401880979","filename":"file0"},{"photo_id":"1401881067","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881017":["hashtag1","hashtag2"]},{"1401881067":["hashtag1","hashtag2"]},{"1401881072":["hashtag1","hashtag2"]},{"1401881069":["hashtag1","hashtag2"]},{"1401881054":["hashtag1","hashtag2"]},{"1401880979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881017, 1401881067, 1401881072, 1401881069, 1401881054, 1401880979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47542667388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:23:02.984788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/25/image_31122025_10_26_05_10737.jpg', '/home/pi/Desktop/images/31122025/10/26/image_31122025_10_26_15_9629.jpg', '/home/pi/Desktop/images/31122025/10/26/image_31122025_10_26_25_9666.jpg', '/home/pi/Desktop/images/31122025/10/26/image_31122025_10_26_34_9763.jpg', '/home/pi/Desktop/images/31122025/10/26/image_31122025_10_26_55_9704.jpg', '/home/pi/Desktop/images/31122025/10/26/image_31122025_10_27_05_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/25/image_31122025_10_26_05_10737.jpg
/home/pi/Desktop/images/31122025/10/26/image_31122025_10_26_15_9629.jpg
/home/pi/Desktop/images/31122025/10/26/image_31122025_10_26_25_9666.jpg
/home/pi/Desktop/images/31122025/10/26/image_31122025_10_26_34_9763.jpg
/home/pi/Desktop/images/31122025/10/26/image_31122025_10_26_55_9704.jpg
/home/pi/Desktop/images/31122025/10/26/image_31122025_10_27_05_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881230","1401881203","1401881202","1401881205","1401881208","1401881155"],"photo_ids_order":["1401881155","1401881202","1401881203","1401881205","1401881208","1401881230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/445525ca7089d9e35de77b5f3db7e853.jpg","text":"TemporaryFile(/tmp/multipartBody4089325346963671614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180243720,"filename":"image_31122025_10_27_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e5a13e8d28c2ca5a8511ceafe2de47d.jpg","text":"TemporaryFile(/tmp/multipartBody2829366048513764766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180243720,"filename":"image_31122025_10_26_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb0a17e5c5215c1790c091c181f0772d.jpg","text":"TemporaryFile(/tmp/multipartBody8258027191617470566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180243720,"filename":"image_31122025_10_26_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97084c10ca17e69c04176604b69162c3.jpg","text":"TemporaryFile(/tmp/multipartBody3079113611009794373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180243720,"filename":"image_31122025_10_26_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3be28f66fc97314cc582bf958032130.jpg","text":"TemporaryFile(/tmp/multipartBody4603183779326036347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180243720,"filename":"image_31122025_10_26_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdaf52029420c0829239934c644b85a3.jpg","text":"TemporaryFile(/tmp/multipartBody7180289740482504507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180243720,"filename":"image_31122025_10_26_05_10737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881203","file1":"1401881202","file0":"1401881155","file4":"1401881208","file5":"1401881230","file3":"1401881205"},"map_files_photo_id_array":[{"photo_id":"1401881230","filename":"file5"},{"photo_id":"1401881203","filename":"file2"},{"photo_id":"1401881208","filename":"file4"},{"photo_id":"1401881202","filename":"file1"},{"photo_id":"1401881155","filename":"file0"},{"photo_id":"1401881205","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881230":["hashtag1","hashtag2"]},{"1401881203":["hashtag1","hashtag2"]},{"1401881202":["hashtag1","hashtag2"]},{"1401881205":["hashtag1","hashtag2"]},{"1401881208":["hashtag1","hashtag2"]},{"1401881155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881230, 1401881203, 1401881202, 1401881205, 1401881208, 1401881155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.647865772247314 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:24:03.136105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/27/image_31122025_10_27_25_10760.jpg', '/home/pi/Desktop/images/31122025/10/27/image_31122025_10_27_35_9750.jpg', '/home/pi/Desktop/images/31122025/10/27/image_31122025_10_27_44_9589.jpg', '/home/pi/Desktop/images/31122025/10/27/image_31122025_10_27_55_10725.jpg', '/home/pi/Desktop/images/31122025/10/27/image_31122025_10_28_05_9681.jpg', '/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_15_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/27/image_31122025_10_27_25_10760.jpg
/home/pi/Desktop/images/31122025/10/27/image_31122025_10_27_35_9750.jpg
/home/pi/Desktop/images/31122025/10/27/image_31122025_10_27_44_9589.jpg
/home/pi/Desktop/images/31122025/10/27/image_31122025_10_27_55_10725.jpg
/home/pi/Desktop/images/31122025/10/27/image_31122025_10_28_05_9681.jpg
/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_15_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881436","1401881319","1401881390","1401881438","1401881354","1401881429"],"photo_ids_order":["1401881319","1401881354","1401881390","1401881429","1401881436","1401881438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4413c9aa695819dc01d19dc4c8e3a800.jpg","text":"TemporaryFile(/tmp/multipartBody8706600778275541751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180303858,"filename":"image_31122025_10_28_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d08b117ee3f14d46659e28cbc849feb.jpg","text":"TemporaryFile(/tmp/multipartBody5196081992421487870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180303858,"filename":"image_31122025_10_27_25_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d6e6b87b7a27ff509490544b8654250.jpg","text":"TemporaryFile(/tmp/multipartBody7579423171881741957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180303858,"filename":"image_31122025_10_27_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d82975ae2f225bc2c4e944d91f4e309b.jpg","text":"TemporaryFile(/tmp/multipartBody7766833828589443461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180303858,"filename":"image_31122025_10_28_15_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ded2e897cd62b9845267b07e990fbe79.jpg","text":"TemporaryFile(/tmp/multipartBody3600245355495759484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180303858,"filename":"image_31122025_10_27_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6e5bb7e6049640c1b2cabcd2922c91a.jpg","text":"TemporaryFile(/tmp/multipartBody7739866653339300958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180303858,"filename":"image_31122025_10_27_55_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881390","file1":"1401881354","file0":"1401881319","file4":"1401881436","file5":"1401881438","file3":"1401881429"},"map_files_photo_id_array":[{"photo_id":"1401881438","filename":"file5"},{"photo_id":"1401881390","filename":"file2"},{"photo_id":"1401881436","filename":"file4"},{"photo_id":"1401881354","filename":"file1"},{"photo_id":"1401881319","filename":"file0"},{"photo_id":"1401881429","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881436":["hashtag1","hashtag2"]},{"1401881319":["hashtag1","hashtag2"]},{"1401881390":["hashtag1","hashtag2"]},{"1401881438":["hashtag1","hashtag2"]},{"1401881354":["hashtag1","hashtag2"]},{"1401881429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881436, 1401881319, 1401881390, 1401881438, 1401881354, 1401881429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74560236930847 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:25:03.407144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_25_10663.jpg', '/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_35_9661.jpg', '/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_45_9911.jpg', '/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_54_9639.jpg', '/home/pi/Desktop/images/31122025/10/28/image_31122025_10_29_05_10577.jpg', '/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_15_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_25_10663.jpg
/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_35_9661.jpg
/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_45_9911.jpg
/home/pi/Desktop/images/31122025/10/28/image_31122025_10_28_54_9639.jpg
/home/pi/Desktop/images/31122025/10/28/image_31122025_10_29_05_10577.jpg
/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_15_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881466","1401881469","1401881460","1401881462","1401881464","1401881467"],"photo_ids_order":["1401881460","1401881462","1401881464","1401881466","1401881467","1401881469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cb72503468d1662d9c3a84dff6b679f.jpg","text":"TemporaryFile(/tmp/multipartBody370491507818439592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180364048,"filename":"image_31122025_10_28_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41f4d8f4dcd63fdda6478a16a6c56d5a.jpg","text":"TemporaryFile(/tmp/multipartBody323837537826555932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180364048,"filename":"image_31122025_10_29_15_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a14a0d533751092a86d7d9d2758a24be.jpg","text":"TemporaryFile(/tmp/multipartBody8217372622381931363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180364048,"filename":"image_31122025_10_28_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d957aad7510c3738b53903c56c804c9a.jpg","text":"TemporaryFile(/tmp/multipartBody5196882685182752906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180364048,"filename":"image_31122025_10_28_35_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05202009d02fd5b5655f2dcb0fe158fa.jpg","text":"TemporaryFile(/tmp/multipartBody7855513155928300611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180364048,"filename":"image_31122025_10_28_45_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9092d690f5c1da8d1ec9c135759df132.jpg","text":"TemporaryFile(/tmp/multipartBody4569267726807512792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180364048,"filename":"image_31122025_10_29_05_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881464","file1":"1401881462","file0":"1401881460","file4":"1401881467","file5":"1401881469","file3":"1401881466"},"map_files_photo_id_array":[{"photo_id":"1401881469","filename":"file5"},{"photo_id":"1401881464","filename":"file2"},{"photo_id":"1401881467","filename":"file4"},{"photo_id":"1401881462","filename":"file1"},{"photo_id":"1401881460","filename":"file0"},{"photo_id":"1401881466","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881466":["hashtag1","hashtag2"]},{"1401881469":["hashtag1","hashtag2"]},{"1401881460":["hashtag1","hashtag2"]},{"1401881462":["hashtag1","hashtag2"]},{"1401881464":["hashtag1","hashtag2"]},{"1401881467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881466, 1401881469, 1401881460, 1401881462, 1401881464, 1401881467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54916310310364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:25:42.723169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_38_3566.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_40_2593.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_43_2795.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_47_3624.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_49_2607.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_53_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_38_3566.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_40_2593.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_43_2795.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_47_3624.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_49_2607.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_53_3616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881475","1401881478","1401881480","1401881477","1401881482","1401881479"],"photo_ids_order":["1401881475","1401881477","1401881478","1401881479","1401881480","1401881482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93e279163d09b5e275215c8a5e8a8850.jpg","text":"TemporaryFile(/tmp/multipartBody7853436582994353123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180404525,"filename":"image_03112025_18_07_38_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4b484e6b2f0d8e2fe07da2649e64cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3027907511006650501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180404525,"filename":"image_03112025_18_07_43_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5010ce7764de9c7848e372f91f50b12.jpg","text":"TemporaryFile(/tmp/multipartBody9089997086673699965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180404525,"filename":"image_03112025_18_07_49_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb82944f0fddaf99624d474f38049560.jpg","text":"TemporaryFile(/tmp/multipartBody3201059989986444504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180404525,"filename":"image_03112025_18_07_40_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ac0a9d5eae9e37b4b5929a6d10fb127.jpg","text":"TemporaryFile(/tmp/multipartBody6642094092788392039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180404525,"filename":"image_03112025_18_07_53_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b861780db7abc1fce5e5a917d3b3427f.jpg","text":"TemporaryFile(/tmp/multipartBody1432924489310112269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180404525,"filename":"image_03112025_18_07_47_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881478","file1":"1401881477","file0":"1401881475","file4":"1401881480","file5":"1401881482","file3":"1401881479"},"map_files_photo_id_array":[{"photo_id":"1401881482","filename":"file5"},{"photo_id":"1401881478","filename":"file2"},{"photo_id":"1401881480","filename":"file4"},{"photo_id":"1401881477","filename":"file1"},{"photo_id":"1401881475","filename":"file0"},{"photo_id":"1401881479","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401881475":["hashtag1","hashtag2"]},{"1401881478":["hashtag1","hashtag2"]},{"1401881480":["hashtag1","hashtag2"]},{"1401881477":["hashtag1","hashtag2"]},{"1401881482":["hashtag1","hashtag2"]},{"1401881479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401881475, 1401881478, 1401881480, 1401881477, 1401881482, 1401881479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12937355041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:26:22.033175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_35_10554.jpg', '/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_45_9795.jpg', '/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_55_9790.jpg', '/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_14_10062.jpg', '/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_25_10739.jpg', '/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_35_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_35_10554.jpg
/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_45_9795.jpg
/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_55_9790.jpg
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_14_10062.jpg
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_25_10739.jpg
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_35_9724.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.52724289894104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:26:32.027221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_56_2560.jpg', '/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_58_2622.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_05_6452.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_06_1610.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_08_1564.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_11_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_56_2560.jpg
/home/pi/Desktop/images/03112025/18/07/image_03112025_18_07_58_2622.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_05_6452.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_06_1610.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_08_1564.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_11_2750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881515","1401881493","1401881499","1401881514","1401881510","1401881513"],"photo_ids_order":["1401881493","1401881499","1401881510","1401881513","1401881514","1401881515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ca6ad230ab0ce26c0cf718f3369efd5.jpg","text":"TemporaryFile(/tmp/multipartBody7846925419716662582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180453942,"filename":"image_03112025_18_08_11_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4c17b96a16ea24cb2e16c427b486b05.jpg","text":"TemporaryFile(/tmp/multipartBody2575359949743042892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180453942,"filename":"image_03112025_18_07_56_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c54fb15ed19910fbcbaac2257c9f94bd.jpg","text":"TemporaryFile(/tmp/multipartBody7884200437404431725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180453942,"filename":"image_03112025_18_07_58_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00e6a9056c23294ac7754049ff7b2633.jpg","text":"TemporaryFile(/tmp/multipartBody161739333051026621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180453942,"filename":"image_03112025_18_08_08_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f3d9dde1f85b749c557dbb91d0c591b.jpg","text":"TemporaryFile(/tmp/multipartBody4238448447978213539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180453942,"filename":"image_03112025_18_08_05_6452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c77230e568fb20af370abe4bfb61bcc9.jpg","text":"TemporaryFile(/tmp/multipartBody8051617550705855030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180453942,"filename":"image_03112025_18_08_06_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881510","file1":"1401881499","file0":"1401881493","file4":"1401881514","file5":"1401881515","file3":"1401881513"},"map_files_photo_id_array":[{"photo_id":"1401881515","filename":"file5"},{"photo_id":"1401881510","filename":"file2"},{"photo_id":"1401881514","filename":"file4"},{"photo_id":"1401881499","filename":"file1"},{"photo_id":"1401881493","filename":"file0"},{"photo_id":"1401881513","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401881515":["hashtag1","hashtag2"]},{"1401881493":["hashtag1","hashtag2"]},{"1401881499":["hashtag1","hashtag2"]},{"1401881514":["hashtag1","hashtag2"]},{"1401881510":["hashtag1","hashtag2"]},{"1401881513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401881515, 1401881493, 1401881499, 1401881514, 1401881510, 1401881513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33220911026001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:27:12.356496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_13_2578.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_17_3601.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_19_2570.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_23_3580.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_26_2597.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_29_3208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_13_2578.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_17_3601.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_19_2570.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_23_3580.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_26_2597.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_29_3208.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881524","1401881518","1401881526","1401881520","1401881517","1401881522"],"photo_ids_order":["1401881517","1401881518","1401881520","1401881522","1401881524","1401881526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce20eb941fcd7f0702b7dff28adb5eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6366428188519390711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180494123,"filename":"image_03112025_18_08_26_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7128c4e7f52d8ef9d3109a47405e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody4150687422259508825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180494123,"filename":"image_03112025_18_08_17_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b88ac8d55bd30e1d81086a99f01a11b8.jpg","text":"TemporaryFile(/tmp/multipartBody916502355100172898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180494123,"filename":"image_03112025_18_08_29_3208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26450afc79c32bb15b493e900b7b7833.jpg","text":"TemporaryFile(/tmp/multipartBody2210870219152140412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180494123,"filename":"image_03112025_18_08_19_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2e77c97ce058b20e44a277d305aeb02.jpg","text":"TemporaryFile(/tmp/multipartBody1484935981143800056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180494123,"filename":"image_03112025_18_08_13_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/720b9d1b3eec81d40f85b265ffa7cd18.jpg","text":"TemporaryFile(/tmp/multipartBody161968476840431757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180494123,"filename":"image_03112025_18_08_23_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881520","file1":"1401881518","file0":"1401881517","file4":"1401881524","file5":"1401881526","file3":"1401881522"},"map_files_photo_id_array":[{"photo_id":"1401881526","filename":"file5"},{"photo_id":"1401881520","filename":"file2"},{"photo_id":"1401881524","filename":"file4"},{"photo_id":"1401881518","filename":"file1"},{"photo_id":"1401881517","filename":"file0"},{"photo_id":"1401881522","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401881524":["hashtag1","hashtag2"]},{"1401881518":["hashtag1","hashtag2"]},{"1401881526":["hashtag1","hashtag2"]},{"1401881520":["hashtag1","hashtag2"]},{"1401881517":["hashtag1","hashtag2"]},{"1401881522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401881524, 1401881518, 1401881526, 1401881520, 1401881517, 1401881522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74562430381775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:28:02.918937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_35_10554.jpg', '/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_45_9795.jpg', '/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_55_9790.jpg', '/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_14_10062.jpg', '/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_25_10739.jpg', '/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_35_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_35_10554.jpg
/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_45_9795.jpg
/home/pi/Desktop/images/31122025/10/29/image_31122025_10_29_55_9790.jpg
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_14_10062.jpg
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_25_10739.jpg
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_35_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881536","1401881530","1401881532","1401881540","1401881537","1401881534"],"photo_ids_order":["1401881530","1401881532","1401881534","1401881536","1401881537","1401881540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b889e46aee179c1c598a55fdda08a5e.jpg","text":"TemporaryFile(/tmp/multipartBody8406766235487896374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180543656,"filename":"image_31122025_10_31_14_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02a4114337146a61dcdeee8363710133.jpg","text":"TemporaryFile(/tmp/multipartBody1798002333949090484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180543656,"filename":"image_31122025_10_29_35_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7ea9128278a720df95357b3ab50658b.jpg","text":"TemporaryFile(/tmp/multipartBody2969501290623899464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180543656,"filename":"image_31122025_10_29_45_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f027cbfe98ecfc885494e9252f9f5c59.jpg","text":"TemporaryFile(/tmp/multipartBody8068741460094572947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180543656,"filename":"image_31122025_10_31_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02aa7171a0f89006da61afa607d07693.jpg","text":"TemporaryFile(/tmp/multipartBody7342821563365559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180543656,"filename":"image_31122025_10_31_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58c95cc29ea88502cecc7e5f716fb76d.jpg","text":"TemporaryFile(/tmp/multipartBody8866027901794310544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180543656,"filename":"image_31122025_10_29_55_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881534","file1":"1401881532","file0":"1401881530","file4":"1401881537","file5":"1401881540","file3":"1401881536"},"map_files_photo_id_array":[{"photo_id":"1401881540","filename":"file5"},{"photo_id":"1401881534","filename":"file2"},{"photo_id":"1401881537","filename":"file4"},{"photo_id":"1401881532","filename":"file1"},{"photo_id":"1401881530","filename":"file0"},{"photo_id":"1401881536","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881536":["hashtag1","hashtag2"]},{"1401881530":["hashtag1","hashtag2"]},{"1401881532":["hashtag1","hashtag2"]},{"1401881540":["hashtag1","hashtag2"]},{"1401881537":["hashtag1","hashtag2"]},{"1401881534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881536, 1401881530, 1401881532, 1401881540, 1401881537, 1401881534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.287341356277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:28:42.427728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_32_2745.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_34_2596.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_38_3734.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_41_2714.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_43_2657.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_47_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_32_2745.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_34_2596.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_38_3734.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_41_2714.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_43_2657.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_47_3614.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8181846141815186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:29:03.814982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_44_9726.jpg', '/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_55_10723.jpg', '/home/pi/Desktop/images/31122025/10/31/image_31122025_10_32_05_9747.jpg', '/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_24_9746.jpg', '/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_35_10541.jpg', '/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_45_9894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_44_9726.jpg
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_31_55_10723.jpg
/home/pi/Desktop/images/31122025/10/31/image_31122025_10_32_05_9747.jpg
/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_24_9746.jpg
/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_35_10541.jpg
/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_45_9894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881580","1401881574","1401881577","1401881571","1401881559","1401881573"],"photo_ids_order":["1401881559","1401881571","1401881573","1401881574","1401881577","1401881580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/567aa30d7e8b55a9aa568ab7b9fc708b.jpg","text":"TemporaryFile(/tmp/multipartBody6038275361991204893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180604579,"filename":"image_31122025_10_32_45_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ee416218ab18eaa0d538a78c6ae1e03.jpg","text":"TemporaryFile(/tmp/multipartBody4702412588318101037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180604579,"filename":"image_31122025_10_32_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/087a275551099729589064bef62965b4.jpg","text":"TemporaryFile(/tmp/multipartBody8493489335590409688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180604579,"filename":"image_31122025_10_32_35_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfa906375e8fb6b5a15ba105db2c0efa.jpg","text":"TemporaryFile(/tmp/multipartBody6854485882764961735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180604579,"filename":"image_31122025_10_31_55_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/523133e9b5dc90d595adf2801ece248a.jpg","text":"TemporaryFile(/tmp/multipartBody6175768414261837796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180604579,"filename":"image_31122025_10_31_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/605a706f6d700cb0614dfd60900a95aa.jpg","text":"TemporaryFile(/tmp/multipartBody7481221951499628111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180604579,"filename":"image_31122025_10_32_05_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881573","file1":"1401881571","file0":"1401881559","file4":"1401881577","file5":"1401881580","file3":"1401881574"},"map_files_photo_id_array":[{"photo_id":"1401881580","filename":"file5"},{"photo_id":"1401881573","filename":"file2"},{"photo_id":"1401881577","filename":"file4"},{"photo_id":"1401881571","filename":"file1"},{"photo_id":"1401881559","filename":"file0"},{"photo_id":"1401881574","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881580":["hashtag1","hashtag2"]},{"1401881574":["hashtag1","hashtag2"]},{"1401881577":["hashtag1","hashtag2"]},{"1401881571":["hashtag1","hashtag2"]},{"1401881559":["hashtag1","hashtag2"]},{"1401881573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881580, 1401881574, 1401881577, 1401881571, 1401881559, 1401881573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.122966289520264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:30:02.272242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_54_9670.jpg', '/home/pi/Desktop/images/31122025/10/32/image_31122025_10_33_05_10582.jpg', '/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_15_9694.jpg', '/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_24_9673.jpg', '/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_34_9886.jpg', '/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_45_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_54_9670.jpg
/home/pi/Desktop/images/31122025/10/32/image_31122025_10_33_05_10582.jpg
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_15_9694.jpg
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_24_9673.jpg
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_34_9886.jpg
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_45_10573.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5239887237548828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:30:11.750964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_32_2745.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_34_2596.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_38_3734.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_41_2714.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_43_2657.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_47_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_32_2745.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_34_2596.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_38_3734.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_41_2714.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_43_2657.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_47_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881608","1401881602","1401881597","1401881601","1401881606","1401881593"],"photo_ids_order":["1401881593","1401881597","1401881601","1401881602","1401881606","1401881608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d01b82009283b3bfca862be3bb280034.jpg","text":"TemporaryFile(/tmp/multipartBody5344326498342452333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180673500,"filename":"image_03112025_18_08_47_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1be1770cf663c7cd8c901628247e5ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2516465886227445976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180673500,"filename":"image_03112025_18_08_41_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d46d387b7195bb251c97bca7ee3c557.jpg","text":"TemporaryFile(/tmp/multipartBody2789236853573186088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180673500,"filename":"image_03112025_18_08_34_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aab8641cbb8514d2772503b7263ed51.jpg","text":"TemporaryFile(/tmp/multipartBody4404995140686826638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180673500,"filename":"image_03112025_18_08_38_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54a9b85b54bd0fe6535abb0d59657788.jpg","text":"TemporaryFile(/tmp/multipartBody6020240039128654470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180673500,"filename":"image_03112025_18_08_43_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c5813b4fbbebe105927e1b9b04843be.jpg","text":"TemporaryFile(/tmp/multipartBody71998044959995810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180673500,"filename":"image_03112025_18_08_32_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881601","file1":"1401881597","file0":"1401881593","file4":"1401881606","file5":"1401881608","file3":"1401881602"},"map_files_photo_id_array":[{"photo_id":"1401881608","filename":"file5"},{"photo_id":"1401881601","filename":"file2"},{"photo_id":"1401881606","filename":"file4"},{"photo_id":"1401881597","filename":"file1"},{"photo_id":"1401881593","filename":"file0"},{"photo_id":"1401881602","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401881608":["hashtag1","hashtag2"]},{"1401881602":["hashtag1","hashtag2"]},{"1401881597":["hashtag1","hashtag2"]},{"1401881601":["hashtag1","hashtag2"]},{"1401881606":["hashtag1","hashtag2"]},{"1401881593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401881608, 1401881602, 1401881597, 1401881601, 1401881606, 1401881593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84364628791809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:31:02.675697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_54_9670.jpg', '/home/pi/Desktop/images/31122025/10/32/image_31122025_10_33_05_10582.jpg', '/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_15_9694.jpg', '/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_24_9673.jpg', '/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_34_9886.jpg', '/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_45_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/32/image_31122025_10_32_54_9670.jpg
/home/pi/Desktop/images/31122025/10/32/image_31122025_10_33_05_10582.jpg
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_15_9694.jpg
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_24_9673.jpg
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_34_9886.jpg
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_33_45_10573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881620","1401881614","1401881622","1401881616","1401881624","1401881618"],"photo_ids_order":["1401881614","1401881616","1401881618","1401881620","1401881622","1401881624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3aa5b51efeaff869195e076d5c36938b.jpg","text":"TemporaryFile(/tmp/multipartBody956904161336942944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180723415,"filename":"image_31122025_10_33_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e2e70d3ecfe84dcfbdd9b1cfb3fab1e.jpg","text":"TemporaryFile(/tmp/multipartBody5881479651280598166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180723415,"filename":"image_31122025_10_32_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/933285d2c5acc4655e4b6fb91dfbfb89.jpg","text":"TemporaryFile(/tmp/multipartBody110572426768690464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180723415,"filename":"image_31122025_10_33_34_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/322dbf40ad2083ea8d2c72d471b9e78a.jpg","text":"TemporaryFile(/tmp/multipartBody191979036030434769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180723415,"filename":"image_31122025_10_33_05_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70da01f835f594b8c0f339b16597abd6.jpg","text":"TemporaryFile(/tmp/multipartBody3325647240129894748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180723415,"filename":"image_31122025_10_33_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a49ab90e8a31d83294a05aa478155e8.jpg","text":"TemporaryFile(/tmp/multipartBody2893568177161255138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180723415,"filename":"image_31122025_10_33_15_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881618","file1":"1401881616","file0":"1401881614","file4":"1401881622","file5":"1401881624","file3":"1401881620"},"map_files_photo_id_array":[{"photo_id":"1401881624","filename":"file5"},{"photo_id":"1401881618","filename":"file2"},{"photo_id":"1401881622","filename":"file4"},{"photo_id":"1401881616","filename":"file1"},{"photo_id":"1401881614","filename":"file0"},{"photo_id":"1401881620","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881620":["hashtag1","hashtag2"]},{"1401881614":["hashtag1","hashtag2"]},{"1401881622":["hashtag1","hashtag2"]},{"1401881616":["hashtag1","hashtag2"]},{"1401881624":["hashtag1","hashtag2"]},{"1401881618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881620, 1401881614, 1401881622, 1401881616, 1401881624, 1401881618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80851173400879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:31:42.066654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_49_2652.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_52_2550.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_56_3653.jpg', '/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_58_2655.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_03_4734.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_05_1724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_49_2652.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_52_2550.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_56_3653.jpg
/home/pi/Desktop/images/03112025/18/08/image_03112025_18_08_58_2655.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_03_4734.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_05_1724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881653","1401881632","1401881652","1401881631","1401881640","1401881630"],"photo_ids_order":["1401881630","1401881631","1401881632","1401881640","1401881652","1401881653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/998a5f36ab81fb1f5d1232253caf4cbb.jpg","text":"TemporaryFile(/tmp/multipartBody1622882410347496801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180763969,"filename":"image_03112025_18_09_05_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e86dd98ad2c5d0430c756092bbc43d90.jpg","text":"TemporaryFile(/tmp/multipartBody3159461869968897987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180763969,"filename":"image_03112025_18_08_56_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17c49fee400f0f3b9ab06e3697508e17.jpg","text":"TemporaryFile(/tmp/multipartBody6738188423977718404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180763969,"filename":"image_03112025_18_09_03_4734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b54cc124519ddefdce07eb1de668f805.jpg","text":"TemporaryFile(/tmp/multipartBody4353259251494765193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180763969,"filename":"image_03112025_18_08_52_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5856646a60ffd9238b7088a720fed76c.jpg","text":"TemporaryFile(/tmp/multipartBody4680566051301584070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180763969,"filename":"image_03112025_18_08_58_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d89777e14530822565418f92631b831.jpg","text":"TemporaryFile(/tmp/multipartBody4396899251064906959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180763969,"filename":"image_03112025_18_08_49_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881632","file1":"1401881631","file0":"1401881630","file4":"1401881652","file5":"1401881653","file3":"1401881640"},"map_files_photo_id_array":[{"photo_id":"1401881653","filename":"file5"},{"photo_id":"1401881632","filename":"file2"},{"photo_id":"1401881652","filename":"file4"},{"photo_id":"1401881631","filename":"file1"},{"photo_id":"1401881630","filename":"file0"},{"photo_id":"1401881640","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401881653":["hashtag1","hashtag2"]},{"1401881632":["hashtag1","hashtag2"]},{"1401881652":["hashtag1","hashtag2"]},{"1401881631":["hashtag1","hashtag2"]},{"1401881640":["hashtag1","hashtag2"]},{"1401881630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401881653, 1401881632, 1401881652, 1401881631, 1401881640, 1401881630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.078842878341675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:32:22.267815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/33/image_31122025_10_34_05_10628.jpg', '/home/pi/Desktop/images/31122025/10/34/image_31122025_10_34_15_10033.jpg', '/home/pi/Desktop/images/31122025/10/34/image_31122025_10_34_25_9714.jpg', '/home/pi/Desktop/images/31122025/10/34/image_31122025_10_34_34_9755.jpg', '/home/pi/Desktop/images/31122025/10/34/image_31122025_10_34_55_10769.jpg', '/home/pi/Desktop/images/31122025/10/35/image_31122025_10_35_14_10062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/33/image_31122025_10_34_05_10628.jpg
/home/pi/Desktop/images/31122025/10/34/image_31122025_10_34_15_10033.jpg
/home/pi/Desktop/images/31122025/10/34/image_31122025_10_34_25_9714.jpg
/home/pi/Desktop/images/31122025/10/34/image_31122025_10_34_34_9755.jpg
/home/pi/Desktop/images/31122025/10/34/image_31122025_10_34_55_10769.jpg
/home/pi/Desktop/images/31122025/10/35/image_31122025_10_35_14_10062.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881701","1401881670","1401881658","1401881712","1401881660","1401881677"],"photo_ids_order":["1401881658","1401881660","1401881670","1401881677","1401881701","1401881712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50a3022bc5858280694378af6e4e5d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5485101870527090874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180802929,"filename":"image_31122025_10_34_55_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9aec1c4f00f7539ba9212832b6467766.jpg","text":"TemporaryFile(/tmp/multipartBody92002158119073357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180802929,"filename":"image_31122025_10_34_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/299cef1f04e9a589fc837eacec11d4e1.jpg","text":"TemporaryFile(/tmp/multipartBody4941593087032343254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180802929,"filename":"image_31122025_10_34_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e9fca079733ab4073185398e819f035.jpg","text":"TemporaryFile(/tmp/multipartBody7175983857179237957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180802929,"filename":"image_31122025_10_35_14_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4469ae5def4011102059782987818c4b.jpg","text":"TemporaryFile(/tmp/multipartBody800926522198000964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180802929,"filename":"image_31122025_10_34_15_10033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92c40675f19f0513e36e3c92249979c3.jpg","text":"TemporaryFile(/tmp/multipartBody7972354377147772078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180802929,"filename":"image_31122025_10_34_34_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881670","file1":"1401881660","file0":"1401881658","file4":"1401881701","file5":"1401881712","file3":"1401881677"},"map_files_photo_id_array":[{"photo_id":"1401881712","filename":"file5"},{"photo_id":"1401881670","filename":"file2"},{"photo_id":"1401881701","filename":"file4"},{"photo_id":"1401881660","filename":"file1"},{"photo_id":"1401881658","filename":"file0"},{"photo_id":"1401881677","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881701":["hashtag1","hashtag2"]},{"1401881670":["hashtag1","hashtag2"]},{"1401881658":["hashtag1","hashtag2"]},{"1401881712":["hashtag1","hashtag2"]},{"1401881660":["hashtag1","hashtag2"]},{"1401881677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881701, 1401881670, 1401881658, 1401881712, 1401881660, 1401881677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08751153945923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:33:03.038984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/35/image_31122025_10_35_25_10940.jpg', '/home/pi/Desktop/images/31122025/10/35/image_31122025_10_35_35_9671.jpg', '/home/pi/Desktop/images/31122025/10/35/image_31122025_10_35_54_9653.jpg', '/home/pi/Desktop/images/31122025/10/35/image_31122025_10_36_05_10558.jpg', '/home/pi/Desktop/images/31122025/10/36/image_31122025_10_36_14_9748.jpg', '/home/pi/Desktop/images/31122025/10/36/image_31122025_10_36_35_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/35/image_31122025_10_35_25_10940.jpg
/home/pi/Desktop/images/31122025/10/35/image_31122025_10_35_35_9671.jpg
/home/pi/Desktop/images/31122025/10/35/image_31122025_10_35_54_9653.jpg
/home/pi/Desktop/images/31122025/10/35/image_31122025_10_36_05_10558.jpg
/home/pi/Desktop/images/31122025/10/36/image_31122025_10_36_14_9748.jpg
/home/pi/Desktop/images/31122025/10/36/image_31122025_10_36_35_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881773","1401881728","1401881730","1401881732","1401881819","1401881726"],"photo_ids_order":["1401881726","1401881728","1401881730","1401881732","1401881773","1401881819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8df6fed039c6d5553118a8a3b9ee114.jpg","text":"TemporaryFile(/tmp/multipartBody7805676718097538863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180843766,"filename":"image_31122025_10_36_14_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e9966a93ad363b8990b68855775f437.jpg","text":"TemporaryFile(/tmp/multipartBody8951927731539758512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180843766,"filename":"image_31122025_10_35_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67f4b60222250cfee8c291d650af0b37.jpg","text":"TemporaryFile(/tmp/multipartBody2597957947047329513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180843766,"filename":"image_31122025_10_35_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e6bc961653e7aca1d92e3f0bd6f8cd0.jpg","text":"TemporaryFile(/tmp/multipartBody2288108760230292212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180843766,"filename":"image_31122025_10_36_05_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6e6e09e567a2e1a42fde7e1f4af1a5f.jpg","text":"TemporaryFile(/tmp/multipartBody6558643690748562929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180843766,"filename":"image_31122025_10_36_35_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/209ede3cce07024315447aeaf30d359d.jpg","text":"TemporaryFile(/tmp/multipartBody8735354223638697268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180843766,"filename":"image_31122025_10_35_25_10940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881730","file1":"1401881728","file0":"1401881726","file4":"1401881773","file5":"1401881819","file3":"1401881732"},"map_files_photo_id_array":[{"photo_id":"1401881819","filename":"file5"},{"photo_id":"1401881730","filename":"file2"},{"photo_id":"1401881773","filename":"file4"},{"photo_id":"1401881728","filename":"file1"},{"photo_id":"1401881726","filename":"file0"},{"photo_id":"1401881732","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401881773":["hashtag1","hashtag2"]},{"1401881728":["hashtag1","hashtag2"]},{"1401881730":["hashtag1","hashtag2"]},{"1401881732":["hashtag1","hashtag2"]},{"1401881819":["hashtag1","hashtag2"]},{"1401881726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401881773, 1401881728, 1401881730, 1401881732, 1401881819, 1401881726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54066562652588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:33:42.382327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_07_2538.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_11_3870.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_13_1817.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_17_3666.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_19_2760.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_22_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_07_2538.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_11_3870.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_13_1817.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_17_3666.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_19_2760.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_22_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401881920","1401881874","1401881922","1401881919","1401881897","1401881899"],"photo_ids_order":["1401881874","1401881897","1401881899","1401881919","1401881920","1401881922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b454ca41c2987dfd99bc1e6302e0ebc.jpg","text":"TemporaryFile(/tmp/multipartBody618521525865600301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180884480,"filename":"image_03112025_18_09_19_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bba146500705f8f15ee3a80cda3b6553.jpg","text":"TemporaryFile(/tmp/multipartBody2891602448996979876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180884480,"filename":"image_03112025_18_09_07_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06300e7dee9c08bf148df267f55f0547.jpg","text":"TemporaryFile(/tmp/multipartBody2048058609308813955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180884480,"filename":"image_03112025_18_09_22_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7abe83d01ef8ef3429351863ecad1a00.jpg","text":"TemporaryFile(/tmp/multipartBody6784680611000269951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180884480,"filename":"image_03112025_18_09_17_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e07bc268b156d51f6f29be25e287296b.jpg","text":"TemporaryFile(/tmp/multipartBody2085812219520721114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180884480,"filename":"image_03112025_18_09_11_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a7fdf283a0c79417b05239f7698385e.jpg","text":"TemporaryFile(/tmp/multipartBody3205874870970077447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180884480,"filename":"image_03112025_18_09_13_1817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401881899","file1":"1401881897","file0":"1401881874","file4":"1401881920","file5":"1401881922","file3":"1401881919"},"map_files_photo_id_array":[{"photo_id":"1401881922","filename":"file5"},{"photo_id":"1401881899","filename":"file2"},{"photo_id":"1401881920","filename":"file4"},{"photo_id":"1401881897","filename":"file1"},{"photo_id":"1401881874","filename":"file0"},{"photo_id":"1401881919","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401881920":["hashtag1","hashtag2"]},{"1401881874":["hashtag1","hashtag2"]},{"1401881922":["hashtag1","hashtag2"]},{"1401881919":["hashtag1","hashtag2"]},{"1401881897":["hashtag1","hashtag2"]},{"1401881899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401881920, 1401881874, 1401881922, 1401881919, 1401881897, 1401881899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11613392829895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:34:22.459724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/36/image_31122025_10_36_44_9642.jpg', '/home/pi/Desktop/images/31122025/10/36/image_31122025_10_36_54_9705.jpg', '/home/pi/Desktop/images/31122025/10/36/image_31122025_10_37_05_10603.jpg', '/home/pi/Desktop/images/31122025/10/37/image_31122025_10_37_14_9597.jpg', '/home/pi/Desktop/images/31122025/10/37/image_31122025_10_37_35_9734.jpg', '/home/pi/Desktop/images/31122025/10/37/image_31122025_10_37_44_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/36/image_31122025_10_36_44_9642.jpg
/home/pi/Desktop/images/31122025/10/36/image_31122025_10_36_54_9705.jpg
/home/pi/Desktop/images/31122025/10/36/image_31122025_10_37_05_10603.jpg
/home/pi/Desktop/images/31122025/10/37/image_31122025_10_37_14_9597.jpg
/home/pi/Desktop/images/31122025/10/37/image_31122025_10_37_35_9734.jpg
/home/pi/Desktop/images/31122025/10/37/image_31122025_10_37_44_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882016","1401881947","1401881985","1401882012","1401882035","1401882014"],"photo_ids_order":["1401881947","1401881985","1401882012","1401882014","1401882016","1401882035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ac1ea9a1f8538a2a0c0403a4fbf41af.jpg","text":"TemporaryFile(/tmp/multipartBody3227152835031949246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180923067,"filename":"image_31122025_10_37_35_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2442e181eab0adfabc9b62a1d22bda4a.jpg","text":"TemporaryFile(/tmp/multipartBody3299144242334769036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180923067,"filename":"image_31122025_10_36_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17070ecd05114b3ae0355f18dfe67f39.jpg","text":"TemporaryFile(/tmp/multipartBody1023377609931854673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180923067,"filename":"image_31122025_10_36_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c086a332b0cedfac11ecb7fe5ff5c25.jpg","text":"TemporaryFile(/tmp/multipartBody5184130549199090806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180923067,"filename":"image_31122025_10_37_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72e7c51adf5bfa4898431b34166ef9d5.jpg","text":"TemporaryFile(/tmp/multipartBody7224182152971989600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180923067,"filename":"image_31122025_10_37_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c45e10f3940b104fd757dd274684bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5340496678952750299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180923067,"filename":"image_31122025_10_37_14_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882012","file1":"1401881985","file0":"1401881947","file4":"1401882016","file5":"1401882035","file3":"1401882014"},"map_files_photo_id_array":[{"photo_id":"1401882035","filename":"file5"},{"photo_id":"1401882012","filename":"file2"},{"photo_id":"1401882016","filename":"file4"},{"photo_id":"1401881985","filename":"file1"},{"photo_id":"1401881947","filename":"file0"},{"photo_id":"1401882014","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882016":["hashtag1","hashtag2"]},{"1401881947":["hashtag1","hashtag2"]},{"1401881985":["hashtag1","hashtag2"]},{"1401882012":["hashtag1","hashtag2"]},{"1401882035":["hashtag1","hashtag2"]},{"1401882014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882016, 1401881947, 1401881985, 1401882012, 1401882035, 1401882014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04381084442139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:35:03.405157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/37/image_31122025_10_37_54_9687.jpg', '/home/pi/Desktop/images/31122025/10/37/image_31122025_10_38_05_10651.jpg', '/home/pi/Desktop/images/31122025/10/38/image_31122025_10_38_14_9716.jpg', '/home/pi/Desktop/images/31122025/10/38/image_31122025_10_38_24_9634.jpg', '/home/pi/Desktop/images/31122025/10/38/image_31122025_10_38_45_9787.jpg', '/home/pi/Desktop/images/31122025/10/38/image_31122025_10_38_54_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/37/image_31122025_10_37_54_9687.jpg
/home/pi/Desktop/images/31122025/10/37/image_31122025_10_38_05_10651.jpg
/home/pi/Desktop/images/31122025/10/38/image_31122025_10_38_14_9716.jpg
/home/pi/Desktop/images/31122025/10/38/image_31122025_10_38_24_9634.jpg
/home/pi/Desktop/images/31122025/10/38/image_31122025_10_38_45_9787.jpg
/home/pi/Desktop/images/31122025/10/38/image_31122025_10_38_54_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882045","1401882036","1401882071","1401882038","1401882040","1401882043"],"photo_ids_order":["1401882036","1401882038","1401882040","1401882043","1401882045","1401882071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76183194d6149e9863fab16861d8ba44.jpg","text":"TemporaryFile(/tmp/multipartBody6580642678217456698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180964202,"filename":"image_31122025_10_38_45_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0588b9ef065a66a0bd5aa1a64b08707.jpg","text":"TemporaryFile(/tmp/multipartBody1833703026696575491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180964202,"filename":"image_31122025_10_37_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/981c2c99357fca83d077334e493e35d6.jpg","text":"TemporaryFile(/tmp/multipartBody3921382687788849233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180964202,"filename":"image_31122025_10_38_54_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20b976c6dece196a58abc81eda7b7e11.jpg","text":"TemporaryFile(/tmp/multipartBody8481332881995493486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180964202,"filename":"image_31122025_10_38_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/777c092a83f91bdd4020cf24732c6cb2.jpg","text":"TemporaryFile(/tmp/multipartBody6835160439568575135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180964202,"filename":"image_31122025_10_38_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70ba975923fdc846061670dcf328ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody7603518183995029294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767180964202,"filename":"image_31122025_10_38_24_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882040","file1":"1401882038","file0":"1401882036","file4":"1401882045","file5":"1401882071","file3":"1401882043"},"map_files_photo_id_array":[{"photo_id":"1401882071","filename":"file5"},{"photo_id":"1401882040","filename":"file2"},{"photo_id":"1401882045","filename":"file4"},{"photo_id":"1401882038","filename":"file1"},{"photo_id":"1401882036","filename":"file0"},{"photo_id":"1401882043","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882045":["hashtag1","hashtag2"]},{"1401882036":["hashtag1","hashtag2"]},{"1401882071":["hashtag1","hashtag2"]},{"1401882038":["hashtag1","hashtag2"]},{"1401882040":["hashtag1","hashtag2"]},{"1401882043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882045, 1401882036, 1401882071, 1401882038, 1401882040, 1401882043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.014899015426636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:35:42.673944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_26_4099.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_29_2589.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_31_2613.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_37_5302.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_38_1568.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_41_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_26_4099.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_29_2589.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_31_2613.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_37_5302.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_38_1568.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_41_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882180","1401882183","1401882182","1401882179","1401882181","1401882169"],"photo_ids_order":["1401882169","1401882179","1401882180","1401882181","1401882182","1401882183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7f2c603161d3fbb7278053e4fb2ff64.jpg","text":"TemporaryFile(/tmp/multipartBody8085618491999172463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181004504,"filename":"image_03112025_18_09_31_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e4573e2b79aefc44b046acc48d709ac.jpg","text":"TemporaryFile(/tmp/multipartBody724781109588442162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181004504,"filename":"image_03112025_18_09_41_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afdfac6d8ac7c1d36a2ccc1c1b10b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody8290471749826067801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181004504,"filename":"image_03112025_18_09_38_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cfe5c03b6231ab8fc38c3ec7830f055.jpg","text":"TemporaryFile(/tmp/multipartBody8579682112906200784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181004504,"filename":"image_03112025_18_09_29_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ce2514399e53a0d6ab54c6b36b928c7.jpg","text":"TemporaryFile(/tmp/multipartBody9051482324747616069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181004504,"filename":"image_03112025_18_09_37_5302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e27386f10e1a524565f6f5fbfba61d82.jpg","text":"TemporaryFile(/tmp/multipartBody5596672898071597539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181004504,"filename":"image_03112025_18_09_26_4099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882180","file1":"1401882179","file0":"1401882169","file4":"1401882182","file5":"1401882183","file3":"1401882181"},"map_files_photo_id_array":[{"photo_id":"1401882183","filename":"file5"},{"photo_id":"1401882180","filename":"file2"},{"photo_id":"1401882182","filename":"file4"},{"photo_id":"1401882179","filename":"file1"},{"photo_id":"1401882169","filename":"file0"},{"photo_id":"1401882181","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401882180":["hashtag1","hashtag2"]},{"1401882183":["hashtag1","hashtag2"]},{"1401882182":["hashtag1","hashtag2"]},{"1401882179":["hashtag1","hashtag2"]},{"1401882181":["hashtag1","hashtag2"]},{"1401882169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401882180, 1401882183, 1401882182, 1401882179, 1401882181, 1401882169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58503770828247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:36:21.928984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/38/image_31122025_10_39_04_9667.jpg', '/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_15_10668.jpg', '/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_24_9626.jpg', '/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_34_9770.jpg', '/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_45_10561.jpg', '/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_55_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/38/image_31122025_10_39_04_9667.jpg
/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_15_10668.jpg
/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_24_9626.jpg
/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_34_9770.jpg
/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_45_10561.jpg
/home/pi/Desktop/images/31122025/10/39/image_31122025_10_39_55_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882211","1401882197","1401882206","1401882199","1401882193","1401882214"],"photo_ids_order":["1401882193","1401882197","1401882199","1401882206","1401882211","1401882214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9495a910716ebe5188affab2744319b.jpg","text":"TemporaryFile(/tmp/multipartBody2891494456306023818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181042658,"filename":"image_31122025_10_39_45_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08a587e47b13c06ebe46c5c70623c83e.jpg","text":"TemporaryFile(/tmp/multipartBody6430859433294509084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181042658,"filename":"image_31122025_10_39_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d7676b6ebd8e22d6a43f39b371e38b1.jpg","text":"TemporaryFile(/tmp/multipartBody4060257124972745951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181042658,"filename":"image_31122025_10_39_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fbb6b35d026ed00ca07433be3757a53.jpg","text":"TemporaryFile(/tmp/multipartBody2177575650305427963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181042658,"filename":"image_31122025_10_39_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c65e84678e62da2fc144bbdc55955f6.jpg","text":"TemporaryFile(/tmp/multipartBody3871600520039153293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181042658,"filename":"image_31122025_10_39_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/567c0666c7d0c73be642dda240f02989.jpg","text":"TemporaryFile(/tmp/multipartBody6924315742927853931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181042658,"filename":"image_31122025_10_39_55_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882199","file1":"1401882197","file0":"1401882193","file4":"1401882211","file5":"1401882214","file3":"1401882206"},"map_files_photo_id_array":[{"photo_id":"1401882214","filename":"file5"},{"photo_id":"1401882199","filename":"file2"},{"photo_id":"1401882211","filename":"file4"},{"photo_id":"1401882197","filename":"file1"},{"photo_id":"1401882193","filename":"file0"},{"photo_id":"1401882206","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882211":["hashtag1","hashtag2"]},{"1401882197":["hashtag1","hashtag2"]},{"1401882206":["hashtag1","hashtag2"]},{"1401882199":["hashtag1","hashtag2"]},{"1401882193":["hashtag1","hashtag2"]},{"1401882214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882211, 1401882197, 1401882206, 1401882199, 1401882193, 1401882214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.843711376190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:37:02.868856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/40/image_31122025_10_40_14_10056.jpg', '/home/pi/Desktop/images/31122025/10/40/image_31122025_10_40_35_9671.jpg', '/home/pi/Desktop/images/31122025/10/40/image_31122025_10_40_55_9738.jpg', '/home/pi/Desktop/images/31122025/10/41/image_31122025_10_41_35_10735.jpg', '/home/pi/Desktop/images/31122025/10/41/image_31122025_10_41_45_9653.jpg', '/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_15_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/40/image_31122025_10_40_14_10056.jpg
/home/pi/Desktop/images/31122025/10/40/image_31122025_10_40_35_9671.jpg
/home/pi/Desktop/images/31122025/10/40/image_31122025_10_40_55_9738.jpg
/home/pi/Desktop/images/31122025/10/41/image_31122025_10_41_35_10735.jpg
/home/pi/Desktop/images/31122025/10/41/image_31122025_10_41_45_9653.jpg
/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_15_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882225","1401882218","1401882227","1401882221","1401882220","1401882223"],"photo_ids_order":["1401882218","1401882220","1401882221","1401882223","1401882225","1401882227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d778f0157986a800b8e6a64795856af8.jpg","text":"TemporaryFile(/tmp/multipartBody3039065255892062498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181083649,"filename":"image_31122025_10_41_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b84cd87d0aa6aaa0a523a705acfc1fc6.jpg","text":"TemporaryFile(/tmp/multipartBody3678211432274693750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181083649,"filename":"image_31122025_10_40_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44a4e7332323546f79f2f75568502343.jpg","text":"TemporaryFile(/tmp/multipartBody6433577511836854218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181083649,"filename":"image_31122025_10_42_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/182d820a6c2376d303affeff3a335059.jpg","text":"TemporaryFile(/tmp/multipartBody6061678896593026122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181083649,"filename":"image_31122025_10_40_55_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da3aa74701f1020a7e6f9dee0397ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody2305453789972069465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181083649,"filename":"image_31122025_10_40_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec37d7511f7c33e8a21a9f4fb6664a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5785142829337039422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181083649,"filename":"image_31122025_10_41_35_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882221","file1":"1401882220","file0":"1401882218","file4":"1401882225","file5":"1401882227","file3":"1401882223"},"map_files_photo_id_array":[{"photo_id":"1401882227","filename":"file5"},{"photo_id":"1401882221","filename":"file2"},{"photo_id":"1401882225","filename":"file4"},{"photo_id":"1401882220","filename":"file1"},{"photo_id":"1401882218","filename":"file0"},{"photo_id":"1401882223","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882225":["hashtag1","hashtag2"]},{"1401882218":["hashtag1","hashtag2"]},{"1401882227":["hashtag1","hashtag2"]},{"1401882221":["hashtag1","hashtag2"]},{"1401882220":["hashtag1","hashtag2"]},{"1401882223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882225, 1401882218, 1401882227, 1401882221, 1401882220, 1401882223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.736135482788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:37:42.146353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_44_2666.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_46_2769.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_49_2671.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_53_3689.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_55_2696.jpg', '/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_58_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_44_2666.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_46_2769.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_49_2671.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_53_3689.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_55_2696.jpg
/home/pi/Desktop/images/03112025/18/09/image_03112025_18_09_58_2696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882234","1401882237","1401882236","1401882232","1401882235","1401882238"],"photo_ids_order":["1401882232","1401882234","1401882235","1401882236","1401882237","1401882238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4197ab4456744ef6141e4f667af94b65.jpg","text":"TemporaryFile(/tmp/multipartBody5095383146251025520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181124084,"filename":"image_03112025_18_09_46_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c8f799d1ae1b5de33430cd52d1f978e.jpg","text":"TemporaryFile(/tmp/multipartBody2872286526413425885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181124084,"filename":"image_03112025_18_09_55_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c33caa37de526ceaf40f6e082f6eec99.jpg","text":"TemporaryFile(/tmp/multipartBody6687262303724165791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181124084,"filename":"image_03112025_18_09_53_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f9af0d9dad79efbe747d3bc0cecbea3.jpg","text":"TemporaryFile(/tmp/multipartBody4166313160511920738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181124084,"filename":"image_03112025_18_09_44_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3996211669f658279ad575432e28732e.jpg","text":"TemporaryFile(/tmp/multipartBody7095337986559630877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181124084,"filename":"image_03112025_18_09_49_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19641658438b8a45feadc056ba284083.jpg","text":"TemporaryFile(/tmp/multipartBody3955593173129592633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181124084,"filename":"image_03112025_18_09_58_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882235","file1":"1401882234","file0":"1401882232","file4":"1401882237","file5":"1401882238","file3":"1401882236"},"map_files_photo_id_array":[{"photo_id":"1401882238","filename":"file5"},{"photo_id":"1401882235","filename":"file2"},{"photo_id":"1401882237","filename":"file4"},{"photo_id":"1401882234","filename":"file1"},{"photo_id":"1401882232","filename":"file0"},{"photo_id":"1401882236","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401882234":["hashtag1","hashtag2"]},{"1401882237":["hashtag1","hashtag2"]},{"1401882236":["hashtag1","hashtag2"]},{"1401882232":["hashtag1","hashtag2"]},{"1401882235":["hashtag1","hashtag2"]},{"1401882238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401882234, 1401882237, 1401882236, 1401882232, 1401882235, 1401882238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53001379966736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:38:22.335578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_24_9638.jpg', '/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_35_10601.jpg', '/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_45_9769.jpg', '/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_54_9794.jpg', '/home/pi/Desktop/images/31122025/10/42/image_31122025_10_43_05_10560.jpg', '/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_15_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_24_9638.jpg
/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_35_10601.jpg
/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_45_9769.jpg
/home/pi/Desktop/images/31122025/10/42/image_31122025_10_42_54_9794.jpg
/home/pi/Desktop/images/31122025/10/42/image_31122025_10_43_05_10560.jpg
/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_15_9857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882252","1401882254","1401882248","1401882242","1401882250","1401882241"],"photo_ids_order":["1401882241","1401882242","1401882248","1401882250","1401882252","1401882254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2293dc614f4a25d81b22bca3a9cf9873.jpg","text":"TemporaryFile(/tmp/multipartBody3663193190116774543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181162993,"filename":"image_31122025_10_43_05_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ee489b867464bdd446134f6813a22a2.jpg","text":"TemporaryFile(/tmp/multipartBody917131041965461601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181162993,"filename":"image_31122025_10_43_15_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da1cda355182ae5c3146bce5527b6718.jpg","text":"TemporaryFile(/tmp/multipartBody5384935486743905347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181162993,"filename":"image_31122025_10_42_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21bd7381f995fbd782fc6250baab22f2.jpg","text":"TemporaryFile(/tmp/multipartBody4642190845741239973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181162993,"filename":"image_31122025_10_42_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/025e525bcb55db4f6a96d72652036fb3.jpg","text":"TemporaryFile(/tmp/multipartBody4444648434238754151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181162993,"filename":"image_31122025_10_42_54_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77a87acb3817fe3324ee8d6f50f11954.jpg","text":"TemporaryFile(/tmp/multipartBody8763494387220820123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181162993,"filename":"image_31122025_10_42_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882248","file1":"1401882242","file0":"1401882241","file4":"1401882252","file5":"1401882254","file3":"1401882250"},"map_files_photo_id_array":[{"photo_id":"1401882254","filename":"file5"},{"photo_id":"1401882248","filename":"file2"},{"photo_id":"1401882252","filename":"file4"},{"photo_id":"1401882242","filename":"file1"},{"photo_id":"1401882241","filename":"file0"},{"photo_id":"1401882250","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882252":["hashtag1","hashtag2"]},{"1401882254":["hashtag1","hashtag2"]},{"1401882248":["hashtag1","hashtag2"]},{"1401882242":["hashtag1","hashtag2"]},{"1401882250":["hashtag1","hashtag2"]},{"1401882241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882252, 1401882254, 1401882248, 1401882242, 1401882250, 1401882241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42812895774841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:39:03.384381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_24_9584.jpg', '/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_35_10606.jpg', '/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_45_9608.jpg', '/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_54_9711.jpg', '/home/pi/Desktop/images/31122025/10/43/image_31122025_10_44_05_10673.jpg', '/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_15_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_24_9584.jpg
/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_35_10606.jpg
/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_45_9608.jpg
/home/pi/Desktop/images/31122025/10/43/image_31122025_10_43_54_9711.jpg
/home/pi/Desktop/images/31122025/10/43/image_31122025_10_44_05_10673.jpg
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_15_9930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882270","1401882273","1401882267","1401882266","1401882275","1401882268"],"photo_ids_order":["1401882266","1401882267","1401882268","1401882270","1401882273","1401882275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df51410ed007be3348ed4ead3bae6a9a.jpg","text":"TemporaryFile(/tmp/multipartBody613129594101271269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181204237,"filename":"image_31122025_10_43_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1baa65b03719b602d3991985b81ef056.jpg","text":"TemporaryFile(/tmp/multipartBody8608457392004608736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181204237,"filename":"image_31122025_10_44_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12624e65f1a8f38a070b3780c6a2a60c.jpg","text":"TemporaryFile(/tmp/multipartBody8604428320995800690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181204237,"filename":"image_31122025_10_43_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab8690116fe7a7a5a15d9006714ec0bf.jpg","text":"TemporaryFile(/tmp/multipartBody2135791471471094929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181204237,"filename":"image_31122025_10_43_24_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e7187eccb9fea355391b2ce709fa502.jpg","text":"TemporaryFile(/tmp/multipartBody5466298704085106314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181204237,"filename":"image_31122025_10_44_15_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a731f11a91ca0bf1ac3228e4a6f106c2.jpg","text":"TemporaryFile(/tmp/multipartBody3028847170039463071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181204237,"filename":"image_31122025_10_43_45_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882268","file1":"1401882267","file0":"1401882266","file4":"1401882273","file5":"1401882275","file3":"1401882270"},"map_files_photo_id_array":[{"photo_id":"1401882275","filename":"file5"},{"photo_id":"1401882268","filename":"file2"},{"photo_id":"1401882273","filename":"file4"},{"photo_id":"1401882267","filename":"file1"},{"photo_id":"1401882266","filename":"file0"},{"photo_id":"1401882270","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882270":["hashtag1","hashtag2"]},{"1401882273":["hashtag1","hashtag2"]},{"1401882267":["hashtag1","hashtag2"]},{"1401882266":["hashtag1","hashtag2"]},{"1401882275":["hashtag1","hashtag2"]},{"1401882268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882270, 1401882273, 1401882267, 1401882266, 1401882275, 1401882268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.321903467178345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:39:42.524463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_02_3733.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_04_2640.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_07_2670.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_11_3621.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_13_2655.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_16_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_02_3733.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_04_2640.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_07_2670.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_11_3621.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_13_2655.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_16_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882282","1401882285","1401882279","1401882284","1401882281","1401882283"],"photo_ids_order":["1401882279","1401882281","1401882282","1401882283","1401882284","1401882285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09be57d1182fdc7b2eec09bcdcc61488.jpg","text":"TemporaryFile(/tmp/multipartBody6139239661271524473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181244451,"filename":"image_03112025_18_10_07_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d9ba7ce0f9d50a04c61784c36fbc568.jpg","text":"TemporaryFile(/tmp/multipartBody3206117043069676778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181244451,"filename":"image_03112025_18_10_16_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d8f30e5fbba1278b63d04889ae24e19.jpg","text":"TemporaryFile(/tmp/multipartBody438813268869083055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181244451,"filename":"image_03112025_18_10_02_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4abd24606c013f1324c9baed1d148c8.jpg","text":"TemporaryFile(/tmp/multipartBody8746172549288636462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181244451,"filename":"image_03112025_18_10_13_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/959859bb25629301808208592c66567f.jpg","text":"TemporaryFile(/tmp/multipartBody8458940343117556580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181244451,"filename":"image_03112025_18_10_04_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97b44ad2a4f73e17d5430017e329547e.jpg","text":"TemporaryFile(/tmp/multipartBody487566732677458604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181244451,"filename":"image_03112025_18_10_11_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882282","file1":"1401882281","file0":"1401882279","file4":"1401882284","file5":"1401882285","file3":"1401882283"},"map_files_photo_id_array":[{"photo_id":"1401882285","filename":"file5"},{"photo_id":"1401882282","filename":"file2"},{"photo_id":"1401882284","filename":"file4"},{"photo_id":"1401882281","filename":"file1"},{"photo_id":"1401882279","filename":"file0"},{"photo_id":"1401882283","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401882282":["hashtag1","hashtag2"]},{"1401882285":["hashtag1","hashtag2"]},{"1401882279":["hashtag1","hashtag2"]},{"1401882284":["hashtag1","hashtag2"]},{"1401882281":["hashtag1","hashtag2"]},{"1401882283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401882282, 1401882285, 1401882279, 1401882284, 1401882281, 1401882283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4482147693634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:40:22.691269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_25_9697.jpg', '/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_34_9601.jpg', '/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_45_10643.jpg', '/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_55_9852.jpg', '/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_14_10059.jpg', '/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_25_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_25_9697.jpg
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_34_9601.jpg
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_45_10643.jpg
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_55_9852.jpg
/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_14_10059.jpg
/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_25_10698.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5857429504394531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:40:32.690136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_20_3605.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_26_6251.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_29_3057.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_31_1718.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_32_1757.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_34_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_20_3605.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_26_6251.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_29_3057.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_31_1718.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_32_1757.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_34_1649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882294","1401882297","1401882315","1401882309","1401882314","1401882316"],"photo_ids_order":["1401882294","1401882297","1401882309","1401882314","1401882315","1401882316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36bb0e43a6e6404a668bb008ee6b6f90.jpg","text":"TemporaryFile(/tmp/multipartBody5335581033502101079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181294641,"filename":"image_03112025_18_10_20_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d93e4a33fb8683c15f9e2d1529840b6.jpg","text":"TemporaryFile(/tmp/multipartBody6261711424052458791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181294641,"filename":"image_03112025_18_10_26_6251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/352e25d1d266c4995b1a822c58f525fe.jpg","text":"TemporaryFile(/tmp/multipartBody2612886231991309127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181294641,"filename":"image_03112025_18_10_32_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/264608d21590eeabd51f22be1cb09dab.jpg","text":"TemporaryFile(/tmp/multipartBody2227769194614649799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181294641,"filename":"image_03112025_18_10_29_3057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d6154e5f47465fb33305bb2090c5c12.jpg","text":"TemporaryFile(/tmp/multipartBody5149291917839957053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181294641,"filename":"image_03112025_18_10_31_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c0a44dff06303153cc4ded92f19b82a.jpg","text":"TemporaryFile(/tmp/multipartBody764122994997761943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181294641,"filename":"image_03112025_18_10_34_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882309","file1":"1401882297","file0":"1401882294","file4":"1401882315","file5":"1401882316","file3":"1401882314"},"map_files_photo_id_array":[{"photo_id":"1401882316","filename":"file5"},{"photo_id":"1401882309","filename":"file2"},{"photo_id":"1401882315","filename":"file4"},{"photo_id":"1401882297","filename":"file1"},{"photo_id":"1401882294","filename":"file0"},{"photo_id":"1401882314","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401882294":["hashtag1","hashtag2"]},{"1401882297":["hashtag1","hashtag2"]},{"1401882315":["hashtag1","hashtag2"]},{"1401882309":["hashtag1","hashtag2"]},{"1401882314":["hashtag1","hashtag2"]},{"1401882316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401882294, 1401882297, 1401882315, 1401882309, 1401882314, 1401882316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.131115436553955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:41:21.889672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_25_9697.jpg', '/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_34_9601.jpg', '/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_45_10643.jpg', '/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_55_9852.jpg', '/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_14_10059.jpg', '/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_25_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_25_9697.jpg
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_34_9601.jpg
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_45_10643.jpg
/home/pi/Desktop/images/31122025/10/44/image_31122025_10_44_55_9852.jpg
/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_14_10059.jpg
/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_25_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882387","1401882366","1401882392","1401882368","1401882394","1401882407"],"photo_ids_order":["1401882366","1401882368","1401882387","1401882392","1401882394","1401882407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9897f55e4e673976a75e49e9d76f709d.jpg","text":"TemporaryFile(/tmp/multipartBody4645330436176006021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181342541,"filename":"image_31122025_10_44_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b04368eff13aa8e9b59c73c17be73513.jpg","text":"TemporaryFile(/tmp/multipartBody8170483949485400143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181342541,"filename":"image_31122025_10_44_25_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ef6135c3fe114fd0f9e4b67b876543d.jpg","text":"TemporaryFile(/tmp/multipartBody7683346039145359858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181342541,"filename":"image_31122025_10_44_55_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1127ea63a32ba9fd1badd1ff21d0503a.jpg","text":"TemporaryFile(/tmp/multipartBody7485983331956343261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181342541,"filename":"image_31122025_10_44_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5d7f513333d44f2c783d06dc1874c74.jpg","text":"TemporaryFile(/tmp/multipartBody335409647290311939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181342541,"filename":"image_31122025_10_45_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d59ae9e6a4246e369e862dd150a9fd94.jpg","text":"TemporaryFile(/tmp/multipartBody7024968382043921577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181342541,"filename":"image_31122025_10_45_25_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882387","file1":"1401882368","file0":"1401882366","file4":"1401882394","file5":"1401882407","file3":"1401882392"},"map_files_photo_id_array":[{"photo_id":"1401882407","filename":"file5"},{"photo_id":"1401882387","filename":"file2"},{"photo_id":"1401882394","filename":"file4"},{"photo_id":"1401882368","filename":"file1"},{"photo_id":"1401882366","filename":"file0"},{"photo_id":"1401882392","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882387":["hashtag1","hashtag2"]},{"1401882366":["hashtag1","hashtag2"]},{"1401882392":["hashtag1","hashtag2"]},{"1401882368":["hashtag1","hashtag2"]},{"1401882394":["hashtag1","hashtag2"]},{"1401882407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882387, 1401882366, 1401882392, 1401882368, 1401882394, 1401882407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8241753578186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:42:02.501436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_34_9683.jpg', '/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_44_9757.jpg', '/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_55_10713.jpg', '/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_04_9181.jpg', '/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_15_10903.jpg', '/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_25_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_34_9683.jpg
/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_44_9757.jpg
/home/pi/Desktop/images/31122025/10/45/image_31122025_10_45_55_10713.jpg
/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_04_9181.jpg
/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_15_10903.jpg
/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_25_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882444","1401882443","1401882481","1401882484","1401882457","1401882472"],"photo_ids_order":["1401882443","1401882444","1401882457","1401882472","1401882481","1401882484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd4ca0419989707cd07c769f4745dc4f.jpg","text":"TemporaryFile(/tmp/multipartBody235706226056741308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181383183,"filename":"image_31122025_10_45_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d8cee68706096f233fbd2954a45f89c.jpg","text":"TemporaryFile(/tmp/multipartBody3107576323979145175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181383183,"filename":"image_31122025_10_45_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fad7c2f15bdac79c1a547427ae81eea.jpg","text":"TemporaryFile(/tmp/multipartBody2731206740689125179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181383183,"filename":"image_31122025_10_46_15_10903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b8d7ecdaa8cc5ea94e6ec72a2b4b9b5.jpg","text":"TemporaryFile(/tmp/multipartBody3782734502858942247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181383183,"filename":"image_31122025_10_46_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7e26f516149d052f2de3309b8b2315d.jpg","text":"TemporaryFile(/tmp/multipartBody3031895795928409387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181383183,"filename":"image_31122025_10_45_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b2bf7bb0eb925b7f1cba218abbcb478.jpg","text":"TemporaryFile(/tmp/multipartBody8688205687500777342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181383183,"filename":"image_31122025_10_46_04_9181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882457","file1":"1401882444","file0":"1401882443","file4":"1401882481","file5":"1401882484","file3":"1401882472"},"map_files_photo_id_array":[{"photo_id":"1401882484","filename":"file5"},{"photo_id":"1401882457","filename":"file2"},{"photo_id":"1401882481","filename":"file4"},{"photo_id":"1401882444","filename":"file1"},{"photo_id":"1401882443","filename":"file0"},{"photo_id":"1401882472","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882444":["hashtag1","hashtag2"]},{"1401882443":["hashtag1","hashtag2"]},{"1401882481":["hashtag1","hashtag2"]},{"1401882484":["hashtag1","hashtag2"]},{"1401882457":["hashtag1","hashtag2"]},{"1401882472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882444, 1401882443, 1401882481, 1401882484, 1401882457, 1401882472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.496922969818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:42:42.078515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_38_3606.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_40_2595.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_43_2693.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_47_3705.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_49_2668.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_53_3450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_38_3606.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_40_2595.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_43_2693.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_47_3705.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_49_2668.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_53_3450.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8010869026184082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:43:02.960443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_34_9829.jpg', '/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_44_9729.jpg', '/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_55_10693.jpg', '/home/pi/Desktop/images/31122025/10/46/image_31122025_10_47_04_9573.jpg', '/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_14_9735.jpg', '/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_25_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_34_9829.jpg
/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_44_9729.jpg
/home/pi/Desktop/images/31122025/10/46/image_31122025_10_46_55_10693.jpg
/home/pi/Desktop/images/31122025/10/46/image_31122025_10_47_04_9573.jpg
/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_14_9735.jpg
/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_25_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882585","1401882582","1401882606","1401882599","1401882608","1401882605"],"photo_ids_order":["1401882582","1401882585","1401882599","1401882605","1401882606","1401882608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c349e6ac2320628f8cd036be89488944.jpg","text":"TemporaryFile(/tmp/multipartBody1423634243048755026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181443686,"filename":"image_31122025_10_46_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b112be4a25b8e0b92984e761d2ae61ec.jpg","text":"TemporaryFile(/tmp/multipartBody73286023820825411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181443686,"filename":"image_31122025_10_46_34_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f1af257b8af0e2386cb43a627c6c05c.jpg","text":"TemporaryFile(/tmp/multipartBody8606296640790126810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181443686,"filename":"image_31122025_10_47_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab3a9e0e4394d7725ef7df50acccc35a.jpg","text":"TemporaryFile(/tmp/multipartBody3219290209872961843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181443686,"filename":"image_31122025_10_46_55_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4234bdd44e49e92bfe0dfe58bb08dfbb.jpg","text":"TemporaryFile(/tmp/multipartBody770643972933619501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181443686,"filename":"image_31122025_10_47_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/157b6032fa1b51c73d91d5d2f2680b05.jpg","text":"TemporaryFile(/tmp/multipartBody8042911651036902635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181443686,"filename":"image_31122025_10_47_04_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882599","file1":"1401882585","file0":"1401882582","file4":"1401882606","file5":"1401882608","file3":"1401882605"},"map_files_photo_id_array":[{"photo_id":"1401882608","filename":"file5"},{"photo_id":"1401882599","filename":"file2"},{"photo_id":"1401882606","filename":"file4"},{"photo_id":"1401882585","filename":"file1"},{"photo_id":"1401882582","filename":"file0"},{"photo_id":"1401882605","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882585":["hashtag1","hashtag2"]},{"1401882582":["hashtag1","hashtag2"]},{"1401882606":["hashtag1","hashtag2"]},{"1401882599":["hashtag1","hashtag2"]},{"1401882608":["hashtag1","hashtag2"]},{"1401882605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882585, 1401882582, 1401882606, 1401882599, 1401882608, 1401882605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02781391143799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:43:42.297718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_38_3606.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_40_2595.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_43_2693.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_47_3705.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_49_2668.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_53_3450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_38_3606.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_40_2595.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_43_2693.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_47_3705.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_49_2668.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_53_3450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882622","1401882616","1401882618","1401882614","1401882617","1401882619"],"photo_ids_order":["1401882614","1401882616","1401882617","1401882618","1401882619","1401882622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/303d767668b7a2f5f90ecb9a9049d3ba.jpg","text":"TemporaryFile(/tmp/multipartBody8532820942931302311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181484125,"filename":"image_03112025_18_10_53_3450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06ed96c3fddcdefc06b7cda02c47bc4f.jpg","text":"TemporaryFile(/tmp/multipartBody8677954812777671801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181484125,"filename":"image_03112025_18_10_40_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab89b014d310a6f1a9e7b7cc83567905.jpg","text":"TemporaryFile(/tmp/multipartBody5420706740267265615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181484125,"filename":"image_03112025_18_10_47_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0cc75e3f23b0f9529a6041bfeddc570.jpg","text":"TemporaryFile(/tmp/multipartBody564250793193985425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181484125,"filename":"image_03112025_18_10_38_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95ede49ac31e33e441f8e66922546dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7696448759990848854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181484125,"filename":"image_03112025_18_10_43_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11f82256d158624928e3ad16865ec671.jpg","text":"TemporaryFile(/tmp/multipartBody6873188122538825719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181484125,"filename":"image_03112025_18_10_49_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882617","file1":"1401882616","file0":"1401882614","file4":"1401882619","file5":"1401882622","file3":"1401882618"},"map_files_photo_id_array":[{"photo_id":"1401882622","filename":"file5"},{"photo_id":"1401882617","filename":"file2"},{"photo_id":"1401882619","filename":"file4"},{"photo_id":"1401882616","filename":"file1"},{"photo_id":"1401882614","filename":"file0"},{"photo_id":"1401882618","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401882622":["hashtag1","hashtag2"]},{"1401882616":["hashtag1","hashtag2"]},{"1401882618":["hashtag1","hashtag2"]},{"1401882614":["hashtag1","hashtag2"]},{"1401882617":["hashtag1","hashtag2"]},{"1401882619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401882622, 1401882616, 1401882618, 1401882614, 1401882617, 1401882619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05114698410034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:44:22.533955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_34_9612.jpg', '/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_44_9854.jpg', '/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_54_9758.jpg', '/home/pi/Desktop/images/31122025/10/47/image_31122025_10_48_05_10747.jpg', '/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_14_9583.jpg', '/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_24_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_34_9612.jpg
/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_44_9854.jpg
/home/pi/Desktop/images/31122025/10/47/image_31122025_10_47_54_9758.jpg
/home/pi/Desktop/images/31122025/10/47/image_31122025_10_48_05_10747.jpg
/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_14_9583.jpg
/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_24_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882783","1401882792","1401882810","1401882785","1401882710","1401882781"],"photo_ids_order":["1401882710","1401882781","1401882783","1401882785","1401882792","1401882810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c6fa9ca9c7c62da62dd22f015addfbf.jpg","text":"TemporaryFile(/tmp/multipartBody6161979859283495372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181523208,"filename":"image_31122025_10_47_54_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fecd02bc77344ec75daa1644ebadde0f.jpg","text":"TemporaryFile(/tmp/multipartBody907420455640002917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181523208,"filename":"image_31122025_10_48_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6d7c8283350d1e3fead9402fb1aac0b.jpg","text":"TemporaryFile(/tmp/multipartBody8241511693104010249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181523208,"filename":"image_31122025_10_48_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5f0e6b7ce28e61dfb7990db4da06f84.jpg","text":"TemporaryFile(/tmp/multipartBody284028313911352229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181523208,"filename":"image_31122025_10_48_05_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42af50dc8d289b10e42560f77d51bc26.jpg","text":"TemporaryFile(/tmp/multipartBody21945925354616738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181523208,"filename":"image_31122025_10_47_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50897d5ad58be1cd476389173bef2eaf.jpg","text":"TemporaryFile(/tmp/multipartBody3028120583414898783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181523208,"filename":"image_31122025_10_47_44_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882783","file1":"1401882781","file0":"1401882710","file4":"1401882792","file5":"1401882810","file3":"1401882785"},"map_files_photo_id_array":[{"photo_id":"1401882810","filename":"file5"},{"photo_id":"1401882783","filename":"file2"},{"photo_id":"1401882792","filename":"file4"},{"photo_id":"1401882781","filename":"file1"},{"photo_id":"1401882710","filename":"file0"},{"photo_id":"1401882785","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401882783":["hashtag1","hashtag2"]},{"1401882792":["hashtag1","hashtag2"]},{"1401882810":["hashtag1","hashtag2"]},{"1401882785":["hashtag1","hashtag2"]},{"1401882710":["hashtag1","hashtag2"]},{"1401882781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401882783, 1401882792, 1401882810, 1401882785, 1401882710, 1401882781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60578179359436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:45:12.621693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_56_2807.jpg', '/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_58_2688.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_01_2584.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_04_3504.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_08_3263.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_11_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_56_2807.jpg
/home/pi/Desktop/images/03112025/18/10/image_03112025_18_10_58_2688.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_01_2584.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_04_3504.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_08_3263.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_11_3019.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401882926","1401882964","1401882967","1401882940","1401882928","1401882919"],"photo_ids_order":["1401882919","1401882926","1401882928","1401882940","1401882964","1401882967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/475056e0c28f2f09330d8e74fa947787.jpg","text":"TemporaryFile(/tmp/multipartBody5732083846800376580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181574430,"filename":"image_03112025_18_10_58_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d55c8b7627717acf75815464395dad57.jpg","text":"TemporaryFile(/tmp/multipartBody7754145961182049137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181574430,"filename":"image_03112025_18_11_08_3263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2dd50f8c126b69fbb62166f7012511b.jpg","text":"TemporaryFile(/tmp/multipartBody1727347547596510618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181574430,"filename":"image_03112025_18_11_11_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48d857037059dad7f35cd517e35e9632.jpg","text":"TemporaryFile(/tmp/multipartBody3309943290463678900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181574430,"filename":"image_03112025_18_11_04_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d248de5ae68054ed1380e25e9e38d5ee.jpg","text":"TemporaryFile(/tmp/multipartBody8025797028261242874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181574430,"filename":"image_03112025_18_11_01_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b0172934c8c342860c176feb3171987.jpg","text":"TemporaryFile(/tmp/multipartBody7809797696888358368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181574430,"filename":"image_03112025_18_10_56_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401882928","file1":"1401882926","file0":"1401882919","file4":"1401882964","file5":"1401882967","file3":"1401882940"},"map_files_photo_id_array":[{"photo_id":"1401882967","filename":"file5"},{"photo_id":"1401882928","filename":"file2"},{"photo_id":"1401882964","filename":"file4"},{"photo_id":"1401882926","filename":"file1"},{"photo_id":"1401882919","filename":"file0"},{"photo_id":"1401882940","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401882926":["hashtag1","hashtag2"]},{"1401882964":["hashtag1","hashtag2"]},{"1401882967":["hashtag1","hashtag2"]},{"1401882940":["hashtag1","hashtag2"]},{"1401882928":["hashtag1","hashtag2"]},{"1401882919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401882926, 1401882964, 1401882967, 1401882940, 1401882928, 1401882919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.996843576431274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:46:03.241992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_35_10772.jpg', '/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_44_9681.jpg', '/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_54_9635.jpg', '/home/pi/Desktop/images/31122025/10/48/image_31122025_10_49_05_10651.jpg', '/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_15_9808.jpg', '/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_24_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_35_10772.jpg
/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_44_9681.jpg
/home/pi/Desktop/images/31122025/10/48/image_31122025_10_48_54_9635.jpg
/home/pi/Desktop/images/31122025/10/48/image_31122025_10_49_05_10651.jpg
/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_15_9808.jpg
/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_24_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883137","1401883029","1401883096","1401883028","1401883057","1401883030"],"photo_ids_order":["1401883028","1401883029","1401883030","1401883057","1401883096","1401883137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af521cd7a799d1ce7c59ba179e466766.jpg","text":"TemporaryFile(/tmp/multipartBody7769105066167317713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181623987,"filename":"image_31122025_10_49_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b872cfaad0ccbc1dd945844b0ba7700.jpg","text":"TemporaryFile(/tmp/multipartBody6857462662226796172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181623987,"filename":"image_31122025_10_48_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5335068f7c5ad7e86e1e5b387628af3b.jpg","text":"TemporaryFile(/tmp/multipartBody2014803811553708505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181623987,"filename":"image_31122025_10_49_15_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90456461fb96c298a885385aad973ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3578792577078185301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181623987,"filename":"image_31122025_10_48_35_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84fa9077334927396cc4f75b89806bd1.jpg","text":"TemporaryFile(/tmp/multipartBody7296906050439698893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181623987,"filename":"image_31122025_10_49_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f2fb77225fbf9f3eeb98e7ac2c1128b.jpg","text":"TemporaryFile(/tmp/multipartBody5718184037734280956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181623987,"filename":"image_31122025_10_48_54_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883030","file1":"1401883029","file0":"1401883028","file4":"1401883096","file5":"1401883137","file3":"1401883057"},"map_files_photo_id_array":[{"photo_id":"1401883137","filename":"file5"},{"photo_id":"1401883030","filename":"file2"},{"photo_id":"1401883096","filename":"file4"},{"photo_id":"1401883029","filename":"file1"},{"photo_id":"1401883028","filename":"file0"},{"photo_id":"1401883057","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401883137":["hashtag1","hashtag2"]},{"1401883029":["hashtag1","hashtag2"]},{"1401883096":["hashtag1","hashtag2"]},{"1401883028":["hashtag1","hashtag2"]},{"1401883057":["hashtag1","hashtag2"]},{"1401883030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401883137, 1401883029, 1401883096, 1401883028, 1401883057, 1401883030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87777662277222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:46:42.800174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_13_2750.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_17_3174.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_19_2601.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_22_2681.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_25_3631.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_28_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_13_2750.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_17_3174.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_19_2601.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_22_2681.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_25_3631.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_28_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883170","1401883172","1401883171","1401883174","1401883173","1401883167"],"photo_ids_order":["1401883167","1401883170","1401883171","1401883172","1401883173","1401883174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5942e765bd751b9fa0614aad39398db8.jpg","text":"TemporaryFile(/tmp/multipartBody2046333841723505206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181665953,"filename":"image_03112025_18_11_17_3174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11967f1480a4950ee76c8340b646daab.jpg","text":"TemporaryFile(/tmp/multipartBody355933174308591812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181665953,"filename":"image_03112025_18_11_22_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36c7c09cfd98db523735fb0ca1c13f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7356514660035153234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181665953,"filename":"image_03112025_18_11_19_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c21808248d8f1cf5dd3edf9611993cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3679782126585208399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181665953,"filename":"image_03112025_18_11_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c51912afc9144510e5c053cffcd3776e.jpg","text":"TemporaryFile(/tmp/multipartBody5261816025706005543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181665953,"filename":"image_03112025_18_11_25_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a633b00d8d5544d136e5086d6cff6a7.jpg","text":"TemporaryFile(/tmp/multipartBody2158133436269636908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181665953,"filename":"image_03112025_18_11_13_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883171","file1":"1401883170","file0":"1401883167","file4":"1401883173","file5":"1401883174","file3":"1401883172"},"map_files_photo_id_array":[{"photo_id":"1401883174","filename":"file5"},{"photo_id":"1401883171","filename":"file2"},{"photo_id":"1401883173","filename":"file4"},{"photo_id":"1401883170","filename":"file1"},{"photo_id":"1401883167","filename":"file0"},{"photo_id":"1401883172","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401883170":["hashtag1","hashtag2"]},{"1401883172":["hashtag1","hashtag2"]},{"1401883171":["hashtag1","hashtag2"]},{"1401883174":["hashtag1","hashtag2"]},{"1401883173":["hashtag1","hashtag2"]},{"1401883167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401883170, 1401883172, 1401883171, 1401883174, 1401883173, 1401883167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.79665684700012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:47:32.004594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_31_2643.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_34_3686.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_37_2590.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_40_2806.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_43_3564.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_46_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_31_2643.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_34_3686.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_37_2590.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_40_2806.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_43_3564.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_46_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883178","1401883193","1401883195","1401883180","1401883183","1401883194"],"photo_ids_order":["1401883178","1401883180","1401883183","1401883193","1401883194","1401883195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d39c4c7ce929886c9c4009cfef493855.jpg","text":"TemporaryFile(/tmp/multipartBody3990690772773318463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181713807,"filename":"image_03112025_18_11_31_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08e7d60a6d03f0952412afdd80525dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1937607777691463531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181713807,"filename":"image_03112025_18_11_40_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c0345a03ca6125d6c5af9b7e728dab9.jpg","text":"TemporaryFile(/tmp/multipartBody7304093494085192959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181713807,"filename":"image_03112025_18_11_46_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8a53c360957645a21268ab827bca008.jpg","text":"TemporaryFile(/tmp/multipartBody1348551630502472053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181713807,"filename":"image_03112025_18_11_34_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa8467685a1b070fe898f4d5db4b1f5e.jpg","text":"TemporaryFile(/tmp/multipartBody8005682802629722145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181713807,"filename":"image_03112025_18_11_37_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ebf2f889a2b767c64818334eb286e67.jpg","text":"TemporaryFile(/tmp/multipartBody7142002215713121453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181713807,"filename":"image_03112025_18_11_43_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883183","file1":"1401883180","file0":"1401883178","file4":"1401883194","file5":"1401883195","file3":"1401883193"},"map_files_photo_id_array":[{"photo_id":"1401883195","filename":"file5"},{"photo_id":"1401883183","filename":"file2"},{"photo_id":"1401883194","filename":"file4"},{"photo_id":"1401883180","filename":"file1"},{"photo_id":"1401883178","filename":"file0"},{"photo_id":"1401883193","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401883178":["hashtag1","hashtag2"]},{"1401883193":["hashtag1","hashtag2"]},{"1401883195":["hashtag1","hashtag2"]},{"1401883180":["hashtag1","hashtag2"]},{"1401883183":["hashtag1","hashtag2"]},{"1401883194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401883178, 1401883193, 1401883195, 1401883180, 1401883183, 1401883194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70201277732849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:48:12.103514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_50_3513.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_52_2669.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_55_2820.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_58_2615.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_12_01_3732.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_04_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_50_3513.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_52_2669.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_55_2820.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_58_2615.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_12_01_3732.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_04_2568.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7178099155426025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:48:22.148793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_34_9771.jpg', '/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_45_10751.jpg', '/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_54_9770.jpg', '/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_14_10041.jpg', '/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_25_10704.jpg', '/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_34_9771.jpg
/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_45_10751.jpg
/home/pi/Desktop/images/31122025/10/49/image_31122025_10_49_54_9770.jpg
/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_14_10041.jpg
/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_25_10704.jpg
/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_34_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883221","1401883224","1401883200","1401883216","1401883219","1401883210"],"photo_ids_order":["1401883200","1401883210","1401883216","1401883219","1401883221","1401883224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88e738cfd1396a34b3be5c4a6df7290a.jpg","text":"TemporaryFile(/tmp/multipartBody9125988041625214368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181762882,"filename":"image_31122025_10_51_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af5498ca1360b0bd19c226c4d7c7d35e.jpg","text":"TemporaryFile(/tmp/multipartBody8486778506594192686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181762882,"filename":"image_31122025_10_51_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6599aed306e8b4935c55387ef3b41885.jpg","text":"TemporaryFile(/tmp/multipartBody6938490725557430304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181762882,"filename":"image_31122025_10_49_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a1f77cbd45dc2c7b0091a704fd1bff4.jpg","text":"TemporaryFile(/tmp/multipartBody1016267272655094890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181762882,"filename":"image_31122025_10_49_54_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/085efec8bace5863b1852b28823ffc8d.jpg","text":"TemporaryFile(/tmp/multipartBody1727333808338884652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181762882,"filename":"image_31122025_10_51_14_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5f64b56ffa9b86fa2ebf8739acc42df.jpg","text":"TemporaryFile(/tmp/multipartBody4807363864745599096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181762882,"filename":"image_31122025_10_49_45_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883216","file1":"1401883210","file0":"1401883200","file4":"1401883221","file5":"1401883224","file3":"1401883219"},"map_files_photo_id_array":[{"photo_id":"1401883224","filename":"file5"},{"photo_id":"1401883216","filename":"file2"},{"photo_id":"1401883221","filename":"file4"},{"photo_id":"1401883210","filename":"file1"},{"photo_id":"1401883200","filename":"file0"},{"photo_id":"1401883219","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401883221":["hashtag1","hashtag2"]},{"1401883224":["hashtag1","hashtag2"]},{"1401883200":["hashtag1","hashtag2"]},{"1401883216":["hashtag1","hashtag2"]},{"1401883219":["hashtag1","hashtag2"]},{"1401883210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401883221, 1401883224, 1401883200, 1401883216, 1401883219, 1401883210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26322960853577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:49:03.249598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_44_9847.jpg', '/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_54_9878.jpg', '/home/pi/Desktop/images/31122025/10/51/image_31122025_10_52_04_10612.jpg', '/home/pi/Desktop/images/31122025/10/52/image_31122025_10_52_14_9659.jpg', '/home/pi/Desktop/images/31122025/10/52/image_31122025_10_52_24_9671.jpg', '/home/pi/Desktop/images/31122025/10/52/image_31122025_10_52_34_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_44_9847.jpg
/home/pi/Desktop/images/31122025/10/51/image_31122025_10_51_54_9878.jpg
/home/pi/Desktop/images/31122025/10/51/image_31122025_10_52_04_10612.jpg
/home/pi/Desktop/images/31122025/10/52/image_31122025_10_52_14_9659.jpg
/home/pi/Desktop/images/31122025/10/52/image_31122025_10_52_24_9671.jpg
/home/pi/Desktop/images/31122025/10/52/image_31122025_10_52_34_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883335","1401883320","1401883323","1401883319","1401883310","1401883321"],"photo_ids_order":["1401883310","1401883319","1401883320","1401883321","1401883323","1401883335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b478937788642da28ed6d9a8aa7744e8.jpg","text":"TemporaryFile(/tmp/multipartBody9095096568622783827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181804226,"filename":"image_31122025_10_52_34_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc0a548ba6c976d79736c6c6a4792a50.jpg","text":"TemporaryFile(/tmp/multipartBody1608361001112066037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181804226,"filename":"image_31122025_10_52_04_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac97a7938cb7dbbfc26090fb3c6eb783.jpg","text":"TemporaryFile(/tmp/multipartBody7136482042586197189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181804226,"filename":"image_31122025_10_52_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37c5c3e62a9dd71b114f684206e34f20.jpg","text":"TemporaryFile(/tmp/multipartBody4200837080812316406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181804226,"filename":"image_31122025_10_51_54_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4a3f3b82a15dab110eccf4be51cf2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2557771968092490693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181804226,"filename":"image_31122025_10_51_44_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e76929aaa23b08c50a38338af4ab68a.jpg","text":"TemporaryFile(/tmp/multipartBody29236378995311173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181804226,"filename":"image_31122025_10_52_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883320","file1":"1401883319","file0":"1401883310","file4":"1401883323","file5":"1401883335","file3":"1401883321"},"map_files_photo_id_array":[{"photo_id":"1401883335","filename":"file5"},{"photo_id":"1401883320","filename":"file2"},{"photo_id":"1401883323","filename":"file4"},{"photo_id":"1401883319","filename":"file1"},{"photo_id":"1401883310","filename":"file0"},{"photo_id":"1401883321","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401883335":["hashtag1","hashtag2"]},{"1401883320":["hashtag1","hashtag2"]},{"1401883323":["hashtag1","hashtag2"]},{"1401883319":["hashtag1","hashtag2"]},{"1401883310":["hashtag1","hashtag2"]},{"1401883321":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401883335, 1401883320, 1401883323, 1401883319, 1401883310, 1401883321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.183706760406494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:49:42.327276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_50_3513.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_52_2669.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_55_2820.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_58_2615.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_12_01_3732.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_04_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_50_3513.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_52_2669.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_55_2820.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_58_2615.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_12_01_3732.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_04_2568.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7391667366027832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:50:02.836990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/52/image_31122025_10_52_44_9766.jpg', '/home/pi/Desktop/images/31122025/10/52/image_31122025_10_53_05_10667.jpg', '/home/pi/Desktop/images/31122025/10/53/image_31122025_10_53_35_10695.jpg', '/home/pi/Desktop/images/31122025/10/53/image_31122025_10_53_44_9652.jpg', '/home/pi/Desktop/images/31122025/10/53/image_31122025_10_53_54_9645.jpg', '/home/pi/Desktop/images/31122025/10/53/image_31122025_10_54_05_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/52/image_31122025_10_52_44_9766.jpg
/home/pi/Desktop/images/31122025/10/52/image_31122025_10_53_05_10667.jpg
/home/pi/Desktop/images/31122025/10/53/image_31122025_10_53_35_10695.jpg
/home/pi/Desktop/images/31122025/10/53/image_31122025_10_53_44_9652.jpg
/home/pi/Desktop/images/31122025/10/53/image_31122025_10_53_54_9645.jpg
/home/pi/Desktop/images/31122025/10/53/image_31122025_10_54_05_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883440","1401883443","1401883445","1401883442","1401883441","1401883447"],"photo_ids_order":["1401883440","1401883441","1401883442","1401883443","1401883445","1401883447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0cfbb37d597d9ca3026e188cabb0ecc.jpg","text":"TemporaryFile(/tmp/multipartBody92020132988856791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181863577,"filename":"image_31122025_10_52_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07f6138e0bb692531313217f58cbc06b.jpg","text":"TemporaryFile(/tmp/multipartBody1866575601799955216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181863577,"filename":"image_31122025_10_53_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38e8afc8550fee72a3f09179ebcf3bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5764889995419045552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181863577,"filename":"image_31122025_10_53_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ed29ee3c89f5f1e10b0d078576e681b.jpg","text":"TemporaryFile(/tmp/multipartBody2241505064324759725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181863577,"filename":"image_31122025_10_53_35_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40efad9b8b7b3189732027ca91c55dab.jpg","text":"TemporaryFile(/tmp/multipartBody879803946897982014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181863577,"filename":"image_31122025_10_53_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/689691e795e80bd8b8c16190034e4f69.jpg","text":"TemporaryFile(/tmp/multipartBody5524651143085716450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181863577,"filename":"image_31122025_10_54_05_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883442","file1":"1401883441","file0":"1401883440","file4":"1401883445","file5":"1401883447","file3":"1401883443"},"map_files_photo_id_array":[{"photo_id":"1401883447","filename":"file5"},{"photo_id":"1401883442","filename":"file2"},{"photo_id":"1401883445","filename":"file4"},{"photo_id":"1401883441","filename":"file1"},{"photo_id":"1401883440","filename":"file0"},{"photo_id":"1401883443","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401883440":["hashtag1","hashtag2"]},{"1401883443":["hashtag1","hashtag2"]},{"1401883445":["hashtag1","hashtag2"]},{"1401883442":["hashtag1","hashtag2"]},{"1401883441":["hashtag1","hashtag2"]},{"1401883447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401883440, 1401883443, 1401883445, 1401883442, 1401883441, 1401883447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14722275733948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:50:42.555207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_50_3513.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_52_2669.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_55_2820.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_58_2615.jpg', '/home/pi/Desktop/images/03112025/18/11/image_03112025_18_12_01_3732.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_04_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_50_3513.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_52_2669.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_55_2820.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_11_58_2615.jpg
/home/pi/Desktop/images/03112025/18/11/image_03112025_18_12_01_3732.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_04_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883455","1401883472","1401883471","1401883474","1401883468","1401883473"],"photo_ids_order":["1401883455","1401883468","1401883471","1401883472","1401883473","1401883474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dba1c27c5bdcf6ca6094b5a1ddb47cf8.jpg","text":"TemporaryFile(/tmp/multipartBody6157608360115223607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181904286,"filename":"image_03112025_18_11_50_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bed20ef7595cd7325dbc6bf36fb4fa1b.jpg","text":"TemporaryFile(/tmp/multipartBody5258311993754931730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181904286,"filename":"image_03112025_18_11_58_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b3a8bc847290501ed6dfe75851d7627.jpg","text":"TemporaryFile(/tmp/multipartBody8159977484027814665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181904286,"filename":"image_03112025_18_11_55_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1f9d2d960df3deff91ed606aa77fe48.jpg","text":"TemporaryFile(/tmp/multipartBody6187370878228439939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181904286,"filename":"image_03112025_18_12_04_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c1c2f4f821a01df5ceff292a82ea0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3369723230109269564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181904286,"filename":"image_03112025_18_11_52_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10583c37ba4dbeeaa070ecc1edfab4b4.jpg","text":"TemporaryFile(/tmp/multipartBody8798062263919670745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181904286,"filename":"image_03112025_18_12_01_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883471","file1":"1401883468","file0":"1401883455","file4":"1401883473","file5":"1401883474","file3":"1401883472"},"map_files_photo_id_array":[{"photo_id":"1401883474","filename":"file5"},{"photo_id":"1401883471","filename":"file2"},{"photo_id":"1401883473","filename":"file4"},{"photo_id":"1401883468","filename":"file1"},{"photo_id":"1401883455","filename":"file0"},{"photo_id":"1401883472","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401883455":["hashtag1","hashtag2"]},{"1401883472":["hashtag1","hashtag2"]},{"1401883471":["hashtag1","hashtag2"]},{"1401883474":["hashtag1","hashtag2"]},{"1401883468":["hashtag1","hashtag2"]},{"1401883473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401883455, 1401883472, 1401883471, 1401883474, 1401883468, 1401883473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.276158809661865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:51:22.763521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/54/image_31122025_10_54_14_9625.jpg', '/home/pi/Desktop/images/31122025/10/54/image_31122025_10_54_24_9698.jpg', '/home/pi/Desktop/images/31122025/10/54/image_31122025_10_54_35_10752.jpg', '/home/pi/Desktop/images/31122025/10/54/image_31122025_10_54_54_9785.jpg', '/home/pi/Desktop/images/31122025/10/55/image_31122025_10_55_14_10054.jpg', '/home/pi/Desktop/images/31122025/10/55/image_31122025_10_55_25_10847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/54/image_31122025_10_54_14_9625.jpg
/home/pi/Desktop/images/31122025/10/54/image_31122025_10_54_24_9698.jpg
/home/pi/Desktop/images/31122025/10/54/image_31122025_10_54_35_10752.jpg
/home/pi/Desktop/images/31122025/10/54/image_31122025_10_54_54_9785.jpg
/home/pi/Desktop/images/31122025/10/55/image_31122025_10_55_14_10054.jpg
/home/pi/Desktop/images/31122025/10/55/image_31122025_10_55_25_10847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883487","1401883481","1401883478","1401883483","1401883485","1401883479"],"photo_ids_order":["1401883478","1401883479","1401883481","1401883483","1401883485","1401883487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bb68a27a7cca4054237dc3ebebc0645.jpg","text":"TemporaryFile(/tmp/multipartBody5568418799690026802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181943416,"filename":"image_31122025_10_55_25_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a5147d4fec3acc0f62b22f07bbfd807.jpg","text":"TemporaryFile(/tmp/multipartBody4626309441441308539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181943416,"filename":"image_31122025_10_54_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e831aaa9a0c332b0421c700fc3235fb.jpg","text":"TemporaryFile(/tmp/multipartBody558644310929027934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181943416,"filename":"image_31122025_10_54_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbe537518f7b1fc4cf2518e65d8cc0a5.jpg","text":"TemporaryFile(/tmp/multipartBody4633010500007492462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181943416,"filename":"image_31122025_10_54_54_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe7254e10059b7ffbac2dd93efe98376.jpg","text":"TemporaryFile(/tmp/multipartBody393592930580468784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181943416,"filename":"image_31122025_10_55_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/031aac740249bce24034587b60ee612f.jpg","text":"TemporaryFile(/tmp/multipartBody8207968916212120686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181943416,"filename":"image_31122025_10_54_24_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883481","file1":"1401883479","file0":"1401883478","file4":"1401883485","file5":"1401883487","file3":"1401883483"},"map_files_photo_id_array":[{"photo_id":"1401883487","filename":"file5"},{"photo_id":"1401883481","filename":"file2"},{"photo_id":"1401883485","filename":"file4"},{"photo_id":"1401883479","filename":"file1"},{"photo_id":"1401883478","filename":"file0"},{"photo_id":"1401883483","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401883487":["hashtag1","hashtag2"]},{"1401883481":["hashtag1","hashtag2"]},{"1401883478":["hashtag1","hashtag2"]},{"1401883483":["hashtag1","hashtag2"]},{"1401883485":["hashtag1","hashtag2"]},{"1401883479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401883487, 1401883481, 1401883478, 1401883483, 1401883485, 1401883479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.120213985443115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:52:02.474810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/55/image_31122025_10_55_44_9741.jpg', '/home/pi/Desktop/images/31122025/10/55/image_31122025_10_55_54_9898.jpg', '/home/pi/Desktop/images/31122025/10/55/image_31122025_10_56_05_10633.jpg', '/home/pi/Desktop/images/31122025/10/56/image_31122025_10_56_15_9669.jpg', '/home/pi/Desktop/images/31122025/10/56/image_31122025_10_56_24_9657.jpg', '/home/pi/Desktop/images/31122025/10/56/image_31122025_10_56_35_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/55/image_31122025_10_55_44_9741.jpg
/home/pi/Desktop/images/31122025/10/55/image_31122025_10_55_54_9898.jpg
/home/pi/Desktop/images/31122025/10/55/image_31122025_10_56_05_10633.jpg
/home/pi/Desktop/images/31122025/10/56/image_31122025_10_56_15_9669.jpg
/home/pi/Desktop/images/31122025/10/56/image_31122025_10_56_24_9657.jpg
/home/pi/Desktop/images/31122025/10/56/image_31122025_10_56_35_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883493","1401883492","1401883495","1401883489","1401883497","1401883491"],"photo_ids_order":["1401883489","1401883491","1401883492","1401883493","1401883495","1401883497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e44c243e49f177adee01ba66d942ef94.jpg","text":"TemporaryFile(/tmp/multipartBody643906950569908795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181983198,"filename":"image_31122025_10_56_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4034b9261706220b5fcc37cb35e50302.jpg","text":"TemporaryFile(/tmp/multipartBody5732368878196173626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181983198,"filename":"image_31122025_10_56_05_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b04d233dbc9821909421b1e9b34562b9.jpg","text":"TemporaryFile(/tmp/multipartBody6000371061295945286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181983198,"filename":"image_31122025_10_56_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c5e1aa0a9f789924bad1ea19a914a05.jpg","text":"TemporaryFile(/tmp/multipartBody3402893955436696822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181983198,"filename":"image_31122025_10_55_44_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48392ffead06fe37c071a264eb5e67af.jpg","text":"TemporaryFile(/tmp/multipartBody4009083426194466057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181983198,"filename":"image_31122025_10_56_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ff956c571b063490a9dfc49ec41196a.jpg","text":"TemporaryFile(/tmp/multipartBody4490595631963353864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767181983198,"filename":"image_31122025_10_55_54_9898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883492","file1":"1401883491","file0":"1401883489","file4":"1401883495","file5":"1401883497","file3":"1401883493"},"map_files_photo_id_array":[{"photo_id":"1401883497","filename":"file5"},{"photo_id":"1401883492","filename":"file2"},{"photo_id":"1401883495","filename":"file4"},{"photo_id":"1401883491","filename":"file1"},{"photo_id":"1401883489","filename":"file0"},{"photo_id":"1401883493","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401883493":["hashtag1","hashtag2"]},{"1401883492":["hashtag1","hashtag2"]},{"1401883495":["hashtag1","hashtag2"]},{"1401883489":["hashtag1","hashtag2"]},{"1401883497":["hashtag1","hashtag2"]},{"1401883491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401883493, 1401883492, 1401883495, 1401883489, 1401883497, 1401883491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46027159690857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:52:42.056559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_08_3512.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_10_2650.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_13_2600.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_17_3786.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_19_2734.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_22_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_08_3512.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_10_2650.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_13_2600.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_17_3786.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_19_2734.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_22_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883554","1401883527","1401883539","1401883518","1401883540","1401883531"],"photo_ids_order":["1401883518","1401883527","1401883531","1401883539","1401883540","1401883554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef9c1e140cb694280d8c1a33fd492c88.jpg","text":"TemporaryFile(/tmp/multipartBody5976589060932982584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182023871,"filename":"image_03112025_18_12_22_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87fd4872eafb5e7c0f06a7829c422737.jpg","text":"TemporaryFile(/tmp/multipartBody2041560848597671112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182023871,"filename":"image_03112025_18_12_10_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8957817b2e038dfc825a18d3a25360df.jpg","text":"TemporaryFile(/tmp/multipartBody532064063804640087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182023871,"filename":"image_03112025_18_12_17_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70818cd6c282c8133fba44c58fa15007.jpg","text":"TemporaryFile(/tmp/multipartBody516122001609475478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182023871,"filename":"image_03112025_18_12_08_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21e5a1660ac751cb828178849b89200d.jpg","text":"TemporaryFile(/tmp/multipartBody5132824094989239303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182023871,"filename":"image_03112025_18_12_19_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbc43cfc620d7130d43be2ce22b7c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody7537852809263143552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182023871,"filename":"image_03112025_18_12_13_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883531","file1":"1401883527","file0":"1401883518","file4":"1401883540","file5":"1401883554","file3":"1401883539"},"map_files_photo_id_array":[{"photo_id":"1401883554","filename":"file5"},{"photo_id":"1401883531","filename":"file2"},{"photo_id":"1401883540","filename":"file4"},{"photo_id":"1401883527","filename":"file1"},{"photo_id":"1401883518","filename":"file0"},{"photo_id":"1401883539","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401883554":["hashtag1","hashtag2"]},{"1401883527":["hashtag1","hashtag2"]},{"1401883539":["hashtag1","hashtag2"]},{"1401883518":["hashtag1","hashtag2"]},{"1401883540":["hashtag1","hashtag2"]},{"1401883531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401883554, 1401883527, 1401883539, 1401883518, 1401883540, 1401883531)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.91187334060669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:53:32.362054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_26_3625.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_28_2569.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_31_2688.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_35_3751.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_37_2656.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_40_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_26_3625.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_28_2569.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_31_2688.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_35_3751.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_37_2656.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_40_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883749","1401883734","1401883751","1401883747","1401883738","1401883674"],"photo_ids_order":["1401883674","1401883734","1401883738","1401883747","1401883749","1401883751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6ededbdb6e022ad139fcaa541171993.jpg","text":"TemporaryFile(/tmp/multipartBody8057396761751662889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182074273,"filename":"image_03112025_18_12_37_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b1896b994f13994dc77b04f8ca6fa45.jpg","text":"TemporaryFile(/tmp/multipartBody3288794743382219159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182074273,"filename":"image_03112025_18_12_28_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bda2221844c86052ad51afe86625d6a3.jpg","text":"TemporaryFile(/tmp/multipartBody4588458160361693019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182074273,"filename":"image_03112025_18_12_40_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1a2da3b06b7706eb48f86e8e307d793.jpg","text":"TemporaryFile(/tmp/multipartBody6340575997359784888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182074273,"filename":"image_03112025_18_12_35_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f344f0ca2798d08c51bcabb1c36fd6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6430843361297196202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182074273,"filename":"image_03112025_18_12_31_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55454275acc3bfe8df66c342268bf083.jpg","text":"TemporaryFile(/tmp/multipartBody1996310499059755298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182074273,"filename":"image_03112025_18_12_26_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883738","file1":"1401883734","file0":"1401883674","file4":"1401883749","file5":"1401883751","file3":"1401883747"},"map_files_photo_id_array":[{"photo_id":"1401883751","filename":"file5"},{"photo_id":"1401883738","filename":"file2"},{"photo_id":"1401883749","filename":"file4"},{"photo_id":"1401883734","filename":"file1"},{"photo_id":"1401883674","filename":"file0"},{"photo_id":"1401883747","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401883749":["hashtag1","hashtag2"]},{"1401883734":["hashtag1","hashtag2"]},{"1401883751":["hashtag1","hashtag2"]},{"1401883747":["hashtag1","hashtag2"]},{"1401883738":["hashtag1","hashtag2"]},{"1401883674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401883749, 1401883734, 1401883751, 1401883747, 1401883738, 1401883674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.453917026519775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:54:12.487795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_43_2806.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_46_3594.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_49_2653.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_53_3592.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_55_2148.jpg', '/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_58_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_43_2806.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_46_3594.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_49_2653.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_53_3592.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_55_2148.jpg
/home/pi/Desktop/images/03112025/18/12/image_03112025_18_12_58_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883752","1401883760","1401883754","1401883762","1401883756","1401883758"],"photo_ids_order":["1401883752","1401883754","1401883756","1401883758","1401883760","1401883762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2b0f07d3591170d00afe2abc76a9d05.jpg","text":"TemporaryFile(/tmp/multipartBody6096327872005489311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182114312,"filename":"image_03112025_18_12_43_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b0fa2ae920a61785b04cf70e82faa44.jpg","text":"TemporaryFile(/tmp/multipartBody5492583340533217012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182114312,"filename":"image_03112025_18_12_55_2148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b511bcecace72879096082a4de96c36.jpg","text":"TemporaryFile(/tmp/multipartBody8646272835784723472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182114312,"filename":"image_03112025_18_12_46_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e662621315cd819e998684ec06fb2f8.jpg","text":"TemporaryFile(/tmp/multipartBody5748452310657881704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182114312,"filename":"image_03112025_18_12_58_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a73ff75aa2ecb834cc48bac300da076.jpg","text":"TemporaryFile(/tmp/multipartBody4101951955627040865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182114312,"filename":"image_03112025_18_12_49_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09c295a876d231f3e8d8602b45fdd38b.jpg","text":"TemporaryFile(/tmp/multipartBody2575214242274988301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182114312,"filename":"image_03112025_18_12_53_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883756","file1":"1401883754","file0":"1401883752","file4":"1401883760","file5":"1401883762","file3":"1401883758"},"map_files_photo_id_array":[{"photo_id":"1401883762","filename":"file5"},{"photo_id":"1401883756","filename":"file2"},{"photo_id":"1401883760","filename":"file4"},{"photo_id":"1401883754","filename":"file1"},{"photo_id":"1401883752","filename":"file0"},{"photo_id":"1401883758","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401883752":["hashtag1","hashtag2"]},{"1401883760":["hashtag1","hashtag2"]},{"1401883754":["hashtag1","hashtag2"]},{"1401883762":["hashtag1","hashtag2"]},{"1401883756":["hashtag1","hashtag2"]},{"1401883758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401883752, 1401883760, 1401883754, 1401883762, 1401883756, 1401883758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29615759849548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:55:03.372962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/56/image_31122025_10_56_54_9784.jpg', '/home/pi/Desktop/images/31122025/10/56/image_31122025_10_57_04_9759.jpg', '/home/pi/Desktop/images/31122025/10/57/image_31122025_10_57_15_10776.jpg', '/home/pi/Desktop/images/31122025/10/57/image_31122025_10_57_25_9717.jpg', '/home/pi/Desktop/images/31122025/10/57/image_31122025_10_57_35_10167.jpg', '/home/pi/Desktop/images/31122025/10/57/image_31122025_10_57_54_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/56/image_31122025_10_56_54_9784.jpg
/home/pi/Desktop/images/31122025/10/56/image_31122025_10_57_04_9759.jpg
/home/pi/Desktop/images/31122025/10/57/image_31122025_10_57_15_10776.jpg
/home/pi/Desktop/images/31122025/10/57/image_31122025_10_57_25_9717.jpg
/home/pi/Desktop/images/31122025/10/57/image_31122025_10_57_35_10167.jpg
/home/pi/Desktop/images/31122025/10/57/image_31122025_10_57_54_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883851","1401883827","1401883847","1401883798","1401883813","1401883797"],"photo_ids_order":["1401883797","1401883798","1401883813","1401883827","1401883847","1401883851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c62f6e8b6a8869cec1f8b8a7e978919.jpg","text":"TemporaryFile(/tmp/multipartBody8118637745247024344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182164132,"filename":"image_31122025_10_57_54_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df292c3dc4a9b4326bfcf297fed1c127.jpg","text":"TemporaryFile(/tmp/multipartBody7925706942202821950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182164132,"filename":"image_31122025_10_57_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/976d457baf8051ba7c6a58cdcb778cae.jpg","text":"TemporaryFile(/tmp/multipartBody4123451516322961142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182164132,"filename":"image_31122025_10_57_35_10167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bb3b310241bc62e769938e1e9c2637e.jpg","text":"TemporaryFile(/tmp/multipartBody5519966394903821819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182164132,"filename":"image_31122025_10_57_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff6873253a2359c782142c443ad81a79.jpg","text":"TemporaryFile(/tmp/multipartBody6209304609750083421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182164132,"filename":"image_31122025_10_57_15_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ede4e173ee84c2052e31a5790f1baeff.jpg","text":"TemporaryFile(/tmp/multipartBody3414321812555520230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182164132,"filename":"image_31122025_10_56_54_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883813","file1":"1401883798","file0":"1401883797","file4":"1401883847","file5":"1401883851","file3":"1401883827"},"map_files_photo_id_array":[{"photo_id":"1401883851","filename":"file5"},{"photo_id":"1401883813","filename":"file2"},{"photo_id":"1401883847","filename":"file4"},{"photo_id":"1401883798","filename":"file1"},{"photo_id":"1401883797","filename":"file0"},{"photo_id":"1401883827","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401883851":["hashtag1","hashtag2"]},{"1401883827":["hashtag1","hashtag2"]},{"1401883847":["hashtag1","hashtag2"]},{"1401883798":["hashtag1","hashtag2"]},{"1401883813":["hashtag1","hashtag2"]},{"1401883797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401883851, 1401883827, 1401883847, 1401883798, 1401883813, 1401883797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81644153594971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:55:42.798123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_01_2629.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_05_3649.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_07_2550.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_10_2671.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_13_3610.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_16_2197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_01_2629.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_05_3649.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_07_2550.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_10_2671.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_13_3610.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_16_2197.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401883856","1401883859","1401883858","1401883855","1401883854","1401883857"],"photo_ids_order":["1401883854","1401883855","1401883856","1401883857","1401883858","1401883859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d4dd72d7cd59fb133627779631ed20b.jpg","text":"TemporaryFile(/tmp/multipartBody9169505987020493830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182204755,"filename":"image_03112025_18_13_07_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdbfe0882aa080ca8ccf5ce3056ffbbd.jpg","text":"TemporaryFile(/tmp/multipartBody6490504036834605473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182204755,"filename":"image_03112025_18_13_16_2197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abfe7542f29f1b6ad31fe3f6b130f2ef.jpg","text":"TemporaryFile(/tmp/multipartBody2890700871607632102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182204755,"filename":"image_03112025_18_13_13_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d40e8ee63702ec44de933caa32692e3b.jpg","text":"TemporaryFile(/tmp/multipartBody7004253454003109826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182204755,"filename":"image_03112025_18_13_05_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b9480cd266cc51c697b3f2b14f37c92.jpg","text":"TemporaryFile(/tmp/multipartBody3882759452418675614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182204755,"filename":"image_03112025_18_13_01_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1e015403e7f09292f3445a4a2c59c24.jpg","text":"TemporaryFile(/tmp/multipartBody8752755766443293244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182204755,"filename":"image_03112025_18_13_10_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401883856","file1":"1401883855","file0":"1401883854","file4":"1401883858","file5":"1401883859","file3":"1401883857"},"map_files_photo_id_array":[{"photo_id":"1401883859","filename":"file5"},{"photo_id":"1401883856","filename":"file2"},{"photo_id":"1401883858","filename":"file4"},{"photo_id":"1401883855","filename":"file1"},{"photo_id":"1401883854","filename":"file0"},{"photo_id":"1401883857","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401883856":["hashtag1","hashtag2"]},{"1401883859":["hashtag1","hashtag2"]},{"1401883858":["hashtag1","hashtag2"]},{"1401883855":["hashtag1","hashtag2"]},{"1401883854":["hashtag1","hashtag2"]},{"1401883857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401883856, 1401883859, 1401883858, 1401883855, 1401883854, 1401883857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08287191390991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 12:56:21.940191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_14_9671.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_24_9798.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_34_9784.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_45_10771.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_55_9747.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_59_04_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_14_9671.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_24_9798.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_34_9784.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_45_10771.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_55_9747.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_59_04_9827.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.595212459564209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:56:31.961487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_19_3665.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_22_3082.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_25_2990.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_28_2515.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_31_2679.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_34_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_19_3665.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_22_3082.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_25_2990.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_28_2515.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_31_2679.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_34_3657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401884087","1401884054","1401884089","1401884080","1401884017","1401884088"],"photo_ids_order":["1401884017","1401884054","1401884080","1401884087","1401884088","1401884089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/195ae1cc5f77c50df04a956f59dd86a3.jpg","text":"TemporaryFile(/tmp/multipartBody3925080322956396501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182253869,"filename":"image_03112025_18_13_28_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97a8d090df95e3196d3953ca66f30834.jpg","text":"TemporaryFile(/tmp/multipartBody3789976783007819025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182253869,"filename":"image_03112025_18_13_22_3082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab30b9c2e8e0bee7944d35304fe89108.jpg","text":"TemporaryFile(/tmp/multipartBody1086523175292765815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182253869,"filename":"image_03112025_18_13_34_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed910170d8019cade0e763e937f2107d.jpg","text":"TemporaryFile(/tmp/multipartBody775815467618588511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182253869,"filename":"image_03112025_18_13_25_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0d3e0682467cad59c5999909ee39269.jpg","text":"TemporaryFile(/tmp/multipartBody9220598990727413413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182253869,"filename":"image_03112025_18_13_19_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2f853a6fb14390f292cb4914f5a0203.jpg","text":"TemporaryFile(/tmp/multipartBody606809937102954218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182253869,"filename":"image_03112025_18_13_31_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401884080","file1":"1401884054","file0":"1401884017","file4":"1401884088","file5":"1401884089","file3":"1401884087"},"map_files_photo_id_array":[{"photo_id":"1401884089","filename":"file5"},{"photo_id":"1401884080","filename":"file2"},{"photo_id":"1401884088","filename":"file4"},{"photo_id":"1401884054","filename":"file1"},{"photo_id":"1401884017","filename":"file0"},{"photo_id":"1401884087","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401884087":["hashtag1","hashtag2"]},{"1401884054":["hashtag1","hashtag2"]},{"1401884089":["hashtag1","hashtag2"]},{"1401884080":["hashtag1","hashtag2"]},{"1401884017":["hashtag1","hashtag2"]},{"1401884088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401884087, 1401884054, 1401884089, 1401884080, 1401884017, 1401884088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42936134338379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:57:12.092498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_37_2623.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_40_2888.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_43_3751.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_46_2581.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_50_4238.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_52_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_37_2623.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_40_2888.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_43_3751.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_46_2581.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_50_4238.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_52_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401884099","1401884090","1401884093","1401884095","1401884097","1401884091"],"photo_ids_order":["1401884090","1401884091","1401884093","1401884095","1401884097","1401884099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/231e9d85a6cb50980fd1158d82f21c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5681670010698799094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182293886,"filename":"image_03112025_18_13_52_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0e8773660ca3d47a1aa7336b6f5a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody3794436535731879721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182293886,"filename":"image_03112025_18_13_37_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92dff01b2e26d0f2af56fec1ee7d6251.jpg","text":"TemporaryFile(/tmp/multipartBody7427539492691800609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182293886,"filename":"image_03112025_18_13_43_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1f6d20f380f4e39deb6e9ffdbdcc7a1.jpg","text":"TemporaryFile(/tmp/multipartBody4024605008789950039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182293886,"filename":"image_03112025_18_13_46_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13df859ae83a69c71895e21bc2fb973e.jpg","text":"TemporaryFile(/tmp/multipartBody3915776086697392804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182293886,"filename":"image_03112025_18_13_50_4238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/893eb03ea7dfb6bcb6515a2927b91a95.jpg","text":"TemporaryFile(/tmp/multipartBody5140278705829871551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182293886,"filename":"image_03112025_18_13_40_2888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401884093","file1":"1401884091","file0":"1401884090","file4":"1401884097","file5":"1401884099","file3":"1401884095"},"map_files_photo_id_array":[{"photo_id":"1401884099","filename":"file5"},{"photo_id":"1401884093","filename":"file2"},{"photo_id":"1401884097","filename":"file4"},{"photo_id":"1401884091","filename":"file1"},{"photo_id":"1401884090","filename":"file0"},{"photo_id":"1401884095","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401884099":["hashtag1","hashtag2"]},{"1401884090":["hashtag1","hashtag2"]},{"1401884093":["hashtag1","hashtag2"]},{"1401884095":["hashtag1","hashtag2"]},{"1401884097":["hashtag1","hashtag2"]},{"1401884091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401884099, 1401884090, 1401884093, 1401884095, 1401884097, 1401884091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13586139678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 12:59:03.299968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_14_9671.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_24_9798.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_34_9784.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_45_10771.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_55_9747.jpg', '/home/pi/Desktop/images/31122025/10/58/image_31122025_10_59_04_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_14_9671.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_24_9798.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_34_9784.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_45_10771.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_58_55_9747.jpg
/home/pi/Desktop/images/31122025/10/58/image_31122025_10_59_04_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401884392","1401884275","1401884317","1401884200","1401884157","1401884238"],"photo_ids_order":["1401884157","1401884200","1401884238","1401884275","1401884317","1401884392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/958000973688120334923b477264ada2.jpg","text":"TemporaryFile(/tmp/multipartBody4761332782937738892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182404074,"filename":"image_31122025_10_59_04_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c9ba9b9e4772303d90fd8baef38c63c.jpg","text":"TemporaryFile(/tmp/multipartBody5244314027516581142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182404074,"filename":"image_31122025_10_58_45_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b41249fe1f9c54bd5b26eed7f665cfaf.jpg","text":"TemporaryFile(/tmp/multipartBody8595012450034690203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182404074,"filename":"image_31122025_10_58_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50bcff29c213120f4aabb29fac5a05a0.jpg","text":"TemporaryFile(/tmp/multipartBody8210733760139136339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182404074,"filename":"image_31122025_10_58_24_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69e7aa289c0b602c94a358c29509eec6.jpg","text":"TemporaryFile(/tmp/multipartBody827333640092714297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182404074,"filename":"image_31122025_10_58_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ac27c232eff1e45ad050a674b32d6b5.jpg","text":"TemporaryFile(/tmp/multipartBody8835566305780574217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182404074,"filename":"image_31122025_10_58_34_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401884238","file1":"1401884200","file0":"1401884157","file4":"1401884317","file5":"1401884392","file3":"1401884275"},"map_files_photo_id_array":[{"photo_id":"1401884392","filename":"file5"},{"photo_id":"1401884238","filename":"file2"},{"photo_id":"1401884317","filename":"file4"},{"photo_id":"1401884200","filename":"file1"},{"photo_id":"1401884157","filename":"file0"},{"photo_id":"1401884275","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401884392":["hashtag1","hashtag2"]},{"1401884275":["hashtag1","hashtag2"]},{"1401884317":["hashtag1","hashtag2"]},{"1401884200":["hashtag1","hashtag2"]},{"1401884157":["hashtag1","hashtag2"]},{"1401884238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401884392, 1401884275, 1401884317, 1401884200, 1401884157, 1401884238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.959169149398804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 12:59:48.336315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_55_2628.jpg', '/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_58_3572.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_07_2614.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_10_2655.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_13_3781.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_16_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_55_2628.jpg
/home/pi/Desktop/images/03112025/18/13/image_03112025_18_13_58_3572.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_07_2614.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_10_2655.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_13_3781.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_16_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401884909","1401885127","1401884752","1401884827","1401885201","1401885012"],"photo_ids_order":["1401884752","1401884827","1401884909","1401885012","1401885127","1401885201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c415e620ab45ad6fd26fa9b365f312b9.jpg","text":"TemporaryFile(/tmp/multipartBody7190906588985561621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182450711,"filename":"image_03112025_18_14_07_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3591eec2f70aa06a7742d56660e57c1d.jpg","text":"TemporaryFile(/tmp/multipartBody8824531872530289806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182450711,"filename":"image_03112025_18_14_13_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f69ead44e57b61d0fb1c411ff991c61.jpg","text":"TemporaryFile(/tmp/multipartBody3807928587828391666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182450711,"filename":"image_03112025_18_13_55_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b186d6551586e05a8864992855c829e2.jpg","text":"TemporaryFile(/tmp/multipartBody5921880670358945526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182450711,"filename":"image_03112025_18_13_58_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebb1ce3920dc5bc7c531f835a448094f.jpg","text":"TemporaryFile(/tmp/multipartBody6721534163455962781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182450711,"filename":"image_03112025_18_14_16_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/450e69006f660ec11fd7f7b897b1aed5.jpg","text":"TemporaryFile(/tmp/multipartBody2034486454018595626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182450711,"filename":"image_03112025_18_14_10_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401884909","file1":"1401884827","file0":"1401884752","file4":"1401885127","file5":"1401885201","file3":"1401885012"},"map_files_photo_id_array":[{"photo_id":"1401885201","filename":"file5"},{"photo_id":"1401884909","filename":"file2"},{"photo_id":"1401885127","filename":"file4"},{"photo_id":"1401884827","filename":"file1"},{"photo_id":"1401884752","filename":"file0"},{"photo_id":"1401885012","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401884909":["hashtag1","hashtag2"]},{"1401885127":["hashtag1","hashtag2"]},{"1401884752":["hashtag1","hashtag2"]},{"1401884827":["hashtag1","hashtag2"]},{"1401885201":["hashtag1","hashtag2"]},{"1401885012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401884909, 1401885127, 1401884752, 1401884827, 1401885201, 1401885012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.173128843307495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:00:42.482268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_19_2513.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_21_2844.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_25_3824.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_28_2546.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_30_2680.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_34_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_19_2513.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_21_2844.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_25_3824.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_28_2546.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_30_2680.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_34_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401886078","1401885722","1401885931","1401885795","1401885864","1401886004"],"photo_ids_order":["1401885722","1401885795","1401885864","1401885931","1401886004","1401886078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93e99aeeffbe4f042f3d38cfeb39f3d5.jpg","text":"TemporaryFile(/tmp/multipartBody1231772420887692342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182504350,"filename":"image_03112025_18_14_34_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/766ced8e6e6e0e286af21ecf335ced74.jpg","text":"TemporaryFile(/tmp/multipartBody5606703912223828552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182504350,"filename":"image_03112025_18_14_19_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/959c345ea4aca15c1e858a24ea985839.jpg","text":"TemporaryFile(/tmp/multipartBody5505973306685791769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182504350,"filename":"image_03112025_18_14_28_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6182d755ef6e563989a907710ebb2e5.jpg","text":"TemporaryFile(/tmp/multipartBody5789296763032658228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182504350,"filename":"image_03112025_18_14_21_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad6b11eadce1fd9ee1483cf5357b195d.jpg","text":"TemporaryFile(/tmp/multipartBody8340587198784026217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182504350,"filename":"image_03112025_18_14_25_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3e82ff143be4a564f040505e0f0d01f.jpg","text":"TemporaryFile(/tmp/multipartBody2691968901537181071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182504350,"filename":"image_03112025_18_14_30_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401885864","file1":"1401885795","file0":"1401885722","file4":"1401886004","file5":"1401886078","file3":"1401885931"},"map_files_photo_id_array":[{"photo_id":"1401886078","filename":"file5"},{"photo_id":"1401885864","filename":"file2"},{"photo_id":"1401886004","filename":"file4"},{"photo_id":"1401885795","filename":"file1"},{"photo_id":"1401885722","filename":"file0"},{"photo_id":"1401885931","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401886078":["hashtag1","hashtag2"]},{"1401885722":["hashtag1","hashtag2"]},{"1401885931":["hashtag1","hashtag2"]},{"1401885795":["hashtag1","hashtag2"]},{"1401885864":["hashtag1","hashtag2"]},{"1401886004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401886078, 1401885722, 1401885931, 1401885795, 1401885864, 1401886004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59188413619995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:01:22.687252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_14_9785.jpg', '/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_24_9821.jpg', '/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_35_10857.jpg', '/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_45_9807.jpg', '/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_54_9826.jpg', '/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_15_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_14_9785.jpg
/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_24_9821.jpg
/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_35_10857.jpg
/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_45_9807.jpg
/home/pi/Desktop/images/31122025/10/59/image_31122025_10_59_54_9826.jpg
/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_15_10052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401886168","1401886167","1401886164","1401886172","1401886166","1401886169"],"photo_ids_order":["1401886164","1401886166","1401886167","1401886168","1401886169","1401886172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ca410d65dcfb8b6bcf00498f9adb842.jpg","text":"TemporaryFile(/tmp/multipartBody2575194091711344224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182543366,"filename":"image_31122025_10_59_45_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd55e3f26421e1a310ca46ad14cdd3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6242066066019115504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182543366,"filename":"image_31122025_10_59_35_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6b6a477123893c782abad3a6f9efd02.jpg","text":"TemporaryFile(/tmp/multipartBody7086530901895011269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182543366,"filename":"image_31122025_10_59_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c97dd242d5d3f008a94dc19cb078a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7879283571839874985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182543366,"filename":"image_31122025_11_00_15_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1f1c91d7d57389bad119ac4c7cd1a43.jpg","text":"TemporaryFile(/tmp/multipartBody8448486962900972136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182543366,"filename":"image_31122025_10_59_24_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f99e2f466bc5e5fb3510d3c224da16e0.jpg","text":"TemporaryFile(/tmp/multipartBody3133708101445902282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182543366,"filename":"image_31122025_10_59_54_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401886167","file1":"1401886166","file0":"1401886164","file4":"1401886169","file5":"1401886172","file3":"1401886168"},"map_files_photo_id_array":[{"photo_id":"1401886172","filename":"file5"},{"photo_id":"1401886167","filename":"file2"},{"photo_id":"1401886169","filename":"file4"},{"photo_id":"1401886166","filename":"file1"},{"photo_id":"1401886164","filename":"file0"},{"photo_id":"1401886168","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401886168":["hashtag1","hashtag2"]},{"1401886167":["hashtag1","hashtag2"]},{"1401886164":["hashtag1","hashtag2"]},{"1401886172":["hashtag1","hashtag2"]},{"1401886166":["hashtag1","hashtag2"]},{"1401886169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401886168, 1401886167, 1401886164, 1401886172, 1401886166, 1401886169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65063500404358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:02:03.214681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_26_10661.jpg', '/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_35_9665.jpg', '/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_45_9800.jpg', '/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_56_10803.jpg', '/home/pi/Desktop/images/31122025/11/00/image_31122025_11_01_06_9701.jpg', '/home/pi/Desktop/images/31122025/11/01/image_31122025_11_01_15_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_26_10661.jpg
/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_35_9665.jpg
/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_45_9800.jpg
/home/pi/Desktop/images/31122025/11/00/image_31122025_11_00_56_10803.jpg
/home/pi/Desktop/images/31122025/11/00/image_31122025_11_01_06_9701.jpg
/home/pi/Desktop/images/31122025/11/01/image_31122025_11_01_15_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401886369","1401886345","1401886408","1401886371","1401886308","1401886367"],"photo_ids_order":["1401886308","1401886345","1401886367","1401886369","1401886371","1401886408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7722ac4dc480472f1902644e15ccab7e.jpg","text":"TemporaryFile(/tmp/multipartBody1262136134901408453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182585171,"filename":"image_31122025_11_00_56_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1de1468b07de7d208d7ceddc9232e8e.jpg","text":"TemporaryFile(/tmp/multipartBody7891930735570837674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182585171,"filename":"image_31122025_11_00_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cd82794857c38fd98cd12d36a89016b.jpg","text":"TemporaryFile(/tmp/multipartBody7512296427056136391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182585171,"filename":"image_31122025_11_01_15_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/547d971a586b778fe4b74eff07e125ee.jpg","text":"TemporaryFile(/tmp/multipartBody1845590420091261799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182585171,"filename":"image_31122025_11_01_06_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c4610a436da1179da36ac14d2aeb0cb.jpg","text":"TemporaryFile(/tmp/multipartBody1762530621135542564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182585171,"filename":"image_31122025_11_00_26_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ba1a910ed823f55aa0f9d6cb7ef0181.jpg","text":"TemporaryFile(/tmp/multipartBody1127939768059655551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182585171,"filename":"image_31122025_11_00_45_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401886367","file1":"1401886345","file0":"1401886308","file4":"1401886371","file5":"1401886408","file3":"1401886369"},"map_files_photo_id_array":[{"photo_id":"1401886408","filename":"file5"},{"photo_id":"1401886367","filename":"file2"},{"photo_id":"1401886371","filename":"file4"},{"photo_id":"1401886345","filename":"file1"},{"photo_id":"1401886308","filename":"file0"},{"photo_id":"1401886369","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401886369":["hashtag1","hashtag2"]},{"1401886345":["hashtag1","hashtag2"]},{"1401886408":["hashtag1","hashtag2"]},{"1401886371":["hashtag1","hashtag2"]},{"1401886308":["hashtag1","hashtag2"]},{"1401886367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401886369, 1401886345, 1401886408, 1401886371, 1401886308, 1401886367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.971906900405884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:02:42.854036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_37_2651.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_40_2741.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_43_3739.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_46_2665.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_48_2555.jpg', '/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_55_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_37_2651.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_40_2741.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_43_3739.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_46_2665.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_48_2555.jpg
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_55_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401886834","1401886872","1401886782","1401886665","1401886715","1401886619"],"photo_ids_order":["1401886619","1401886665","1401886715","1401886782","1401886834","1401886872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/594644f0c0a43246696e072902cc5311.jpg","text":"TemporaryFile(/tmp/multipartBody3529109330642544560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182624762,"filename":"image_03112025_18_14_48_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08cf9aa12f0341b6c2ddf8f19e39b261.jpg","text":"TemporaryFile(/tmp/multipartBody5089775683905697753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182624762,"filename":"image_03112025_18_14_55_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/feba0df51f96ed2f08fd2ee2c2ae4651.jpg","text":"TemporaryFile(/tmp/multipartBody7662515508781210603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182624762,"filename":"image_03112025_18_14_46_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aaf37fdb5bc95fb59ab5380540cc0e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6740082840307184187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182624762,"filename":"image_03112025_18_14_40_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f18b0d9c95a9030715431130540b587e.jpg","text":"TemporaryFile(/tmp/multipartBody4291705986225871301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182624762,"filename":"image_03112025_18_14_43_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c05598db250914930f412972c395bbd7.jpg","text":"TemporaryFile(/tmp/multipartBody7332942799238986868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182624762,"filename":"image_03112025_18_14_37_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401886715","file1":"1401886665","file0":"1401886619","file4":"1401886834","file5":"1401886872","file3":"1401886782"},"map_files_photo_id_array":[{"photo_id":"1401886872","filename":"file5"},{"photo_id":"1401886715","filename":"file2"},{"photo_id":"1401886834","filename":"file4"},{"photo_id":"1401886665","filename":"file1"},{"photo_id":"1401886619","filename":"file0"},{"photo_id":"1401886782","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401886834":["hashtag1","hashtag2"]},{"1401886872":["hashtag1","hashtag2"]},{"1401886782":["hashtag1","hashtag2"]},{"1401886665":["hashtag1","hashtag2"]},{"1401886715":["hashtag1","hashtag2"]},{"1401886619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401886834, 1401886872, 1401886782, 1401886665, 1401886715, 1401886619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71240448951721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:03:21.969517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/01/image_31122025_11_01_25_9640.jpg', '/home/pi/Desktop/images/31122025/11/01/image_31122025_11_01_46_9875.jpg', '/home/pi/Desktop/images/31122025/11/01/image_31122025_11_01_55_9686.jpg', '/home/pi/Desktop/images/31122025/11/01/image_31122025_11_02_06_10661.jpg', '/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_16_9735.jpg', '/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/01/image_31122025_11_01_25_9640.jpg
/home/pi/Desktop/images/31122025/11/01/image_31122025_11_01_46_9875.jpg
/home/pi/Desktop/images/31122025/11/01/image_31122025_11_01_55_9686.jpg
/home/pi/Desktop/images/31122025/11/01/image_31122025_11_02_06_10661.jpg
/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_16_9735.jpg
/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_25_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401886963","1401886957","1401887004","1401887007","1401886985","1401886922"],"photo_ids_order":["1401886922","1401886957","1401886963","1401886985","1401887004","1401887007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22b224fd7b392b1d5a92b35fe55769d9.jpg","text":"TemporaryFile(/tmp/multipartBody2501273224776141760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182662721,"filename":"image_31122025_11_01_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/640c84e40c5059b1798adc30897c3459.jpg","text":"TemporaryFile(/tmp/multipartBody9181363850634124569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182662721,"filename":"image_31122025_11_01_46_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e96834e5f7fd622b4129d16b5cd815cb.jpg","text":"TemporaryFile(/tmp/multipartBody6342141475986567190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182662721,"filename":"image_31122025_11_02_16_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2249c2a8aa065ecf1cdea0d776c892a.jpg","text":"TemporaryFile(/tmp/multipartBody360143910297209640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182662721,"filename":"image_31122025_11_02_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14c255a85d032b9b7552ecd9780d0a33.jpg","text":"TemporaryFile(/tmp/multipartBody7359619190038213213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182662721,"filename":"image_31122025_11_02_06_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c1d374c9bc0437d4fdf676620e9ce40.jpg","text":"TemporaryFile(/tmp/multipartBody9084473591611488044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182662721,"filename":"image_31122025_11_01_25_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401886963","file1":"1401886957","file0":"1401886922","file4":"1401887004","file5":"1401887007","file3":"1401886985"},"map_files_photo_id_array":[{"photo_id":"1401887007","filename":"file5"},{"photo_id":"1401886963","filename":"file2"},{"photo_id":"1401887004","filename":"file4"},{"photo_id":"1401886957","filename":"file1"},{"photo_id":"1401886922","filename":"file0"},{"photo_id":"1401886985","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401886963":["hashtag1","hashtag2"]},{"1401886957":["hashtag1","hashtag2"]},{"1401887004":["hashtag1","hashtag2"]},{"1401887007":["hashtag1","hashtag2"]},{"1401886985":["hashtag1","hashtag2"]},{"1401886922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401886963, 1401886957, 1401887004, 1401887007, 1401886985, 1401886922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.158620834350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:04:02.857093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_35_9781.jpg', '/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_46_10833.jpg', '/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_56_9744.jpg', '/home/pi/Desktop/images/31122025/11/02/image_31122025_11_03_05_9849.jpg', '/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_15_9832.jpg', '/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_25_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_35_9781.jpg
/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_46_10833.jpg
/home/pi/Desktop/images/31122025/11/02/image_31122025_11_02_56_9744.jpg
/home/pi/Desktop/images/31122025/11/02/image_31122025_11_03_05_9849.jpg
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_15_9832.jpg
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_25_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887014","1401887017","1401887010","1401887013","1401887012","1401887015"],"photo_ids_order":["1401887010","1401887012","1401887013","1401887014","1401887015","1401887017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b435e56a08716f9cbbac6ecb88a8cec.jpg","text":"TemporaryFile(/tmp/multipartBody5243440232695907526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182703686,"filename":"image_31122025_11_03_05_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4329741fee3760ae57513ffa59a798a.jpg","text":"TemporaryFile(/tmp/multipartBody3002678320133682356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182703686,"filename":"image_31122025_11_03_25_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d8079f0412abfe1ebcb025b13c5db21.jpg","text":"TemporaryFile(/tmp/multipartBody680464189402824590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182703686,"filename":"image_31122025_11_02_35_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87bd86323ddf5673887f7298677b5a42.jpg","text":"TemporaryFile(/tmp/multipartBody8017938914311164336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182703686,"filename":"image_31122025_11_02_56_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ceda031552fd1741c1f18c7ffc0a1152.jpg","text":"TemporaryFile(/tmp/multipartBody8076199021616142338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182703686,"filename":"image_31122025_11_02_46_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1884adde06ed182017716ed6069501c.jpg","text":"TemporaryFile(/tmp/multipartBody3185409910014873484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182703686,"filename":"image_31122025_11_03_15_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887013","file1":"1401887012","file0":"1401887010","file4":"1401887015","file5":"1401887017","file3":"1401887014"},"map_files_photo_id_array":[{"photo_id":"1401887017","filename":"file5"},{"photo_id":"1401887013","filename":"file2"},{"photo_id":"1401887015","filename":"file4"},{"photo_id":"1401887012","filename":"file1"},{"photo_id":"1401887010","filename":"file0"},{"photo_id":"1401887014","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887014":["hashtag1","hashtag2"]},{"1401887017":["hashtag1","hashtag2"]},{"1401887010":["hashtag1","hashtag2"]},{"1401887013":["hashtag1","hashtag2"]},{"1401887012":["hashtag1","hashtag2"]},{"1401887015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887014, 1401887017, 1401887010, 1401887013, 1401887012, 1401887015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93822264671326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:04:42.187129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_58_3681.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_03_2543.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_07_3756.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_13_3571.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_16_2500.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_19_3253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/14/image_03112025_18_14_58_3681.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_03_2543.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_07_3756.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_13_3571.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_16_2500.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_19_3253.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887026","1401887028","1401887022","1401887025","1401887027","1401887024"],"photo_ids_order":["1401887022","1401887024","1401887025","1401887026","1401887027","1401887028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ecc34699870bf93d776df0562c94934.jpg","text":"TemporaryFile(/tmp/multipartBody8753370235331295494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182744105,"filename":"image_03112025_18_15_13_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d553c3997c456e7286af450423d66ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8112402326935375076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182744105,"filename":"image_03112025_18_15_19_3253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80d0c8b9d329e59571dba2d9781aff2a.jpg","text":"TemporaryFile(/tmp/multipartBody2036890881846308977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182744105,"filename":"image_03112025_18_14_58_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a8031ef091b30c8e07e2e245c235801.jpg","text":"TemporaryFile(/tmp/multipartBody5698508957676629027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182744105,"filename":"image_03112025_18_15_07_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a2fb959bb95c655654355bc1fdcb04e.jpg","text":"TemporaryFile(/tmp/multipartBody9184077600855734938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182744105,"filename":"image_03112025_18_15_16_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86563d7741d3ca7d791498f25280989d.jpg","text":"TemporaryFile(/tmp/multipartBody7777256286348821744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182744105,"filename":"image_03112025_18_15_03_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887025","file1":"1401887024","file0":"1401887022","file4":"1401887027","file5":"1401887028","file3":"1401887026"},"map_files_photo_id_array":[{"photo_id":"1401887028","filename":"file5"},{"photo_id":"1401887025","filename":"file2"},{"photo_id":"1401887027","filename":"file4"},{"photo_id":"1401887024","filename":"file1"},{"photo_id":"1401887022","filename":"file0"},{"photo_id":"1401887026","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887026":["hashtag1","hashtag2"]},{"1401887028":["hashtag1","hashtag2"]},{"1401887022":["hashtag1","hashtag2"]},{"1401887025":["hashtag1","hashtag2"]},{"1401887027":["hashtag1","hashtag2"]},{"1401887024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887026, 1401887028, 1401887022, 1401887025, 1401887027, 1401887024)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401887025 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_07_3756.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.325547218322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:05:42.391742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_22_2576.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_25_3196.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_27_2649.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_31_3578.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_34_2722.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_36_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_22_2576.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_25_3196.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_27_2649.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_31_3578.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_34_2722.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_36_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887050","1401887047","1401887035","1401887046","1401887049","1401887048"],"photo_ids_order":["1401887035","1401887046","1401887047","1401887048","1401887049","1401887050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bad8c475993aee28a82bba5ddb4c3caa.jpg","text":"TemporaryFile(/tmp/multipartBody4623818300339584854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182804303,"filename":"image_03112025_18_15_36_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f517f4301598a6cc908b50138bdc23a9.jpg","text":"TemporaryFile(/tmp/multipartBody6183907145729671382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182804303,"filename":"image_03112025_18_15_27_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bb327769b83dcb1fd60e6503ed35061.jpg","text":"TemporaryFile(/tmp/multipartBody3273507450175629604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182804303,"filename":"image_03112025_18_15_22_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76d1944f4b30af59d8dde2f447d4c687.jpg","text":"TemporaryFile(/tmp/multipartBody2386671162573797173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182804303,"filename":"image_03112025_18_15_25_3196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6d7d88e4126b17e8815c4565b69724d.jpg","text":"TemporaryFile(/tmp/multipartBody38150785793227647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182804303,"filename":"image_03112025_18_15_34_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1f5e64ba64f562eaae24094955589ad.jpg","text":"TemporaryFile(/tmp/multipartBody903375637576244757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182804303,"filename":"image_03112025_18_15_31_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887047","file1":"1401887046","file0":"1401887035","file4":"1401887049","file5":"1401887050","file3":"1401887048"},"map_files_photo_id_array":[{"photo_id":"1401887050","filename":"file5"},{"photo_id":"1401887047","filename":"file2"},{"photo_id":"1401887049","filename":"file4"},{"photo_id":"1401887046","filename":"file1"},{"photo_id":"1401887035","filename":"file0"},{"photo_id":"1401887048","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887050":["hashtag1","hashtag2"]},{"1401887047":["hashtag1","hashtag2"]},{"1401887035":["hashtag1","hashtag2"]},{"1401887046":["hashtag1","hashtag2"]},{"1401887049":["hashtag1","hashtag2"]},{"1401887048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887050, 1401887047, 1401887035, 1401887046, 1401887049, 1401887048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76602840423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:06:22.493709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_35_9820.jpg', '/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_46_10696.jpg', '/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_55_9750.jpg', '/home/pi/Desktop/images/31122025/11/03/image_31122025_11_04_05_9784.jpg', '/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_15_9760.jpg', '/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_26_10869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_35_9820.jpg
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_46_10696.jpg
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_55_9750.jpg
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_04_05_9784.jpg
/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_15_9760.jpg
/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_26_10869.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5556595325469971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:06:32.492146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_40_3598.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_43_2778.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_52_2652.jpg', '/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_55_2783.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_01_2612.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_04_3295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_40_3598.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_43_2778.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_52_2652.jpg
/home/pi/Desktop/images/03112025/18/15/image_03112025_18_15_55_2783.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_01_2612.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_04_3295.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887064","1401887067","1401887057","1401887066","1401887060","1401887068"],"photo_ids_order":["1401887057","1401887060","1401887064","1401887066","1401887067","1401887068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be277b83b4d75dc121444f4f37ef2310.jpg","text":"TemporaryFile(/tmp/multipartBody3694596956741998400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182854281,"filename":"image_03112025_18_15_52_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4dad2cd76274e75826e96367bbfebb10.jpg","text":"TemporaryFile(/tmp/multipartBody7402973511524406251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182854281,"filename":"image_03112025_18_16_01_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b506749a51efe58bb4a614fef03d18f.jpg","text":"TemporaryFile(/tmp/multipartBody6712186825722365708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182854281,"filename":"image_03112025_18_15_40_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55f395ea58cebbe766dec9b4eca3a130.jpg","text":"TemporaryFile(/tmp/multipartBody8601631936129779614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182854281,"filename":"image_03112025_18_15_55_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfd307ae15a508bbf943dac832f7aa83.jpg","text":"TemporaryFile(/tmp/multipartBody4297355597283565330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182854281,"filename":"image_03112025_18_15_43_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/840aca7777d5fa4183cd846bc9adf8e9.jpg","text":"TemporaryFile(/tmp/multipartBody3332399901681594237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182854281,"filename":"image_03112025_18_16_04_3295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887064","file1":"1401887060","file0":"1401887057","file4":"1401887067","file5":"1401887068","file3":"1401887066"},"map_files_photo_id_array":[{"photo_id":"1401887068","filename":"file5"},{"photo_id":"1401887064","filename":"file2"},{"photo_id":"1401887067","filename":"file4"},{"photo_id":"1401887060","filename":"file1"},{"photo_id":"1401887057","filename":"file0"},{"photo_id":"1401887066","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887064":["hashtag1","hashtag2"]},{"1401887067":["hashtag1","hashtag2"]},{"1401887057":["hashtag1","hashtag2"]},{"1401887066":["hashtag1","hashtag2"]},{"1401887060":["hashtag1","hashtag2"]},{"1401887068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887064, 1401887067, 1401887057, 1401887066, 1401887060, 1401887068)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.75173282623291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:07:21.865031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_35_9820.jpg', '/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_46_10696.jpg', '/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_55_9750.jpg', '/home/pi/Desktop/images/31122025/11/03/image_31122025_11_04_05_9784.jpg', '/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_15_9760.jpg', '/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_26_10869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_35_9820.jpg
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_46_10696.jpg
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_03_55_9750.jpg
/home/pi/Desktop/images/31122025/11/03/image_31122025_11_04_05_9784.jpg
/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_15_9760.jpg
/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_26_10869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887070","1401887076","1401887078","1401887072","1401887080","1401887074"],"photo_ids_order":["1401887070","1401887072","1401887074","1401887076","1401887078","1401887080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f08ca2d1f57d55c6c2fb4433e8caaaa1.jpg","text":"TemporaryFile(/tmp/multipartBody36233018015390402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182902525,"filename":"image_31122025_11_03_35_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bac531c8fa6f192284884cf22927343b.jpg","text":"TemporaryFile(/tmp/multipartBody2731965018696804212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182902525,"filename":"image_31122025_11_04_05_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6608f34b1a35f1bd004c8dcd00b09018.jpg","text":"TemporaryFile(/tmp/multipartBody7177805617673706304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182902525,"filename":"image_31122025_11_04_15_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65b36c53ed4e8d0380a3d7c3e485954e.jpg","text":"TemporaryFile(/tmp/multipartBody3845669274304580120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182902525,"filename":"image_31122025_11_03_46_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7122346799a676c5f13531aebe312a8b.jpg","text":"TemporaryFile(/tmp/multipartBody5473620705363806111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182902525,"filename":"image_31122025_11_04_26_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43ac39e3e0922a7c3e3af57b3f048552.jpg","text":"TemporaryFile(/tmp/multipartBody7498626292886181959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182902525,"filename":"image_31122025_11_03_55_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887074","file1":"1401887072","file0":"1401887070","file4":"1401887078","file5":"1401887080","file3":"1401887076"},"map_files_photo_id_array":[{"photo_id":"1401887080","filename":"file5"},{"photo_id":"1401887074","filename":"file2"},{"photo_id":"1401887078","filename":"file4"},{"photo_id":"1401887072","filename":"file1"},{"photo_id":"1401887070","filename":"file0"},{"photo_id":"1401887076","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887070":["hashtag1","hashtag2"]},{"1401887076":["hashtag1","hashtag2"]},{"1401887078":["hashtag1","hashtag2"]},{"1401887072":["hashtag1","hashtag2"]},{"1401887080":["hashtag1","hashtag2"]},{"1401887074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887070, 1401887076, 1401887078, 1401887072, 1401887080, 1401887074)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.623321533203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:08:11.947852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_10_3671.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_13_2829.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_16_2640.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_22_3549.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_30_5114.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_35_5745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_10_3671.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_13_2829.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_16_2640.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_22_3549.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_30_5114.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_35_5745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887085","1401887088","1401887090","1401887084","1401887092","1401887086"],"photo_ids_order":["1401887084","1401887085","1401887086","1401887088","1401887090","1401887092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4173c9135b2037ade594a0db358af5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4775207253061103587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182953803,"filename":"image_03112025_18_16_13_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73ba5c7665e10b3808d174e37246c0ec.jpg","text":"TemporaryFile(/tmp/multipartBody1580659172621790177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182953803,"filename":"image_03112025_18_16_22_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc7afeda6eba05d6b6cb9624475be0db.jpg","text":"TemporaryFile(/tmp/multipartBody4634138526146828080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182953803,"filename":"image_03112025_18_16_30_5114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5d6dff48e4ee4453c776fffe2a5b37e.jpg","text":"TemporaryFile(/tmp/multipartBody2957865628315756489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182953803,"filename":"image_03112025_18_16_10_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f83c3e9a42d48ed92d5268a40572a22.jpg","text":"TemporaryFile(/tmp/multipartBody3012422976424537475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182953803,"filename":"image_03112025_18_16_35_5745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b40086f1b017035cfa409ef130e8e25.jpg","text":"TemporaryFile(/tmp/multipartBody1221842123271773638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767182953803,"filename":"image_03112025_18_16_16_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887086","file1":"1401887085","file0":"1401887084","file4":"1401887090","file5":"1401887092","file3":"1401887088"},"map_files_photo_id_array":[{"photo_id":"1401887092","filename":"file5"},{"photo_id":"1401887086","filename":"file2"},{"photo_id":"1401887090","filename":"file4"},{"photo_id":"1401887085","filename":"file1"},{"photo_id":"1401887084","filename":"file0"},{"photo_id":"1401887088","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887085":["hashtag1","hashtag2"]},{"1401887088":["hashtag1","hashtag2"]},{"1401887090":["hashtag1","hashtag2"]},{"1401887084":["hashtag1","hashtag2"]},{"1401887092":["hashtag1","hashtag2"]},{"1401887086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887085, 1401887088, 1401887090, 1401887084, 1401887092, 1401887086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64407181739807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:09:03.185286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_46_9876.jpg', '/home/pi/Desktop/images/31122025/11/05/image_31122025_11_05_14_10048.jpg', '/home/pi/Desktop/images/31122025/11/05/image_31122025_11_05_35_9736.jpg', '/home/pi/Desktop/images/31122025/11/05/image_31122025_11_05_45_9691.jpg', '/home/pi/Desktop/images/31122025/11/05/image_31122025_11_05_54_9668.jpg', '/home/pi/Desktop/images/31122025/11/05/image_31122025_11_06_05_10799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/04/image_31122025_11_04_46_9876.jpg
/home/pi/Desktop/images/31122025/11/05/image_31122025_11_05_14_10048.jpg
/home/pi/Desktop/images/31122025/11/05/image_31122025_11_05_35_9736.jpg
/home/pi/Desktop/images/31122025/11/05/image_31122025_11_05_45_9691.jpg
/home/pi/Desktop/images/31122025/11/05/image_31122025_11_05_54_9668.jpg
/home/pi/Desktop/images/31122025/11/05/image_31122025_11_06_05_10799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887110","1401887107","1401887115","1401887109","1401887112","1401887108"],"photo_ids_order":["1401887107","1401887108","1401887109","1401887110","1401887112","1401887115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03ac8f16522137a9e3c934bff0923bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6341768768528126133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183004113,"filename":"image_31122025_11_05_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/761ed6701a33d762ca4acb9ae11cef48.jpg","text":"TemporaryFile(/tmp/multipartBody3215131173181906334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183004113,"filename":"image_31122025_11_04_46_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f4afddb9b5a4f910201556fa3eec1ab.jpg","text":"TemporaryFile(/tmp/multipartBody477342665459520919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183004113,"filename":"image_31122025_11_06_05_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8db87f8d7233814c312532eef80127cd.jpg","text":"TemporaryFile(/tmp/multipartBody3007577063186948547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183004113,"filename":"image_31122025_11_05_35_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afa3977db0181306b5fdeeeaf822fc04.jpg","text":"TemporaryFile(/tmp/multipartBody4266733765992651487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183004113,"filename":"image_31122025_11_05_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c808c431c67bd8987dcf96b78713636.jpg","text":"TemporaryFile(/tmp/multipartBody2485123072605554669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183004113,"filename":"image_31122025_11_05_14_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887109","file1":"1401887108","file0":"1401887107","file4":"1401887112","file5":"1401887115","file3":"1401887110"},"map_files_photo_id_array":[{"photo_id":"1401887115","filename":"file5"},{"photo_id":"1401887109","filename":"file2"},{"photo_id":"1401887112","filename":"file4"},{"photo_id":"1401887108","filename":"file1"},{"photo_id":"1401887107","filename":"file0"},{"photo_id":"1401887110","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887110":["hashtag1","hashtag2"]},{"1401887107":["hashtag1","hashtag2"]},{"1401887115":["hashtag1","hashtag2"]},{"1401887109":["hashtag1","hashtag2"]},{"1401887112":["hashtag1","hashtag2"]},{"1401887108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887110, 1401887107, 1401887115, 1401887109, 1401887112, 1401887108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91787338256836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:10:04.974486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_15_9681.jpg', '/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_24_9732.jpg', '/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_35_10656.jpg', '/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_45_9771.jpg', '/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_55_9796.jpg', '/home/pi/Desktop/images/31122025/11/07/image_31122025_11_07_15_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_15_9681.jpg
/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_24_9732.jpg
/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_35_10656.jpg
/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_45_9771.jpg
/home/pi/Desktop/images/31122025/11/06/image_31122025_11_06_55_9796.jpg
/home/pi/Desktop/images/31122025/11/07/image_31122025_11_07_15_10761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887122","1401887128","1401887130","1401887124","1401887126","1401887123"],"photo_ids_order":["1401887122","1401887123","1401887124","1401887126","1401887128","1401887130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d6318a8496d7b953970bc3186888be1.jpg","text":"TemporaryFile(/tmp/multipartBody5101977790916430586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183065745,"filename":"image_31122025_11_06_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60dbd97ee45de399030d26c04a03adde.jpg","text":"TemporaryFile(/tmp/multipartBody8244723461892333309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183065745,"filename":"image_31122025_11_06_55_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e9e051642e62fc5cec46e2e7365dd0c.jpg","text":"TemporaryFile(/tmp/multipartBody3921620636258661883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183065745,"filename":"image_31122025_11_07_15_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6a7d8ae03c81e1905844a95798b166c.jpg","text":"TemporaryFile(/tmp/multipartBody1063151890635916433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183065745,"filename":"image_31122025_11_06_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a5140a8f77ea65c25562486fb7c5a69.jpg","text":"TemporaryFile(/tmp/multipartBody4837825337020436036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183065745,"filename":"image_31122025_11_06_45_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f324cf183b3d4f356256169d917b060d.jpg","text":"TemporaryFile(/tmp/multipartBody5611998817652728302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183065745,"filename":"image_31122025_11_06_24_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887124","file1":"1401887123","file0":"1401887122","file4":"1401887128","file5":"1401887130","file3":"1401887126"},"map_files_photo_id_array":[{"photo_id":"1401887130","filename":"file5"},{"photo_id":"1401887124","filename":"file2"},{"photo_id":"1401887128","filename":"file4"},{"photo_id":"1401887123","filename":"file1"},{"photo_id":"1401887122","filename":"file0"},{"photo_id":"1401887126","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887122":["hashtag1","hashtag2"]},{"1401887128":["hashtag1","hashtag2"]},{"1401887130":["hashtag1","hashtag2"]},{"1401887124":["hashtag1","hashtag2"]},{"1401887126":["hashtag1","hashtag2"]},{"1401887123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887122, 1401887128, 1401887130, 1401887124, 1401887126, 1401887123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17631983757019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:10:44.672350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_37_1688.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_39_1577.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_40_1520.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_46_5991.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_48_1729.jpg', '/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_50_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_37_1688.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_39_1577.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_40_1520.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_46_5991.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_48_1729.jpg
/home/pi/Desktop/images/03112025/18/16/image_03112025_18_16_50_1685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887137","1401887134","1401887136","1401887138","1401887135","1401887140"],"photo_ids_order":["1401887134","1401887135","1401887136","1401887137","1401887138","1401887140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/703ac0145ac9ee772a8459462dd7dbd0.jpg","text":"TemporaryFile(/tmp/multipartBody7549826933392975466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183106650,"filename":"image_03112025_18_16_46_5991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da66c5174c432923af48a4963f1e0897.jpg","text":"TemporaryFile(/tmp/multipartBody5638872249842539415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183106650,"filename":"image_03112025_18_16_37_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/685c14b9d51ff4109878395a80fc3a04.jpg","text":"TemporaryFile(/tmp/multipartBody1572048279536510266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183106650,"filename":"image_03112025_18_16_40_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75a3eff2b5a6fe240b979f699b977562.jpg","text":"TemporaryFile(/tmp/multipartBody6649369451214455182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183106650,"filename":"image_03112025_18_16_48_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/308c511c713a6bff7782d2bd9b8fcafd.jpg","text":"TemporaryFile(/tmp/multipartBody6218978074049117558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183106650,"filename":"image_03112025_18_16_39_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27848f25e963c3cd740f1c3c6087fb7b.jpg","text":"TemporaryFile(/tmp/multipartBody2593584076870122015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183106650,"filename":"image_03112025_18_16_50_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887136","file1":"1401887135","file0":"1401887134","file4":"1401887138","file5":"1401887140","file3":"1401887137"},"map_files_photo_id_array":[{"photo_id":"1401887140","filename":"file5"},{"photo_id":"1401887136","filename":"file2"},{"photo_id":"1401887138","filename":"file4"},{"photo_id":"1401887135","filename":"file1"},{"photo_id":"1401887134","filename":"file0"},{"photo_id":"1401887137","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887137":["hashtag1","hashtag2"]},{"1401887134":["hashtag1","hashtag2"]},{"1401887136":["hashtag1","hashtag2"]},{"1401887138":["hashtag1","hashtag2"]},{"1401887135":["hashtag1","hashtag2"]},{"1401887140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887137, 1401887134, 1401887136, 1401887138, 1401887135, 1401887140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57258081436157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:11:32.808836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_01_2900.jpg', '/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_06_2705.jpg', '/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_21_5406.jpg', '/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_29_8627.jpg', '/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_53_3039.jpg', '/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_54_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_01_2900.jpg
/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_06_2705.jpg
/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_21_5406.jpg
/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_29_8627.jpg
/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_53_3039.jpg
/home/pi/Desktop/images/03112025/18/17/image_03112025_18_17_54_1632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887164","1401887163","1401887145","1401887159","1401887150","1401887147"],"photo_ids_order":["1401887145","1401887147","1401887150","1401887159","1401887163","1401887164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f9ac2dedbb2a80eeed016d801e7f32b.jpg","text":"TemporaryFile(/tmp/multipartBody2766722565098718029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183154749,"filename":"image_03112025_18_17_54_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/971bd78c80db0b94ee6e9311de256ed5.jpg","text":"TemporaryFile(/tmp/multipartBody1752267091653340728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183154749,"filename":"image_03112025_18_17_53_3039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8fcf07060f53554fc076b0a7d20b1ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5784568326536567938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183154749,"filename":"image_03112025_18_17_01_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b152be1d9944a781f15e2566271b61f8.jpg","text":"TemporaryFile(/tmp/multipartBody2542798254736815996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183154749,"filename":"image_03112025_18_17_29_8627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3bd5d94f84e44c3ef5a8b32d2d444b7.jpg","text":"TemporaryFile(/tmp/multipartBody8677230287188994457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183154749,"filename":"image_03112025_18_17_21_5406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef2b300e953b6ae1bf35e61151b41a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6296474474884470222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183154749,"filename":"image_03112025_18_17_06_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887150","file1":"1401887147","file0":"1401887145","file4":"1401887163","file5":"1401887164","file3":"1401887159"},"map_files_photo_id_array":[{"photo_id":"1401887164","filename":"file5"},{"photo_id":"1401887150","filename":"file2"},{"photo_id":"1401887163","filename":"file4"},{"photo_id":"1401887147","filename":"file1"},{"photo_id":"1401887145","filename":"file0"},{"photo_id":"1401887159","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887164":["hashtag1","hashtag2"]},{"1401887163":["hashtag1","hashtag2"]},{"1401887145":["hashtag1","hashtag2"]},{"1401887159":["hashtag1","hashtag2"]},{"1401887150":["hashtag1","hashtag2"]},{"1401887147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887164, 1401887163, 1401887145, 1401887159, 1401887150, 1401887147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.405128479003906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:12:11.964825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_13_1718.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_14_1547.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_16_1572.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_17_1497.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_19_1735.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_21_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_13_1718.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_14_1547.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_16_1572.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_17_1497.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_19_1735.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_21_1644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887172","1401887166","1401887174","1401887165","1401887168","1401887170"],"photo_ids_order":["1401887165","1401887166","1401887168","1401887170","1401887172","1401887174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b08f1bfa913a540d941062c7b6549635.jpg","text":"TemporaryFile(/tmp/multipartBody4036271165048113705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183193783,"filename":"image_03112025_18_18_19_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bfa38d73c79f21f18e3618ef86c8ea0.jpg","text":"TemporaryFile(/tmp/multipartBody2231415242274438926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183193783,"filename":"image_03112025_18_18_14_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/605f8086f667239e54864a17c8b55cb9.jpg","text":"TemporaryFile(/tmp/multipartBody6988289287444760584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183193783,"filename":"image_03112025_18_18_21_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3efe99414d816856bc61207d5552bda9.jpg","text":"TemporaryFile(/tmp/multipartBody8751150875246289409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183193783,"filename":"image_03112025_18_18_13_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbed60e81a6f044cb3102e5fdb7cb6df.jpg","text":"TemporaryFile(/tmp/multipartBody7590330586301924954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183193783,"filename":"image_03112025_18_18_16_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a5f8777827299a04c172582cca682d0.jpg","text":"TemporaryFile(/tmp/multipartBody6538315986726063736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183193783,"filename":"image_03112025_18_18_17_1497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887168","file1":"1401887166","file0":"1401887165","file4":"1401887172","file5":"1401887174","file3":"1401887170"},"map_files_photo_id_array":[{"photo_id":"1401887174","filename":"file5"},{"photo_id":"1401887168","filename":"file2"},{"photo_id":"1401887172","filename":"file4"},{"photo_id":"1401887166","filename":"file1"},{"photo_id":"1401887165","filename":"file0"},{"photo_id":"1401887170","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887172":["hashtag1","hashtag2"]},{"1401887166":["hashtag1","hashtag2"]},{"1401887174":["hashtag1","hashtag2"]},{"1401887165":["hashtag1","hashtag2"]},{"1401887168":["hashtag1","hashtag2"]},{"1401887170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887172, 1401887166, 1401887174, 1401887165, 1401887168, 1401887170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70880579948425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:13:02.710338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/07/image_31122025_11_07_55_9665.jpg', '/home/pi/Desktop/images/31122025/11/07/image_31122025_11_08_05_9869.jpg', '/home/pi/Desktop/images/31122025/11/08/image_31122025_11_08_14_9624.jpg', '/home/pi/Desktop/images/31122025/11/08/image_31122025_11_08_35_9678.jpg', '/home/pi/Desktop/images/31122025/11/08/image_31122025_11_08_45_9740.jpg', '/home/pi/Desktop/images/31122025/11/08/image_31122025_11_08_54_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/07/image_31122025_11_07_55_9665.jpg
/home/pi/Desktop/images/31122025/11/07/image_31122025_11_08_05_9869.jpg
/home/pi/Desktop/images/31122025/11/08/image_31122025_11_08_14_9624.jpg
/home/pi/Desktop/images/31122025/11/08/image_31122025_11_08_35_9678.jpg
/home/pi/Desktop/images/31122025/11/08/image_31122025_11_08_45_9740.jpg
/home/pi/Desktop/images/31122025/11/08/image_31122025_11_08_54_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887181","1401887178","1401887180","1401887183","1401887177","1401887179"],"photo_ids_order":["1401887177","1401887178","1401887179","1401887180","1401887181","1401887183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7092ec6d398f337e613e86c1e5504975.jpg","text":"TemporaryFile(/tmp/multipartBody1347835759339927231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183243515,"filename":"image_31122025_11_08_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77eac6b95bc0e2837b58a224b318f7be.jpg","text":"TemporaryFile(/tmp/multipartBody2532888592435032430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183243515,"filename":"image_31122025_11_08_05_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8824a433907e4bd9a5842a6e64b3649.jpg","text":"TemporaryFile(/tmp/multipartBody8491024643790036862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183243515,"filename":"image_31122025_11_08_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dccab0f1e3c6e56672c4530c6351e59.jpg","text":"TemporaryFile(/tmp/multipartBody8726242130588211104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183243515,"filename":"image_31122025_11_08_54_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30a7e5e91331a91e06ab1442d34a0913.jpg","text":"TemporaryFile(/tmp/multipartBody1718731132648175250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183243515,"filename":"image_31122025_11_07_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/050c97ed946ad17fe702a6e454cda9f4.jpg","text":"TemporaryFile(/tmp/multipartBody280086334076393866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183243515,"filename":"image_31122025_11_08_14_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887179","file1":"1401887178","file0":"1401887177","file4":"1401887181","file5":"1401887183","file3":"1401887180"},"map_files_photo_id_array":[{"photo_id":"1401887183","filename":"file5"},{"photo_id":"1401887179","filename":"file2"},{"photo_id":"1401887181","filename":"file4"},{"photo_id":"1401887178","filename":"file1"},{"photo_id":"1401887177","filename":"file0"},{"photo_id":"1401887180","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887181":["hashtag1","hashtag2"]},{"1401887178":["hashtag1","hashtag2"]},{"1401887180":["hashtag1","hashtag2"]},{"1401887183":["hashtag1","hashtag2"]},{"1401887177":["hashtag1","hashtag2"]},{"1401887179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887181, 1401887178, 1401887180, 1401887183, 1401887177, 1401887179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55396389961243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:13:42.237013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_30_2659.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_34_3517.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_42_7797.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_45_3216.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_51_1628.jpg', '/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_58_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_30_2659.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_34_3517.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_42_7797.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_45_3216.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_51_1628.jpg
/home/pi/Desktop/images/03112025/18/18/image_03112025_18_18_58_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401887196","1401887193","1401887192","1401887189","1401887191","1401887194"],"photo_ids_order":["1401887189","1401887191","1401887192","1401887193","1401887194","1401887196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0301ba9b01e25b8b82418c09581e1465.jpg","text":"TemporaryFile(/tmp/multipartBody3378955446327468942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183284133,"filename":"image_03112025_18_18_58_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2248ab9ade6c8ff9bec7bfcda29881c.jpg","text":"TemporaryFile(/tmp/multipartBody3796666353269273961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183284133,"filename":"image_03112025_18_18_45_3216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c955be374ef21936551923cf71bd9858.jpg","text":"TemporaryFile(/tmp/multipartBody5579027103455293531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183284133,"filename":"image_03112025_18_18_42_7797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ea9107690bd3c9aa9d4f7573dd45f62.jpg","text":"TemporaryFile(/tmp/multipartBody6662902430010964147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183284133,"filename":"image_03112025_18_18_30_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25d5514e67662ad9982241fbaea85e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2996945021659141893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183284133,"filename":"image_03112025_18_18_34_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90d0b44667dd7f689932a309fef5ef1b.jpg","text":"TemporaryFile(/tmp/multipartBody1167535788543904296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183284133,"filename":"image_03112025_18_18_51_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887192","file1":"1401887191","file0":"1401887189","file4":"1401887194","file5":"1401887196","file3":"1401887193"},"map_files_photo_id_array":[{"photo_id":"1401887196","filename":"file5"},{"photo_id":"1401887192","filename":"file2"},{"photo_id":"1401887194","filename":"file4"},{"photo_id":"1401887191","filename":"file1"},{"photo_id":"1401887189","filename":"file0"},{"photo_id":"1401887193","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887196":["hashtag1","hashtag2"]},{"1401887193":["hashtag1","hashtag2"]},{"1401887192":["hashtag1","hashtag2"]},{"1401887189":["hashtag1","hashtag2"]},{"1401887191":["hashtag1","hashtag2"]},{"1401887194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887196, 1401887193, 1401887192, 1401887189, 1401887191, 1401887194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04726815223694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:14:32.449284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_07_2686.jpg', '/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_12_2538.jpg', '/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_16_3620.jpg', '/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_19_2919.jpg', '/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_25_3643.jpg', '/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_48_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_07_2686.jpg
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_12_2538.jpg
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_16_3620.jpg
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_19_2919.jpg
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_25_3643.jpg
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_48_2823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887221","1401887206","1401887209","1401887220","1401887219","1401887204"],"photo_ids_order":["1401887204","1401887206","1401887209","1401887219","1401887220","1401887221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4fbbb9e67327d348f061ff9ce4066b6.jpg","text":"TemporaryFile(/tmp/multipartBody3059356718968890307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183334405,"filename":"image_03112025_18_19_48_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bccfef4e56dbc7561071dfe6ee91456.jpg","text":"TemporaryFile(/tmp/multipartBody2207295843382307677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183334405,"filename":"image_03112025_18_19_12_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e58926295ac6995bb5df6457e7ae82d.jpg","text":"TemporaryFile(/tmp/multipartBody1133241730085030606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183334405,"filename":"image_03112025_18_19_16_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c731bf70e12ea8b61705e17e9c51fa5e.jpg","text":"TemporaryFile(/tmp/multipartBody4417625210061115241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183334405,"filename":"image_03112025_18_19_25_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/855fd806c56cef3372050a00f0c2e74c.jpg","text":"TemporaryFile(/tmp/multipartBody3203252423726643209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183334405,"filename":"image_03112025_18_19_19_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1bca5478b28c66188c1d96c8fd96471.jpg","text":"TemporaryFile(/tmp/multipartBody6418005554943519892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183334405,"filename":"image_03112025_18_19_07_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887209","file1":"1401887206","file0":"1401887204","file4":"1401887220","file5":"1401887221","file3":"1401887219"},"map_files_photo_id_array":[{"photo_id":"1401887221","filename":"file5"},{"photo_id":"1401887209","filename":"file2"},{"photo_id":"1401887220","filename":"file4"},{"photo_id":"1401887206","filename":"file1"},{"photo_id":"1401887204","filename":"file0"},{"photo_id":"1401887219","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887221":["hashtag1","hashtag2"]},{"1401887206":["hashtag1","hashtag2"]},{"1401887209":["hashtag1","hashtag2"]},{"1401887220":["hashtag1","hashtag2"]},{"1401887219":["hashtag1","hashtag2"]},{"1401887204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887221, 1401887206, 1401887209, 1401887220, 1401887219, 1401887204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85672903060913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:15:12.488307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_51_2822.jpg', '/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_58_3541.jpg', '/home/pi/Desktop/images/03112025/18/19/image_03112025_18_20_00_2647.jpg', '/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_04_3561.jpg', '/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_12_2626.jpg', '/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_16_3774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_51_2822.jpg
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_19_58_3541.jpg
/home/pi/Desktop/images/03112025/18/19/image_03112025_18_20_00_2647.jpg
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_04_3561.jpg
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_12_2626.jpg
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_16_3774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887230","1401887224","1401887232","1401887226","1401887234","1401887228"],"photo_ids_order":["1401887224","1401887226","1401887228","1401887230","1401887232","1401887234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f9260371ab3a812f7bc6a659c0c2c9d.jpg","text":"TemporaryFile(/tmp/multipartBody823702558088864455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183374268,"filename":"image_03112025_18_20_04_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/513f175c1ae906b2d2eb6c267cb16884.jpg","text":"TemporaryFile(/tmp/multipartBody1485800816206132889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183374268,"filename":"image_03112025_18_19_51_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b657f49e8971fdd9f6e35393a70e916c.jpg","text":"TemporaryFile(/tmp/multipartBody8272928755671823604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183374268,"filename":"image_03112025_18_20_12_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b1ec028849ce484cd2dfdb1433f76ca.jpg","text":"TemporaryFile(/tmp/multipartBody4355380667326240136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183374268,"filename":"image_03112025_18_19_58_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/903f16f82d68f02d98d5a7c17505d5ca.jpg","text":"TemporaryFile(/tmp/multipartBody5201566971463724850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183374268,"filename":"image_03112025_18_20_16_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0702d05f01c2ac8d0651014c1693986.jpg","text":"TemporaryFile(/tmp/multipartBody5446924796081846824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183374268,"filename":"image_03112025_18_20_00_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887228","file1":"1401887226","file0":"1401887224","file4":"1401887232","file5":"1401887234","file3":"1401887230"},"map_files_photo_id_array":[{"photo_id":"1401887234","filename":"file5"},{"photo_id":"1401887228","filename":"file2"},{"photo_id":"1401887232","filename":"file4"},{"photo_id":"1401887226","filename":"file1"},{"photo_id":"1401887224","filename":"file0"},{"photo_id":"1401887230","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887230":["hashtag1","hashtag2"]},{"1401887224":["hashtag1","hashtag2"]},{"1401887232":["hashtag1","hashtag2"]},{"1401887226":["hashtag1","hashtag2"]},{"1401887234":["hashtag1","hashtag2"]},{"1401887228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887230, 1401887224, 1401887232, 1401887226, 1401887234, 1401887228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53708744049072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:16:02.307174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/08/image_31122025_11_09_05_10727.jpg', '/home/pi/Desktop/images/31122025/11/09/image_31122025_11_09_15_9636.jpg', '/home/pi/Desktop/images/31122025/11/09/image_31122025_11_09_34_9807.jpg', '/home/pi/Desktop/images/31122025/11/09/image_31122025_11_09_45_10684.jpg', '/home/pi/Desktop/images/31122025/11/09/image_31122025_11_09_55_9573.jpg', '/home/pi/Desktop/images/31122025/11/10/image_31122025_11_10_15_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/08/image_31122025_11_09_05_10727.jpg
/home/pi/Desktop/images/31122025/11/09/image_31122025_11_09_15_9636.jpg
/home/pi/Desktop/images/31122025/11/09/image_31122025_11_09_34_9807.jpg
/home/pi/Desktop/images/31122025/11/09/image_31122025_11_09_45_10684.jpg
/home/pi/Desktop/images/31122025/11/09/image_31122025_11_09_55_9573.jpg
/home/pi/Desktop/images/31122025/11/10/image_31122025_11_10_15_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887245","1401887239","1401887247","1401887249","1401887243","1401887240"],"photo_ids_order":["1401887239","1401887240","1401887243","1401887245","1401887247","1401887249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/260597f8c93e1d86d58b8887c1492c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4912443539763943115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183423079,"filename":"image_31122025_11_09_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c180a1604db345c0f1afe6dd0ca99b07.jpg","text":"TemporaryFile(/tmp/multipartBody1365463682177616078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183423079,"filename":"image_31122025_11_09_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a237ed27cfded081721f32fdda74950.jpg","text":"TemporaryFile(/tmp/multipartBody1623977398801095679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183423079,"filename":"image_31122025_11_09_55_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89ac6370af2540daf392973f9f1d76c3.jpg","text":"TemporaryFile(/tmp/multipartBody6325008699950060675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183423079,"filename":"image_31122025_11_10_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c080e5a27057558bebcb1f5efc41f8a.jpg","text":"TemporaryFile(/tmp/multipartBody5987438679471198785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183423079,"filename":"image_31122025_11_09_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e40b44f9c69124a25f6b1ab625366a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7650972646596473222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183423079,"filename":"image_31122025_11_09_15_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887243","file1":"1401887240","file0":"1401887239","file4":"1401887247","file5":"1401887249","file3":"1401887245"},"map_files_photo_id_array":[{"photo_id":"1401887249","filename":"file5"},{"photo_id":"1401887243","filename":"file2"},{"photo_id":"1401887247","filename":"file4"},{"photo_id":"1401887240","filename":"file1"},{"photo_id":"1401887239","filename":"file0"},{"photo_id":"1401887245","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887245":["hashtag1","hashtag2"]},{"1401887239":["hashtag1","hashtag2"]},{"1401887247":["hashtag1","hashtag2"]},{"1401887249":["hashtag1","hashtag2"]},{"1401887243":["hashtag1","hashtag2"]},{"1401887240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887245, 1401887239, 1401887247, 1401887249, 1401887243, 1401887240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.367616415023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:16:42.011331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_18_2549.jpg', '/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_21_2863.jpg', '/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_33_2613.jpg', '/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_39_2694.jpg', '/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_57_2608.jpg', '/home/pi/Desktop/images/03112025/18/20/image_03112025_18_21_00_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_18_2549.jpg
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_21_2863.jpg
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_33_2613.jpg
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_39_2694.jpg
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_20_57_2608.jpg
/home/pi/Desktop/images/03112025/18/20/image_03112025_18_21_00_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887277","1401887262","1401887265","1401887268","1401887270","1401887272"],"photo_ids_order":["1401887262","1401887265","1401887268","1401887270","1401887272","1401887277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a251059a20effab2409e42dcb0bfab12.jpg","text":"TemporaryFile(/tmp/multipartBody7889587237956958951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183465985,"filename":"image_03112025_18_21_00_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db25231fb61300bd91a4f70404dde546.jpg","text":"TemporaryFile(/tmp/multipartBody4074307657011955351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183465985,"filename":"image_03112025_18_20_18_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/773d4f773ee3125a545c12da980d60df.jpg","text":"TemporaryFile(/tmp/multipartBody5150222137750038709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183465985,"filename":"image_03112025_18_20_21_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05eab231ff28ad9d181d54be246f9da2.jpg","text":"TemporaryFile(/tmp/multipartBody1661017531396303661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183465985,"filename":"image_03112025_18_20_33_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ae1f6aaae32101ce0e6da96b72df726.jpg","text":"TemporaryFile(/tmp/multipartBody111172256962508849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183465985,"filename":"image_03112025_18_20_39_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61a842f797c34e97b1d8511a90901d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2270964293672227581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183465985,"filename":"image_03112025_18_20_57_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887268","file1":"1401887265","file0":"1401887262","file4":"1401887272","file5":"1401887277","file3":"1401887270"},"map_files_photo_id_array":[{"photo_id":"1401887277","filename":"file5"},{"photo_id":"1401887268","filename":"file2"},{"photo_id":"1401887272","filename":"file4"},{"photo_id":"1401887265","filename":"file1"},{"photo_id":"1401887262","filename":"file0"},{"photo_id":"1401887270","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887277":["hashtag1","hashtag2"]},{"1401887262":["hashtag1","hashtag2"]},{"1401887265":["hashtag1","hashtag2"]},{"1401887268":["hashtag1","hashtag2"]},{"1401887270":["hashtag1","hashtag2"]},{"1401887272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887277, 1401887262, 1401887265, 1401887268, 1401887270, 1401887272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69996500015259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:17:32.201046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_39_2644.jpg', '/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_48_2654.jpg', '/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_51_3707.jpg', '/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_57_2770.jpg', '/home/pi/Desktop/images/03112025/18/21/image_03112025_18_22_00_2637.jpg', '/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_04_3847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_39_2644.jpg
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_48_2654.jpg
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_51_3707.jpg
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_57_2770.jpg
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_22_00_2637.jpg
/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_04_3847.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8125827312469482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:17:42.301693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_39_2644.jpg', '/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_48_2654.jpg', '/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_51_3707.jpg', '/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_57_2770.jpg', '/home/pi/Desktop/images/03112025/18/21/image_03112025_18_22_00_2637.jpg', '/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_04_3847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_39_2644.jpg
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_48_2654.jpg
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_51_3707.jpg
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_21_57_2770.jpg
/home/pi/Desktop/images/03112025/18/21/image_03112025_18_22_00_2637.jpg
/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_04_3847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887595","1401887577","1401887565","1401887597","1401887582","1401887584"],"photo_ids_order":["1401887565","1401887577","1401887582","1401887584","1401887595","1401887597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/538740e2924d2c10f14aadea33c92428.jpg","text":"TemporaryFile(/tmp/multipartBody4784261419747398057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183524105,"filename":"image_03112025_18_22_00_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09263cd799df8bd6dff7b4a69373dbd2.jpg","text":"TemporaryFile(/tmp/multipartBody877952467791109925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183524105,"filename":"image_03112025_18_21_48_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f036b83f266c643e71a329f3ecdeb16d.jpg","text":"TemporaryFile(/tmp/multipartBody3220694278408910363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183524105,"filename":"image_03112025_18_21_39_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/275b9e8ba4df609c7728f835e1b0946b.jpg","text":"TemporaryFile(/tmp/multipartBody9180437589912796500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183524105,"filename":"image_03112025_18_22_04_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44b189898ae0b13af92053731a2cf110.jpg","text":"TemporaryFile(/tmp/multipartBody2603050913129966184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183524105,"filename":"image_03112025_18_21_51_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c467e4ef5a251d90dc6978669d0eee64.jpg","text":"TemporaryFile(/tmp/multipartBody2950469969481179913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183524105,"filename":"image_03112025_18_21_57_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887582","file1":"1401887577","file0":"1401887565","file4":"1401887595","file5":"1401887597","file3":"1401887584"},"map_files_photo_id_array":[{"photo_id":"1401887597","filename":"file5"},{"photo_id":"1401887582","filename":"file2"},{"photo_id":"1401887595","filename":"file4"},{"photo_id":"1401887577","filename":"file1"},{"photo_id":"1401887565","filename":"file0"},{"photo_id":"1401887584","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887595":["hashtag1","hashtag2"]},{"1401887577":["hashtag1","hashtag2"]},{"1401887565":["hashtag1","hashtag2"]},{"1401887597":["hashtag1","hashtag2"]},{"1401887582":["hashtag1","hashtag2"]},{"1401887584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887595, 1401887577, 1401887565, 1401887597, 1401887582, 1401887584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.576804399490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:18:22.479281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/10/image_31122025_11_10_26_10872.jpg', '/home/pi/Desktop/images/31122025/11/10/image_31122025_11_10_36_9915.jpg', '/home/pi/Desktop/images/31122025/11/10/image_31122025_11_10_45_9670.jpg', '/home/pi/Desktop/images/31122025/11/10/image_31122025_11_11_05_9866.jpg', '/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_16_10776.jpg', '/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_25_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/10/image_31122025_11_10_26_10872.jpg
/home/pi/Desktop/images/31122025/11/10/image_31122025_11_10_36_9915.jpg
/home/pi/Desktop/images/31122025/11/10/image_31122025_11_10_45_9670.jpg
/home/pi/Desktop/images/31122025/11/10/image_31122025_11_11_05_9866.jpg
/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_16_10776.jpg
/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_25_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887602","1401887604","1401887615","1401887609","1401887618","1401887606"],"photo_ids_order":["1401887602","1401887604","1401887606","1401887609","1401887615","1401887618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2785044595f9e414a1d963c1711fa48d.jpg","text":"TemporaryFile(/tmp/multipartBody6427296921132281391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183563263,"filename":"image_31122025_11_10_26_10872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f22b661fd10f5bf19ba0e906b88fa016.jpg","text":"TemporaryFile(/tmp/multipartBody7564435274580496567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183563263,"filename":"image_31122025_11_10_36_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b2d2f3b0097f390ee7fa6c4ac92e006.jpg","text":"TemporaryFile(/tmp/multipartBody3317681016397721645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183563263,"filename":"image_31122025_11_11_16_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f8049539d122de8ce5b1a11efff335f.jpg","text":"TemporaryFile(/tmp/multipartBody3781194054093667408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183563263,"filename":"image_31122025_11_11_05_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cedd74bbeacb655459995370355ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody761953534693954314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183563263,"filename":"image_31122025_11_11_25_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdd2d7e6bdff30931ee268135125a1a8.jpg","text":"TemporaryFile(/tmp/multipartBody880516218907296411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183563263,"filename":"image_31122025_11_10_45_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887606","file1":"1401887604","file0":"1401887602","file4":"1401887615","file5":"1401887618","file3":"1401887609"},"map_files_photo_id_array":[{"photo_id":"1401887618","filename":"file5"},{"photo_id":"1401887606","filename":"file2"},{"photo_id":"1401887615","filename":"file4"},{"photo_id":"1401887604","filename":"file1"},{"photo_id":"1401887602","filename":"file0"},{"photo_id":"1401887609","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887602":["hashtag1","hashtag2"]},{"1401887604":["hashtag1","hashtag2"]},{"1401887615":["hashtag1","hashtag2"]},{"1401887609":["hashtag1","hashtag2"]},{"1401887618":["hashtag1","hashtag2"]},{"1401887606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887602, 1401887604, 1401887615, 1401887609, 1401887618, 1401887606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55822706222534 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:19:12.710664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_09_2687.jpg', '/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_39_2588.jpg', '/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_43_3603.jpg', '/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_24_2691.jpg', '/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_27_3021.jpg', '/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_42_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_09_2687.jpg
/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_39_2588.jpg
/home/pi/Desktop/images/03112025/18/22/image_03112025_18_22_43_3603.jpg
/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_24_2691.jpg
/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_27_3021.jpg
/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_42_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887632","1401887626","1401887629","1401887634","1401887628","1401887624"],"photo_ids_order":["1401887624","1401887626","1401887628","1401887629","1401887632","1401887634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbd653512ac5adc8f4b5b092f1e4d3bf.jpg","text":"TemporaryFile(/tmp/multipartBody3953232282735179016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183614500,"filename":"image_03112025_18_23_27_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f3a0ddffb1f8ae17bfcc933259ca6a7.jpg","text":"TemporaryFile(/tmp/multipartBody1254209224450825509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183614500,"filename":"image_03112025_18_22_39_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d009fdb920622de72b3fefc0b0bcd844.jpg","text":"TemporaryFile(/tmp/multipartBody403125090106053704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183614500,"filename":"image_03112025_18_23_24_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/957c7f35d128fa0fcab0cfc32d28a84b.jpg","text":"TemporaryFile(/tmp/multipartBody2862377374540980141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183614500,"filename":"image_03112025_18_23_42_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/140e8b832bd2587596aa8fe06ecf8bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8214146381808612692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183614500,"filename":"image_03112025_18_22_43_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1a319c6f5311a7ff1b6e7ab7daff312.jpg","text":"TemporaryFile(/tmp/multipartBody5201542394390514803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183614500,"filename":"image_03112025_18_22_09_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887628","file1":"1401887626","file0":"1401887624","file4":"1401887632","file5":"1401887634","file3":"1401887629"},"map_files_photo_id_array":[{"photo_id":"1401887634","filename":"file5"},{"photo_id":"1401887628","filename":"file2"},{"photo_id":"1401887632","filename":"file4"},{"photo_id":"1401887626","filename":"file1"},{"photo_id":"1401887624","filename":"file0"},{"photo_id":"1401887629","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887632":["hashtag1","hashtag2"]},{"1401887626":["hashtag1","hashtag2"]},{"1401887629":["hashtag1","hashtag2"]},{"1401887634":["hashtag1","hashtag2"]},{"1401887628":["hashtag1","hashtag2"]},{"1401887624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887632, 1401887626, 1401887629, 1401887634, 1401887628, 1401887624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.794806718826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:20:02.523573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_35_9657.jpg', '/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_56_10767.jpg', '/home/pi/Desktop/images/31122025/11/11/image_31122025_11_12_05_9742.jpg', '/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_15_9772.jpg', '/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_25_9869.jpg', '/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_36_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_35_9657.jpg
/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_56_10767.jpg
/home/pi/Desktop/images/31122025/11/11/image_31122025_11_12_05_9742.jpg
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_15_9772.jpg
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_25_9869.jpg
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_36_10712.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.6555240154266357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:20:12.139409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_45_2634.jpg', '/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_48_2857.jpg', '/home/pi/Desktop/images/03112025/18/23/image_03112025_18_24_00_3712.jpg', '/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_03_2698.jpg', '/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_12_2774.jpg', '/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_15_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_45_2634.jpg
/home/pi/Desktop/images/03112025/18/23/image_03112025_18_23_48_2857.jpg
/home/pi/Desktop/images/03112025/18/23/image_03112025_18_24_00_3712.jpg
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_03_2698.jpg
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_12_2774.jpg
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_15_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887653","1401887658","1401887651","1401887648","1401887656","1401887644"],"photo_ids_order":["1401887644","1401887648","1401887651","1401887653","1401887656","1401887658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b42056528dc6bcd63297d994f548059.jpg","text":"TemporaryFile(/tmp/multipartBody2086897990607080986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183673951,"filename":"image_03112025_18_24_03_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14190bf2a30d31dd134147732edaf744.jpg","text":"TemporaryFile(/tmp/multipartBody8815765878691053338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183673951,"filename":"image_03112025_18_24_15_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8e75cb5cdf9282de699bc9aef028328.jpg","text":"TemporaryFile(/tmp/multipartBody589148411437489339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183673951,"filename":"image_03112025_18_24_00_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d00e7419f67412e68c8177ef9d3d8431.jpg","text":"TemporaryFile(/tmp/multipartBody8699772195359666299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183673951,"filename":"image_03112025_18_23_48_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3b45aee2002ab83146f9f9ceb19c53f.jpg","text":"TemporaryFile(/tmp/multipartBody6919639457870735972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183673951,"filename":"image_03112025_18_24_12_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50f8c2ae796a9fb1961eaa39fd8c5332.jpg","text":"TemporaryFile(/tmp/multipartBody8034078232996557383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183673951,"filename":"image_03112025_18_23_45_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887651","file1":"1401887648","file0":"1401887644","file4":"1401887656","file5":"1401887658","file3":"1401887653"},"map_files_photo_id_array":[{"photo_id":"1401887658","filename":"file5"},{"photo_id":"1401887651","filename":"file2"},{"photo_id":"1401887656","filename":"file4"},{"photo_id":"1401887648","filename":"file1"},{"photo_id":"1401887644","filename":"file0"},{"photo_id":"1401887653","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887653":["hashtag1","hashtag2"]},{"1401887658":["hashtag1","hashtag2"]},{"1401887651":["hashtag1","hashtag2"]},{"1401887648":["hashtag1","hashtag2"]},{"1401887656":["hashtag1","hashtag2"]},{"1401887644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887653, 1401887658, 1401887651, 1401887648, 1401887656, 1401887644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.123443603515625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:21:02.974589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_35_9657.jpg', '/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_56_10767.jpg', '/home/pi/Desktop/images/31122025/11/11/image_31122025_11_12_05_9742.jpg', '/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_15_9772.jpg', '/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_25_9869.jpg', '/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_36_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_35_9657.jpg
/home/pi/Desktop/images/31122025/11/11/image_31122025_11_11_56_10767.jpg
/home/pi/Desktop/images/31122025/11/11/image_31122025_11_12_05_9742.jpg
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_15_9772.jpg
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_25_9869.jpg
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_36_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887685","1401887679","1401887682","1401887686","1401887680","1401887677"],"photo_ids_order":["1401887677","1401887679","1401887680","1401887682","1401887685","1401887686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa0c32f71b60bba223b4b6014ae3a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4288833497182850409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183723846,"filename":"image_31122025_11_12_25_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94dfc3de3816a330a57263c25aaae949.jpg","text":"TemporaryFile(/tmp/multipartBody1224669165517163101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183723846,"filename":"image_31122025_11_11_56_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11bd08f9bc2a5e2ff9b3511f80dca8f0.jpg","text":"TemporaryFile(/tmp/multipartBody6196946383241310556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183723846,"filename":"image_31122025_11_12_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21807b13e9fbf7342d87b1461f7291ba.jpg","text":"TemporaryFile(/tmp/multipartBody565270125858701331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183723846,"filename":"image_31122025_11_12_36_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64f0d9236ac9005a8a58ec8a48aef2d1.jpg","text":"TemporaryFile(/tmp/multipartBody4669904238599859511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183723846,"filename":"image_31122025_11_12_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/487eeed013b04dfe46838a65537cb9f7.jpg","text":"TemporaryFile(/tmp/multipartBody4687220802838520550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183723846,"filename":"image_31122025_11_11_35_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887680","file1":"1401887679","file0":"1401887677","file4":"1401887685","file5":"1401887686","file3":"1401887682"},"map_files_photo_id_array":[{"photo_id":"1401887686","filename":"file5"},{"photo_id":"1401887680","filename":"file2"},{"photo_id":"1401887685","filename":"file4"},{"photo_id":"1401887679","filename":"file1"},{"photo_id":"1401887677","filename":"file0"},{"photo_id":"1401887682","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887685":["hashtag1","hashtag2"]},{"1401887679":["hashtag1","hashtag2"]},{"1401887682":["hashtag1","hashtag2"]},{"1401887686":["hashtag1","hashtag2"]},{"1401887680":["hashtag1","hashtag2"]},{"1401887677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887685, 1401887679, 1401887682, 1401887686, 1401887680, 1401887677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.597755670547485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:21:42.308869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_17_2732.jpg', '/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_36_3528.jpg', '/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_39_2632.jpg', '/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_48_2594.jpg', '/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_51_3627.jpg', '/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_54_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_17_2732.jpg
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_36_3528.jpg
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_39_2632.jpg
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_48_2594.jpg
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_51_3627.jpg
/home/pi/Desktop/images/03112025/18/24/image_03112025_18_24_54_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887691","1401887694","1401887696","1401887693","1401887695","1401887698"],"photo_ids_order":["1401887691","1401887693","1401887694","1401887695","1401887696","1401887698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/354c4930cfccabb4cf1005fe8cd91a9d.jpg","text":"TemporaryFile(/tmp/multipartBody387904799238455383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183764227,"filename":"image_03112025_18_24_17_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/797baae5e4139b92df6c753e2d02230f.jpg","text":"TemporaryFile(/tmp/multipartBody2933673175206525869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183764227,"filename":"image_03112025_18_24_39_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8149220b7364ff4840f689c49ee9f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1979932302669886213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183764227,"filename":"image_03112025_18_24_51_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebd621b6d9192c84ff8e296dc777c9b2.jpg","text":"TemporaryFile(/tmp/multipartBody7862549287613199061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183764227,"filename":"image_03112025_18_24_36_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f93d06438e89bc7edb8a31a4901738d.jpg","text":"TemporaryFile(/tmp/multipartBody5373638870062872726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183764227,"filename":"image_03112025_18_24_48_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8209c333e0e472aea72c34876f6f7c75.jpg","text":"TemporaryFile(/tmp/multipartBody3423866287486033167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183764227,"filename":"image_03112025_18_24_54_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887694","file1":"1401887693","file0":"1401887691","file4":"1401887696","file5":"1401887698","file3":"1401887695"},"map_files_photo_id_array":[{"photo_id":"1401887698","filename":"file5"},{"photo_id":"1401887694","filename":"file2"},{"photo_id":"1401887696","filename":"file4"},{"photo_id":"1401887693","filename":"file1"},{"photo_id":"1401887691","filename":"file0"},{"photo_id":"1401887695","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887691":["hashtag1","hashtag2"]},{"1401887694":["hashtag1","hashtag2"]},{"1401887696":["hashtag1","hashtag2"]},{"1401887693":["hashtag1","hashtag2"]},{"1401887695":["hashtag1","hashtag2"]},{"1401887698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887691, 1401887694, 1401887696, 1401887693, 1401887695, 1401887698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97565031051636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:22:22.443246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_45_9728.jpg', '/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_55_9594.jpg', '/home/pi/Desktop/images/31122025/11/12/image_31122025_11_13_05_9798.jpg', '/home/pi/Desktop/images/31122025/11/13/image_31122025_11_13_16_10757.jpg', '/home/pi/Desktop/images/31122025/11/13/image_31122025_11_13_35_10050.jpg', '/home/pi/Desktop/images/31122025/11/13/image_31122025_11_13_45_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_45_9728.jpg
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_12_55_9594.jpg
/home/pi/Desktop/images/31122025/11/12/image_31122025_11_13_05_9798.jpg
/home/pi/Desktop/images/31122025/11/13/image_31122025_11_13_16_10757.jpg
/home/pi/Desktop/images/31122025/11/13/image_31122025_11_13_35_10050.jpg
/home/pi/Desktop/images/31122025/11/13/image_31122025_11_13_45_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887713","1401887716","1401887704","1401887706","1401887717","1401887702"],"photo_ids_order":["1401887702","1401887704","1401887706","1401887713","1401887716","1401887717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/345f311c8158d92f8a960a879ae4cf39.jpg","text":"TemporaryFile(/tmp/multipartBody4538619031196755668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183803164,"filename":"image_31122025_11_13_16_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36cd03a13342bb26b1371239f33d9158.jpg","text":"TemporaryFile(/tmp/multipartBody5743404024323131135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183803164,"filename":"image_31122025_11_13_35_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b910a3ef8d971118945251cc4c055da5.jpg","text":"TemporaryFile(/tmp/multipartBody6208197577492427185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183803164,"filename":"image_31122025_11_12_55_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1ee30d5f971806284018e714efb4387.jpg","text":"TemporaryFile(/tmp/multipartBody5562313834855945229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183803164,"filename":"image_31122025_11_13_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68fa598450b67b8e6148123e2031bb8d.jpg","text":"TemporaryFile(/tmp/multipartBody8347276670259055868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183803164,"filename":"image_31122025_11_13_45_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40fdc5a5260138b31036c06914ea856c.jpg","text":"TemporaryFile(/tmp/multipartBody3563751279875449611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183803164,"filename":"image_31122025_11_12_45_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887706","file1":"1401887704","file0":"1401887702","file4":"1401887716","file5":"1401887717","file3":"1401887713"},"map_files_photo_id_array":[{"photo_id":"1401887717","filename":"file5"},{"photo_id":"1401887706","filename":"file2"},{"photo_id":"1401887716","filename":"file4"},{"photo_id":"1401887704","filename":"file1"},{"photo_id":"1401887702","filename":"file0"},{"photo_id":"1401887713","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887713":["hashtag1","hashtag2"]},{"1401887716":["hashtag1","hashtag2"]},{"1401887704":["hashtag1","hashtag2"]},{"1401887706":["hashtag1","hashtag2"]},{"1401887717":["hashtag1","hashtag2"]},{"1401887702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887713, 1401887716, 1401887704, 1401887706, 1401887717, 1401887702)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.297093629837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:23:25.729755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_03_2645.jpg', '/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_06_2686.jpg', '/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_18_3702.jpg', '/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_36_2617.jpg', '/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_39_2701.jpg', '/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_42_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_03_2645.jpg
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_06_2686.jpg
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_18_3702.jpg
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_36_2617.jpg
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_39_2701.jpg
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_42_3697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887752","1401887731","1401887727","1401887735","1401887729","1401887738"],"photo_ids_order":["1401887727","1401887729","1401887731","1401887735","1401887738","1401887752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b7327ad1b6702c86172d3ef611ba905.jpg","text":"TemporaryFile(/tmp/multipartBody1538010172684159496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183867646,"filename":"image_03112025_18_25_42_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e780e42df0890e2cc7a6abef082dafa.jpg","text":"TemporaryFile(/tmp/multipartBody9077199013983082420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183867646,"filename":"image_03112025_18_25_18_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0588b902270d57caa28c86d4cdf413e.jpg","text":"TemporaryFile(/tmp/multipartBody8906497435646876976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183867646,"filename":"image_03112025_18_25_03_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ecf96f9aea64e3b5068870ae59aa412.jpg","text":"TemporaryFile(/tmp/multipartBody5693887669253813466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183867646,"filename":"image_03112025_18_25_36_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8999715b79459e844e6f368ae1c82e84.jpg","text":"TemporaryFile(/tmp/multipartBody8572276123975298108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183867646,"filename":"image_03112025_18_25_06_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83d21fd5ce3a0716555f4b374d37843a.jpg","text":"TemporaryFile(/tmp/multipartBody3087132681007502729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183867646,"filename":"image_03112025_18_25_39_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887731","file1":"1401887729","file0":"1401887727","file4":"1401887738","file5":"1401887752","file3":"1401887735"},"map_files_photo_id_array":[{"photo_id":"1401887752","filename":"file5"},{"photo_id":"1401887731","filename":"file2"},{"photo_id":"1401887738","filename":"file4"},{"photo_id":"1401887729","filename":"file1"},{"photo_id":"1401887727","filename":"file0"},{"photo_id":"1401887735","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887752":["hashtag1","hashtag2"]},{"1401887731":["hashtag1","hashtag2"]},{"1401887727":["hashtag1","hashtag2"]},{"1401887735":["hashtag1","hashtag2"]},{"1401887729":["hashtag1","hashtag2"]},{"1401887738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887752, 1401887731, 1401887727, 1401887735, 1401887729, 1401887738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33687615394592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:24:11.915099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_45_2586.jpg', '/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_48_2654.jpg', '/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_50_2927.jpg', '/home/pi/Desktop/images/03112025/18/25/image_03112025_18_26_00_3611.jpg', '/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_03_2751.jpg', '/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_06_2889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_45_2586.jpg
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_48_2654.jpg
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_25_50_2927.jpg
/home/pi/Desktop/images/03112025/18/25/image_03112025_18_26_00_3611.jpg
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_03_2751.jpg
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_06_2889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887766","1401887760","1401887762","1401887768","1401887764","1401887758"],"photo_ids_order":["1401887758","1401887760","1401887762","1401887764","1401887766","1401887768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1c10ca585f1f0d8b2b14509b2f0f930.jpg","text":"TemporaryFile(/tmp/multipartBody4419965767455004239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183913735,"filename":"image_03112025_18_26_03_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/657ad8772549b2773b0ddffc0bc410e4.jpg","text":"TemporaryFile(/tmp/multipartBody4369536711100804476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183913735,"filename":"image_03112025_18_25_48_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dcf6af66a8f5a6d02e2b50b293d3719.jpg","text":"TemporaryFile(/tmp/multipartBody3616154458097640001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183913735,"filename":"image_03112025_18_25_50_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/001c41dd5a278f17c897d78a50287805.jpg","text":"TemporaryFile(/tmp/multipartBody3461129405615259920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183913735,"filename":"image_03112025_18_26_06_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f47877ff13b1853a3ceb099ab80d103.jpg","text":"TemporaryFile(/tmp/multipartBody6424808231715124129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183913735,"filename":"image_03112025_18_26_00_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d4da21558c551f778939ec6d338480b.jpg","text":"TemporaryFile(/tmp/multipartBody3643426314363311115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183913735,"filename":"image_03112025_18_25_45_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887762","file1":"1401887760","file0":"1401887758","file4":"1401887766","file5":"1401887768","file3":"1401887764"},"map_files_photo_id_array":[{"photo_id":"1401887768","filename":"file5"},{"photo_id":"1401887762","filename":"file2"},{"photo_id":"1401887766","filename":"file4"},{"photo_id":"1401887760","filename":"file1"},{"photo_id":"1401887758","filename":"file0"},{"photo_id":"1401887764","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887766":["hashtag1","hashtag2"]},{"1401887760":["hashtag1","hashtag2"]},{"1401887762":["hashtag1","hashtag2"]},{"1401887768":["hashtag1","hashtag2"]},{"1401887764":["hashtag1","hashtag2"]},{"1401887758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887766, 1401887760, 1401887762, 1401887768, 1401887764, 1401887758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45540738105774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:25:02.898043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/13/image_31122025_11_13_55_9743.jpg', '/home/pi/Desktop/images/31122025/11/13/image_31122025_11_14_06_10815.jpg', '/home/pi/Desktop/images/31122025/11/14/image_31122025_11_14_16_9953.jpg', '/home/pi/Desktop/images/31122025/11/14/image_31122025_11_14_35_9690.jpg', '/home/pi/Desktop/images/31122025/11/15/image_31122025_11_15_25_10833.jpg', '/home/pi/Desktop/images/31122025/11/15/image_31122025_11_15_34_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/13/image_31122025_11_13_55_9743.jpg
/home/pi/Desktop/images/31122025/11/13/image_31122025_11_14_06_10815.jpg
/home/pi/Desktop/images/31122025/11/14/image_31122025_11_14_16_9953.jpg
/home/pi/Desktop/images/31122025/11/14/image_31122025_11_14_35_9690.jpg
/home/pi/Desktop/images/31122025/11/15/image_31122025_11_15_25_10833.jpg
/home/pi/Desktop/images/31122025/11/15/image_31122025_11_15_34_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887790","1401887793","1401887787","1401887789","1401887791","1401887785"],"photo_ids_order":["1401887785","1401887787","1401887789","1401887790","1401887791","1401887793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91e8062b5c0304aff480901b260e2478.jpg","text":"TemporaryFile(/tmp/multipartBody7888065940180270709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183963698,"filename":"image_31122025_11_14_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9934200e8dbe7005e4967360f3b4be4.jpg","text":"TemporaryFile(/tmp/multipartBody3439018219625245980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183963698,"filename":"image_31122025_11_15_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c0af0d474d3c61dfbeeda58f80a52e3.jpg","text":"TemporaryFile(/tmp/multipartBody6068347110763388796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183963698,"filename":"image_31122025_11_14_06_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b70bebd85e4282fd815e5fe6ac6161ff.jpg","text":"TemporaryFile(/tmp/multipartBody1344826554970102281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183963698,"filename":"image_31122025_11_14_16_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8019e6420b99ef230d8f709672c92745.jpg","text":"TemporaryFile(/tmp/multipartBody3701493249226124260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183963698,"filename":"image_31122025_11_15_25_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3228cd13fa76251091e025684fb0649a.jpg","text":"TemporaryFile(/tmp/multipartBody5140168978052809543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767183963698,"filename":"image_31122025_11_13_55_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887789","file1":"1401887787","file0":"1401887785","file4":"1401887791","file5":"1401887793","file3":"1401887790"},"map_files_photo_id_array":[{"photo_id":"1401887793","filename":"file5"},{"photo_id":"1401887789","filename":"file2"},{"photo_id":"1401887791","filename":"file4"},{"photo_id":"1401887787","filename":"file1"},{"photo_id":"1401887785","filename":"file0"},{"photo_id":"1401887790","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887790":["hashtag1","hashtag2"]},{"1401887793":["hashtag1","hashtag2"]},{"1401887787":["hashtag1","hashtag2"]},{"1401887789":["hashtag1","hashtag2"]},{"1401887791":["hashtag1","hashtag2"]},{"1401887785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887790, 1401887793, 1401887787, 1401887789, 1401887791, 1401887785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18950390815735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:25:42.191607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_09_2695.jpg', '/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_12_3652.jpg', '/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_15_2603.jpg', '/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_20_2794.jpg', '/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_24_3666.jpg', '/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_33_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_09_2695.jpg
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_12_3652.jpg
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_15_2603.jpg
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_20_2794.jpg
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_24_3666.jpg
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_33_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887803","1401887806","1401887799","1401887802","1401887805","1401887804"],"photo_ids_order":["1401887799","1401887802","1401887803","1401887804","1401887805","1401887806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91727e87ae7470e4a0fb8bf950a381e3.jpg","text":"TemporaryFile(/tmp/multipartBody4107906307478299613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184004113,"filename":"image_03112025_18_26_15_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84e0003482a5535e131ba98a7dd66b79.jpg","text":"TemporaryFile(/tmp/multipartBody5960781442857091580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184004113,"filename":"image_03112025_18_26_33_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4886c0ec1740929677da31eb6a3625b.jpg","text":"TemporaryFile(/tmp/multipartBody1194990797358059174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184004113,"filename":"image_03112025_18_26_09_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9aedc133c8dc1fe3a5a8044eafe558d0.jpg","text":"TemporaryFile(/tmp/multipartBody4035660580527421045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184004113,"filename":"image_03112025_18_26_12_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/891498c779003ab262550221f6781518.jpg","text":"TemporaryFile(/tmp/multipartBody6675106771902779832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184004113,"filename":"image_03112025_18_26_24_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a737689fcabf4df6f4a4b5df0bacf4fa.jpg","text":"TemporaryFile(/tmp/multipartBody8442876765446053994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184004113,"filename":"image_03112025_18_26_20_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887803","file1":"1401887802","file0":"1401887799","file4":"1401887805","file5":"1401887806","file3":"1401887804"},"map_files_photo_id_array":[{"photo_id":"1401887806","filename":"file5"},{"photo_id":"1401887803","filename":"file2"},{"photo_id":"1401887805","filename":"file4"},{"photo_id":"1401887802","filename":"file1"},{"photo_id":"1401887799","filename":"file0"},{"photo_id":"1401887804","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887803":["hashtag1","hashtag2"]},{"1401887806":["hashtag1","hashtag2"]},{"1401887799":["hashtag1","hashtag2"]},{"1401887802":["hashtag1","hashtag2"]},{"1401887805":["hashtag1","hashtag2"]},{"1401887804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887803, 1401887806, 1401887799, 1401887802, 1401887805, 1401887804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7549090385437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:26:22.335270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/15/image_31122025_11_15_44_9769.jpg', '/home/pi/Desktop/images/31122025/11/15/image_31122025_11_15_54_9873.jpg', '/home/pi/Desktop/images/31122025/11/16/image_31122025_11_16_24_9741.jpg', '/home/pi/Desktop/images/31122025/11/16/image_31122025_11_16_35_10546.jpg', '/home/pi/Desktop/images/31122025/11/16/image_31122025_11_16_45_9848.jpg', '/home/pi/Desktop/images/31122025/11/16/image_31122025_11_16_54_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/15/image_31122025_11_15_44_9769.jpg
/home/pi/Desktop/images/31122025/11/15/image_31122025_11_15_54_9873.jpg
/home/pi/Desktop/images/31122025/11/16/image_31122025_11_16_24_9741.jpg
/home/pi/Desktop/images/31122025/11/16/image_31122025_11_16_35_10546.jpg
/home/pi/Desktop/images/31122025/11/16/image_31122025_11_16_45_9848.jpg
/home/pi/Desktop/images/31122025/11/16/image_31122025_11_16_54_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887818","1401887833","1401887811","1401887816","1401887810","1401887821"],"photo_ids_order":["1401887810","1401887811","1401887816","1401887818","1401887821","1401887833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/505b1a3c5b602ede95de91dde48fc0ad.jpg","text":"TemporaryFile(/tmp/multipartBody384555376945713047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184043087,"filename":"image_31122025_11_16_35_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d586fe3e4ceebbe7852ec0d96e7f7556.jpg","text":"TemporaryFile(/tmp/multipartBody6871312739883320109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184043087,"filename":"image_31122025_11_16_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ee46f601cbe343b0da6b571a957757b.jpg","text":"TemporaryFile(/tmp/multipartBody5345780515865751735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184043087,"filename":"image_31122025_11_15_54_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4326868ac15c916d376a94572430e41f.jpg","text":"TemporaryFile(/tmp/multipartBody4683016579616522455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184043087,"filename":"image_31122025_11_16_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e9731d3e4db218fb48d470cab55322e.jpg","text":"TemporaryFile(/tmp/multipartBody9219232610374729710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184043087,"filename":"image_31122025_11_15_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad77fa16d22cdfcf95bc7112475a94a9.jpg","text":"TemporaryFile(/tmp/multipartBody4542171504423133405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184043087,"filename":"image_31122025_11_16_45_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887816","file1":"1401887811","file0":"1401887810","file4":"1401887821","file5":"1401887833","file3":"1401887818"},"map_files_photo_id_array":[{"photo_id":"1401887833","filename":"file5"},{"photo_id":"1401887816","filename":"file2"},{"photo_id":"1401887821","filename":"file4"},{"photo_id":"1401887811","filename":"file1"},{"photo_id":"1401887810","filename":"file0"},{"photo_id":"1401887818","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887818":["hashtag1","hashtag2"]},{"1401887833":["hashtag1","hashtag2"]},{"1401887811":["hashtag1","hashtag2"]},{"1401887816":["hashtag1","hashtag2"]},{"1401887810":["hashtag1","hashtag2"]},{"1401887821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887818, 1401887833, 1401887811, 1401887816, 1401887810, 1401887821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.323885440826416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:27:03.146232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/17/image_31122025_11_17_14_9808.jpg', '/home/pi/Desktop/images/31122025/11/17/image_31122025_11_17_24_9922.jpg', '/home/pi/Desktop/images/31122025/11/17/image_31122025_11_17_44_9779.jpg', '/home/pi/Desktop/images/31122025/11/17/image_31122025_11_17_54_9742.jpg', '/home/pi/Desktop/images/31122025/11/18/image_31122025_11_18_15_10682.jpg', '/home/pi/Desktop/images/31122025/11/18/image_31122025_11_18_24_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/17/image_31122025_11_17_14_9808.jpg
/home/pi/Desktop/images/31122025/11/17/image_31122025_11_17_24_9922.jpg
/home/pi/Desktop/images/31122025/11/17/image_31122025_11_17_44_9779.jpg
/home/pi/Desktop/images/31122025/11/17/image_31122025_11_17_54_9742.jpg
/home/pi/Desktop/images/31122025/11/18/image_31122025_11_18_15_10682.jpg
/home/pi/Desktop/images/31122025/11/18/image_31122025_11_18_24_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887851","1401887841","1401887844","1401887846","1401887849","1401887854"],"photo_ids_order":["1401887841","1401887844","1401887846","1401887849","1401887851","1401887854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da58f431e443c71143fd708a8862193f.jpg","text":"TemporaryFile(/tmp/multipartBody1929380165633292568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184083961,"filename":"image_31122025_11_18_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65bd292818f0a6e8fe59322919d3a178.jpg","text":"TemporaryFile(/tmp/multipartBody1069670978499557507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184083961,"filename":"image_31122025_11_17_14_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03b0995fb666dc04246a46fe7745292b.jpg","text":"TemporaryFile(/tmp/multipartBody6028879270249277380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184083961,"filename":"image_31122025_11_17_24_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b176879a80e9875ce58b8baf9a3d17ae.jpg","text":"TemporaryFile(/tmp/multipartBody8036586201951440796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184083961,"filename":"image_31122025_11_17_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/409dba8b1313fbe1b55a35c7e6fcd316.jpg","text":"TemporaryFile(/tmp/multipartBody7172375341619609581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184083961,"filename":"image_31122025_11_17_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb967fce434252fd269a3a18c1d2698b.jpg","text":"TemporaryFile(/tmp/multipartBody8326145216172661991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184083961,"filename":"image_31122025_11_18_24_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887846","file1":"1401887844","file0":"1401887841","file4":"1401887851","file5":"1401887854","file3":"1401887849"},"map_files_photo_id_array":[{"photo_id":"1401887854","filename":"file5"},{"photo_id":"1401887846","filename":"file2"},{"photo_id":"1401887851","filename":"file4"},{"photo_id":"1401887844","filename":"file1"},{"photo_id":"1401887841","filename":"file0"},{"photo_id":"1401887849","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887851":["hashtag1","hashtag2"]},{"1401887841":["hashtag1","hashtag2"]},{"1401887844":["hashtag1","hashtag2"]},{"1401887846":["hashtag1","hashtag2"]},{"1401887849":["hashtag1","hashtag2"]},{"1401887854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887851, 1401887841, 1401887844, 1401887846, 1401887849, 1401887854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.727232933044434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:27:42.474844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_51_3602.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_02_2565.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_06_3580.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_14_2706.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_21_2685.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_27_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/26/image_03112025_18_26_51_3602.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_02_2565.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_06_3580.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_14_2706.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_21_2685.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_27_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887865","1401887864","1401887867","1401887866","1401887860","1401887863"],"photo_ids_order":["1401887860","1401887863","1401887864","1401887865","1401887866","1401887867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77a77bc186cf8d5f2c986f207cf8f20d.jpg","text":"TemporaryFile(/tmp/multipartBody6655490749846028928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184124387,"filename":"image_03112025_18_27_14_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5aeeb10836eb12b7ffc020e10e58cf96.jpg","text":"TemporaryFile(/tmp/multipartBody6789785748114281668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184124387,"filename":"image_03112025_18_27_06_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a4201679e52a07bba9c4ac53b698ffc.jpg","text":"TemporaryFile(/tmp/multipartBody9114301891653797462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184124387,"filename":"image_03112025_18_27_27_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2db7fd00d24dafdee66197dd603a38b9.jpg","text":"TemporaryFile(/tmp/multipartBody479600880425934807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184124387,"filename":"image_03112025_18_27_21_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1eff27dec661a3187832253230ddb88.jpg","text":"TemporaryFile(/tmp/multipartBody2414599258431492557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184124387,"filename":"image_03112025_18_26_51_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33208f63679b05c127c490c938a4be86.jpg","text":"TemporaryFile(/tmp/multipartBody8842424998793316602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184124387,"filename":"image_03112025_18_27_02_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887864","file1":"1401887863","file0":"1401887860","file4":"1401887866","file5":"1401887867","file3":"1401887865"},"map_files_photo_id_array":[{"photo_id":"1401887867","filename":"file5"},{"photo_id":"1401887864","filename":"file2"},{"photo_id":"1401887866","filename":"file4"},{"photo_id":"1401887863","filename":"file1"},{"photo_id":"1401887860","filename":"file0"},{"photo_id":"1401887865","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887865":["hashtag1","hashtag2"]},{"1401887864":["hashtag1","hashtag2"]},{"1401887867":["hashtag1","hashtag2"]},{"1401887866":["hashtag1","hashtag2"]},{"1401887860":["hashtag1","hashtag2"]},{"1401887863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887865, 1401887864, 1401887867, 1401887866, 1401887860, 1401887863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.903146505355835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:28:22.655102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/18/image_31122025_11_18_34_9943.jpg', '/home/pi/Desktop/images/31122025/11/18/image_31122025_11_18_54_9708.jpg', '/home/pi/Desktop/images/31122025/11/19/image_31122025_11_19_14_9865.jpg', '/home/pi/Desktop/images/31122025/11/19/image_31122025_11_19_24_9845.jpg', '/home/pi/Desktop/images/31122025/11/19/image_31122025_11_19_45_10670.jpg', '/home/pi/Desktop/images/31122025/11/19/image_31122025_11_19_54_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/18/image_31122025_11_18_34_9943.jpg
/home/pi/Desktop/images/31122025/11/18/image_31122025_11_18_54_9708.jpg
/home/pi/Desktop/images/31122025/11/19/image_31122025_11_19_14_9865.jpg
/home/pi/Desktop/images/31122025/11/19/image_31122025_11_19_24_9845.jpg
/home/pi/Desktop/images/31122025/11/19/image_31122025_11_19_45_10670.jpg
/home/pi/Desktop/images/31122025/11/19/image_31122025_11_19_54_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887886","1401887871","1401887873","1401887879","1401887884","1401887881"],"photo_ids_order":["1401887871","1401887873","1401887879","1401887881","1401887884","1401887886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7caf4a9081352f6b755a7323b9f70066.jpg","text":"TemporaryFile(/tmp/multipartBody1906472265235061768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184163389,"filename":"image_31122025_11_19_54_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/468e0aeeec303af0e923ac3f0be331af.jpg","text":"TemporaryFile(/tmp/multipartBody353224697282347433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184163389,"filename":"image_31122025_11_18_34_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9d0b6cd6011288f9bea82161731ac05.jpg","text":"TemporaryFile(/tmp/multipartBody5413256237571806720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184163389,"filename":"image_31122025_11_18_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d16c9452498e78ab6d4458f4385c37b.jpg","text":"TemporaryFile(/tmp/multipartBody3542067569281022706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184163389,"filename":"image_31122025_11_19_14_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98b9813a9a5f589e2a9395f4a915be7e.jpg","text":"TemporaryFile(/tmp/multipartBody2848273612032141254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184163389,"filename":"image_31122025_11_19_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f77346cb3c8ffb05d94b67b4c33c31aa.jpg","text":"TemporaryFile(/tmp/multipartBody7056978301878054687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184163389,"filename":"image_31122025_11_19_24_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887879","file1":"1401887873","file0":"1401887871","file4":"1401887884","file5":"1401887886","file3":"1401887881"},"map_files_photo_id_array":[{"photo_id":"1401887886","filename":"file5"},{"photo_id":"1401887879","filename":"file2"},{"photo_id":"1401887884","filename":"file4"},{"photo_id":"1401887873","filename":"file1"},{"photo_id":"1401887871","filename":"file0"},{"photo_id":"1401887881","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887886":["hashtag1","hashtag2"]},{"1401887871":["hashtag1","hashtag2"]},{"1401887873":["hashtag1","hashtag2"]},{"1401887879":["hashtag1","hashtag2"]},{"1401887884":["hashtag1","hashtag2"]},{"1401887881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887886, 1401887871, 1401887873, 1401887879, 1401887884, 1401887881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76491713523865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:29:03.818924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/20/image_31122025_11_20_14_10054.jpg', '/home/pi/Desktop/images/31122025/11/20/image_31122025_11_20_44_9760.jpg', '/home/pi/Desktop/images/31122025/11/20/image_31122025_11_20_55_10663.jpg', '/home/pi/Desktop/images/31122025/11/20/image_31122025_11_21_05_9795.jpg', '/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_15_9867.jpg', '/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_24_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/20/image_31122025_11_20_14_10054.jpg
/home/pi/Desktop/images/31122025/11/20/image_31122025_11_20_44_9760.jpg
/home/pi/Desktop/images/31122025/11/20/image_31122025_11_20_55_10663.jpg
/home/pi/Desktop/images/31122025/11/20/image_31122025_11_21_05_9795.jpg
/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_15_9867.jpg
/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_24_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887901","1401887910","1401887904","1401887907","1401887897","1401887899"],"photo_ids_order":["1401887897","1401887899","1401887901","1401887904","1401887907","1401887910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6361ab644626b1be9abc4510dfd1656c.jpg","text":"TemporaryFile(/tmp/multipartBody5279001501903825818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184204694,"filename":"image_31122025_11_20_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbae049585f093adb80695b65dc541df.jpg","text":"TemporaryFile(/tmp/multipartBody3093047625076829374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184204694,"filename":"image_31122025_11_21_24_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aa71ea03a8d1e207de7a10887987fab.jpg","text":"TemporaryFile(/tmp/multipartBody8997031201611003416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184204694,"filename":"image_31122025_11_21_05_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/145574dc0806aec7fad05bc78af3ae82.jpg","text":"TemporaryFile(/tmp/multipartBody4208119276546334316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184204694,"filename":"image_31122025_11_21_15_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1aa738f3037d7f927a7b16004c67a72.jpg","text":"TemporaryFile(/tmp/multipartBody476476031676434521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184204694,"filename":"image_31122025_11_20_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb2d64dc22d2df0a4aacd718091add25.jpg","text":"TemporaryFile(/tmp/multipartBody3035090667744008861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184204694,"filename":"image_31122025_11_20_44_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887901","file1":"1401887899","file0":"1401887897","file4":"1401887907","file5":"1401887910","file3":"1401887904"},"map_files_photo_id_array":[{"photo_id":"1401887910","filename":"file5"},{"photo_id":"1401887901","filename":"file2"},{"photo_id":"1401887907","filename":"file4"},{"photo_id":"1401887899","filename":"file1"},{"photo_id":"1401887897","filename":"file0"},{"photo_id":"1401887904","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401887901":["hashtag1","hashtag2"]},{"1401887910":["hashtag1","hashtag2"]},{"1401887904":["hashtag1","hashtag2"]},{"1401887907":["hashtag1","hashtag2"]},{"1401887897":["hashtag1","hashtag2"]},{"1401887899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401887901, 1401887910, 1401887904, 1401887907, 1401887897, 1401887899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15986371040344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:29:42.818216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_33_3649.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_41_2780.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_48_2686.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_50_2569.jpg', '/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_54_3677.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_03_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_33_3649.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_41_2780.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_48_2686.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_50_2569.jpg
/home/pi/Desktop/images/03112025/18/27/image_03112025_18_27_54_3677.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_03_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401887938","1401887940","1401887928","1401887919","1401887936","1401887929"],"photo_ids_order":["1401887919","1401887928","1401887929","1401887936","1401887938","1401887940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2775270834223f083ea1d90060ffea0a.jpg","text":"TemporaryFile(/tmp/multipartBody4268966446999520787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184244752,"filename":"image_03112025_18_27_54_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13f7aa9168c5405f1603f947ff27f4a1.jpg","text":"TemporaryFile(/tmp/multipartBody4735619581778591582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184244752,"filename":"image_03112025_18_28_03_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4828ce183fc485bbb9bd101b40f08b4.jpg","text":"TemporaryFile(/tmp/multipartBody4691283233078494338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184244752,"filename":"image_03112025_18_27_41_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/744de26a9f2959616c027e170fbc4af5.jpg","text":"TemporaryFile(/tmp/multipartBody3321631610773622848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184244752,"filename":"image_03112025_18_27_33_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e779874331884b9f47c5b68ea735f599.jpg","text":"TemporaryFile(/tmp/multipartBody1102814929804854404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184244752,"filename":"image_03112025_18_27_50_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c332cc9b9604aa7674e1a718c901a459.jpg","text":"TemporaryFile(/tmp/multipartBody1746297090370782309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184244752,"filename":"image_03112025_18_27_48_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401887929","file1":"1401887928","file0":"1401887919","file4":"1401887938","file5":"1401887940","file3":"1401887936"},"map_files_photo_id_array":[{"photo_id":"1401887940","filename":"file5"},{"photo_id":"1401887929","filename":"file2"},{"photo_id":"1401887938","filename":"file4"},{"photo_id":"1401887928","filename":"file1"},{"photo_id":"1401887919","filename":"file0"},{"photo_id":"1401887936","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401887938":["hashtag1","hashtag2"]},{"1401887940":["hashtag1","hashtag2"]},{"1401887928":["hashtag1","hashtag2"]},{"1401887919":["hashtag1","hashtag2"]},{"1401887936":["hashtag1","hashtag2"]},{"1401887929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401887938, 1401887940, 1401887928, 1401887919, 1401887936, 1401887929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.30651593208313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:31:02.700955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_34_9753.jpg', '/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_45_10827.jpg', '/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_55_9819.jpg', '/home/pi/Desktop/images/31122025/11/21/image_31122025_11_22_05_9736.jpg', '/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_14_9670.jpg', '/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_25_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_34_9753.jpg
/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_45_10827.jpg
/home/pi/Desktop/images/31122025/11/21/image_31122025_11_21_55_9819.jpg
/home/pi/Desktop/images/31122025/11/21/image_31122025_11_22_05_9736.jpg
/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_14_9670.jpg
/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_25_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888033","1401888071","1401888074","1401888068","1401888077","1401888047"],"photo_ids_order":["1401888033","1401888047","1401888068","1401888071","1401888074","1401888077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd93fae744977e93ae3cd7c10cb5e660.jpg","text":"TemporaryFile(/tmp/multipartBody4686177445929808677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184323536,"filename":"image_31122025_11_21_34_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4abb195d869f7f528d7abe8eb02c90c2.jpg","text":"TemporaryFile(/tmp/multipartBody7725147489584915782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184323536,"filename":"image_31122025_11_22_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac4bc0f64383d37f160eadfc05afdc04.jpg","text":"TemporaryFile(/tmp/multipartBody127158444490658537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184323536,"filename":"image_31122025_11_22_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09fbde1c653c31484b11a7b0a8533177.jpg","text":"TemporaryFile(/tmp/multipartBody8441204459414155130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184323536,"filename":"image_31122025_11_21_55_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba898143faba922f8e7ee519cd00bdef.jpg","text":"TemporaryFile(/tmp/multipartBody8768967058759155627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184323536,"filename":"image_31122025_11_22_25_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33688a57ed8aaaa83259d04382a06b07.jpg","text":"TemporaryFile(/tmp/multipartBody9100341451420079873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184323536,"filename":"image_31122025_11_21_45_10827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888068","file1":"1401888047","file0":"1401888033","file4":"1401888074","file5":"1401888077","file3":"1401888071"},"map_files_photo_id_array":[{"photo_id":"1401888077","filename":"file5"},{"photo_id":"1401888068","filename":"file2"},{"photo_id":"1401888074","filename":"file4"},{"photo_id":"1401888047","filename":"file1"},{"photo_id":"1401888033","filename":"file0"},{"photo_id":"1401888071","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888033":["hashtag1","hashtag2"]},{"1401888071":["hashtag1","hashtag2"]},{"1401888074":["hashtag1","hashtag2"]},{"1401888068":["hashtag1","hashtag2"]},{"1401888077":["hashtag1","hashtag2"]},{"1401888047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888033, 1401888071, 1401888074, 1401888068, 1401888077, 1401888047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73593282699585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:31:42.135992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_06_2719.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_15_2713.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_17_2672.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_20_2940.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_26_2591.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_29_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_06_2719.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_15_2713.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_17_2672.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_20_2940.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_26_2591.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_29_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888081","1401888084","1401888086","1401888083","1401888085","1401888087"],"photo_ids_order":["1401888081","1401888083","1401888084","1401888085","1401888086","1401888087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24f0876b21595a38094b7937469e01ed.jpg","text":"TemporaryFile(/tmp/multipartBody9212255410623737474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184364048,"filename":"image_03112025_18_28_06_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b645084e074be93afed0985bd047de8.jpg","text":"TemporaryFile(/tmp/multipartBody8172385158834206197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184364048,"filename":"image_03112025_18_28_17_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ac93ec3a4c2be5b57da3d8571137a78.jpg","text":"TemporaryFile(/tmp/multipartBody1579451860792884938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184364048,"filename":"image_03112025_18_28_26_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1aaec4856c58012b6ae7a8c4db3083af.jpg","text":"TemporaryFile(/tmp/multipartBody273320562217793777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184364048,"filename":"image_03112025_18_28_15_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caef7dccd99aa1ee4db79d253caf39a0.jpg","text":"TemporaryFile(/tmp/multipartBody545132734075948089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184364048,"filename":"image_03112025_18_28_20_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a541f51520829984c5a082a7071ee20.jpg","text":"TemporaryFile(/tmp/multipartBody3040507956169543406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184364048,"filename":"image_03112025_18_28_29_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888084","file1":"1401888083","file0":"1401888081","file4":"1401888086","file5":"1401888087","file3":"1401888085"},"map_files_photo_id_array":[{"photo_id":"1401888087","filename":"file5"},{"photo_id":"1401888084","filename":"file2"},{"photo_id":"1401888086","filename":"file4"},{"photo_id":"1401888083","filename":"file1"},{"photo_id":"1401888081","filename":"file0"},{"photo_id":"1401888085","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888081":["hashtag1","hashtag2"]},{"1401888084":["hashtag1","hashtag2"]},{"1401888086":["hashtag1","hashtag2"]},{"1401888083":["hashtag1","hashtag2"]},{"1401888085":["hashtag1","hashtag2"]},{"1401888087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888081, 1401888084, 1401888086, 1401888083, 1401888085, 1401888087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47941613197327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:32:22.316483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_35_9659.jpg', '/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_44_9800.jpg', '/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_54_9716.jpg', '/home/pi/Desktop/images/31122025/11/22/image_31122025_11_23_05_10754.jpg', '/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_15_9620.jpg', '/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_24_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_35_9659.jpg
/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_44_9800.jpg
/home/pi/Desktop/images/31122025/11/22/image_31122025_11_22_54_9716.jpg
/home/pi/Desktop/images/31122025/11/22/image_31122025_11_23_05_10754.jpg
/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_15_9620.jpg
/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_24_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888106","1401888111","1401888108","1401888092","1401888095","1401888101"],"photo_ids_order":["1401888092","1401888095","1401888101","1401888106","1401888108","1401888111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1784d8e11e52b1aabf3b8e7c8904430c.jpg","text":"TemporaryFile(/tmp/multipartBody5153059572128085102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184403058,"filename":"image_31122025_11_23_05_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12aea4b32903e3526d0e54a3ffd8d5e7.jpg","text":"TemporaryFile(/tmp/multipartBody8885525280464707597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184403058,"filename":"image_31122025_11_23_24_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59acd8554277c078b2b9bf4011284ae4.jpg","text":"TemporaryFile(/tmp/multipartBody8525581922803108262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184403058,"filename":"image_31122025_11_23_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4871c8b388b92f17f4c8a9dec888efa3.jpg","text":"TemporaryFile(/tmp/multipartBody6988597852488087616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184403058,"filename":"image_31122025_11_22_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b38d6643d08e293bbb5d00360de5bb9.jpg","text":"TemporaryFile(/tmp/multipartBody2088311745680716666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184403058,"filename":"image_31122025_11_22_44_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c4bc7d61f93ae60f83b0f4bf64618ba.jpg","text":"TemporaryFile(/tmp/multipartBody2217675081448983197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184403058,"filename":"image_31122025_11_22_54_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888101","file1":"1401888095","file0":"1401888092","file4":"1401888108","file5":"1401888111","file3":"1401888106"},"map_files_photo_id_array":[{"photo_id":"1401888111","filename":"file5"},{"photo_id":"1401888101","filename":"file2"},{"photo_id":"1401888108","filename":"file4"},{"photo_id":"1401888095","filename":"file1"},{"photo_id":"1401888092","filename":"file0"},{"photo_id":"1401888106","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888106":["hashtag1","hashtag2"]},{"1401888111":["hashtag1","hashtag2"]},{"1401888108":["hashtag1","hashtag2"]},{"1401888092":["hashtag1","hashtag2"]},{"1401888095":["hashtag1","hashtag2"]},{"1401888101":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888106, 1401888111, 1401888108, 1401888092, 1401888095, 1401888101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.240392208099365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:33:03.130624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_35_10664.jpg', '/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_45_9841.jpg', '/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_55_9857.jpg', '/home/pi/Desktop/images/31122025/11/23/image_31122025_11_24_05_9759.jpg', '/home/pi/Desktop/images/31122025/11/24/image_31122025_11_24_25_10690.jpg', '/home/pi/Desktop/images/31122025/11/24/image_31122025_11_24_44_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_35_10664.jpg
/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_45_9841.jpg
/home/pi/Desktop/images/31122025/11/23/image_31122025_11_23_55_9857.jpg
/home/pi/Desktop/images/31122025/11/23/image_31122025_11_24_05_9759.jpg
/home/pi/Desktop/images/31122025/11/24/image_31122025_11_24_25_10690.jpg
/home/pi/Desktop/images/31122025/11/24/image_31122025_11_24_44_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888132","1401888126","1401888129","1401888134","1401888125","1401888127"],"photo_ids_order":["1401888125","1401888126","1401888127","1401888129","1401888132","1401888134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4634c2804a8245713eec0de032f73fd.jpg","text":"TemporaryFile(/tmp/multipartBody1831807488660479475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184443952,"filename":"image_31122025_11_24_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b769eb2cf0e9cd92c0e90c999e065266.jpg","text":"TemporaryFile(/tmp/multipartBody2261897586741902545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184443952,"filename":"image_31122025_11_23_45_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d82a7298e8222c1c2753d603c67824e.jpg","text":"TemporaryFile(/tmp/multipartBody9103023031049288439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184443952,"filename":"image_31122025_11_24_05_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c72f96387fbc41e7de968ecfbf4316de.jpg","text":"TemporaryFile(/tmp/multipartBody1011212849329541956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184443952,"filename":"image_31122025_11_24_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/709f39d0996d8bb8cd38c0551a0bbfe4.jpg","text":"TemporaryFile(/tmp/multipartBody2331191793909130598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184443952,"filename":"image_31122025_11_23_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3af788cc3aef8d5438f9bba59066a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4589170119421504860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184443952,"filename":"image_31122025_11_23_55_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888127","file1":"1401888126","file0":"1401888125","file4":"1401888132","file5":"1401888134","file3":"1401888129"},"map_files_photo_id_array":[{"photo_id":"1401888134","filename":"file5"},{"photo_id":"1401888127","filename":"file2"},{"photo_id":"1401888132","filename":"file4"},{"photo_id":"1401888126","filename":"file1"},{"photo_id":"1401888125","filename":"file0"},{"photo_id":"1401888129","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888132":["hashtag1","hashtag2"]},{"1401888126":["hashtag1","hashtag2"]},{"1401888129":["hashtag1","hashtag2"]},{"1401888134":["hashtag1","hashtag2"]},{"1401888125":["hashtag1","hashtag2"]},{"1401888127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888132, 1401888126, 1401888129, 1401888134, 1401888125, 1401888127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91745615005493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:33:42.479857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_35_2607.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_51_2660.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_53_2600.jpg', '/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_57_3562.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_06_3547.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_14_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_35_2607.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_51_2660.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_53_2600.jpg
/home/pi/Desktop/images/03112025/18/28/image_03112025_18_28_57_3562.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_06_3547.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_14_2541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888147","1401888221","1401888143","1401888212","1401888241","1401888186"],"photo_ids_order":["1401888143","1401888147","1401888186","1401888212","1401888221","1401888241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96ccca168779b25f0f7a27f593a65866.jpg","text":"TemporaryFile(/tmp/multipartBody6396876382955484971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184485741,"filename":"image_03112025_18_28_51_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/618bbe9017d878cd758c1ca966a9b600.jpg","text":"TemporaryFile(/tmp/multipartBody7129820319059274851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184485741,"filename":"image_03112025_18_29_06_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b2114ff35cd4d00accb1eed176c41d8.jpg","text":"TemporaryFile(/tmp/multipartBody8689077589892994637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184485741,"filename":"image_03112025_18_28_35_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fda77c61846d7a27da74ff33701a89b5.jpg","text":"TemporaryFile(/tmp/multipartBody1571476122088828375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184485741,"filename":"image_03112025_18_28_57_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e184b25afd459010912a361f033ae00.jpg","text":"TemporaryFile(/tmp/multipartBody3944186332260869327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184485741,"filename":"image_03112025_18_29_14_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7583db30ed5dc871f8352bd019bad8c5.jpg","text":"TemporaryFile(/tmp/multipartBody5050444113944827994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184485741,"filename":"image_03112025_18_28_53_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888186","file1":"1401888147","file0":"1401888143","file4":"1401888221","file5":"1401888241","file3":"1401888212"},"map_files_photo_id_array":[{"photo_id":"1401888241","filename":"file5"},{"photo_id":"1401888186","filename":"file2"},{"photo_id":"1401888221","filename":"file4"},{"photo_id":"1401888147","filename":"file1"},{"photo_id":"1401888143","filename":"file0"},{"photo_id":"1401888212","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888147":["hashtag1","hashtag2"]},{"1401888221":["hashtag1","hashtag2"]},{"1401888143":["hashtag1","hashtag2"]},{"1401888212":["hashtag1","hashtag2"]},{"1401888241":["hashtag1","hashtag2"]},{"1401888186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888147, 1401888221, 1401888143, 1401888212, 1401888241, 1401888186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7876980304718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:34:22.717851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/24/image_31122025_11_24_54_9786.jpg', '/home/pi/Desktop/images/31122025/11/25/image_31122025_11_25_14_10057.jpg', '/home/pi/Desktop/images/31122025/11/25/image_31122025_11_25_25_10922.jpg', '/home/pi/Desktop/images/31122025/11/25/image_31122025_11_25_45_9684.jpg', '/home/pi/Desktop/images/31122025/11/25/image_31122025_11_26_05_10780.jpg', '/home/pi/Desktop/images/31122025/11/26/image_31122025_11_26_25_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/24/image_31122025_11_24_54_9786.jpg
/home/pi/Desktop/images/31122025/11/25/image_31122025_11_25_14_10057.jpg
/home/pi/Desktop/images/31122025/11/25/image_31122025_11_25_25_10922.jpg
/home/pi/Desktop/images/31122025/11/25/image_31122025_11_25_45_9684.jpg
/home/pi/Desktop/images/31122025/11/25/image_31122025_11_26_05_10780.jpg
/home/pi/Desktop/images/31122025/11/26/image_31122025_11_26_25_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888288","1401888273","1401888281","1401888269","1401888271","1401888291"],"photo_ids_order":["1401888269","1401888271","1401888273","1401888281","1401888288","1401888291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06eb780efa0dd10f42549fd33cb00f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3991401698346992142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184523454,"filename":"image_31122025_11_26_05_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8619085e27982c407110c7bc9176ca86.jpg","text":"TemporaryFile(/tmp/multipartBody4124846774263228365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184523454,"filename":"image_31122025_11_25_25_10922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43f994961e9420413697f89457b276a3.jpg","text":"TemporaryFile(/tmp/multipartBody4811322329053499845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184523454,"filename":"image_31122025_11_25_45_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64383cf826e7c013fcf39aed2b4d30cc.jpg","text":"TemporaryFile(/tmp/multipartBody8125602076659254579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184523454,"filename":"image_31122025_11_24_54_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1406f10599e74629895e638ad053e00.jpg","text":"TemporaryFile(/tmp/multipartBody8464404153197753628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184523454,"filename":"image_31122025_11_25_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f10007c3e5031db3e0aace696eefeff0.jpg","text":"TemporaryFile(/tmp/multipartBody1611926739067338352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184523454,"filename":"image_31122025_11_26_25_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888273","file1":"1401888271","file0":"1401888269","file4":"1401888288","file5":"1401888291","file3":"1401888281"},"map_files_photo_id_array":[{"photo_id":"1401888291","filename":"file5"},{"photo_id":"1401888273","filename":"file2"},{"photo_id":"1401888288","filename":"file4"},{"photo_id":"1401888271","filename":"file1"},{"photo_id":"1401888269","filename":"file0"},{"photo_id":"1401888281","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888288":["hashtag1","hashtag2"]},{"1401888273":["hashtag1","hashtag2"]},{"1401888281":["hashtag1","hashtag2"]},{"1401888269":["hashtag1","hashtag2"]},{"1401888271":["hashtag1","hashtag2"]},{"1401888291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888288, 1401888273, 1401888281, 1401888269, 1401888271, 1401888291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.960431814193726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:35:02.393250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/26/image_31122025_11_26_34_9646.jpg', '/home/pi/Desktop/images/31122025/11/26/image_31122025_11_26_44_9768.jpg', '/home/pi/Desktop/images/31122025/11/26/image_31122025_11_26_55_10707.jpg', '/home/pi/Desktop/images/31122025/11/26/image_31122025_11_27_04_9723.jpg', '/home/pi/Desktop/images/31122025/11/27/image_31122025_11_27_14_9758.jpg', '/home/pi/Desktop/images/31122025/11/27/image_31122025_11_27_35_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/26/image_31122025_11_26_34_9646.jpg
/home/pi/Desktop/images/31122025/11/26/image_31122025_11_26_44_9768.jpg
/home/pi/Desktop/images/31122025/11/26/image_31122025_11_26_55_10707.jpg
/home/pi/Desktop/images/31122025/11/26/image_31122025_11_27_04_9723.jpg
/home/pi/Desktop/images/31122025/11/27/image_31122025_11_27_14_9758.jpg
/home/pi/Desktop/images/31122025/11/27/image_31122025_11_27_35_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888366","1401888339","1401888330","1401888327","1401888320","1401888367"],"photo_ids_order":["1401888320","1401888327","1401888330","1401888339","1401888366","1401888367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/500ca55c6faa2ad391a57d957f095ab2.jpg","text":"TemporaryFile(/tmp/multipartBody4345074423918146994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184563348,"filename":"image_31122025_11_27_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85598de55ce53acd410641cbf70eb5e6.jpg","text":"TemporaryFile(/tmp/multipartBody1309678524138696587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184563348,"filename":"image_31122025_11_27_04_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6bd121ed89436b034aed3da8b15d679.jpg","text":"TemporaryFile(/tmp/multipartBody4809124768670554114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184563348,"filename":"image_31122025_11_26_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/332be8cc325da3146cd0da724b3578f5.jpg","text":"TemporaryFile(/tmp/multipartBody5817186640812927589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184563348,"filename":"image_31122025_11_26_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4500aa4b447d42e249e17dd6d53011f8.jpg","text":"TemporaryFile(/tmp/multipartBody1167665895158969824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184563348,"filename":"image_31122025_11_26_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a393d4a01d6374d9eb04e5ac3a0a3006.jpg","text":"TemporaryFile(/tmp/multipartBody3755935896652604683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184563348,"filename":"image_31122025_11_27_35_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888330","file1":"1401888327","file0":"1401888320","file4":"1401888366","file5":"1401888367","file3":"1401888339"},"map_files_photo_id_array":[{"photo_id":"1401888367","filename":"file5"},{"photo_id":"1401888330","filename":"file2"},{"photo_id":"1401888366","filename":"file4"},{"photo_id":"1401888327","filename":"file1"},{"photo_id":"1401888320","filename":"file0"},{"photo_id":"1401888339","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888366":["hashtag1","hashtag2"]},{"1401888339":["hashtag1","hashtag2"]},{"1401888330":["hashtag1","hashtag2"]},{"1401888327":["hashtag1","hashtag2"]},{"1401888320":["hashtag1","hashtag2"]},{"1401888367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888366, 1401888339, 1401888330, 1401888327, 1401888320, 1401888367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.906126499176025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:35:41.878774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_21_2585.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_27_3544.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_30_2675.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_32_2598.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_36_3670.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_41_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_21_2585.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_27_3544.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_30_2675.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_32_2598.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_36_3670.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_41_2519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888387","1401888372","1401888386","1401888388","1401888385","1401888384"],"photo_ids_order":["1401888372","1401888384","1401888385","1401888386","1401888387","1401888388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/668158d24de4309f9040a085820a206c.jpg","text":"TemporaryFile(/tmp/multipartBody1674459704396219997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184603800,"filename":"image_03112025_18_29_36_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ca994df62e14cf78b32e7fcb6dc69b2.jpg","text":"TemporaryFile(/tmp/multipartBody6373289836916276857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184603800,"filename":"image_03112025_18_29_21_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/565d5a36b2df3bb8190add2cda61edd5.jpg","text":"TemporaryFile(/tmp/multipartBody8478516080340219011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184603800,"filename":"image_03112025_18_29_32_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe2e4d73ecf5af34d819060f76509bb3.jpg","text":"TemporaryFile(/tmp/multipartBody1680376631977708340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184603800,"filename":"image_03112025_18_29_41_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/278e68c1888d33169377df9c09e553be.jpg","text":"TemporaryFile(/tmp/multipartBody1411297066065928205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184603800,"filename":"image_03112025_18_29_30_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88f9eb94b4916cd045803179a71671c5.jpg","text":"TemporaryFile(/tmp/multipartBody6701323382584373189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184603800,"filename":"image_03112025_18_29_27_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888385","file1":"1401888384","file0":"1401888372","file4":"1401888387","file5":"1401888388","file3":"1401888386"},"map_files_photo_id_array":[{"photo_id":"1401888388","filename":"file5"},{"photo_id":"1401888385","filename":"file2"},{"photo_id":"1401888387","filename":"file4"},{"photo_id":"1401888384","filename":"file1"},{"photo_id":"1401888372","filename":"file0"},{"photo_id":"1401888386","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888387":["hashtag1","hashtag2"]},{"1401888372":["hashtag1","hashtag2"]},{"1401888386":["hashtag1","hashtag2"]},{"1401888388":["hashtag1","hashtag2"]},{"1401888385":["hashtag1","hashtag2"]},{"1401888384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888387, 1401888372, 1401888386, 1401888388, 1401888385, 1401888384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.487096309661865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:36:22.113614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/27/image_31122025_11_27_44_9763.jpg', '/home/pi/Desktop/images/31122025/11/27/image_31122025_11_27_54_9859.jpg', '/home/pi/Desktop/images/31122025/11/27/image_31122025_11_28_04_9793.jpg', '/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_15_10713.jpg', '/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_25_9778.jpg', '/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_34_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/27/image_31122025_11_27_44_9763.jpg
/home/pi/Desktop/images/31122025/11/27/image_31122025_11_27_54_9859.jpg
/home/pi/Desktop/images/31122025/11/27/image_31122025_11_28_04_9793.jpg
/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_15_10713.jpg
/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_25_9778.jpg
/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_34_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888393","1401888396","1401888405","1401888412","1401888409","1401888399"],"photo_ids_order":["1401888393","1401888396","1401888399","1401888405","1401888409","1401888412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ff061651938bf1a8262901dfd7015ab.jpg","text":"TemporaryFile(/tmp/multipartBody5477279896964259682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184642849,"filename":"image_31122025_11_27_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b34e384c5096b7b80ff537296e2c8059.jpg","text":"TemporaryFile(/tmp/multipartBody1005398624120029024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184642849,"filename":"image_31122025_11_27_54_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a6423a24d5cf7258e61ff606d5ea586.jpg","text":"TemporaryFile(/tmp/multipartBody7422475629930623410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184642849,"filename":"image_31122025_11_28_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f70419d7f1540122dc84880281e54a4.jpg","text":"TemporaryFile(/tmp/multipartBody3740086108623735156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184642849,"filename":"image_31122025_11_28_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5973dce190cc0fe2002788328fdd5869.jpg","text":"TemporaryFile(/tmp/multipartBody6759166744085498981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184642849,"filename":"image_31122025_11_28_25_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d16075589dc3b1c3dc70f0c9dab9a18d.jpg","text":"TemporaryFile(/tmp/multipartBody8571266845662349246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184642849,"filename":"image_31122025_11_28_04_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888399","file1":"1401888396","file0":"1401888393","file4":"1401888409","file5":"1401888412","file3":"1401888405"},"map_files_photo_id_array":[{"photo_id":"1401888412","filename":"file5"},{"photo_id":"1401888399","filename":"file2"},{"photo_id":"1401888409","filename":"file4"},{"photo_id":"1401888396","filename":"file1"},{"photo_id":"1401888393","filename":"file0"},{"photo_id":"1401888405","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888393":["hashtag1","hashtag2"]},{"1401888396":["hashtag1","hashtag2"]},{"1401888405":["hashtag1","hashtag2"]},{"1401888412":["hashtag1","hashtag2"]},{"1401888409":["hashtag1","hashtag2"]},{"1401888399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888393, 1401888396, 1401888405, 1401888412, 1401888409, 1401888399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.424577951431274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:37:05.412884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_44_9812.jpg', '/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_55_10677.jpg', '/home/pi/Desktop/images/31122025/11/28/image_31122025_11_29_04_9581.jpg', '/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_14_9871.jpg', '/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_34_9591.jpg', '/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_44_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_44_9812.jpg
/home/pi/Desktop/images/31122025/11/28/image_31122025_11_28_55_10677.jpg
/home/pi/Desktop/images/31122025/11/28/image_31122025_11_29_04_9581.jpg
/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_14_9871.jpg
/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_34_9591.jpg
/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_44_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888417","1401888426","1401888428","1401888422","1401888419","1401888415"],"photo_ids_order":["1401888415","1401888417","1401888419","1401888422","1401888426","1401888428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61d6a80787e3f8d6ba3fd1605d3efb04.jpg","text":"TemporaryFile(/tmp/multipartBody1601832099676822714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184686158,"filename":"image_31122025_11_28_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8c0e5e21e63fcd3e514c3089b4f6021.jpg","text":"TemporaryFile(/tmp/multipartBody7266339610061680531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184686158,"filename":"image_31122025_11_29_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d40a9589b700fd1916816880b370d29.jpg","text":"TemporaryFile(/tmp/multipartBody554648998629650714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184686158,"filename":"image_31122025_11_29_44_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/038c7a07b9d8011aeec667a18c65935c.jpg","text":"TemporaryFile(/tmp/multipartBody4990463532244768878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184686158,"filename":"image_31122025_11_29_14_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b983d83ecfdf55a412fceefadec7750.jpg","text":"TemporaryFile(/tmp/multipartBody5007624354000066277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184686158,"filename":"image_31122025_11_29_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06810c9098829ca5798cd1acc1be790e.jpg","text":"TemporaryFile(/tmp/multipartBody78649217266398520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184686158,"filename":"image_31122025_11_28_44_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888419","file1":"1401888417","file0":"1401888415","file4":"1401888426","file5":"1401888428","file3":"1401888422"},"map_files_photo_id_array":[{"photo_id":"1401888428","filename":"file5"},{"photo_id":"1401888419","filename":"file2"},{"photo_id":"1401888426","filename":"file4"},{"photo_id":"1401888417","filename":"file1"},{"photo_id":"1401888415","filename":"file0"},{"photo_id":"1401888422","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888417":["hashtag1","hashtag2"]},{"1401888426":["hashtag1","hashtag2"]},{"1401888428":["hashtag1","hashtag2"]},{"1401888422":["hashtag1","hashtag2"]},{"1401888419":["hashtag1","hashtag2"]},{"1401888415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888417, 1401888426, 1401888428, 1401888422, 1401888419, 1401888415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98132109642029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:37:42.421873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_45_3618.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_51_3643.jpg', '/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_53_2638.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_07_3012.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_13_2569.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_19_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_45_3618.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_51_3643.jpg
/home/pi/Desktop/images/03112025/18/29/image_03112025_18_29_53_2638.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_07_3012.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_13_2569.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_19_2509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888438","1401888446","1401888437","1401888436","1401888439","1401888433"],"photo_ids_order":["1401888433","1401888436","1401888437","1401888438","1401888439","1401888446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fa5b3360e05281ef35e8807f644cc25.jpg","text":"TemporaryFile(/tmp/multipartBody7006752235322788556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184724339,"filename":"image_03112025_18_31_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6635c512de36b274e4821fa8cefe71fd.jpg","text":"TemporaryFile(/tmp/multipartBody5454707455642846940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184724339,"filename":"image_03112025_18_31_19_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecff905b1dd0f52fcaaca2783c4b6838.jpg","text":"TemporaryFile(/tmp/multipartBody5692458732840621518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184724339,"filename":"image_03112025_18_29_53_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fffda5ccee7b6fde689ffaf1acf5787.jpg","text":"TemporaryFile(/tmp/multipartBody3360170778583909352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184724339,"filename":"image_03112025_18_29_51_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42d22ff6a2a030ea6dfccb8c8f7103e3.jpg","text":"TemporaryFile(/tmp/multipartBody7297598044046444495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184724339,"filename":"image_03112025_18_31_13_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fc04e5e9d78160c94f34d1dfc6045e2.jpg","text":"TemporaryFile(/tmp/multipartBody4692839805895202365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184724339,"filename":"image_03112025_18_29_45_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888437","file1":"1401888436","file0":"1401888433","file4":"1401888439","file5":"1401888446","file3":"1401888438"},"map_files_photo_id_array":[{"photo_id":"1401888446","filename":"file5"},{"photo_id":"1401888437","filename":"file2"},{"photo_id":"1401888439","filename":"file4"},{"photo_id":"1401888436","filename":"file1"},{"photo_id":"1401888433","filename":"file0"},{"photo_id":"1401888438","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888438":["hashtag1","hashtag2"]},{"1401888446":["hashtag1","hashtag2"]},{"1401888437":["hashtag1","hashtag2"]},{"1401888436":["hashtag1","hashtag2"]},{"1401888439":["hashtag1","hashtag2"]},{"1401888433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888438, 1401888446, 1401888437, 1401888436, 1401888439, 1401888433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.146087408065796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:38:22.620303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_54_9710.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_14_10042.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_25_10859.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_35_9753.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_44_9708.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_54_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_54_9710.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_14_10042.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_25_10859.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_35_9753.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_44_9708.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_54_9803.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.636272668838501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:38:32.549834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_22_2704.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_32_10274.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_34_1886.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_36_1580.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_39_1705.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_41_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_22_2704.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_32_10274.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_34_1886.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_36_1580.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_39_1705.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_41_1744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888492","1401888471","1401888488","1401888475","1401888478","1401888466"],"photo_ids_order":["1401888466","1401888471","1401888475","1401888478","1401888488","1401888492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c45d73864f8fa9616a49e479ce6ec4fd.jpg","text":"TemporaryFile(/tmp/multipartBody5276900591025029086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184774464,"filename":"image_03112025_18_31_41_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1edad18ac653806af964c0b1aed22611.jpg","text":"TemporaryFile(/tmp/multipartBody6415234826479329477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184774464,"filename":"image_03112025_18_31_32_10274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36e6a83427c0c535d9df850679e74de4.jpg","text":"TemporaryFile(/tmp/multipartBody728468090669232455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184774464,"filename":"image_03112025_18_31_39_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e75e4053394ee0e238e043bfa0d279b2.jpg","text":"TemporaryFile(/tmp/multipartBody6957040527211446544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184774464,"filename":"image_03112025_18_31_34_1886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13ccae71ca65c10fea7b4368db72e267.jpg","text":"TemporaryFile(/tmp/multipartBody6694806934811227190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184774464,"filename":"image_03112025_18_31_36_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca8a5492de15648e30c445c35b3687b2.jpg","text":"TemporaryFile(/tmp/multipartBody4234717182171964707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184774464,"filename":"image_03112025_18_31_22_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888475","file1":"1401888471","file0":"1401888466","file4":"1401888488","file5":"1401888492","file3":"1401888478"},"map_files_photo_id_array":[{"photo_id":"1401888492","filename":"file5"},{"photo_id":"1401888475","filename":"file2"},{"photo_id":"1401888488","filename":"file4"},{"photo_id":"1401888471","filename":"file1"},{"photo_id":"1401888466","filename":"file0"},{"photo_id":"1401888478","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888492":["hashtag1","hashtag2"]},{"1401888471":["hashtag1","hashtag2"]},{"1401888488":["hashtag1","hashtag2"]},{"1401888475":["hashtag1","hashtag2"]},{"1401888478":["hashtag1","hashtag2"]},{"1401888466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888492, 1401888471, 1401888488, 1401888475, 1401888478, 1401888466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48166871070862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:39:12.683346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_44_3276.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_46_1634.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_52_2784.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_55_2663.jpg', '/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_59_3984.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_10_3779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_44_3276.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_46_1634.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_52_2784.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_55_2663.jpg
/home/pi/Desktop/images/03112025/18/31/image_03112025_18_31_59_3984.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_10_3779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888502","1401888501","1401888497","1401888496","1401888505","1401888498"],"photo_ids_order":["1401888496","1401888497","1401888498","1401888501","1401888502","1401888505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/add02aa842bdb78c019e797e742f15db.jpg","text":"TemporaryFile(/tmp/multipartBody6505664409968764721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184814471,"filename":"image_03112025_18_31_59_3984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98d9311bf0acc6dfb989141718913774.jpg","text":"TemporaryFile(/tmp/multipartBody799007663047700360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184814471,"filename":"image_03112025_18_31_55_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04bfe61d91497a5ee4086aa975e38534.jpg","text":"TemporaryFile(/tmp/multipartBody1838477406748770542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184814471,"filename":"image_03112025_18_31_46_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41392bace22ca371f980d63a9a6194f6.jpg","text":"TemporaryFile(/tmp/multipartBody2442173961875443115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184814471,"filename":"image_03112025_18_31_44_3276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0027814d7b575f376519b001c30a5553.jpg","text":"TemporaryFile(/tmp/multipartBody6452329769988135831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184814471,"filename":"image_03112025_18_32_10_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d331ee46395eb7c269d49e03f41a4e9.jpg","text":"TemporaryFile(/tmp/multipartBody4103859601477800433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184814471,"filename":"image_03112025_18_31_52_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888498","file1":"1401888497","file0":"1401888496","file4":"1401888502","file5":"1401888505","file3":"1401888501"},"map_files_photo_id_array":[{"photo_id":"1401888505","filename":"file5"},{"photo_id":"1401888498","filename":"file2"},{"photo_id":"1401888502","filename":"file4"},{"photo_id":"1401888497","filename":"file1"},{"photo_id":"1401888496","filename":"file0"},{"photo_id":"1401888501","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888502":["hashtag1","hashtag2"]},{"1401888501":["hashtag1","hashtag2"]},{"1401888497":["hashtag1","hashtag2"]},{"1401888496":["hashtag1","hashtag2"]},{"1401888505":["hashtag1","hashtag2"]},{"1401888498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888502, 1401888501, 1401888497, 1401888496, 1401888505, 1401888498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53651833534241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:40:02.322604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_54_9710.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_14_10042.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_25_10859.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_35_9753.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_44_9708.jpg', '/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_54_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/29/image_31122025_11_29_54_9710.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_14_10042.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_25_10859.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_35_9753.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_44_9708.jpg
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_31_54_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888516","1401888521","1401888518","1401888523","1401888517","1401888520"],"photo_ids_order":["1401888516","1401888517","1401888518","1401888520","1401888521","1401888523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c8bc551b32083259ba2b5c8698bd406.jpg","text":"TemporaryFile(/tmp/multipartBody5338580721447708987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184863096,"filename":"image_31122025_11_29_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8fb84873e75925050f62f73df5a153b.jpg","text":"TemporaryFile(/tmp/multipartBody1614698296479140591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184863096,"filename":"image_31122025_11_31_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2e151a144b9ed231454bbb731b31250.jpg","text":"TemporaryFile(/tmp/multipartBody3750292529052441038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184863096,"filename":"image_31122025_11_31_25_10859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ae3d2de6e39d2fb55e324d06e05c4d9.jpg","text":"TemporaryFile(/tmp/multipartBody8507331602835527115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184863096,"filename":"image_31122025_11_31_54_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f4137ab42a813101d6e8841fb3ad07f.jpg","text":"TemporaryFile(/tmp/multipartBody8737471624646619652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184863096,"filename":"image_31122025_11_31_14_10042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecb3b5118e9be027fb20e624e365fbaa.jpg","text":"TemporaryFile(/tmp/multipartBody121020122088418208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184863096,"filename":"image_31122025_11_31_35_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888518","file1":"1401888517","file0":"1401888516","file4":"1401888521","file5":"1401888523","file3":"1401888520"},"map_files_photo_id_array":[{"photo_id":"1401888523","filename":"file5"},{"photo_id":"1401888518","filename":"file2"},{"photo_id":"1401888521","filename":"file4"},{"photo_id":"1401888517","filename":"file1"},{"photo_id":"1401888516","filename":"file0"},{"photo_id":"1401888520","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888516":["hashtag1","hashtag2"]},{"1401888521":["hashtag1","hashtag2"]},{"1401888518":["hashtag1","hashtag2"]},{"1401888523":["hashtag1","hashtag2"]},{"1401888517":["hashtag1","hashtag2"]},{"1401888520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888516, 1401888521, 1401888518, 1401888523, 1401888517, 1401888520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73105216026306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:40:41.886851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_16_2673.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_19_3694.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_22_2687.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_25_2730.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_28_3582.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_35_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_16_2673.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_19_3694.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_22_2687.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_25_2730.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_28_3582.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_35_3515.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8210175037384033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:41:02.670889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/31/image_31122025_11_32_05_10627.jpg', '/home/pi/Desktop/images/31122025/11/32/image_31122025_11_32_15_9623.jpg', '/home/pi/Desktop/images/31122025/11/32/image_31122025_11_32_24_9779.jpg', '/home/pi/Desktop/images/31122025/11/32/image_31122025_11_32_34_9968.jpg', '/home/pi/Desktop/images/31122025/11/33/image_31122025_11_33_15_9805.jpg', '/home/pi/Desktop/images/31122025/11/33/image_31122025_11_33_24_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/31/image_31122025_11_32_05_10627.jpg
/home/pi/Desktop/images/31122025/11/32/image_31122025_11_32_15_9623.jpg
/home/pi/Desktop/images/31122025/11/32/image_31122025_11_32_24_9779.jpg
/home/pi/Desktop/images/31122025/11/32/image_31122025_11_32_34_9968.jpg
/home/pi/Desktop/images/31122025/11/33/image_31122025_11_33_15_9805.jpg
/home/pi/Desktop/images/31122025/11/33/image_31122025_11_33_24_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888564","1401888567","1401888569","1401888539","1401888550","1401888538"],"photo_ids_order":["1401888538","1401888539","1401888550","1401888564","1401888567","1401888569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6817dd4a3f44510e5f289098e6f96272.jpg","text":"TemporaryFile(/tmp/multipartBody1915920385390324730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184923553,"filename":"image_31122025_11_32_34_9968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bd6499dbc23c6268f1d596c7090d4b0.jpg","text":"TemporaryFile(/tmp/multipartBody6310620343795189574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184923553,"filename":"image_31122025_11_33_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/029ef82e5aeb738c72120956e02eefb4.jpg","text":"TemporaryFile(/tmp/multipartBody2089413946890384643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184923553,"filename":"image_31122025_11_33_24_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b9a4b44a59a49f415f291c30b868e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6383156710397208413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184923553,"filename":"image_31122025_11_32_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbde9bef06ceab49e49e78dac38e61a6.jpg","text":"TemporaryFile(/tmp/multipartBody6925023648468632911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184923553,"filename":"image_31122025_11_32_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10a0d9ef8257907f8bd8afc7ec1b4677.jpg","text":"TemporaryFile(/tmp/multipartBody9135423034001555936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184923553,"filename":"image_31122025_11_32_05_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888550","file1":"1401888539","file0":"1401888538","file4":"1401888567","file5":"1401888569","file3":"1401888564"},"map_files_photo_id_array":[{"photo_id":"1401888569","filename":"file5"},{"photo_id":"1401888550","filename":"file2"},{"photo_id":"1401888567","filename":"file4"},{"photo_id":"1401888539","filename":"file1"},{"photo_id":"1401888538","filename":"file0"},{"photo_id":"1401888564","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888564":["hashtag1","hashtag2"]},{"1401888567":["hashtag1","hashtag2"]},{"1401888569":["hashtag1","hashtag2"]},{"1401888539":["hashtag1","hashtag2"]},{"1401888550":["hashtag1","hashtag2"]},{"1401888538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888564, 1401888567, 1401888569, 1401888539, 1401888550, 1401888538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.522557497024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:41:42.110742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_16_2673.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_19_3694.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_22_2687.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_25_2730.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_28_3582.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_35_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_16_2673.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_19_3694.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_22_2687.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_25_2730.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_28_3582.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_35_3515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888591","1401888587","1401888575","1401888590","1401888592","1401888589"],"photo_ids_order":["1401888575","1401888587","1401888589","1401888590","1401888591","1401888592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/162e002be9e08a96ce53f60d0948a113.jpg","text":"TemporaryFile(/tmp/multipartBody930180314279875964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184963924,"filename":"image_03112025_18_32_28_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/239fe42c4c201ad3384527faf41fe86e.jpg","text":"TemporaryFile(/tmp/multipartBody5823411194575029405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184963924,"filename":"image_03112025_18_32_19_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21962873137b2412bffde48ce8c1b74d.jpg","text":"TemporaryFile(/tmp/multipartBody6760312997873864318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184963924,"filename":"image_03112025_18_32_16_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfe0d4d708443576bcc92f2def0d490e.jpg","text":"TemporaryFile(/tmp/multipartBody7416770416411304603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184963924,"filename":"image_03112025_18_32_25_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd9778bee243663366000fb7be8e9c68.jpg","text":"TemporaryFile(/tmp/multipartBody5534579277525412384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184963924,"filename":"image_03112025_18_32_35_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e5bea1d93e5d265f0b36e9b453d4ded.jpg","text":"TemporaryFile(/tmp/multipartBody6377339852833987013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767184963924,"filename":"image_03112025_18_32_22_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888589","file1":"1401888587","file0":"1401888575","file4":"1401888591","file5":"1401888592","file3":"1401888590"},"map_files_photo_id_array":[{"photo_id":"1401888592","filename":"file5"},{"photo_id":"1401888589","filename":"file2"},{"photo_id":"1401888591","filename":"file4"},{"photo_id":"1401888587","filename":"file1"},{"photo_id":"1401888575","filename":"file0"},{"photo_id":"1401888590","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888591":["hashtag1","hashtag2"]},{"1401888587":["hashtag1","hashtag2"]},{"1401888575":["hashtag1","hashtag2"]},{"1401888590":["hashtag1","hashtag2"]},{"1401888592":["hashtag1","hashtag2"]},{"1401888589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888591, 1401888587, 1401888575, 1401888590, 1401888592, 1401888589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30166172981262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:42:22.286787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/34/image_31122025_11_34_24_9842.jpg', '/home/pi/Desktop/images/31122025/11/34/image_31122025_11_34_35_10627.jpg', '/home/pi/Desktop/images/31122025/11/34/image_31122025_11_34_45_9804.jpg', '/home/pi/Desktop/images/31122025/11/34/image_31122025_11_34_55_9928.jpg', '/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_14_10049.jpg', '/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_25_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/34/image_31122025_11_34_24_9842.jpg
/home/pi/Desktop/images/31122025/11/34/image_31122025_11_34_35_10627.jpg
/home/pi/Desktop/images/31122025/11/34/image_31122025_11_34_45_9804.jpg
/home/pi/Desktop/images/31122025/11/34/image_31122025_11_34_55_9928.jpg
/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_14_10049.jpg
/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_25_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888600","1401888605","1401888602","1401888610","1401888607","1401888597"],"photo_ids_order":["1401888597","1401888600","1401888602","1401888605","1401888607","1401888610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0abeb60efc80e4862485795da01640c5.jpg","text":"TemporaryFile(/tmp/multipartBody247108676077427667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185003025,"filename":"image_31122025_11_34_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/732b0cf2fa9b0a27a2b748265feb2cde.jpg","text":"TemporaryFile(/tmp/multipartBody1663728357063265286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185003025,"filename":"image_31122025_11_34_55_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71d29ad680320bf1dfbd3c10c7f9aa22.jpg","text":"TemporaryFile(/tmp/multipartBody280565413794519306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185003025,"filename":"image_31122025_11_34_45_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18891a71ef4e027260bdbeda89db3665.jpg","text":"TemporaryFile(/tmp/multipartBody3136629698883373143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185003025,"filename":"image_31122025_11_35_25_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3c4ee3807057495cd814c497ab4aebc.jpg","text":"TemporaryFile(/tmp/multipartBody649076148272564738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185003025,"filename":"image_31122025_11_35_14_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3465e8975ef5e10b121ee85979d0901c.jpg","text":"TemporaryFile(/tmp/multipartBody7640149708383069585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185003025,"filename":"image_31122025_11_34_24_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888602","file1":"1401888600","file0":"1401888597","file4":"1401888607","file5":"1401888610","file3":"1401888605"},"map_files_photo_id_array":[{"photo_id":"1401888610","filename":"file5"},{"photo_id":"1401888602","filename":"file2"},{"photo_id":"1401888607","filename":"file4"},{"photo_id":"1401888600","filename":"file1"},{"photo_id":"1401888597","filename":"file0"},{"photo_id":"1401888605","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888600":["hashtag1","hashtag2"]},{"1401888605":["hashtag1","hashtag2"]},{"1401888602":["hashtag1","hashtag2"]},{"1401888610":["hashtag1","hashtag2"]},{"1401888607":["hashtag1","hashtag2"]},{"1401888597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888600, 1401888605, 1401888602, 1401888610, 1401888607, 1401888597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22625279426575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:43:03.095383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_35_9624.jpg', '/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_44_9725.jpg', '/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_55_10721.jpg', '/home/pi/Desktop/images/31122025/11/35/image_31122025_11_36_05_10011.jpg', '/home/pi/Desktop/images/31122025/11/36/image_31122025_11_36_15_9701.jpg', '/home/pi/Desktop/images/31122025/11/36/image_31122025_11_36_25_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_35_9624.jpg
/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_44_9725.jpg
/home/pi/Desktop/images/31122025/11/35/image_31122025_11_35_55_10721.jpg
/home/pi/Desktop/images/31122025/11/35/image_31122025_11_36_05_10011.jpg
/home/pi/Desktop/images/31122025/11/36/image_31122025_11_36_15_9701.jpg
/home/pi/Desktop/images/31122025/11/36/image_31122025_11_36_25_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888621","1401888615","1401888618","1401888617","1401888619","1401888613"],"photo_ids_order":["1401888613","1401888615","1401888617","1401888618","1401888619","1401888621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3d41deb381d4cf2c19bf1bf2e924d57.jpg","text":"TemporaryFile(/tmp/multipartBody7977080590162541548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185043903,"filename":"image_31122025_11_36_25_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/744bf08bbf528eb33d2a27f6eb1e681a.jpg","text":"TemporaryFile(/tmp/multipartBody3111458097297704452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185043903,"filename":"image_31122025_11_35_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/684c40a21c286c5c629936f76f10ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody4505920520523280950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185043903,"filename":"image_31122025_11_36_05_10011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26809aa77876f0f451cfccebf90f8551.jpg","text":"TemporaryFile(/tmp/multipartBody8068107490693110616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185043903,"filename":"image_31122025_11_35_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8181f619e8e5159db215b3f6174e9d03.jpg","text":"TemporaryFile(/tmp/multipartBody7855040646588291122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185043903,"filename":"image_31122025_11_36_15_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d321353a0509061f933a19718603a29.jpg","text":"TemporaryFile(/tmp/multipartBody3553216118628857344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185043903,"filename":"image_31122025_11_35_35_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888617","file1":"1401888615","file0":"1401888613","file4":"1401888619","file5":"1401888621","file3":"1401888618"},"map_files_photo_id_array":[{"photo_id":"1401888621","filename":"file5"},{"photo_id":"1401888617","filename":"file2"},{"photo_id":"1401888619","filename":"file4"},{"photo_id":"1401888615","filename":"file1"},{"photo_id":"1401888613","filename":"file0"},{"photo_id":"1401888618","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888621":["hashtag1","hashtag2"]},{"1401888615":["hashtag1","hashtag2"]},{"1401888618":["hashtag1","hashtag2"]},{"1401888617":["hashtag1","hashtag2"]},{"1401888619":["hashtag1","hashtag2"]},{"1401888613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888621, 1401888615, 1401888618, 1401888617, 1401888619, 1401888613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85175156593323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:43:42.487266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_37_2661.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_40_2593.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_43_3604.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_52_2743.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_55_3702.jpg', '/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_58_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_37_2661.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_40_2593.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_43_3604.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_52_2743.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_55_3702.jpg
/home/pi/Desktop/images/03112025/18/32/image_03112025_18_32_58_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888636","1401888639","1401888630","1401888638","1401888640","1401888634"],"photo_ids_order":["1401888630","1401888634","1401888636","1401888638","1401888639","1401888640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/104db23d3db0d3a8f9c6915481cab7b3.jpg","text":"TemporaryFile(/tmp/multipartBody6500431084100220597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185084388,"filename":"image_03112025_18_32_43_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f57d4b10f109686b27e50cfab68be38c.jpg","text":"TemporaryFile(/tmp/multipartBody5015870922136453658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185084388,"filename":"image_03112025_18_32_55_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/854151c8ec9c470f10898dd55c1b3756.jpg","text":"TemporaryFile(/tmp/multipartBody3730328911023413060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185084388,"filename":"image_03112025_18_32_37_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/382031e87b69987bad5ff511fd3570c4.jpg","text":"TemporaryFile(/tmp/multipartBody4623059141351143319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185084388,"filename":"image_03112025_18_32_52_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ff0f4a6e2fad72340985e4fe3dd6eac.jpg","text":"TemporaryFile(/tmp/multipartBody7143983903805814385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185084388,"filename":"image_03112025_18_32_58_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0018935f10b027b5926c9328f6d2c2f.jpg","text":"TemporaryFile(/tmp/multipartBody1895128822554210377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185084388,"filename":"image_03112025_18_32_40_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888636","file1":"1401888634","file0":"1401888630","file4":"1401888639","file5":"1401888640","file3":"1401888638"},"map_files_photo_id_array":[{"photo_id":"1401888640","filename":"file5"},{"photo_id":"1401888636","filename":"file2"},{"photo_id":"1401888639","filename":"file4"},{"photo_id":"1401888634","filename":"file1"},{"photo_id":"1401888630","filename":"file0"},{"photo_id":"1401888638","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888636":["hashtag1","hashtag2"]},{"1401888639":["hashtag1","hashtag2"]},{"1401888630":["hashtag1","hashtag2"]},{"1401888638":["hashtag1","hashtag2"]},{"1401888640":["hashtag1","hashtag2"]},{"1401888634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888636, 1401888639, 1401888630, 1401888638, 1401888640, 1401888634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.683560848236084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:44:22.746787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/36/image_31122025_11_36_34_9832.jpg', '/home/pi/Desktop/images/31122025/11/36/image_31122025_11_36_44_9724.jpg', '/home/pi/Desktop/images/31122025/11/36/image_31122025_11_37_05_9741.jpg', '/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_14_9755.jpg', '/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_24_9979.jpg', '/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_34_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/36/image_31122025_11_36_34_9832.jpg
/home/pi/Desktop/images/31122025/11/36/image_31122025_11_36_44_9724.jpg
/home/pi/Desktop/images/31122025/11/36/image_31122025_11_37_05_9741.jpg
/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_14_9755.jpg
/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_24_9979.jpg
/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_34_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888651","1401888660","1401888653","1401888655","1401888649","1401888646"],"photo_ids_order":["1401888646","1401888649","1401888651","1401888653","1401888655","1401888660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c72d671c74b569b24d50e07c20622db.jpg","text":"TemporaryFile(/tmp/multipartBody5977714607122841492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185123539,"filename":"image_31122025_11_37_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac5583c30aa1dbcdc7a0e46d6ce9b95c.jpg","text":"TemporaryFile(/tmp/multipartBody4077807848592615366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185123539,"filename":"image_31122025_11_37_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b9740457c6822c1f294c33db369501e.jpg","text":"TemporaryFile(/tmp/multipartBody7449065093989842553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185123539,"filename":"image_31122025_11_37_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/873da7888b919033585d4e62e8ecc7e0.jpg","text":"TemporaryFile(/tmp/multipartBody8874206179209335281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185123539,"filename":"image_31122025_11_37_24_9979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e51bfb660b28810c2a96100b1dc4ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6339924245586793971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185123539,"filename":"image_31122025_11_36_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68cc985b38eb139a6216358ec71e58f8.jpg","text":"TemporaryFile(/tmp/multipartBody1746874961401039546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185123539,"filename":"image_31122025_11_36_34_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888651","file1":"1401888649","file0":"1401888646","file4":"1401888655","file5":"1401888660","file3":"1401888653"},"map_files_photo_id_array":[{"photo_id":"1401888660","filename":"file5"},{"photo_id":"1401888651","filename":"file2"},{"photo_id":"1401888655","filename":"file4"},{"photo_id":"1401888649","filename":"file1"},{"photo_id":"1401888646","filename":"file0"},{"photo_id":"1401888653","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888651":["hashtag1","hashtag2"]},{"1401888660":["hashtag1","hashtag2"]},{"1401888653":["hashtag1","hashtag2"]},{"1401888655":["hashtag1","hashtag2"]},{"1401888649":["hashtag1","hashtag2"]},{"1401888646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888651, 1401888660, 1401888653, 1401888655, 1401888649, 1401888646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.827163219451904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:45:02.542112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_45_10805.jpg', '/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_55_9749.jpg', '/home/pi/Desktop/images/31122025/11/37/image_31122025_11_38_05_9815.jpg', '/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_14_9843.jpg', '/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_24_9758.jpg', '/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_35_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_45_10805.jpg
/home/pi/Desktop/images/31122025/11/37/image_31122025_11_37_55_9749.jpg
/home/pi/Desktop/images/31122025/11/37/image_31122025_11_38_05_9815.jpg
/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_14_9843.jpg
/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_24_9758.jpg
/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_35_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888678","1401888669","1401888680","1401888671","1401888673","1401888676"],"photo_ids_order":["1401888669","1401888671","1401888673","1401888676","1401888678","1401888680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b9b8138cb30adae92c1c9bcee7df13e.jpg","text":"TemporaryFile(/tmp/multipartBody8638003715160917208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185163350,"filename":"image_31122025_11_38_24_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6082b25669f5de238670434d8d2295e.jpg","text":"TemporaryFile(/tmp/multipartBody7239946659467330028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185163350,"filename":"image_31122025_11_37_45_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2537b2b07a068a577654ad386ffe3189.jpg","text":"TemporaryFile(/tmp/multipartBody5353588841078173152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185163350,"filename":"image_31122025_11_38_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfb4cce79beab6c58d9c8ee60fff7444.jpg","text":"TemporaryFile(/tmp/multipartBody5416438193907610374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185163350,"filename":"image_31122025_11_37_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d36b540a73e0edee8176230426c28e9.jpg","text":"TemporaryFile(/tmp/multipartBody5340065675164697585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185163350,"filename":"image_31122025_11_38_05_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b414f6a5cb27bc4c67a476b98bbe5dc9.jpg","text":"TemporaryFile(/tmp/multipartBody954026971889959094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185163350,"filename":"image_31122025_11_38_14_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888673","file1":"1401888671","file0":"1401888669","file4":"1401888678","file5":"1401888680","file3":"1401888676"},"map_files_photo_id_array":[{"photo_id":"1401888680","filename":"file5"},{"photo_id":"1401888673","filename":"file2"},{"photo_id":"1401888678","filename":"file4"},{"photo_id":"1401888671","filename":"file1"},{"photo_id":"1401888669","filename":"file0"},{"photo_id":"1401888676","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888678":["hashtag1","hashtag2"]},{"1401888669":["hashtag1","hashtag2"]},{"1401888680":["hashtag1","hashtag2"]},{"1401888671":["hashtag1","hashtag2"]},{"1401888673":["hashtag1","hashtag2"]},{"1401888676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888678, 1401888669, 1401888680, 1401888671, 1401888673, 1401888676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2808940410614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:45:41.887011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_01_2633.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_04_3660.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_07_2514.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_16_2697.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_22_3679.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_25_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_01_2633.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_04_3660.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_07_2514.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_16_2697.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_22_3679.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_25_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888690","1401888693","1401888692","1401888686","1401888689","1401888691"],"photo_ids_order":["1401888686","1401888689","1401888690","1401888691","1401888692","1401888693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e09f97e94de5a677e354bcaf68b4d191.jpg","text":"TemporaryFile(/tmp/multipartBody974893227341119134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185203798,"filename":"image_03112025_18_33_07_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac7b77d425e83712d64c6e099b9c7452.jpg","text":"TemporaryFile(/tmp/multipartBody7591423993051750371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185203798,"filename":"image_03112025_18_33_25_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f67310266069a0914fea4373075955e7.jpg","text":"TemporaryFile(/tmp/multipartBody6503615150928143460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185203798,"filename":"image_03112025_18_33_22_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f740d10831b069908abc0ea3590a5879.jpg","text":"TemporaryFile(/tmp/multipartBody6403811140831969936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185203798,"filename":"image_03112025_18_33_01_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b19f5eed08fd1a940695b54288b0d55.jpg","text":"TemporaryFile(/tmp/multipartBody6788105200962168305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185203798,"filename":"image_03112025_18_33_04_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ddd29047da49ee2381c1a8f94664146.jpg","text":"TemporaryFile(/tmp/multipartBody3502948859876211027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185203798,"filename":"image_03112025_18_33_16_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888690","file1":"1401888689","file0":"1401888686","file4":"1401888692","file5":"1401888693","file3":"1401888691"},"map_files_photo_id_array":[{"photo_id":"1401888693","filename":"file5"},{"photo_id":"1401888690","filename":"file2"},{"photo_id":"1401888692","filename":"file4"},{"photo_id":"1401888689","filename":"file1"},{"photo_id":"1401888686","filename":"file0"},{"photo_id":"1401888691","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888690":["hashtag1","hashtag2"]},{"1401888693":["hashtag1","hashtag2"]},{"1401888692":["hashtag1","hashtag2"]},{"1401888686":["hashtag1","hashtag2"]},{"1401888689":["hashtag1","hashtag2"]},{"1401888691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888690, 1401888693, 1401888692, 1401888686, 1401888689, 1401888691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.298208236694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:46:22.018648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_45_9822.jpg', '/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_54_9635.jpg', '/home/pi/Desktop/images/31122025/11/38/image_31122025_11_39_04_9762.jpg', '/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_15_10823.jpg', '/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_25_9764.jpg', '/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_34_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_45_9822.jpg
/home/pi/Desktop/images/31122025/11/38/image_31122025_11_38_54_9635.jpg
/home/pi/Desktop/images/31122025/11/38/image_31122025_11_39_04_9762.jpg
/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_15_10823.jpg
/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_25_9764.jpg
/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_34_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888700","1401888708","1401888702","1401888704","1401888712","1401888706"],"photo_ids_order":["1401888700","1401888702","1401888704","1401888706","1401888708","1401888712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74c2b8ae75d7620f10688f93fd98d1e5.jpg","text":"TemporaryFile(/tmp/multipartBody3165866538394204010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185242806,"filename":"image_31122025_11_38_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61f45e30614d0f6f7aeda94264a66ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6187672718238299339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185242806,"filename":"image_31122025_11_39_25_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a50d6cf824218d69bdecd9d76b7b2c93.jpg","text":"TemporaryFile(/tmp/multipartBody8605129197107700318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185242806,"filename":"image_31122025_11_38_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/687fa87c272fd902381e37dd80d30963.jpg","text":"TemporaryFile(/tmp/multipartBody4734405294190035339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185242806,"filename":"image_31122025_11_39_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36a84ac51abb6ea3f5cbfff0c84b399a.jpg","text":"TemporaryFile(/tmp/multipartBody8620969370121267512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185242806,"filename":"image_31122025_11_39_34_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9afbcaa748f82f710c33914762c6fb99.jpg","text":"TemporaryFile(/tmp/multipartBody5470471922040143913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185242806,"filename":"image_31122025_11_39_15_10823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888704","file1":"1401888702","file0":"1401888700","file4":"1401888708","file5":"1401888712","file3":"1401888706"},"map_files_photo_id_array":[{"photo_id":"1401888712","filename":"file5"},{"photo_id":"1401888704","filename":"file2"},{"photo_id":"1401888708","filename":"file4"},{"photo_id":"1401888702","filename":"file1"},{"photo_id":"1401888700","filename":"file0"},{"photo_id":"1401888706","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888700":["hashtag1","hashtag2"]},{"1401888708":["hashtag1","hashtag2"]},{"1401888702":["hashtag1","hashtag2"]},{"1401888704":["hashtag1","hashtag2"]},{"1401888712":["hashtag1","hashtag2"]},{"1401888706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888700, 1401888708, 1401888702, 1401888704, 1401888712, 1401888706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89707040786743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:47:02.784151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_44_9832.jpg', '/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_55_10742.jpg', '/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_14_10046.jpg', '/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_25_10677.jpg', '/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_35_9714.jpg', '/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_44_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_44_9832.jpg
/home/pi/Desktop/images/31122025/11/39/image_31122025_11_39_55_10742.jpg
/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_14_10046.jpg
/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_25_10677.jpg
/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_35_9714.jpg
/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_44_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888747","1401888735","1401888717","1401888722","1401888716","1401888718"],"photo_ids_order":["1401888716","1401888717","1401888718","1401888722","1401888735","1401888747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71a0c00947dcf1216c7b96126fec9ba5.jpg","text":"TemporaryFile(/tmp/multipartBody4978555019290495982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185283673,"filename":"image_31122025_11_40_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e5cdae330bbd829bc24916b32818420.jpg","text":"TemporaryFile(/tmp/multipartBody5562348861876821911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185283673,"filename":"image_31122025_11_40_35_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ab031216ad2424dd2959d71caeb0cb3.jpg","text":"TemporaryFile(/tmp/multipartBody80575709322489800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185283673,"filename":"image_31122025_11_39_55_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84096d1304c1d6ac55eb33a16b01a895.jpg","text":"TemporaryFile(/tmp/multipartBody8920951960088803324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185283673,"filename":"image_31122025_11_40_25_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c76be67155b508e7af736de61e782589.jpg","text":"TemporaryFile(/tmp/multipartBody8544592377139044723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185283673,"filename":"image_31122025_11_39_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db0a6c519cefab44d850378cfdde4a09.jpg","text":"TemporaryFile(/tmp/multipartBody2212506381712469676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185283673,"filename":"image_31122025_11_40_14_10046.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888718","file1":"1401888717","file0":"1401888716","file4":"1401888735","file5":"1401888747","file3":"1401888722"},"map_files_photo_id_array":[{"photo_id":"1401888747","filename":"file5"},{"photo_id":"1401888718","filename":"file2"},{"photo_id":"1401888735","filename":"file4"},{"photo_id":"1401888717","filename":"file1"},{"photo_id":"1401888716","filename":"file0"},{"photo_id":"1401888722","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888747":["hashtag1","hashtag2"]},{"1401888735":["hashtag1","hashtag2"]},{"1401888717":["hashtag1","hashtag2"]},{"1401888722":["hashtag1","hashtag2"]},{"1401888716":["hashtag1","hashtag2"]},{"1401888718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888747, 1401888735, 1401888717, 1401888722, 1401888716, 1401888718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20520997047424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:47:42.367583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_28_2699.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_31_3722.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_34_2462.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_40_3704.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_43_2697.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_46_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_28_2699.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_31_3722.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_34_2462.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_40_3704.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_43_2697.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_46_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888771","1401888768","1401888755","1401888770","1401888772","1401888769"],"photo_ids_order":["1401888755","1401888768","1401888769","1401888770","1401888771","1401888772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e8242a3388040240e74680e312f4971.jpg","text":"TemporaryFile(/tmp/multipartBody4971528305223200047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185324292,"filename":"image_03112025_18_33_43_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60ddfb6053fab7fc4a412c3e3059c34c.jpg","text":"TemporaryFile(/tmp/multipartBody1492831375680959466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185324292,"filename":"image_03112025_18_33_31_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/589f2cab1e3a5eed41563691db162b89.jpg","text":"TemporaryFile(/tmp/multipartBody5548159894523633363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185324292,"filename":"image_03112025_18_33_28_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3a25a38e06f41bbd276550b44a15748.jpg","text":"TemporaryFile(/tmp/multipartBody7447852753984565242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185324292,"filename":"image_03112025_18_33_40_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b257e31bb5004c96b22380457c0681c.jpg","text":"TemporaryFile(/tmp/multipartBody2305237545038169888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185324292,"filename":"image_03112025_18_33_46_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18ada1998f113cf7624e71370dd61bea.jpg","text":"TemporaryFile(/tmp/multipartBody7841130336355860645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185324292,"filename":"image_03112025_18_33_34_2462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888769","file1":"1401888768","file0":"1401888755","file4":"1401888771","file5":"1401888772","file3":"1401888770"},"map_files_photo_id_array":[{"photo_id":"1401888772","filename":"file5"},{"photo_id":"1401888769","filename":"file2"},{"photo_id":"1401888771","filename":"file4"},{"photo_id":"1401888768","filename":"file1"},{"photo_id":"1401888755","filename":"file0"},{"photo_id":"1401888770","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888771":["hashtag1","hashtag2"]},{"1401888768":["hashtag1","hashtag2"]},{"1401888755":["hashtag1","hashtag2"]},{"1401888770":["hashtag1","hashtag2"]},{"1401888772":["hashtag1","hashtag2"]},{"1401888769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888771, 1401888768, 1401888755, 1401888770, 1401888772, 1401888769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7542450428009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:48:22.542196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_55_10792.jpg', '/home/pi/Desktop/images/31122025/11/40/image_31122025_11_41_05_9768.jpg', '/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_15_9904.jpg', '/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_25_9806.jpg', '/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_35_9781.jpg', '/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_45_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/40/image_31122025_11_40_55_10792.jpg
/home/pi/Desktop/images/31122025/11/40/image_31122025_11_41_05_9768.jpg
/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_15_9904.jpg
/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_25_9806.jpg
/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_35_9781.jpg
/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_45_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888783","1401888777","1401888785","1401888788","1401888793","1401888780"],"photo_ids_order":["1401888777","1401888780","1401888783","1401888785","1401888788","1401888793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bef04d532b368de42860a9f7169f8b06.jpg","text":"TemporaryFile(/tmp/multipartBody1947552005799217024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185363277,"filename":"image_31122025_11_41_15_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb5445fd0eac7a09564c15226f263531.jpg","text":"TemporaryFile(/tmp/multipartBody5883274530180808024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185363277,"filename":"image_31122025_11_40_55_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be133247931da0adbf0ece7d7e76262b.jpg","text":"TemporaryFile(/tmp/multipartBody2670571336159336556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185363277,"filename":"image_31122025_11_41_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f32b94114a62650395464b09d99fe9ff.jpg","text":"TemporaryFile(/tmp/multipartBody7227990235619531912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185363277,"filename":"image_31122025_11_41_35_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9eb099957ba37c0d43831d018295f35d.jpg","text":"TemporaryFile(/tmp/multipartBody8940388994622946426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185363277,"filename":"image_31122025_11_41_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7801e2c1c0bb788bf9e3d4b73644568.jpg","text":"TemporaryFile(/tmp/multipartBody2245646386022251448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185363277,"filename":"image_31122025_11_41_05_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888783","file1":"1401888780","file0":"1401888777","file4":"1401888788","file5":"1401888793","file3":"1401888785"},"map_files_photo_id_array":[{"photo_id":"1401888793","filename":"file5"},{"photo_id":"1401888783","filename":"file2"},{"photo_id":"1401888788","filename":"file4"},{"photo_id":"1401888780","filename":"file1"},{"photo_id":"1401888777","filename":"file0"},{"photo_id":"1401888785","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888783":["hashtag1","hashtag2"]},{"1401888777":["hashtag1","hashtag2"]},{"1401888785":["hashtag1","hashtag2"]},{"1401888788":["hashtag1","hashtag2"]},{"1401888793":["hashtag1","hashtag2"]},{"1401888780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888783, 1401888777, 1401888785, 1401888788, 1401888793, 1401888780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.465272426605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:49:03.530084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_55_9762.jpg', '/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_14_9821.jpg', '/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_25_10764.jpg', '/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_35_9728.jpg', '/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_45_9723.jpg', '/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/41/image_31122025_11_41_55_9762.jpg
/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_14_9821.jpg
/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_25_10764.jpg
/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_35_9728.jpg
/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_45_9723.jpg
/home/pi/Desktop/images/31122025/11/42/image_31122025_11_42_55_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888819","1401888828","1401888821","1401888830","1401888824","1401888826"],"photo_ids_order":["1401888819","1401888821","1401888824","1401888826","1401888828","1401888830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/773d5de90493fb9a0868262b0f4d9056.jpg","text":"TemporaryFile(/tmp/multipartBody3273653024606761793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185404507,"filename":"image_31122025_11_41_55_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72bff5015415bf1885950819e11e21a0.jpg","text":"TemporaryFile(/tmp/multipartBody5227933271056963935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185404507,"filename":"image_31122025_11_42_45_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3eda49bc5b459fea2abb8807a70ab98c.jpg","text":"TemporaryFile(/tmp/multipartBody6667711573074590017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185404507,"filename":"image_31122025_11_42_14_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac365c24bc62b761adeac7bc938819ab.jpg","text":"TemporaryFile(/tmp/multipartBody7441587650386263065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185404507,"filename":"image_31122025_11_42_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8235c927c1e41eb3cbbf50ba6ade55f5.jpg","text":"TemporaryFile(/tmp/multipartBody6570616044253584113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185404507,"filename":"image_31122025_11_42_25_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8764893c999ed51e727ed59720e859f8.jpg","text":"TemporaryFile(/tmp/multipartBody1987690025014191829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185404507,"filename":"image_31122025_11_42_35_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888824","file1":"1401888821","file0":"1401888819","file4":"1401888828","file5":"1401888830","file3":"1401888826"},"map_files_photo_id_array":[{"photo_id":"1401888830","filename":"file5"},{"photo_id":"1401888824","filename":"file2"},{"photo_id":"1401888828","filename":"file4"},{"photo_id":"1401888821","filename":"file1"},{"photo_id":"1401888819","filename":"file0"},{"photo_id":"1401888826","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401888819":["hashtag1","hashtag2"]},{"1401888828":["hashtag1","hashtag2"]},{"1401888821":["hashtag1","hashtag2"]},{"1401888830":["hashtag1","hashtag2"]},{"1401888824":["hashtag1","hashtag2"]},{"1401888826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401888819, 1401888828, 1401888821, 1401888830, 1401888824, 1401888826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91706991195679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:49:42.752055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_49_3694.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_52_2637.jpg', '/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_54_2580.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_01_2588.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_03_2696.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_13_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_49_3694.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_52_2637.jpg
/home/pi/Desktop/images/03112025/18/33/image_03112025_18_33_54_2580.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_01_2588.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_03_2696.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_13_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888846","1401888840","1401888848","1401888842","1401888836","1401888844"],"photo_ids_order":["1401888836","1401888840","1401888842","1401888844","1401888846","1401888848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/727b6e757df4dd4e31a173b1f41f351c.jpg","text":"TemporaryFile(/tmp/multipartBody7001221359106711738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185444701,"filename":"image_03112025_18_34_03_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eda1f917ae5c24e1bbac57661736efdf.jpg","text":"TemporaryFile(/tmp/multipartBody5354817254442679328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185444701,"filename":"image_03112025_18_33_52_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0adc16c257502cd57ede748fb6e2fd79.jpg","text":"TemporaryFile(/tmp/multipartBody4732433843514745039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185444701,"filename":"image_03112025_18_34_13_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82d85ff5d0db936acd27c5bd418dd2e7.jpg","text":"TemporaryFile(/tmp/multipartBody8145757905011353030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185444701,"filename":"image_03112025_18_33_54_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d950726b79ba0a7a90f4e9bf9e55e3b.jpg","text":"TemporaryFile(/tmp/multipartBody894377779149237921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185444701,"filename":"image_03112025_18_33_49_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dd9e8f335f86c13da2e0c9c1f2674d8.jpg","text":"TemporaryFile(/tmp/multipartBody6237044058605327175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185444701,"filename":"image_03112025_18_34_01_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888842","file1":"1401888840","file0":"1401888836","file4":"1401888846","file5":"1401888848","file3":"1401888844"},"map_files_photo_id_array":[{"photo_id":"1401888848","filename":"file5"},{"photo_id":"1401888842","filename":"file2"},{"photo_id":"1401888846","filename":"file4"},{"photo_id":"1401888840","filename":"file1"},{"photo_id":"1401888836","filename":"file0"},{"photo_id":"1401888844","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888846":["hashtag1","hashtag2"]},{"1401888840":["hashtag1","hashtag2"]},{"1401888848":["hashtag1","hashtag2"]},{"1401888842":["hashtag1","hashtag2"]},{"1401888836":["hashtag1","hashtag2"]},{"1401888844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888846, 1401888840, 1401888848, 1401888842, 1401888836, 1401888844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.499308824539185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:50:22.007648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/42/image_31122025_11_43_05_9798.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_15_9691.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_25_9734.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_35_10646.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_45_9642.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/42/image_31122025_11_43_05_9798.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_15_9691.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_25_9734.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_35_10646.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_45_9642.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_54_9658.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.6298847198486328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:50:31.852224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_16_2660.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_18_2527.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_22_3633.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_25_2619.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_28_3572.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_31_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_16_2660.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_18_2527.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_22_3633.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_25_2619.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_28_3572.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_31_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888861","1401888870","1401888864","1401888867","1401888881","1401888883"],"photo_ids_order":["1401888861","1401888864","1401888867","1401888870","1401888881","1401888883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78ec2974fe35588c18a4b814e1d623ab.jpg","text":"TemporaryFile(/tmp/multipartBody2355783155517315538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185493770,"filename":"image_03112025_18_34_16_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/492746c2bcce97f8eff1aa5657205993.jpg","text":"TemporaryFile(/tmp/multipartBody7224417985103337673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185493770,"filename":"image_03112025_18_34_25_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47d0eef177259430d2d1971c4925124d.jpg","text":"TemporaryFile(/tmp/multipartBody2035714355936021818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185493770,"filename":"image_03112025_18_34_18_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ead2c855c36ec7679a8e15d2d1531da.jpg","text":"TemporaryFile(/tmp/multipartBody8718168392698111486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185493770,"filename":"image_03112025_18_34_22_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd6b07d3bc5748eb8aee11c17c01b065.jpg","text":"TemporaryFile(/tmp/multipartBody7825804268784301054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185493770,"filename":"image_03112025_18_34_28_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cc6b95bbb07034bdd663d0f0a406132.jpg","text":"TemporaryFile(/tmp/multipartBody6510405262401395231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185493770,"filename":"image_03112025_18_34_31_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888867","file1":"1401888864","file0":"1401888861","file4":"1401888881","file5":"1401888883","file3":"1401888870"},"map_files_photo_id_array":[{"photo_id":"1401888883","filename":"file5"},{"photo_id":"1401888867","filename":"file2"},{"photo_id":"1401888881","filename":"file4"},{"photo_id":"1401888864","filename":"file1"},{"photo_id":"1401888861","filename":"file0"},{"photo_id":"1401888870","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888861":["hashtag1","hashtag2"]},{"1401888870":["hashtag1","hashtag2"]},{"1401888864":["hashtag1","hashtag2"]},{"1401888867":["hashtag1","hashtag2"]},{"1401888881":["hashtag1","hashtag2"]},{"1401888883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888861, 1401888870, 1401888864, 1401888867, 1401888881, 1401888883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11503314971924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:51:11.984563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_36_2642.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_40_3605.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_43_2813.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_45_2544.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_49_3699.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_52_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_36_2642.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_40_3605.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_43_2813.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_45_2544.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_49_3699.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_52_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401888907","1401888902","1401888905","1401888895","1401888898","1401888904"],"photo_ids_order":["1401888895","1401888898","1401888902","1401888904","1401888905","1401888907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05c1c624dacacb667b30fa91309b6825.jpg","text":"TemporaryFile(/tmp/multipartBody1849547215825400608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185533754,"filename":"image_03112025_18_34_52_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4ed4394e89030ba9f1d1c4f6a800073.jpg","text":"TemporaryFile(/tmp/multipartBody3353213579116977634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185533754,"filename":"image_03112025_18_34_43_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9f411f8989c48f97fd353676c4764c6.jpg","text":"TemporaryFile(/tmp/multipartBody6332063397872212657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185533754,"filename":"image_03112025_18_34_49_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d156e666f3d303dee13092763fc4bd3f.jpg","text":"TemporaryFile(/tmp/multipartBody1491893119282835147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185533754,"filename":"image_03112025_18_34_36_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f18bc0df6925282122d7a6a954bd4c56.jpg","text":"TemporaryFile(/tmp/multipartBody2607029689372424564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185533754,"filename":"image_03112025_18_34_40_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3157892c3e82d887762b644aad700084.jpg","text":"TemporaryFile(/tmp/multipartBody2092535885089589247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185533754,"filename":"image_03112025_18_34_45_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401888902","file1":"1401888898","file0":"1401888895","file4":"1401888905","file5":"1401888907","file3":"1401888904"},"map_files_photo_id_array":[{"photo_id":"1401888907","filename":"file5"},{"photo_id":"1401888902","filename":"file2"},{"photo_id":"1401888905","filename":"file4"},{"photo_id":"1401888898","filename":"file1"},{"photo_id":"1401888895","filename":"file0"},{"photo_id":"1401888904","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401888907":["hashtag1","hashtag2"]},{"1401888902":["hashtag1","hashtag2"]},{"1401888905":["hashtag1","hashtag2"]},{"1401888895":["hashtag1","hashtag2"]},{"1401888898":["hashtag1","hashtag2"]},{"1401888904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401888907, 1401888902, 1401888905, 1401888895, 1401888898, 1401888904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.924396276474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:52:02.673492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/42/image_31122025_11_43_05_9798.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_15_9691.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_25_9734.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_35_10646.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_45_9642.jpg', '/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/42/image_31122025_11_43_05_9798.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_15_9691.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_25_9734.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_35_10646.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_45_9642.jpg
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_43_54_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889245","1401889113","1401889226","1401889235","1401889186","1401889150"],"photo_ids_order":["1401889113","1401889150","1401889186","1401889226","1401889235","1401889245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f5eaf996f78c29454b960c78669f244.jpg","text":"TemporaryFile(/tmp/multipartBody4867897000240344965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185583442,"filename":"image_31122025_11_43_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84f947758ad3f6666f1cae07411fc994.jpg","text":"TemporaryFile(/tmp/multipartBody4498068377572057852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185583442,"filename":"image_31122025_11_43_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16ae2beab1ec4d8eb919472877ea54bc.jpg","text":"TemporaryFile(/tmp/multipartBody4745633950581994169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185583442,"filename":"image_31122025_11_43_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ac26f02472261ab0e19a7c6ecec99bd.jpg","text":"TemporaryFile(/tmp/multipartBody1518425150868200676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185583442,"filename":"image_31122025_11_43_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bcbcf9b11be601affa809b3085de381.jpg","text":"TemporaryFile(/tmp/multipartBody7641955223053492846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185583442,"filename":"image_31122025_11_43_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b07118d81244ee38e585de191f405d7b.jpg","text":"TemporaryFile(/tmp/multipartBody6599901888811368326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185583442,"filename":"image_31122025_11_43_15_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889186","file1":"1401889150","file0":"1401889113","file4":"1401889235","file5":"1401889245","file3":"1401889226"},"map_files_photo_id_array":[{"photo_id":"1401889245","filename":"file5"},{"photo_id":"1401889186","filename":"file2"},{"photo_id":"1401889235","filename":"file4"},{"photo_id":"1401889150","filename":"file1"},{"photo_id":"1401889113","filename":"file0"},{"photo_id":"1401889226","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401889245":["hashtag1","hashtag2"]},{"1401889113":["hashtag1","hashtag2"]},{"1401889226":["hashtag1","hashtag2"]},{"1401889235":["hashtag1","hashtag2"]},{"1401889186":["hashtag1","hashtag2"]},{"1401889150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401889245, 1401889113, 1401889226, 1401889235, 1401889186, 1401889150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58139896392822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:52:42.236883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_54_2683.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_58_3669.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_01_2682.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_03_2762.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_07_3726.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_10_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_54_2683.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_58_3669.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_01_2682.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_03_2762.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_07_3726.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_10_2592.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.788573980331421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:53:03.071273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/43/image_31122025_11_44_05_10719.jpg', '/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_15_9784.jpg', '/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_25_9847.jpg', '/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_35_9715.jpg', '/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_45_10669.jpg', '/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_55_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/43/image_31122025_11_44_05_10719.jpg
/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_15_9784.jpg
/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_25_9847.jpg
/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_35_9715.jpg
/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_45_10669.jpg
/home/pi/Desktop/images/31122025/11/44/image_31122025_11_44_55_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889292","1401889277","1401889286","1401889288","1401889290","1401889284"],"photo_ids_order":["1401889277","1401889284","1401889286","1401889288","1401889290","1401889292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5deaa9b8a1e66e22f4ed6963e18548cc.jpg","text":"TemporaryFile(/tmp/multipartBody8596420805019343300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185643894,"filename":"image_31122025_11_44_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad1faf2c079adacf23874b1b9bfc07a3.jpg","text":"TemporaryFile(/tmp/multipartBody4376324735757676040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185643894,"filename":"image_31122025_11_44_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc300a69196e18f70b516cc57c517d88.jpg","text":"TemporaryFile(/tmp/multipartBody103870662290645141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185643894,"filename":"image_31122025_11_44_25_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e5252e4360ac80afb4f59dce3067dfb.jpg","text":"TemporaryFile(/tmp/multipartBody1265273782590531803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185643894,"filename":"image_31122025_11_44_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e24481b9a7f4bdb1934034b3d408cfd.jpg","text":"TemporaryFile(/tmp/multipartBody1632773085601603222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185643894,"filename":"image_31122025_11_44_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/253f540a2dee6b2536ecf94772d36a25.jpg","text":"TemporaryFile(/tmp/multipartBody6091508388364351943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185643894,"filename":"image_31122025_11_44_15_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889286","file1":"1401889284","file0":"1401889277","file4":"1401889290","file5":"1401889292","file3":"1401889288"},"map_files_photo_id_array":[{"photo_id":"1401889292","filename":"file5"},{"photo_id":"1401889286","filename":"file2"},{"photo_id":"1401889290","filename":"file4"},{"photo_id":"1401889284","filename":"file1"},{"photo_id":"1401889277","filename":"file0"},{"photo_id":"1401889288","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401889292":["hashtag1","hashtag2"]},{"1401889277":["hashtag1","hashtag2"]},{"1401889286":["hashtag1","hashtag2"]},{"1401889288":["hashtag1","hashtag2"]},{"1401889290":["hashtag1","hashtag2"]},{"1401889284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401889292, 1401889277, 1401889286, 1401889288, 1401889290, 1401889284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40915393829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:53:42.437867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_54_2683.jpg', '/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_58_3669.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_01_2682.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_03_2762.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_07_3726.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_10_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_54_2683.jpg
/home/pi/Desktop/images/03112025/18/34/image_03112025_18_34_58_3669.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_01_2682.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_03_2762.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_07_3726.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_10_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889314","1401889319","1401889316","1401889301","1401889321","1401889318"],"photo_ids_order":["1401889301","1401889314","1401889316","1401889318","1401889319","1401889321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ba21938cd2d7ecc2c4fabb76212ef56.jpg","text":"TemporaryFile(/tmp/multipartBody2371423263752311343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185684242,"filename":"image_03112025_18_34_58_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6388b0d6ddeb91c29d91cf8380417060.jpg","text":"TemporaryFile(/tmp/multipartBody3312924328107418845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185684242,"filename":"image_03112025_18_35_07_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1da9ff498210e11e79244c1e25d117b.jpg","text":"TemporaryFile(/tmp/multipartBody6191407792832998453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185684242,"filename":"image_03112025_18_35_01_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be38e63706202f30e781ec5d058c21a8.jpg","text":"TemporaryFile(/tmp/multipartBody4504172989865122988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185684242,"filename":"image_03112025_18_34_54_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09f99fd1e3ffc8f56acd661d9351d726.jpg","text":"TemporaryFile(/tmp/multipartBody1082724265592277610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185684242,"filename":"image_03112025_18_35_10_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3b0158825ab547ae11fee862318317c.jpg","text":"TemporaryFile(/tmp/multipartBody5426591157195325457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185684242,"filename":"image_03112025_18_35_03_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889316","file1":"1401889314","file0":"1401889301","file4":"1401889319","file5":"1401889321","file3":"1401889318"},"map_files_photo_id_array":[{"photo_id":"1401889321","filename":"file5"},{"photo_id":"1401889316","filename":"file2"},{"photo_id":"1401889319","filename":"file4"},{"photo_id":"1401889314","filename":"file1"},{"photo_id":"1401889301","filename":"file0"},{"photo_id":"1401889318","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401889314":["hashtag1","hashtag2"]},{"1401889319":["hashtag1","hashtag2"]},{"1401889316":["hashtag1","hashtag2"]},{"1401889301":["hashtag1","hashtag2"]},{"1401889321":["hashtag1","hashtag2"]},{"1401889318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401889314, 1401889319, 1401889316, 1401889301, 1401889321, 1401889318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.778929710388184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:54:22.593281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/45/image_31122025_11_45_14_10060.jpg', '/home/pi/Desktop/images/31122025/11/45/image_31122025_11_45_25_10715.jpg', '/home/pi/Desktop/images/31122025/11/45/image_31122025_11_45_35_9918.jpg', '/home/pi/Desktop/images/31122025/11/45/image_31122025_11_45_45_9843.jpg', '/home/pi/Desktop/images/31122025/11/45/image_31122025_11_46_05_10678.jpg', '/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_15_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/45/image_31122025_11_45_14_10060.jpg
/home/pi/Desktop/images/31122025/11/45/image_31122025_11_45_25_10715.jpg
/home/pi/Desktop/images/31122025/11/45/image_31122025_11_45_35_9918.jpg
/home/pi/Desktop/images/31122025/11/45/image_31122025_11_45_45_9843.jpg
/home/pi/Desktop/images/31122025/11/45/image_31122025_11_46_05_10678.jpg
/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_15_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889343","1401889346","1401889340","1401889328","1401889330","1401889332"],"photo_ids_order":["1401889328","1401889330","1401889332","1401889340","1401889343","1401889346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cda4edfa3af982761d668c6be63c9014.jpg","text":"TemporaryFile(/tmp/multipartBody2441455705932230121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185723378,"filename":"image_31122025_11_46_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90323e06a0fae3f5574524c2db746ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4004098507478899771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185723378,"filename":"image_31122025_11_46_15_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cadf9c08578e8cba3d1cb8779681a7d3.jpg","text":"TemporaryFile(/tmp/multipartBody7729418716556781390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185723378,"filename":"image_31122025_11_45_45_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c379d4cdfc0e2f2bb8021a19e59255d3.jpg","text":"TemporaryFile(/tmp/multipartBody6013022064270696066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185723378,"filename":"image_31122025_11_45_14_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/800d39553b78b927fefcac8a3c1840b2.jpg","text":"TemporaryFile(/tmp/multipartBody2546177895639656194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185723378,"filename":"image_31122025_11_45_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3e4d11016e4390b474e4493223d3b4b.jpg","text":"TemporaryFile(/tmp/multipartBody2930889575711358968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185723378,"filename":"image_31122025_11_45_35_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889332","file1":"1401889330","file0":"1401889328","file4":"1401889343","file5":"1401889346","file3":"1401889340"},"map_files_photo_id_array":[{"photo_id":"1401889346","filename":"file5"},{"photo_id":"1401889332","filename":"file2"},{"photo_id":"1401889343","filename":"file4"},{"photo_id":"1401889330","filename":"file1"},{"photo_id":"1401889328","filename":"file0"},{"photo_id":"1401889340","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401889343":["hashtag1","hashtag2"]},{"1401889346":["hashtag1","hashtag2"]},{"1401889340":["hashtag1","hashtag2"]},{"1401889328":["hashtag1","hashtag2"]},{"1401889330":["hashtag1","hashtag2"]},{"1401889332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401889343, 1401889346, 1401889340, 1401889328, 1401889330, 1401889332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73866868019104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:55:03.521139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_25_9664.jpg', '/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_35_10034.jpg', '/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_45_9983.jpg', '/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_54_9823.jpg', '/home/pi/Desktop/images/31122025/11/46/image_31122025_11_47_04_9693.jpg', '/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_15_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_25_9664.jpg
/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_35_10034.jpg
/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_45_9983.jpg
/home/pi/Desktop/images/31122025/11/46/image_31122025_11_46_54_9823.jpg
/home/pi/Desktop/images/31122025/11/46/image_31122025_11_47_04_9693.jpg
/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_15_10763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889362","1401889355","1401889358","1401889350","1401889353","1401889347"],"photo_ids_order":["1401889347","1401889350","1401889353","1401889355","1401889358","1401889362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62320d5018c4141e08f3516f46ceab59.jpg","text":"TemporaryFile(/tmp/multipartBody7472706467814092186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185764318,"filename":"image_31122025_11_47_15_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2d1105504e1d93f0c6abc3802dcf4be.jpg","text":"TemporaryFile(/tmp/multipartBody8402092084131390742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185764318,"filename":"image_31122025_11_46_54_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9b647ad9585703a0c51b67694669c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8166740524042380140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185764318,"filename":"image_31122025_11_47_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93c12a103fc5ed1e3c01d78194605f63.jpg","text":"TemporaryFile(/tmp/multipartBody6386231104947900538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185764318,"filename":"image_31122025_11_46_35_10034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce898bbb8f7babb234593e31c1f0b45e.jpg","text":"TemporaryFile(/tmp/multipartBody8988872841207694817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185764318,"filename":"image_31122025_11_46_45_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aaf410d92dee8be0398d159cafeefa0.jpg","text":"TemporaryFile(/tmp/multipartBody773706018355170438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185764318,"filename":"image_31122025_11_46_25_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889353","file1":"1401889350","file0":"1401889347","file4":"1401889358","file5":"1401889362","file3":"1401889355"},"map_files_photo_id_array":[{"photo_id":"1401889362","filename":"file5"},{"photo_id":"1401889353","filename":"file2"},{"photo_id":"1401889358","filename":"file4"},{"photo_id":"1401889350","filename":"file1"},{"photo_id":"1401889347","filename":"file0"},{"photo_id":"1401889355","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401889362":["hashtag1","hashtag2"]},{"1401889355":["hashtag1","hashtag2"]},{"1401889358":["hashtag1","hashtag2"]},{"1401889350":["hashtag1","hashtag2"]},{"1401889353":["hashtag1","hashtag2"]},{"1401889347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401889362, 1401889355, 1401889358, 1401889350, 1401889353, 1401889347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.051154136657715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:55:42.875599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_13_2716.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_17_4174.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_18_1646.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_22_3168.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_25_3550.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_28_2471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_13_2716.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_17_4174.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_18_1646.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_22_3168.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_25_3550.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_28_2471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889373","1401889370","1401889372","1401889375","1401889371","1401889368"],"photo_ids_order":["1401889368","1401889370","1401889371","1401889372","1401889373","1401889375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c73d39a356e99c5258c9cd038b0b09e.jpg","text":"TemporaryFile(/tmp/multipartBody2672433454263010975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185804815,"filename":"image_03112025_18_35_25_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45721f43ca64cd4f416067d3299f61f0.jpg","text":"TemporaryFile(/tmp/multipartBody1860510453942939593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185804815,"filename":"image_03112025_18_35_17_4174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/799d1381cad8ce7faa2ac75f0d93245c.jpg","text":"TemporaryFile(/tmp/multipartBody2138384598987730105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185804815,"filename":"image_03112025_18_35_22_3168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67719810e99fefd75d9b7b26d92f4f4b.jpg","text":"TemporaryFile(/tmp/multipartBody2321587918117063018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185804815,"filename":"image_03112025_18_35_28_2471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92ba7baa8420e6e02a9c8271992ac882.jpg","text":"TemporaryFile(/tmp/multipartBody5837618714507396733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185804815,"filename":"image_03112025_18_35_18_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f43aae9e4e4d614d4f7748132ae410a.jpg","text":"TemporaryFile(/tmp/multipartBody7583288317436735809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185804815,"filename":"image_03112025_18_35_13_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889371","file1":"1401889370","file0":"1401889368","file4":"1401889373","file5":"1401889375","file3":"1401889372"},"map_files_photo_id_array":[{"photo_id":"1401889375","filename":"file5"},{"photo_id":"1401889371","filename":"file2"},{"photo_id":"1401889373","filename":"file4"},{"photo_id":"1401889370","filename":"file1"},{"photo_id":"1401889368","filename":"file0"},{"photo_id":"1401889372","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401889373":["hashtag1","hashtag2"]},{"1401889370":["hashtag1","hashtag2"]},{"1401889372":["hashtag1","hashtag2"]},{"1401889375":["hashtag1","hashtag2"]},{"1401889371":["hashtag1","hashtag2"]},{"1401889368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401889373, 1401889370, 1401889372, 1401889375, 1401889371, 1401889368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01645278930664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 13:56:22.006864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_25_9824.jpg', '/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_35_9749.jpg', '/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_44_9675.jpg', '/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_55_10826.jpg', '/home/pi/Desktop/images/31122025/11/47/image_31122025_11_48_05_9693.jpg', '/home/pi/Desktop/images/31122025/11/48/image_31122025_11_48_15_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_25_9824.jpg
/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_35_9749.jpg
/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_44_9675.jpg
/home/pi/Desktop/images/31122025/11/47/image_31122025_11_47_55_10826.jpg
/home/pi/Desktop/images/31122025/11/47/image_31122025_11_48_05_9693.jpg
/home/pi/Desktop/images/31122025/11/48/image_31122025_11_48_15_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889385","1401889381","1401889395","1401889398","1401889383","1401889392"],"photo_ids_order":["1401889381","1401889383","1401889385","1401889392","1401889395","1401889398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7c0ec969504d18764f6dbc863bf9221.jpg","text":"TemporaryFile(/tmp/multipartBody4784824844997542291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185842737,"filename":"image_31122025_11_47_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5a673c4e701118703acd89f0419052f.jpg","text":"TemporaryFile(/tmp/multipartBody6011305592868621133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185842737,"filename":"image_31122025_11_47_25_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8f29b1beb608279d68d85b344960803.jpg","text":"TemporaryFile(/tmp/multipartBody4217998478601157016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185842737,"filename":"image_31122025_11_48_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67e30f6115ec13f96c7e9b71fd96ec23.jpg","text":"TemporaryFile(/tmp/multipartBody3425390400889023928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185842737,"filename":"image_31122025_11_48_15_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67674bdecf06a21a94296e0f1692d40a.jpg","text":"TemporaryFile(/tmp/multipartBody7868718534053258788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185842737,"filename":"image_31122025_11_47_35_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/517801e83018f7eea048cf2f9af7a23e.jpg","text":"TemporaryFile(/tmp/multipartBody4129660450766939095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185842737,"filename":"image_31122025_11_47_55_10826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889385","file1":"1401889383","file0":"1401889381","file4":"1401889395","file5":"1401889398","file3":"1401889392"},"map_files_photo_id_array":[{"photo_id":"1401889398","filename":"file5"},{"photo_id":"1401889385","filename":"file2"},{"photo_id":"1401889395","filename":"file4"},{"photo_id":"1401889383","filename":"file1"},{"photo_id":"1401889381","filename":"file0"},{"photo_id":"1401889392","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401889385":["hashtag1","hashtag2"]},{"1401889381":["hashtag1","hashtag2"]},{"1401889395":["hashtag1","hashtag2"]},{"1401889398":["hashtag1","hashtag2"]},{"1401889383":["hashtag1","hashtag2"]},{"1401889392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401889385, 1401889381, 1401889395, 1401889398, 1401889383, 1401889392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86328101158142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:57:02.929591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/48/image_31122025_11_48_35_10760.jpg', '/home/pi/Desktop/images/31122025/11/48/image_31122025_11_48_45_9588.jpg', '/home/pi/Desktop/images/31122025/11/48/image_31122025_11_48_54_9795.jpg', '/home/pi/Desktop/images/31122025/11/48/image_31122025_11_49_05_10625.jpg', '/home/pi/Desktop/images/31122025/11/49/image_31122025_11_49_24_9691.jpg', '/home/pi/Desktop/images/31122025/11/49/image_31122025_11_49_44_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/48/image_31122025_11_48_35_10760.jpg
/home/pi/Desktop/images/31122025/11/48/image_31122025_11_48_45_9588.jpg
/home/pi/Desktop/images/31122025/11/48/image_31122025_11_48_54_9795.jpg
/home/pi/Desktop/images/31122025/11/48/image_31122025_11_49_05_10625.jpg
/home/pi/Desktop/images/31122025/11/49/image_31122025_11_49_24_9691.jpg
/home/pi/Desktop/images/31122025/11/49/image_31122025_11_49_44_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889416","1401889418","1401889421","1401889423","1401889414","1401889425"],"photo_ids_order":["1401889414","1401889416","1401889418","1401889421","1401889423","1401889425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18dbf582ba42586eca554e177fd4ea0c.jpg","text":"TemporaryFile(/tmp/multipartBody7371418178622888261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185883653,"filename":"image_31122025_11_48_45_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbf61812e81e072b17eb2aedc7ae1d0c.jpg","text":"TemporaryFile(/tmp/multipartBody6121259009895252598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185883653,"filename":"image_31122025_11_48_54_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0c8299c2fdfd71c66ce9bedd4623939.jpg","text":"TemporaryFile(/tmp/multipartBody5191456462592835984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185883653,"filename":"image_31122025_11_49_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e44a66379db93f26dfbe286e066d52f.jpg","text":"TemporaryFile(/tmp/multipartBody4297819791882410233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185883653,"filename":"image_31122025_11_49_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33776e7d5eb94c8ccb46ac9a64dffe3e.jpg","text":"TemporaryFile(/tmp/multipartBody1123275823646470965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185883653,"filename":"image_31122025_11_48_35_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96ac174659f3824c18f0d8ac8dda203b.jpg","text":"TemporaryFile(/tmp/multipartBody8185258352306669343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185883653,"filename":"image_31122025_11_49_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889418","file1":"1401889416","file0":"1401889414","file4":"1401889423","file5":"1401889425","file3":"1401889421"},"map_files_photo_id_array":[{"photo_id":"1401889425","filename":"file5"},{"photo_id":"1401889418","filename":"file2"},{"photo_id":"1401889423","filename":"file4"},{"photo_id":"1401889416","filename":"file1"},{"photo_id":"1401889414","filename":"file0"},{"photo_id":"1401889421","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401889416":["hashtag1","hashtag2"]},{"1401889418":["hashtag1","hashtag2"]},{"1401889421":["hashtag1","hashtag2"]},{"1401889423":["hashtag1","hashtag2"]},{"1401889414":["hashtag1","hashtag2"]},{"1401889425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401889416, 1401889418, 1401889421, 1401889423, 1401889414, 1401889425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.258540391922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 13:57:42.252981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_31_3602.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_34_2760.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_38_4569.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_40_1698.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_43_2541.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_45_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_31_3602.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_34_2760.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_38_4569.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_40_1698.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_43_2541.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_45_2520.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889434","1401889437","1401889436","1401889430","1401889433","1401889435"],"photo_ids_order":["1401889430","1401889433","1401889434","1401889435","1401889436","1401889437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3021d11fd12ee483bf6ce349d9766ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1706555632295771879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185924008,"filename":"image_03112025_18_35_38_4569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48185e6988a25acc4af2f4044e7a2109.jpg","text":"TemporaryFile(/tmp/multipartBody4472304436213991269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185924008,"filename":"image_03112025_18_35_45_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2ffc363a7b3271358fcff89cfac371e.jpg","text":"TemporaryFile(/tmp/multipartBody1979720061013487273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185924008,"filename":"image_03112025_18_35_43_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/122458a9eb845cadeb23143988c67e52.jpg","text":"TemporaryFile(/tmp/multipartBody5233410976739876359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185924008,"filename":"image_03112025_18_35_31_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1d7ab7721a41858f6957fa312de959b.jpg","text":"TemporaryFile(/tmp/multipartBody2588710541187861160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185924008,"filename":"image_03112025_18_35_34_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56ba2944f830c64cc99fe124d4389cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2034558681745928132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767185924008,"filename":"image_03112025_18_35_40_1698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889434","file1":"1401889433","file0":"1401889430","file4":"1401889436","file5":"1401889437","file3":"1401889435"},"map_files_photo_id_array":[{"photo_id":"1401889437","filename":"file5"},{"photo_id":"1401889434","filename":"file2"},{"photo_id":"1401889436","filename":"file4"},{"photo_id":"1401889433","filename":"file1"},{"photo_id":"1401889430","filename":"file0"},{"photo_id":"1401889435","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401889434":["hashtag1","hashtag2"]},{"1401889437":["hashtag1","hashtag2"]},{"1401889436":["hashtag1","hashtag2"]},{"1401889430":["hashtag1","hashtag2"]},{"1401889433":["hashtag1","hashtag2"]},{"1401889435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401889434, 1401889437, 1401889436, 1401889430, 1401889433, 1401889435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26052951812744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 13:59:03.538192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/49/image_31122025_11_49_55_10678.jpg', '/home/pi/Desktop/images/31122025/11/50/image_31122025_11_50_15_10054.jpg', '/home/pi/Desktop/images/31122025/11/50/image_31122025_11_50_35_9690.jpg', '/home/pi/Desktop/images/31122025/11/50/image_31122025_11_51_06_10738.jpg', '/home/pi/Desktop/images/31122025/11/51/image_31122025_11_51_25_9670.jpg', '/home/pi/Desktop/images/31122025/11/51/image_31122025_11_51_36_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/49/image_31122025_11_49_55_10678.jpg
/home/pi/Desktop/images/31122025/11/50/image_31122025_11_50_15_10054.jpg
/home/pi/Desktop/images/31122025/11/50/image_31122025_11_50_35_9690.jpg
/home/pi/Desktop/images/31122025/11/50/image_31122025_11_51_06_10738.jpg
/home/pi/Desktop/images/31122025/11/51/image_31122025_11_51_25_9670.jpg
/home/pi/Desktop/images/31122025/11/51/image_31122025_11_51_36_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889455","1401889490","1401889493","1401889487","1401889453","1401889497"],"photo_ids_order":["1401889453","1401889455","1401889487","1401889490","1401889493","1401889497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ea17edbfd714ba5ca97b7006701aeff.jpg","text":"TemporaryFile(/tmp/multipartBody2796444403497100324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186004390,"filename":"image_31122025_11_50_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a994c698557c28b190ddc01db293d023.jpg","text":"TemporaryFile(/tmp/multipartBody2160288225984839557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186004390,"filename":"image_31122025_11_51_06_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59fef06830c8237916f8c6fc04920877.jpg","text":"TemporaryFile(/tmp/multipartBody9000225516068177925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186004390,"filename":"image_31122025_11_51_25_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d93770da8cb4c6044a8456c03e9ad6c8.jpg","text":"TemporaryFile(/tmp/multipartBody2333300707243532101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186004390,"filename":"image_31122025_11_50_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51be14d01acf0abb140bd240af8fa8b0.jpg","text":"TemporaryFile(/tmp/multipartBody7629511384567532662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186004390,"filename":"image_31122025_11_49_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fbfa2a04f689837bb8e219e940ee251.jpg","text":"TemporaryFile(/tmp/multipartBody2304774452029663916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186004390,"filename":"image_31122025_11_51_36_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889487","file1":"1401889455","file0":"1401889453","file4":"1401889493","file5":"1401889497","file3":"1401889490"},"map_files_photo_id_array":[{"photo_id":"1401889497","filename":"file5"},{"photo_id":"1401889487","filename":"file2"},{"photo_id":"1401889493","filename":"file4"},{"photo_id":"1401889455","filename":"file1"},{"photo_id":"1401889453","filename":"file0"},{"photo_id":"1401889490","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401889455":["hashtag1","hashtag2"]},{"1401889490":["hashtag1","hashtag2"]},{"1401889493":["hashtag1","hashtag2"]},{"1401889487":["hashtag1","hashtag2"]},{"1401889453":["hashtag1","hashtag2"]},{"1401889497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401889455, 1401889490, 1401889493, 1401889487, 1401889453, 1401889497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.40867018699646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:00:02.972908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/51/image_31122025_11_51_45_9733.jpg', '/home/pi/Desktop/images/31122025/11/51/image_31122025_11_51_55_9718.jpg', '/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_15_10708.jpg', '/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_25_9746.jpg', '/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_35_9832.jpg', '/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/51/image_31122025_11_51_45_9733.jpg
/home/pi/Desktop/images/31122025/11/51/image_31122025_11_51_55_9718.jpg
/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_15_10708.jpg
/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_25_9746.jpg
/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_35_9832.jpg
/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_45_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401889527","1401889535","1401889520","1401889522","1401889531","1401889519"],"photo_ids_order":["1401889519","1401889520","1401889522","1401889527","1401889531","1401889535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5493282fdd92a8158f93a096d936b3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2971389372803232774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186063670,"filename":"image_31122025_11_52_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c75c7a1f390a8a9dd62d9890bc150ede.jpg","text":"TemporaryFile(/tmp/multipartBody2010977450679026414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186063670,"filename":"image_31122025_11_52_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5707623e61446f54184e35eaead5c89.jpg","text":"TemporaryFile(/tmp/multipartBody3138252622024402357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186063670,"filename":"image_31122025_11_51_55_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a438133d3d15f07535aa3a91c419064e.jpg","text":"TemporaryFile(/tmp/multipartBody5144352267992955322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186063670,"filename":"image_31122025_11_52_15_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/179a4b3e5711e5c47bbb6a81a9803bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6104263925999394145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186063670,"filename":"image_31122025_11_52_35_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07ec0426aa85c39ecabf32fe73f939f4.jpg","text":"TemporaryFile(/tmp/multipartBody2774905350705136523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186063670,"filename":"image_31122025_11_51_45_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401889522","file1":"1401889520","file0":"1401889519","file4":"1401889531","file5":"1401889535","file3":"1401889527"},"map_files_photo_id_array":[{"photo_id":"1401889535","filename":"file5"},{"photo_id":"1401889522","filename":"file2"},{"photo_id":"1401889531","filename":"file4"},{"photo_id":"1401889520","filename":"file1"},{"photo_id":"1401889519","filename":"file0"},{"photo_id":"1401889527","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401889527":["hashtag1","hashtag2"]},{"1401889535":["hashtag1","hashtag2"]},{"1401889520":["hashtag1","hashtag2"]},{"1401889522":["hashtag1","hashtag2"]},{"1401889531":["hashtag1","hashtag2"]},{"1401889519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401889527, 1401889535, 1401889520, 1401889522, 1401889531, 1401889519)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.71714401245117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:01:03.194009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:01:12.642075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_49_3994.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_52_2605.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_55_3264.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_58_2667.jpg', '/home/pi/Desktop/images/03112025/18/35/image_03112025_18_36_00_2458.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_04_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_49_3994.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_52_2605.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_55_3264.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_35_58_2667.jpg
/home/pi/Desktop/images/03112025/18/35/image_03112025_18_36_00_2458.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_04_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401890241","1401890112","1401890371","1401890006","1401889968","1401889929"],"photo_ids_order":["1401889929","1401889968","1401890006","1401890112","1401890241","1401890371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c2dca0a20b8d92ac5ff3d210dc97801.jpg","text":"TemporaryFile(/tmp/multipartBody8659239381537831415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186138334,"filename":"image_03112025_18_36_00_2458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bbcb07be25c043e58fc92411c2e48c7.jpg","text":"TemporaryFile(/tmp/multipartBody5037803038626507877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186138334,"filename":"image_03112025_18_35_58_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df8a8def050dfcdd64eca5fceb017c95.jpg","text":"TemporaryFile(/tmp/multipartBody7036028891798381840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186138334,"filename":"image_03112025_18_36_04_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c56e74e267bf290e0b843e2e6037eef7.jpg","text":"TemporaryFile(/tmp/multipartBody4663036096540030112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186138334,"filename":"image_03112025_18_35_55_3264.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61cc41cefde6eeafdbf3c1e1e53c753a.jpg","text":"TemporaryFile(/tmp/multipartBody2944917996297871840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186138334,"filename":"image_03112025_18_35_52_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc3d72a376eb3ddf17d0390d6381c241.jpg","text":"TemporaryFile(/tmp/multipartBody31724850743118965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186138334,"filename":"image_03112025_18_35_49_3994.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401890006","file1":"1401889968","file0":"1401889929","file4":"1401890241","file5":"1401890371","file3":"1401890112"},"map_files_photo_id_array":[{"photo_id":"1401890371","filename":"file5"},{"photo_id":"1401890006","filename":"file2"},{"photo_id":"1401890241","filename":"file4"},{"photo_id":"1401889968","filename":"file1"},{"photo_id":"1401889929","filename":"file0"},{"photo_id":"1401890112","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401890241":["hashtag1","hashtag2"]},{"1401890112":["hashtag1","hashtag2"]},{"1401890371":["hashtag1","hashtag2"]},{"1401890006":["hashtag1","hashtag2"]},{"1401889968":["hashtag1","hashtag2"]},{"1401889929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401890241, 1401890112, 1401890371, 1401890006, 1401889968, 1401889929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70928883552551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:02:04.719124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_55_10597.jpg', '/home/pi/Desktop/images/31122025/11/52/image_31122025_11_53_05_9759.jpg', '/home/pi/Desktop/images/31122025/11/53/image_31122025_11_53_15_9664.jpg', '/home/pi/Desktop/images/31122025/11/53/image_31122025_11_53_35_9764.jpg', '/home/pi/Desktop/images/31122025/11/53/image_31122025_11_53_45_9744.jpg', '/home/pi/Desktop/images/31122025/11/53/image_31122025_11_53_55_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/52/image_31122025_11_52_55_10597.jpg
/home/pi/Desktop/images/31122025/11/52/image_31122025_11_53_05_9759.jpg
/home/pi/Desktop/images/31122025/11/53/image_31122025_11_53_15_9664.jpg
/home/pi/Desktop/images/31122025/11/53/image_31122025_11_53_35_9764.jpg
/home/pi/Desktop/images/31122025/11/53/image_31122025_11_53_45_9744.jpg
/home/pi/Desktop/images/31122025/11/53/image_31122025_11_53_55_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401890755","1401890749","1401890752","1401890746","1401890734","1401890697"],"photo_ids_order":["1401890697","1401890734","1401890746","1401890749","1401890752","1401890755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6ee0d5fc55e437b1d77c26498ffa885.jpg","text":"TemporaryFile(/tmp/multipartBody1852228059617049315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186187905,"filename":"image_31122025_11_53_55_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0eff1ab809dc265105197f16e1645ec.jpg","text":"TemporaryFile(/tmp/multipartBody194043681315941189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186187905,"filename":"image_31122025_11_53_35_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/630f385c80dfa136f4f008d98451c79a.jpg","text":"TemporaryFile(/tmp/multipartBody2998047487566475481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186187905,"filename":"image_31122025_11_53_45_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b26a49c4a1a57458e633e8eacf1e1e5.jpg","text":"TemporaryFile(/tmp/multipartBody6393528230097052593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186187905,"filename":"image_31122025_11_53_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/728f3873932a3b1a02e6237a212ab30c.jpg","text":"TemporaryFile(/tmp/multipartBody2817120691695470710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186187905,"filename":"image_31122025_11_53_05_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29f8172fac2257e83572f6fea4dde464.jpg","text":"TemporaryFile(/tmp/multipartBody5939835210947501220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186187905,"filename":"image_31122025_11_52_55_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401890746","file1":"1401890734","file0":"1401890697","file4":"1401890752","file5":"1401890755","file3":"1401890749"},"map_files_photo_id_array":[{"photo_id":"1401890755","filename":"file5"},{"photo_id":"1401890746","filename":"file2"},{"photo_id":"1401890752","filename":"file4"},{"photo_id":"1401890734","filename":"file1"},{"photo_id":"1401890697","filename":"file0"},{"photo_id":"1401890749","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401890755":["hashtag1","hashtag2"]},{"1401890749":["hashtag1","hashtag2"]},{"1401890752":["hashtag1","hashtag2"]},{"1401890746":["hashtag1","hashtag2"]},{"1401890734":["hashtag1","hashtag2"]},{"1401890697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401890755, 1401890749, 1401890752, 1401890746, 1401890734, 1401890697)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.318541526794434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:03:03.079092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/54/image_31122025_11_54_15_9663.jpg', '/home/pi/Desktop/images/31122025/11/54/image_31122025_11_54_25_9748.jpg', '/home/pi/Desktop/images/31122025/11/54/image_31122025_11_54_55_9795.jpg', '/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_14_10057.jpg', '/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_25_10712.jpg', '/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_35_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/54/image_31122025_11_54_15_9663.jpg
/home/pi/Desktop/images/31122025/11/54/image_31122025_11_54_25_9748.jpg
/home/pi/Desktop/images/31122025/11/54/image_31122025_11_54_55_9795.jpg
/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_14_10057.jpg
/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_25_10712.jpg
/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_35_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401891036","1401890969","1401890927","1401891046","1401891061","1401891010"],"photo_ids_order":["1401890927","1401890969","1401891010","1401891036","1401891046","1401891061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/838ae52e50bd4e5a5f071be52019d835.jpg","text":"TemporaryFile(/tmp/multipartBody7523039959588689167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186246482,"filename":"image_31122025_11_55_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b5268aa6512783ced473192d037a6f8.jpg","text":"TemporaryFile(/tmp/multipartBody8719699710848341262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186246482,"filename":"image_31122025_11_54_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9b9133dfde02af5f726d210f98a1d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1547991882532835396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186246482,"filename":"image_31122025_11_54_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caad69de4b42ddf80da53e7d132fa9c0.jpg","text":"TemporaryFile(/tmp/multipartBody4557669008598858440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186246482,"filename":"image_31122025_11_55_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f9805f1d929c12983b173c6fc2980a9.jpg","text":"TemporaryFile(/tmp/multipartBody7953288487570679488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186246482,"filename":"image_31122025_11_55_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baa4c9947190fed821dd05adebbdd1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3746425816761251222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186246482,"filename":"image_31122025_11_54_55_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401891010","file1":"1401890969","file0":"1401890927","file4":"1401891046","file5":"1401891061","file3":"1401891036"},"map_files_photo_id_array":[{"photo_id":"1401891061","filename":"file5"},{"photo_id":"1401891010","filename":"file2"},{"photo_id":"1401891046","filename":"file4"},{"photo_id":"1401890969","filename":"file1"},{"photo_id":"1401890927","filename":"file0"},{"photo_id":"1401891036","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401891036":["hashtag1","hashtag2"]},{"1401890969":["hashtag1","hashtag2"]},{"1401890927":["hashtag1","hashtag2"]},{"1401891046":["hashtag1","hashtag2"]},{"1401891061":["hashtag1","hashtag2"]},{"1401891010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401891036, 1401890969, 1401890927, 1401891046, 1401891061, 1401891010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.39893436431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:04:04.571332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:04:12.611842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_06_2563.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_10_3678.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_14_3779.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_28_14288.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_34_5880.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_36_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_06_2563.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_10_3678.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_14_3779.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_28_14288.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_34_5880.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_36_1615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401891609","1401891444","1401891485","1401891644","1401891526","1401891567"],"photo_ids_order":["1401891444","1401891485","1401891526","1401891567","1401891609","1401891644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6f6cbb3b19fd7ce6084dec137e589b5.jpg","text":"TemporaryFile(/tmp/multipartBody2633060359177710058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186317171,"filename":"image_03112025_18_36_34_5880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/593153120725b4973ddf9951876874b5.jpg","text":"TemporaryFile(/tmp/multipartBody4749883524986860909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186317171,"filename":"image_03112025_18_36_06_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4c361e566781e5b6b12eaad53e86e94.jpg","text":"TemporaryFile(/tmp/multipartBody11407342247605301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186317171,"filename":"image_03112025_18_36_10_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46b794fea1ee418a2b21e3a4d395fe89.jpg","text":"TemporaryFile(/tmp/multipartBody2615793052347111835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186317171,"filename":"image_03112025_18_36_36_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbef4ed76d9498d290b12d36cf8395dd.jpg","text":"TemporaryFile(/tmp/multipartBody3860159965451791955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186317171,"filename":"image_03112025_18_36_14_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9be153acd2bf4e3bf263bf9649808c9.jpg","text":"TemporaryFile(/tmp/multipartBody8087495815631717467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186317171,"filename":"image_03112025_18_36_28_14288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401891526","file1":"1401891485","file0":"1401891444","file4":"1401891609","file5":"1401891644","file3":"1401891567"},"map_files_photo_id_array":[{"photo_id":"1401891644","filename":"file5"},{"photo_id":"1401891526","filename":"file2"},{"photo_id":"1401891609","filename":"file4"},{"photo_id":"1401891485","filename":"file1"},{"photo_id":"1401891444","filename":"file0"},{"photo_id":"1401891567","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401891609":["hashtag1","hashtag2"]},{"1401891444":["hashtag1","hashtag2"]},{"1401891485":["hashtag1","hashtag2"]},{"1401891644":["hashtag1","hashtag2"]},{"1401891526":["hashtag1","hashtag2"]},{"1401891567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401891609, 1401891444, 1401891485, 1401891644, 1401891526, 1401891567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67176961898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:05:05.796274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_44_9577.jpg', '/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_55_10759.jpg', '/home/pi/Desktop/images/31122025/11/55/image_31122025_11_56_05_9747.jpg', '/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_15_9807.jpg', '/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_24_9796.jpg', '/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_35_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_44_9577.jpg
/home/pi/Desktop/images/31122025/11/55/image_31122025_11_55_55_10759.jpg
/home/pi/Desktop/images/31122025/11/55/image_31122025_11_56_05_9747.jpg
/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_15_9807.jpg
/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_24_9796.jpg
/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_35_10729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401891857","1401891865","1401891859","1401891868","1401891861","1401891870"],"photo_ids_order":["1401891857","1401891859","1401891861","1401891865","1401891868","1401891870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38e6bd6b307dbbee7fedf9b5374298f9.jpg","text":"TemporaryFile(/tmp/multipartBody401300334481466118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186369202,"filename":"image_31122025_11_55_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47d5ae9e0257deb4b16c5a5f132fd28f.jpg","text":"TemporaryFile(/tmp/multipartBody3242883775887520131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186369202,"filename":"image_31122025_11_56_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2af10ab4bf11383795f9c1ff0c1465c1.jpg","text":"TemporaryFile(/tmp/multipartBody4370826321228149418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186369202,"filename":"image_31122025_11_55_55_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ef0b5b8513c8569358a68ba92eb3a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8738754370218304726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186369202,"filename":"image_31122025_11_56_24_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e976905c97a6b7ecffbdf82ff3fefa93.jpg","text":"TemporaryFile(/tmp/multipartBody217107637511500707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186369202,"filename":"image_31122025_11_56_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b2cc2dbca00c288d2dc97dbec7318db.jpg","text":"TemporaryFile(/tmp/multipartBody5432103624590669066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186369202,"filename":"image_31122025_11_56_35_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401891861","file1":"1401891859","file0":"1401891857","file4":"1401891868","file5":"1401891870","file3":"1401891865"},"map_files_photo_id_array":[{"photo_id":"1401891870","filename":"file5"},{"photo_id":"1401891861","filename":"file2"},{"photo_id":"1401891868","filename":"file4"},{"photo_id":"1401891859","filename":"file1"},{"photo_id":"1401891857","filename":"file0"},{"photo_id":"1401891865","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401891857":["hashtag1","hashtag2"]},{"1401891865":["hashtag1","hashtag2"]},{"1401891859":["hashtag1","hashtag2"]},{"1401891868":["hashtag1","hashtag2"]},{"1401891861":["hashtag1","hashtag2"]},{"1401891870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401891857, 1401891865, 1401891859, 1401891868, 1401891861, 1401891870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35393762588501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:06:02.843911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_45_9715.jpg', '/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_55_9878.jpg', '/home/pi/Desktop/images/31122025/11/56/image_31122025_11_57_05_9737.jpg', '/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_14_9870.jpg', '/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_25_10731.jpg', '/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_35_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_45_9715.jpg
/home/pi/Desktop/images/31122025/11/56/image_31122025_11_56_55_9878.jpg
/home/pi/Desktop/images/31122025/11/56/image_31122025_11_57_05_9737.jpg
/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_14_9870.jpg
/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_25_10731.jpg
/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_35_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892055","1401892057","1401892120","1401892083","1401892062","1401892056"],"photo_ids_order":["1401892055","1401892056","1401892057","1401892062","1401892083","1401892120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03bcf0b12a071472c908be3a278843c0.jpg","text":"TemporaryFile(/tmp/multipartBody7813788400414827139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186423598,"filename":"image_31122025_11_56_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b704782ba33d33fc1f2429ee9f04c980.jpg","text":"TemporaryFile(/tmp/multipartBody2785219319379783705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186423598,"filename":"image_31122025_11_57_05_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02fe96f925e5cd58a3e0f7829b81a896.jpg","text":"TemporaryFile(/tmp/multipartBody3353720977683890832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186423598,"filename":"image_31122025_11_57_35_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d12cdcdbc4196d3dc47d572924267427.jpg","text":"TemporaryFile(/tmp/multipartBody5226227297347735775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186423598,"filename":"image_31122025_11_57_25_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b2e8760ce3779a6f824fe9d16ae40ed.jpg","text":"TemporaryFile(/tmp/multipartBody6310531685338377603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186423598,"filename":"image_31122025_11_57_14_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b48f259a000bff03ec80f8f0edb7b03f.jpg","text":"TemporaryFile(/tmp/multipartBody4206891264836301071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186423598,"filename":"image_31122025_11_56_55_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892057","file1":"1401892056","file0":"1401892055","file4":"1401892083","file5":"1401892120","file3":"1401892062"},"map_files_photo_id_array":[{"photo_id":"1401892120","filename":"file5"},{"photo_id":"1401892057","filename":"file2"},{"photo_id":"1401892083","filename":"file4"},{"photo_id":"1401892056","filename":"file1"},{"photo_id":"1401892055","filename":"file0"},{"photo_id":"1401892062","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401892055":["hashtag1","hashtag2"]},{"1401892057":["hashtag1","hashtag2"]},{"1401892120":["hashtag1","hashtag2"]},{"1401892083":["hashtag1","hashtag2"]},{"1401892062":["hashtag1","hashtag2"]},{"1401892056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401892055, 1401892057, 1401892120, 1401892083, 1401892062, 1401892056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24748778343201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:06:42.374370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_39_1559.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_45_5763.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_46_1569.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_48_1749.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_50_1706.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_51_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_39_1559.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_45_5763.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_46_1569.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_48_1749.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_50_1706.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_51_1618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892250","1401892256","1401892258","1401892243","1401892257","1401892224"],"photo_ids_order":["1401892224","1401892243","1401892250","1401892256","1401892257","1401892258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d1306fa5a43bc4f0de7704c3cf85548.jpg","text":"TemporaryFile(/tmp/multipartBody953985891913755703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186464335,"filename":"image_03112025_18_36_46_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afc79834b2ce66d41a9eca691aad987f.jpg","text":"TemporaryFile(/tmp/multipartBody3348081867536970022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186464335,"filename":"image_03112025_18_36_48_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4896fcb074bb0f1b49d068cbfcfc9960.jpg","text":"TemporaryFile(/tmp/multipartBody7934292468185660445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186464335,"filename":"image_03112025_18_36_51_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0dd56edb6954f0e6226aa94db8aef7b0.jpg","text":"TemporaryFile(/tmp/multipartBody9212059356612574315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186464335,"filename":"image_03112025_18_36_45_5763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b90c9026ec4bd29da1af1d6d883cd64b.jpg","text":"TemporaryFile(/tmp/multipartBody6336606589755445524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186464335,"filename":"image_03112025_18_36_50_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1978720cfafae23806af4593b4bd7663.jpg","text":"TemporaryFile(/tmp/multipartBody2698278857710340967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186464335,"filename":"image_03112025_18_36_39_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892250","file1":"1401892243","file0":"1401892224","file4":"1401892257","file5":"1401892258","file3":"1401892256"},"map_files_photo_id_array":[{"photo_id":"1401892258","filename":"file5"},{"photo_id":"1401892250","filename":"file2"},{"photo_id":"1401892257","filename":"file4"},{"photo_id":"1401892243","filename":"file1"},{"photo_id":"1401892224","filename":"file0"},{"photo_id":"1401892256","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401892250":["hashtag1","hashtag2"]},{"1401892256":["hashtag1","hashtag2"]},{"1401892258":["hashtag1","hashtag2"]},{"1401892243":["hashtag1","hashtag2"]},{"1401892257":["hashtag1","hashtag2"]},{"1401892224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401892250, 1401892256, 1401892258, 1401892243, 1401892257, 1401892224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9891242980957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:07:22.530316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_45_9719.jpg', '/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_55_10694.jpg', '/home/pi/Desktop/images/31122025/11/57/image_31122025_11_58_05_9704.jpg', '/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_14_9517.jpg', '/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_25_10664.jpg', '/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_34_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_45_9719.jpg
/home/pi/Desktop/images/31122025/11/57/image_31122025_11_57_55_10694.jpg
/home/pi/Desktop/images/31122025/11/57/image_31122025_11_58_05_9704.jpg
/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_14_9517.jpg
/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_25_10664.jpg
/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_34_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892308","1401892313","1401892315","1401892320","1401892317","1401892311"],"photo_ids_order":["1401892308","1401892311","1401892313","1401892315","1401892317","1401892320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0afd04069c1414fab6a4eb38a3a4f9df.jpg","text":"TemporaryFile(/tmp/multipartBody1062985389475398634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186503259,"filename":"image_31122025_11_57_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/512a6259fe58ac6dfacc4aa66bfbd699.jpg","text":"TemporaryFile(/tmp/multipartBody3898481246730347930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186503259,"filename":"image_31122025_11_58_05_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf1523d30dbc25d68aa554169a38b129.jpg","text":"TemporaryFile(/tmp/multipartBody6038279926842204006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186503259,"filename":"image_31122025_11_58_14_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40fb42b52d9fcffe79c897512d80f834.jpg","text":"TemporaryFile(/tmp/multipartBody2825285587166649625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186503259,"filename":"image_31122025_11_58_34_9368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50120d1522e06332ce446181806d07d9.jpg","text":"TemporaryFile(/tmp/multipartBody4000620564037592824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186503259,"filename":"image_31122025_11_58_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18281ce503bfd2720078eee5bf81f1a7.jpg","text":"TemporaryFile(/tmp/multipartBody9218455455761076813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186503259,"filename":"image_31122025_11_57_55_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892313","file1":"1401892311","file0":"1401892308","file4":"1401892317","file5":"1401892320","file3":"1401892315"},"map_files_photo_id_array":[{"photo_id":"1401892320","filename":"file5"},{"photo_id":"1401892313","filename":"file2"},{"photo_id":"1401892317","filename":"file4"},{"photo_id":"1401892311","filename":"file1"},{"photo_id":"1401892308","filename":"file0"},{"photo_id":"1401892315","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401892308":["hashtag1","hashtag2"]},{"1401892313":["hashtag1","hashtag2"]},{"1401892315":["hashtag1","hashtag2"]},{"1401892320":["hashtag1","hashtag2"]},{"1401892317":["hashtag1","hashtag2"]},{"1401892311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401892308, 1401892313, 1401892315, 1401892320, 1401892317, 1401892311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27684950828552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:08:03.140755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_45_10695.jpg', '/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_55_9666.jpg', '/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_05_10114.jpg', '/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_15_9805.jpg', '/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_24_9741.jpg', '/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_35_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_45_10695.jpg
/home/pi/Desktop/images/31122025/11/58/image_31122025_11_58_55_9666.jpg
/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_05_10114.jpg
/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_15_9805.jpg
/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_24_9741.jpg
/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_35_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892343","1401892337","1401892351","1401892345","1401892347","1401892341"],"photo_ids_order":["1401892337","1401892341","1401892343","1401892345","1401892347","1401892351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/474ec1c4895e4ddb592d7bf39899de17.jpg","text":"TemporaryFile(/tmp/multipartBody1460511793148861146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186543882,"filename":"image_31122025_11_59_05_10114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a794139976763e3181ab163bff2f9244.jpg","text":"TemporaryFile(/tmp/multipartBody3733856648838214868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186543882,"filename":"image_31122025_11_58_45_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9f393bc3882453574a94fa430d4a534.jpg","text":"TemporaryFile(/tmp/multipartBody7032322137119171568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186543882,"filename":"image_31122025_11_59_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2844f5e3ca6184c73267f37794b76a3.jpg","text":"TemporaryFile(/tmp/multipartBody1134257010334550316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186543882,"filename":"image_31122025_11_59_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a267819bf724bc609005971797357fc.jpg","text":"TemporaryFile(/tmp/multipartBody9038205769884239904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186543882,"filename":"image_31122025_11_59_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/125e9be42e4b2d3b09c5f3f473df1793.jpg","text":"TemporaryFile(/tmp/multipartBody543430021648179157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186543882,"filename":"image_31122025_11_58_55_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892343","file1":"1401892341","file0":"1401892337","file4":"1401892347","file5":"1401892351","file3":"1401892345"},"map_files_photo_id_array":[{"photo_id":"1401892351","filename":"file5"},{"photo_id":"1401892343","filename":"file2"},{"photo_id":"1401892347","filename":"file4"},{"photo_id":"1401892341","filename":"file1"},{"photo_id":"1401892337","filename":"file0"},{"photo_id":"1401892345","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401892343":["hashtag1","hashtag2"]},{"1401892337":["hashtag1","hashtag2"]},{"1401892351":["hashtag1","hashtag2"]},{"1401892345":["hashtag1","hashtag2"]},{"1401892347":["hashtag1","hashtag2"]},{"1401892341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401892343, 1401892337, 1401892351, 1401892345, 1401892347, 1401892341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.853222370147705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:08:42.670768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_53_1643.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_55_1579.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_58_1624.jpg', '/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_59_1530.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_03_3178.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_07_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_53_1643.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_55_1579.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_58_1624.jpg
/home/pi/Desktop/images/03112025/18/36/image_03112025_18_36_59_1530.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_03_3178.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_07_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892376","1401892361","1401892367","1401892375","1401892378","1401892377"],"photo_ids_order":["1401892361","1401892367","1401892375","1401892376","1401892377","1401892378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50757c5270b113ce6643a3c7c207f0b3.jpg","text":"TemporaryFile(/tmp/multipartBody3883881781093894027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186584618,"filename":"image_03112025_18_36_59_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71b2f669c656a837d148ff769da3eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody7314090896728911007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186584618,"filename":"image_03112025_18_36_53_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86ca3b93801e216ddc8f2349a7cbafd1.jpg","text":"TemporaryFile(/tmp/multipartBody1905522412882030208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186584618,"filename":"image_03112025_18_36_55_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6424fc546b0b7c8dfb5421045993860e.jpg","text":"TemporaryFile(/tmp/multipartBody8451496085873904557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186584618,"filename":"image_03112025_18_36_58_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00788aac4b9c1c32a2fdde6e18da0242.jpg","text":"TemporaryFile(/tmp/multipartBody598093370871120544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186584618,"filename":"image_03112025_18_37_07_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a49058955d2d1dd14f9701a8d5146934.jpg","text":"TemporaryFile(/tmp/multipartBody1987251744695283297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186584618,"filename":"image_03112025_18_37_03_3178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892375","file1":"1401892367","file0":"1401892361","file4":"1401892377","file5":"1401892378","file3":"1401892376"},"map_files_photo_id_array":[{"photo_id":"1401892378","filename":"file5"},{"photo_id":"1401892375","filename":"file2"},{"photo_id":"1401892377","filename":"file4"},{"photo_id":"1401892367","filename":"file1"},{"photo_id":"1401892361","filename":"file0"},{"photo_id":"1401892376","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401892376":["hashtag1","hashtag2"]},{"1401892361":["hashtag1","hashtag2"]},{"1401892367":["hashtag1","hashtag2"]},{"1401892375":["hashtag1","hashtag2"]},{"1401892378":["hashtag1","hashtag2"]},{"1401892377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401892376, 1401892361, 1401892367, 1401892375, 1401892378, 1401892377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12523674964905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:09:22.734735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_45_9513.jpg', '/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_54_9757.jpg', '/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_14_10039.jpg', '/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_25_10866.jpg', '/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_35_9822.jpg', '/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_44_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_45_9513.jpg
/home/pi/Desktop/images/31122025/11/59/image_31122025_11_59_54_9757.jpg
/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_14_10039.jpg
/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_25_10866.jpg
/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_35_9822.jpg
/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_44_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892418","1401892433","1401892427","1401892421","1401892423","1401892425"],"photo_ids_order":["1401892418","1401892421","1401892423","1401892425","1401892427","1401892433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87a4909c2bc1a69bdc015491bbf03d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6078117838673721028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186623431,"filename":"image_31122025_11_59_45_9513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d950852b0a1da81531464d5321a5648d.jpg","text":"TemporaryFile(/tmp/multipartBody5195190193788281106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186623431,"filename":"image_31122025_12_01_44_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e8358f6f5d2d7810fd0384a74a430bf.jpg","text":"TemporaryFile(/tmp/multipartBody7856733986331231409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186623431,"filename":"image_31122025_12_01_35_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00e3356fa1b1dd5d931d76b037c97efb.jpg","text":"TemporaryFile(/tmp/multipartBody7205872124717684147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186623431,"filename":"image_31122025_11_59_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99ca4c8ce9abc84d098dc9f6b8fd63c2.jpg","text":"TemporaryFile(/tmp/multipartBody5847935633931272240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186623431,"filename":"image_31122025_12_01_14_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bc2e9f704bcab80c4e3781a41423960.jpg","text":"TemporaryFile(/tmp/multipartBody3973453936243897115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186623431,"filename":"image_31122025_12_01_25_10866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892423","file1":"1401892421","file0":"1401892418","file4":"1401892427","file5":"1401892433","file3":"1401892425"},"map_files_photo_id_array":[{"photo_id":"1401892433","filename":"file5"},{"photo_id":"1401892423","filename":"file2"},{"photo_id":"1401892427","filename":"file4"},{"photo_id":"1401892421","filename":"file1"},{"photo_id":"1401892418","filename":"file0"},{"photo_id":"1401892425","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401892418":["hashtag1","hashtag2"]},{"1401892433":["hashtag1","hashtag2"]},{"1401892427":["hashtag1","hashtag2"]},{"1401892421":["hashtag1","hashtag2"]},{"1401892423":["hashtag1","hashtag2"]},{"1401892425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401892418, 1401892433, 1401892427, 1401892421, 1401892423, 1401892425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01007556915283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:10:11.933856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_10_2778.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_12_2693.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_15_2746.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_19_3601.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_21_2611.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_25_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_10_2778.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_12_2693.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_15_2746.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_19_3601.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_21_2611.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_25_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892583","1401892556","1401892484","1401892576","1401892563","1401892524"],"photo_ids_order":["1401892484","1401892524","1401892556","1401892563","1401892576","1401892583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52251e13d726624b883a6b3ff7262507.jpg","text":"TemporaryFile(/tmp/multipartBody6902416773609284199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186683288,"filename":"image_03112025_18_37_25_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77bcbf6a87cafb11b7e14a40f5b13f11.jpg","text":"TemporaryFile(/tmp/multipartBody5955852303068391730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186683288,"filename":"image_03112025_18_37_15_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4e0202d9f1de7def9030fab83443e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3308346786302271653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186683288,"filename":"image_03112025_18_37_10_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9246e062e4931fce8f5ccf67b7a5b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody6257367399594102606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186683288,"filename":"image_03112025_18_37_21_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/804e7677f34f6007c2a5daef180c240d.jpg","text":"TemporaryFile(/tmp/multipartBody4774041907455655599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186683288,"filename":"image_03112025_18_37_19_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5f90aa5b26876b9cf2bfbfbb776059e.jpg","text":"TemporaryFile(/tmp/multipartBody7739468590862821326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186683288,"filename":"image_03112025_18_37_12_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892556","file1":"1401892524","file0":"1401892484","file4":"1401892576","file5":"1401892583","file3":"1401892563"},"map_files_photo_id_array":[{"photo_id":"1401892583","filename":"file5"},{"photo_id":"1401892556","filename":"file2"},{"photo_id":"1401892576","filename":"file4"},{"photo_id":"1401892524","filename":"file1"},{"photo_id":"1401892484","filename":"file0"},{"photo_id":"1401892563","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401892583":["hashtag1","hashtag2"]},{"1401892556":["hashtag1","hashtag2"]},{"1401892484":["hashtag1","hashtag2"]},{"1401892576":["hashtag1","hashtag2"]},{"1401892563":["hashtag1","hashtag2"]},{"1401892524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401892583, 1401892556, 1401892484, 1401892576, 1401892563, 1401892524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.08504605293274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:11:02.836831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_54_9927.jpg', '/home/pi/Desktop/images/31122025/12/01/image_31122025_12_02_04_9828.jpg', '/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_14_9724.jpg', '/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_25_10769.jpg', '/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_34_9320.jpg', '/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_45_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/01/image_31122025_12_01_54_9927.jpg
/home/pi/Desktop/images/31122025/12/01/image_31122025_12_02_04_9828.jpg
/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_14_9724.jpg
/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_25_10769.jpg
/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_34_9320.jpg
/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_45_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892763","1401892678","1401892737","1401892638","1401892719","1401892716"],"photo_ids_order":["1401892638","1401892678","1401892716","1401892719","1401892737","1401892763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/780ec075383ae6b9814fe38cfccd14b2.jpg","text":"TemporaryFile(/tmp/multipartBody4071186761586424375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186726008,"filename":"image_31122025_12_02_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2096b6b5d39e9e36a078eb5f0b1d2f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2001457048828919510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186726008,"filename":"image_31122025_12_02_04_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0095bed747d58017668da75bbf6309c.jpg","text":"TemporaryFile(/tmp/multipartBody7151647291572648888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186726008,"filename":"image_31122025_12_02_34_9320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9627beebf5c3ca17258a6f4ae386ab17.jpg","text":"TemporaryFile(/tmp/multipartBody4513711039690936957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186726008,"filename":"image_31122025_12_01_54_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8292a93779fbfb88f3b5b068d6c0ea9a.jpg","text":"TemporaryFile(/tmp/multipartBody7194538979215632403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186726008,"filename":"image_31122025_12_02_25_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94b47a93dad6509ac1c6eeb6b2d3b97d.jpg","text":"TemporaryFile(/tmp/multipartBody864902402111875788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186726008,"filename":"image_31122025_12_02_14_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892716","file1":"1401892678","file0":"1401892638","file4":"1401892737","file5":"1401892763","file3":"1401892719"},"map_files_photo_id_array":[{"photo_id":"1401892763","filename":"file5"},{"photo_id":"1401892716","filename":"file2"},{"photo_id":"1401892737","filename":"file4"},{"photo_id":"1401892678","filename":"file1"},{"photo_id":"1401892638","filename":"file0"},{"photo_id":"1401892719","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401892763":["hashtag1","hashtag2"]},{"1401892678":["hashtag1","hashtag2"]},{"1401892737":["hashtag1","hashtag2"]},{"1401892638":["hashtag1","hashtag2"]},{"1401892719":["hashtag1","hashtag2"]},{"1401892716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401892763, 1401892678, 1401892737, 1401892638, 1401892719, 1401892716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.537047386169434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:12:08.295379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_54_9746.jpg', '/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_11_16841.jpg', '/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_14_2800.jpg', '/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_25_10761.jpg', '/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_35_9748.jpg', '/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_44_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/02/image_31122025_12_02_54_9746.jpg
/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_11_16841.jpg
/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_14_2800.jpg
/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_25_10761.jpg
/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_35_9748.jpg
/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_44_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892802","1401892798","1401892810","1401892807","1401892804","1401892800"],"photo_ids_order":["1401892798","1401892800","1401892802","1401892804","1401892807","1401892810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7abb488004bc99a689be445165bf2e22.jpg","text":"TemporaryFile(/tmp/multipartBody2677335106129314090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186789039,"filename":"image_31122025_12_03_14_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96269fe831350bb2861e5682c5d21128.jpg","text":"TemporaryFile(/tmp/multipartBody7007621581981033172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186789039,"filename":"image_31122025_12_02_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7092e44f68f71259e7dec6b7ae0ed704.jpg","text":"TemporaryFile(/tmp/multipartBody2651694931821070160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186789039,"filename":"image_31122025_12_03_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52e3ea3d145d484e04b752b788dbf509.jpg","text":"TemporaryFile(/tmp/multipartBody3306030388671174786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186789039,"filename":"image_31122025_12_03_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf8e1cefcd944be6dd1e6410c8283142.jpg","text":"TemporaryFile(/tmp/multipartBody5403784650862572947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186789039,"filename":"image_31122025_12_03_25_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3c8d8d973e6a520eeb9c232e8f2ed50.jpg","text":"TemporaryFile(/tmp/multipartBody4031198809876104204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186789039,"filename":"image_31122025_12_03_11_16841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892802","file1":"1401892800","file0":"1401892798","file4":"1401892807","file5":"1401892810","file3":"1401892804"},"map_files_photo_id_array":[{"photo_id":"1401892810","filename":"file5"},{"photo_id":"1401892802","filename":"file2"},{"photo_id":"1401892807","filename":"file4"},{"photo_id":"1401892800","filename":"file1"},{"photo_id":"1401892798","filename":"file0"},{"photo_id":"1401892804","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401892802":["hashtag1","hashtag2"]},{"1401892798":["hashtag1","hashtag2"]},{"1401892810":["hashtag1","hashtag2"]},{"1401892807":["hashtag1","hashtag2"]},{"1401892804":["hashtag1","hashtag2"]},{"1401892800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401892802, 1401892798, 1401892810, 1401892807, 1401892804, 1401892800)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.06249785423279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:13:05.972368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:13:13.204756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_28_2660.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_31_2890.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_33_2631.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_37_3582.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_39_2667.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_43_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_28_2660.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_31_2890.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_33_2631.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_37_3582.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_39_2667.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_43_3545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401892970","1401892871","1401892967","1401892942","1401892965","1401892905"],"photo_ids_order":["1401892871","1401892905","1401892942","1401892965","1401892967","1401892970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d779701e45e2ef5a9ae3bf161cb99e09.jpg","text":"TemporaryFile(/tmp/multipartBody6018381936104120838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186856004,"filename":"image_03112025_18_37_43_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c504b0c5e913bc5d85b3a9786bac3f99.jpg","text":"TemporaryFile(/tmp/multipartBody182857957932671649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186856004,"filename":"image_03112025_18_37_28_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0a0d04fb0ec5bfd8e912d92f2a3acca.jpg","text":"TemporaryFile(/tmp/multipartBody4856034621811923630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186856004,"filename":"image_03112025_18_37_39_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e493bac53b59064ae3cf06b39b8b7f61.jpg","text":"TemporaryFile(/tmp/multipartBody4449252885665162119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186856004,"filename":"image_03112025_18_37_33_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a92aa6f23a7116a22b76ae6bb6ffeb0.jpg","text":"TemporaryFile(/tmp/multipartBody4659550644161112603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186856004,"filename":"image_03112025_18_37_37_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b6b36b54ccc69cdd244f98275912a95.jpg","text":"TemporaryFile(/tmp/multipartBody3813170071282249063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186856004,"filename":"image_03112025_18_37_31_2890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401892942","file1":"1401892905","file0":"1401892871","file4":"1401892967","file5":"1401892970","file3":"1401892965"},"map_files_photo_id_array":[{"photo_id":"1401892970","filename":"file5"},{"photo_id":"1401892942","filename":"file2"},{"photo_id":"1401892967","filename":"file4"},{"photo_id":"1401892905","filename":"file1"},{"photo_id":"1401892871","filename":"file0"},{"photo_id":"1401892965","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401892970":["hashtag1","hashtag2"]},{"1401892871":["hashtag1","hashtag2"]},{"1401892967":["hashtag1","hashtag2"]},{"1401892942":["hashtag1","hashtag2"]},{"1401892965":["hashtag1","hashtag2"]},{"1401892905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401892970, 1401892871, 1401892967, 1401892942, 1401892965, 1401892905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.823822021484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:14:03.133313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_54_9672.jpg', '/home/pi/Desktop/images/31122025/12/03/image_31122025_12_04_05_10700.jpg', '/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_15_9936.jpg', '/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_24_9620.jpg', '/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_34_9728.jpg', '/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_45_10881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/03/image_31122025_12_03_54_9672.jpg
/home/pi/Desktop/images/31122025/12/03/image_31122025_12_04_05_10700.jpg
/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_15_9936.jpg
/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_24_9620.jpg
/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_34_9728.jpg
/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_45_10881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893102","1401893094","1401893093","1401893096","1401893099","1401893090"],"photo_ids_order":["1401893090","1401893093","1401893094","1401893096","1401893099","1401893102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d90fa8e0a62353f92c8379d8b832947d.jpg","text":"TemporaryFile(/tmp/multipartBody4933537573893899338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186904011,"filename":"image_31122025_12_04_45_10881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e15ac56b45fe148751a541c5e1b3a37.jpg","text":"TemporaryFile(/tmp/multipartBody7418245611624662246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186904011,"filename":"image_31122025_12_04_15_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a770a3ac37c0e5ca18d95ce9b974b78d.jpg","text":"TemporaryFile(/tmp/multipartBody2151963231680255669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186904011,"filename":"image_31122025_12_04_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba91504d0f5e0af16898d57f21cd14e4.jpg","text":"TemporaryFile(/tmp/multipartBody3752404312377911859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186904011,"filename":"image_31122025_12_04_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b601fc78e44d8e0b4884bc61d20711b8.jpg","text":"TemporaryFile(/tmp/multipartBody7019963868427194817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186904011,"filename":"image_31122025_12_04_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/835aaa40a47bed7ad47e056db2d7314f.jpg","text":"TemporaryFile(/tmp/multipartBody8475967678497830070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186904011,"filename":"image_31122025_12_03_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893094","file1":"1401893093","file0":"1401893090","file4":"1401893099","file5":"1401893102","file3":"1401893096"},"map_files_photo_id_array":[{"photo_id":"1401893102","filename":"file5"},{"photo_id":"1401893094","filename":"file2"},{"photo_id":"1401893099","filename":"file4"},{"photo_id":"1401893093","filename":"file1"},{"photo_id":"1401893090","filename":"file0"},{"photo_id":"1401893096","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893102":["hashtag1","hashtag2"]},{"1401893094":["hashtag1","hashtag2"]},{"1401893093":["hashtag1","hashtag2"]},{"1401893096":["hashtag1","hashtag2"]},{"1401893099":["hashtag1","hashtag2"]},{"1401893090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893102, 1401893094, 1401893093, 1401893096, 1401893099, 1401893090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26504850387573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:14:42.281417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_45_2496.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_48_2620.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_52_3579.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_54_2710.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_57_2639.jpg', '/home/pi/Desktop/images/03112025/18/37/image_03112025_18_38_01_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_45_2496.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_48_2620.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_52_3579.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_54_2710.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_37_57_2639.jpg
/home/pi/Desktop/images/03112025/18/37/image_03112025_18_38_01_3657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893114","1401893116","1401893113","1401893115","1401893109","1401893112"],"photo_ids_order":["1401893109","1401893112","1401893113","1401893114","1401893115","1401893116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8afb202cddd197cb17922ac6e7e58ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7869342785612363219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186944156,"filename":"image_03112025_18_37_54_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46385149d83f41dab24e25c35fee1f77.jpg","text":"TemporaryFile(/tmp/multipartBody1942502856392959633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186944156,"filename":"image_03112025_18_38_01_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49d2ab97904fed6f19c14b81c108cf67.jpg","text":"TemporaryFile(/tmp/multipartBody2978981582078990931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186944156,"filename":"image_03112025_18_37_52_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0971926a6c522997df12285a9075806e.jpg","text":"TemporaryFile(/tmp/multipartBody4431582554222087547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186944156,"filename":"image_03112025_18_37_57_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd8ac17d1d99a914e2a904c9215e275b.jpg","text":"TemporaryFile(/tmp/multipartBody3475225000321001605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186944156,"filename":"image_03112025_18_37_45_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03ce9bbf8b3c5616803192ca50120100.jpg","text":"TemporaryFile(/tmp/multipartBody2343212714242810997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186944156,"filename":"image_03112025_18_37_48_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893113","file1":"1401893112","file0":"1401893109","file4":"1401893115","file5":"1401893116","file3":"1401893114"},"map_files_photo_id_array":[{"photo_id":"1401893116","filename":"file5"},{"photo_id":"1401893113","filename":"file2"},{"photo_id":"1401893115","filename":"file4"},{"photo_id":"1401893112","filename":"file1"},{"photo_id":"1401893109","filename":"file0"},{"photo_id":"1401893114","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401893114":["hashtag1","hashtag2"]},{"1401893116":["hashtag1","hashtag2"]},{"1401893113":["hashtag1","hashtag2"]},{"1401893115":["hashtag1","hashtag2"]},{"1401893109":["hashtag1","hashtag2"]},{"1401893112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401893114, 1401893116, 1401893113, 1401893115, 1401893109, 1401893112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75847101211548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:15:22.495898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_55_9719.jpg', '/home/pi/Desktop/images/31122025/12/04/image_31122025_12_05_04_9786.jpg', '/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_14_9602.jpg', '/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_25_10671.jpg', '/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_34_9855.jpg', '/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_44_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/04/image_31122025_12_04_55_9719.jpg
/home/pi/Desktop/images/31122025/12/04/image_31122025_12_05_04_9786.jpg
/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_14_9602.jpg
/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_25_10671.jpg
/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_34_9855.jpg
/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_44_9925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893126","1401893161","1401893143","1401893145","1401893130","1401893123"],"photo_ids_order":["1401893123","1401893126","1401893130","1401893143","1401893145","1401893161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc4dd42197e241c1c94d66947ea7d6c7.jpg","text":"TemporaryFile(/tmp/multipartBody806722336681017185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186983226,"filename":"image_31122025_12_05_04_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1f21d597660fa698869e0f9229b7f47.jpg","text":"TemporaryFile(/tmp/multipartBody9042002459046052253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186983226,"filename":"image_31122025_12_05_44_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59a1bda05420d406a11b1c733613caae.jpg","text":"TemporaryFile(/tmp/multipartBody2613799124107723569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186983226,"filename":"image_31122025_12_05_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/932657e6a3d27279911c9f6743b50e71.jpg","text":"TemporaryFile(/tmp/multipartBody6928972759012940331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186983226,"filename":"image_31122025_12_05_34_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4353d1c6a743438665c8d5783b343033.jpg","text":"TemporaryFile(/tmp/multipartBody2361554490477899964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186983226,"filename":"image_31122025_12_05_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b1db0f9a5461d5e473b1b9a5a6be18c.jpg","text":"TemporaryFile(/tmp/multipartBody7705847342002030445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767186983226,"filename":"image_31122025_12_04_55_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893130","file1":"1401893126","file0":"1401893123","file4":"1401893145","file5":"1401893161","file3":"1401893143"},"map_files_photo_id_array":[{"photo_id":"1401893161","filename":"file5"},{"photo_id":"1401893130","filename":"file2"},{"photo_id":"1401893145","filename":"file4"},{"photo_id":"1401893126","filename":"file1"},{"photo_id":"1401893123","filename":"file0"},{"photo_id":"1401893143","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893126":["hashtag1","hashtag2"]},{"1401893161":["hashtag1","hashtag2"]},{"1401893143":["hashtag1","hashtag2"]},{"1401893145":["hashtag1","hashtag2"]},{"1401893130":["hashtag1","hashtag2"]},{"1401893123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893126, 1401893161, 1401893143, 1401893145, 1401893130, 1401893123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.264885902404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:16:03.225836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_54_9673.jpg', '/home/pi/Desktop/images/31122025/12/05/image_31122025_12_06_05_10843.jpg', '/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_15_9948.jpg', '/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_25_9708.jpg', '/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_34_9617.jpg', '/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_45_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/05/image_31122025_12_05_54_9673.jpg
/home/pi/Desktop/images/31122025/12/05/image_31122025_12_06_05_10843.jpg
/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_15_9948.jpg
/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_25_9708.jpg
/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_34_9617.jpg
/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_45_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401893179","1401893181","1401893175","1401893178","1401893172","1401893174"],"photo_ids_order":["1401893172","1401893174","1401893175","1401893178","1401893179","1401893181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c525fac09972d510e6956f1ee21ccbd7.jpg","text":"TemporaryFile(/tmp/multipartBody8896315826208652870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187023963,"filename":"image_31122025_12_06_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ed82da06c8a0a66cb723b9f322a8189.jpg","text":"TemporaryFile(/tmp/multipartBody7613881148396974065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187023963,"filename":"image_31122025_12_06_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1031288a25372c779a062cdc10415c57.jpg","text":"TemporaryFile(/tmp/multipartBody2898543860226352558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187023963,"filename":"image_31122025_12_06_15_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d9da8c376964dc6b379ad0982e40ed2.jpg","text":"TemporaryFile(/tmp/multipartBody3912076811826076340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187023963,"filename":"image_31122025_12_06_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a902fe3d54c4070b08d0b62294d2179a.jpg","text":"TemporaryFile(/tmp/multipartBody7146218408159230717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187023963,"filename":"image_31122025_12_05_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da71e546338e8d2694d4e3b2075395d8.jpg","text":"TemporaryFile(/tmp/multipartBody8106159472388965803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187023963,"filename":"image_31122025_12_06_05_10843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893175","file1":"1401893174","file0":"1401893172","file4":"1401893179","file5":"1401893181","file3":"1401893178"},"map_files_photo_id_array":[{"photo_id":"1401893181","filename":"file5"},{"photo_id":"1401893175","filename":"file2"},{"photo_id":"1401893179","filename":"file4"},{"photo_id":"1401893174","filename":"file1"},{"photo_id":"1401893172","filename":"file0"},{"photo_id":"1401893178","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893179":["hashtag1","hashtag2"]},{"1401893181":["hashtag1","hashtag2"]},{"1401893175":["hashtag1","hashtag2"]},{"1401893178":["hashtag1","hashtag2"]},{"1401893172":["hashtag1","hashtag2"]},{"1401893174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893179, 1401893181, 1401893175, 1401893178, 1401893172, 1401893174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27405905723572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:17:03.059380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_55_9798.jpg', '/home/pi/Desktop/images/31122025/12/06/image_31122025_12_07_04_9646.jpg', '/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_14_9814.jpg', '/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_25_10677.jpg', '/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_35_9784.jpg', '/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_44_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/06/image_31122025_12_06_55_9798.jpg
/home/pi/Desktop/images/31122025/12/06/image_31122025_12_07_04_9646.jpg
/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_14_9814.jpg
/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_25_10677.jpg
/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_35_9784.jpg
/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_44_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893413","1401893394","1401893382","1401893379","1401893358","1401893384"],"photo_ids_order":["1401893358","1401893379","1401893382","1401893384","1401893394","1401893413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3807b4c2a09beb5e68c551deeac41d5.jpg","text":"TemporaryFile(/tmp/multipartBody4457176287058202565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187083901,"filename":"image_31122025_12_07_44_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9740a690a3bf418f0dc5665936582dd.jpg","text":"TemporaryFile(/tmp/multipartBody124641000927411998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187083901,"filename":"image_31122025_12_07_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b23eaa3aa4db45387f358a4ebfe55ef.jpg","text":"TemporaryFile(/tmp/multipartBody6984301550191443158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187083901,"filename":"image_31122025_12_07_14_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/625248fdddc5114bcc0ccfcb6ee4be7d.jpg","text":"TemporaryFile(/tmp/multipartBody2504008109905252649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187083901,"filename":"image_31122025_12_07_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c25aecf2905a1cdbb68056caf0e9953c.jpg","text":"TemporaryFile(/tmp/multipartBody7841900105780972934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187083901,"filename":"image_31122025_12_06_55_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5153b2e3a8bc49cb4a4cbd1269fd53c.jpg","text":"TemporaryFile(/tmp/multipartBody854306199725221062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187083901,"filename":"image_31122025_12_07_25_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893382","file1":"1401893379","file0":"1401893358","file4":"1401893394","file5":"1401893413","file3":"1401893384"},"map_files_photo_id_array":[{"photo_id":"1401893413","filename":"file5"},{"photo_id":"1401893382","filename":"file2"},{"photo_id":"1401893394","filename":"file4"},{"photo_id":"1401893379","filename":"file1"},{"photo_id":"1401893358","filename":"file0"},{"photo_id":"1401893384","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893413":["hashtag1","hashtag2"]},{"1401893394":["hashtag1","hashtag2"]},{"1401893382":["hashtag1","hashtag2"]},{"1401893379":["hashtag1","hashtag2"]},{"1401893358":["hashtag1","hashtag2"]},{"1401893384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893413, 1401893394, 1401893382, 1401893379, 1401893358, 1401893384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.398744344711304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:17:42.292632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_03_2521.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_07_3538.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_09_2638.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_12_2608.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_16_3601.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_18_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_03_2521.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_07_3538.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_09_2638.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_12_2608.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_16_3601.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_18_2796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893423","1401893434","1401893422","1401893469","1401893505","1401893420"],"photo_ids_order":["1401893420","1401893422","1401893423","1401893434","1401893469","1401893505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58822d68eaba7afee7d80d59ffb3136f.jpg","text":"TemporaryFile(/tmp/multipartBody1939750753185603002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187124195,"filename":"image_03112025_18_38_09_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec75a4a4cda51e463d1192abfc9c0f69.jpg","text":"TemporaryFile(/tmp/multipartBody3677533930141617683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187124195,"filename":"image_03112025_18_38_12_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f6c182fd90aa1799941dd5bc31b16c2.jpg","text":"TemporaryFile(/tmp/multipartBody7190472190867363633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187124195,"filename":"image_03112025_18_38_07_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7c05104b0f4d8ad245c9e79dfe5c55b.jpg","text":"TemporaryFile(/tmp/multipartBody470295315225384960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187124195,"filename":"image_03112025_18_38_16_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5287293d5403e0eb27cc1deee5b3c0d.jpg","text":"TemporaryFile(/tmp/multipartBody2697193294558919479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187124195,"filename":"image_03112025_18_38_18_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8460b35735eba1d02671040c1fa06a1c.jpg","text":"TemporaryFile(/tmp/multipartBody8522460407465823852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187124195,"filename":"image_03112025_18_38_03_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893423","file1":"1401893422","file0":"1401893420","file4":"1401893469","file5":"1401893505","file3":"1401893434"},"map_files_photo_id_array":[{"photo_id":"1401893505","filename":"file5"},{"photo_id":"1401893423","filename":"file2"},{"photo_id":"1401893469","filename":"file4"},{"photo_id":"1401893422","filename":"file1"},{"photo_id":"1401893420","filename":"file0"},{"photo_id":"1401893434","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401893423":["hashtag1","hashtag2"]},{"1401893434":["hashtag1","hashtag2"]},{"1401893422":["hashtag1","hashtag2"]},{"1401893469":["hashtag1","hashtag2"]},{"1401893505":["hashtag1","hashtag2"]},{"1401893420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401893423, 1401893434, 1401893422, 1401893469, 1401893505, 1401893420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02092003822327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:18:22.594854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_54_9890.jpg', '/home/pi/Desktop/images/31122025/12/07/image_31122025_12_08_04_9775.jpg', '/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_15_10790.jpg', '/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_25_9770.jpg', '/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_34_9751.jpg', '/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/07/image_31122025_12_07_54_9890.jpg
/home/pi/Desktop/images/31122025/12/07/image_31122025_12_08_04_9775.jpg
/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_15_10790.jpg
/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_25_9770.jpg
/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_34_9751.jpg
/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_44_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893557","1401893553","1401893562","1401893559","1401893550","1401893555"],"photo_ids_order":["1401893550","1401893553","1401893555","1401893557","1401893559","1401893562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f30607bf9d78b49109f412f02b80ac6.jpg","text":"TemporaryFile(/tmp/multipartBody6026573562471333917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187163322,"filename":"image_31122025_12_08_25_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c68c8ca70ba8b5162b0a5d432f857e3.jpg","text":"TemporaryFile(/tmp/multipartBody3743006850465214332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187163322,"filename":"image_31122025_12_08_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47d5f2e3a6ffe42004d89000cd7fbbe0.jpg","text":"TemporaryFile(/tmp/multipartBody5063264907713805008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187163322,"filename":"image_31122025_12_08_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9acf4a23fcc8d346f0224c705176091d.jpg","text":"TemporaryFile(/tmp/multipartBody1790377341565035908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187163322,"filename":"image_31122025_12_08_34_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5b1a83c4e04a84b3e9df7749b611905.jpg","text":"TemporaryFile(/tmp/multipartBody770509508736656643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187163322,"filename":"image_31122025_12_07_54_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26914ff01d400a345a641373e41b4a1a.jpg","text":"TemporaryFile(/tmp/multipartBody6196014458363161912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187163322,"filename":"image_31122025_12_08_15_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893555","file1":"1401893553","file0":"1401893550","file4":"1401893559","file5":"1401893562","file3":"1401893557"},"map_files_photo_id_array":[{"photo_id":"1401893562","filename":"file5"},{"photo_id":"1401893555","filename":"file2"},{"photo_id":"1401893559","filename":"file4"},{"photo_id":"1401893553","filename":"file1"},{"photo_id":"1401893550","filename":"file0"},{"photo_id":"1401893557","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893557":["hashtag1","hashtag2"]},{"1401893553":["hashtag1","hashtag2"]},{"1401893562":["hashtag1","hashtag2"]},{"1401893559":["hashtag1","hashtag2"]},{"1401893550":["hashtag1","hashtag2"]},{"1401893555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893557, 1401893553, 1401893562, 1401893559, 1401893550, 1401893555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86288380622864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:19:03.622646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_54_9816.jpg', '/home/pi/Desktop/images/31122025/12/08/image_31122025_12_09_05_10628.jpg', '/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_15_9957.jpg', '/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_24_9849.jpg', '/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_34_9777.jpg', '/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_45_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/08/image_31122025_12_08_54_9816.jpg
/home/pi/Desktop/images/31122025/12/08/image_31122025_12_09_05_10628.jpg
/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_15_9957.jpg
/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_24_9849.jpg
/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_34_9777.jpg
/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_45_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893572","1401893647","1401893721","1401893610","1401893681","1401893570"],"photo_ids_order":["1401893570","1401893572","1401893610","1401893647","1401893681","1401893721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/391beab76aa146c5ac6bc5885d6020f9.jpg","text":"TemporaryFile(/tmp/multipartBody3632650958869801584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187204517,"filename":"image_31122025_12_09_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04a4fcec1edcea69c8bf60b81eb5f96a.jpg","text":"TemporaryFile(/tmp/multipartBody1393454920338640118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187204517,"filename":"image_31122025_12_09_24_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb0557da95017251c43776beccaa9816.jpg","text":"TemporaryFile(/tmp/multipartBody343256394029841951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187204517,"filename":"image_31122025_12_09_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8543b4224ccb3fbb42755b02388d5ecb.jpg","text":"TemporaryFile(/tmp/multipartBody110243360296212627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187204517,"filename":"image_31122025_12_09_15_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4aa75b774fa4eb96999c631f4bfaa540.jpg","text":"TemporaryFile(/tmp/multipartBody798149217641732679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187204517,"filename":"image_31122025_12_09_34_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b01625daeeb88833f7debb2063aadacb.jpg","text":"TemporaryFile(/tmp/multipartBody5952404612554371714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187204517,"filename":"image_31122025_12_08_54_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893610","file1":"1401893572","file0":"1401893570","file4":"1401893681","file5":"1401893721","file3":"1401893647"},"map_files_photo_id_array":[{"photo_id":"1401893721","filename":"file5"},{"photo_id":"1401893610","filename":"file2"},{"photo_id":"1401893681","filename":"file4"},{"photo_id":"1401893572","filename":"file1"},{"photo_id":"1401893570","filename":"file0"},{"photo_id":"1401893647","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893572":["hashtag1","hashtag2"]},{"1401893647":["hashtag1","hashtag2"]},{"1401893721":["hashtag1","hashtag2"]},{"1401893610":["hashtag1","hashtag2"]},{"1401893681":["hashtag1","hashtag2"]},{"1401893570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893572, 1401893647, 1401893721, 1401893610, 1401893681, 1401893570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.518909215927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:19:42.730518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_21_2596.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_25_3557.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_27_2642.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_31_3609.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_36_2766.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_39_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_21_2596.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_25_3557.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_27_2642.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_31_3609.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_36_2766.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_39_2908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893849","1401893851","1401893845","1401893841","1401893855","1401893852"],"photo_ids_order":["1401893841","1401893845","1401893849","1401893851","1401893852","1401893855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce5ef6e54fb5e26f61370f06d2cba37b.jpg","text":"TemporaryFile(/tmp/multipartBody3661433716072904207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187244679,"filename":"image_03112025_18_38_27_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a596f646c8617cfb1521d585cae5e8df.jpg","text":"TemporaryFile(/tmp/multipartBody1894381101807785112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187244679,"filename":"image_03112025_18_38_31_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de6691fc779fff159d3f3aad2609a6a5.jpg","text":"TemporaryFile(/tmp/multipartBody5931662656034866403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187244679,"filename":"image_03112025_18_38_25_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db6a0224284b9d3d66454a357d9fd6c1.jpg","text":"TemporaryFile(/tmp/multipartBody7038052848562833486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187244679,"filename":"image_03112025_18_38_21_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00d18c143232e924842a61923d0fa4ca.jpg","text":"TemporaryFile(/tmp/multipartBody4664201855198264846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187244679,"filename":"image_03112025_18_38_39_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/127f41587b6db41dd3625f99dab0bcee.jpg","text":"TemporaryFile(/tmp/multipartBody6430878947623229549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187244679,"filename":"image_03112025_18_38_36_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893849","file1":"1401893845","file0":"1401893841","file4":"1401893852","file5":"1401893855","file3":"1401893851"},"map_files_photo_id_array":[{"photo_id":"1401893855","filename":"file5"},{"photo_id":"1401893849","filename":"file2"},{"photo_id":"1401893852","filename":"file4"},{"photo_id":"1401893845","filename":"file1"},{"photo_id":"1401893841","filename":"file0"},{"photo_id":"1401893851","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401893849":["hashtag1","hashtag2"]},{"1401893851":["hashtag1","hashtag2"]},{"1401893845":["hashtag1","hashtag2"]},{"1401893841":["hashtag1","hashtag2"]},{"1401893855":["hashtag1","hashtag2"]},{"1401893852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401893849, 1401893851, 1401893845, 1401893841, 1401893855, 1401893852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.066086292266846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:20:21.841420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_55_9783.jpg', '/home/pi/Desktop/images/31122025/12/09/image_31122025_12_10_04_9719.jpg', '/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_14_9741.jpg', '/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_24_9825.jpg', '/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_35_10768.jpg', '/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_44_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/09/image_31122025_12_09_55_9783.jpg
/home/pi/Desktop/images/31122025/12/09/image_31122025_12_10_04_9719.jpg
/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_14_9741.jpg
/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_24_9825.jpg
/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_35_10768.jpg
/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_44_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893872","1401893866","1401893860","1401893874","1401893868","1401893870"],"photo_ids_order":["1401893860","1401893866","1401893868","1401893870","1401893872","1401893874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86fd5e0d519ee6c7c7e95718d63d40a1.jpg","text":"TemporaryFile(/tmp/multipartBody8123063760210952674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187282526,"filename":"image_31122025_12_10_35_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbfb45ab5a0b9b6f635a36d6c10d9cd2.jpg","text":"TemporaryFile(/tmp/multipartBody3439884463893695344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187282526,"filename":"image_31122025_12_10_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b22c7e31e7d9e3de7da174bf2ba99ff.jpg","text":"TemporaryFile(/tmp/multipartBody7874220906314360241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187282526,"filename":"image_31122025_12_09_55_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c9daa49e457b54a3269cffc6bb570ee.jpg","text":"TemporaryFile(/tmp/multipartBody8655821502365902425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187282526,"filename":"image_31122025_12_10_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3804eb9cb73a2d63e67223903c628aea.jpg","text":"TemporaryFile(/tmp/multipartBody6928666065432488448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187282526,"filename":"image_31122025_12_10_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07c784036374ba7ca6f4c69f59479ccb.jpg","text":"TemporaryFile(/tmp/multipartBody7265327946401067771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187282526,"filename":"image_31122025_12_10_24_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893868","file1":"1401893866","file0":"1401893860","file4":"1401893872","file5":"1401893874","file3":"1401893870"},"map_files_photo_id_array":[{"photo_id":"1401893874","filename":"file5"},{"photo_id":"1401893868","filename":"file2"},{"photo_id":"1401893872","filename":"file4"},{"photo_id":"1401893866","filename":"file1"},{"photo_id":"1401893860","filename":"file0"},{"photo_id":"1401893870","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893872":["hashtag1","hashtag2"]},{"1401893866":["hashtag1","hashtag2"]},{"1401893860":["hashtag1","hashtag2"]},{"1401893874":["hashtag1","hashtag2"]},{"1401893868":["hashtag1","hashtag2"]},{"1401893870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893872, 1401893866, 1401893860, 1401893874, 1401893868, 1401893870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.96022439002991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:21:12.105249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_43_3679.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_45_2603.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_49_3435.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_52_2808.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_54_2578.jpg', '/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_58_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_43_3679.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_45_2603.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_49_3435.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_52_2808.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_54_2578.jpg
/home/pi/Desktop/images/03112025/18/38/image_03112025_18_38_58_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893890","1401893884","1401893880","1401893886","1401893888","1401893882"],"photo_ids_order":["1401893880","1401893882","1401893884","1401893886","1401893888","1401893890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b71b50aef70edd6fe05b99522243ff65.jpg","text":"TemporaryFile(/tmp/multipartBody2657197863028709192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187333932,"filename":"image_03112025_18_38_58_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17a21f291c182c740f1522852ffb61d3.jpg","text":"TemporaryFile(/tmp/multipartBody403820082027216369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187333932,"filename":"image_03112025_18_38_49_3435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94eb67cfffc69e9000e482ca4cdf9943.jpg","text":"TemporaryFile(/tmp/multipartBody6596582723440714959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187333932,"filename":"image_03112025_18_38_43_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43cd8f091e89f287d8382ff480ed4a81.jpg","text":"TemporaryFile(/tmp/multipartBody1694556323872903756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187333932,"filename":"image_03112025_18_38_52_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5ea82a80f31bb7a9d6202ff9c484b88.jpg","text":"TemporaryFile(/tmp/multipartBody897229019479820438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187333932,"filename":"image_03112025_18_38_54_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e82529f7a64b6761050b84d0e2b854a.jpg","text":"TemporaryFile(/tmp/multipartBody9049155688714591469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187333932,"filename":"image_03112025_18_38_45_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893884","file1":"1401893882","file0":"1401893880","file4":"1401893888","file5":"1401893890","file3":"1401893886"},"map_files_photo_id_array":[{"photo_id":"1401893890","filename":"file5"},{"photo_id":"1401893884","filename":"file2"},{"photo_id":"1401893888","filename":"file4"},{"photo_id":"1401893882","filename":"file1"},{"photo_id":"1401893880","filename":"file0"},{"photo_id":"1401893886","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401893890":["hashtag1","hashtag2"]},{"1401893884":["hashtag1","hashtag2"]},{"1401893880":["hashtag1","hashtag2"]},{"1401893886":["hashtag1","hashtag2"]},{"1401893888":["hashtag1","hashtag2"]},{"1401893882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401893890, 1401893884, 1401893880, 1401893886, 1401893888, 1401893882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93420934677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:22:02.818079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_54_9877.jpg', '/home/pi/Desktop/images/31122025/12/10/image_31122025_12_11_04_9789.jpg', '/home/pi/Desktop/images/31122025/12/11/image_31122025_12_11_15_10692.jpg', '/home/pi/Desktop/images/31122025/12/11/image_31122025_12_11_34_9732.jpg', '/home/pi/Desktop/images/31122025/12/11/image_31122025_12_11_44_9746.jpg', '/home/pi/Desktop/images/31122025/12/11/image_31122025_12_11_55_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/10/image_31122025_12_10_54_9877.jpg
/home/pi/Desktop/images/31122025/12/10/image_31122025_12_11_04_9789.jpg
/home/pi/Desktop/images/31122025/12/11/image_31122025_12_11_15_10692.jpg
/home/pi/Desktop/images/31122025/12/11/image_31122025_12_11_34_9732.jpg
/home/pi/Desktop/images/31122025/12/11/image_31122025_12_11_44_9746.jpg
/home/pi/Desktop/images/31122025/12/11/image_31122025_12_11_55_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893906","1401893896","1401893899","1401893903","1401893895","1401893901"],"photo_ids_order":["1401893895","1401893896","1401893899","1401893901","1401893903","1401893906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d0717d448a69dcc0dbbc478b75753d5.jpg","text":"TemporaryFile(/tmp/multipartBody5625974134669275696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187383577,"filename":"image_31122025_12_11_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae9c47810a5b260388883d0d6522ce0c.jpg","text":"TemporaryFile(/tmp/multipartBody6357619089027749399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187383577,"filename":"image_31122025_12_11_04_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/857088bd58dde345b202749edcc5c648.jpg","text":"TemporaryFile(/tmp/multipartBody6707403861419795900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187383577,"filename":"image_31122025_12_11_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34e113957d7b70b5d5ae658f6e5e7229.jpg","text":"TemporaryFile(/tmp/multipartBody5191799493128868355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187383577,"filename":"image_31122025_12_11_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/641711d227d57a1807e497faedc2a598.jpg","text":"TemporaryFile(/tmp/multipartBody7716576562505784948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187383577,"filename":"image_31122025_12_10_54_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a331d48af6eacdfa0ba3bc8e29ceabd0.jpg","text":"TemporaryFile(/tmp/multipartBody8367295991384139408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187383577,"filename":"image_31122025_12_11_34_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893899","file1":"1401893896","file0":"1401893895","file4":"1401893903","file5":"1401893906","file3":"1401893901"},"map_files_photo_id_array":[{"photo_id":"1401893906","filename":"file5"},{"photo_id":"1401893899","filename":"file2"},{"photo_id":"1401893903","filename":"file4"},{"photo_id":"1401893896","filename":"file1"},{"photo_id":"1401893895","filename":"file0"},{"photo_id":"1401893901","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893906":["hashtag1","hashtag2"]},{"1401893896":["hashtag1","hashtag2"]},{"1401893899":["hashtag1","hashtag2"]},{"1401893903":["hashtag1","hashtag2"]},{"1401893895":["hashtag1","hashtag2"]},{"1401893901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893906, 1401893896, 1401893899, 1401893903, 1401893895, 1401893901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61966109275818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:22:42.262033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_01_2870.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_04_2797.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_06_2514.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_10_3596.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_12_2589.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_15_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_01_2870.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_04_2797.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_06_2514.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_10_3596.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_12_2589.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_15_2854.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7416770458221436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:23:03.201272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/11/image_31122025_12_12_04_9771.jpg', '/home/pi/Desktop/images/31122025/12/12/image_31122025_12_12_14_9875.jpg', '/home/pi/Desktop/images/31122025/12/12/image_31122025_12_12_25_10454.jpg', '/home/pi/Desktop/images/31122025/12/12/image_31122025_12_12_54_9937.jpg', '/home/pi/Desktop/images/31122025/12/12/image_31122025_12_13_05_10683.jpg', '/home/pi/Desktop/images/31122025/12/13/image_31122025_12_13_15_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/11/image_31122025_12_12_04_9771.jpg
/home/pi/Desktop/images/31122025/12/12/image_31122025_12_12_14_9875.jpg
/home/pi/Desktop/images/31122025/12/12/image_31122025_12_12_25_10454.jpg
/home/pi/Desktop/images/31122025/12/12/image_31122025_12_12_54_9937.jpg
/home/pi/Desktop/images/31122025/12/12/image_31122025_12_13_05_10683.jpg
/home/pi/Desktop/images/31122025/12/13/image_31122025_12_13_15_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893927","1401893935","1401893929","1401893938","1401893931","1401893925"],"photo_ids_order":["1401893925","1401893927","1401893929","1401893931","1401893935","1401893938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0a549ad0babde061dbdbbc9a958d56a.jpg","text":"TemporaryFile(/tmp/multipartBody6416478629120746732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187444013,"filename":"image_31122025_12_12_14_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5db6d89c2ad876ed94e8e505b7bc373.jpg","text":"TemporaryFile(/tmp/multipartBody3516876447288494451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187444013,"filename":"image_31122025_12_13_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa6667f1223e767c76f5b7ee6eaf7d0c.jpg","text":"TemporaryFile(/tmp/multipartBody4380058012645967005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187444013,"filename":"image_31122025_12_12_25_10454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/198cb14a4a93ccc9c3a88ff3a9e8b1de.jpg","text":"TemporaryFile(/tmp/multipartBody3987786492108633456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187444013,"filename":"image_31122025_12_13_15_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05ad85eea3878ecd4b0f4b6bdd174cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4634984688231510080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187444013,"filename":"image_31122025_12_12_54_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47c6e653c6e3e3687f338d5afaf4cb42.jpg","text":"TemporaryFile(/tmp/multipartBody8254302251918457498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187444013,"filename":"image_31122025_12_12_04_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893929","file1":"1401893927","file0":"1401893925","file4":"1401893935","file5":"1401893938","file3":"1401893931"},"map_files_photo_id_array":[{"photo_id":"1401893938","filename":"file5"},{"photo_id":"1401893929","filename":"file2"},{"photo_id":"1401893935","filename":"file4"},{"photo_id":"1401893927","filename":"file1"},{"photo_id":"1401893925","filename":"file0"},{"photo_id":"1401893931","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893927":["hashtag1","hashtag2"]},{"1401893935":["hashtag1","hashtag2"]},{"1401893929":["hashtag1","hashtag2"]},{"1401893938":["hashtag1","hashtag2"]},{"1401893931":["hashtag1","hashtag2"]},{"1401893925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893927, 1401893935, 1401893929, 1401893938, 1401893931, 1401893925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.611361265182495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:23:42.711701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_01_2870.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_04_2797.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_06_2514.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_10_3596.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_12_2589.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_15_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_01_2870.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_04_2797.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_06_2514.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_10_3596.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_12_2589.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_15_2854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893953","1401893947","1401893956","1401893955","1401893954","1401893951"],"photo_ids_order":["1401893947","1401893951","1401893953","1401893954","1401893955","1401893956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4961df541a8b3f71e49e4e5da8efc278.jpg","text":"TemporaryFile(/tmp/multipartBody7393925244477623532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187484549,"filename":"image_03112025_18_39_06_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25ea7a34d534be8a6a56d9319b4264d0.jpg","text":"TemporaryFile(/tmp/multipartBody8431859968677626349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187484549,"filename":"image_03112025_18_39_01_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e2a787549619796244978d82ad952b7.jpg","text":"TemporaryFile(/tmp/multipartBody5475798723481773176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187484549,"filename":"image_03112025_18_39_15_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/226c2a48dd2e8029d4d433457ac8b3b3.jpg","text":"TemporaryFile(/tmp/multipartBody8316668772359388225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187484549,"filename":"image_03112025_18_39_12_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f72b9499ff0f3c692f189bb36e8d554e.jpg","text":"TemporaryFile(/tmp/multipartBody4294855527595501833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187484549,"filename":"image_03112025_18_39_10_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf040ce3bd1ab25d129b6c6b050385c8.jpg","text":"TemporaryFile(/tmp/multipartBody7527535501203477596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187484549,"filename":"image_03112025_18_39_04_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893953","file1":"1401893951","file0":"1401893947","file4":"1401893955","file5":"1401893956","file3":"1401893954"},"map_files_photo_id_array":[{"photo_id":"1401893956","filename":"file5"},{"photo_id":"1401893953","filename":"file2"},{"photo_id":"1401893955","filename":"file4"},{"photo_id":"1401893951","filename":"file1"},{"photo_id":"1401893947","filename":"file0"},{"photo_id":"1401893954","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401893953":["hashtag1","hashtag2"]},{"1401893947":["hashtag1","hashtag2"]},{"1401893956":["hashtag1","hashtag2"]},{"1401893955":["hashtag1","hashtag2"]},{"1401893954":["hashtag1","hashtag2"]},{"1401893951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401893953, 1401893947, 1401893956, 1401893955, 1401893954, 1401893951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.566744804382324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:24:21.883804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/13/image_31122025_12_13_24_9689.jpg', '/home/pi/Desktop/images/31122025/12/13/image_31122025_12_13_34_9691.jpg', '/home/pi/Desktop/images/31122025/12/13/image_31122025_12_13_54_9629.jpg', '/home/pi/Desktop/images/31122025/12/13/image_31122025_12_14_04_9646.jpg', '/home/pi/Desktop/images/31122025/12/14/image_31122025_12_14_24_9599.jpg', '/home/pi/Desktop/images/31122025/12/14/image_31122025_12_14_34_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/13/image_31122025_12_13_24_9689.jpg
/home/pi/Desktop/images/31122025/12/13/image_31122025_12_13_34_9691.jpg
/home/pi/Desktop/images/31122025/12/13/image_31122025_12_13_54_9629.jpg
/home/pi/Desktop/images/31122025/12/13/image_31122025_12_14_04_9646.jpg
/home/pi/Desktop/images/31122025/12/14/image_31122025_12_14_24_9599.jpg
/home/pi/Desktop/images/31122025/12/14/image_31122025_12_14_34_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401893980","1401893968","1401893962","1401893970","1401893964","1401893966"],"photo_ids_order":["1401893962","1401893964","1401893966","1401893968","1401893970","1401893980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f5b047dd0103a2b910fd13b30921a19.jpg","text":"TemporaryFile(/tmp/multipartBody4262823389881841579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187522621,"filename":"image_31122025_12_14_34_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c60896aa41c44089166b485f14425f2.jpg","text":"TemporaryFile(/tmp/multipartBody3705946404851847001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187522621,"filename":"image_31122025_12_14_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b54f6069f521bbe32c150749417779b.jpg","text":"TemporaryFile(/tmp/multipartBody4160952163589536403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187522621,"filename":"image_31122025_12_13_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52336b48798fdfe524431f3587bcd5d9.jpg","text":"TemporaryFile(/tmp/multipartBody3234652084532296544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187522621,"filename":"image_31122025_12_14_24_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/136019ba8a9f7e5007929e0496e1d763.jpg","text":"TemporaryFile(/tmp/multipartBody895012769738899860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187522621,"filename":"image_31122025_12_13_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd5abf3e525392bb3161d53145e67a97.jpg","text":"TemporaryFile(/tmp/multipartBody2339544079742227505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187522621,"filename":"image_31122025_12_13_54_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401893966","file1":"1401893964","file0":"1401893962","file4":"1401893970","file5":"1401893980","file3":"1401893968"},"map_files_photo_id_array":[{"photo_id":"1401893980","filename":"file5"},{"photo_id":"1401893966","filename":"file2"},{"photo_id":"1401893970","filename":"file4"},{"photo_id":"1401893964","filename":"file1"},{"photo_id":"1401893962","filename":"file0"},{"photo_id":"1401893968","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401893980":["hashtag1","hashtag2"]},{"1401893968":["hashtag1","hashtag2"]},{"1401893962":["hashtag1","hashtag2"]},{"1401893970":["hashtag1","hashtag2"]},{"1401893964":["hashtag1","hashtag2"]},{"1401893966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401893980, 1401893968, 1401893962, 1401893970, 1401893964, 1401893966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.214850425720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:25:02.834174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/14/image_31122025_12_14_45_10733.jpg', '/home/pi/Desktop/images/31122025/12/14/image_31122025_12_14_55_9678.jpg', '/home/pi/Desktop/images/31122025/12/14/image_31122025_12_15_04_9718.jpg', '/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_14_9863.jpg', '/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_25_10794.jpg', '/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_35_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/14/image_31122025_12_14_45_10733.jpg
/home/pi/Desktop/images/31122025/12/14/image_31122025_12_14_55_9678.jpg
/home/pi/Desktop/images/31122025/12/14/image_31122025_12_15_04_9718.jpg
/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_14_9863.jpg
/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_25_10794.jpg
/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_35_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894070","1401894073","1401894040","1401894080","1401894083","1401894076"],"photo_ids_order":["1401894040","1401894070","1401894073","1401894076","1401894080","1401894083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22c274696707bd4e32ab2d22357d2423.jpg","text":"TemporaryFile(/tmp/multipartBody6904807706330541332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187563654,"filename":"image_31122025_12_14_55_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fbb75b6dfd411fe21b3fc266142b466.jpg","text":"TemporaryFile(/tmp/multipartBody3942098630939056300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187563654,"filename":"image_31122025_12_15_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c42aad073ca424c0a9a940554cd51bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2518361228215788996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187563654,"filename":"image_31122025_12_14_45_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2b26428d6504689065233a49b4b849d.jpg","text":"TemporaryFile(/tmp/multipartBody506335904814374276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187563654,"filename":"image_31122025_12_15_25_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9924cbba8ea98d1bea5433ec740a67fe.jpg","text":"TemporaryFile(/tmp/multipartBody8122990905979516050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187563654,"filename":"image_31122025_12_15_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be0192c40a5cb7f8ecfbc9714c353ca2.jpg","text":"TemporaryFile(/tmp/multipartBody5842156115802424574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187563654,"filename":"image_31122025_12_15_14_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894073","file1":"1401894070","file0":"1401894040","file4":"1401894080","file5":"1401894083","file3":"1401894076"},"map_files_photo_id_array":[{"photo_id":"1401894083","filename":"file5"},{"photo_id":"1401894073","filename":"file2"},{"photo_id":"1401894080","filename":"file4"},{"photo_id":"1401894070","filename":"file1"},{"photo_id":"1401894040","filename":"file0"},{"photo_id":"1401894076","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894070":["hashtag1","hashtag2"]},{"1401894073":["hashtag1","hashtag2"]},{"1401894040":["hashtag1","hashtag2"]},{"1401894080":["hashtag1","hashtag2"]},{"1401894083":["hashtag1","hashtag2"]},{"1401894076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894070, 1401894073, 1401894040, 1401894080, 1401894083, 1401894076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05871891975403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:25:42.187973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_19_3578.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_21_2578.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_24_2631.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_27_3564.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_30_2640.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_39_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_19_3578.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_21_2578.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_24_2631.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_27_3564.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_30_2640.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_39_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894091","1401894088","1401894090","1401894092","1401894089","1401894094"],"photo_ids_order":["1401894088","1401894089","1401894090","1401894091","1401894092","1401894094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/750f2b076f16db8b2f3a85331a7cf877.jpg","text":"TemporaryFile(/tmp/multipartBody8122236145051445444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187604147,"filename":"image_03112025_18_39_27_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/794fb2c250c20a54832647dd43be9dfa.jpg","text":"TemporaryFile(/tmp/multipartBody4736007449420162642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187604147,"filename":"image_03112025_18_39_19_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/226346f917e3f135d21bfe086d3f4077.jpg","text":"TemporaryFile(/tmp/multipartBody5919043040928433272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187604147,"filename":"image_03112025_18_39_24_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d66c69978e8ec87d5ca236cf2f313485.jpg","text":"TemporaryFile(/tmp/multipartBody8483434102705210552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187604147,"filename":"image_03112025_18_39_30_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffd6235e4465862e1a3f2e7698176898.jpg","text":"TemporaryFile(/tmp/multipartBody4446673515979007514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187604147,"filename":"image_03112025_18_39_21_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4f17cd59dad9e1ec609e7e5c65fd334.jpg","text":"TemporaryFile(/tmp/multipartBody3072352169462251218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187604147,"filename":"image_03112025_18_39_39_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894090","file1":"1401894089","file0":"1401894088","file4":"1401894092","file5":"1401894094","file3":"1401894091"},"map_files_photo_id_array":[{"photo_id":"1401894094","filename":"file5"},{"photo_id":"1401894090","filename":"file2"},{"photo_id":"1401894092","filename":"file4"},{"photo_id":"1401894089","filename":"file1"},{"photo_id":"1401894088","filename":"file0"},{"photo_id":"1401894091","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894091":["hashtag1","hashtag2"]},{"1401894088":["hashtag1","hashtag2"]},{"1401894090":["hashtag1","hashtag2"]},{"1401894092":["hashtag1","hashtag2"]},{"1401894089":["hashtag1","hashtag2"]},{"1401894094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894091, 1401894088, 1401894090, 1401894092, 1401894089, 1401894094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.102580547332764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:26:22.408551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_44_9808.jpg', '/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_54_9808.jpg', '/home/pi/Desktop/images/31122025/12/15/image_31122025_12_16_04_9747.jpg', '/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_15_10616.jpg', '/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_24_9632.jpg', '/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_34_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_44_9808.jpg
/home/pi/Desktop/images/31122025/12/15/image_31122025_12_15_54_9808.jpg
/home/pi/Desktop/images/31122025/12/15/image_31122025_12_16_04_9747.jpg
/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_15_10616.jpg
/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_24_9632.jpg
/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_34_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894101","1401894115","1401894103","1401894111","1401894105","1401894107"],"photo_ids_order":["1401894101","1401894103","1401894105","1401894107","1401894111","1401894115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/694cc01939f68c0a47bbb68133a6addb.jpg","text":"TemporaryFile(/tmp/multipartBody4395104302239453491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187643142,"filename":"image_31122025_12_15_44_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a8ad79b95a3482f982e8ae35cb545b0.jpg","text":"TemporaryFile(/tmp/multipartBody5502628730004755669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187643142,"filename":"image_31122025_12_16_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31ff0e82bb85ff96125bf91b00a0190d.jpg","text":"TemporaryFile(/tmp/multipartBody7792218149179799547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187643142,"filename":"image_31122025_12_15_54_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c744ee99c431e7d0feb8f886a4d8aa8.jpg","text":"TemporaryFile(/tmp/multipartBody6686983288742610915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187643142,"filename":"image_31122025_12_16_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3422ce3727f8d3466bc5295b47bff759.jpg","text":"TemporaryFile(/tmp/multipartBody3432304889585792885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187643142,"filename":"image_31122025_12_16_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e29eb61ae51ab7a353706973f925d3db.jpg","text":"TemporaryFile(/tmp/multipartBody6133913890111569732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187643142,"filename":"image_31122025_12_16_15_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894105","file1":"1401894103","file0":"1401894101","file4":"1401894111","file5":"1401894115","file3":"1401894107"},"map_files_photo_id_array":[{"photo_id":"1401894115","filename":"file5"},{"photo_id":"1401894105","filename":"file2"},{"photo_id":"1401894111","filename":"file4"},{"photo_id":"1401894103","filename":"file1"},{"photo_id":"1401894101","filename":"file0"},{"photo_id":"1401894107","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894101":["hashtag1","hashtag2"]},{"1401894115":["hashtag1","hashtag2"]},{"1401894103":["hashtag1","hashtag2"]},{"1401894111":["hashtag1","hashtag2"]},{"1401894105":["hashtag1","hashtag2"]},{"1401894107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894101, 1401894115, 1401894103, 1401894111, 1401894105, 1401894107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69943404197693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:27:03.101147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_45_10736.jpg', '/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_54_9673.jpg', '/home/pi/Desktop/images/31122025/12/16/image_31122025_12_17_04_9660.jpg', '/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_15_10690.jpg', '/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_24_9706.jpg', '/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_35_10152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_45_10736.jpg
/home/pi/Desktop/images/31122025/12/16/image_31122025_12_16_54_9673.jpg
/home/pi/Desktop/images/31122025/12/16/image_31122025_12_17_04_9660.jpg
/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_15_10690.jpg
/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_24_9706.jpg
/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_35_10152.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894127","1401894118","1401894129","1401894120","1401894122","1401894131"],"photo_ids_order":["1401894118","1401894120","1401894122","1401894127","1401894129","1401894131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6faf46c46566b519d6e1cfe40d4ebe30.jpg","text":"TemporaryFile(/tmp/multipartBody2350817878619811520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187686487,"filename":"image_31122025_12_17_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/746c320805e7a234743e8067eacc92b1.jpg","text":"TemporaryFile(/tmp/multipartBody2119398462644539918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187686487,"filename":"image_31122025_12_16_45_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9186e4b992fe5ab1ba5a228bcb796b4a.jpg","text":"TemporaryFile(/tmp/multipartBody3705000112125132335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187686487,"filename":"image_31122025_12_17_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5945fc11f0ce3fbcaf1c827675fe2ddb.jpg","text":"TemporaryFile(/tmp/multipartBody7851262043334815968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187686487,"filename":"image_31122025_12_16_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bd7df806e411e9cc3515c6b270a14b1.jpg","text":"TemporaryFile(/tmp/multipartBody1051913619330520169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187686487,"filename":"image_31122025_12_17_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc4fd67da76d34f162686ef6f9262eed.jpg","text":"TemporaryFile(/tmp/multipartBody5536244494014714074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187686487,"filename":"image_31122025_12_17_35_10152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894122","file1":"1401894120","file0":"1401894118","file4":"1401894129","file5":"1401894131","file3":"1401894127"},"map_files_photo_id_array":[{"photo_id":"1401894131","filename":"file5"},{"photo_id":"1401894122","filename":"file2"},{"photo_id":"1401894129","filename":"file4"},{"photo_id":"1401894120","filename":"file1"},{"photo_id":"1401894118","filename":"file0"},{"photo_id":"1401894127","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894127":["hashtag1","hashtag2"]},{"1401894118":["hashtag1","hashtag2"]},{"1401894129":["hashtag1","hashtag2"]},{"1401894120":["hashtag1","hashtag2"]},{"1401894122":["hashtag1","hashtag2"]},{"1401894131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894127, 1401894118, 1401894129, 1401894120, 1401894122, 1401894131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.224830865859985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:28:03.128997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_44_9783.jpg', '/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_54_9643.jpg', '/home/pi/Desktop/images/31122025/12/17/image_31122025_12_18_04_9916.jpg', '/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_15_10789.jpg', '/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_25_9758.jpg', '/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_34_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_44_9783.jpg
/home/pi/Desktop/images/31122025/12/17/image_31122025_12_17_54_9643.jpg
/home/pi/Desktop/images/31122025/12/17/image_31122025_12_18_04_9916.jpg
/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_15_10789.jpg
/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_25_9758.jpg
/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_34_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894142","1401894136","1401894144","1401894138","1401894147","1401894140"],"photo_ids_order":["1401894136","1401894138","1401894140","1401894142","1401894144","1401894147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afaf0c474095f318ea86e87c5aee6e68.jpg","text":"TemporaryFile(/tmp/multipartBody8973793954148730816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187743852,"filename":"image_31122025_12_18_15_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce990e543d439396f77d87e482bb9f1c.jpg","text":"TemporaryFile(/tmp/multipartBody5255289321942467049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187743852,"filename":"image_31122025_12_17_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4adc376e447d92bbc59e232f9028f61b.jpg","text":"TemporaryFile(/tmp/multipartBody2906067982473883928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187743852,"filename":"image_31122025_12_18_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50afe7dee779fd76121ad8b907705828.jpg","text":"TemporaryFile(/tmp/multipartBody6138140592513423432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187743852,"filename":"image_31122025_12_17_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5998d206402c38140e6eeaa7b68ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody9086669767845418500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187743852,"filename":"image_31122025_12_18_34_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6666fdfa17598f8aecae3fbc4b3d4269.jpg","text":"TemporaryFile(/tmp/multipartBody8799577595770468128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187743852,"filename":"image_31122025_12_18_04_9916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894140","file1":"1401894138","file0":"1401894136","file4":"1401894144","file5":"1401894147","file3":"1401894142"},"map_files_photo_id_array":[{"photo_id":"1401894147","filename":"file5"},{"photo_id":"1401894140","filename":"file2"},{"photo_id":"1401894144","filename":"file4"},{"photo_id":"1401894138","filename":"file1"},{"photo_id":"1401894136","filename":"file0"},{"photo_id":"1401894142","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894142":["hashtag1","hashtag2"]},{"1401894136":["hashtag1","hashtag2"]},{"1401894144":["hashtag1","hashtag2"]},{"1401894138":["hashtag1","hashtag2"]},{"1401894147":["hashtag1","hashtag2"]},{"1401894140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894142, 1401894136, 1401894144, 1401894138, 1401894147, 1401894140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32219481468201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:28:42.650826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_43_3640.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_45_2650.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_48_2548.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_52_3831.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_57_2653.jpg', '/home/pi/Desktop/images/03112025/18/39/image_03112025_18_40_00_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_43_3640.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_45_2650.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_48_2548.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_52_3831.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_39_57_2653.jpg
/home/pi/Desktop/images/03112025/18/39/image_03112025_18_40_00_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894157","1401894166","1401894154","1401894159","1401894176","1401894158"],"photo_ids_order":["1401894154","1401894157","1401894158","1401894159","1401894166","1401894176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/660a381838b40ca928dc821b9acafc80.jpg","text":"TemporaryFile(/tmp/multipartBody6678936810088859690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187784510,"filename":"image_03112025_18_39_45_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/829d5ef55b1e0371ac9494c6ae298c19.jpg","text":"TemporaryFile(/tmp/multipartBody5378453129121567169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187784510,"filename":"image_03112025_18_39_57_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/730799d23feaa1f17e3637040205e587.jpg","text":"TemporaryFile(/tmp/multipartBody3172230436957471842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187784510,"filename":"image_03112025_18_39_43_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc00dc2291866862514920b85ea6468b.jpg","text":"TemporaryFile(/tmp/multipartBody7313549150566364504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187784510,"filename":"image_03112025_18_39_52_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11128138c5042e4c55b875a7b98bd0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2997496757649867829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187784510,"filename":"image_03112025_18_40_00_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b06a2da0d4bdde33affb8ea129705898.jpg","text":"TemporaryFile(/tmp/multipartBody6825128254162567328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187784510,"filename":"image_03112025_18_39_48_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894158","file1":"1401894157","file0":"1401894154","file4":"1401894166","file5":"1401894176","file3":"1401894159"},"map_files_photo_id_array":[{"photo_id":"1401894176","filename":"file5"},{"photo_id":"1401894158","filename":"file2"},{"photo_id":"1401894166","filename":"file4"},{"photo_id":"1401894157","filename":"file1"},{"photo_id":"1401894154","filename":"file0"},{"photo_id":"1401894159","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894157":["hashtag1","hashtag2"]},{"1401894166":["hashtag1","hashtag2"]},{"1401894154":["hashtag1","hashtag2"]},{"1401894159":["hashtag1","hashtag2"]},{"1401894176":["hashtag1","hashtag2"]},{"1401894158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894157, 1401894166, 1401894154, 1401894159, 1401894176, 1401894158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38850808143616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:29:22.123331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_45_10730.jpg', '/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_55_9937.jpg', '/home/pi/Desktop/images/31122025/12/18/image_31122025_12_19_04_9678.jpg', '/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_14_10007.jpg', '/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_24_9839.jpg', '/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_34_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_45_10730.jpg
/home/pi/Desktop/images/31122025/12/18/image_31122025_12_18_55_9937.jpg
/home/pi/Desktop/images/31122025/12/18/image_31122025_12_19_04_9678.jpg
/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_14_10007.jpg
/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_24_9839.jpg
/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_34_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894190","1401894202","1401894198","1401894204","1401894251","1401894196"],"photo_ids_order":["1401894190","1401894196","1401894198","1401894202","1401894204","1401894251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c31c881211fb3bc23af25b1b07732235.jpg","text":"TemporaryFile(/tmp/multipartBody2874614359832440089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187822856,"filename":"image_31122025_12_18_45_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98e18f7fbdb721cf952c0fcdf71104aa.jpg","text":"TemporaryFile(/tmp/multipartBody2736769349175943875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187822856,"filename":"image_31122025_12_19_14_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51bc861553d54e90e30bfb6748881e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6966170614191440258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187822856,"filename":"image_31122025_12_19_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f75a61052dba80a5d6cc67f66d1a868e.jpg","text":"TemporaryFile(/tmp/multipartBody6820682345589673534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187822856,"filename":"image_31122025_12_19_24_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b800b719fda304663c6d2722d2ba18aa.jpg","text":"TemporaryFile(/tmp/multipartBody127789167009775700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187822856,"filename":"image_31122025_12_19_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66e30cd663dbc3db46462bec15818baa.jpg","text":"TemporaryFile(/tmp/multipartBody988351078568532014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187822856,"filename":"image_31122025_12_18_55_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894198","file1":"1401894196","file0":"1401894190","file4":"1401894204","file5":"1401894251","file3":"1401894202"},"map_files_photo_id_array":[{"photo_id":"1401894251","filename":"file5"},{"photo_id":"1401894198","filename":"file2"},{"photo_id":"1401894204","filename":"file4"},{"photo_id":"1401894196","filename":"file1"},{"photo_id":"1401894190","filename":"file0"},{"photo_id":"1401894202","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894190":["hashtag1","hashtag2"]},{"1401894202":["hashtag1","hashtag2"]},{"1401894198":["hashtag1","hashtag2"]},{"1401894204":["hashtag1","hashtag2"]},{"1401894251":["hashtag1","hashtag2"]},{"1401894196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894190, 1401894202, 1401894198, 1401894204, 1401894251, 1401894196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.951390743255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:30:02.696515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_45_10764.jpg', '/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_55_9850.jpg', '/home/pi/Desktop/images/31122025/12/19/image_31122025_12_20_05_9891.jpg', '/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_14_9741.jpg', '/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_25_10625.jpg', '/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_35_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_45_10764.jpg
/home/pi/Desktop/images/31122025/12/19/image_31122025_12_19_55_9850.jpg
/home/pi/Desktop/images/31122025/12/19/image_31122025_12_20_05_9891.jpg
/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_14_9741.jpg
/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_25_10625.jpg
/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_35_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894316","1401894321","1401894324","1401894318","1401894312","1401894309"],"photo_ids_order":["1401894309","1401894312","1401894316","1401894318","1401894321","1401894324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c694fce318b3b2b821689c634e24b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4038967946286256801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187886019,"filename":"image_31122025_12_20_05_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c5d9f6d5c033a25a5e25228eaded970.jpg","text":"TemporaryFile(/tmp/multipartBody9091672436254227397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187886019,"filename":"image_31122025_12_20_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a88de55f0ecdbbb31c0fbabfbca0eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3065777806759452433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187886019,"filename":"image_31122025_12_20_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d250be8082bc85abd7ef6ba24c3c46e.jpg","text":"TemporaryFile(/tmp/multipartBody61695756216725881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187886019,"filename":"image_31122025_12_20_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/feb06b40accc1a1c0cdb32bd1500903f.jpg","text":"TemporaryFile(/tmp/multipartBody6130027919082979196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187886019,"filename":"image_31122025_12_19_55_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95a8156ac4c6af455769a95b0d08c1f3.jpg","text":"TemporaryFile(/tmp/multipartBody7478557024508084608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187886019,"filename":"image_31122025_12_19_45_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894316","file1":"1401894312","file0":"1401894309","file4":"1401894321","file5":"1401894324","file3":"1401894318"},"map_files_photo_id_array":[{"photo_id":"1401894324","filename":"file5"},{"photo_id":"1401894316","filename":"file2"},{"photo_id":"1401894321","filename":"file4"},{"photo_id":"1401894312","filename":"file1"},{"photo_id":"1401894309","filename":"file0"},{"photo_id":"1401894318","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894316":["hashtag1","hashtag2"]},{"1401894321":["hashtag1","hashtag2"]},{"1401894324":["hashtag1","hashtag2"]},{"1401894318":["hashtag1","hashtag2"]},{"1401894312":["hashtag1","hashtag2"]},{"1401894309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894316, 1401894321, 1401894324, 1401894318, 1401894312, 1401894309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.39534020423889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:31:12.503667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_03_3573.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_06_2788.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_09_2707.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_16_3754.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_18_2659.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_24_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_03_3573.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_06_2788.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_09_2707.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_16_3754.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_18_2659.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_24_2750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894337","1401894331","1401894334","1401894363","1401894357","1401894345"],"photo_ids_order":["1401894331","1401894334","1401894337","1401894345","1401894357","1401894363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f307ba306444623011a6b2b59399aa8.jpg","text":"TemporaryFile(/tmp/multipartBody6968064898513639456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187934317,"filename":"image_03112025_18_40_09_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a5f8ee008df44ff83e30507fc65bc7a.jpg","text":"TemporaryFile(/tmp/multipartBody5650510714964021710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187934317,"filename":"image_03112025_18_40_03_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38e90cd63408e20e34d85ec69dc5b6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6450432453102078272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187934317,"filename":"image_03112025_18_40_06_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f12c9a3167547978808b8626f32cd5f.jpg","text":"TemporaryFile(/tmp/multipartBody2726540291138724087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187934317,"filename":"image_03112025_18_40_24_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77dab665f578f93f781a8b52b251d876.jpg","text":"TemporaryFile(/tmp/multipartBody2296698467507886651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187934317,"filename":"image_03112025_18_40_18_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27a603f0b5448790a542f6edee29b42b.jpg","text":"TemporaryFile(/tmp/multipartBody6073206064116365591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187934317,"filename":"image_03112025_18_40_16_3754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894337","file1":"1401894334","file0":"1401894331","file4":"1401894357","file5":"1401894363","file3":"1401894345"},"map_files_photo_id_array":[{"photo_id":"1401894363","filename":"file5"},{"photo_id":"1401894337","filename":"file2"},{"photo_id":"1401894357","filename":"file4"},{"photo_id":"1401894334","filename":"file1"},{"photo_id":"1401894331","filename":"file0"},{"photo_id":"1401894345","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894337":["hashtag1","hashtag2"]},{"1401894331":["hashtag1","hashtag2"]},{"1401894334":["hashtag1","hashtag2"]},{"1401894363":["hashtag1","hashtag2"]},{"1401894357":["hashtag1","hashtag2"]},{"1401894345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894337, 1401894331, 1401894334, 1401894363, 1401894357, 1401894345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01450181007385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:32:03.217148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_44_9838.jpg', '/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_54_9695.jpg', '/home/pi/Desktop/images/31122025/12/20/image_31122025_12_21_04_9777.jpg', '/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_15_10851.jpg', '/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_25_9781.jpg', '/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_34_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_44_9838.jpg
/home/pi/Desktop/images/31122025/12/20/image_31122025_12_20_54_9695.jpg
/home/pi/Desktop/images/31122025/12/20/image_31122025_12_21_04_9777.jpg
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_15_10851.jpg
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_25_9781.jpg
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_34_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894376","1401894379","1401894370","1401894369","1401894368","1401894373"],"photo_ids_order":["1401894368","1401894369","1401894370","1401894373","1401894376","1401894379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c70d9095ebd4593743fe257f7f5067b7.jpg","text":"TemporaryFile(/tmp/multipartBody1109705162791443922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187984125,"filename":"image_31122025_12_21_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3aeb1abb3b9b3f52df4744e26b17308f.jpg","text":"TemporaryFile(/tmp/multipartBody517196350342365867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187984125,"filename":"image_31122025_12_21_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac88de7880e0e0f06c699cdfa75df230.jpg","text":"TemporaryFile(/tmp/multipartBody1556274311348973760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187984125,"filename":"image_31122025_12_21_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e44cbce2684f726d9d58902ace9800c2.jpg","text":"TemporaryFile(/tmp/multipartBody2171453448273244744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187984125,"filename":"image_31122025_12_20_54_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1f1ae4109d208d72fd7bd5583fb5c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3934596742252010721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187984125,"filename":"image_31122025_12_20_44_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f27735c7ea18b7cd58c075af2dbca54f.jpg","text":"TemporaryFile(/tmp/multipartBody3608224839878926976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767187984125,"filename":"image_31122025_12_21_15_10851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894370","file1":"1401894369","file0":"1401894368","file4":"1401894376","file5":"1401894379","file3":"1401894373"},"map_files_photo_id_array":[{"photo_id":"1401894379","filename":"file5"},{"photo_id":"1401894370","filename":"file2"},{"photo_id":"1401894376","filename":"file4"},{"photo_id":"1401894369","filename":"file1"},{"photo_id":"1401894368","filename":"file0"},{"photo_id":"1401894373","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894376":["hashtag1","hashtag2"]},{"1401894379":["hashtag1","hashtag2"]},{"1401894370":["hashtag1","hashtag2"]},{"1401894369":["hashtag1","hashtag2"]},{"1401894368":["hashtag1","hashtag2"]},{"1401894373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894376, 1401894379, 1401894370, 1401894369, 1401894368, 1401894373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21867632865906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:32:42.780414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_27_3606.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_30_2632.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_36_2656.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_39_2740.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_43_3570.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_45_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_27_3606.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_30_2632.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_36_2656.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_39_2740.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_43_3570.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_45_2527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894396","1401894395","1401894389","1401894398","1401894392","1401894394"],"photo_ids_order":["1401894389","1401894392","1401894394","1401894395","1401894396","1401894398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/049070310a6bbda69a0e73d35fb264c7.jpg","text":"TemporaryFile(/tmp/multipartBody2742685407372119471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188024749,"filename":"image_03112025_18_40_43_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c34631aad1ae59e4964f74d5006fc22.jpg","text":"TemporaryFile(/tmp/multipartBody4141316740550843971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188024749,"filename":"image_03112025_18_40_39_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75123af46189de3b3a3b0820a278bad3.jpg","text":"TemporaryFile(/tmp/multipartBody2298484650173157530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188024749,"filename":"image_03112025_18_40_27_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1eff95eb68f5f297a4d7fb863658d81c.jpg","text":"TemporaryFile(/tmp/multipartBody2838849989068122523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188024749,"filename":"image_03112025_18_40_45_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4dbecce5b24443419e1a0e539d0a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody6841619431370531636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188024749,"filename":"image_03112025_18_40_30_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84dd1f55af064ff3149993820490a8df.jpg","text":"TemporaryFile(/tmp/multipartBody7565724048088775214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188024749,"filename":"image_03112025_18_40_36_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894394","file1":"1401894392","file0":"1401894389","file4":"1401894396","file5":"1401894398","file3":"1401894395"},"map_files_photo_id_array":[{"photo_id":"1401894398","filename":"file5"},{"photo_id":"1401894394","filename":"file2"},{"photo_id":"1401894396","filename":"file4"},{"photo_id":"1401894392","filename":"file1"},{"photo_id":"1401894389","filename":"file0"},{"photo_id":"1401894395","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894396":["hashtag1","hashtag2"]},{"1401894395":["hashtag1","hashtag2"]},{"1401894389":["hashtag1","hashtag2"]},{"1401894398":["hashtag1","hashtag2"]},{"1401894392":["hashtag1","hashtag2"]},{"1401894394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894396, 1401894395, 1401894389, 1401894398, 1401894392, 1401894394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71525311470032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:33:22.006249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_44_9710.jpg', '/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_55_10644.jpg', '/home/pi/Desktop/images/31122025/12/21/image_31122025_12_22_04_9696.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_14_9714.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_25_10852.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_35_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_44_9710.jpg
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_55_10644.jpg
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_22_04_9696.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_14_9714.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_25_10852.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_35_9866.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.6282188892364502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:33:31.994242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_48_2626.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_54_2624.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_57_2710.jpg', '/home/pi/Desktop/images/03112025/18/40/image_03112025_18_41_00_3663.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_03_2674.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_06_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_48_2626.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_54_2624.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_40_57_2710.jpg
/home/pi/Desktop/images/03112025/18/40/image_03112025_18_41_00_3663.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_03_2674.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_06_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894415","1401894420","1401894423","1401894411","1401894431","1401894425"],"photo_ids_order":["1401894411","1401894415","1401894420","1401894423","1401894425","1401894431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/322e6c7a1f66bbee78de373785688dd3.jpg","text":"TemporaryFile(/tmp/multipartBody2611715507952566637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188073970,"filename":"image_03112025_18_40_54_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96dd82f135a1604b04ecf54f9281ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody2810296429754219374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188073970,"filename":"image_03112025_18_40_57_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0effcd5da2ab6b3887f0d0f0fd71d1b.jpg","text":"TemporaryFile(/tmp/multipartBody7258230839385758942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188073970,"filename":"image_03112025_18_41_00_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e3efcfd4bae80a17c1ff619fcb416fc.jpg","text":"TemporaryFile(/tmp/multipartBody99730873594846703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188073970,"filename":"image_03112025_18_40_48_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd0fa3c14fb2cf3903ca5607e6427f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4961336164865000276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188073970,"filename":"image_03112025_18_41_06_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59e9bb6ee0d00afb7b28fe00b4d88d02.jpg","text":"TemporaryFile(/tmp/multipartBody2908897675124624068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188073970,"filename":"image_03112025_18_41_03_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894420","file1":"1401894415","file0":"1401894411","file4":"1401894425","file5":"1401894431","file3":"1401894423"},"map_files_photo_id_array":[{"photo_id":"1401894431","filename":"file5"},{"photo_id":"1401894420","filename":"file2"},{"photo_id":"1401894425","filename":"file4"},{"photo_id":"1401894415","filename":"file1"},{"photo_id":"1401894411","filename":"file0"},{"photo_id":"1401894423","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894415":["hashtag1","hashtag2"]},{"1401894420":["hashtag1","hashtag2"]},{"1401894423":["hashtag1","hashtag2"]},{"1401894411":["hashtag1","hashtag2"]},{"1401894431":["hashtag1","hashtag2"]},{"1401894425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894415, 1401894420, 1401894423, 1401894411, 1401894431, 1401894425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.880183696746826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:34:12.115430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_09_3698.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_12_2546.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_15_2651.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_19_3841.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_21_2909.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_24_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_09_3698.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_12_2546.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_15_2651.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_19_3841.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_21_2909.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_24_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894442","1401894446","1401894449","1401894440","1401894434","1401894437"],"photo_ids_order":["1401894434","1401894437","1401894440","1401894442","1401894446","1401894449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad7a56e3b43c54e32607a2b8aa8373ac.jpg","text":"TemporaryFile(/tmp/multipartBody1198955478658085668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188114004,"filename":"image_03112025_18_41_19_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22864190e8d2c3458047ef99ff9666fe.jpg","text":"TemporaryFile(/tmp/multipartBody8659433214347651075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188114004,"filename":"image_03112025_18_41_21_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9bf611ed03d44753ebc7ce8f4b214ee.jpg","text":"TemporaryFile(/tmp/multipartBody8018635291535361058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188114004,"filename":"image_03112025_18_41_24_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60c09ba9a91efdc1bdeafb39c82b11ad.jpg","text":"TemporaryFile(/tmp/multipartBody3188586199091293905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188114004,"filename":"image_03112025_18_41_15_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eec6bd77403f98c6401e2691332fea31.jpg","text":"TemporaryFile(/tmp/multipartBody9205028731840385641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188114004,"filename":"image_03112025_18_41_09_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6781840f6f8a7f1e5b3b67c318f5bde6.jpg","text":"TemporaryFile(/tmp/multipartBody1821115399011205763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188114004,"filename":"image_03112025_18_41_12_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894440","file1":"1401894437","file0":"1401894434","file4":"1401894446","file5":"1401894449","file3":"1401894442"},"map_files_photo_id_array":[{"photo_id":"1401894449","filename":"file5"},{"photo_id":"1401894440","filename":"file2"},{"photo_id":"1401894446","filename":"file4"},{"photo_id":"1401894437","filename":"file1"},{"photo_id":"1401894434","filename":"file0"},{"photo_id":"1401894442","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894442":["hashtag1","hashtag2"]},{"1401894446":["hashtag1","hashtag2"]},{"1401894449":["hashtag1","hashtag2"]},{"1401894440":["hashtag1","hashtag2"]},{"1401894434":["hashtag1","hashtag2"]},{"1401894437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894442, 1401894446, 1401894449, 1401894440, 1401894434, 1401894437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05386543273926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:35:03.106918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_44_9710.jpg', '/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_55_10644.jpg', '/home/pi/Desktop/images/31122025/12/21/image_31122025_12_22_04_9696.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_14_9714.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_25_10852.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_35_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_44_9710.jpg
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_21_55_10644.jpg
/home/pi/Desktop/images/31122025/12/21/image_31122025_12_22_04_9696.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_14_9714.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_25_10852.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_35_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894471","1401894474","1401894462","1401894464","1401894458","1401894467"],"photo_ids_order":["1401894458","1401894462","1401894464","1401894467","1401894471","1401894474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc747d1a62fd66079ae045a38fa55092.jpg","text":"TemporaryFile(/tmp/multipartBody2891734903021415771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188163918,"filename":"image_31122025_12_22_25_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/900c3cc054416b5f06d75e420e411a59.jpg","text":"TemporaryFile(/tmp/multipartBody2796700071175354220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188163918,"filename":"image_31122025_12_22_35_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/954f00e10d33ef6ccd64440b3d49fdcc.jpg","text":"TemporaryFile(/tmp/multipartBody3818589338252032380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188163918,"filename":"image_31122025_12_21_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e67ae8e5bd503afdecc3d5ccc7eeeac0.jpg","text":"TemporaryFile(/tmp/multipartBody3088697608060119525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188163918,"filename":"image_31122025_12_22_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60b60d2fdcbff822ee065cc3ff2982aa.jpg","text":"TemporaryFile(/tmp/multipartBody8653777845887170748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188163918,"filename":"image_31122025_12_21_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/906f395dbdda56e2e62c947809f81291.jpg","text":"TemporaryFile(/tmp/multipartBody7967271124644552300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188163918,"filename":"image_31122025_12_22_14_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894464","file1":"1401894462","file0":"1401894458","file4":"1401894471","file5":"1401894474","file3":"1401894467"},"map_files_photo_id_array":[{"photo_id":"1401894474","filename":"file5"},{"photo_id":"1401894464","filename":"file2"},{"photo_id":"1401894471","filename":"file4"},{"photo_id":"1401894462","filename":"file1"},{"photo_id":"1401894458","filename":"file0"},{"photo_id":"1401894467","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894471":["hashtag1","hashtag2"]},{"1401894474":["hashtag1","hashtag2"]},{"1401894462":["hashtag1","hashtag2"]},{"1401894464":["hashtag1","hashtag2"]},{"1401894458":["hashtag1","hashtag2"]},{"1401894467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894471, 1401894474, 1401894462, 1401894464, 1401894458, 1401894467)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.543041467666626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:36:02.938481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_45_9726.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_54_9717.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_23_04_9948.jpg', '/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_14_9867.jpg', '/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_25_10756.jpg', '/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_45_9726.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_54_9717.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_23_04_9948.jpg
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_14_9867.jpg
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_25_10756.jpg
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_34_9609.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.6607558727264404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:36:12.409210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_27_2665.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_30_3607.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_33_2654.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_36_2660.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_39_3710.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_45_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_27_2665.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_30_3607.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_33_2654.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_36_2660.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_39_3710.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_45_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894489","1401894494","1401894497","1401894485","1401894500","1401894499"],"photo_ids_order":["1401894485","1401894489","1401894494","1401894497","1401894499","1401894500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a52476ec117cfd2143118cd45ae79b97.jpg","text":"TemporaryFile(/tmp/multipartBody5017903524016891749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188234249,"filename":"image_03112025_18_41_30_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef47a573c4b445bbc2278684ff907df5.jpg","text":"TemporaryFile(/tmp/multipartBody5393429580091852111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188234249,"filename":"image_03112025_18_41_33_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5f7cf0e13d9b30dc6d971c4cac5bed5.jpg","text":"TemporaryFile(/tmp/multipartBody7428674668756108603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188234249,"filename":"image_03112025_18_41_36_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c3d545ed0ace7f7b915f4f132e8f190.jpg","text":"TemporaryFile(/tmp/multipartBody5386618552329823507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188234249,"filename":"image_03112025_18_41_27_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66cea797203ad103cd3dd1afc156b579.jpg","text":"TemporaryFile(/tmp/multipartBody2461604420619603186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188234249,"filename":"image_03112025_18_41_45_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d64ffe01d17040c197216ba27be6283a.jpg","text":"TemporaryFile(/tmp/multipartBody4753571478955582067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188234249,"filename":"image_03112025_18_41_39_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894494","file1":"1401894489","file0":"1401894485","file4":"1401894499","file5":"1401894500","file3":"1401894497"},"map_files_photo_id_array":[{"photo_id":"1401894500","filename":"file5"},{"photo_id":"1401894494","filename":"file2"},{"photo_id":"1401894499","filename":"file4"},{"photo_id":"1401894489","filename":"file1"},{"photo_id":"1401894485","filename":"file0"},{"photo_id":"1401894497","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894489":["hashtag1","hashtag2"]},{"1401894494":["hashtag1","hashtag2"]},{"1401894497":["hashtag1","hashtag2"]},{"1401894485":["hashtag1","hashtag2"]},{"1401894500":["hashtag1","hashtag2"]},{"1401894499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894489, 1401894494, 1401894497, 1401894485, 1401894500, 1401894499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81076192855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:37:03.387489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_45_9726.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_54_9717.jpg', '/home/pi/Desktop/images/31122025/12/22/image_31122025_12_23_04_9948.jpg', '/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_14_9867.jpg', '/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_25_10756.jpg', '/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_45_9726.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_22_54_9717.jpg
/home/pi/Desktop/images/31122025/12/22/image_31122025_12_23_04_9948.jpg
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_14_9867.jpg
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_25_10756.jpg
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_34_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894535","1401894538","1401894532","1401894529","1401894525","1401894527"],"photo_ids_order":["1401894525","1401894527","1401894529","1401894532","1401894535","1401894538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28b2454043da33bd753dacd3a3e30725.jpg","text":"TemporaryFile(/tmp/multipartBody8187853341856203863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188284186,"filename":"image_31122025_12_23_25_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ed8d60650c76927a2b1a7b1239ed987.jpg","text":"TemporaryFile(/tmp/multipartBody3070459818122938515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188284186,"filename":"image_31122025_12_23_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0c0e10cb030064460ab1ab4292a7b9f.jpg","text":"TemporaryFile(/tmp/multipartBody1436058925768117943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188284186,"filename":"image_31122025_12_23_14_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09237c9fd2b36375145631dd5dbf86aa.jpg","text":"TemporaryFile(/tmp/multipartBody8267131090644202219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188284186,"filename":"image_31122025_12_23_04_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5760de8b31383995288f348a11e360ee.jpg","text":"TemporaryFile(/tmp/multipartBody5526575319735775075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188284186,"filename":"image_31122025_12_22_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da0939abeecbc70c158ab50ea1d9fb01.jpg","text":"TemporaryFile(/tmp/multipartBody5266819804195456750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188284186,"filename":"image_31122025_12_22_54_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894529","file1":"1401894527","file0":"1401894525","file4":"1401894535","file5":"1401894538","file3":"1401894532"},"map_files_photo_id_array":[{"photo_id":"1401894538","filename":"file5"},{"photo_id":"1401894529","filename":"file2"},{"photo_id":"1401894535","filename":"file4"},{"photo_id":"1401894527","filename":"file1"},{"photo_id":"1401894525","filename":"file0"},{"photo_id":"1401894532","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894535":["hashtag1","hashtag2"]},{"1401894538":["hashtag1","hashtag2"]},{"1401894532":["hashtag1","hashtag2"]},{"1401894529":["hashtag1","hashtag2"]},{"1401894525":["hashtag1","hashtag2"]},{"1401894527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894535, 1401894538, 1401894532, 1401894529, 1401894525, 1401894527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.036025524139404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:37:42.629662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_48_3676.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_51_2827.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_54_2591.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_57_2739.jpg', '/home/pi/Desktop/images/03112025/18/41/image_03112025_18_42_00_3682.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_03_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_48_3676.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_51_2827.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_54_2591.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_41_57_2739.jpg
/home/pi/Desktop/images/03112025/18/41/image_03112025_18_42_00_3682.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_03_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894553","1401894544","1401894552","1401894543","1401894551","1401894545"],"photo_ids_order":["1401894543","1401894544","1401894545","1401894551","1401894552","1401894553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f35b5f0fe7a976df94ea833134ebc52.jpg","text":"TemporaryFile(/tmp/multipartBody8037569197115329682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188324621,"filename":"image_03112025_18_42_03_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9f2d99c305e6dabda8d85a1921024cd.jpg","text":"TemporaryFile(/tmp/multipartBody5959384020456119975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188324621,"filename":"image_03112025_18_41_51_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9f96ba362ff3aaddcb15e09cfb5f755.jpg","text":"TemporaryFile(/tmp/multipartBody7823969844543161112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188324621,"filename":"image_03112025_18_42_00_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3924244ad13a915da8a69607147e03ed.jpg","text":"TemporaryFile(/tmp/multipartBody2938040508135754567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188324621,"filename":"image_03112025_18_41_48_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b75930bd4272b3700336d291067f44f5.jpg","text":"TemporaryFile(/tmp/multipartBody2171214997577748791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188324621,"filename":"image_03112025_18_41_57_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5b481838956dd3c5f49ef4b7d1cb9df.jpg","text":"TemporaryFile(/tmp/multipartBody1467973515242865763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188324621,"filename":"image_03112025_18_41_54_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894545","file1":"1401894544","file0":"1401894543","file4":"1401894552","file5":"1401894553","file3":"1401894551"},"map_files_photo_id_array":[{"photo_id":"1401894553","filename":"file5"},{"photo_id":"1401894545","filename":"file2"},{"photo_id":"1401894552","filename":"file4"},{"photo_id":"1401894544","filename":"file1"},{"photo_id":"1401894543","filename":"file0"},{"photo_id":"1401894551","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894553":["hashtag1","hashtag2"]},{"1401894544":["hashtag1","hashtag2"]},{"1401894552":["hashtag1","hashtag2"]},{"1401894543":["hashtag1","hashtag2"]},{"1401894551":["hashtag1","hashtag2"]},{"1401894545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894553, 1401894544, 1401894552, 1401894543, 1401894551, 1401894545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53871035575867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:38:22.799991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_44_9652.jpg', '/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_55_10823.jpg', '/home/pi/Desktop/images/31122025/12/23/image_31122025_12_24_05_9715.jpg', '/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_14_9804.jpg', '/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_24_9729.jpg', '/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_34_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_44_9652.jpg
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_23_55_10823.jpg
/home/pi/Desktop/images/31122025/12/23/image_31122025_12_24_05_9715.jpg
/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_14_9804.jpg
/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_24_9729.jpg
/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_34_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894570","1401894567","1401894561","1401894578","1401894563","1401894565"],"photo_ids_order":["1401894561","1401894563","1401894565","1401894567","1401894570","1401894578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dec8774f98d53630617072812c283c11.jpg","text":"TemporaryFile(/tmp/multipartBody4022698573289596811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188363535,"filename":"image_31122025_12_24_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e90d949746ef62ac7e2c80fde668deaf.jpg","text":"TemporaryFile(/tmp/multipartBody6756478384709966233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188363535,"filename":"image_31122025_12_24_14_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/634c82140e5d0ad551f00d44667295cb.jpg","text":"TemporaryFile(/tmp/multipartBody1878893948020627968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188363535,"filename":"image_31122025_12_23_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ade3577711ef7487353ccfb9c6e00ca.jpg","text":"TemporaryFile(/tmp/multipartBody6978584851163309495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188363535,"filename":"image_31122025_12_24_34_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0ad8236bcb7841400522e608c3afb73.jpg","text":"TemporaryFile(/tmp/multipartBody457501825431889170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188363535,"filename":"image_31122025_12_23_55_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eab6bd16d2e8b2763afe86109e5943c8.jpg","text":"TemporaryFile(/tmp/multipartBody6984376920103594542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188363535,"filename":"image_31122025_12_24_05_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894565","file1":"1401894563","file0":"1401894561","file4":"1401894570","file5":"1401894578","file3":"1401894567"},"map_files_photo_id_array":[{"photo_id":"1401894578","filename":"file5"},{"photo_id":"1401894565","filename":"file2"},{"photo_id":"1401894570","filename":"file4"},{"photo_id":"1401894563","filename":"file1"},{"photo_id":"1401894561","filename":"file0"},{"photo_id":"1401894567","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894570":["hashtag1","hashtag2"]},{"1401894567":["hashtag1","hashtag2"]},{"1401894561":["hashtag1","hashtag2"]},{"1401894578":["hashtag1","hashtag2"]},{"1401894563":["hashtag1","hashtag2"]},{"1401894565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894570, 1401894567, 1401894561, 1401894578, 1401894563, 1401894565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32486844062805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:39:02.875225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_45_10747.jpg', '/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_54_9707.jpg', '/home/pi/Desktop/images/31122025/12/24/image_31122025_12_25_04_9815.jpg', '/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_14_9834.jpg', '/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_25_10697.jpg', '/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_34_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_45_10747.jpg
/home/pi/Desktop/images/31122025/12/24/image_31122025_12_24_54_9707.jpg
/home/pi/Desktop/images/31122025/12/24/image_31122025_12_25_04_9815.jpg
/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_14_9834.jpg
/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_25_10697.jpg
/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_34_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894607","1401894600","1401894603","1401894596","1401894605","1401894598"],"photo_ids_order":["1401894596","1401894598","1401894600","1401894603","1401894605","1401894607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bd5b8a1515058fd80dbaf9f2577ecd9.jpg","text":"TemporaryFile(/tmp/multipartBody3328844657840455090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188403757,"filename":"image_31122025_12_25_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9670c6836162c061847c5dd673b3d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody2640762466756349685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188403757,"filename":"image_31122025_12_25_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6fd5736ebfd7c99822546505c22550c.jpg","text":"TemporaryFile(/tmp/multipartBody4845179793512037012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188403757,"filename":"image_31122025_12_25_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f68ef8cae42c458b1d4102589fd03e5.jpg","text":"TemporaryFile(/tmp/multipartBody1060751095099482458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188403757,"filename":"image_31122025_12_24_45_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d72f9c4922f5cf36aa0e068f7c899aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2575934943300125844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188403757,"filename":"image_31122025_12_25_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfb35ceea29cf2719f9e92287f7d3c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4332579189737257721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188403757,"filename":"image_31122025_12_24_54_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894600","file1":"1401894598","file0":"1401894596","file4":"1401894605","file5":"1401894607","file3":"1401894603"},"map_files_photo_id_array":[{"photo_id":"1401894607","filename":"file5"},{"photo_id":"1401894600","filename":"file2"},{"photo_id":"1401894605","filename":"file4"},{"photo_id":"1401894598","filename":"file1"},{"photo_id":"1401894596","filename":"file0"},{"photo_id":"1401894603","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894607":["hashtag1","hashtag2"]},{"1401894600":["hashtag1","hashtag2"]},{"1401894603":["hashtag1","hashtag2"]},{"1401894596":["hashtag1","hashtag2"]},{"1401894605":["hashtag1","hashtag2"]},{"1401894598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894607, 1401894600, 1401894603, 1401894596, 1401894605, 1401894598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26453113555908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:39:42.064089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_06_2682.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_09_3666.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_12_2764.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_21_3704.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_24_2674.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_27_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_06_2682.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_09_3666.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_12_2764.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_21_3704.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_24_2674.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_27_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894616","1401894613","1401894615","1401894618","1401894614","1401894617"],"photo_ids_order":["1401894613","1401894614","1401894615","1401894616","1401894617","1401894618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a1116c7182a2b22afef1b7b9462709d.jpg","text":"TemporaryFile(/tmp/multipartBody6313540977076666455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188444024,"filename":"image_03112025_18_42_21_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/099f4d0d44ca9a888066925f351a947d.jpg","text":"TemporaryFile(/tmp/multipartBody1903974752923412518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188444024,"filename":"image_03112025_18_42_06_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78c20428dd5ae9511588e2f584518623.jpg","text":"TemporaryFile(/tmp/multipartBody8230171666459445948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188444024,"filename":"image_03112025_18_42_12_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bf078eba01c8aec3b019aed9487b66c.jpg","text":"TemporaryFile(/tmp/multipartBody7521974450896479682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188444024,"filename":"image_03112025_18_42_27_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de3d75d7373ba7fd1819a84cd89edb22.jpg","text":"TemporaryFile(/tmp/multipartBody613907623060497028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188444024,"filename":"image_03112025_18_42_09_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fa45d598f3cf88f33947c01a38b4178.jpg","text":"TemporaryFile(/tmp/multipartBody6303966504474164382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188444024,"filename":"image_03112025_18_42_24_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894615","file1":"1401894614","file0":"1401894613","file4":"1401894617","file5":"1401894618","file3":"1401894616"},"map_files_photo_id_array":[{"photo_id":"1401894618","filename":"file5"},{"photo_id":"1401894615","filename":"file2"},{"photo_id":"1401894617","filename":"file4"},{"photo_id":"1401894614","filename":"file1"},{"photo_id":"1401894613","filename":"file0"},{"photo_id":"1401894616","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894616":["hashtag1","hashtag2"]},{"1401894613":["hashtag1","hashtag2"]},{"1401894615":["hashtag1","hashtag2"]},{"1401894618":["hashtag1","hashtag2"]},{"1401894614":["hashtag1","hashtag2"]},{"1401894617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894616, 1401894613, 1401894615, 1401894618, 1401894614, 1401894617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44725942611694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:40:22.294105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_44_9818.jpg', '/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_54_9698.jpg', '/home/pi/Desktop/images/31122025/12/25/image_31122025_12_26_05_10880.jpg', '/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_14_9637.jpg', '/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_24_9710.jpg', '/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_34_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_44_9818.jpg
/home/pi/Desktop/images/31122025/12/25/image_31122025_12_25_54_9698.jpg
/home/pi/Desktop/images/31122025/12/25/image_31122025_12_26_05_10880.jpg
/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_14_9637.jpg
/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_24_9710.jpg
/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_34_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894631","1401894625","1401894645","1401894642","1401894636","1401894629"],"photo_ids_order":["1401894625","1401894629","1401894631","1401894636","1401894642","1401894645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d5e85c7158358b321b58cdb4f2259d4.jpg","text":"TemporaryFile(/tmp/multipartBody4345047539952902888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188483015,"filename":"image_31122025_12_26_05_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e74319c68e30facf1ca9394a6d8428e.jpg","text":"TemporaryFile(/tmp/multipartBody7433166141520301627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188483015,"filename":"image_31122025_12_25_44_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efff34e9d9878652a8e48ff7e3da9fa5.jpg","text":"TemporaryFile(/tmp/multipartBody5489147358585246762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188483015,"filename":"image_31122025_12_26_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37102011ecc7cd8eedd9d3f5f29306f0.jpg","text":"TemporaryFile(/tmp/multipartBody7578620864186423167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188483015,"filename":"image_31122025_12_26_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b343bf5f2d773ce2572ea05de2a2d5d.jpg","text":"TemporaryFile(/tmp/multipartBody6795938484778258964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188483015,"filename":"image_31122025_12_26_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33c345d37b179e300f45c02885fa62de.jpg","text":"TemporaryFile(/tmp/multipartBody7312539171542515240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188483015,"filename":"image_31122025_12_25_54_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894631","file1":"1401894629","file0":"1401894625","file4":"1401894642","file5":"1401894645","file3":"1401894636"},"map_files_photo_id_array":[{"photo_id":"1401894645","filename":"file5"},{"photo_id":"1401894631","filename":"file2"},{"photo_id":"1401894642","filename":"file4"},{"photo_id":"1401894629","filename":"file1"},{"photo_id":"1401894625","filename":"file0"},{"photo_id":"1401894636","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894631":["hashtag1","hashtag2"]},{"1401894625":["hashtag1","hashtag2"]},{"1401894645":["hashtag1","hashtag2"]},{"1401894642":["hashtag1","hashtag2"]},{"1401894636":["hashtag1","hashtag2"]},{"1401894629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894631, 1401894625, 1401894645, 1401894642, 1401894636, 1401894629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33730721473694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:41:03.105811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_45_10921.jpg', '/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_55_9767.jpg', '/home/pi/Desktop/images/31122025/12/26/image_31122025_12_27_04_9754.jpg', '/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_14_9731.jpg', '/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_25_10642.jpg', '/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_34_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_45_10921.jpg
/home/pi/Desktop/images/31122025/12/26/image_31122025_12_26_55_9767.jpg
/home/pi/Desktop/images/31122025/12/26/image_31122025_12_27_04_9754.jpg
/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_14_9731.jpg
/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_25_10642.jpg
/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_34_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894660","1401894648","1401894656","1401894650","1401894647","1401894664"],"photo_ids_order":["1401894647","1401894648","1401894650","1401894656","1401894660","1401894664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cfcfc6c3fd9a94186b5b363c446f965.jpg","text":"TemporaryFile(/tmp/multipartBody9096250528364680141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188523919,"filename":"image_31122025_12_27_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c18b7ce94a261f7e1b55bbbbe3b6bc2.jpg","text":"TemporaryFile(/tmp/multipartBody3027906920695094493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188523919,"filename":"image_31122025_12_26_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47f8955c09ad3ad31ac4ec836b706e27.jpg","text":"TemporaryFile(/tmp/multipartBody2006710831408873173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188523919,"filename":"image_31122025_12_27_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af8c7dfd810ae85ca148715346e55ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4974288862078946920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188523919,"filename":"image_31122025_12_27_04_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/588d57a647e58b661e56b10ae997ab60.jpg","text":"TemporaryFile(/tmp/multipartBody1329528334290757568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188523919,"filename":"image_31122025_12_26_45_10921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c18a0936d45da0879d2e36fb91ec108b.jpg","text":"TemporaryFile(/tmp/multipartBody8750814368551301638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188523919,"filename":"image_31122025_12_27_34_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894650","file1":"1401894648","file0":"1401894647","file4":"1401894660","file5":"1401894664","file3":"1401894656"},"map_files_photo_id_array":[{"photo_id":"1401894664","filename":"file5"},{"photo_id":"1401894650","filename":"file2"},{"photo_id":"1401894660","filename":"file4"},{"photo_id":"1401894648","filename":"file1"},{"photo_id":"1401894647","filename":"file0"},{"photo_id":"1401894656","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894660":["hashtag1","hashtag2"]},{"1401894648":["hashtag1","hashtag2"]},{"1401894656":["hashtag1","hashtag2"]},{"1401894650":["hashtag1","hashtag2"]},{"1401894647":["hashtag1","hashtag2"]},{"1401894664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894660, 1401894648, 1401894656, 1401894650, 1401894647, 1401894664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599753856658936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:41:42.435459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_33_2801.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_36_2928.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_39_2617.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_42_3565.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_45_2550.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_48_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_33_2801.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_36_2928.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_39_2617.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_42_3565.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_45_2550.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_48_3701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894673","1401894676","1401894675","1401894678","1401894677","1401894679"],"photo_ids_order":["1401894673","1401894675","1401894676","1401894677","1401894678","1401894679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6643f26cc13f1f094ea1ae6a025da007.jpg","text":"TemporaryFile(/tmp/multipartBody3101593671239459514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188564324,"filename":"image_03112025_18_42_33_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/730adeebd33d88c8e69bd5c46ce0fc93.jpg","text":"TemporaryFile(/tmp/multipartBody1156968830051644186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188564324,"filename":"image_03112025_18_42_39_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d1ee431b394617b574e1b5ee09ecb59.jpg","text":"TemporaryFile(/tmp/multipartBody477014346373411805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188564324,"filename":"image_03112025_18_42_36_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ab05fbd9beb6f934deb7fcca91daf94.jpg","text":"TemporaryFile(/tmp/multipartBody8693269978721682230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188564324,"filename":"image_03112025_18_42_45_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0501e3c5d02758cc223db1683c76395.jpg","text":"TemporaryFile(/tmp/multipartBody4138066497251645277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188564324,"filename":"image_03112025_18_42_42_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a7b6345d4c5517969643c1806544477.jpg","text":"TemporaryFile(/tmp/multipartBody5113395689845159096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188564324,"filename":"image_03112025_18_42_48_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894676","file1":"1401894675","file0":"1401894673","file4":"1401894678","file5":"1401894679","file3":"1401894677"},"map_files_photo_id_array":[{"photo_id":"1401894679","filename":"file5"},{"photo_id":"1401894676","filename":"file2"},{"photo_id":"1401894678","filename":"file4"},{"photo_id":"1401894675","filename":"file1"},{"photo_id":"1401894673","filename":"file0"},{"photo_id":"1401894677","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894673":["hashtag1","hashtag2"]},{"1401894676":["hashtag1","hashtag2"]},{"1401894675":["hashtag1","hashtag2"]},{"1401894678":["hashtag1","hashtag2"]},{"1401894677":["hashtag1","hashtag2"]},{"1401894679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894673, 1401894676, 1401894675, 1401894678, 1401894677, 1401894679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91594982147217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:42:22.688892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_44_10063.jpg', '/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_54_9808.jpg', '/home/pi/Desktop/images/31122025/12/27/image_31122025_12_28_05_10581.jpg', '/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_15_10026.jpg', '/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_25_9836.jpg', '/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_34_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_44_10063.jpg
/home/pi/Desktop/images/31122025/12/27/image_31122025_12_27_54_9808.jpg
/home/pi/Desktop/images/31122025/12/27/image_31122025_12_28_05_10581.jpg
/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_15_10026.jpg
/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_25_9836.jpg
/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_34_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894690","1401894684","1401894687","1401894707","1401894697","1401894682"],"photo_ids_order":["1401894682","1401894684","1401894687","1401894690","1401894697","1401894707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb6e1f49531fdb4b9d069091f0f201ad.jpg","text":"TemporaryFile(/tmp/multipartBody7546493833638600951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188603413,"filename":"image_31122025_12_28_15_10026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ac262dd835001d49cdd69947c8e9509.jpg","text":"TemporaryFile(/tmp/multipartBody8008239180355815953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188603413,"filename":"image_31122025_12_27_54_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae401aff2efb76243ae440aba7947995.jpg","text":"TemporaryFile(/tmp/multipartBody8544806380771549942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188603413,"filename":"image_31122025_12_28_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8a422c9f856f341b074224ea40d0d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8768661361963523835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188603413,"filename":"image_31122025_12_28_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6ff2def46a16d0065b18c0c7ada267e.jpg","text":"TemporaryFile(/tmp/multipartBody1413245553843817980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188603413,"filename":"image_31122025_12_28_25_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f67bf5c1a7747abf231f092335352cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8609259426325228412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188603413,"filename":"image_31122025_12_27_44_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894687","file1":"1401894684","file0":"1401894682","file4":"1401894697","file5":"1401894707","file3":"1401894690"},"map_files_photo_id_array":[{"photo_id":"1401894707","filename":"file5"},{"photo_id":"1401894687","filename":"file2"},{"photo_id":"1401894697","filename":"file4"},{"photo_id":"1401894684","filename":"file1"},{"photo_id":"1401894682","filename":"file0"},{"photo_id":"1401894690","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894690":["hashtag1","hashtag2"]},{"1401894684":["hashtag1","hashtag2"]},{"1401894687":["hashtag1","hashtag2"]},{"1401894707":["hashtag1","hashtag2"]},{"1401894697":["hashtag1","hashtag2"]},{"1401894682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894690, 1401894684, 1401894687, 1401894707, 1401894697, 1401894682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50174880027771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:43:02.587499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_44_9936.jpg', '/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_54_9887.jpg', '/home/pi/Desktop/images/31122025/12/28/image_31122025_12_29_04_9891.jpg', '/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_14_9929.jpg', '/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_24_9911.jpg', '/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_35_10869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_44_9936.jpg
/home/pi/Desktop/images/31122025/12/28/image_31122025_12_28_54_9887.jpg
/home/pi/Desktop/images/31122025/12/28/image_31122025_12_29_04_9891.jpg
/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_14_9929.jpg
/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_24_9911.jpg
/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_35_10869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894733","1401894727","1401894730","1401894724","1401894729","1401894731"],"photo_ids_order":["1401894724","1401894727","1401894729","1401894730","1401894731","1401894733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1edfa85b43ecb1f7dce6d4edc9d4c13b.jpg","text":"TemporaryFile(/tmp/multipartBody275585320833400899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188643482,"filename":"image_31122025_12_29_35_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5894f556a49bcdcd469ccc7e545e344.jpg","text":"TemporaryFile(/tmp/multipartBody5123268881801145658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188643482,"filename":"image_31122025_12_28_54_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4dc7400019a0f0ce2f9969a49daf53f.jpg","text":"TemporaryFile(/tmp/multipartBody4298701554769072190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188643482,"filename":"image_31122025_12_29_14_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7908b320b0657a708824a94774d94aef.jpg","text":"TemporaryFile(/tmp/multipartBody8029721424396104764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188643482,"filename":"image_31122025_12_28_44_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/395d161bdacf748c395617649758108c.jpg","text":"TemporaryFile(/tmp/multipartBody5009978622726938499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188643482,"filename":"image_31122025_12_29_04_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c9eecd41d4e4ef2c44312b89cdc5e20.jpg","text":"TemporaryFile(/tmp/multipartBody8371925740521032338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188643482,"filename":"image_31122025_12_29_24_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894729","file1":"1401894727","file0":"1401894724","file4":"1401894731","file5":"1401894733","file3":"1401894730"},"map_files_photo_id_array":[{"photo_id":"1401894733","filename":"file5"},{"photo_id":"1401894729","filename":"file2"},{"photo_id":"1401894731","filename":"file4"},{"photo_id":"1401894727","filename":"file1"},{"photo_id":"1401894724","filename":"file0"},{"photo_id":"1401894730","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894733":["hashtag1","hashtag2"]},{"1401894727":["hashtag1","hashtag2"]},{"1401894730":["hashtag1","hashtag2"]},{"1401894724":["hashtag1","hashtag2"]},{"1401894729":["hashtag1","hashtag2"]},{"1401894731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894733, 1401894727, 1401894730, 1401894724, 1401894729, 1401894731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88550806045532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:43:41.868184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_51_2542.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_54_2605.jpg', '/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_57_3590.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_03_3582.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_06_2517.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_09_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_51_2542.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_54_2605.jpg
/home/pi/Desktop/images/03112025/18/42/image_03112025_18_42_57_3590.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_03_3582.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_06_2517.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_09_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894751","1401894754","1401894744","1401894753","1401894747","1401894749"],"photo_ids_order":["1401894744","1401894747","1401894749","1401894751","1401894753","1401894754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a39c2557682a4b6f8c64522d66f68666.jpg","text":"TemporaryFile(/tmp/multipartBody88148718801012793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188683838,"filename":"image_03112025_18_43_03_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cf7049137fc8657bd2de40e3158e3e2.jpg","text":"TemporaryFile(/tmp/multipartBody7929908777587201994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188683838,"filename":"image_03112025_18_43_09_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97d99171275864d9bae4bbf6d0d34569.jpg","text":"TemporaryFile(/tmp/multipartBody2420312378160867694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188683838,"filename":"image_03112025_18_42_51_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6921fe04ae2bd98a1f8b0880588d7c15.jpg","text":"TemporaryFile(/tmp/multipartBody4728530100418628114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188683838,"filename":"image_03112025_18_43_06_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7061a98eede1235116a1ee6d3d619f18.jpg","text":"TemporaryFile(/tmp/multipartBody4807593093516672614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188683838,"filename":"image_03112025_18_42_54_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/076a7485b751512ed775853def7eae2d.jpg","text":"TemporaryFile(/tmp/multipartBody7589370501863044119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188683838,"filename":"image_03112025_18_42_57_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894749","file1":"1401894747","file0":"1401894744","file4":"1401894753","file5":"1401894754","file3":"1401894751"},"map_files_photo_id_array":[{"photo_id":"1401894754","filename":"file5"},{"photo_id":"1401894749","filename":"file2"},{"photo_id":"1401894753","filename":"file4"},{"photo_id":"1401894747","filename":"file1"},{"photo_id":"1401894744","filename":"file0"},{"photo_id":"1401894751","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894751":["hashtag1","hashtag2"]},{"1401894754":["hashtag1","hashtag2"]},{"1401894744":["hashtag1","hashtag2"]},{"1401894753":["hashtag1","hashtag2"]},{"1401894747":["hashtag1","hashtag2"]},{"1401894749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894751, 1401894754, 1401894744, 1401894753, 1401894747, 1401894749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15243196487427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:44:21.991461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_45_9856.jpg', '/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_55_9942.jpg', '/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_15_10051.jpg', '/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_26_10759.jpg', '/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_35_9789.jpg', '/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_45_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_45_9856.jpg
/home/pi/Desktop/images/31122025/12/29/image_31122025_12_29_55_9942.jpg
/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_15_10051.jpg
/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_26_10759.jpg
/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_35_9789.jpg
/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_45_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894772","1401894766","1401894775","1401894760","1401894768","1401894763"],"photo_ids_order":["1401894760","1401894763","1401894766","1401894768","1401894772","1401894775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0023d440b7c028838549eb46ffce451b.jpg","text":"TemporaryFile(/tmp/multipartBody1317000393178942513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188722729,"filename":"image_31122025_12_30_35_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7afa94d0c817b77c8e9a12a9fc4d6e7f.jpg","text":"TemporaryFile(/tmp/multipartBody5654948181560525377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188722729,"filename":"image_31122025_12_30_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91b15df0e772d161012cb90551ee0ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2766502920092788811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188722729,"filename":"image_31122025_12_30_45_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e693e999c6b6d33ac31f80e6ab3759b6.jpg","text":"TemporaryFile(/tmp/multipartBody9172770856755461836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188722729,"filename":"image_31122025_12_29_45_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bd6ef70cba9c2b9218cc0d8358a2564.jpg","text":"TemporaryFile(/tmp/multipartBody8923141264294181618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188722729,"filename":"image_31122025_12_30_26_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e16535083ec83f6596af3867635da8e5.jpg","text":"TemporaryFile(/tmp/multipartBody8803294150693867987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188722729,"filename":"image_31122025_12_29_55_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894766","file1":"1401894763","file0":"1401894760","file4":"1401894772","file5":"1401894775","file3":"1401894768"},"map_files_photo_id_array":[{"photo_id":"1401894775","filename":"file5"},{"photo_id":"1401894766","filename":"file2"},{"photo_id":"1401894772","filename":"file4"},{"photo_id":"1401894763","filename":"file1"},{"photo_id":"1401894760","filename":"file0"},{"photo_id":"1401894768","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894772":["hashtag1","hashtag2"]},{"1401894766":["hashtag1","hashtag2"]},{"1401894775":["hashtag1","hashtag2"]},{"1401894760":["hashtag1","hashtag2"]},{"1401894768":["hashtag1","hashtag2"]},{"1401894763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894772, 1401894766, 1401894775, 1401894760, 1401894768, 1401894763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28461766242981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:45:03.105826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_55_9604.jpg', '/home/pi/Desktop/images/31122025/12/30/image_31122025_12_31_05_10642.jpg', '/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_15_9643.jpg', '/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_26_10679.jpg', '/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_36_9837.jpg', '/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_45_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/30/image_31122025_12_30_55_9604.jpg
/home/pi/Desktop/images/31122025/12/30/image_31122025_12_31_05_10642.jpg
/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_15_9643.jpg
/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_26_10679.jpg
/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_36_9837.jpg
/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_45_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894793","1401894787","1401894795","1401894789","1401894780","1401894791"],"photo_ids_order":["1401894780","1401894787","1401894789","1401894791","1401894793","1401894795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ffe165d08143771fbb0861c9ef54d8b.jpg","text":"TemporaryFile(/tmp/multipartBody4780109977716950037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188763890,"filename":"image_31122025_12_31_36_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1701383b88e0ff4d72fb99bf2dd55fbc.jpg","text":"TemporaryFile(/tmp/multipartBody569659930050603424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188763890,"filename":"image_31122025_12_31_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bdec335d3db3040aaa68988f04e8dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2838213346737038217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188763890,"filename":"image_31122025_12_31_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/843a5de190b1ca3af961183d7329d7b7.jpg","text":"TemporaryFile(/tmp/multipartBody2668981853131078695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188763890,"filename":"image_31122025_12_31_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a66382b8ab395d65c733f1334e1e2416.jpg","text":"TemporaryFile(/tmp/multipartBody5558979728280741857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188763890,"filename":"image_31122025_12_30_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da104b9949a8b04b394a928da924ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody6992243337653055508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188763890,"filename":"image_31122025_12_31_26_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894789","file1":"1401894787","file0":"1401894780","file4":"1401894793","file5":"1401894795","file3":"1401894791"},"map_files_photo_id_array":[{"photo_id":"1401894795","filename":"file5"},{"photo_id":"1401894789","filename":"file2"},{"photo_id":"1401894793","filename":"file4"},{"photo_id":"1401894787","filename":"file1"},{"photo_id":"1401894780","filename":"file0"},{"photo_id":"1401894791","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894793":["hashtag1","hashtag2"]},{"1401894787":["hashtag1","hashtag2"]},{"1401894795":["hashtag1","hashtag2"]},{"1401894789":["hashtag1","hashtag2"]},{"1401894780":["hashtag1","hashtag2"]},{"1401894791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894793, 1401894787, 1401894795, 1401894789, 1401894780, 1401894791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.905033111572266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:45:42.425375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_12_3784.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_15_2745.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_18_2771.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_21_2699.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_24_3663.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_27_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_12_3784.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_15_2745.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_18_2771.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_21_2699.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_24_3663.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_27_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894802","1401894805","1401894807","1401894804","1401894803","1401894800"],"photo_ids_order":["1401894800","1401894802","1401894803","1401894804","1401894805","1401894807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fccc7222ab262453c6a095e1949df622.jpg","text":"TemporaryFile(/tmp/multipartBody4558073543172578405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188804390,"filename":"image_03112025_18_43_15_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d75911537706fd77a7526924a5e966cb.jpg","text":"TemporaryFile(/tmp/multipartBody9064596363808490381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188804390,"filename":"image_03112025_18_43_24_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f13712e038920ff1df2318d3507c25e.jpg","text":"TemporaryFile(/tmp/multipartBody2923078428937804641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188804390,"filename":"image_03112025_18_43_27_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cb41038c8c01a5b2c5c0ab6dcaef4ea.jpg","text":"TemporaryFile(/tmp/multipartBody9035503837068195155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188804390,"filename":"image_03112025_18_43_21_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/345a21d20af82373b639dcd586c8fae3.jpg","text":"TemporaryFile(/tmp/multipartBody7348782417274796095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188804390,"filename":"image_03112025_18_43_18_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f52bad0a5af647fbb6b8076b7cbc8cee.jpg","text":"TemporaryFile(/tmp/multipartBody3663968892151218014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188804390,"filename":"image_03112025_18_43_12_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894803","file1":"1401894802","file0":"1401894800","file4":"1401894805","file5":"1401894807","file3":"1401894804"},"map_files_photo_id_array":[{"photo_id":"1401894807","filename":"file5"},{"photo_id":"1401894803","filename":"file2"},{"photo_id":"1401894805","filename":"file4"},{"photo_id":"1401894802","filename":"file1"},{"photo_id":"1401894800","filename":"file0"},{"photo_id":"1401894804","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894802":["hashtag1","hashtag2"]},{"1401894805":["hashtag1","hashtag2"]},{"1401894807":["hashtag1","hashtag2"]},{"1401894804":["hashtag1","hashtag2"]},{"1401894803":["hashtag1","hashtag2"]},{"1401894800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894802, 1401894805, 1401894807, 1401894804, 1401894803, 1401894800)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401894803 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_18_2771.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401894803 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_18_2771.jpg";
uploaded 6 photos
time to upload: 62.16128873825073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:47:02.519095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_55_9869.jpg', '/home/pi/Desktop/images/31122025/12/31/image_31122025_12_32_05_9754.jpg', '/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_16_10793.jpg', '/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_25_9610.jpg', '/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_35_9785.jpg', '/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_45_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/31/image_31122025_12_31_55_9869.jpg
/home/pi/Desktop/images/31122025/12/31/image_31122025_12_32_05_9754.jpg
/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_16_10793.jpg
/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_25_9610.jpg
/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_35_9785.jpg
/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_45_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894850","1401894844","1401894846","1401894840","1401894848","1401894842"],"photo_ids_order":["1401894840","1401894842","1401894844","1401894846","1401894848","1401894850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0475759d70ea9c048d3b95797b0034e8.jpg","text":"TemporaryFile(/tmp/multipartBody8376091726801898233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188885827,"filename":"image_31122025_12_32_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/347061074491a7af96d4d221d63b995d.jpg","text":"TemporaryFile(/tmp/multipartBody8517462098847218317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188885827,"filename":"image_31122025_12_32_16_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/481010e3613eafbb4489051cd53a431a.jpg","text":"TemporaryFile(/tmp/multipartBody8431105219994968731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188885827,"filename":"image_31122025_12_32_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7ed8bfff04c86145d264da2683953e5.jpg","text":"TemporaryFile(/tmp/multipartBody5598030640126309636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188885827,"filename":"image_31122025_12_31_55_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbd460c777ab6b45dccc197aa100ef0d.jpg","text":"TemporaryFile(/tmp/multipartBody8348879958635824587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188885827,"filename":"image_31122025_12_32_35_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/929daaa9cf3ff2a2b8eb15473bf6393a.jpg","text":"TemporaryFile(/tmp/multipartBody6494713575135015071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188885827,"filename":"image_31122025_12_32_05_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894844","file1":"1401894842","file0":"1401894840","file4":"1401894848","file5":"1401894850","file3":"1401894846"},"map_files_photo_id_array":[{"photo_id":"1401894850","filename":"file5"},{"photo_id":"1401894844","filename":"file2"},{"photo_id":"1401894848","filename":"file4"},{"photo_id":"1401894842","filename":"file1"},{"photo_id":"1401894840","filename":"file0"},{"photo_id":"1401894846","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894850":["hashtag1","hashtag2"]},{"1401894844":["hashtag1","hashtag2"]},{"1401894846":["hashtag1","hashtag2"]},{"1401894840":["hashtag1","hashtag2"]},{"1401894848":["hashtag1","hashtag2"]},{"1401894842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894850, 1401894844, 1401894846, 1401894840, 1401894848, 1401894842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17526602745056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:48:02.698939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_56_10790.jpg', '/home/pi/Desktop/images/31122025/12/33/image_31122025_12_33_15_9898.jpg', '/home/pi/Desktop/images/31122025/12/33/image_31122025_12_33_25_9855.jpg', '/home/pi/Desktop/images/31122025/12/33/image_31122025_12_33_45_9761.jpg', '/home/pi/Desktop/images/31122025/12/33/image_31122025_12_33_55_10658.jpg', '/home/pi/Desktop/images/31122025/12/33/image_31122025_12_34_05_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/32/image_31122025_12_32_56_10790.jpg
/home/pi/Desktop/images/31122025/12/33/image_31122025_12_33_15_9898.jpg
/home/pi/Desktop/images/31122025/12/33/image_31122025_12_33_25_9855.jpg
/home/pi/Desktop/images/31122025/12/33/image_31122025_12_33_45_9761.jpg
/home/pi/Desktop/images/31122025/12/33/image_31122025_12_33_55_10658.jpg
/home/pi/Desktop/images/31122025/12/33/image_31122025_12_34_05_9863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894871","1401894868","1401894864","1401894866","1401894875","1401894877"],"photo_ids_order":["1401894864","1401894866","1401894868","1401894871","1401894875","1401894877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f685e20216fd9241c2e6e6f30839b1f5.jpg","text":"TemporaryFile(/tmp/multipartBody795085909966835368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188943429,"filename":"image_31122025_12_33_45_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e276f0ad3140d412ced1ffc7820e672.jpg","text":"TemporaryFile(/tmp/multipartBody6921126924795729525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188943429,"filename":"image_31122025_12_33_25_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff327cb2d7c5b1830fef728f3cbed9de.jpg","text":"TemporaryFile(/tmp/multipartBody6615732987336118078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188943429,"filename":"image_31122025_12_32_56_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1b7cf66073780afd6fdf75b30d86de0.jpg","text":"TemporaryFile(/tmp/multipartBody2759307856173852460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188943429,"filename":"image_31122025_12_33_15_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/131e64708bfb4ec0b41feea1948961d1.jpg","text":"TemporaryFile(/tmp/multipartBody5651771699388180094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188943429,"filename":"image_31122025_12_33_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fcf0ed0887240b88c6342f292012f08d.jpg","text":"TemporaryFile(/tmp/multipartBody7990499569058961226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188943429,"filename":"image_31122025_12_34_05_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894868","file1":"1401894866","file0":"1401894864","file4":"1401894875","file5":"1401894877","file3":"1401894871"},"map_files_photo_id_array":[{"photo_id":"1401894877","filename":"file5"},{"photo_id":"1401894868","filename":"file2"},{"photo_id":"1401894875","filename":"file4"},{"photo_id":"1401894866","filename":"file1"},{"photo_id":"1401894864","filename":"file0"},{"photo_id":"1401894871","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894871":["hashtag1","hashtag2"]},{"1401894868":["hashtag1","hashtag2"]},{"1401894864":["hashtag1","hashtag2"]},{"1401894866":["hashtag1","hashtag2"]},{"1401894875":["hashtag1","hashtag2"]},{"1401894877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894871, 1401894868, 1401894864, 1401894866, 1401894875, 1401894877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77820873260498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:48:42.233981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_12_3784.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_15_2745.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_18_2771.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_21_2699.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_24_3663.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_27_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_12_3784.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_15_2745.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_18_2771.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_21_2699.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_24_3663.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_27_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894892","1401894894","1401894897","1401894893","1401894895","1401894889"],"photo_ids_order":["1401894889","1401894892","1401894893","1401894894","1401894895","1401894897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6864572c7edf57dbfb962837e85e6b92.jpg","text":"TemporaryFile(/tmp/multipartBody233784204894013637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188983963,"filename":"image_03112025_18_43_15_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8179c59d472d42f07b547050d8e5f8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2927665609174111909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188983963,"filename":"image_03112025_18_43_21_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d69ae0e0d51d85175c11aab9e526f0a7.jpg","text":"TemporaryFile(/tmp/multipartBody2524939382815687660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188983963,"filename":"image_03112025_18_43_27_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cfbaeb21b114fe60a5297960d826685.jpg","text":"TemporaryFile(/tmp/multipartBody6502916382537968441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188983963,"filename":"image_03112025_18_43_18_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb3c44460b8954bb14d4c932d1708062.jpg","text":"TemporaryFile(/tmp/multipartBody9081991153577959225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188983963,"filename":"image_03112025_18_43_24_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52b95b80eca8f85dccd31abfcfdb6970.jpg","text":"TemporaryFile(/tmp/multipartBody5583289105808271167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767188983963,"filename":"image_03112025_18_43_12_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894893","file1":"1401894892","file0":"1401894889","file4":"1401894895","file5":"1401894897","file3":"1401894894"},"map_files_photo_id_array":[{"photo_id":"1401894897","filename":"file5"},{"photo_id":"1401894893","filename":"file2"},{"photo_id":"1401894895","filename":"file4"},{"photo_id":"1401894892","filename":"file1"},{"photo_id":"1401894889","filename":"file0"},{"photo_id":"1401894894","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894892":["hashtag1","hashtag2"]},{"1401894894":["hashtag1","hashtag2"]},{"1401894897":["hashtag1","hashtag2"]},{"1401894893":["hashtag1","hashtag2"]},{"1401894895":["hashtag1","hashtag2"]},{"1401894889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894892, 1401894894, 1401894897, 1401894893, 1401894895, 1401894889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79404973983765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:49:22.414936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_15_9708.jpg', '/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_25_9861.jpg', '/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_36_10706.jpg', '/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_45_9768.jpg', '/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_55_9869.jpg', '/home/pi/Desktop/images/31122025/12/34/image_31122025_12_35_05_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_15_9708.jpg
/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_25_9861.jpg
/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_36_10706.jpg
/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_45_9768.jpg
/home/pi/Desktop/images/31122025/12/34/image_31122025_12_34_55_9869.jpg
/home/pi/Desktop/images/31122025/12/34/image_31122025_12_35_05_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894913","1401894910","1401894904","1401894906","1401894902","1401894908"],"photo_ids_order":["1401894902","1401894904","1401894906","1401894908","1401894910","1401894913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0ece96afc19ceb0ddda2a6eb0fb8cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1537962992994616242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189023136,"filename":"image_31122025_12_35_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91ae25f4c170a5ca71231c67342a69a9.jpg","text":"TemporaryFile(/tmp/multipartBody870979381002568903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189023136,"filename":"image_31122025_12_34_55_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d96430bd72e198f6d85f9a253d9b9120.jpg","text":"TemporaryFile(/tmp/multipartBody718307075842306795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189023136,"filename":"image_31122025_12_34_25_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7af58c10c18ff1ce026e7e0da9793163.jpg","text":"TemporaryFile(/tmp/multipartBody25451628003593348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189023136,"filename":"image_31122025_12_34_36_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d3667d9935feaee3343c5e2e4fda85b.jpg","text":"TemporaryFile(/tmp/multipartBody7921054545489290318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189023136,"filename":"image_31122025_12_34_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/293df8dda87895347361fa514b99cfc5.jpg","text":"TemporaryFile(/tmp/multipartBody1781243627803602063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189023136,"filename":"image_31122025_12_34_45_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894906","file1":"1401894904","file0":"1401894902","file4":"1401894910","file5":"1401894913","file3":"1401894908"},"map_files_photo_id_array":[{"photo_id":"1401894913","filename":"file5"},{"photo_id":"1401894906","filename":"file2"},{"photo_id":"1401894910","filename":"file4"},{"photo_id":"1401894904","filename":"file1"},{"photo_id":"1401894902","filename":"file0"},{"photo_id":"1401894908","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894913":["hashtag1","hashtag2"]},{"1401894910":["hashtag1","hashtag2"]},{"1401894904":["hashtag1","hashtag2"]},{"1401894906":["hashtag1","hashtag2"]},{"1401894902":["hashtag1","hashtag2"]},{"1401894908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894913, 1401894910, 1401894904, 1401894906, 1401894902, 1401894908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47063446044922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:50:02.924343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_16_10803.jpg', '/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_26_9783.jpg', '/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_35_9749.jpg', '/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_45_9692.jpg', '/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_56_10622.jpg', '/home/pi/Desktop/images/31122025/12/35/image_31122025_12_36_05_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_16_10803.jpg
/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_26_9783.jpg
/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_35_9749.jpg
/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_45_9692.jpg
/home/pi/Desktop/images/31122025/12/35/image_31122025_12_35_56_10622.jpg
/home/pi/Desktop/images/31122025/12/35/image_31122025_12_36_05_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894925","1401894934","1401894936","1401894930","1401894927","1401894923"],"photo_ids_order":["1401894923","1401894925","1401894927","1401894930","1401894934","1401894936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44070d46c8976f108e633ad63405674b.jpg","text":"TemporaryFile(/tmp/multipartBody3312103618248136439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189063708,"filename":"image_31122025_12_35_26_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49ee485a5bf6327029ec20d7305e5085.jpg","text":"TemporaryFile(/tmp/multipartBody9197946949397903022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189063708,"filename":"image_31122025_12_35_56_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b526d0012f4e5c2f2ee9c7270ae44447.jpg","text":"TemporaryFile(/tmp/multipartBody8220541172445253980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189063708,"filename":"image_31122025_12_36_05_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5166ce629608c2d9ffca47980424a552.jpg","text":"TemporaryFile(/tmp/multipartBody7991745020825882855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189063708,"filename":"image_31122025_12_35_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a381a1baf0531dcaf8e70486ab6d75d5.jpg","text":"TemporaryFile(/tmp/multipartBody9153881927824506800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189063708,"filename":"image_31122025_12_35_35_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcb11631248b5e707ab390be44b42ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4361842086781328403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189063708,"filename":"image_31122025_12_35_16_10803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894927","file1":"1401894925","file0":"1401894923","file4":"1401894934","file5":"1401894936","file3":"1401894930"},"map_files_photo_id_array":[{"photo_id":"1401894936","filename":"file5"},{"photo_id":"1401894927","filename":"file2"},{"photo_id":"1401894934","filename":"file4"},{"photo_id":"1401894925","filename":"file1"},{"photo_id":"1401894923","filename":"file0"},{"photo_id":"1401894930","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894925":["hashtag1","hashtag2"]},{"1401894934":["hashtag1","hashtag2"]},{"1401894936":["hashtag1","hashtag2"]},{"1401894930":["hashtag1","hashtag2"]},{"1401894927":["hashtag1","hashtag2"]},{"1401894923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894925, 1401894934, 1401894936, 1401894930, 1401894927, 1401894923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.741899490356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:50:42.570344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_29_2609.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_33_3847.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_36_2618.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_39_2603.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_42_3609.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_45_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_29_2609.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_33_3847.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_36_2618.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_39_2603.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_42_3609.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_45_2522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894946","1401894955","1401894942","1401894945","1401894953","1401894956"],"photo_ids_order":["1401894942","1401894945","1401894946","1401894953","1401894955","1401894956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68e32a79153a585f1cff5e39263110e9.jpg","text":"TemporaryFile(/tmp/multipartBody5155835963925023856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189104443,"filename":"image_03112025_18_43_36_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f62a77a68f543239690f22c4a80b3c5.jpg","text":"TemporaryFile(/tmp/multipartBody983653533177530673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189104443,"filename":"image_03112025_18_43_42_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef3eddd99f32265d582e0f378faae9a5.jpg","text":"TemporaryFile(/tmp/multipartBody2157851785028276287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189104443,"filename":"image_03112025_18_43_29_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fb805dab4fda8d108ef425002cd6dec.jpg","text":"TemporaryFile(/tmp/multipartBody7270580175910990254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189104443,"filename":"image_03112025_18_43_33_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c259a0a283e01f3b27141ecd6f7b76ee.jpg","text":"TemporaryFile(/tmp/multipartBody6567101906962072484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189104443,"filename":"image_03112025_18_43_39_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f580caaad9e06627b2ba17cdcec6e445.jpg","text":"TemporaryFile(/tmp/multipartBody9036656641177200391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189104443,"filename":"image_03112025_18_43_45_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894946","file1":"1401894945","file0":"1401894942","file4":"1401894955","file5":"1401894956","file3":"1401894953"},"map_files_photo_id_array":[{"photo_id":"1401894956","filename":"file5"},{"photo_id":"1401894946","filename":"file2"},{"photo_id":"1401894955","filename":"file4"},{"photo_id":"1401894945","filename":"file1"},{"photo_id":"1401894942","filename":"file0"},{"photo_id":"1401894953","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401894946":["hashtag1","hashtag2"]},{"1401894955":["hashtag1","hashtag2"]},{"1401894942":["hashtag1","hashtag2"]},{"1401894945":["hashtag1","hashtag2"]},{"1401894953":["hashtag1","hashtag2"]},{"1401894956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401894946, 1401894955, 1401894942, 1401894945, 1401894953, 1401894956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82743859291077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:51:22.907008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_15_9963.jpg', '/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_25_9674.jpg', '/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_36_10771.jpg', '/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_46_9801.jpg', '/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_55_9698.jpg', '/home/pi/Desktop/images/31122025/12/36/image_31122025_12_37_05_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_15_9963.jpg
/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_25_9674.jpg
/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_36_10771.jpg
/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_46_9801.jpg
/home/pi/Desktop/images/31122025/12/36/image_31122025_12_36_55_9698.jpg
/home/pi/Desktop/images/31122025/12/36/image_31122025_12_37_05_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894970","1401894973","1401894972","1401894975","1401894978","1401894968"],"photo_ids_order":["1401894968","1401894970","1401894972","1401894973","1401894975","1401894978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d392bc7a0e39602a006ee8f416be084c.jpg","text":"TemporaryFile(/tmp/multipartBody6405350681061450664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189143626,"filename":"image_31122025_12_36_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2b9a64ee6560234a6f03818b439656e.jpg","text":"TemporaryFile(/tmp/multipartBody2140768804046786744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189143626,"filename":"image_31122025_12_36_46_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02ea0f42f2b569550a9ee90b534dc0cc.jpg","text":"TemporaryFile(/tmp/multipartBody5092999632507297176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189143626,"filename":"image_31122025_12_36_36_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adf6276a109713abb3625daa4b87ae3b.jpg","text":"TemporaryFile(/tmp/multipartBody4074916542606956716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189143626,"filename":"image_31122025_12_36_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/408659120f503f65322768351b05d832.jpg","text":"TemporaryFile(/tmp/multipartBody5012028882709070624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189143626,"filename":"image_31122025_12_37_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa2158e920ba22b4042bd6727d4b08b9.jpg","text":"TemporaryFile(/tmp/multipartBody8618230949852985125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189143626,"filename":"image_31122025_12_36_15_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894972","file1":"1401894970","file0":"1401894968","file4":"1401894975","file5":"1401894978","file3":"1401894973"},"map_files_photo_id_array":[{"photo_id":"1401894978","filename":"file5"},{"photo_id":"1401894972","filename":"file2"},{"photo_id":"1401894975","filename":"file4"},{"photo_id":"1401894970","filename":"file1"},{"photo_id":"1401894968","filename":"file0"},{"photo_id":"1401894973","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894970":["hashtag1","hashtag2"]},{"1401894973":["hashtag1","hashtag2"]},{"1401894972":["hashtag1","hashtag2"]},{"1401894975":["hashtag1","hashtag2"]},{"1401894978":["hashtag1","hashtag2"]},{"1401894968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894970, 1401894973, 1401894972, 1401894975, 1401894978, 1401894968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53385925292969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:52:02.460502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_16_10739.jpg', '/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_25_9643.jpg', '/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_35_9668.jpg', '/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_46_10692.jpg', '/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_56_9839.jpg', '/home/pi/Desktop/images/31122025/12/37/image_31122025_12_38_05_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_16_10739.jpg
/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_25_9643.jpg
/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_35_9668.jpg
/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_46_10692.jpg
/home/pi/Desktop/images/31122025/12/37/image_31122025_12_37_56_9839.jpg
/home/pi/Desktop/images/31122025/12/37/image_31122025_12_38_05_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401894990","1401894984","1401894987","1401894981","1401894980","1401894982"],"photo_ids_order":["1401894980","1401894981","1401894982","1401894984","1401894987","1401894990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ab9d259109b3666c31847ee2c478c2e.jpg","text":"TemporaryFile(/tmp/multipartBody612924342866323540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189183217,"filename":"image_31122025_12_38_05_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0e2fe02b45f6dd92e8896dde1a215f7.jpg","text":"TemporaryFile(/tmp/multipartBody446612787170052858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189183217,"filename":"image_31122025_12_37_46_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/844827f701b405d3bfa18918fc21fac1.jpg","text":"TemporaryFile(/tmp/multipartBody649143329526437321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189183217,"filename":"image_31122025_12_37_56_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76462533aa0206f7e99ef10d461e5d78.jpg","text":"TemporaryFile(/tmp/multipartBody55173413464588571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189183217,"filename":"image_31122025_12_37_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad5d1a121c5e173af9d4472324a9aae7.jpg","text":"TemporaryFile(/tmp/multipartBody6727845741710530221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189183217,"filename":"image_31122025_12_37_16_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f81482a6b2e0c9d95436f19144acea1b.jpg","text":"TemporaryFile(/tmp/multipartBody500648776229093003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189183217,"filename":"image_31122025_12_37_35_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401894982","file1":"1401894981","file0":"1401894980","file4":"1401894987","file5":"1401894990","file3":"1401894984"},"map_files_photo_id_array":[{"photo_id":"1401894990","filename":"file5"},{"photo_id":"1401894982","filename":"file2"},{"photo_id":"1401894987","filename":"file4"},{"photo_id":"1401894981","filename":"file1"},{"photo_id":"1401894980","filename":"file0"},{"photo_id":"1401894984","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401894990":["hashtag1","hashtag2"]},{"1401894984":["hashtag1","hashtag2"]},{"1401894987":["hashtag1","hashtag2"]},{"1401894981":["hashtag1","hashtag2"]},{"1401894980":["hashtag1","hashtag2"]},{"1401894982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401894990, 1401894984, 1401894987, 1401894981, 1401894980, 1401894982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04582667350769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:52:42.080713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_48_3633.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_51_2588.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_54_2663.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_57_3674.jpg', '/home/pi/Desktop/images/03112025/18/43/image_03112025_18_44_00_2769.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_06_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_48_3633.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_51_2588.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_54_2663.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_43_57_3674.jpg
/home/pi/Desktop/images/03112025/18/43/image_03112025_18_44_00_2769.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_06_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895006","1401895003","1401895002","1401894998","1401895001","1401895004"],"photo_ids_order":["1401894998","1401895001","1401895002","1401895003","1401895004","1401895006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bb5b8fb6df2dd682a7120eaf5efc10a.jpg","text":"TemporaryFile(/tmp/multipartBody8330356323394899291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189223953,"filename":"image_03112025_18_44_06_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c22d856e99f5d011856d961ab54b3ee0.jpg","text":"TemporaryFile(/tmp/multipartBody1568123348927239497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189223953,"filename":"image_03112025_18_43_57_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97dfd45018b3e054267e9c3639c56906.jpg","text":"TemporaryFile(/tmp/multipartBody6740709968835606849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189223953,"filename":"image_03112025_18_43_54_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca9b63e3168b1f954c1a932d7407c0b7.jpg","text":"TemporaryFile(/tmp/multipartBody155714417692038451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189223953,"filename":"image_03112025_18_43_48_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a02760818c8e64f5ad8a7314016aafb0.jpg","text":"TemporaryFile(/tmp/multipartBody4305828186409459591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189223953,"filename":"image_03112025_18_43_51_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0580f2e30c142a6e2a5a90cfc8d6de09.jpg","text":"TemporaryFile(/tmp/multipartBody7404895042094492414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189223953,"filename":"image_03112025_18_44_00_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895002","file1":"1401895001","file0":"1401894998","file4":"1401895004","file5":"1401895006","file3":"1401895003"},"map_files_photo_id_array":[{"photo_id":"1401895006","filename":"file5"},{"photo_id":"1401895002","filename":"file2"},{"photo_id":"1401895004","filename":"file4"},{"photo_id":"1401895001","filename":"file1"},{"photo_id":"1401894998","filename":"file0"},{"photo_id":"1401895003","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401895006":["hashtag1","hashtag2"]},{"1401895003":["hashtag1","hashtag2"]},{"1401895002":["hashtag1","hashtag2"]},{"1401894998":["hashtag1","hashtag2"]},{"1401895001":["hashtag1","hashtag2"]},{"1401895004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401895006, 1401895003, 1401895002, 1401894998, 1401895001, 1401895004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01943612098694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:53:22.263269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_15_9897.jpg', '/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_25_9806.jpg', '/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_36_10691.jpg', '/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_45_9652.jpg', '/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_55_9805.jpg', '/home/pi/Desktop/images/31122025/12/38/image_31122025_12_39_05_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_15_9897.jpg
/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_25_9806.jpg
/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_36_10691.jpg
/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_45_9652.jpg
/home/pi/Desktop/images/31122025/12/38/image_31122025_12_38_55_9805.jpg
/home/pi/Desktop/images/31122025/12/38/image_31122025_12_39_05_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895041","1401895020","1401895031","1401895043","1401895037","1401895039"],"photo_ids_order":["1401895020","1401895031","1401895037","1401895039","1401895041","1401895043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a605416c73c7bb0f73bf9ed29fcdc2f.jpg","text":"TemporaryFile(/tmp/multipartBody1091585571503112399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189262981,"filename":"image_31122025_12_38_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7a9c84dc6c6bd119d47ea631e63ef21.jpg","text":"TemporaryFile(/tmp/multipartBody165392488147159724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189262981,"filename":"image_31122025_12_38_15_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97c3dadc510dcc0cfd911e3b64f59160.jpg","text":"TemporaryFile(/tmp/multipartBody2161015169044575365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189262981,"filename":"image_31122025_12_38_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4dee77a9079f68ac6973fbb524002831.jpg","text":"TemporaryFile(/tmp/multipartBody2704153496137260185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189262981,"filename":"image_31122025_12_39_05_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85e2300a0e142690682592b3bf940f52.jpg","text":"TemporaryFile(/tmp/multipartBody4789477534298576803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189262981,"filename":"image_31122025_12_38_36_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c79c91e287403ca000468c05983f334.jpg","text":"TemporaryFile(/tmp/multipartBody3465938730581438088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189262981,"filename":"image_31122025_12_38_45_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895037","file1":"1401895031","file0":"1401895020","file4":"1401895041","file5":"1401895043","file3":"1401895039"},"map_files_photo_id_array":[{"photo_id":"1401895043","filename":"file5"},{"photo_id":"1401895037","filename":"file2"},{"photo_id":"1401895041","filename":"file4"},{"photo_id":"1401895031","filename":"file1"},{"photo_id":"1401895020","filename":"file0"},{"photo_id":"1401895039","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401895041":["hashtag1","hashtag2"]},{"1401895020":["hashtag1","hashtag2"]},{"1401895031":["hashtag1","hashtag2"]},{"1401895043":["hashtag1","hashtag2"]},{"1401895037":["hashtag1","hashtag2"]},{"1401895039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401895041, 1401895020, 1401895031, 1401895043, 1401895037, 1401895039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.722578287124634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:54:03.019637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_16_10738.jpg', '/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_25_9748.jpg', '/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_35_9779.jpg', '/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_45_9732.jpg', '/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_56_10748.jpg', '/home/pi/Desktop/images/31122025/12/39/image_31122025_12_40_05_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_16_10738.jpg
/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_25_9748.jpg
/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_35_9779.jpg
/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_45_9732.jpg
/home/pi/Desktop/images/31122025/12/39/image_31122025_12_39_56_10748.jpg
/home/pi/Desktop/images/31122025/12/39/image_31122025_12_40_05_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895062","1401895064","1401895058","1401895061","1401895055","1401895060"],"photo_ids_order":["1401895055","1401895058","1401895060","1401895061","1401895062","1401895064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6a666b33981486357931f2dc1434c06.jpg","text":"TemporaryFile(/tmp/multipartBody8895407938120631652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189303832,"filename":"image_31122025_12_39_56_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8be5ee3d7b6353c76d452601255fac6.jpg","text":"TemporaryFile(/tmp/multipartBody1111590373000869031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189303832,"filename":"image_31122025_12_40_05_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e726ecfb108b1b1ead4d0894097329bd.jpg","text":"TemporaryFile(/tmp/multipartBody2983636185915399599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189303832,"filename":"image_31122025_12_39_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bef6bcb120492774a72f10a9e123644e.jpg","text":"TemporaryFile(/tmp/multipartBody3525129690073297358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189303832,"filename":"image_31122025_12_39_45_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fadb1752bd1e556febc58462150f3b8e.jpg","text":"TemporaryFile(/tmp/multipartBody1520565457114339946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189303832,"filename":"image_31122025_12_39_16_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2dc1dce3d08faf06b6626e94c4d78ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5152426748243291069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189303832,"filename":"image_31122025_12_39_35_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895060","file1":"1401895058","file0":"1401895055","file4":"1401895062","file5":"1401895064","file3":"1401895061"},"map_files_photo_id_array":[{"photo_id":"1401895064","filename":"file5"},{"photo_id":"1401895060","filename":"file2"},{"photo_id":"1401895062","filename":"file4"},{"photo_id":"1401895058","filename":"file1"},{"photo_id":"1401895055","filename":"file0"},{"photo_id":"1401895061","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401895062":["hashtag1","hashtag2"]},{"1401895064":["hashtag1","hashtag2"]},{"1401895058":["hashtag1","hashtag2"]},{"1401895061":["hashtag1","hashtag2"]},{"1401895055":["hashtag1","hashtag2"]},{"1401895060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401895062, 1401895064, 1401895058, 1401895061, 1401895055, 1401895060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.457826137542725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:54:42.360683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_11_5188.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_13_1615.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_15_1647.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_18_3584.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_21_2544.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_23_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_11_5188.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_13_1615.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_15_1647.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_18_3584.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_21_2544.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_23_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895083","1401895080","1401895082","1401895076","1401895079","1401895081"],"photo_ids_order":["1401895076","1401895079","1401895080","1401895081","1401895082","1401895083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f995217169783ef9c18e22742dbe4702.jpg","text":"TemporaryFile(/tmp/multipartBody8290808746294917461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189344237,"filename":"image_03112025_18_44_23_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6361c0b6239b879f50085450b0181ec.jpg","text":"TemporaryFile(/tmp/multipartBody4923761170216207931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189344237,"filename":"image_03112025_18_44_15_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dff392f49b8dbe63d79bae9afa3f9257.jpg","text":"TemporaryFile(/tmp/multipartBody1885958564265150593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189344237,"filename":"image_03112025_18_44_21_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a20be2fbc59c9246c9dae93506dd854.jpg","text":"TemporaryFile(/tmp/multipartBody9145830207703013498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189344237,"filename":"image_03112025_18_44_11_5188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b97cffbdcfc78dd510080fc617d66629.jpg","text":"TemporaryFile(/tmp/multipartBody5991382801194227856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189344237,"filename":"image_03112025_18_44_13_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bf53494efa6a6dcbde86f8522d275d1.jpg","text":"TemporaryFile(/tmp/multipartBody4778441773237500435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189344237,"filename":"image_03112025_18_44_18_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895080","file1":"1401895079","file0":"1401895076","file4":"1401895082","file5":"1401895083","file3":"1401895081"},"map_files_photo_id_array":[{"photo_id":"1401895083","filename":"file5"},{"photo_id":"1401895080","filename":"file2"},{"photo_id":"1401895082","filename":"file4"},{"photo_id":"1401895079","filename":"file1"},{"photo_id":"1401895076","filename":"file0"},{"photo_id":"1401895081","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401895083":["hashtag1","hashtag2"]},{"1401895080":["hashtag1","hashtag2"]},{"1401895082":["hashtag1","hashtag2"]},{"1401895076":["hashtag1","hashtag2"]},{"1401895079":["hashtag1","hashtag2"]},{"1401895081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401895083, 1401895080, 1401895082, 1401895076, 1401895079, 1401895081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.939109086990356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:55:22.515563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_15_9775.jpg', '/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_25_9726.jpg', '/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_36_10820.jpg', '/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_46_9869.jpg', '/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_55_9684.jpg', '/home/pi/Desktop/images/31122025/12/40/image_31122025_12_41_05_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_15_9775.jpg
/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_25_9726.jpg
/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_36_10820.jpg
/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_46_9869.jpg
/home/pi/Desktop/images/31122025/12/40/image_31122025_12_40_55_9684.jpg
/home/pi/Desktop/images/31122025/12/40/image_31122025_12_41_05_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895089","1401895097","1401895091","1401895100","1401895093","1401895096"],"photo_ids_order":["1401895089","1401895091","1401895093","1401895096","1401895097","1401895100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33589e91a837d9c1ba81f310a40f54ac.jpg","text":"TemporaryFile(/tmp/multipartBody3577164467422569344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189383289,"filename":"image_31122025_12_40_15_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5d761ec866813257c312407a32bd4d7.jpg","text":"TemporaryFile(/tmp/multipartBody4022309321545890587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189383289,"filename":"image_31122025_12_40_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93f2f1e1083fd8ba96aaf76c9c6e46e3.jpg","text":"TemporaryFile(/tmp/multipartBody5568337966855545817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189383289,"filename":"image_31122025_12_40_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b986accb921e3cbca00ba446c81e9e8.jpg","text":"TemporaryFile(/tmp/multipartBody1324758150166104361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189383289,"filename":"image_31122025_12_41_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce87c71fe546197e0058a9179d7def0c.jpg","text":"TemporaryFile(/tmp/multipartBody3784482376575988553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189383289,"filename":"image_31122025_12_40_36_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7499d038c2c267e4335c0a0825e18508.jpg","text":"TemporaryFile(/tmp/multipartBody6823666431372749618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189383289,"filename":"image_31122025_12_40_46_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895093","file1":"1401895091","file0":"1401895089","file4":"1401895097","file5":"1401895100","file3":"1401895096"},"map_files_photo_id_array":[{"photo_id":"1401895100","filename":"file5"},{"photo_id":"1401895093","filename":"file2"},{"photo_id":"1401895097","filename":"file4"},{"photo_id":"1401895091","filename":"file1"},{"photo_id":"1401895089","filename":"file0"},{"photo_id":"1401895096","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401895089":["hashtag1","hashtag2"]},{"1401895097":["hashtag1","hashtag2"]},{"1401895091":["hashtag1","hashtag2"]},{"1401895100":["hashtag1","hashtag2"]},{"1401895093":["hashtag1","hashtag2"]},{"1401895096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401895089, 1401895097, 1401895091, 1401895100, 1401895093, 1401895096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53473424911499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:56:03.233438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_15_9819.jpg', '/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_26_10916.jpg', '/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_36_9902.jpg', '/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_45_9737.jpg', '/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_55_9887.jpg', '/home/pi/Desktop/images/31122025/12/41/image_31122025_12_42_05_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_15_9819.jpg
/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_26_10916.jpg
/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_36_9902.jpg
/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_45_9737.jpg
/home/pi/Desktop/images/31122025/12/41/image_31122025_12_41_55_9887.jpg
/home/pi/Desktop/images/31122025/12/41/image_31122025_12_42_05_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895108","1401895102","1401895110","1401895104","1401895112","1401895106"],"photo_ids_order":["1401895102","1401895104","1401895106","1401895108","1401895110","1401895112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0dc8c83c7c2df924ecb5aa5a71537042.jpg","text":"TemporaryFile(/tmp/multipartBody7591752007112787036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189424010,"filename":"image_31122025_12_41_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93429b4422ac187d1cfc39bd2763c70b.jpg","text":"TemporaryFile(/tmp/multipartBody6565324538297977714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189424010,"filename":"image_31122025_12_41_15_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bd7ebb32ab0f7c0d23edaac709db1e1.jpg","text":"TemporaryFile(/tmp/multipartBody135284327578775008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189424010,"filename":"image_31122025_12_41_55_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a925cb5c78862d6a0d1c5d8559a89a4.jpg","text":"TemporaryFile(/tmp/multipartBody5680204347923147274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189424010,"filename":"image_31122025_12_41_26_10916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9435bae3830ecfe6f0752d0d1f5261d.jpg","text":"TemporaryFile(/tmp/multipartBody6277911863827404854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189424010,"filename":"image_31122025_12_42_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5aa4f40835ac5deb2265f7760da317a0.jpg","text":"TemporaryFile(/tmp/multipartBody2648445374266003476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189424010,"filename":"image_31122025_12_41_36_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895106","file1":"1401895104","file0":"1401895102","file4":"1401895110","file5":"1401895112","file3":"1401895108"},"map_files_photo_id_array":[{"photo_id":"1401895112","filename":"file5"},{"photo_id":"1401895106","filename":"file2"},{"photo_id":"1401895110","filename":"file4"},{"photo_id":"1401895104","filename":"file1"},{"photo_id":"1401895102","filename":"file0"},{"photo_id":"1401895108","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401895108":["hashtag1","hashtag2"]},{"1401895102":["hashtag1","hashtag2"]},{"1401895110":["hashtag1","hashtag2"]},{"1401895104":["hashtag1","hashtag2"]},{"1401895112":["hashtag1","hashtag2"]},{"1401895106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401895108, 1401895102, 1401895110, 1401895104, 1401895112, 1401895106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80959343910217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:56:42.839387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_27_3743.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_30_2584.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_36_3617.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_41_2656.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_45_3775.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_51_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_27_3743.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_30_2584.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_36_3617.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_41_2656.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_45_3775.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_51_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895120","1401895122","1401895121","1401895124","1401895118","1401895123"],"photo_ids_order":["1401895118","1401895120","1401895121","1401895122","1401895123","1401895124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfa8ea44872cdca4eaa60d30987f2549.jpg","text":"TemporaryFile(/tmp/multipartBody5240930976467864823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189464706,"filename":"image_03112025_18_44_30_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c29415016c2bea51716adf43cc3de051.jpg","text":"TemporaryFile(/tmp/multipartBody8128475062813074531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189464706,"filename":"image_03112025_18_44_41_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29d29b0aa4f2db9e578cb4f1c3d214b4.jpg","text":"TemporaryFile(/tmp/multipartBody8182013682104070959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189464706,"filename":"image_03112025_18_44_36_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/697c03b0c0b52d441b2b45505d6678ec.jpg","text":"TemporaryFile(/tmp/multipartBody8127694697760495194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189464706,"filename":"image_03112025_18_44_51_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b84f2f6bddaee9134b93aa6dbe3f9f6f.jpg","text":"TemporaryFile(/tmp/multipartBody1342320056896428649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189464706,"filename":"image_03112025_18_44_27_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/345514fa7cd0816ee1b0dbaa513e777b.jpg","text":"TemporaryFile(/tmp/multipartBody7608724752079234382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189464706,"filename":"image_03112025_18_44_45_3775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895121","file1":"1401895120","file0":"1401895118","file4":"1401895123","file5":"1401895124","file3":"1401895122"},"map_files_photo_id_array":[{"photo_id":"1401895124","filename":"file5"},{"photo_id":"1401895121","filename":"file2"},{"photo_id":"1401895123","filename":"file4"},{"photo_id":"1401895120","filename":"file1"},{"photo_id":"1401895118","filename":"file0"},{"photo_id":"1401895122","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401895120":["hashtag1","hashtag2"]},{"1401895122":["hashtag1","hashtag2"]},{"1401895121":["hashtag1","hashtag2"]},{"1401895124":["hashtag1","hashtag2"]},{"1401895118":["hashtag1","hashtag2"]},{"1401895123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401895120, 1401895122, 1401895121, 1401895124, 1401895118, 1401895123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78791904449463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 14:57:21.969689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_16_10880.jpg', '/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_26_9784.jpg', '/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_35_9849.jpg', '/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_45_9826.jpg', '/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_55_9758.jpg', '/home/pi/Desktop/images/31122025/12/42/image_31122025_12_43_06_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_16_10880.jpg
/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_26_9784.jpg
/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_35_9849.jpg
/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_45_9826.jpg
/home/pi/Desktop/images/31122025/12/42/image_31122025_12_42_55_9758.jpg
/home/pi/Desktop/images/31122025/12/42/image_31122025_12_43_06_10780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895132","1401895140","1401895134","1401895130","1401895136","1401895138"],"photo_ids_order":["1401895130","1401895132","1401895134","1401895136","1401895138","1401895140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3462098dfa58e0e54452d76878fcb62e.jpg","text":"TemporaryFile(/tmp/multipartBody9101046054787136320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189502682,"filename":"image_31122025_12_42_26_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d75e4c3c1e7389809512e140ce06990.jpg","text":"TemporaryFile(/tmp/multipartBody6193115265627468115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189502682,"filename":"image_31122025_12_43_06_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7317cde516ec4db021f1ddcfcd50cfcf.jpg","text":"TemporaryFile(/tmp/multipartBody4650237670164164405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189502682,"filename":"image_31122025_12_42_35_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6ba2a7f4e0d63fb452d564d8b999beb.jpg","text":"TemporaryFile(/tmp/multipartBody4350803453853451814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189502682,"filename":"image_31122025_12_42_16_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7fda429811475c963c44f0b933790d7.jpg","text":"TemporaryFile(/tmp/multipartBody2054785854970778171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189502682,"filename":"image_31122025_12_42_45_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be7ef016d68a246de60236ace74dcae5.jpg","text":"TemporaryFile(/tmp/multipartBody6999429387161967639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189502682,"filename":"image_31122025_12_42_55_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895134","file1":"1401895132","file0":"1401895130","file4":"1401895138","file5":"1401895140","file3":"1401895136"},"map_files_photo_id_array":[{"photo_id":"1401895140","filename":"file5"},{"photo_id":"1401895134","filename":"file2"},{"photo_id":"1401895138","filename":"file4"},{"photo_id":"1401895132","filename":"file1"},{"photo_id":"1401895130","filename":"file0"},{"photo_id":"1401895136","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401895132":["hashtag1","hashtag2"]},{"1401895140":["hashtag1","hashtag2"]},{"1401895134":["hashtag1","hashtag2"]},{"1401895130":["hashtag1","hashtag2"]},{"1401895136":["hashtag1","hashtag2"]},{"1401895138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401895132, 1401895140, 1401895134, 1401895130, 1401895136, 1401895138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75468707084656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 14:59:03.524286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_16_9767.jpg', '/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_25_9835.jpg', '/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_35_9950.jpg', '/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_45_9929.jpg', '/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_55_9690.jpg', '/home/pi/Desktop/images/31122025/12/43/image_31122025_12_44_06_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_16_9767.jpg
/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_25_9835.jpg
/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_35_9950.jpg
/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_45_9929.jpg
/home/pi/Desktop/images/31122025/12/43/image_31122025_12_43_55_9690.jpg
/home/pi/Desktop/images/31122025/12/43/image_31122025_12_44_06_10759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895155","1401895172","1401895168","1401895162","1401895171","1401895165"],"photo_ids_order":["1401895155","1401895162","1401895165","1401895168","1401895171","1401895172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f78c7497c5c9b03c8dfcb99967a42f23.jpg","text":"TemporaryFile(/tmp/multipartBody2778634798980568410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189604407,"filename":"image_31122025_12_43_16_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cddb65c6e7fa760447c78d918d24f22f.jpg","text":"TemporaryFile(/tmp/multipartBody4844066602690845990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189604407,"filename":"image_31122025_12_44_06_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a58f80be3c59b7f65b1a35e7690c9626.jpg","text":"TemporaryFile(/tmp/multipartBody1207249895756550877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189604407,"filename":"image_31122025_12_43_45_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99dd5a5c55f2226b83bd8a5bd14d5984.jpg","text":"TemporaryFile(/tmp/multipartBody5843918993281751204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189604407,"filename":"image_31122025_12_43_25_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1ca5f7a9b9041fdaeeb4df2b5fb5db8.jpg","text":"TemporaryFile(/tmp/multipartBody2765615717955194803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189604407,"filename":"image_31122025_12_43_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac04fe6dd274cb11b68a40a3f4d44a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7398241826686864806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189604407,"filename":"image_31122025_12_43_35_9950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895165","file1":"1401895162","file0":"1401895155","file4":"1401895171","file5":"1401895172","file3":"1401895168"},"map_files_photo_id_array":[{"photo_id":"1401895172","filename":"file5"},{"photo_id":"1401895165","filename":"file2"},{"photo_id":"1401895171","filename":"file4"},{"photo_id":"1401895162","filename":"file1"},{"photo_id":"1401895155","filename":"file0"},{"photo_id":"1401895168","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401895155":["hashtag1","hashtag2"]},{"1401895172":["hashtag1","hashtag2"]},{"1401895168":["hashtag1","hashtag2"]},{"1401895162":["hashtag1","hashtag2"]},{"1401895171":["hashtag1","hashtag2"]},{"1401895165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401895155, 1401895172, 1401895168, 1401895162, 1401895171, 1401895165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.918017864227295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 14:59:42.547787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_53_2779.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_57_3757.jpg', '/home/pi/Desktop/images/03112025/18/44/image_03112025_18_45_00_2705.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_02_2553.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_09_2880.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_12_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_53_2779.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_44_57_3757.jpg
/home/pi/Desktop/images/03112025/18/44/image_03112025_18_45_00_2705.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_02_2553.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_09_2880.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_12_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895347","1401895239","1401895178","1401895310","1401895202","1401895276"],"photo_ids_order":["1401895178","1401895202","1401895239","1401895276","1401895310","1401895347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9becad3f0e07a5f8ff01e7586587c501.jpg","text":"TemporaryFile(/tmp/multipartBody7327715582330676598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189644426,"filename":"image_03112025_18_45_12_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdf6f9ee1fabadabd6c5d7844a16fe6f.jpg","text":"TemporaryFile(/tmp/multipartBody7968361343147280751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189644426,"filename":"image_03112025_18_45_00_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0d85e424db2b7f653b5fe6402b9ba3b.jpg","text":"TemporaryFile(/tmp/multipartBody47228871876338815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189644426,"filename":"image_03112025_18_44_53_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27accd39a1c7ae7a8ebfa00f93a149df.jpg","text":"TemporaryFile(/tmp/multipartBody2765002394849616944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189644426,"filename":"image_03112025_18_45_09_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2de4c4cbcaba94f0c87760ceb634234f.jpg","text":"TemporaryFile(/tmp/multipartBody709878917902448738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189644426,"filename":"image_03112025_18_44_57_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab39b8fefbb9256b1a147f89d8714292.jpg","text":"TemporaryFile(/tmp/multipartBody8427585729150561732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189644426,"filename":"image_03112025_18_45_02_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895239","file1":"1401895202","file0":"1401895178","file4":"1401895310","file5":"1401895347","file3":"1401895276"},"map_files_photo_id_array":[{"photo_id":"1401895347","filename":"file5"},{"photo_id":"1401895239","filename":"file2"},{"photo_id":"1401895310","filename":"file4"},{"photo_id":"1401895202","filename":"file1"},{"photo_id":"1401895178","filename":"file0"},{"photo_id":"1401895276","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401895347":["hashtag1","hashtag2"]},{"1401895239":["hashtag1","hashtag2"]},{"1401895178":["hashtag1","hashtag2"]},{"1401895310":["hashtag1","hashtag2"]},{"1401895202":["hashtag1","hashtag2"]},{"1401895276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401895347, 1401895239, 1401895178, 1401895310, 1401895202, 1401895276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88026762008667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:00:22.774563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_15_9787.jpg', '/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_25_9840.jpg', '/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_35_9880.jpg', '/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_46_10600.jpg', '/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_55_9685.jpg', '/home/pi/Desktop/images/31122025/12/44/image_31122025_12_45_05_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_15_9787.jpg
/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_25_9840.jpg
/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_35_9880.jpg
/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_46_10600.jpg
/home/pi/Desktop/images/31122025/12/44/image_31122025_12_44_55_9685.jpg
/home/pi/Desktop/images/31122025/12/44/image_31122025_12_45_05_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401895590","1401895473","1401895553","1401895726","1401895654","1401895513"],"photo_ids_order":["1401895473","1401895513","1401895553","1401895590","1401895654","1401895726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2b7faf8e8730d51b831a03c2a75043a.jpg","text":"TemporaryFile(/tmp/multipartBody2880190334179032145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189683488,"filename":"image_31122025_12_44_46_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1a64600c08e07d72856360097e5d0e8.jpg","text":"TemporaryFile(/tmp/multipartBody588680956287860328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189683488,"filename":"image_31122025_12_44_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95b3d529f92c10a27437cc404b5a504b.jpg","text":"TemporaryFile(/tmp/multipartBody8905953821443641018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189683488,"filename":"image_31122025_12_44_35_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d917970951aa4377376e6d6ed50f6732.jpg","text":"TemporaryFile(/tmp/multipartBody6929017708005583233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189683488,"filename":"image_31122025_12_45_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d751a1faa8248f4a7e0ad843947aed6f.jpg","text":"TemporaryFile(/tmp/multipartBody4827877038080608827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189683488,"filename":"image_31122025_12_44_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fec723e77afcb15f38416108f754373.jpg","text":"TemporaryFile(/tmp/multipartBody3586382689859963628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189683488,"filename":"image_31122025_12_44_25_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401895553","file1":"1401895513","file0":"1401895473","file4":"1401895654","file5":"1401895726","file3":"1401895590"},"map_files_photo_id_array":[{"photo_id":"1401895726","filename":"file5"},{"photo_id":"1401895553","filename":"file2"},{"photo_id":"1401895654","filename":"file4"},{"photo_id":"1401895513","filename":"file1"},{"photo_id":"1401895473","filename":"file0"},{"photo_id":"1401895590","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401895590":["hashtag1","hashtag2"]},{"1401895473":["hashtag1","hashtag2"]},{"1401895553":["hashtag1","hashtag2"]},{"1401895726":["hashtag1","hashtag2"]},{"1401895654":["hashtag1","hashtag2"]},{"1401895513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401895590, 1401895473, 1401895553, 1401895726, 1401895654, 1401895513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.091285943984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:01:02.588998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_15_9768.jpg', '/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_26_10801.jpg', '/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_35_9687.jpg', '/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_45_9897.jpg', '/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_55_9875.jpg', '/home/pi/Desktop/images/31122025/12/45/image_31122025_12_46_05_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_15_9768.jpg
/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_26_10801.jpg
/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_35_9687.jpg
/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_45_9897.jpg
/home/pi/Desktop/images/31122025/12/45/image_31122025_12_45_55_9875.jpg
/home/pi/Desktop/images/31122025/12/45/image_31122025_12_46_05_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401896358","1401896316","1401896273","1401896180","1401896065","1401895987"],"photo_ids_order":["1401895987","1401896065","1401896180","1401896273","1401896316","1401896358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2855737a2020d58cfaf132947770a99.jpg","text":"TemporaryFile(/tmp/multipartBody5413963947536544588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189723446,"filename":"image_31122025_12_46_05_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fca38cf0d9f29a2ce8ea390ebcc64048.jpg","text":"TemporaryFile(/tmp/multipartBody4836563549917313725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189723446,"filename":"image_31122025_12_45_55_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a203c3d34a5798d8fa824edb50255a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5853481312226723191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189723446,"filename":"image_31122025_12_45_45_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f11193e2a9e30ecd5d13bdbff466116e.jpg","text":"TemporaryFile(/tmp/multipartBody2713345112913236961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189723446,"filename":"image_31122025_12_45_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80e7662a6e13fd7d42d0aacbe54ea5f4.jpg","text":"TemporaryFile(/tmp/multipartBody6294562543660846955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189723446,"filename":"image_31122025_12_45_26_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09ff532eb617436eb58b68ce61f8d86f.jpg","text":"TemporaryFile(/tmp/multipartBody2987513387713959573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189723446,"filename":"image_31122025_12_45_15_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401896180","file1":"1401896065","file0":"1401895987","file4":"1401896316","file5":"1401896358","file3":"1401896273"},"map_files_photo_id_array":[{"photo_id":"1401896358","filename":"file5"},{"photo_id":"1401896180","filename":"file2"},{"photo_id":"1401896316","filename":"file4"},{"photo_id":"1401896065","filename":"file1"},{"photo_id":"1401895987","filename":"file0"},{"photo_id":"1401896273","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401896358":["hashtag1","hashtag2"]},{"1401896316":["hashtag1","hashtag2"]},{"1401896273":["hashtag1","hashtag2"]},{"1401896180":["hashtag1","hashtag2"]},{"1401896065":["hashtag1","hashtag2"]},{"1401895987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401896358, 1401896316, 1401896273, 1401896180, 1401896065, 1401895987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.15917944908142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:02:02.596954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_16_10783.jpg', '/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_26_9773.jpg', '/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_35_9770.jpg', '/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_45_9733.jpg', '/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_55_9766.jpg', '/home/pi/Desktop/images/31122025/12/46/image_31122025_12_47_06_10764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_16_10783.jpg
/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_26_9773.jpg
/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_35_9770.jpg
/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_45_9733.jpg
/home/pi/Desktop/images/31122025/12/46/image_31122025_12_46_55_9766.jpg
/home/pi/Desktop/images/31122025/12/46/image_31122025_12_47_06_10764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401896871","1401896838","1401896757","1401896712","1401896639","1401896797"],"photo_ids_order":["1401896639","1401896712","1401896757","1401896797","1401896838","1401896871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd0b42895d06fe02c827e988a8585b70.jpg","text":"TemporaryFile(/tmp/multipartBody1664791124328861616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189784505,"filename":"image_31122025_12_47_06_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9761f3cee337133748418177bd5ed4d2.jpg","text":"TemporaryFile(/tmp/multipartBody199947081366472673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189784505,"filename":"image_31122025_12_46_55_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d7232d259ebce74be4603f6d3eee5f5.jpg","text":"TemporaryFile(/tmp/multipartBody6934493917083210702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189784505,"filename":"image_31122025_12_46_35_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44e7ba924ec3a331c7e223028eb33661.jpg","text":"TemporaryFile(/tmp/multipartBody8826299357984080726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189784505,"filename":"image_31122025_12_46_26_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d32f15606d02a00444f520b3cde71d46.jpg","text":"TemporaryFile(/tmp/multipartBody5040317108176479751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189784505,"filename":"image_31122025_12_46_16_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72e48202117eddfbc1494230bfc91212.jpg","text":"TemporaryFile(/tmp/multipartBody1816547240614352173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189784505,"filename":"image_31122025_12_46_45_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401896757","file1":"1401896712","file0":"1401896639","file4":"1401896838","file5":"1401896871","file3":"1401896797"},"map_files_photo_id_array":[{"photo_id":"1401896871","filename":"file5"},{"photo_id":"1401896757","filename":"file2"},{"photo_id":"1401896838","filename":"file4"},{"photo_id":"1401896712","filename":"file1"},{"photo_id":"1401896639","filename":"file0"},{"photo_id":"1401896797","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401896871":["hashtag1","hashtag2"]},{"1401896838":["hashtag1","hashtag2"]},{"1401896757":["hashtag1","hashtag2"]},{"1401896712":["hashtag1","hashtag2"]},{"1401896639":["hashtag1","hashtag2"]},{"1401896797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401896871, 1401896838, 1401896757, 1401896712, 1401896639, 1401896797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78669095039368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:03:02.912047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_15_9668.jpg', '/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_25_9722.jpg', '/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_36_10638.jpg', '/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_45_9352.jpg', '/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_56_10752.jpg', '/home/pi/Desktop/images/31122025/12/47/image_31122025_12_48_05_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_15_9668.jpg
/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_25_9722.jpg
/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_36_10638.jpg
/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_45_9352.jpg
/home/pi/Desktop/images/31122025/12/47/image_31122025_12_47_56_10752.jpg
/home/pi/Desktop/images/31122025/12/47/image_31122025_12_48_05_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401897161","1401897035","1401897122","1401897082","1401897199","1401896968"],"photo_ids_order":["1401896968","1401897035","1401897082","1401897122","1401897161","1401897199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e854b42bd1729a61aebb911cd5f421ec.jpg","text":"TemporaryFile(/tmp/multipartBody6896817093050246898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189843711,"filename":"image_31122025_12_47_56_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e721d985aa3215295e65e9d4b06f4d57.jpg","text":"TemporaryFile(/tmp/multipartBody6212848861618454949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189843711,"filename":"image_31122025_12_47_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2beefb59437058f822d67e274bcd2c0.jpg","text":"TemporaryFile(/tmp/multipartBody2509333162655051779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189843711,"filename":"image_31122025_12_47_45_9352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3da8a3c481c819d1f9615a1159bd8ba8.jpg","text":"TemporaryFile(/tmp/multipartBody9378708475759447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189843711,"filename":"image_31122025_12_47_36_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53b8542c331a28444bc654d3338a6a99.jpg","text":"TemporaryFile(/tmp/multipartBody6516662643312793651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189843711,"filename":"image_31122025_12_48_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5645359cfdee9e84d936df7c0ccb9c33.jpg","text":"TemporaryFile(/tmp/multipartBody7771880834575245982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189843711,"filename":"image_31122025_12_47_15_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401897082","file1":"1401897035","file0":"1401896968","file4":"1401897161","file5":"1401897199","file3":"1401897122"},"map_files_photo_id_array":[{"photo_id":"1401897199","filename":"file5"},{"photo_id":"1401897082","filename":"file2"},{"photo_id":"1401897161","filename":"file4"},{"photo_id":"1401897035","filename":"file1"},{"photo_id":"1401896968","filename":"file0"},{"photo_id":"1401897122","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401897161":["hashtag1","hashtag2"]},{"1401897035":["hashtag1","hashtag2"]},{"1401897122":["hashtag1","hashtag2"]},{"1401897082":["hashtag1","hashtag2"]},{"1401897199":["hashtag1","hashtag2"]},{"1401896968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401897161, 1401897035, 1401897122, 1401897082, 1401897199, 1401896968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35890507698059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:03:42.321384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_18_3643.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_21_2742.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_24_2735.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_26_2667.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_33_2782.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_35_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_18_3643.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_21_2742.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_24_2735.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_26_2667.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_33_2782.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_35_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401897324","1401897292","1401897337","1401897334","1401897297","1401897336"],"photo_ids_order":["1401897292","1401897297","1401897324","1401897334","1401897336","1401897337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5230d7d4b31aa252bfbaf824ea650512.jpg","text":"TemporaryFile(/tmp/multipartBody3480921801784990451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189884165,"filename":"image_03112025_18_45_24_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9af5a06a1a9a8c92db9d2a7db9e45a1f.jpg","text":"TemporaryFile(/tmp/multipartBody6677803512480613419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189884165,"filename":"image_03112025_18_45_18_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69a5d6ce6189135305d85c4852808bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7372374332643557829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189884165,"filename":"image_03112025_18_45_35_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5deef7a3a2ad1261df302bd28b4a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody3941527379518940001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189884165,"filename":"image_03112025_18_45_26_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bba369ff40f6f17bc88b0a41d064097.jpg","text":"TemporaryFile(/tmp/multipartBody4099968148813976730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189884165,"filename":"image_03112025_18_45_21_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8309d21250213bd6630b7b6e834f38a7.jpg","text":"TemporaryFile(/tmp/multipartBody4408219848319616853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189884165,"filename":"image_03112025_18_45_33_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401897324","file1":"1401897297","file0":"1401897292","file4":"1401897336","file5":"1401897337","file3":"1401897334"},"map_files_photo_id_array":[{"photo_id":"1401897337","filename":"file5"},{"photo_id":"1401897324","filename":"file2"},{"photo_id":"1401897336","filename":"file4"},{"photo_id":"1401897297","filename":"file1"},{"photo_id":"1401897292","filename":"file0"},{"photo_id":"1401897334","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401897324":["hashtag1","hashtag2"]},{"1401897292":["hashtag1","hashtag2"]},{"1401897337":["hashtag1","hashtag2"]},{"1401897334":["hashtag1","hashtag2"]},{"1401897297":["hashtag1","hashtag2"]},{"1401897336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401897324, 1401897292, 1401897337, 1401897334, 1401897297, 1401897336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2485191822052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:04:22.551747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/48/image_31122025_12_48_15_9735.jpg', '/home/pi/Desktop/images/31122025/12/48/image_31122025_12_48_25_9775.jpg', '/home/pi/Desktop/images/31122025/12/48/image_31122025_12_48_36_10818.jpg', '/home/pi/Desktop/images/31122025/12/48/image_31122025_12_48_55_9760.jpg', '/home/pi/Desktop/images/31122025/12/48/image_31122025_12_49_05_9785.jpg', '/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_16_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/48/image_31122025_12_48_15_9735.jpg
/home/pi/Desktop/images/31122025/12/48/image_31122025_12_48_25_9775.jpg
/home/pi/Desktop/images/31122025/12/48/image_31122025_12_48_36_10818.jpg
/home/pi/Desktop/images/31122025/12/48/image_31122025_12_48_55_9760.jpg
/home/pi/Desktop/images/31122025/12/48/image_31122025_12_49_05_9785.jpg
/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_16_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401897353","1401897347","1401897341","1401897343","1401897351","1401897357"],"photo_ids_order":["1401897341","1401897343","1401897347","1401897351","1401897353","1401897357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f63f15fd20abbdd54ba0079361f2f47d.jpg","text":"TemporaryFile(/tmp/multipartBody1735220282759071794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189923267,"filename":"image_31122025_12_49_05_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/352fb368e9afee4c51f4a4110a6ad891.jpg","text":"TemporaryFile(/tmp/multipartBody934742316458574389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189923267,"filename":"image_31122025_12_48_36_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e679e025648cbecb82c5923c217feaf.jpg","text":"TemporaryFile(/tmp/multipartBody1953844648654472630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189923267,"filename":"image_31122025_12_48_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2c4d46b5b4189b13f1dfabd94e4bb89.jpg","text":"TemporaryFile(/tmp/multipartBody8126791347769069907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189923267,"filename":"image_31122025_12_48_25_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8065c2e0ca7b9829339112bf58cc29d.jpg","text":"TemporaryFile(/tmp/multipartBody5585426354442604517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189923267,"filename":"image_31122025_12_48_55_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66114ec96246a53ac07c4b42c97b17ae.jpg","text":"TemporaryFile(/tmp/multipartBody2386978182151900678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189923267,"filename":"image_31122025_12_49_16_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401897347","file1":"1401897343","file0":"1401897341","file4":"1401897353","file5":"1401897357","file3":"1401897351"},"map_files_photo_id_array":[{"photo_id":"1401897357","filename":"file5"},{"photo_id":"1401897347","filename":"file2"},{"photo_id":"1401897353","filename":"file4"},{"photo_id":"1401897343","filename":"file1"},{"photo_id":"1401897341","filename":"file0"},{"photo_id":"1401897351","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401897353":["hashtag1","hashtag2"]},{"1401897347":["hashtag1","hashtag2"]},{"1401897341":["hashtag1","hashtag2"]},{"1401897343":["hashtag1","hashtag2"]},{"1401897351":["hashtag1","hashtag2"]},{"1401897357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401897353, 1401897347, 1401897341, 1401897343, 1401897351, 1401897357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60054111480713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:05:03.337192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_26_9846.jpg', '/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_35_9710.jpg', '/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_45_9753.jpg', '/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_55_9828.jpg', '/home/pi/Desktop/images/31122025/12/49/image_31122025_12_50_06_10847.jpg', '/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_15_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_26_9846.jpg
/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_35_9710.jpg
/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_45_9753.jpg
/home/pi/Desktop/images/31122025/12/49/image_31122025_12_49_55_9828.jpg
/home/pi/Desktop/images/31122025/12/49/image_31122025_12_50_06_10847.jpg
/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_15_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898112","1401898109","1401897679","1401897907","1401898020","1401897789"],"photo_ids_order":["1401897679","1401897789","1401897907","1401898020","1401898109","1401898112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4da0fbc3cd2d35a22f6422beebd37624.jpg","text":"TemporaryFile(/tmp/multipartBody6459884215179787821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189964142,"filename":"image_31122025_12_50_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8239a61374bee206bebbcda2ac7a5e1.jpg","text":"TemporaryFile(/tmp/multipartBody1566759225315819577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189964142,"filename":"image_31122025_12_50_06_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e99224be43db4cb6e9854a84a1e533d.jpg","text":"TemporaryFile(/tmp/multipartBody4904756731975872881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189964142,"filename":"image_31122025_12_49_26_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1410429f671b92d4602cdcfe1de4c86.jpg","text":"TemporaryFile(/tmp/multipartBody6759737533395316563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189964142,"filename":"image_31122025_12_49_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9b0796d6c03a34204cf78745b3d84ef.jpg","text":"TemporaryFile(/tmp/multipartBody2613321729565531636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189964142,"filename":"image_31122025_12_49_55_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b8f2575afe92dd97d461fcfa1b4db49.jpg","text":"TemporaryFile(/tmp/multipartBody6119544758707802082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767189964142,"filename":"image_31122025_12_49_35_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401897907","file1":"1401897789","file0":"1401897679","file4":"1401898109","file5":"1401898112","file3":"1401898020"},"map_files_photo_id_array":[{"photo_id":"1401898112","filename":"file5"},{"photo_id":"1401897907","filename":"file2"},{"photo_id":"1401898109","filename":"file4"},{"photo_id":"1401897789","filename":"file1"},{"photo_id":"1401897679","filename":"file0"},{"photo_id":"1401898020","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401898112":["hashtag1","hashtag2"]},{"1401898109":["hashtag1","hashtag2"]},{"1401897679":["hashtag1","hashtag2"]},{"1401897907":["hashtag1","hashtag2"]},{"1401898020":["hashtag1","hashtag2"]},{"1401897789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401898112, 1401898109, 1401897679, 1401897907, 1401898020, 1401897789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.517242431640625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:05:42.724027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_42_3699.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_44_2567.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_51_3692.jpg', '/home/pi/Desktop/images/03112025/18/45/image_03112025_18_46_00_3544.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_06_3583.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_09_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_42_3699.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_44_2567.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_45_51_3692.jpg
/home/pi/Desktop/images/03112025/18/45/image_03112025_18_46_00_3544.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_06_3583.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_09_2530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898124","1401898232","1401898121","1401898118","1401898132","1401898116"],"photo_ids_order":["1401898116","1401898118","1401898121","1401898124","1401898132","1401898232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aca777f67b58e83daec5bba4d7935cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1574925086844757779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190004586,"filename":"image_03112025_18_46_00_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/709ec56c7b6bd0f882658bffad7c5096.jpg","text":"TemporaryFile(/tmp/multipartBody1761849589437404520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190004586,"filename":"image_03112025_18_46_09_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8668bbbd63f42582dec99df0b7ed514.jpg","text":"TemporaryFile(/tmp/multipartBody3218142567035151025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190004586,"filename":"image_03112025_18_45_51_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c3040c079a6988e78efd3c397e8d017.jpg","text":"TemporaryFile(/tmp/multipartBody3339526930206549072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190004586,"filename":"image_03112025_18_45_44_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/407b85d812a7a428c7ab95eba5f7a57d.jpg","text":"TemporaryFile(/tmp/multipartBody3883755435775774697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190004586,"filename":"image_03112025_18_46_06_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ce764db6aed8b7d77efeb2f8474e300.jpg","text":"TemporaryFile(/tmp/multipartBody4385818592323700239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190004586,"filename":"image_03112025_18_45_42_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898121","file1":"1401898118","file0":"1401898116","file4":"1401898132","file5":"1401898232","file3":"1401898124"},"map_files_photo_id_array":[{"photo_id":"1401898232","filename":"file5"},{"photo_id":"1401898121","filename":"file2"},{"photo_id":"1401898132","filename":"file4"},{"photo_id":"1401898118","filename":"file1"},{"photo_id":"1401898116","filename":"file0"},{"photo_id":"1401898124","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401898124":["hashtag1","hashtag2"]},{"1401898232":["hashtag1","hashtag2"]},{"1401898121":["hashtag1","hashtag2"]},{"1401898118":["hashtag1","hashtag2"]},{"1401898132":["hashtag1","hashtag2"]},{"1401898116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401898124, 1401898232, 1401898121, 1401898118, 1401898132, 1401898116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72561812400818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:06:21.917220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_25_9710.jpg', '/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_36_10732.jpg', '/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_46_9771.jpg', '/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_55_9784.jpg', '/home/pi/Desktop/images/31122025/12/50/image_31122025_12_51_05_9786.jpg', '/home/pi/Desktop/images/31122025/12/51/image_31122025_12_51_15_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_25_9710.jpg
/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_36_10732.jpg
/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_46_9771.jpg
/home/pi/Desktop/images/31122025/12/50/image_31122025_12_50_55_9784.jpg
/home/pi/Desktop/images/31122025/12/50/image_31122025_12_51_05_9786.jpg
/home/pi/Desktop/images/31122025/12/51/image_31122025_12_51_15_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898352","1401898480","1401898432","1401898348","1401898470","1401898419"],"photo_ids_order":["1401898348","1401898352","1401898419","1401898432","1401898470","1401898480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8417b00ab16d29ef302f74fcef8ab136.jpg","text":"TemporaryFile(/tmp/multipartBody359559652312160293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190042635,"filename":"image_31122025_12_50_36_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da029876af7a069c086274a6406b8ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3885244710238536931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190042635,"filename":"image_31122025_12_51_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0484c8f8a4e90e28858363e1eebd743.jpg","text":"TemporaryFile(/tmp/multipartBody1579782606952449216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190042635,"filename":"image_31122025_12_50_55_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b12e3e7eab85a99c87f241a6ed5eb0c3.jpg","text":"TemporaryFile(/tmp/multipartBody2150840614656519218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190042635,"filename":"image_31122025_12_50_25_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f67ea222a4fbe556290e7eb9eda2cd76.jpg","text":"TemporaryFile(/tmp/multipartBody8967442999736623756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190042635,"filename":"image_31122025_12_51_05_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9738bd3b4b93f2424427f01eaf6024f5.jpg","text":"TemporaryFile(/tmp/multipartBody5702014115315316324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190042635,"filename":"image_31122025_12_50_46_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898419","file1":"1401898352","file0":"1401898348","file4":"1401898470","file5":"1401898480","file3":"1401898432"},"map_files_photo_id_array":[{"photo_id":"1401898480","filename":"file5"},{"photo_id":"1401898419","filename":"file2"},{"photo_id":"1401898470","filename":"file4"},{"photo_id":"1401898352","filename":"file1"},{"photo_id":"1401898348","filename":"file0"},{"photo_id":"1401898432","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401898352":["hashtag1","hashtag2"]},{"1401898480":["hashtag1","hashtag2"]},{"1401898432":["hashtag1","hashtag2"]},{"1401898348":["hashtag1","hashtag2"]},{"1401898470":["hashtag1","hashtag2"]},{"1401898419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401898352, 1401898480, 1401898432, 1401898348, 1401898470, 1401898419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.400063037872314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:07:02.732905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/51/image_31122025_12_51_26_10698.jpg', '/home/pi/Desktop/images/31122025/12/51/image_31122025_12_51_35_9765.jpg', '/home/pi/Desktop/images/31122025/12/51/image_31122025_12_51_45_9921.jpg', '/home/pi/Desktop/images/31122025/12/51/image_31122025_12_52_06_10658.jpg', '/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_16_10139.jpg', '/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_25_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/51/image_31122025_12_51_26_10698.jpg
/home/pi/Desktop/images/31122025/12/51/image_31122025_12_51_35_9765.jpg
/home/pi/Desktop/images/31122025/12/51/image_31122025_12_51_45_9921.jpg
/home/pi/Desktop/images/31122025/12/51/image_31122025_12_52_06_10658.jpg
/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_16_10139.jpg
/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_25_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898505","1401898501","1401898500","1401898490","1401898484","1401898503"],"photo_ids_order":["1401898484","1401898490","1401898500","1401898501","1401898503","1401898505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f0568b6b1d55acd7a01515bfaec015a.jpg","text":"TemporaryFile(/tmp/multipartBody1673110679084761885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190083614,"filename":"image_31122025_12_52_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/814d55f515ecc77ab5d61df430fa51ee.jpg","text":"TemporaryFile(/tmp/multipartBody9197417987100950670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190083614,"filename":"image_31122025_12_52_06_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ecea27870fa415d28b0cc5fb50f5e19.jpg","text":"TemporaryFile(/tmp/multipartBody3192488110307868309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190083614,"filename":"image_31122025_12_51_45_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57796cb25157621c2d67d3afebaffa59.jpg","text":"TemporaryFile(/tmp/multipartBody1284778469032371817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190083614,"filename":"image_31122025_12_51_35_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cd1dcab685e88bea212aa8080a40ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8294492869471930513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190083614,"filename":"image_31122025_12_51_26_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11498f61575c198d522840afa55a87df.jpg","text":"TemporaryFile(/tmp/multipartBody5974614705900857517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190083614,"filename":"image_31122025_12_52_16_10139.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898500","file1":"1401898490","file0":"1401898484","file4":"1401898503","file5":"1401898505","file3":"1401898501"},"map_files_photo_id_array":[{"photo_id":"1401898505","filename":"file5"},{"photo_id":"1401898500","filename":"file2"},{"photo_id":"1401898503","filename":"file4"},{"photo_id":"1401898490","filename":"file1"},{"photo_id":"1401898484","filename":"file0"},{"photo_id":"1401898501","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401898505":["hashtag1","hashtag2"]},{"1401898501":["hashtag1","hashtag2"]},{"1401898500":["hashtag1","hashtag2"]},{"1401898490":["hashtag1","hashtag2"]},{"1401898484":["hashtag1","hashtag2"]},{"1401898503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401898505, 1401898501, 1401898500, 1401898490, 1401898484, 1401898503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11228823661804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:07:42.261269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_11_2667.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_29_2589.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_33_3656.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_36_2649.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_39_3528.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_47_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_11_2667.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_29_2589.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_33_3656.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_36_2649.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_39_3528.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_47_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898544","1401898543","1401898546","1401898531","1401898539","1401898527"],"photo_ids_order":["1401898527","1401898531","1401898539","1401898543","1401898544","1401898546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b513deedd276a8d2d49dce83046802ad.jpg","text":"TemporaryFile(/tmp/multipartBody9199938005747573404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190124114,"filename":"image_03112025_18_46_39_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29b006450f5c07879871aa89b253bbb1.jpg","text":"TemporaryFile(/tmp/multipartBody6305485756960848445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190124114,"filename":"image_03112025_18_46_36_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecf2449a5c174b3277a937e2cadd24cd.jpg","text":"TemporaryFile(/tmp/multipartBody3528127749274765730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190124114,"filename":"image_03112025_18_46_47_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8987d730f7e66d2bf5079c61067e035.jpg","text":"TemporaryFile(/tmp/multipartBody7428124156417683551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190124114,"filename":"image_03112025_18_46_29_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32e594669890dbc181c0407baedf271a.jpg","text":"TemporaryFile(/tmp/multipartBody4730961086332132789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190124114,"filename":"image_03112025_18_46_33_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/371504ecd64b2655590ce6e3a173097b.jpg","text":"TemporaryFile(/tmp/multipartBody2413209077758093450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190124114,"filename":"image_03112025_18_46_11_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898539","file1":"1401898531","file0":"1401898527","file4":"1401898544","file5":"1401898546","file3":"1401898543"},"map_files_photo_id_array":[{"photo_id":"1401898546","filename":"file5"},{"photo_id":"1401898539","filename":"file2"},{"photo_id":"1401898544","filename":"file4"},{"photo_id":"1401898531","filename":"file1"},{"photo_id":"1401898527","filename":"file0"},{"photo_id":"1401898543","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401898544":["hashtag1","hashtag2"]},{"1401898543":["hashtag1","hashtag2"]},{"1401898546":["hashtag1","hashtag2"]},{"1401898531":["hashtag1","hashtag2"]},{"1401898539":["hashtag1","hashtag2"]},{"1401898527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401898544, 1401898543, 1401898546, 1401898531, 1401898539, 1401898527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9603385925293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:08:22.427431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_35_9787.jpg', '/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_45_9684.jpg', '/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_56_10690.jpg', '/home/pi/Desktop/images/31122025/12/52/image_31122025_12_53_05_9882.jpg', '/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_15_9805.jpg', '/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_25_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_35_9787.jpg
/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_45_9684.jpg
/home/pi/Desktop/images/31122025/12/52/image_31122025_12_52_56_10690.jpg
/home/pi/Desktop/images/31122025/12/52/image_31122025_12_53_05_9882.jpg
/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_15_9805.jpg
/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_25_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898556","1401898550","1401898570","1401898552","1401898548","1401898565"],"photo_ids_order":["1401898548","1401898550","1401898552","1401898556","1401898565","1401898570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/973ed2f769f3cc2844a8e0ba01c9e598.jpg","text":"TemporaryFile(/tmp/multipartBody2804400394456032906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190163202,"filename":"image_31122025_12_53_05_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0e2c0eeb433f8cf193461f2ea853595.jpg","text":"TemporaryFile(/tmp/multipartBody1482989326071567594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190163202,"filename":"image_31122025_12_52_45_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c7be36ca9c396a467e00398a456353d.jpg","text":"TemporaryFile(/tmp/multipartBody4606632766798514707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190163202,"filename":"image_31122025_12_53_25_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c162eb9d62b9dd48f9d606fe1043f967.jpg","text":"TemporaryFile(/tmp/multipartBody5106901816029160107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190163202,"filename":"image_31122025_12_52_56_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/898b8e43c43c893ab74c8b97532d34dd.jpg","text":"TemporaryFile(/tmp/multipartBody216820738498508872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190163202,"filename":"image_31122025_12_52_35_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf1ec7cb12ec9c51b3c99acbc68beac8.jpg","text":"TemporaryFile(/tmp/multipartBody3439131587989682684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190163202,"filename":"image_31122025_12_53_15_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898552","file1":"1401898550","file0":"1401898548","file4":"1401898565","file5":"1401898570","file3":"1401898556"},"map_files_photo_id_array":[{"photo_id":"1401898570","filename":"file5"},{"photo_id":"1401898552","filename":"file2"},{"photo_id":"1401898565","filename":"file4"},{"photo_id":"1401898550","filename":"file1"},{"photo_id":"1401898548","filename":"file0"},{"photo_id":"1401898556","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401898556":["hashtag1","hashtag2"]},{"1401898550":["hashtag1","hashtag2"]},{"1401898570":["hashtag1","hashtag2"]},{"1401898552":["hashtag1","hashtag2"]},{"1401898548":["hashtag1","hashtag2"]},{"1401898565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401898556, 1401898550, 1401898570, 1401898552, 1401898548, 1401898565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00688099861145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:09:03.545920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_36_10729.jpg', '/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_45_9648.jpg', '/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_55_9706.jpg', '/home/pi/Desktop/images/31122025/12/53/image_31122025_12_54_05_9752.jpg', '/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_15_10679.jpg', '/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_25_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_36_10729.jpg
/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_45_9648.jpg
/home/pi/Desktop/images/31122025/12/53/image_31122025_12_53_55_9706.jpg
/home/pi/Desktop/images/31122025/12/53/image_31122025_12_54_05_9752.jpg
/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_15_10679.jpg
/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_25_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898616","1401898601","1401898613","1401898575","1401898614","1401898592"],"photo_ids_order":["1401898575","1401898592","1401898601","1401898613","1401898614","1401898616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3d321ff5ab5a6e8c4e5c32a63247a9e.jpg","text":"TemporaryFile(/tmp/multipartBody4128888876363544146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190204553,"filename":"image_31122025_12_54_25_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34a621d9c7d643059a792a6cea9b10b5.jpg","text":"TemporaryFile(/tmp/multipartBody2065923590975932184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190204553,"filename":"image_31122025_12_53_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1515429148097cf6d745a0a90ed2104.jpg","text":"TemporaryFile(/tmp/multipartBody875529425434759824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190204553,"filename":"image_31122025_12_54_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c87ea6e788a3082b05f343958f34348.jpg","text":"TemporaryFile(/tmp/multipartBody2541061758314764783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190204553,"filename":"image_31122025_12_53_36_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e2ff76327a0042df2c35f77fc25a8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4315750983850687846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190204553,"filename":"image_31122025_12_54_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92c67e961051750aa4d9ea1b6da08c7c.jpg","text":"TemporaryFile(/tmp/multipartBody8502176943110716193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190204553,"filename":"image_31122025_12_53_45_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898601","file1":"1401898592","file0":"1401898575","file4":"1401898614","file5":"1401898616","file3":"1401898613"},"map_files_photo_id_array":[{"photo_id":"1401898616","filename":"file5"},{"photo_id":"1401898601","filename":"file2"},{"photo_id":"1401898614","filename":"file4"},{"photo_id":"1401898592","filename":"file1"},{"photo_id":"1401898575","filename":"file0"},{"photo_id":"1401898613","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401898616":["hashtag1","hashtag2"]},{"1401898601":["hashtag1","hashtag2"]},{"1401898613":["hashtag1","hashtag2"]},{"1401898575":["hashtag1","hashtag2"]},{"1401898614":["hashtag1","hashtag2"]},{"1401898592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401898616, 1401898601, 1401898613, 1401898575, 1401898614, 1401898592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7344183921814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:09:42.623192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_51_3569.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_54_2591.jpg', '/home/pi/Desktop/images/03112025/18/46/image_03112025_18_47_00_3623.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_03_3018.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_05_2551.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_12_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_51_3569.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_46_54_2591.jpg
/home/pi/Desktop/images/03112025/18/46/image_03112025_18_47_00_3623.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_03_3018.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_05_2551.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_12_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898634","1401898657","1401898630","1401898633","1401898662","1401898632"],"photo_ids_order":["1401898630","1401898632","1401898633","1401898634","1401898657","1401898662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48fe149e54ffb12ed67bb2323e8d0474.jpg","text":"TemporaryFile(/tmp/multipartBody7170832581132447266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190244487,"filename":"image_03112025_18_47_03_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffb552db95c88943d649da97b69395dc.jpg","text":"TemporaryFile(/tmp/multipartBody8167997123481864720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190244487,"filename":"image_03112025_18_47_05_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de84c0723adb6dacbbf273b25571a195.jpg","text":"TemporaryFile(/tmp/multipartBody374235584156563793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190244487,"filename":"image_03112025_18_46_51_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/383abf27e034e46541448f263eecd0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4445474196458046065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190244487,"filename":"image_03112025_18_47_00_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd659e967c9f164cdc8d6be30d56f5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3084987034215607530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190244487,"filename":"image_03112025_18_47_12_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ca108f3ecf2c421af8fab4f6c4724f3.jpg","text":"TemporaryFile(/tmp/multipartBody7689823774991761879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190244487,"filename":"image_03112025_18_46_54_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898633","file1":"1401898632","file0":"1401898630","file4":"1401898657","file5":"1401898662","file3":"1401898634"},"map_files_photo_id_array":[{"photo_id":"1401898662","filename":"file5"},{"photo_id":"1401898633","filename":"file2"},{"photo_id":"1401898657","filename":"file4"},{"photo_id":"1401898632","filename":"file1"},{"photo_id":"1401898630","filename":"file0"},{"photo_id":"1401898634","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401898634":["hashtag1","hashtag2"]},{"1401898657":["hashtag1","hashtag2"]},{"1401898630":["hashtag1","hashtag2"]},{"1401898633":["hashtag1","hashtag2"]},{"1401898662":["hashtag1","hashtag2"]},{"1401898632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401898634, 1401898657, 1401898630, 1401898633, 1401898662, 1401898632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4426109790802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:10:22.791341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_35_9739.jpg', '/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_46_10747.jpg', '/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_55_9656.jpg', '/home/pi/Desktop/images/31122025/12/54/image_31122025_12_55_05_9808.jpg', '/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_15_9648.jpg', '/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_26_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_35_9739.jpg
/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_46_10747.jpg
/home/pi/Desktop/images/31122025/12/54/image_31122025_12_54_55_9656.jpg
/home/pi/Desktop/images/31122025/12/54/image_31122025_12_55_05_9808.jpg
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_15_9648.jpg
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_26_10804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898673","1401898675","1401898669","1401898690","1401898684","1401898671"],"photo_ids_order":["1401898669","1401898671","1401898673","1401898675","1401898684","1401898690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a40740d73911873f21dd073582a61ca.jpg","text":"TemporaryFile(/tmp/multipartBody9034890236302093219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190283513,"filename":"image_31122025_12_54_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8e9b03013cd03a03344289441118b20.jpg","text":"TemporaryFile(/tmp/multipartBody8413988714293055924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190283513,"filename":"image_31122025_12_55_05_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0782d8dfd40879bc616a2125d107b423.jpg","text":"TemporaryFile(/tmp/multipartBody1212807674184750654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190283513,"filename":"image_31122025_12_54_35_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c7ba4d382c7be0696790299f6cc7dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8680595460159907028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190283513,"filename":"image_31122025_12_55_26_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bd10fdce68a9d650a32fcdde19b4bed.jpg","text":"TemporaryFile(/tmp/multipartBody3654185199302962893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190283513,"filename":"image_31122025_12_55_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c6bc028337e9d0ef55a006bc64fb764.jpg","text":"TemporaryFile(/tmp/multipartBody316708564553626522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190283513,"filename":"image_31122025_12_54_46_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898673","file1":"1401898671","file0":"1401898669","file4":"1401898684","file5":"1401898690","file3":"1401898675"},"map_files_photo_id_array":[{"photo_id":"1401898690","filename":"file5"},{"photo_id":"1401898673","filename":"file2"},{"photo_id":"1401898684","filename":"file4"},{"photo_id":"1401898671","filename":"file1"},{"photo_id":"1401898669","filename":"file0"},{"photo_id":"1401898675","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401898673":["hashtag1","hashtag2"]},{"1401898675":["hashtag1","hashtag2"]},{"1401898669":["hashtag1","hashtag2"]},{"1401898690":["hashtag1","hashtag2"]},{"1401898684":["hashtag1","hashtag2"]},{"1401898671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401898673, 1401898675, 1401898669, 1401898690, 1401898684, 1401898671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.015586614608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:11:11.935140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_14_2771.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_18_3651.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_21_2686.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_27_3780.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_39_3602.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_41_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_14_2771.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_18_3651.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_21_2686.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_27_3780.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_39_3602.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_41_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401898696","1401898711","1401898698","1401898702","1401898713","1401898697"],"photo_ids_order":["1401898696","1401898697","1401898698","1401898702","1401898711","1401898713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ef72e0be3e6bf865be554bd338b9d45.jpg","text":"TemporaryFile(/tmp/multipartBody9208789653622049784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190333726,"filename":"image_03112025_18_47_14_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdfbd351e2f2e55597d6c519aeba89a8.jpg","text":"TemporaryFile(/tmp/multipartBody3389654099453050439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190333726,"filename":"image_03112025_18_47_39_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/563c79ee49e9cfe3db57e00829599fac.jpg","text":"TemporaryFile(/tmp/multipartBody3024592928874374525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190333726,"filename":"image_03112025_18_47_21_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df9a170d9230b77ce1b3f857c08df6e0.jpg","text":"TemporaryFile(/tmp/multipartBody2259638292205710020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190333726,"filename":"image_03112025_18_47_27_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2313cd8cde2a096b1c48078b196c96c3.jpg","text":"TemporaryFile(/tmp/multipartBody7356983155914778045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190333726,"filename":"image_03112025_18_47_41_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/470deacf27da28258383d0b7bebe0462.jpg","text":"TemporaryFile(/tmp/multipartBody7221712817027404388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190333726,"filename":"image_03112025_18_47_18_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401898698","file1":"1401898697","file0":"1401898696","file4":"1401898711","file5":"1401898713","file3":"1401898702"},"map_files_photo_id_array":[{"photo_id":"1401898713","filename":"file5"},{"photo_id":"1401898698","filename":"file2"},{"photo_id":"1401898711","filename":"file4"},{"photo_id":"1401898697","filename":"file1"},{"photo_id":"1401898696","filename":"file0"},{"photo_id":"1401898702","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401898696":["hashtag1","hashtag2"]},{"1401898711":["hashtag1","hashtag2"]},{"1401898698":["hashtag1","hashtag2"]},{"1401898702":["hashtag1","hashtag2"]},{"1401898713":["hashtag1","hashtag2"]},{"1401898697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401898696, 1401898711, 1401898698, 1401898702, 1401898713, 1401898697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06559467315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:12:02.625760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_35_9833.jpg', '/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_45_9704.jpg', '/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_55_9722.jpg', '/home/pi/Desktop/images/31122025/12/55/image_31122025_12_56_06_10782.jpg', '/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_25_9833.jpg', '/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_35_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_35_9833.jpg
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_45_9704.jpg
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_55_9722.jpg
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_56_06_10782.jpg
/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_25_9833.jpg
/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_35_9598.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.662473201751709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:12:12.140779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_44_2780.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_48_3754.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_51_2995.jpg', '/home/pi/Desktop/images/03112025/18/47/image_03112025_18_48_00_3668.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_03_2776.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_05_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_44_2780.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_48_3754.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_47_51_2995.jpg
/home/pi/Desktop/images/03112025/18/47/image_03112025_18_48_00_3668.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_03_2776.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_05_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899111","1401899089","1401899227","1401899140","1401899116","1401899190"],"photo_ids_order":["1401899089","1401899111","1401899116","1401899140","1401899190","1401899227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79e5977b99f092aec9a96678ce68870b.jpg","text":"TemporaryFile(/tmp/multipartBody6829527799638790856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190394003,"filename":"image_03112025_18_47_48_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9506597d0f00592e7953943f9c2f848.jpg","text":"TemporaryFile(/tmp/multipartBody8598335716440725516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190394003,"filename":"image_03112025_18_47_44_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f977a30c657c03242e97047ffd2a18c8.jpg","text":"TemporaryFile(/tmp/multipartBody2529211389829498013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190394003,"filename":"image_03112025_18_48_05_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ddc457b728312dc5c8fdd4a94f6506e7.jpg","text":"TemporaryFile(/tmp/multipartBody1452673813571919220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190394003,"filename":"image_03112025_18_48_00_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a2a4420dba7c3b10cbb059ba6ee72c1.jpg","text":"TemporaryFile(/tmp/multipartBody1536257257355927549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190394003,"filename":"image_03112025_18_47_51_2995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a83f092bdd9f63019b1adaf51124096.jpg","text":"TemporaryFile(/tmp/multipartBody7447401613108071713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190394003,"filename":"image_03112025_18_48_03_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899116","file1":"1401899111","file0":"1401899089","file4":"1401899190","file5":"1401899227","file3":"1401899140"},"map_files_photo_id_array":[{"photo_id":"1401899227","filename":"file5"},{"photo_id":"1401899116","filename":"file2"},{"photo_id":"1401899190","filename":"file4"},{"photo_id":"1401899111","filename":"file1"},{"photo_id":"1401899089","filename":"file0"},{"photo_id":"1401899140","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401899111":["hashtag1","hashtag2"]},{"1401899089":["hashtag1","hashtag2"]},{"1401899227":["hashtag1","hashtag2"]},{"1401899140":["hashtag1","hashtag2"]},{"1401899116":["hashtag1","hashtag2"]},{"1401899190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401899111, 1401899089, 1401899227, 1401899140, 1401899116, 1401899190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.987849950790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:13:03.198884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_35_9833.jpg', '/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_45_9704.jpg', '/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_55_9722.jpg', '/home/pi/Desktop/images/31122025/12/55/image_31122025_12_56_06_10782.jpg', '/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_25_9833.jpg', '/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_35_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_35_9833.jpg
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_45_9704.jpg
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_55_55_9722.jpg
/home/pi/Desktop/images/31122025/12/55/image_31122025_12_56_06_10782.jpg
/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_25_9833.jpg
/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_35_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899338","1401899341","1401899335","1401899343","1401899331","1401899333"],"photo_ids_order":["1401899331","1401899333","1401899335","1401899338","1401899341","1401899343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b983ff08a9a225fb779e302e0a3980af.jpg","text":"TemporaryFile(/tmp/multipartBody4398635490309990511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190444001,"filename":"image_31122025_12_56_06_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4808615a379a66f40681e32354788b00.jpg","text":"TemporaryFile(/tmp/multipartBody1923506044333093177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190444001,"filename":"image_31122025_12_56_25_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bac725e22101e7d924b4f3d88cebd030.jpg","text":"TemporaryFile(/tmp/multipartBody357505997698177191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190444001,"filename":"image_31122025_12_55_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52a3c82b67a357ccb091a2a8ee3cb680.jpg","text":"TemporaryFile(/tmp/multipartBody7032097366632727764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190444001,"filename":"image_31122025_12_56_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbb80be87bd6c4da7b3db26c233b0a7b.jpg","text":"TemporaryFile(/tmp/multipartBody485763848676282642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190444001,"filename":"image_31122025_12_55_35_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e073ffdcf9bfcbb9ec5b92a373ab87e.jpg","text":"TemporaryFile(/tmp/multipartBody8537771107760412355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190444001,"filename":"image_31122025_12_55_45_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899335","file1":"1401899333","file0":"1401899331","file4":"1401899341","file5":"1401899343","file3":"1401899338"},"map_files_photo_id_array":[{"photo_id":"1401899343","filename":"file5"},{"photo_id":"1401899335","filename":"file2"},{"photo_id":"1401899341","filename":"file4"},{"photo_id":"1401899333","filename":"file1"},{"photo_id":"1401899331","filename":"file0"},{"photo_id":"1401899338","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401899338":["hashtag1","hashtag2"]},{"1401899341":["hashtag1","hashtag2"]},{"1401899335":["hashtag1","hashtag2"]},{"1401899343":["hashtag1","hashtag2"]},{"1401899331":["hashtag1","hashtag2"]},{"1401899333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401899338, 1401899341, 1401899335, 1401899343, 1401899331, 1401899333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.446895599365234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:13:42.439699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_08_2661.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_12_3799.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_17_2621.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_21_3617.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_24_2668.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_30_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_08_2661.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_12_3799.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_17_2621.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_21_3617.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_24_2668.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_30_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899464","1401899350","1401899428","1401899394","1401899358","1401899348"],"photo_ids_order":["1401899348","1401899350","1401899358","1401899394","1401899428","1401899464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89151b82420e9e8765d462675d1bd5e8.jpg","text":"TemporaryFile(/tmp/multipartBody8104996551339400889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190484299,"filename":"image_03112025_18_48_30_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42c9ed9b0e305f39b7d3700d4541e7d2.jpg","text":"TemporaryFile(/tmp/multipartBody6612756876462744513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190484299,"filename":"image_03112025_18_48_12_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8163998baf786287a529260c017bbca.jpg","text":"TemporaryFile(/tmp/multipartBody5912527858887403086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190484299,"filename":"image_03112025_18_48_24_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ef7b939aa23abbf300b2a59e2f484bf.jpg","text":"TemporaryFile(/tmp/multipartBody4790464966923904669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190484299,"filename":"image_03112025_18_48_21_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f96a7faf2d50a6e6713fd5f3d2f5f54.jpg","text":"TemporaryFile(/tmp/multipartBody6326587275452821938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190484299,"filename":"image_03112025_18_48_17_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d5e839e0a8d7659e6390c978a855ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1662983224354138677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190484299,"filename":"image_03112025_18_48_08_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899358","file1":"1401899350","file0":"1401899348","file4":"1401899428","file5":"1401899464","file3":"1401899394"},"map_files_photo_id_array":[{"photo_id":"1401899464","filename":"file5"},{"photo_id":"1401899358","filename":"file2"},{"photo_id":"1401899428","filename":"file4"},{"photo_id":"1401899350","filename":"file1"},{"photo_id":"1401899348","filename":"file0"},{"photo_id":"1401899394","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401899464":["hashtag1","hashtag2"]},{"1401899350":["hashtag1","hashtag2"]},{"1401899428":["hashtag1","hashtag2"]},{"1401899394":["hashtag1","hashtag2"]},{"1401899358":["hashtag1","hashtag2"]},{"1401899348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401899464, 1401899350, 1401899428, 1401899394, 1401899358, 1401899348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60753345489502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:14:22.643411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_46_10933.jpg', '/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_55_9663.jpg', '/home/pi/Desktop/images/31122025/12/56/image_31122025_12_57_05_9843.jpg', '/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_15_10087.jpg', '/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_25_9990.jpg', '/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_35_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_46_10933.jpg
/home/pi/Desktop/images/31122025/12/56/image_31122025_12_56_55_9663.jpg
/home/pi/Desktop/images/31122025/12/56/image_31122025_12_57_05_9843.jpg
/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_15_10087.jpg
/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_25_9990.jpg
/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_35_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899542","1401899533","1401899535","1401899523","1401899531","1401899525"],"photo_ids_order":["1401899523","1401899525","1401899531","1401899533","1401899535","1401899542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1d9b1c7ca1eb347f46393aa10eb9286.jpg","text":"TemporaryFile(/tmp/multipartBody5992853496359487121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190523362,"filename":"image_31122025_12_57_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/882f8cfe278f1e00e2fd90a56b9bd691.jpg","text":"TemporaryFile(/tmp/multipartBody6666016699025888735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190523362,"filename":"image_31122025_12_57_15_10087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eae34a4a7cc787f97cd49a50f7481f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7395184803769341996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190523362,"filename":"image_31122025_12_57_25_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0606198990e81afbbd3a96f3940123c.jpg","text":"TemporaryFile(/tmp/multipartBody3317445176444141031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190523362,"filename":"image_31122025_12_56_46_10933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37bc5692b2385971309896566546daea.jpg","text":"TemporaryFile(/tmp/multipartBody7858615953003529440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190523362,"filename":"image_31122025_12_57_05_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99d958b21654c442ace6bba0b8982edd.jpg","text":"TemporaryFile(/tmp/multipartBody2123000504518690207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190523362,"filename":"image_31122025_12_56_55_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899531","file1":"1401899525","file0":"1401899523","file4":"1401899535","file5":"1401899542","file3":"1401899533"},"map_files_photo_id_array":[{"photo_id":"1401899542","filename":"file5"},{"photo_id":"1401899531","filename":"file2"},{"photo_id":"1401899535","filename":"file4"},{"photo_id":"1401899525","filename":"file1"},{"photo_id":"1401899523","filename":"file0"},{"photo_id":"1401899533","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401899542":["hashtag1","hashtag2"]},{"1401899533":["hashtag1","hashtag2"]},{"1401899535":["hashtag1","hashtag2"]},{"1401899523":["hashtag1","hashtag2"]},{"1401899531":["hashtag1","hashtag2"]},{"1401899525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401899542, 1401899533, 1401899535, 1401899523, 1401899531, 1401899525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1938419342041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:15:03.309398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_46_10772.jpg', '/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_56_9875.jpg', '/home/pi/Desktop/images/31122025/12/57/image_31122025_12_58_05_9818.jpg', '/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_15_9895.jpg', '/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_25_9641.jpg', '/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_35_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_46_10772.jpg
/home/pi/Desktop/images/31122025/12/57/image_31122025_12_57_56_9875.jpg
/home/pi/Desktop/images/31122025/12/57/image_31122025_12_58_05_9818.jpg
/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_15_9895.jpg
/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_25_9641.jpg
/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_35_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899545","1401899547","1401899543","1401899552","1401899555","1401899549"],"photo_ids_order":["1401899543","1401899545","1401899547","1401899549","1401899552","1401899555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd9b8bf189870656a11dead15f1bfa90.jpg","text":"TemporaryFile(/tmp/multipartBody8764311202567671289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190564115,"filename":"image_31122025_12_57_56_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5185a3bf1ac6837a7bf5b6eb80825f3c.jpg","text":"TemporaryFile(/tmp/multipartBody178208802011923476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190564115,"filename":"image_31122025_12_58_05_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2564ff0e60758f8be8e87faffa9c88eb.jpg","text":"TemporaryFile(/tmp/multipartBody1704075236739411376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190564115,"filename":"image_31122025_12_57_46_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db459e87db68bf05216a1dc09f58c8e8.jpg","text":"TemporaryFile(/tmp/multipartBody3141718134407869136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190564115,"filename":"image_31122025_12_58_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/527d59081b1d83e31d14cfff21ab7bce.jpg","text":"TemporaryFile(/tmp/multipartBody101280890803290109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190564115,"filename":"image_31122025_12_58_35_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bcfe572fd01105b2fab04654c0278ff.jpg","text":"TemporaryFile(/tmp/multipartBody1506467252916885326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190564115,"filename":"image_31122025_12_58_15_9895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899547","file1":"1401899545","file0":"1401899543","file4":"1401899552","file5":"1401899555","file3":"1401899549"},"map_files_photo_id_array":[{"photo_id":"1401899555","filename":"file5"},{"photo_id":"1401899547","filename":"file2"},{"photo_id":"1401899552","filename":"file4"},{"photo_id":"1401899545","filename":"file1"},{"photo_id":"1401899543","filename":"file0"},{"photo_id":"1401899549","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401899545":["hashtag1","hashtag2"]},{"1401899547":["hashtag1","hashtag2"]},{"1401899543":["hashtag1","hashtag2"]},{"1401899552":["hashtag1","hashtag2"]},{"1401899555":["hashtag1","hashtag2"]},{"1401899549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401899545, 1401899547, 1401899543, 1401899552, 1401899555, 1401899549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49227690696716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:15:42.722361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_35_2669.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_39_3791.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_42_2735.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_44_2548.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_48_3579.jpg', '/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_50_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_35_2669.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_39_3791.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_42_2735.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_44_2548.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_48_3579.jpg
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_48_50_2596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899566","1401899565","1401899568","1401899561","1401899564","1401899567"],"photo_ids_order":["1401899561","1401899564","1401899565","1401899566","1401899567","1401899568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/933a6ec32252ec54250c571c741e80b2.jpg","text":"TemporaryFile(/tmp/multipartBody7242901353252404620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190604576,"filename":"image_03112025_18_48_44_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6a1733a13a5462e3b1e926204b6e255.jpg","text":"TemporaryFile(/tmp/multipartBody7607583925051901619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190604576,"filename":"image_03112025_18_48_42_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b68a4826cd1ea13b40c1e4b2ee3a7387.jpg","text":"TemporaryFile(/tmp/multipartBody5382696317084798704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190604576,"filename":"image_03112025_18_48_50_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1aedf1669d84fc3f12a5d590ed54118e.jpg","text":"TemporaryFile(/tmp/multipartBody2297502814955063823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190604576,"filename":"image_03112025_18_48_35_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4065a3b3f428a0eef10f4d7e0eb49961.jpg","text":"TemporaryFile(/tmp/multipartBody1157008271223217953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190604576,"filename":"image_03112025_18_48_39_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d43673729a573e8e26331635f425b1c5.jpg","text":"TemporaryFile(/tmp/multipartBody8210553701390720016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190604576,"filename":"image_03112025_18_48_48_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899565","file1":"1401899564","file0":"1401899561","file4":"1401899567","file5":"1401899568","file3":"1401899566"},"map_files_photo_id_array":[{"photo_id":"1401899568","filename":"file5"},{"photo_id":"1401899565","filename":"file2"},{"photo_id":"1401899567","filename":"file4"},{"photo_id":"1401899564","filename":"file1"},{"photo_id":"1401899561","filename":"file0"},{"photo_id":"1401899566","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401899566":["hashtag1","hashtag2"]},{"1401899565":["hashtag1","hashtag2"]},{"1401899568":["hashtag1","hashtag2"]},{"1401899561":["hashtag1","hashtag2"]},{"1401899564":["hashtag1","hashtag2"]},{"1401899567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401899566, 1401899565, 1401899568, 1401899561, 1401899564, 1401899567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.468053579330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:16:21.849793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_46_10794.jpg', '/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_56_9890.jpg', '/home/pi/Desktop/images/31122025/12/58/image_31122025_12_59_05_9705.jpg', '/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_15_9731.jpg', '/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_25_9863.jpg', '/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_36_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_46_10794.jpg
/home/pi/Desktop/images/31122025/12/58/image_31122025_12_58_56_9890.jpg
/home/pi/Desktop/images/31122025/12/58/image_31122025_12_59_05_9705.jpg
/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_15_9731.jpg
/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_25_9863.jpg
/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_36_10843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899596","1401899581","1401899577","1401899589","1401899594","1401899606"],"photo_ids_order":["1401899577","1401899581","1401899589","1401899594","1401899596","1401899606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baa3b80211d94936c63b92cc01810e59.jpg","text":"TemporaryFile(/tmp/multipartBody7217073367033161123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190642581,"filename":"image_31122025_12_59_25_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20e74fa8740f7071df7ed2694909928d.jpg","text":"TemporaryFile(/tmp/multipartBody9188877298129070616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190642581,"filename":"image_31122025_12_58_56_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/163854cc408eec6436af78c7854b34b0.jpg","text":"TemporaryFile(/tmp/multipartBody9037950978045199926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190642581,"filename":"image_31122025_12_58_46_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8b197173a45185cf00bc92b69bd62e6.jpg","text":"TemporaryFile(/tmp/multipartBody6183244322482553459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190642581,"filename":"image_31122025_12_59_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fecb1721b8e1e080e6034e5d8ee6345e.jpg","text":"TemporaryFile(/tmp/multipartBody4571634702658598530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190642581,"filename":"image_31122025_12_59_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1db8900ab0b7487496072841146f6c3a.jpg","text":"TemporaryFile(/tmp/multipartBody7345791920588143901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190642581,"filename":"image_31122025_12_59_36_10843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899589","file1":"1401899581","file0":"1401899577","file4":"1401899596","file5":"1401899606","file3":"1401899594"},"map_files_photo_id_array":[{"photo_id":"1401899606","filename":"file5"},{"photo_id":"1401899589","filename":"file2"},{"photo_id":"1401899596","filename":"file4"},{"photo_id":"1401899581","filename":"file1"},{"photo_id":"1401899577","filename":"file0"},{"photo_id":"1401899594","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401899596":["hashtag1","hashtag2"]},{"1401899581":["hashtag1","hashtag2"]},{"1401899577":["hashtag1","hashtag2"]},{"1401899589":["hashtag1","hashtag2"]},{"1401899594":["hashtag1","hashtag2"]},{"1401899606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401899596, 1401899581, 1401899577, 1401899589, 1401899594, 1401899606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10635828971863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:17:02.824991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_46_9828.jpg', '/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_55_9696.jpg', '/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_14_10040.jpg', '/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_24_10708.jpg', '/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_35_10567.jpg', '/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_44_8718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_46_9828.jpg
/home/pi/Desktop/images/31122025/12/59/image_31122025_12_59_55_9696.jpg
/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_14_10040.jpg
/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_24_10708.jpg
/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_35_10567.jpg
/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_44_8718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899636","1401899615","1401899629","1401899617","1401899614","1401899634"],"photo_ids_order":["1401899614","1401899615","1401899617","1401899629","1401899634","1401899636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95ebbecfe27ba3e713f3d01945da5b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4382646144619902985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190683642,"filename":"image_31122025_13_01_44_8718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58675677bf6e9eec5cc1c880c2518c69.jpg","text":"TemporaryFile(/tmp/multipartBody5386933928115805086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190683642,"filename":"image_31122025_12_59_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fb2e54a03b332d2501c24a8b1fbd09a.jpg","text":"TemporaryFile(/tmp/multipartBody5516924362681289534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190683642,"filename":"image_31122025_13_01_24_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c7d4b74ec4807429401c6412ac72951.jpg","text":"TemporaryFile(/tmp/multipartBody8073181903658562964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190683642,"filename":"image_31122025_13_01_14_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ed94cd4bbd9169b10e5bb250d4c59ae.jpg","text":"TemporaryFile(/tmp/multipartBody6975683259582220908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190683642,"filename":"image_31122025_12_59_46_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74888775a5516271b3ddf43e7467570c.jpg","text":"TemporaryFile(/tmp/multipartBody822037617665686546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190683642,"filename":"image_31122025_13_01_35_10567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899617","file1":"1401899615","file0":"1401899614","file4":"1401899634","file5":"1401899636","file3":"1401899629"},"map_files_photo_id_array":[{"photo_id":"1401899636","filename":"file5"},{"photo_id":"1401899617","filename":"file2"},{"photo_id":"1401899634","filename":"file4"},{"photo_id":"1401899615","filename":"file1"},{"photo_id":"1401899614","filename":"file0"},{"photo_id":"1401899629","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401899636":["hashtag1","hashtag2"]},{"1401899615":["hashtag1","hashtag2"]},{"1401899629":["hashtag1","hashtag2"]},{"1401899617":["hashtag1","hashtag2"]},{"1401899614":["hashtag1","hashtag2"]},{"1401899634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401899636, 1401899615, 1401899629, 1401899617, 1401899614, 1401899634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48889970779419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:17:42.113464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/48/image_03112025_18_49_00_3770.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_03_2810.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_05_2761.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_11_2615.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_14_2661.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_18_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/48/image_03112025_18_49_00_3770.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_03_2810.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_05_2761.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_11_2615.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_14_2661.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_18_3561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401899833","1401899641","1401899675","1401899762","1401899903","1401899711"],"photo_ids_order":["1401899641","1401899675","1401899711","1401899762","1401899833","1401899903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbaeac76095a3a765cf25a7d5ec2acf3.jpg","text":"TemporaryFile(/tmp/multipartBody604388160662153092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190723969,"filename":"image_03112025_18_49_14_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/810669d65d7270b41a295bfa08efbe55.jpg","text":"TemporaryFile(/tmp/multipartBody5341973896768741406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190723969,"filename":"image_03112025_18_49_00_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a15da64e12d05d8d470de3088ad05d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6409672818602485633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190723969,"filename":"image_03112025_18_49_03_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25b7416a4cccef843f566dba1d24b811.jpg","text":"TemporaryFile(/tmp/multipartBody1077395488093290465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190723969,"filename":"image_03112025_18_49_11_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/622776c4f9ca0bfcd31f27bd1403f393.jpg","text":"TemporaryFile(/tmp/multipartBody7897815808469444208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190723969,"filename":"image_03112025_18_49_18_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88559c3a7ce8ac928b2870c1b4715ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1936032677844165887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190723969,"filename":"image_03112025_18_49_05_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401899711","file1":"1401899675","file0":"1401899641","file4":"1401899833","file5":"1401899903","file3":"1401899762"},"map_files_photo_id_array":[{"photo_id":"1401899903","filename":"file5"},{"photo_id":"1401899711","filename":"file2"},{"photo_id":"1401899833","filename":"file4"},{"photo_id":"1401899675","filename":"file1"},{"photo_id":"1401899641","filename":"file0"},{"photo_id":"1401899762","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401899833":["hashtag1","hashtag2"]},{"1401899641":["hashtag1","hashtag2"]},{"1401899675":["hashtag1","hashtag2"]},{"1401899762":["hashtag1","hashtag2"]},{"1401899903":["hashtag1","hashtag2"]},{"1401899711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401899833, 1401899641, 1401899675, 1401899762, 1401899903, 1401899711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42895531654358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:18:22.308977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_55_10929.jpg', '/home/pi/Desktop/images/31122025/13/01/image_31122025_13_02_04_9624.jpg', '/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_14_9725.jpg', '/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_25_10626.jpg', '/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_35_9999.jpg', '/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_44_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/01/image_31122025_13_01_55_10929.jpg
/home/pi/Desktop/images/31122025/13/01/image_31122025_13_02_04_9624.jpg
/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_14_9725.jpg
/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_25_10626.jpg
/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_35_9999.jpg
/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_44_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900066","1401900051","1401900069","1401900048","1401900041","1401900064"],"photo_ids_order":["1401900041","1401900048","1401900051","1401900064","1401900066","1401900069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9034c3b46e9296c13156c0c3fb5b7b1.jpg","text":"TemporaryFile(/tmp/multipartBody3503788154676813683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190763067,"filename":"image_31122025_13_02_35_9999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9bab260bc8679fe8893e71019640f94.jpg","text":"TemporaryFile(/tmp/multipartBody2545747532849209380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190763067,"filename":"image_31122025_13_02_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0960bc61400a6d322aae89d7e7390bbc.jpg","text":"TemporaryFile(/tmp/multipartBody2975597204059736056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190763067,"filename":"image_31122025_13_02_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5643b7eb86ff5f980b562233cfa3b6d2.jpg","text":"TemporaryFile(/tmp/multipartBody1892692243997156534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190763067,"filename":"image_31122025_13_02_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9671749bb6ea35055d347989c0ff394.jpg","text":"TemporaryFile(/tmp/multipartBody5020129403839349721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190763067,"filename":"image_31122025_13_01_55_10929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f2a5039151455d43253d91fa91ecbd6.jpg","text":"TemporaryFile(/tmp/multipartBody3794646028058837882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190763067,"filename":"image_31122025_13_02_25_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900051","file1":"1401900048","file0":"1401900041","file4":"1401900066","file5":"1401900069","file3":"1401900064"},"map_files_photo_id_array":[{"photo_id":"1401900069","filename":"file5"},{"photo_id":"1401900051","filename":"file2"},{"photo_id":"1401900066","filename":"file4"},{"photo_id":"1401900048","filename":"file1"},{"photo_id":"1401900041","filename":"file0"},{"photo_id":"1401900064","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900066":["hashtag1","hashtag2"]},{"1401900051":["hashtag1","hashtag2"]},{"1401900069":["hashtag1","hashtag2"]},{"1401900048":["hashtag1","hashtag2"]},{"1401900041":["hashtag1","hashtag2"]},{"1401900064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900066, 1401900051, 1401900069, 1401900048, 1401900041, 1401900064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1932430267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:19:03.432769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_54_9621.jpg', '/home/pi/Desktop/images/31122025/13/02/image_31122025_13_03_05_10739.jpg', '/home/pi/Desktop/images/31122025/13/03/image_31122025_13_03_14_9592.jpg', '/home/pi/Desktop/images/31122025/13/03/image_31122025_13_03_24_9814.jpg', '/home/pi/Desktop/images/31122025/13/03/image_31122025_13_03_34_9637.jpg', '/home/pi/Desktop/images/31122025/13/03/image_31122025_13_03_44_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/02/image_31122025_13_02_54_9621.jpg
/home/pi/Desktop/images/31122025/13/02/image_31122025_13_03_05_10739.jpg
/home/pi/Desktop/images/31122025/13/03/image_31122025_13_03_14_9592.jpg
/home/pi/Desktop/images/31122025/13/03/image_31122025_13_03_24_9814.jpg
/home/pi/Desktop/images/31122025/13/03/image_31122025_13_03_34_9637.jpg
/home/pi/Desktop/images/31122025/13/03/image_31122025_13_03_44_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900081","1401900089","1401900080","1401900083","1401900086","1401900079"],"photo_ids_order":["1401900079","1401900080","1401900081","1401900083","1401900086","1401900089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51cf4c340cf63ba74a655fa91023a9ff.jpg","text":"TemporaryFile(/tmp/multipartBody1120409199561868424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190804259,"filename":"image_31122025_13_03_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c3cc8fa76bb93be848ae262e887aac8.jpg","text":"TemporaryFile(/tmp/multipartBody1473335754808062209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190804259,"filename":"image_31122025_13_03_44_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b217793b78dc361736e78751e7307dea.jpg","text":"TemporaryFile(/tmp/multipartBody3549046280166912710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190804259,"filename":"image_31122025_13_03_05_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ffc70636f2d67f3234dd284599d06c6.jpg","text":"TemporaryFile(/tmp/multipartBody7969350328818646095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190804259,"filename":"image_31122025_13_03_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/001bb0794aad70145575865a29aa8b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5591474518545740173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190804259,"filename":"image_31122025_13_03_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adec47c990a2761f1dc9519070038ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6202397421962346693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190804259,"filename":"image_31122025_13_02_54_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900081","file1":"1401900080","file0":"1401900079","file4":"1401900086","file5":"1401900089","file3":"1401900083"},"map_files_photo_id_array":[{"photo_id":"1401900089","filename":"file5"},{"photo_id":"1401900081","filename":"file2"},{"photo_id":"1401900086","filename":"file4"},{"photo_id":"1401900080","filename":"file1"},{"photo_id":"1401900079","filename":"file0"},{"photo_id":"1401900083","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900081":["hashtag1","hashtag2"]},{"1401900089":["hashtag1","hashtag2"]},{"1401900080":["hashtag1","hashtag2"]},{"1401900083":["hashtag1","hashtag2"]},{"1401900086":["hashtag1","hashtag2"]},{"1401900079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900081, 1401900089, 1401900080, 1401900083, 1401900086, 1401900079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.516191720962524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:20:03.102392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/03/image_31122025_13_04_04_10617.jpg', '/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_14_9536.jpg', '/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_24_9686.jpg', '/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_34_10525.jpg', '/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_44_9532.jpg', '/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_55_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/03/image_31122025_13_04_04_10617.jpg
/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_14_9536.jpg
/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_24_9686.jpg
/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_34_10525.jpg
/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_44_9532.jpg
/home/pi/Desktop/images/31122025/13/04/image_31122025_13_04_55_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900133","1401900138","1401900140","1401900110","1401900104","1401900136"],"photo_ids_order":["1401900104","1401900110","1401900133","1401900136","1401900138","1401900140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a6f2d315b80a10ee6476ed5353cb1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2754715017642683027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190863655,"filename":"image_31122025_13_04_24_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df2f0aadf86ea11ce6e0fd4429082dc9.jpg","text":"TemporaryFile(/tmp/multipartBody4258895426858061890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190863655,"filename":"image_31122025_13_04_44_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bb31c64282246549a6bf1d08a8523a1.jpg","text":"TemporaryFile(/tmp/multipartBody2812935068661797786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190863655,"filename":"image_31122025_13_04_55_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d4666c742a74abe6dc8cc7879a2e4ba.jpg","text":"TemporaryFile(/tmp/multipartBody2443125979408282411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190863655,"filename":"image_31122025_13_04_14_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8a72cb10d89a39d881c3a5e440f5ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6737296974472727130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190863655,"filename":"image_31122025_13_04_04_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6a92bf746c123279b0bf8c8789dc4fa.jpg","text":"TemporaryFile(/tmp/multipartBody3509587941780772196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190863655,"filename":"image_31122025_13_04_34_10525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900133","file1":"1401900110","file0":"1401900104","file4":"1401900138","file5":"1401900140","file3":"1401900136"},"map_files_photo_id_array":[{"photo_id":"1401900140","filename":"file5"},{"photo_id":"1401900133","filename":"file2"},{"photo_id":"1401900138","filename":"file4"},{"photo_id":"1401900110","filename":"file1"},{"photo_id":"1401900104","filename":"file0"},{"photo_id":"1401900136","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900133":["hashtag1","hashtag2"]},{"1401900138":["hashtag1","hashtag2"]},{"1401900140":["hashtag1","hashtag2"]},{"1401900110":["hashtag1","hashtag2"]},{"1401900104":["hashtag1","hashtag2"]},{"1401900136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900133, 1401900138, 1401900140, 1401900110, 1401900104, 1401900136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5407440662384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:20:42.711901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_20_2696.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_23_2782.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_26_2834.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_30_3637.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_32_2633.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_35_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_20_2696.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_23_2782.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_26_2834.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_30_3637.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_32_2633.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_35_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900238","1401900252","1401900185","1401900230","1401900247","1401900235"],"photo_ids_order":["1401900185","1401900230","1401900235","1401900238","1401900247","1401900252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90aa84e081a39b2075c2fbdfe19e4b2b.jpg","text":"TemporaryFile(/tmp/multipartBody7999214406886504690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190904532,"filename":"image_03112025_18_49_30_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da08628f62865f6e3b98da9e36ac7881.jpg","text":"TemporaryFile(/tmp/multipartBody4665451081885136510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190904532,"filename":"image_03112025_18_49_35_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9c63fe0dfde906e089ecffa51099fcf.jpg","text":"TemporaryFile(/tmp/multipartBody7258716854888654620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190904532,"filename":"image_03112025_18_49_20_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fae82ff13cd5889ca940d7405fa4657.jpg","text":"TemporaryFile(/tmp/multipartBody7387362245144442213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190904532,"filename":"image_03112025_18_49_23_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3d3de55297ab724a547e5e80244672e.jpg","text":"TemporaryFile(/tmp/multipartBody5095837499444066053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190904532,"filename":"image_03112025_18_49_32_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e29a5c92b6c2cae70098241341d6853.jpg","text":"TemporaryFile(/tmp/multipartBody1805106881144050928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190904532,"filename":"image_03112025_18_49_26_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900235","file1":"1401900230","file0":"1401900185","file4":"1401900247","file5":"1401900252","file3":"1401900238"},"map_files_photo_id_array":[{"photo_id":"1401900252","filename":"file5"},{"photo_id":"1401900235","filename":"file2"},{"photo_id":"1401900247","filename":"file4"},{"photo_id":"1401900230","filename":"file1"},{"photo_id":"1401900185","filename":"file0"},{"photo_id":"1401900238","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401900238":["hashtag1","hashtag2"]},{"1401900252":["hashtag1","hashtag2"]},{"1401900185":["hashtag1","hashtag2"]},{"1401900230":["hashtag1","hashtag2"]},{"1401900247":["hashtag1","hashtag2"]},{"1401900235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401900238, 1401900252, 1401900185, 1401900230, 1401900247, 1401900235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.278138875961304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:21:21.901990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/04/image_31122025_13_05_04_9812.jpg', '/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_14_9663.jpg', '/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_24_9726.jpg', '/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_35_10835.jpg', '/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_44_9781.jpg', '/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_54_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/04/image_31122025_13_05_04_9812.jpg
/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_14_9663.jpg
/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_24_9726.jpg
/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_35_10835.jpg
/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_44_9781.jpg
/home/pi/Desktop/images/31122025/13/05/image_31122025_13_05_54_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900276","1401900285","1401900267","1401900287","1401900284","1401900283"],"photo_ids_order":["1401900267","1401900276","1401900283","1401900284","1401900285","1401900287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/743aac0c083f0ab28880493dc3b4f832.jpg","text":"TemporaryFile(/tmp/multipartBody1701421921148638517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190942544,"filename":"image_31122025_13_05_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d373201e9c91c2c2c7041be0c8bf94d.jpg","text":"TemporaryFile(/tmp/multipartBody2230121496889086851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190942544,"filename":"image_31122025_13_05_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa5b40833646aa6774cdd85bdbc4216e.jpg","text":"TemporaryFile(/tmp/multipartBody1264726910931169741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190942544,"filename":"image_31122025_13_05_04_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f71b580ea6f74b89e636710b79807e4.jpg","text":"TemporaryFile(/tmp/multipartBody5807829140516571334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190942544,"filename":"image_31122025_13_05_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73d17a909ee7f283a5179ca7cdfc496b.jpg","text":"TemporaryFile(/tmp/multipartBody3023969642171502805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190942544,"filename":"image_31122025_13_05_35_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a8e662cb3bdb1b40c02f18d2d8691f4.jpg","text":"TemporaryFile(/tmp/multipartBody5496846111544673963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190942544,"filename":"image_31122025_13_05_24_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900283","file1":"1401900276","file0":"1401900267","file4":"1401900285","file5":"1401900287","file3":"1401900284"},"map_files_photo_id_array":[{"photo_id":"1401900287","filename":"file5"},{"photo_id":"1401900283","filename":"file2"},{"photo_id":"1401900285","filename":"file4"},{"photo_id":"1401900276","filename":"file1"},{"photo_id":"1401900267","filename":"file0"},{"photo_id":"1401900284","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900276":["hashtag1","hashtag2"]},{"1401900285":["hashtag1","hashtag2"]},{"1401900267":["hashtag1","hashtag2"]},{"1401900287":["hashtag1","hashtag2"]},{"1401900284":["hashtag1","hashtag2"]},{"1401900283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900276, 1401900285, 1401900267, 1401900287, 1401900284, 1401900283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96394920349121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:22:02.538490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/05/image_31122025_13_06_04_9757.jpg', '/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_14_10754.jpg', '/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_24_9858.jpg', '/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_34_9582.jpg', '/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_45_10728.jpg', '/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/05/image_31122025_13_06_04_9757.jpg
/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_14_10754.jpg
/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_24_9858.jpg
/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_34_9582.jpg
/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_45_10728.jpg
/home/pi/Desktop/images/31122025/13/06/image_31122025_13_06_54_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900301","1401900291","1401900293","1401900296","1401900298","1401900292"],"photo_ids_order":["1401900291","1401900292","1401900293","1401900296","1401900298","1401900301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e0115c64f212aee71ff4f2939347c51.jpg","text":"TemporaryFile(/tmp/multipartBody4382624921925245438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190983265,"filename":"image_31122025_13_06_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d321590d613b664eaa81ef5b26f9729.jpg","text":"TemporaryFile(/tmp/multipartBody1348734607412377262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190983265,"filename":"image_31122025_13_06_04_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b90642d224d732ccc57c59f10383b1d.jpg","text":"TemporaryFile(/tmp/multipartBody2076766888804077952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190983265,"filename":"image_31122025_13_06_24_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93d8f0f02e683cda003ed0b13aedc769.jpg","text":"TemporaryFile(/tmp/multipartBody4063460630909745095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190983265,"filename":"image_31122025_13_06_34_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/595c6032080c6c4608e210355866b43a.jpg","text":"TemporaryFile(/tmp/multipartBody1360289123555568360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190983265,"filename":"image_31122025_13_06_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2e85f5c6b73a57a065f020b38ed6a11.jpg","text":"TemporaryFile(/tmp/multipartBody3770765636323202422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767190983265,"filename":"image_31122025_13_06_14_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900293","file1":"1401900292","file0":"1401900291","file4":"1401900298","file5":"1401900301","file3":"1401900296"},"map_files_photo_id_array":[{"photo_id":"1401900301","filename":"file5"},{"photo_id":"1401900293","filename":"file2"},{"photo_id":"1401900298","filename":"file4"},{"photo_id":"1401900292","filename":"file1"},{"photo_id":"1401900291","filename":"file0"},{"photo_id":"1401900296","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900301":["hashtag1","hashtag2"]},{"1401900291":["hashtag1","hashtag2"]},{"1401900293":["hashtag1","hashtag2"]},{"1401900296":["hashtag1","hashtag2"]},{"1401900298":["hashtag1","hashtag2"]},{"1401900292":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900301, 1401900291, 1401900293, 1401900296, 1401900298, 1401900292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.314157247543335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:22:42.108705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_39_3599.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_41_2653.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_44_2588.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_47_3669.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_50_2737.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_56_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_39_3599.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_41_2653.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_44_2588.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_47_3669.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_50_2737.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_56_3649.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.720689058303833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:23:02.924326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/06/image_31122025_13_07_04_9564.jpg', '/home/pi/Desktop/images/31122025/13/07/image_31122025_13_07_14_10633.jpg', '/home/pi/Desktop/images/31122025/13/07/image_31122025_13_07_24_9866.jpg', '/home/pi/Desktop/images/31122025/13/07/image_31122025_13_07_34_9841.jpg', '/home/pi/Desktop/images/31122025/13/07/image_31122025_13_07_54_9668.jpg', '/home/pi/Desktop/images/31122025/13/07/image_31122025_13_08_05_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/06/image_31122025_13_07_04_9564.jpg
/home/pi/Desktop/images/31122025/13/07/image_31122025_13_07_14_10633.jpg
/home/pi/Desktop/images/31122025/13/07/image_31122025_13_07_24_9866.jpg
/home/pi/Desktop/images/31122025/13/07/image_31122025_13_07_34_9841.jpg
/home/pi/Desktop/images/31122025/13/07/image_31122025_13_07_54_9668.jpg
/home/pi/Desktop/images/31122025/13/07/image_31122025_13_08_05_10762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900343","1401900406","1401900345","1401900341","1401900347","1401900340"],"photo_ids_order":["1401900340","1401900341","1401900343","1401900345","1401900347","1401900406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdceecf3a237714274bd0c622eb52fe9.jpg","text":"TemporaryFile(/tmp/multipartBody8827577139693862901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191043705,"filename":"image_31122025_13_07_24_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4306c8f1880533817206360c00a59150.jpg","text":"TemporaryFile(/tmp/multipartBody4890367092267971549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191043705,"filename":"image_31122025_13_08_05_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3145cab23f9441bad41dfa20a56e9ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8499013813486029545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191043705,"filename":"image_31122025_13_07_34_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/164af1cb12059c8e485544471f13f6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6220036258793856183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191043705,"filename":"image_31122025_13_07_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b163dc09b761f6159c5d7a5027bc481.jpg","text":"TemporaryFile(/tmp/multipartBody4263120759398275399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191043705,"filename":"image_31122025_13_07_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d00df4b6e25081a949407b46a8a17ad2.jpg","text":"TemporaryFile(/tmp/multipartBody308320252732625672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191043705,"filename":"image_31122025_13_07_04_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900343","file1":"1401900341","file0":"1401900340","file4":"1401900347","file5":"1401900406","file3":"1401900345"},"map_files_photo_id_array":[{"photo_id":"1401900406","filename":"file5"},{"photo_id":"1401900343","filename":"file2"},{"photo_id":"1401900347","filename":"file4"},{"photo_id":"1401900341","filename":"file1"},{"photo_id":"1401900340","filename":"file0"},{"photo_id":"1401900345","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900343":["hashtag1","hashtag2"]},{"1401900406":["hashtag1","hashtag2"]},{"1401900345":["hashtag1","hashtag2"]},{"1401900341":["hashtag1","hashtag2"]},{"1401900347":["hashtag1","hashtag2"]},{"1401900340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900343, 1401900406, 1401900345, 1401900341, 1401900347, 1401900340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.807201862335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:23:42.316217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_39_3599.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_41_2653.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_44_2588.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_47_3669.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_50_2737.jpg', '/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_56_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_39_3599.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_41_2653.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_44_2588.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_47_3669.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_50_2737.jpg
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_56_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900477","1401900479","1401900482","1401900481","1401900475","1401900472"],"photo_ids_order":["1401900472","1401900475","1401900477","1401900479","1401900481","1401900482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bd7a4e68b56edceffdea33a0ab25597.jpg","text":"TemporaryFile(/tmp/multipartBody2197181052598046205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191084020,"filename":"image_03112025_18_49_44_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2beb0e455d1368962c7e7c52330de68.jpg","text":"TemporaryFile(/tmp/multipartBody2135350020443149572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191084020,"filename":"image_03112025_18_49_47_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb02d9337dffa842a98a9c7312878cb0.jpg","text":"TemporaryFile(/tmp/multipartBody622741154453062713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191084020,"filename":"image_03112025_18_49_56_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77b4cb48a8a60a963a1602ed7dd600c6.jpg","text":"TemporaryFile(/tmp/multipartBody3376470667732766515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191084020,"filename":"image_03112025_18_49_50_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/426973f08fadbd72bd73f17d9eca8a55.jpg","text":"TemporaryFile(/tmp/multipartBody7732276992104545652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191084020,"filename":"image_03112025_18_49_41_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/879a9005d4d093d7bf0d65e3e445e62e.jpg","text":"TemporaryFile(/tmp/multipartBody3877426735492822199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191084020,"filename":"image_03112025_18_49_39_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900477","file1":"1401900475","file0":"1401900472","file4":"1401900481","file5":"1401900482","file3":"1401900479"},"map_files_photo_id_array":[{"photo_id":"1401900482","filename":"file5"},{"photo_id":"1401900477","filename":"file2"},{"photo_id":"1401900481","filename":"file4"},{"photo_id":"1401900475","filename":"file1"},{"photo_id":"1401900472","filename":"file0"},{"photo_id":"1401900479","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401900477":["hashtag1","hashtag2"]},{"1401900479":["hashtag1","hashtag2"]},{"1401900482":["hashtag1","hashtag2"]},{"1401900481":["hashtag1","hashtag2"]},{"1401900475":["hashtag1","hashtag2"]},{"1401900472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401900477, 1401900479, 1401900482, 1401900481, 1401900475, 1401900472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.217485666275024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:24:22.491874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_14_9210.jpg', '/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_24_10665.jpg', '/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_34_9997.jpg', '/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_44_9723.jpg', '/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_54_9895.jpg', '/home/pi/Desktop/images/31122025/13/08/image_31122025_13_09_04_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_14_9210.jpg
/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_24_10665.jpg
/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_34_9997.jpg
/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_44_9723.jpg
/home/pi/Desktop/images/31122025/13/08/image_31122025_13_08_54_9895.jpg
/home/pi/Desktop/images/31122025/13/08/image_31122025_13_09_04_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900640","1401900634","1401900594","1401900642","1401900645","1401900547"],"photo_ids_order":["1401900547","1401900594","1401900634","1401900640","1401900642","1401900645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d50f0f7455aae728ae53ee630e1bf6e4.jpg","text":"TemporaryFile(/tmp/multipartBody1581985967141581770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191123223,"filename":"image_31122025_13_08_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be90ace23ff69c8fb45e4645f25c8320.jpg","text":"TemporaryFile(/tmp/multipartBody4741050818892824616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191123223,"filename":"image_31122025_13_08_34_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0290a60114364eab15a96c9beb97e6b0.jpg","text":"TemporaryFile(/tmp/multipartBody1096122687853448520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191123223,"filename":"image_31122025_13_08_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efca18e512e8277a4a50fbeda144c2ed.jpg","text":"TemporaryFile(/tmp/multipartBody3069162594884722956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191123223,"filename":"image_31122025_13_08_54_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cc0b4e3d51f677cc704becd4c0e834d.jpg","text":"TemporaryFile(/tmp/multipartBody1613036903935969208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191123223,"filename":"image_31122025_13_09_04_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1297820ee9c2ac3a1ca5d7d5b565f2c.jpg","text":"TemporaryFile(/tmp/multipartBody4108351167301317107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191123223,"filename":"image_31122025_13_08_14_9210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900634","file1":"1401900594","file0":"1401900547","file4":"1401900642","file5":"1401900645","file3":"1401900640"},"map_files_photo_id_array":[{"photo_id":"1401900645","filename":"file5"},{"photo_id":"1401900634","filename":"file2"},{"photo_id":"1401900642","filename":"file4"},{"photo_id":"1401900594","filename":"file1"},{"photo_id":"1401900547","filename":"file0"},{"photo_id":"1401900640","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900640":["hashtag1","hashtag2"]},{"1401900634":["hashtag1","hashtag2"]},{"1401900594":["hashtag1","hashtag2"]},{"1401900642":["hashtag1","hashtag2"]},{"1401900645":["hashtag1","hashtag2"]},{"1401900547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900640, 1401900634, 1401900594, 1401900642, 1401900645, 1401900547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34441328048706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:25:03.390816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_14_9922.jpg', '/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_24_10694.jpg', '/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_34_9835.jpg', '/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_44_9841.jpg', '/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_54_9716.jpg', '/home/pi/Desktop/images/31122025/13/09/image_31122025_13_10_05_10788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_14_9922.jpg
/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_24_10694.jpg
/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_34_9835.jpg
/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_44_9841.jpg
/home/pi/Desktop/images/31122025/13/09/image_31122025_13_09_54_9716.jpg
/home/pi/Desktop/images/31122025/13/09/image_31122025_13_10_05_10788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900703","1401900695","1401900689","1401900698","1401900677","1401900701"],"photo_ids_order":["1401900677","1401900689","1401900695","1401900698","1401900701","1401900703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9f5dc6536a9ee6a1a72905559387b76.jpg","text":"TemporaryFile(/tmp/multipartBody1975068564720161060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191164152,"filename":"image_31122025_13_10_05_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ab1396a871ba45d6376b52bc58a19e5.jpg","text":"TemporaryFile(/tmp/multipartBody1456091872233844996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191164152,"filename":"image_31122025_13_09_34_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f8531aea6b1c778ca5c44c0b0c75829.jpg","text":"TemporaryFile(/tmp/multipartBody5713935003910679583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191164152,"filename":"image_31122025_13_09_24_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34493824d746119d0aed66b76b233032.jpg","text":"TemporaryFile(/tmp/multipartBody8428955338963377740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191164152,"filename":"image_31122025_13_09_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65e44fe76a28ca77cb8483d2b7021f1d.jpg","text":"TemporaryFile(/tmp/multipartBody3084802713192469306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191164152,"filename":"image_31122025_13_09_14_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32796294a48b7d25baf387206b58641f.jpg","text":"TemporaryFile(/tmp/multipartBody6261174961227373859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191164152,"filename":"image_31122025_13_09_54_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900695","file1":"1401900689","file0":"1401900677","file4":"1401900701","file5":"1401900703","file3":"1401900698"},"map_files_photo_id_array":[{"photo_id":"1401900703","filename":"file5"},{"photo_id":"1401900695","filename":"file2"},{"photo_id":"1401900701","filename":"file4"},{"photo_id":"1401900689","filename":"file1"},{"photo_id":"1401900677","filename":"file0"},{"photo_id":"1401900698","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900703":["hashtag1","hashtag2"]},{"1401900695":["hashtag1","hashtag2"]},{"1401900689":["hashtag1","hashtag2"]},{"1401900698":["hashtag1","hashtag2"]},{"1401900677":["hashtag1","hashtag2"]},{"1401900701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900703, 1401900695, 1401900689, 1401900698, 1401900677, 1401900701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.330753803253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:25:42.676402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_59_2562.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_03_3593.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_05_2313.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_09_3607.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_11_2663.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_26_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/49/image_03112025_18_49_59_2562.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_03_3593.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_05_2313.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_09_3607.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_11_2663.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_26_3574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900712","1401900715","1401900709","1401900711","1401900714","1401900713"],"photo_ids_order":["1401900709","1401900711","1401900712","1401900713","1401900714","1401900715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04efb16f9cb8bcacf586711ddaac1db5.jpg","text":"TemporaryFile(/tmp/multipartBody3003295467410025507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191204531,"filename":"image_03112025_18_50_05_2313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07fe8081a9413ea99914559df92d3c28.jpg","text":"TemporaryFile(/tmp/multipartBody4793231018641018419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191204531,"filename":"image_03112025_18_50_26_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/923377599bf92bcab95984d0acfbf51f.jpg","text":"TemporaryFile(/tmp/multipartBody7546542627352149122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191204531,"filename":"image_03112025_18_49_59_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/036adae2a6e000961b0414f52dc17b16.jpg","text":"TemporaryFile(/tmp/multipartBody7901285392712131473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191204531,"filename":"image_03112025_18_50_03_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/372df5d9ebc1bbc92bd088b6dce9d179.jpg","text":"TemporaryFile(/tmp/multipartBody8157720492522645621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191204531,"filename":"image_03112025_18_50_11_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0a1a81e4dd171b7c3b347c62da5b46f.jpg","text":"TemporaryFile(/tmp/multipartBody6405560643321736271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191204531,"filename":"image_03112025_18_50_09_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900712","file1":"1401900711","file0":"1401900709","file4":"1401900714","file5":"1401900715","file3":"1401900713"},"map_files_photo_id_array":[{"photo_id":"1401900715","filename":"file5"},{"photo_id":"1401900712","filename":"file2"},{"photo_id":"1401900714","filename":"file4"},{"photo_id":"1401900711","filename":"file1"},{"photo_id":"1401900709","filename":"file0"},{"photo_id":"1401900713","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401900712":["hashtag1","hashtag2"]},{"1401900715":["hashtag1","hashtag2"]},{"1401900709":["hashtag1","hashtag2"]},{"1401900711":["hashtag1","hashtag2"]},{"1401900714":["hashtag1","hashtag2"]},{"1401900713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401900712, 1401900715, 1401900709, 1401900711, 1401900714, 1401900713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99069166183472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:26:21.829720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/10/image_31122025_13_10_14_9726.jpg', '/home/pi/Desktop/images/31122025/13/10/image_31122025_13_10_24_9976.jpg', '/home/pi/Desktop/images/31122025/13/10/image_31122025_13_10_54_10664.jpg', '/home/pi/Desktop/images/31122025/13/10/image_31122025_13_11_04_9611.jpg', '/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_15_10658.jpg', '/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_24_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/10/image_31122025_13_10_14_9726.jpg
/home/pi/Desktop/images/31122025/13/10/image_31122025_13_10_24_9976.jpg
/home/pi/Desktop/images/31122025/13/10/image_31122025_13_10_54_10664.jpg
/home/pi/Desktop/images/31122025/13/10/image_31122025_13_11_04_9611.jpg
/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_15_10658.jpg
/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_24_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900733","1401900721","1401900723","1401900725","1401900728","1401900730"],"photo_ids_order":["1401900721","1401900723","1401900725","1401900728","1401900730","1401900733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be11c217e7b43306ca27ba7c3c23d127.jpg","text":"TemporaryFile(/tmp/multipartBody5183024264315226675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191242567,"filename":"image_31122025_13_11_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9a2d2e769fad097515203da5705042c.jpg","text":"TemporaryFile(/tmp/multipartBody8123106620641745358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191242567,"filename":"image_31122025_13_10_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4baf1d4e0c9d4fd82775880300318c32.jpg","text":"TemporaryFile(/tmp/multipartBody5202591381159986901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191242567,"filename":"image_31122025_13_10_24_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c13016eba1e45270712845c7dad97bb.jpg","text":"TemporaryFile(/tmp/multipartBody1122428411276081124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191242567,"filename":"image_31122025_13_10_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46de1d7ac2bb5e44ba2b4befd5bc49ba.jpg","text":"TemporaryFile(/tmp/multipartBody5111650220977264418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191242567,"filename":"image_31122025_13_11_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0031cc82069fcbcf733390a4f18f2975.jpg","text":"TemporaryFile(/tmp/multipartBody1172442465229909458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191242567,"filename":"image_31122025_13_11_15_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900725","file1":"1401900723","file0":"1401900721","file4":"1401900730","file5":"1401900733","file3":"1401900728"},"map_files_photo_id_array":[{"photo_id":"1401900733","filename":"file5"},{"photo_id":"1401900725","filename":"file2"},{"photo_id":"1401900730","filename":"file4"},{"photo_id":"1401900723","filename":"file1"},{"photo_id":"1401900721","filename":"file0"},{"photo_id":"1401900728","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900733":["hashtag1","hashtag2"]},{"1401900721":["hashtag1","hashtag2"]},{"1401900723":["hashtag1","hashtag2"]},{"1401900725":["hashtag1","hashtag2"]},{"1401900728":["hashtag1","hashtag2"]},{"1401900730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900733, 1401900721, 1401900723, 1401900725, 1401900728, 1401900730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69366645812988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:27:02.825405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_34_9847.jpg', '/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_44_9656.jpg', '/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_55_10645.jpg', '/home/pi/Desktop/images/31122025/13/12/image_31122025_13_12_14_9845.jpg', '/home/pi/Desktop/images/31122025/13/12/image_31122025_13_12_35_10829.jpg', '/home/pi/Desktop/images/31122025/13/12/image_31122025_13_12_44_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_34_9847.jpg
/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_44_9656.jpg
/home/pi/Desktop/images/31122025/13/11/image_31122025_13_11_55_10645.jpg
/home/pi/Desktop/images/31122025/13/12/image_31122025_13_12_14_9845.jpg
/home/pi/Desktop/images/31122025/13/12/image_31122025_13_12_35_10829.jpg
/home/pi/Desktop/images/31122025/13/12/image_31122025_13_12_44_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900777","1401900738","1401900761","1401900773","1401900749","1401900736"],"photo_ids_order":["1401900736","1401900738","1401900749","1401900761","1401900773","1401900777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c418d67fbdd00caf6ca2430f9921a69.jpg","text":"TemporaryFile(/tmp/multipartBody2049185320400591423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191283581,"filename":"image_31122025_13_12_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6e439304fb4b14f020dee48f61bfe09.jpg","text":"TemporaryFile(/tmp/multipartBody4216770131277597764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191283581,"filename":"image_31122025_13_11_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34728550cd5c0da7a991ba5a3511062f.jpg","text":"TemporaryFile(/tmp/multipartBody4999620566447361360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191283581,"filename":"image_31122025_13_12_14_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7e5053f2c5912ecca71d99589362a23.jpg","text":"TemporaryFile(/tmp/multipartBody7287984613873024875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191283581,"filename":"image_31122025_13_12_35_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca9579c8ec98e910abd7149cd8ca6e66.jpg","text":"TemporaryFile(/tmp/multipartBody3198609999404293360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191283581,"filename":"image_31122025_13_11_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f32cecf1d4b8c8acb51066adf86f5fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2902723486337671953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191283581,"filename":"image_31122025_13_11_34_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900749","file1":"1401900738","file0":"1401900736","file4":"1401900773","file5":"1401900777","file3":"1401900761"},"map_files_photo_id_array":[{"photo_id":"1401900777","filename":"file5"},{"photo_id":"1401900749","filename":"file2"},{"photo_id":"1401900773","filename":"file4"},{"photo_id":"1401900738","filename":"file1"},{"photo_id":"1401900736","filename":"file0"},{"photo_id":"1401900761","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900777":["hashtag1","hashtag2"]},{"1401900738":["hashtag1","hashtag2"]},{"1401900761":["hashtag1","hashtag2"]},{"1401900773":["hashtag1","hashtag2"]},{"1401900749":["hashtag1","hashtag2"]},{"1401900736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900777, 1401900738, 1401900761, 1401900773, 1401900749, 1401900736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.240333557128906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:27:42.053241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_29_2678.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_32_2738.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_41_2818.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_45_3650.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_47_2692.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_50_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_29_2678.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_32_2738.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_41_2818.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_45_3650.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_47_2692.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_50_2547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900798","1401900792","1401900782","1401900785","1401900799","1401900784"],"photo_ids_order":["1401900782","1401900784","1401900785","1401900792","1401900798","1401900799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0874a8bbb19f61b707e99d0162a9687b.jpg","text":"TemporaryFile(/tmp/multipartBody6412087983144964875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191323873,"filename":"image_03112025_18_50_47_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72d11b7221c8789ed35904946365f443.jpg","text":"TemporaryFile(/tmp/multipartBody2569325818381259483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191323873,"filename":"image_03112025_18_50_45_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9b74399650409b19bbdfce716374267.jpg","text":"TemporaryFile(/tmp/multipartBody3527144547124613984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191323873,"filename":"image_03112025_18_50_29_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75ce66d0df46411d49bd05e79741718c.jpg","text":"TemporaryFile(/tmp/multipartBody8705684860342285721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191323873,"filename":"image_03112025_18_50_41_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae2d3f98e1dabb0ddfdc4d937c977b8d.jpg","text":"TemporaryFile(/tmp/multipartBody5576943714583036899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191323873,"filename":"image_03112025_18_50_50_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e17ec5f3be67eb34a4e9ec320754f39.jpg","text":"TemporaryFile(/tmp/multipartBody6343238641706490679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191323873,"filename":"image_03112025_18_50_32_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900785","file1":"1401900784","file0":"1401900782","file4":"1401900798","file5":"1401900799","file3":"1401900792"},"map_files_photo_id_array":[{"photo_id":"1401900799","filename":"file5"},{"photo_id":"1401900785","filename":"file2"},{"photo_id":"1401900798","filename":"file4"},{"photo_id":"1401900784","filename":"file1"},{"photo_id":"1401900782","filename":"file0"},{"photo_id":"1401900792","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401900798":["hashtag1","hashtag2"]},{"1401900792":["hashtag1","hashtag2"]},{"1401900782":["hashtag1","hashtag2"]},{"1401900785":["hashtag1","hashtag2"]},{"1401900799":["hashtag1","hashtag2"]},{"1401900784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401900798, 1401900792, 1401900782, 1401900785, 1401900799, 1401900784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39044713973999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:28:22.232043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/12/image_31122025_13_12_54_9712.jpg', '/home/pi/Desktop/images/31122025/13/12/image_31122025_13_13_04_9753.jpg', '/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_15_10837.jpg', '/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_24_9827.jpg', '/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_34_9590.jpg', '/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_44_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/12/image_31122025_13_12_54_9712.jpg
/home/pi/Desktop/images/31122025/13/12/image_31122025_13_13_04_9753.jpg
/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_15_10837.jpg
/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_24_9827.jpg
/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_34_9590.jpg
/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_44_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900822","1401900825","1401900813","1401900806","1401900821","1401900809"],"photo_ids_order":["1401900806","1401900809","1401900813","1401900821","1401900822","1401900825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a81fc7fa4d3209a8449bf03c8cc072d3.jpg","text":"TemporaryFile(/tmp/multipartBody6799319116885049333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191362951,"filename":"image_31122025_13_13_34_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e367fddff45140b9f6f37c2f82ff13f.jpg","text":"TemporaryFile(/tmp/multipartBody2792043808646967335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191362951,"filename":"image_31122025_13_13_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bcad627630122b572be7b534fec9468.jpg","text":"TemporaryFile(/tmp/multipartBody1721548006807924589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191362951,"filename":"image_31122025_13_13_15_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5a38fd7cc2805b6d2e3a3f7f64ba924.jpg","text":"TemporaryFile(/tmp/multipartBody1620837452029925846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191362951,"filename":"image_31122025_13_12_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/969cf5274a01579f9830a6cb7c50234a.jpg","text":"TemporaryFile(/tmp/multipartBody9045733472816234929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191362951,"filename":"image_31122025_13_13_24_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7dccf990b8e668f489894d652fec472.jpg","text":"TemporaryFile(/tmp/multipartBody5867174175958417755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191362951,"filename":"image_31122025_13_13_04_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900813","file1":"1401900809","file0":"1401900806","file4":"1401900822","file5":"1401900825","file3":"1401900821"},"map_files_photo_id_array":[{"photo_id":"1401900825","filename":"file5"},{"photo_id":"1401900813","filename":"file2"},{"photo_id":"1401900822","filename":"file4"},{"photo_id":"1401900809","filename":"file1"},{"photo_id":"1401900806","filename":"file0"},{"photo_id":"1401900821","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900822":["hashtag1","hashtag2"]},{"1401900825":["hashtag1","hashtag2"]},{"1401900813":["hashtag1","hashtag2"]},{"1401900806":["hashtag1","hashtag2"]},{"1401900821":["hashtag1","hashtag2"]},{"1401900809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900822, 1401900825, 1401900813, 1401900806, 1401900821, 1401900809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.624107122421265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:29:03.277809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_54_10739.jpg', '/home/pi/Desktop/images/31122025/13/13/image_31122025_13_14_04_9805.jpg', '/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_14_9710.jpg', '/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_24_9755.jpg', '/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_34_10654.jpg', '/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_44_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/13/image_31122025_13_13_54_10739.jpg
/home/pi/Desktop/images/31122025/13/13/image_31122025_13_14_04_9805.jpg
/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_14_9710.jpg
/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_24_9755.jpg
/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_34_10654.jpg
/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_44_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900852","1401900840","1401900843","1401900831","1401900845","1401900848"],"photo_ids_order":["1401900831","1401900840","1401900843","1401900845","1401900848","1401900852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c8859602d0b76df4aeba27f06994943.jpg","text":"TemporaryFile(/tmp/multipartBody6318072804819052604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191404134,"filename":"image_31122025_13_14_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af6a55cf6ca469c2a1fc8722c0575f3a.jpg","text":"TemporaryFile(/tmp/multipartBody3671252817713208108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191404134,"filename":"image_31122025_13_14_04_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2df08935aaefff5b9452eef04aff7cd.jpg","text":"TemporaryFile(/tmp/multipartBody6865971004458238916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191404134,"filename":"image_31122025_13_14_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad57edefa27dbfd67735d16bd7a8ac4b.jpg","text":"TemporaryFile(/tmp/multipartBody7496500316935218272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191404134,"filename":"image_31122025_13_13_54_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fafcc85554a041c09b78efed2bbbf36.jpg","text":"TemporaryFile(/tmp/multipartBody8373986217867779595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191404134,"filename":"image_31122025_13_14_24_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46af0a67e38f2023328a40543481a2b6.jpg","text":"TemporaryFile(/tmp/multipartBody3067562753565968067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191404134,"filename":"image_31122025_13_14_34_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900843","file1":"1401900840","file0":"1401900831","file4":"1401900848","file5":"1401900852","file3":"1401900845"},"map_files_photo_id_array":[{"photo_id":"1401900852","filename":"file5"},{"photo_id":"1401900843","filename":"file2"},{"photo_id":"1401900848","filename":"file4"},{"photo_id":"1401900840","filename":"file1"},{"photo_id":"1401900831","filename":"file0"},{"photo_id":"1401900845","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900852":["hashtag1","hashtag2"]},{"1401900840":["hashtag1","hashtag2"]},{"1401900843":["hashtag1","hashtag2"]},{"1401900831":["hashtag1","hashtag2"]},{"1401900845":["hashtag1","hashtag2"]},{"1401900848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900852, 1401900840, 1401900843, 1401900831, 1401900845, 1401900848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64321231842041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:29:42.382744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_53_3590.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_56_2728.jpg', '/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_59_2560.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_02_3631.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_05_2659.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_08_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_53_3590.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_56_2728.jpg
/home/pi/Desktop/images/03112025/18/50/image_03112025_18_50_59_2560.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_02_3631.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_05_2659.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_08_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900864","1401900858","1401900861","1401900860","1401900862","1401900859"],"photo_ids_order":["1401900858","1401900859","1401900860","1401900861","1401900862","1401900864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60038f7b6e158e0f7111625f750e42ec.jpg","text":"TemporaryFile(/tmp/multipartBody8900688946668328580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191444210,"filename":"image_03112025_18_51_08_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/283bed8e4a9d3b876d8304ab5c26904d.jpg","text":"TemporaryFile(/tmp/multipartBody2106086615364094083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191444210,"filename":"image_03112025_18_50_53_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01a99f40e14838e56bb4871a48552f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4205797103491614493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191444210,"filename":"image_03112025_18_51_02_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88ed2e114c3298f1539f3cb046d5fc6d.jpg","text":"TemporaryFile(/tmp/multipartBody318245788248482129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191444210,"filename":"image_03112025_18_50_59_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/380de0feb513056b7d99bd9c02aaa255.jpg","text":"TemporaryFile(/tmp/multipartBody4126643551730399013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191444210,"filename":"image_03112025_18_51_05_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f68fada3c8e2210863a38e5c839359b9.jpg","text":"TemporaryFile(/tmp/multipartBody1121040836872213051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191444210,"filename":"image_03112025_18_50_56_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900860","file1":"1401900859","file0":"1401900858","file4":"1401900862","file5":"1401900864","file3":"1401900861"},"map_files_photo_id_array":[{"photo_id":"1401900864","filename":"file5"},{"photo_id":"1401900860","filename":"file2"},{"photo_id":"1401900862","filename":"file4"},{"photo_id":"1401900859","filename":"file1"},{"photo_id":"1401900858","filename":"file0"},{"photo_id":"1401900861","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401900864":["hashtag1","hashtag2"]},{"1401900858":["hashtag1","hashtag2"]},{"1401900861":["hashtag1","hashtag2"]},{"1401900860":["hashtag1","hashtag2"]},{"1401900862":["hashtag1","hashtag2"]},{"1401900859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401900864, 1401900858, 1401900861, 1401900860, 1401900862, 1401900859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39093542098999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:30:32.521096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_14_2614.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_20_2643.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_23_2662.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_26_3655.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_32_2789.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_36_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_14_2614.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_20_2643.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_23_2662.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_26_3655.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_32_2789.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_36_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900876","1401900879","1401900887","1401900881","1401900886","1401900874"],"photo_ids_order":["1401900874","1401900876","1401900879","1401900881","1401900886","1401900887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/679e6ed8084a371945aac85a65cfcf7d.jpg","text":"TemporaryFile(/tmp/multipartBody1908491706422976496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191494326,"filename":"image_03112025_18_51_20_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c36088dc761621a6cae8e56c3d0da63.jpg","text":"TemporaryFile(/tmp/multipartBody3277936139775203123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191494326,"filename":"image_03112025_18_51_23_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e88cb8ae9ac83e5ac853e16c22121f56.jpg","text":"TemporaryFile(/tmp/multipartBody1743993567931244389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191494326,"filename":"image_03112025_18_51_36_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e65c05058391cca2b68a90c89f0c207.jpg","text":"TemporaryFile(/tmp/multipartBody4650082726681634837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191494326,"filename":"image_03112025_18_51_26_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a38bfa68178460c1217ea5960de4174a.jpg","text":"TemporaryFile(/tmp/multipartBody2532663930618539321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191494326,"filename":"image_03112025_18_51_32_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d452dbb628e60d3f1bbe8c5f149895c.jpg","text":"TemporaryFile(/tmp/multipartBody2582149524079870920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191494326,"filename":"image_03112025_18_51_14_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900879","file1":"1401900876","file0":"1401900874","file4":"1401900886","file5":"1401900887","file3":"1401900881"},"map_files_photo_id_array":[{"photo_id":"1401900887","filename":"file5"},{"photo_id":"1401900879","filename":"file2"},{"photo_id":"1401900886","filename":"file4"},{"photo_id":"1401900876","filename":"file1"},{"photo_id":"1401900874","filename":"file0"},{"photo_id":"1401900881","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401900876":["hashtag1","hashtag2"]},{"1401900879":["hashtag1","hashtag2"]},{"1401900887":["hashtag1","hashtag2"]},{"1401900881":["hashtag1","hashtag2"]},{"1401900886":["hashtag1","hashtag2"]},{"1401900874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401900876, 1401900879, 1401900887, 1401900881, 1401900886, 1401900874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98768925666809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:31:12.731681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_38_2578.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_41_2633.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_45_3774.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_50_2550.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_56_2591.jpg', '/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_59_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_38_2578.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_41_2633.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_45_3774.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_50_2550.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_56_2591.jpg
/home/pi/Desktop/images/03112025/18/51/image_03112025_18_51_59_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900894","1401900897","1401900901","1401900891","1401900899","1401900890"],"photo_ids_order":["1401900890","1401900891","1401900894","1401900897","1401900899","1401900901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28211529ef2d734b9b98108deb4368b6.jpg","text":"TemporaryFile(/tmp/multipartBody5593512294135150055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191534471,"filename":"image_03112025_18_51_45_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10b3369b0228756b1797d7703741b629.jpg","text":"TemporaryFile(/tmp/multipartBody2596064560877814783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191534471,"filename":"image_03112025_18_51_50_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65bf50bb184fca813f052ea71c38e48d.jpg","text":"TemporaryFile(/tmp/multipartBody5498868099866279186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191534471,"filename":"image_03112025_18_51_59_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb2478c3eefa33f0fc711ec4e5740394.jpg","text":"TemporaryFile(/tmp/multipartBody8804445121128873929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191534471,"filename":"image_03112025_18_51_41_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e86cc8cf36602db179ba8016dd47274.jpg","text":"TemporaryFile(/tmp/multipartBody4357464438011613901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191534471,"filename":"image_03112025_18_51_56_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cefa3295ca05da837346d841f9c53f6.jpg","text":"TemporaryFile(/tmp/multipartBody8255737532246862664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191534471,"filename":"image_03112025_18_51_38_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900894","file1":"1401900891","file0":"1401900890","file4":"1401900899","file5":"1401900901","file3":"1401900897"},"map_files_photo_id_array":[{"photo_id":"1401900901","filename":"file5"},{"photo_id":"1401900894","filename":"file2"},{"photo_id":"1401900899","filename":"file4"},{"photo_id":"1401900891","filename":"file1"},{"photo_id":"1401900890","filename":"file0"},{"photo_id":"1401900897","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401900894":["hashtag1","hashtag2"]},{"1401900897":["hashtag1","hashtag2"]},{"1401900901":["hashtag1","hashtag2"]},{"1401900891":["hashtag1","hashtag2"]},{"1401900899":["hashtag1","hashtag2"]},{"1401900890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401900894, 1401900897, 1401900901, 1401900891, 1401900899, 1401900890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.528555154800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:32:02.380805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_54_9756.jpg', '/home/pi/Desktop/images/31122025/13/14/image_31122025_13_15_04_10678.jpg', '/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_14_9830.jpg', '/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_24_9823.jpg', '/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_34_9762.jpg', '/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_45_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/14/image_31122025_13_14_54_9756.jpg
/home/pi/Desktop/images/31122025/13/14/image_31122025_13_15_04_10678.jpg
/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_14_9830.jpg
/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_24_9823.jpg
/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_34_9762.jpg
/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_45_10791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900910","1401900907","1401900909","1401900903","1401900912","1401900905"],"photo_ids_order":["1401900903","1401900905","1401900907","1401900909","1401900910","1401900912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a251557ca2dc1f1c14267f37ff3284e.jpg","text":"TemporaryFile(/tmp/multipartBody5116068880727639764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191583333,"filename":"image_31122025_13_15_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a54112713abcb5acfb5962f8d7f23a3.jpg","text":"TemporaryFile(/tmp/multipartBody1359637496202143095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191583333,"filename":"image_31122025_13_15_14_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efb8b3880b8da2113cdc1a788cfbc6af.jpg","text":"TemporaryFile(/tmp/multipartBody8707354000559689228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191583333,"filename":"image_31122025_13_15_24_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bad287bdfc0dafaba53a948c2f27083.jpg","text":"TemporaryFile(/tmp/multipartBody1333914533931457403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191583333,"filename":"image_31122025_13_14_54_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5666091ec9aaf5281d73ddb575246290.jpg","text":"TemporaryFile(/tmp/multipartBody7908705352019578953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191583333,"filename":"image_31122025_13_15_45_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32ed8d17ba267be307c822d909d5011a.jpg","text":"TemporaryFile(/tmp/multipartBody8172846131312998816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191583333,"filename":"image_31122025_13_15_04_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900907","file1":"1401900905","file0":"1401900903","file4":"1401900910","file5":"1401900912","file3":"1401900909"},"map_files_photo_id_array":[{"photo_id":"1401900912","filename":"file5"},{"photo_id":"1401900907","filename":"file2"},{"photo_id":"1401900910","filename":"file4"},{"photo_id":"1401900905","filename":"file1"},{"photo_id":"1401900903","filename":"file0"},{"photo_id":"1401900909","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900910":["hashtag1","hashtag2"]},{"1401900907":["hashtag1","hashtag2"]},{"1401900909":["hashtag1","hashtag2"]},{"1401900903":["hashtag1","hashtag2"]},{"1401900912":["hashtag1","hashtag2"]},{"1401900905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900910, 1401900907, 1401900909, 1401900903, 1401900912, 1401900905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06658911705017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:32:41.963807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_02_2873.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_05_3686.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_14_3704.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_23_3594.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_33_3861.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_35_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_02_2873.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_05_3686.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_14_3704.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_23_3594.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_33_3861.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_35_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900931","1401900933","1401900930","1401900932","1401900926","1401900929"],"photo_ids_order":["1401900926","1401900929","1401900930","1401900931","1401900932","1401900933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ec9ed50c6d4756339b7afaa4116c3d0.jpg","text":"TemporaryFile(/tmp/multipartBody5927527498830440399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191623775,"filename":"image_03112025_18_52_23_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/519bbee63eac13716a6cf10dc61b06d4.jpg","text":"TemporaryFile(/tmp/multipartBody8122710087377293987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191623775,"filename":"image_03112025_18_52_35_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d600a0607e9fb48dfdf2c671a80b9faf.jpg","text":"TemporaryFile(/tmp/multipartBody8557846664903146796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191623775,"filename":"image_03112025_18_52_14_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54292ea3c934908da51e899396a82dfd.jpg","text":"TemporaryFile(/tmp/multipartBody8007447626901455847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191623775,"filename":"image_03112025_18_52_33_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/363320d3f52e6211992a98320c891492.jpg","text":"TemporaryFile(/tmp/multipartBody3404030457298296647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191623775,"filename":"image_03112025_18_52_02_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e572f686ef1ba005febd13fd30c96b6.jpg","text":"TemporaryFile(/tmp/multipartBody6218026850536582793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191623775,"filename":"image_03112025_18_52_05_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900930","file1":"1401900929","file0":"1401900926","file4":"1401900932","file5":"1401900933","file3":"1401900931"},"map_files_photo_id_array":[{"photo_id":"1401900933","filename":"file5"},{"photo_id":"1401900930","filename":"file2"},{"photo_id":"1401900932","filename":"file4"},{"photo_id":"1401900929","filename":"file1"},{"photo_id":"1401900926","filename":"file0"},{"photo_id":"1401900931","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401900931":["hashtag1","hashtag2"]},{"1401900933":["hashtag1","hashtag2"]},{"1401900930":["hashtag1","hashtag2"]},{"1401900932":["hashtag1","hashtag2"]},{"1401900926":["hashtag1","hashtag2"]},{"1401900929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401900931, 1401900933, 1401900930, 1401900932, 1401900926, 1401900929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.255444288253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:33:22.173010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_54_9798.jpg', '/home/pi/Desktop/images/31122025/13/15/image_31122025_13_16_04_9691.jpg', '/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_14_9681.jpg', '/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_24_10692.jpg', '/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_34_9809.jpg', '/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_44_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/15/image_31122025_13_15_54_9798.jpg
/home/pi/Desktop/images/31122025/13/15/image_31122025_13_16_04_9691.jpg
/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_14_9681.jpg
/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_24_10692.jpg
/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_34_9809.jpg
/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_44_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900946","1401900939","1401900950","1401900953","1401900943","1401900937"],"photo_ids_order":["1401900937","1401900939","1401900943","1401900946","1401900950","1401900953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aa014efd8bce7f3f810cea2dd7d69dd.jpg","text":"TemporaryFile(/tmp/multipartBody1367709994801528578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191662868,"filename":"image_31122025_13_16_24_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/329c575cc962ded700f0260035cf760e.jpg","text":"TemporaryFile(/tmp/multipartBody4787588697312586468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191662868,"filename":"image_31122025_13_16_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2ef40fad32cf5d0c5154e54c796a8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2128511686374265568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191662868,"filename":"image_31122025_13_16_34_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cbe44c6b5e753f5dffb5b129d2b6cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2785459745391179254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191662868,"filename":"image_31122025_13_16_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5287eed51d894de90d49e2aea329e848.jpg","text":"TemporaryFile(/tmp/multipartBody6207478612404265225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191662868,"filename":"image_31122025_13_16_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b4cc438aab431ca193448c479587f58.jpg","text":"TemporaryFile(/tmp/multipartBody5574218753864329361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191662868,"filename":"image_31122025_13_15_54_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900943","file1":"1401900939","file0":"1401900937","file4":"1401900950","file5":"1401900953","file3":"1401900946"},"map_files_photo_id_array":[{"photo_id":"1401900953","filename":"file5"},{"photo_id":"1401900943","filename":"file2"},{"photo_id":"1401900950","filename":"file4"},{"photo_id":"1401900939","filename":"file1"},{"photo_id":"1401900937","filename":"file0"},{"photo_id":"1401900946","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900946":["hashtag1","hashtag2"]},{"1401900939":["hashtag1","hashtag2"]},{"1401900950":["hashtag1","hashtag2"]},{"1401900953":["hashtag1","hashtag2"]},{"1401900943":["hashtag1","hashtag2"]},{"1401900937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900946, 1401900939, 1401900950, 1401900953, 1401900943, 1401900937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35236215591431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:34:03.198904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_54_9634.jpg', '/home/pi/Desktop/images/31122025/13/16/image_31122025_13_17_04_10694.jpg', '/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_14_9722.jpg', '/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_25_10562.jpg', '/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_34_9738.jpg', '/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_44_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/16/image_31122025_13_16_54_9634.jpg
/home/pi/Desktop/images/31122025/13/16/image_31122025_13_17_04_10694.jpg
/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_14_9722.jpg
/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_25_10562.jpg
/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_34_9738.jpg
/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_44_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401900978","1401900972","1401900969","1401900980","1401900974","1401900976"],"photo_ids_order":["1401900969","1401900972","1401900974","1401900976","1401900978","1401900980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/422b311752213d94d0487997cd715cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1834402405536411504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191704033,"filename":"image_31122025_13_17_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adab973e55375f6672492d04642c4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4970143362800515379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191704033,"filename":"image_31122025_13_17_04_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/172153ca60768cbe1491a555a9157422.jpg","text":"TemporaryFile(/tmp/multipartBody2457317432469837411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191704033,"filename":"image_31122025_13_16_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1159e0c0e19f64ae3cc277bc2f79313e.jpg","text":"TemporaryFile(/tmp/multipartBody7548924447711557305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191704033,"filename":"image_31122025_13_17_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/512872524e467e591863484fb5adcff2.jpg","text":"TemporaryFile(/tmp/multipartBody7013764600052016381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191704033,"filename":"image_31122025_13_17_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17fcce2742aa96c15b776a8dff139c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3888656455190904781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191704033,"filename":"image_31122025_13_17_25_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401900974","file1":"1401900972","file0":"1401900969","file4":"1401900978","file5":"1401900980","file3":"1401900976"},"map_files_photo_id_array":[{"photo_id":"1401900980","filename":"file5"},{"photo_id":"1401900974","filename":"file2"},{"photo_id":"1401900978","filename":"file4"},{"photo_id":"1401900972","filename":"file1"},{"photo_id":"1401900969","filename":"file0"},{"photo_id":"1401900976","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401900978":["hashtag1","hashtag2"]},{"1401900972":["hashtag1","hashtag2"]},{"1401900969":["hashtag1","hashtag2"]},{"1401900980":["hashtag1","hashtag2"]},{"1401900974":["hashtag1","hashtag2"]},{"1401900976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401900978, 1401900972, 1401900969, 1401900980, 1401900974, 1401900976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99216294288635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:34:42.455968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_38_2673.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_41_2674.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_47_2817.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_56_2560.jpg', '/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_59_2563.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_02_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_38_2673.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_41_2674.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_47_2817.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_56_2560.jpg
/home/pi/Desktop/images/03112025/18/52/image_03112025_18_52_59_2563.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_02_3608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901020","1401901002","1401901004","1401900998","1401901013","1401901006"],"photo_ids_order":["1401900998","1401901002","1401901004","1401901006","1401901013","1401901020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5653447e9bdb2aad82f23b24be3b0a45.jpg","text":"TemporaryFile(/tmp/multipartBody6330252537769963745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191744277,"filename":"image_03112025_18_53_02_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bd3d6dbe483b1745b9faa245c3424af.jpg","text":"TemporaryFile(/tmp/multipartBody3636713681488223273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191744277,"filename":"image_03112025_18_52_41_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d1ffd4e2c92f54b4f14021414cbd99e.jpg","text":"TemporaryFile(/tmp/multipartBody8875281819734871981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191744277,"filename":"image_03112025_18_52_47_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75a20e65527c40868ba54fac924d0c92.jpg","text":"TemporaryFile(/tmp/multipartBody3657112797211615821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191744277,"filename":"image_03112025_18_52_38_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f69b90906d95af27a49d4424ef6896b.jpg","text":"TemporaryFile(/tmp/multipartBody7943060356878237327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191744277,"filename":"image_03112025_18_52_59_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21629d968c6eb9701be22ddd6fdb8c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2691498532497370840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191744277,"filename":"image_03112025_18_52_56_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901004","file1":"1401901002","file0":"1401900998","file4":"1401901013","file5":"1401901020","file3":"1401901006"},"map_files_photo_id_array":[{"photo_id":"1401901020","filename":"file5"},{"photo_id":"1401901004","filename":"file2"},{"photo_id":"1401901013","filename":"file4"},{"photo_id":"1401901002","filename":"file1"},{"photo_id":"1401900998","filename":"file0"},{"photo_id":"1401901006","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901020":["hashtag1","hashtag2"]},{"1401901002":["hashtag1","hashtag2"]},{"1401901004":["hashtag1","hashtag2"]},{"1401900998":["hashtag1","hashtag2"]},{"1401901013":["hashtag1","hashtag2"]},{"1401901006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901020, 1401901002, 1401901004, 1401900998, 1401901013, 1401901006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09342670440674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:35:22.553982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_54_9858.jpg', '/home/pi/Desktop/images/31122025/13/17/image_31122025_13_18_04_9609.jpg', '/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_14_10682.jpg', '/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_24_9658.jpg', '/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_35_10603.jpg', '/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_44_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/17/image_31122025_13_17_54_9858.jpg
/home/pi/Desktop/images/31122025/13/17/image_31122025_13_18_04_9609.jpg
/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_14_10682.jpg
/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_24_9658.jpg
/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_35_10603.jpg
/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_44_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901041","1401901035","1401901037","1401901031","1401901028","1401901033"],"photo_ids_order":["1401901028","1401901031","1401901033","1401901035","1401901037","1401901041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/924a92bb4d961fa5eff59a050f473822.jpg","text":"TemporaryFile(/tmp/multipartBody1616528524336461565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191783301,"filename":"image_31122025_13_18_44_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e71e1125f4727076cb5f2f1944474f5f.jpg","text":"TemporaryFile(/tmp/multipartBody969559811614288289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191783301,"filename":"image_31122025_13_18_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d7ea5ebcd6204f47c842ac7e975f6b9.jpg","text":"TemporaryFile(/tmp/multipartBody1405957463854290749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191783301,"filename":"image_31122025_13_18_35_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23969c83dd937c0c601f030e82bbbf28.jpg","text":"TemporaryFile(/tmp/multipartBody4099057405679076363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191783301,"filename":"image_31122025_13_18_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cc9e630d4e7f7d76385e243767c2f5d.jpg","text":"TemporaryFile(/tmp/multipartBody8940575311854802692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191783301,"filename":"image_31122025_13_17_54_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b52dce3762708104e3dc1a751d12c7d8.jpg","text":"TemporaryFile(/tmp/multipartBody2799613691741262044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191783301,"filename":"image_31122025_13_18_14_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901033","file1":"1401901031","file0":"1401901028","file4":"1401901037","file5":"1401901041","file3":"1401901035"},"map_files_photo_id_array":[{"photo_id":"1401901041","filename":"file5"},{"photo_id":"1401901033","filename":"file2"},{"photo_id":"1401901037","filename":"file4"},{"photo_id":"1401901031","filename":"file1"},{"photo_id":"1401901028","filename":"file0"},{"photo_id":"1401901035","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901041":["hashtag1","hashtag2"]},{"1401901035":["hashtag1","hashtag2"]},{"1401901037":["hashtag1","hashtag2"]},{"1401901031":["hashtag1","hashtag2"]},{"1401901028":["hashtag1","hashtag2"]},{"1401901033":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901041, 1401901035, 1401901037, 1401901031, 1401901028, 1401901033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76412105560303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:36:02.338474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_54_9889.jpg', '/home/pi/Desktop/images/31122025/13/18/image_31122025_13_19_04_9840.jpg', '/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_14_9648.jpg', '/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_25_10783.jpg', '/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_34_9655.jpg', '/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_44_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/18/image_31122025_13_18_54_9889.jpg
/home/pi/Desktop/images/31122025/13/18/image_31122025_13_19_04_9840.jpg
/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_14_9648.jpg
/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_25_10783.jpg
/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_34_9655.jpg
/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_44_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901052","1401901046","1401901051","1401901054","1401901048","1401901057"],"photo_ids_order":["1401901046","1401901048","1401901051","1401901052","1401901054","1401901057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d850cf943831b29e0f8f0973279b21f8.jpg","text":"TemporaryFile(/tmp/multipartBody1552732701031787828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191823065,"filename":"image_31122025_13_19_25_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60f9d70b89662700d2f92896fe3cf6e9.jpg","text":"TemporaryFile(/tmp/multipartBody9114855191583694250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191823065,"filename":"image_31122025_13_18_54_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da0379d349aaa09e90659d7a46567d14.jpg","text":"TemporaryFile(/tmp/multipartBody1799717326650189131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191823065,"filename":"image_31122025_13_19_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ccd6443d708c0d7217a8cfaf2203338.jpg","text":"TemporaryFile(/tmp/multipartBody8517337335359378990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191823065,"filename":"image_31122025_13_19_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dcbf20f696354f517518291d9ef8e5f5.jpg","text":"TemporaryFile(/tmp/multipartBody3284695301448177667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191823065,"filename":"image_31122025_13_19_04_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cc514d820d3e9d218797ab2d904f8ba.jpg","text":"TemporaryFile(/tmp/multipartBody5852609462342079216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191823065,"filename":"image_31122025_13_19_44_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901051","file1":"1401901048","file0":"1401901046","file4":"1401901054","file5":"1401901057","file3":"1401901052"},"map_files_photo_id_array":[{"photo_id":"1401901057","filename":"file5"},{"photo_id":"1401901051","filename":"file2"},{"photo_id":"1401901054","filename":"file4"},{"photo_id":"1401901048","filename":"file1"},{"photo_id":"1401901046","filename":"file0"},{"photo_id":"1401901052","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901052":["hashtag1","hashtag2"]},{"1401901046":["hashtag1","hashtag2"]},{"1401901051":["hashtag1","hashtag2"]},{"1401901054":["hashtag1","hashtag2"]},{"1401901048":["hashtag1","hashtag2"]},{"1401901057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901052, 1401901046, 1401901051, 1401901054, 1401901048, 1401901057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79740238189697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:36:41.998366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_05_2597.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_11_2621.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_14_2574.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_17_3600.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_20_2580.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_23_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_05_2597.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_11_2621.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_14_2574.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_17_3600.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_20_2580.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_23_3579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901071","1401901070","1401901066","1401901069","1401901080","1401901074"],"photo_ids_order":["1401901066","1401901069","1401901070","1401901071","1401901074","1401901080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0acfb5862c1c16b762025278f27006c.jpg","text":"TemporaryFile(/tmp/multipartBody2686912323994827353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191863821,"filename":"image_03112025_18_53_17_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e1237e655d168feb38b534108da9949.jpg","text":"TemporaryFile(/tmp/multipartBody147756981190334925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191863821,"filename":"image_03112025_18_53_14_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70cbcbdc8c0b8a3104cf70f4dd880312.jpg","text":"TemporaryFile(/tmp/multipartBody565156025871560380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191863821,"filename":"image_03112025_18_53_05_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45a08725798e50efc1b69f1bef32add8.jpg","text":"TemporaryFile(/tmp/multipartBody5238203914682455272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191863821,"filename":"image_03112025_18_53_11_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf73753e59de934270beff1be7fcd1e7.jpg","text":"TemporaryFile(/tmp/multipartBody8250009895574459991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191863821,"filename":"image_03112025_18_53_23_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cb40b0f59a1b957e4084eb68248bd0d.jpg","text":"TemporaryFile(/tmp/multipartBody6564809555677032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191863821,"filename":"image_03112025_18_53_20_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901070","file1":"1401901069","file0":"1401901066","file4":"1401901074","file5":"1401901080","file3":"1401901071"},"map_files_photo_id_array":[{"photo_id":"1401901080","filename":"file5"},{"photo_id":"1401901070","filename":"file2"},{"photo_id":"1401901074","filename":"file4"},{"photo_id":"1401901069","filename":"file1"},{"photo_id":"1401901066","filename":"file0"},{"photo_id":"1401901071","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901071":["hashtag1","hashtag2"]},{"1401901070":["hashtag1","hashtag2"]},{"1401901066":["hashtag1","hashtag2"]},{"1401901069":["hashtag1","hashtag2"]},{"1401901080":["hashtag1","hashtag2"]},{"1401901074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901071, 1401901070, 1401901066, 1401901069, 1401901080, 1401901074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91880512237549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:37:22.252793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_55_10616.jpg', '/home/pi/Desktop/images/31122025/13/19/image_31122025_13_20_04_9865.jpg', '/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_14_9877.jpg', '/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_24_9738.jpg', '/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_34_9786.jpg', '/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_44_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/19/image_31122025_13_19_55_10616.jpg
/home/pi/Desktop/images/31122025/13/19/image_31122025_13_20_04_9865.jpg
/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_14_9877.jpg
/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_24_9738.jpg
/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_34_9786.jpg
/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_44_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901098","1401901094","1401901096","1401901100","1401901102","1401901105"],"photo_ids_order":["1401901094","1401901096","1401901098","1401901100","1401901102","1401901105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f45dcfdf026d4ddc88d5438d718ac81.jpg","text":"TemporaryFile(/tmp/multipartBody8076206972457329005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191902936,"filename":"image_31122025_13_20_14_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91df7f12e1c9d47447460e8a04a923c4.jpg","text":"TemporaryFile(/tmp/multipartBody6101519542089314786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191902936,"filename":"image_31122025_13_19_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93efe350b900bfda68ec4ae3c6abbb28.jpg","text":"TemporaryFile(/tmp/multipartBody2194946609344727189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191902936,"filename":"image_31122025_13_20_04_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40ebfb4ad4b8185dc52e25f7032ff50a.jpg","text":"TemporaryFile(/tmp/multipartBody8979191394433494297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191902936,"filename":"image_31122025_13_20_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48c2eed426acf9e22c953a32271ff81e.jpg","text":"TemporaryFile(/tmp/multipartBody742872053481367655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191902936,"filename":"image_31122025_13_20_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2f3ec30003bb463ac9ba30ea24c10ec.jpg","text":"TemporaryFile(/tmp/multipartBody5001441006697936007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191902936,"filename":"image_31122025_13_20_44_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901098","file1":"1401901096","file0":"1401901094","file4":"1401901102","file5":"1401901105","file3":"1401901100"},"map_files_photo_id_array":[{"photo_id":"1401901105","filename":"file5"},{"photo_id":"1401901098","filename":"file2"},{"photo_id":"1401901102","filename":"file4"},{"photo_id":"1401901096","filename":"file1"},{"photo_id":"1401901094","filename":"file0"},{"photo_id":"1401901100","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901098":["hashtag1","hashtag2"]},{"1401901094":["hashtag1","hashtag2"]},{"1401901096":["hashtag1","hashtag2"]},{"1401901100":["hashtag1","hashtag2"]},{"1401901102":["hashtag1","hashtag2"]},{"1401901105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901098, 1401901094, 1401901096, 1401901100, 1401901102, 1401901105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.459534645080566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:38:02.817419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_54_9705.jpg', '/home/pi/Desktop/images/31122025/13/20/image_31122025_13_21_04_9803.jpg', '/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_14_9783.jpg', '/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_24_10727.jpg', '/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_34_9604.jpg', '/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_44_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/20/image_31122025_13_20_54_9705.jpg
/home/pi/Desktop/images/31122025/13/20/image_31122025_13_21_04_9803.jpg
/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_14_9783.jpg
/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_24_10727.jpg
/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_34_9604.jpg
/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_44_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901131","1401901125","1401901128","1401901122","1401901114","1401901123"],"photo_ids_order":["1401901114","1401901122","1401901123","1401901125","1401901128","1401901131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2aae5ad0a7f3c0f4227a737ae7842a79.jpg","text":"TemporaryFile(/tmp/multipartBody7496210733245487389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191943496,"filename":"image_31122025_13_21_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dac10b471f32af5b49c70c0f847532fd.jpg","text":"TemporaryFile(/tmp/multipartBody9044038900838580877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191943496,"filename":"image_31122025_13_21_24_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e13adf09d57a857b0d1e89e092292f7.jpg","text":"TemporaryFile(/tmp/multipartBody7496474265579042798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191943496,"filename":"image_31122025_13_21_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e013a6ee86af3fd54730205f51d4d934.jpg","text":"TemporaryFile(/tmp/multipartBody5170771855882638420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191943496,"filename":"image_31122025_13_21_04_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca96a3aec295696a6438964e71d965bb.jpg","text":"TemporaryFile(/tmp/multipartBody3866966833774802055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191943496,"filename":"image_31122025_13_20_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e37a8d5515c887077ed8e6d98451cc73.jpg","text":"TemporaryFile(/tmp/multipartBody4524999253956397935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191943496,"filename":"image_31122025_13_21_14_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901123","file1":"1401901122","file0":"1401901114","file4":"1401901128","file5":"1401901131","file3":"1401901125"},"map_files_photo_id_array":[{"photo_id":"1401901131","filename":"file5"},{"photo_id":"1401901123","filename":"file2"},{"photo_id":"1401901128","filename":"file4"},{"photo_id":"1401901122","filename":"file1"},{"photo_id":"1401901114","filename":"file0"},{"photo_id":"1401901125","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901131":["hashtag1","hashtag2"]},{"1401901125":["hashtag1","hashtag2"]},{"1401901128":["hashtag1","hashtag2"]},{"1401901122":["hashtag1","hashtag2"]},{"1401901114":["hashtag1","hashtag2"]},{"1401901123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901131, 1401901125, 1401901128, 1401901122, 1401901114, 1401901123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68637013435364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:38:42.337989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_29_2692.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_32_2965.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_35_3706.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_56_1710.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_58_1736.jpg', '/home/pi/Desktop/images/03112025/18/53/image_03112025_18_54_00_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_29_2692.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_32_2965.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_35_3706.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_56_1710.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_53_58_1736.jpg
/home/pi/Desktop/images/03112025/18/53/image_03112025_18_54_00_1733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901161","1401901152","1401901149","1401901165","1401901147","1401901144"],"photo_ids_order":["1401901144","1401901147","1401901149","1401901152","1401901161","1401901165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3940fc6bbcb217e9b3ab986b682d23ec.jpg","text":"TemporaryFile(/tmp/multipartBody198935853716592669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191984162,"filename":"image_03112025_18_53_58_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54bef524100de1e825091b5c2807cac4.jpg","text":"TemporaryFile(/tmp/multipartBody1185903245495842344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191984162,"filename":"image_03112025_18_53_56_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f136449427c36c295e793e9a205d18f.jpg","text":"TemporaryFile(/tmp/multipartBody691987510274502424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191984162,"filename":"image_03112025_18_53_35_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12c8a5c661afa97ff65649de926c751e.jpg","text":"TemporaryFile(/tmp/multipartBody7517251780640833846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191984162,"filename":"image_03112025_18_54_00_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18518df87fdd0d1a4488d305f42880a1.jpg","text":"TemporaryFile(/tmp/multipartBody5848949553529328288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191984162,"filename":"image_03112025_18_53_32_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a36ea2060903933272ef7c3a35a8efd.jpg","text":"TemporaryFile(/tmp/multipartBody3931038515307420654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767191984162,"filename":"image_03112025_18_53_29_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901149","file1":"1401901147","file0":"1401901144","file4":"1401901161","file5":"1401901165","file3":"1401901152"},"map_files_photo_id_array":[{"photo_id":"1401901165","filename":"file5"},{"photo_id":"1401901149","filename":"file2"},{"photo_id":"1401901161","filename":"file4"},{"photo_id":"1401901147","filename":"file1"},{"photo_id":"1401901144","filename":"file0"},{"photo_id":"1401901152","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901161":["hashtag1","hashtag2"]},{"1401901152":["hashtag1","hashtag2"]},{"1401901149":["hashtag1","hashtag2"]},{"1401901165":["hashtag1","hashtag2"]},{"1401901147":["hashtag1","hashtag2"]},{"1401901144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901161, 1401901152, 1401901149, 1401901165, 1401901147, 1401901144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82195544242859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:39:22.538158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_54_10760.jpg', '/home/pi/Desktop/images/31122025/13/21/image_31122025_13_22_04_9717.jpg', '/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_14_9801.jpg', '/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_25_10586.jpg', '/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_34_9753.jpg', '/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_44_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/21/image_31122025_13_21_54_10760.jpg
/home/pi/Desktop/images/31122025/13/21/image_31122025_13_22_04_9717.jpg
/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_14_9801.jpg
/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_25_10586.jpg
/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_34_9753.jpg
/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_44_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901182","1401901185","1401901179","1401901175","1401901171","1401901173"],"photo_ids_order":["1401901171","1401901173","1401901175","1401901179","1401901182","1401901185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/650aa96177b4b41aa1c3604216b885a1.jpg","text":"TemporaryFile(/tmp/multipartBody4282016981349831720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192023179,"filename":"image_31122025_13_22_34_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2559786683e7e995c94117c1e9b92139.jpg","text":"TemporaryFile(/tmp/multipartBody5725531301751481223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192023179,"filename":"image_31122025_13_22_44_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/175a699569e9289feb4f345b1509efb9.jpg","text":"TemporaryFile(/tmp/multipartBody3645020104988460993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192023179,"filename":"image_31122025_13_22_25_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bef8ff4a6bab5e4467a852ee2e621792.jpg","text":"TemporaryFile(/tmp/multipartBody4944502584937236434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192023179,"filename":"image_31122025_13_22_14_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5130adbad0afbcc72a0eb64a57f7700.jpg","text":"TemporaryFile(/tmp/multipartBody8850601496967323279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192023179,"filename":"image_31122025_13_21_54_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcd89b8200fe302f4be8ff8b7611bc7e.jpg","text":"TemporaryFile(/tmp/multipartBody8357198146696492583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192023179,"filename":"image_31122025_13_22_04_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901175","file1":"1401901173","file0":"1401901171","file4":"1401901182","file5":"1401901185","file3":"1401901179"},"map_files_photo_id_array":[{"photo_id":"1401901185","filename":"file5"},{"photo_id":"1401901175","filename":"file2"},{"photo_id":"1401901182","filename":"file4"},{"photo_id":"1401901173","filename":"file1"},{"photo_id":"1401901171","filename":"file0"},{"photo_id":"1401901179","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901182":["hashtag1","hashtag2"]},{"1401901185":["hashtag1","hashtag2"]},{"1401901179":["hashtag1","hashtag2"]},{"1401901175":["hashtag1","hashtag2"]},{"1401901171":["hashtag1","hashtag2"]},{"1401901173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901182, 1401901185, 1401901179, 1401901175, 1401901171, 1401901173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88421893119812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:40:03.082914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_54_9739.jpg', '/home/pi/Desktop/images/31122025/13/22/image_31122025_13_23_05_10776.jpg', '/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_14_9767.jpg', '/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_24_9663.jpg', '/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_34_9758.jpg', '/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_45_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/22/image_31122025_13_22_54_9739.jpg
/home/pi/Desktop/images/31122025/13/22/image_31122025_13_23_05_10776.jpg
/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_14_9767.jpg
/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_24_9663.jpg
/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_34_9758.jpg
/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_45_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901196","1401901198","1401901207","1401901201","1401901204","1401901194"],"photo_ids_order":["1401901194","1401901196","1401901198","1401901201","1401901204","1401901207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2eafb0fab7f86fe2521ee2555a9a9f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5854390089468462389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192063825,"filename":"image_31122025_13_23_05_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a005a6c2ae031e537d7f3d64812b114c.jpg","text":"TemporaryFile(/tmp/multipartBody1320120186531957565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192063825,"filename":"image_31122025_13_23_14_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb1e9bb8a35290d790c8e7ad9486eba2.jpg","text":"TemporaryFile(/tmp/multipartBody4351338921386644446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192063825,"filename":"image_31122025_13_23_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec80b86d16bc496dd81daccf63149781.jpg","text":"TemporaryFile(/tmp/multipartBody9082802479902023974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192063825,"filename":"image_31122025_13_23_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caf6812a603e47a0375460b7974a00e0.jpg","text":"TemporaryFile(/tmp/multipartBody5764003415592139133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192063825,"filename":"image_31122025_13_23_34_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7914ae3bfdf1449450db227e82bc796.jpg","text":"TemporaryFile(/tmp/multipartBody4864587310909746523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192063825,"filename":"image_31122025_13_22_54_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901198","file1":"1401901196","file0":"1401901194","file4":"1401901204","file5":"1401901207","file3":"1401901201"},"map_files_photo_id_array":[{"photo_id":"1401901207","filename":"file5"},{"photo_id":"1401901198","filename":"file2"},{"photo_id":"1401901204","filename":"file4"},{"photo_id":"1401901196","filename":"file1"},{"photo_id":"1401901194","filename":"file0"},{"photo_id":"1401901201","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901196":["hashtag1","hashtag2"]},{"1401901198":["hashtag1","hashtag2"]},{"1401901207":["hashtag1","hashtag2"]},{"1401901201":["hashtag1","hashtag2"]},{"1401901204":["hashtag1","hashtag2"]},{"1401901194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901196, 1401901198, 1401901207, 1401901201, 1401901204, 1401901194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94445753097534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:40:42.712181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_05_2609.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_08_3655.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_17_3603.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_20_2585.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_22_2540.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_29_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_05_2609.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_08_3655.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_17_3603.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_20_2585.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_22_2540.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_29_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901218","1401901217","1401901228","1401901213","1401901222","1401901216"],"photo_ids_order":["1401901213","1401901216","1401901217","1401901218","1401901222","1401901228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3a6d7f90658cfaa8e2360d83d5ce9ad.jpg","text":"TemporaryFile(/tmp/multipartBody282570107595725846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192104529,"filename":"image_03112025_18_54_20_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/660f855870dc6e74efead6c5cc1c964b.jpg","text":"TemporaryFile(/tmp/multipartBody5751997078548976062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192104529,"filename":"image_03112025_18_54_17_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ab1eb9a0f91409702f4f73e281a008b.jpg","text":"TemporaryFile(/tmp/multipartBody8723128914400124066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192104529,"filename":"image_03112025_18_54_29_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75e54ce99ec2885aaa5cc411f6b7824c.jpg","text":"TemporaryFile(/tmp/multipartBody4680018149591341166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192104529,"filename":"image_03112025_18_54_05_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98d6928904867cd73216ef4078dd5818.jpg","text":"TemporaryFile(/tmp/multipartBody7620365041121513958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192104529,"filename":"image_03112025_18_54_22_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e729a33f907b62ec4f2edb1cb1ec092.jpg","text":"TemporaryFile(/tmp/multipartBody6892671197640193293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192104529,"filename":"image_03112025_18_54_08_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901217","file1":"1401901216","file0":"1401901213","file4":"1401901222","file5":"1401901228","file3":"1401901218"},"map_files_photo_id_array":[{"photo_id":"1401901228","filename":"file5"},{"photo_id":"1401901217","filename":"file2"},{"photo_id":"1401901222","filename":"file4"},{"photo_id":"1401901216","filename":"file1"},{"photo_id":"1401901213","filename":"file0"},{"photo_id":"1401901218","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901218":["hashtag1","hashtag2"]},{"1401901217":["hashtag1","hashtag2"]},{"1401901228":["hashtag1","hashtag2"]},{"1401901213":["hashtag1","hashtag2"]},{"1401901222":["hashtag1","hashtag2"]},{"1401901216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901218, 1401901217, 1401901228, 1401901213, 1401901222, 1401901216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89783787727356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:41:21.876927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_54_9566.jpg', '/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_17_1792.jpg', '/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_24_6658.jpg', '/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_35_10699.jpg', '/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_44_9681.jpg', '/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/23/image_31122025_13_23_54_9566.jpg
/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_17_1792.jpg
/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_24_6658.jpg
/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_35_10699.jpg
/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_44_9681.jpg
/home/pi/Desktop/images/31122025/13/24/image_31122025_13_24_54_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901239","1401901241","1401901235","1401901244","1401901238","1401901232"],"photo_ids_order":["1401901232","1401901235","1401901238","1401901239","1401901241","1401901244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ac1310d32430bcdacb7f19dbdfa02d5.jpg","text":"TemporaryFile(/tmp/multipartBody1458544985793528175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192142542,"filename":"image_31122025_13_24_35_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/945fa4362b3281fc4ad5fb216513cde9.jpg","text":"TemporaryFile(/tmp/multipartBody3685190160737640944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192142542,"filename":"image_31122025_13_24_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2646060da80b59efb37d6f081b3c03a1.jpg","text":"TemporaryFile(/tmp/multipartBody3443445314533748149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192142542,"filename":"image_31122025_13_24_17_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c220a5ac2dc459b4a892ccf6b56a31f.jpg","text":"TemporaryFile(/tmp/multipartBody5172822636839132779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192142542,"filename":"image_31122025_13_24_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19ae29bb45bdd49ac8f4a279b72dfd27.jpg","text":"TemporaryFile(/tmp/multipartBody8060878154596084570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192142542,"filename":"image_31122025_13_24_24_6658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9164473ac6f7a831b2ae2dafdd12fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8101712397954404878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192142542,"filename":"image_31122025_13_23_54_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901238","file1":"1401901235","file0":"1401901232","file4":"1401901241","file5":"1401901244","file3":"1401901239"},"map_files_photo_id_array":[{"photo_id":"1401901244","filename":"file5"},{"photo_id":"1401901238","filename":"file2"},{"photo_id":"1401901241","filename":"file4"},{"photo_id":"1401901235","filename":"file1"},{"photo_id":"1401901232","filename":"file0"},{"photo_id":"1401901239","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901239":["hashtag1","hashtag2"]},{"1401901241":["hashtag1","hashtag2"]},{"1401901235":["hashtag1","hashtag2"]},{"1401901244":["hashtag1","hashtag2"]},{"1401901238":["hashtag1","hashtag2"]},{"1401901232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901239, 1401901241, 1401901235, 1401901244, 1401901238, 1401901232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56300592422485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:42:02.517296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/24/image_31122025_13_25_04_9768.jpg', '/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_14_10639.jpg', '/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_24_9735.jpg', '/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_34_9890.jpg', '/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_45_10676.jpg', '/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_54_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/24/image_31122025_13_25_04_9768.jpg
/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_14_10639.jpg
/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_24_9735.jpg
/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_34_9890.jpg
/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_45_10676.jpg
/home/pi/Desktop/images/31122025/13/25/image_31122025_13_25_54_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901260","1401901257","1401901262","1401901256","1401901264","1401901267"],"photo_ids_order":["1401901256","1401901257","1401901260","1401901262","1401901264","1401901267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66b8b2c761173d3f39d37342ad55bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody3896392583486242806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192183223,"filename":"image_31122025_13_25_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c18a4915ca5aa6b7b5d4232a56804f9b.jpg","text":"TemporaryFile(/tmp/multipartBody3723671527389581742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192183223,"filename":"image_31122025_13_25_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be73ed2e6016093f544bf7feae5ad58a.jpg","text":"TemporaryFile(/tmp/multipartBody7446358272122559442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192183223,"filename":"image_31122025_13_25_34_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf4ced5db5dc285bdb93ab7e64a53416.jpg","text":"TemporaryFile(/tmp/multipartBody7755892818617459973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192183223,"filename":"image_31122025_13_25_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b15ca1870c89913780e0e748b9a98462.jpg","text":"TemporaryFile(/tmp/multipartBody7061518664360265013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192183223,"filename":"image_31122025_13_25_45_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e736cf069cf4bb9087cde3b8f926d31.jpg","text":"TemporaryFile(/tmp/multipartBody1353688333682693581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192183223,"filename":"image_31122025_13_25_54_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901260","file1":"1401901257","file0":"1401901256","file4":"1401901264","file5":"1401901267","file3":"1401901262"},"map_files_photo_id_array":[{"photo_id":"1401901267","filename":"file5"},{"photo_id":"1401901260","filename":"file2"},{"photo_id":"1401901264","filename":"file4"},{"photo_id":"1401901257","filename":"file1"},{"photo_id":"1401901256","filename":"file0"},{"photo_id":"1401901262","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901260":["hashtag1","hashtag2"]},{"1401901257":["hashtag1","hashtag2"]},{"1401901262":["hashtag1","hashtag2"]},{"1401901256":["hashtag1","hashtag2"]},{"1401901264":["hashtag1","hashtag2"]},{"1401901267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901260, 1401901257, 1401901262, 1401901256, 1401901264, 1401901267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40630507469177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:42:42.028216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_31_2578.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_35_3625.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_38_3260.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_41_2525.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_43_2546.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_47_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_31_2578.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_35_3625.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_38_3260.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_41_2525.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_43_2546.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_47_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901283","1401901289","1401901288","1401901291","1401901290","1401901287"],"photo_ids_order":["1401901283","1401901287","1401901288","1401901289","1401901290","1401901291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74c476bb7617d2038f75741426220b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2349493728852834388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192223838,"filename":"image_03112025_18_54_31_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/914c91eb6677421fca970a037f6bb46f.jpg","text":"TemporaryFile(/tmp/multipartBody2631605066690574901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192223838,"filename":"image_03112025_18_54_41_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17124690db19f08e724b84781bc2be3d.jpg","text":"TemporaryFile(/tmp/multipartBody4942165080265491371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192223838,"filename":"image_03112025_18_54_38_3260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80c1ad1d9fa54396b3fcfba57f0bdc74.jpg","text":"TemporaryFile(/tmp/multipartBody4273529982448675394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192223838,"filename":"image_03112025_18_54_47_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d13380043250126ddb250e477be9962a.jpg","text":"TemporaryFile(/tmp/multipartBody6414019020665812312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192223838,"filename":"image_03112025_18_54_43_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa202859e5de07e52b19dc6f6003e0b2.jpg","text":"TemporaryFile(/tmp/multipartBody8935989551265260626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192223838,"filename":"image_03112025_18_54_35_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901288","file1":"1401901287","file0":"1401901283","file4":"1401901290","file5":"1401901291","file3":"1401901289"},"map_files_photo_id_array":[{"photo_id":"1401901291","filename":"file5"},{"photo_id":"1401901288","filename":"file2"},{"photo_id":"1401901290","filename":"file4"},{"photo_id":"1401901287","filename":"file1"},{"photo_id":"1401901283","filename":"file0"},{"photo_id":"1401901289","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901283":["hashtag1","hashtag2"]},{"1401901289":["hashtag1","hashtag2"]},{"1401901288":["hashtag1","hashtag2"]},{"1401901291":["hashtag1","hashtag2"]},{"1401901290":["hashtag1","hashtag2"]},{"1401901287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901283, 1401901289, 1401901288, 1401901291, 1401901290, 1401901287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49321365356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:43:22.208470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/25/image_31122025_13_26_04_9712.jpg', '/home/pi/Desktop/images/31122025/13/26/image_31122025_13_26_34_9791.jpg', '/home/pi/Desktop/images/31122025/13/26/image_31122025_13_27_05_10731.jpg', '/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_14_9713.jpg', '/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_24_9686.jpg', '/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_34_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/25/image_31122025_13_26_04_9712.jpg
/home/pi/Desktop/images/31122025/13/26/image_31122025_13_26_34_9791.jpg
/home/pi/Desktop/images/31122025/13/26/image_31122025_13_27_05_10731.jpg
/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_14_9713.jpg
/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_24_9686.jpg
/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_34_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901296","1401901311","1401901307","1401901300","1401901299","1401901303"],"photo_ids_order":["1401901296","1401901299","1401901300","1401901303","1401901307","1401901311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0667a91817e13a60e1764de729262a18.jpg","text":"TemporaryFile(/tmp/multipartBody3930270126296183089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192262899,"filename":"image_31122025_13_26_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3596a64cd519a1ac9b57839a466cbb3.jpg","text":"TemporaryFile(/tmp/multipartBody7756747801960526515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192262899,"filename":"image_31122025_13_27_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2684e400f1876e79f48433e1824e492b.jpg","text":"TemporaryFile(/tmp/multipartBody4656470772573922369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192262899,"filename":"image_31122025_13_27_24_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0ac61a52973243bb4bf1b32833f5f82.jpg","text":"TemporaryFile(/tmp/multipartBody269626098931788863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192262899,"filename":"image_31122025_13_27_05_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12c1998c4e0f98177f617242201aa4ca.jpg","text":"TemporaryFile(/tmp/multipartBody41562959158966534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192262899,"filename":"image_31122025_13_26_34_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aace08689366f3c8fea577d4a188c821.jpg","text":"TemporaryFile(/tmp/multipartBody5724604999247908921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192262899,"filename":"image_31122025_13_27_14_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901300","file1":"1401901299","file0":"1401901296","file4":"1401901307","file5":"1401901311","file3":"1401901303"},"map_files_photo_id_array":[{"photo_id":"1401901311","filename":"file5"},{"photo_id":"1401901300","filename":"file2"},{"photo_id":"1401901307","filename":"file4"},{"photo_id":"1401901299","filename":"file1"},{"photo_id":"1401901296","filename":"file0"},{"photo_id":"1401901303","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901296":["hashtag1","hashtag2"]},{"1401901311":["hashtag1","hashtag2"]},{"1401901307":["hashtag1","hashtag2"]},{"1401901300":["hashtag1","hashtag2"]},{"1401901299":["hashtag1","hashtag2"]},{"1401901303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901296, 1401901311, 1401901307, 1401901300, 1401901299, 1401901303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40460777282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:44:03.056334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_44_10669.jpg', '/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_54_9800.jpg', '/home/pi/Desktop/images/31122025/13/27/image_31122025_13_28_04_9728.jpg', '/home/pi/Desktop/images/31122025/13/28/image_31122025_13_28_34_9779.jpg', '/home/pi/Desktop/images/31122025/13/28/image_31122025_13_28_44_9744.jpg', '/home/pi/Desktop/images/31122025/13/28/image_31122025_13_28_54_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_44_10669.jpg
/home/pi/Desktop/images/31122025/13/27/image_31122025_13_27_54_9800.jpg
/home/pi/Desktop/images/31122025/13/27/image_31122025_13_28_04_9728.jpg
/home/pi/Desktop/images/31122025/13/28/image_31122025_13_28_34_9779.jpg
/home/pi/Desktop/images/31122025/13/28/image_31122025_13_28_44_9744.jpg
/home/pi/Desktop/images/31122025/13/28/image_31122025_13_28_54_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901323","1401901317","1401901320","1401901328","1401901325","1401901315"],"photo_ids_order":["1401901315","1401901317","1401901320","1401901323","1401901325","1401901328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/268e2b750b4e17a5af3f04b75be8d9e8.jpg","text":"TemporaryFile(/tmp/multipartBody1564917672141035259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192303874,"filename":"image_31122025_13_28_34_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90b4610947e10cec0169b5c6b5288c76.jpg","text":"TemporaryFile(/tmp/multipartBody1673934361553142011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192303874,"filename":"image_31122025_13_27_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98b904f5242a93fc7d1a7f83204705ce.jpg","text":"TemporaryFile(/tmp/multipartBody1803840880863081612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192303874,"filename":"image_31122025_13_28_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84a36175c00c59b21226a5a21513a798.jpg","text":"TemporaryFile(/tmp/multipartBody2498846943517039327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192303874,"filename":"image_31122025_13_28_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae726ae8375ae1a6dab42b6bd8414e54.jpg","text":"TemporaryFile(/tmp/multipartBody7614835549069516831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192303874,"filename":"image_31122025_13_28_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d705f1a08fe25fca8376307553e2d37d.jpg","text":"TemporaryFile(/tmp/multipartBody7043621659400977590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192303874,"filename":"image_31122025_13_27_44_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901320","file1":"1401901317","file0":"1401901315","file4":"1401901325","file5":"1401901328","file3":"1401901323"},"map_files_photo_id_array":[{"photo_id":"1401901328","filename":"file5"},{"photo_id":"1401901320","filename":"file2"},{"photo_id":"1401901325","filename":"file4"},{"photo_id":"1401901317","filename":"file1"},{"photo_id":"1401901315","filename":"file0"},{"photo_id":"1401901323","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901323":["hashtag1","hashtag2"]},{"1401901317":["hashtag1","hashtag2"]},{"1401901320":["hashtag1","hashtag2"]},{"1401901328":["hashtag1","hashtag2"]},{"1401901325":["hashtag1","hashtag2"]},{"1401901315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901323, 1401901317, 1401901320, 1401901328, 1401901325, 1401901315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90075397491455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:44:42.474942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_50_2661.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_53_3567.jpg', '/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_56_3015.jpg', '/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_17_2551.jpg', '/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_36_1735.jpg', '/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_37_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_50_2661.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_53_3567.jpg
/home/pi/Desktop/images/03112025/18/54/image_03112025_18_54_56_3015.jpg
/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_17_2551.jpg
/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_36_1735.jpg
/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_37_1743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901341","1401901350","1401901338","1401901349","1401901340","1401901348"],"photo_ids_order":["1401901338","1401901340","1401901341","1401901348","1401901349","1401901350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14a29502e6a8d81b6995c0e8645b193d.jpg","text":"TemporaryFile(/tmp/multipartBody2186373606506944241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192344301,"filename":"image_03112025_18_54_56_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5809eb7e55a194de7d50e337e84ea6e8.jpg","text":"TemporaryFile(/tmp/multipartBody6471171742909291615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192344301,"filename":"image_03112025_18_55_37_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9484ccdfce717fbcf9caf5b8256bb931.jpg","text":"TemporaryFile(/tmp/multipartBody5934703899501901520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192344301,"filename":"image_03112025_18_54_50_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c324e513ce8154f6bccc42ba8d682991.jpg","text":"TemporaryFile(/tmp/multipartBody6515386246748854653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192344301,"filename":"image_03112025_18_55_36_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0bca8f60044944c6a83da1d72187aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7568319527734711869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192344301,"filename":"image_03112025_18_54_53_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2f630d059ee36ace52bc2088aa923cf.jpg","text":"TemporaryFile(/tmp/multipartBody8111037389019405523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192344301,"filename":"image_03112025_18_55_17_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901341","file1":"1401901340","file0":"1401901338","file4":"1401901349","file5":"1401901350","file3":"1401901348"},"map_files_photo_id_array":[{"photo_id":"1401901350","filename":"file5"},{"photo_id":"1401901341","filename":"file2"},{"photo_id":"1401901349","filename":"file4"},{"photo_id":"1401901340","filename":"file1"},{"photo_id":"1401901338","filename":"file0"},{"photo_id":"1401901348","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901341":["hashtag1","hashtag2"]},{"1401901350":["hashtag1","hashtag2"]},{"1401901338":["hashtag1","hashtag2"]},{"1401901349":["hashtag1","hashtag2"]},{"1401901340":["hashtag1","hashtag2"]},{"1401901348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901341, 1401901350, 1401901338, 1401901349, 1401901340, 1401901348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37841773033142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:45:22.644432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/28/image_31122025_13_29_04_10637.jpg', '/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_14_9851.jpg', '/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_24_9798.jpg', '/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_34_9690.jpg', '/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_44_10705.jpg', '/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_54_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/28/image_31122025_13_29_04_10637.jpg
/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_14_9851.jpg
/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_24_9798.jpg
/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_34_9690.jpg
/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_44_10705.jpg
/home/pi/Desktop/images/31122025/13/29/image_31122025_13_29_54_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901368","1401901370","1401901361","1401901363","1401901357","1401901366"],"photo_ids_order":["1401901357","1401901361","1401901363","1401901366","1401901368","1401901370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/460a696d4032f5f6b94f59f2487d8b60.jpg","text":"TemporaryFile(/tmp/multipartBody3403040007930633740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192383333,"filename":"image_31122025_13_29_44_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52abba5c38294aa7cf08d853224417c3.jpg","text":"TemporaryFile(/tmp/multipartBody5319924272759628875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192383333,"filename":"image_31122025_13_29_54_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ff8cb4ab08b2f5671bc520fc138237f.jpg","text":"TemporaryFile(/tmp/multipartBody1751169739098521053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192383333,"filename":"image_31122025_13_29_14_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c12c26a8508f571528a0693f95152b5.jpg","text":"TemporaryFile(/tmp/multipartBody3759789421405195664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192383333,"filename":"image_31122025_13_29_24_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8e9ab7c994ab3acace252e2c233d4a6.jpg","text":"TemporaryFile(/tmp/multipartBody3048195837288359250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192383333,"filename":"image_31122025_13_29_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc0614b4c379c9482c78a1f69f4850a0.jpg","text":"TemporaryFile(/tmp/multipartBody6870669921832395636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192383333,"filename":"image_31122025_13_29_34_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901363","file1":"1401901361","file0":"1401901357","file4":"1401901368","file5":"1401901370","file3":"1401901366"},"map_files_photo_id_array":[{"photo_id":"1401901370","filename":"file5"},{"photo_id":"1401901363","filename":"file2"},{"photo_id":"1401901368","filename":"file4"},{"photo_id":"1401901361","filename":"file1"},{"photo_id":"1401901357","filename":"file0"},{"photo_id":"1401901366","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901368":["hashtag1","hashtag2"]},{"1401901370":["hashtag1","hashtag2"]},{"1401901361":["hashtag1","hashtag2"]},{"1401901363":["hashtag1","hashtag2"]},{"1401901357":["hashtag1","hashtag2"]},{"1401901366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901368, 1401901370, 1401901361, 1401901363, 1401901357, 1401901366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07968354225159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:46:02.291994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_15_10055.jpg', '/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_26_10753.jpg', '/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_35_9655.jpg', '/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_45_9869.jpg', '/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_56_10647.jpg', '/home/pi/Desktop/images/31122025/13/30/image_31122025_13_31_06_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_15_10055.jpg
/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_26_10753.jpg
/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_35_9655.jpg
/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_45_9869.jpg
/home/pi/Desktop/images/31122025/13/30/image_31122025_13_30_56_10647.jpg
/home/pi/Desktop/images/31122025/13/30/image_31122025_13_31_06_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901380","1401901377","1401901382","1401901385","1401901373","1401901387"],"photo_ids_order":["1401901373","1401901377","1401901380","1401901382","1401901385","1401901387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fb527d3ff5c97d5dba8b4c750742a48.jpg","text":"TemporaryFile(/tmp/multipartBody249860157286816031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192423067,"filename":"image_31122025_13_30_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de9a53d787785c54c56fc64260d94e60.jpg","text":"TemporaryFile(/tmp/multipartBody9190625799838634004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192423067,"filename":"image_31122025_13_30_26_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc033b0ec4ad55268aefc7f90123a0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1237400823199014759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192423067,"filename":"image_31122025_13_30_45_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a9af81f5a72a0c2c193834316f84351.jpg","text":"TemporaryFile(/tmp/multipartBody8189294357186952739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192423067,"filename":"image_31122025_13_30_56_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37c732389ae9ba5af77272a9670a7b26.jpg","text":"TemporaryFile(/tmp/multipartBody6293993361297538573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192423067,"filename":"image_31122025_13_30_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0633625a55103406350f47385f0a3517.jpg","text":"TemporaryFile(/tmp/multipartBody1812011207212229886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192423067,"filename":"image_31122025_13_31_06_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901380","file1":"1401901377","file0":"1401901373","file4":"1401901385","file5":"1401901387","file3":"1401901382"},"map_files_photo_id_array":[{"photo_id":"1401901387","filename":"file5"},{"photo_id":"1401901380","filename":"file2"},{"photo_id":"1401901385","filename":"file4"},{"photo_id":"1401901377","filename":"file1"},{"photo_id":"1401901373","filename":"file0"},{"photo_id":"1401901382","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901380":["hashtag1","hashtag2"]},{"1401901377":["hashtag1","hashtag2"]},{"1401901382":["hashtag1","hashtag2"]},{"1401901385":["hashtag1","hashtag2"]},{"1401901373":["hashtag1","hashtag2"]},{"1401901387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901380, 1401901377, 1401901382, 1401901385, 1401901373, 1401901387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15991568565369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:46:41.949745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_39_1701.jpg', '/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_47_1673.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_02_3823.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_07_2607.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_11_3633.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_14_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_39_1701.jpg
/home/pi/Desktop/images/03112025/18/55/image_03112025_18_55_47_1673.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_02_3823.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_07_2607.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_11_3633.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_14_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901404","1401901400","1401901403","1401901406","1401901405","1401901402"],"photo_ids_order":["1401901400","1401901402","1401901403","1401901404","1401901405","1401901406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9638b91c00867937812af942ddf29d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5885531441999557513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192463767,"filename":"image_03112025_18_56_07_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d161822dd4ff0f5dfdd8cd3bb005559c.jpg","text":"TemporaryFile(/tmp/multipartBody5034986209965928435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192463767,"filename":"image_03112025_18_55_39_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e14758bd51eb27c79a7d8dcbe727582a.jpg","text":"TemporaryFile(/tmp/multipartBody4823521047366550489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192463767,"filename":"image_03112025_18_56_02_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f119253d98da97502a21634b3ed36f4.jpg","text":"TemporaryFile(/tmp/multipartBody2718615778720827448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192463767,"filename":"image_03112025_18_56_14_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac2bd1e74639796489102ad4fe0159a2.jpg","text":"TemporaryFile(/tmp/multipartBody3431972684220547284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192463767,"filename":"image_03112025_18_56_11_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/362bebf57857361c5885e64e736c093e.jpg","text":"TemporaryFile(/tmp/multipartBody1590141384171008562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192463767,"filename":"image_03112025_18_55_47_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901403","file1":"1401901402","file0":"1401901400","file4":"1401901405","file5":"1401901406","file3":"1401901404"},"map_files_photo_id_array":[{"photo_id":"1401901406","filename":"file5"},{"photo_id":"1401901403","filename":"file2"},{"photo_id":"1401901405","filename":"file4"},{"photo_id":"1401901402","filename":"file1"},{"photo_id":"1401901400","filename":"file0"},{"photo_id":"1401901404","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901404":["hashtag1","hashtag2"]},{"1401901400":["hashtag1","hashtag2"]},{"1401901403":["hashtag1","hashtag2"]},{"1401901406":["hashtag1","hashtag2"]},{"1401901405":["hashtag1","hashtag2"]},{"1401901402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901404, 1401901400, 1401901403, 1401901406, 1401901405, 1401901402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66715741157532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:47:22.218095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_15_9653.jpg', '/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_25_9645.jpg', '/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_36_10761.jpg', '/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_45_9719.jpg', '/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_55_9694.jpg', '/home/pi/Desktop/images/31122025/13/31/image_31122025_13_32_06_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_15_9653.jpg
/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_25_9645.jpg
/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_36_10761.jpg
/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_45_9719.jpg
/home/pi/Desktop/images/31122025/13/31/image_31122025_13_31_55_9694.jpg
/home/pi/Desktop/images/31122025/13/31/image_31122025_13_32_06_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901413","1401901421","1401901415","1401901409","1401901411","1401901417"],"photo_ids_order":["1401901409","1401901411","1401901413","1401901415","1401901417","1401901421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1939012dd0f4362dae32a2d217af7bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7177875520897870398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192502895,"filename":"image_31122025_13_31_36_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d85545298a2a0296e3809e557408503.jpg","text":"TemporaryFile(/tmp/multipartBody331020964791181686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192502895,"filename":"image_31122025_13_32_06_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05c91b47c8e08863d19ead3867f9f218.jpg","text":"TemporaryFile(/tmp/multipartBody2737701857138906542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192502895,"filename":"image_31122025_13_31_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70d3ef8ae257d3c704e4582cf5dd18d8.jpg","text":"TemporaryFile(/tmp/multipartBody652611193844807635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192502895,"filename":"image_31122025_13_31_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dfc0f59678f711f3cec0a96f0a81644.jpg","text":"TemporaryFile(/tmp/multipartBody4169746267218805830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192502895,"filename":"image_31122025_13_31_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d8047ee6980ae89891763a8fe98cca1.jpg","text":"TemporaryFile(/tmp/multipartBody4104286022806089733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192502895,"filename":"image_31122025_13_31_55_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901413","file1":"1401901411","file0":"1401901409","file4":"1401901417","file5":"1401901421","file3":"1401901415"},"map_files_photo_id_array":[{"photo_id":"1401901421","filename":"file5"},{"photo_id":"1401901413","filename":"file2"},{"photo_id":"1401901417","filename":"file4"},{"photo_id":"1401901411","filename":"file1"},{"photo_id":"1401901409","filename":"file0"},{"photo_id":"1401901415","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901413":["hashtag1","hashtag2"]},{"1401901421":["hashtag1","hashtag2"]},{"1401901415":["hashtag1","hashtag2"]},{"1401901409":["hashtag1","hashtag2"]},{"1401901411":["hashtag1","hashtag2"]},{"1401901417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901413, 1401901421, 1401901415, 1401901409, 1401901411, 1401901417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45375847816467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:48:02.746500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/32/image_31122025_13_32_16_9893.jpg', '/home/pi/Desktop/images/31122025/13/32/image_31122025_13_32_25_9675.jpg', '/home/pi/Desktop/images/31122025/13/32/image_31122025_13_32_35_9780.jpg', '/home/pi/Desktop/images/31122025/13/32/image_31122025_13_32_55_9629.jpg', '/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_15_9887.jpg', '/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_26_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/32/image_31122025_13_32_16_9893.jpg
/home/pi/Desktop/images/31122025/13/32/image_31122025_13_32_25_9675.jpg
/home/pi/Desktop/images/31122025/13/32/image_31122025_13_32_35_9780.jpg
/home/pi/Desktop/images/31122025/13/32/image_31122025_13_32_55_9629.jpg
/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_15_9887.jpg
/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_26_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901434","1401901431","1401901430","1401901432","1401901426","1401901429"],"photo_ids_order":["1401901426","1401901429","1401901430","1401901431","1401901432","1401901434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/934e57b3dac0973ec9e16cc154022d54.jpg","text":"TemporaryFile(/tmp/multipartBody6337657124898451466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192543499,"filename":"image_31122025_13_33_26_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/270d0ec5f48c8b231f82b6f2c0472ce1.jpg","text":"TemporaryFile(/tmp/multipartBody230949725394850798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192543499,"filename":"image_31122025_13_32_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2845d25aea5820dccd7454a175c7eb4.jpg","text":"TemporaryFile(/tmp/multipartBody730120515323847309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192543499,"filename":"image_31122025_13_32_35_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6553859b81912e1cf9c9a0a9ff7d884.jpg","text":"TemporaryFile(/tmp/multipartBody9096361195876754169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192543499,"filename":"image_31122025_13_33_15_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55956808b2751a36e52784b5a31675ce.jpg","text":"TemporaryFile(/tmp/multipartBody7572300859536891263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192543499,"filename":"image_31122025_13_32_16_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46319d8db230a75f28631619cfd54ca1.jpg","text":"TemporaryFile(/tmp/multipartBody284507604012380388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192543499,"filename":"image_31122025_13_32_25_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901430","file1":"1401901429","file0":"1401901426","file4":"1401901432","file5":"1401901434","file3":"1401901431"},"map_files_photo_id_array":[{"photo_id":"1401901434","filename":"file5"},{"photo_id":"1401901430","filename":"file2"},{"photo_id":"1401901432","filename":"file4"},{"photo_id":"1401901429","filename":"file1"},{"photo_id":"1401901426","filename":"file0"},{"photo_id":"1401901431","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901434":["hashtag1","hashtag2"]},{"1401901431":["hashtag1","hashtag2"]},{"1401901430":["hashtag1","hashtag2"]},{"1401901432":["hashtag1","hashtag2"]},{"1401901426":["hashtag1","hashtag2"]},{"1401901429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901434, 1401901431, 1401901430, 1401901432, 1401901426, 1401901429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.993634939193726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:48:42.431685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_22_5717.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_31_1606.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_40_2621.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_44_3629.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_47_2627.jpg', '/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_49_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_22_5717.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_31_1606.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_40_2621.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_44_3629.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_47_2627.jpg
/home/pi/Desktop/images/03112025/18/56/image_03112025_18_56_49_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901443","1401901446","1401901445","1401901448","1401901441","1401901444"],"photo_ids_order":["1401901441","1401901443","1401901444","1401901445","1401901446","1401901448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f33a88683d8af51da6822dba31ed566.jpg","text":"TemporaryFile(/tmp/multipartBody8735997984879548385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192584285,"filename":"image_03112025_18_56_31_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43b35ae51531da6333484222dce58288.jpg","text":"TemporaryFile(/tmp/multipartBody6883840398403150957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192584285,"filename":"image_03112025_18_56_47_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a73977f660b3c7857a5c3719d136edf.jpg","text":"TemporaryFile(/tmp/multipartBody6707107603529618848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192584285,"filename":"image_03112025_18_56_44_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/810f21700a3965856f073cc72da005d1.jpg","text":"TemporaryFile(/tmp/multipartBody8729430609475013717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192584285,"filename":"image_03112025_18_56_49_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e17ec49b15493fc5ec62566772ca8bb.jpg","text":"TemporaryFile(/tmp/multipartBody2807347442368888031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192584285,"filename":"image_03112025_18_56_22_5717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ffe90cc0476d3f7f1452ff6c52f1582.jpg","text":"TemporaryFile(/tmp/multipartBody8561709279689422199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192584285,"filename":"image_03112025_18_56_40_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901444","file1":"1401901443","file0":"1401901441","file4":"1401901446","file5":"1401901448","file3":"1401901445"},"map_files_photo_id_array":[{"photo_id":"1401901448","filename":"file5"},{"photo_id":"1401901444","filename":"file2"},{"photo_id":"1401901446","filename":"file4"},{"photo_id":"1401901443","filename":"file1"},{"photo_id":"1401901441","filename":"file0"},{"photo_id":"1401901445","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901443":["hashtag1","hashtag2"]},{"1401901446":["hashtag1","hashtag2"]},{"1401901445":["hashtag1","hashtag2"]},{"1401901448":["hashtag1","hashtag2"]},{"1401901441":["hashtag1","hashtag2"]},{"1401901444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901443, 1401901446, 1401901445, 1401901448, 1401901441, 1401901444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7826464176178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:49:22.596813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_35_9610.jpg', '/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_45_9811.jpg', '/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_56_10687.jpg', '/home/pi/Desktop/images/31122025/13/33/image_31122025_13_34_05_9640.jpg', '/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_15_9672.jpg', '/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_26_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_35_9610.jpg
/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_45_9811.jpg
/home/pi/Desktop/images/31122025/13/33/image_31122025_13_33_56_10687.jpg
/home/pi/Desktop/images/31122025/13/33/image_31122025_13_34_05_9640.jpg
/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_15_9672.jpg
/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_26_10713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901455","1401901458","1401901454","1401901468","1401901462","1401901465"],"photo_ids_order":["1401901454","1401901455","1401901458","1401901462","1401901465","1401901468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b038c4c1f17ec4ad1a9da24dbd9ed12.jpg","text":"TemporaryFile(/tmp/multipartBody1142779540792043525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192623263,"filename":"image_31122025_13_33_45_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7bbb8e5a15831503afb38e06ba2fd64.jpg","text":"TemporaryFile(/tmp/multipartBody4264765000156433308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192623263,"filename":"image_31122025_13_33_56_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50ca5b3b3549d771db1ebe97fb1e6f40.jpg","text":"TemporaryFile(/tmp/multipartBody8743208937398086064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192623263,"filename":"image_31122025_13_33_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c918c029594322ce0bf2c59882a22be.jpg","text":"TemporaryFile(/tmp/multipartBody5177752322475487994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192623263,"filename":"image_31122025_13_34_26_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/881fe7d8a0cb7b22999f00615289f7a9.jpg","text":"TemporaryFile(/tmp/multipartBody8667882834845726807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192623263,"filename":"image_31122025_13_34_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3562f93a51b09e6ad84a033b032879c.jpg","text":"TemporaryFile(/tmp/multipartBody4089326208287270112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192623263,"filename":"image_31122025_13_34_15_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901458","file1":"1401901455","file0":"1401901454","file4":"1401901465","file5":"1401901468","file3":"1401901462"},"map_files_photo_id_array":[{"photo_id":"1401901468","filename":"file5"},{"photo_id":"1401901458","filename":"file2"},{"photo_id":"1401901465","filename":"file4"},{"photo_id":"1401901455","filename":"file1"},{"photo_id":"1401901454","filename":"file0"},{"photo_id":"1401901462","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901455":["hashtag1","hashtag2"]},{"1401901458":["hashtag1","hashtag2"]},{"1401901454":["hashtag1","hashtag2"]},{"1401901468":["hashtag1","hashtag2"]},{"1401901462":["hashtag1","hashtag2"]},{"1401901465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901455, 1401901458, 1401901454, 1401901468, 1401901462, 1401901465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25214457511902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:50:03.199270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_35_9774.jpg', '/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_45_9749.jpg', '/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_55_9813.jpg', '/home/pi/Desktop/images/31122025/13/34/image_31122025_13_35_06_10778.jpg', '/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_15_9674.jpg', '/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_25_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_35_9774.jpg
/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_45_9749.jpg
/home/pi/Desktop/images/31122025/13/34/image_31122025_13_34_55_9813.jpg
/home/pi/Desktop/images/31122025/13/34/image_31122025_13_35_06_10778.jpg
/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_15_9674.jpg
/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_25_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901473","1401901481","1401901475","1401901478","1401901483","1401901471"],"photo_ids_order":["1401901471","1401901473","1401901475","1401901478","1401901481","1401901483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e35d631e28d28e5f9741a3b5f1b30c4.jpg","text":"TemporaryFile(/tmp/multipartBody3000098897427316491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192663920,"filename":"image_31122025_13_34_45_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1589d5490f6a747d5b324bd9a6ab2071.jpg","text":"TemporaryFile(/tmp/multipartBody561767854739020762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192663920,"filename":"image_31122025_13_35_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61d74aa008837f7067dcdd6f0f886c07.jpg","text":"TemporaryFile(/tmp/multipartBody8549522284256939425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192663920,"filename":"image_31122025_13_34_55_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1665f46d51de2f87b78e1b074b6fa6c.jpg","text":"TemporaryFile(/tmp/multipartBody14932058861776208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192663920,"filename":"image_31122025_13_35_06_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d6dfaf93fa1e93d044a537f36118711.jpg","text":"TemporaryFile(/tmp/multipartBody7874358902884293573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192663920,"filename":"image_31122025_13_35_25_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9351c2c45e40f70a393d27e6672cc07.jpg","text":"TemporaryFile(/tmp/multipartBody7245424586066518899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192663920,"filename":"image_31122025_13_34_35_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901475","file1":"1401901473","file0":"1401901471","file4":"1401901481","file5":"1401901483","file3":"1401901478"},"map_files_photo_id_array":[{"photo_id":"1401901483","filename":"file5"},{"photo_id":"1401901475","filename":"file2"},{"photo_id":"1401901481","filename":"file4"},{"photo_id":"1401901473","filename":"file1"},{"photo_id":"1401901471","filename":"file0"},{"photo_id":"1401901478","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901473":["hashtag1","hashtag2"]},{"1401901481":["hashtag1","hashtag2"]},{"1401901475":["hashtag1","hashtag2"]},{"1401901478":["hashtag1","hashtag2"]},{"1401901483":["hashtag1","hashtag2"]},{"1401901471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901473, 1401901481, 1401901475, 1401901478, 1401901483, 1401901471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.543206453323364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:50:42.767579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_05_3728.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_10_2732.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_13_2694.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_17_3578.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_19_2659.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_22_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_05_3728.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_10_2732.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_13_2694.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_17_3578.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_19_2659.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_22_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901493","1401901506","1401901496","1401901504","1401901507","1401901497"],"photo_ids_order":["1401901493","1401901496","1401901497","1401901504","1401901506","1401901507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dda5e6d9801cf8b3273f9dbca0da054f.jpg","text":"TemporaryFile(/tmp/multipartBody1277036072064418350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192704568,"filename":"image_03112025_18_57_05_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62dd363ba63d27fe36bd93915a58273a.jpg","text":"TemporaryFile(/tmp/multipartBody6939646199807724451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192704568,"filename":"image_03112025_18_57_19_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02e74393b6a46a7c8bf8b4c8ab92103c.jpg","text":"TemporaryFile(/tmp/multipartBody5658024024060986489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192704568,"filename":"image_03112025_18_57_10_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb50858894b0eb90634f3218aed88764.jpg","text":"TemporaryFile(/tmp/multipartBody4825027531904712929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192704568,"filename":"image_03112025_18_57_17_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/729609d8cb9f3c38feaf804f667db09a.jpg","text":"TemporaryFile(/tmp/multipartBody1014882233806694085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192704568,"filename":"image_03112025_18_57_22_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1e5d8980a67833aed0e7a7dae8786d3.jpg","text":"TemporaryFile(/tmp/multipartBody3962540153986739245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192704568,"filename":"image_03112025_18_57_13_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901497","file1":"1401901496","file0":"1401901493","file4":"1401901506","file5":"1401901507","file3":"1401901504"},"map_files_photo_id_array":[{"photo_id":"1401901507","filename":"file5"},{"photo_id":"1401901497","filename":"file2"},{"photo_id":"1401901506","filename":"file4"},{"photo_id":"1401901496","filename":"file1"},{"photo_id":"1401901493","filename":"file0"},{"photo_id":"1401901504","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901493":["hashtag1","hashtag2"]},{"1401901506":["hashtag1","hashtag2"]},{"1401901496":["hashtag1","hashtag2"]},{"1401901504":["hashtag1","hashtag2"]},{"1401901507":["hashtag1","hashtag2"]},{"1401901497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901493, 1401901506, 1401901496, 1401901504, 1401901507, 1401901497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68077111244202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:51:21.921911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_35_9677.jpg', '/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_46_10810.jpg', '/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_55_9650.jpg', '/home/pi/Desktop/images/31122025/13/35/image_31122025_13_36_05_9712.jpg', '/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_26_9676.jpg', '/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_35_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_35_9677.jpg
/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_46_10810.jpg
/home/pi/Desktop/images/31122025/13/35/image_31122025_13_35_55_9650.jpg
/home/pi/Desktop/images/31122025/13/35/image_31122025_13_36_05_9712.jpg
/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_26_9676.jpg
/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_35_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901524","1401901526","1401901520","1401901514","1401901517","1401901522"],"photo_ids_order":["1401901514","1401901517","1401901520","1401901522","1401901524","1401901526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/624d9a18e58f1d643534fc272fa16a98.jpg","text":"TemporaryFile(/tmp/multipartBody7568141786446226408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192742648,"filename":"image_31122025_13_36_26_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/706b7477102317c575891597ef2346b4.jpg","text":"TemporaryFile(/tmp/multipartBody9187374658612354467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192742648,"filename":"image_31122025_13_36_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8c09f1061060f631783b26b4a2604cc.jpg","text":"TemporaryFile(/tmp/multipartBody392480033378034915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192742648,"filename":"image_31122025_13_35_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26520f5622ed8c869b43f00d683c71ec.jpg","text":"TemporaryFile(/tmp/multipartBody3335513372031428600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192742648,"filename":"image_31122025_13_35_35_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f37e01186ed5ab43fe4b43162517f907.jpg","text":"TemporaryFile(/tmp/multipartBody1882272404426697434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192742648,"filename":"image_31122025_13_35_46_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a5ca70655ed4d5a297774300e84a127.jpg","text":"TemporaryFile(/tmp/multipartBody1762714382837273286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192742648,"filename":"image_31122025_13_36_05_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901520","file1":"1401901517","file0":"1401901514","file4":"1401901524","file5":"1401901526","file3":"1401901522"},"map_files_photo_id_array":[{"photo_id":"1401901526","filename":"file5"},{"photo_id":"1401901520","filename":"file2"},{"photo_id":"1401901524","filename":"file4"},{"photo_id":"1401901517","filename":"file1"},{"photo_id":"1401901514","filename":"file0"},{"photo_id":"1401901522","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901524":["hashtag1","hashtag2"]},{"1401901526":["hashtag1","hashtag2"]},{"1401901520":["hashtag1","hashtag2"]},{"1401901514":["hashtag1","hashtag2"]},{"1401901517":["hashtag1","hashtag2"]},{"1401901522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901524, 1401901526, 1401901520, 1401901514, 1401901517, 1401901522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.616912841796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:52:02.668697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_45_9846.jpg', '/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_56_10720.jpg', '/home/pi/Desktop/images/31122025/13/36/image_31122025_13_37_05_9616.jpg', '/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_15_9560.jpg', '/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_26_10689.jpg', '/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_35_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_45_9846.jpg
/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_56_10720.jpg
/home/pi/Desktop/images/31122025/13/36/image_31122025_13_37_05_9616.jpg
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_15_9560.jpg
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_26_10689.jpg
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_35_9739.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.6026332378387451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:52:12.135512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_29_3738.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_31_1819.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_35_3661.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_37_2369.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_41_3743.jpg', '/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_44_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_29_3738.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_31_1819.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_35_3661.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_37_2369.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_41_3743.jpg
/home/pi/Desktop/images/03112025/18/57/image_03112025_18_57_44_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901545","1401901554","1401901542","1401901539","1401901532","1401901535"],"photo_ids_order":["1401901532","1401901535","1401901539","1401901542","1401901545","1401901554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/185aee83f6f5a87028865b7e35ddc894.jpg","text":"TemporaryFile(/tmp/multipartBody6756654070204564451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192793848,"filename":"image_03112025_18_57_41_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f7a1941534c9e8f5390e4e4cd11d88b.jpg","text":"TemporaryFile(/tmp/multipartBody9155240858338441047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192793848,"filename":"image_03112025_18_57_44_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4274ed0cbe05b66b9141d1d8b1c08a99.jpg","text":"TemporaryFile(/tmp/multipartBody8531294479845303127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192793848,"filename":"image_03112025_18_57_37_2369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a62247be3f32a7b40030a4dc7e8db20.jpg","text":"TemporaryFile(/tmp/multipartBody8862082523014360634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192793848,"filename":"image_03112025_18_57_35_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3814c6554aabcd1a5d7e90e4e8f0ba9d.jpg","text":"TemporaryFile(/tmp/multipartBody6943235500246743289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192793848,"filename":"image_03112025_18_57_29_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8011b0192cf0233ae7a99211d3124f0a.jpg","text":"TemporaryFile(/tmp/multipartBody50997432583190856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192793848,"filename":"image_03112025_18_57_31_1819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901539","file1":"1401901535","file0":"1401901532","file4":"1401901545","file5":"1401901554","file3":"1401901542"},"map_files_photo_id_array":[{"photo_id":"1401901554","filename":"file5"},{"photo_id":"1401901539","filename":"file2"},{"photo_id":"1401901545","filename":"file4"},{"photo_id":"1401901535","filename":"file1"},{"photo_id":"1401901532","filename":"file0"},{"photo_id":"1401901542","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901545":["hashtag1","hashtag2"]},{"1401901554":["hashtag1","hashtag2"]},{"1401901542":["hashtag1","hashtag2"]},{"1401901539":["hashtag1","hashtag2"]},{"1401901532":["hashtag1","hashtag2"]},{"1401901535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901545, 1401901554, 1401901542, 1401901539, 1401901532, 1401901535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.665196895599365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:53:03.060052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_45_9846.jpg', '/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_56_10720.jpg', '/home/pi/Desktop/images/31122025/13/36/image_31122025_13_37_05_9616.jpg', '/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_15_9560.jpg', '/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_26_10689.jpg', '/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_35_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_45_9846.jpg
/home/pi/Desktop/images/31122025/13/36/image_31122025_13_36_56_10720.jpg
/home/pi/Desktop/images/31122025/13/36/image_31122025_13_37_05_9616.jpg
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_15_9560.jpg
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_26_10689.jpg
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_35_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901572","1401901569","1401901574","1401901576","1401901579","1401901570"],"photo_ids_order":["1401901569","1401901570","1401901572","1401901574","1401901576","1401901579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e4332031c9680c067f87adb2dc1cc8f.jpg","text":"TemporaryFile(/tmp/multipartBody6176725125922735734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192843811,"filename":"image_31122025_13_37_05_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d561a8c1333c725e822c24468ea07219.jpg","text":"TemporaryFile(/tmp/multipartBody3872314945862603668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192843811,"filename":"image_31122025_13_36_45_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b62db509a31e1af7c19997aa9b98363.jpg","text":"TemporaryFile(/tmp/multipartBody7781032163627175505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192843811,"filename":"image_31122025_13_37_15_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a385f1fff0b93b920ce397d02c2e0e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8485866827712158995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192843811,"filename":"image_31122025_13_37_26_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9993b43f23a82cc8d57de486d6f3f401.jpg","text":"TemporaryFile(/tmp/multipartBody6693407157868232174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192843811,"filename":"image_31122025_13_37_35_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7166d82a66de6ab717d8d52903ab67ed.jpg","text":"TemporaryFile(/tmp/multipartBody6011822428562147498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192843811,"filename":"image_31122025_13_36_56_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901572","file1":"1401901570","file0":"1401901569","file4":"1401901576","file5":"1401901579","file3":"1401901574"},"map_files_photo_id_array":[{"photo_id":"1401901579","filename":"file5"},{"photo_id":"1401901572","filename":"file2"},{"photo_id":"1401901576","filename":"file4"},{"photo_id":"1401901570","filename":"file1"},{"photo_id":"1401901569","filename":"file0"},{"photo_id":"1401901574","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901572":["hashtag1","hashtag2"]},{"1401901569":["hashtag1","hashtag2"]},{"1401901574":["hashtag1","hashtag2"]},{"1401901576":["hashtag1","hashtag2"]},{"1401901579":["hashtag1","hashtag2"]},{"1401901570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901572, 1401901569, 1401901574, 1401901576, 1401901579, 1401901570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92991852760315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:53:42.445412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_02_2646.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_04_2555.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_10_1788.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_14_3815.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_17_2757.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_25_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_02_2646.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_04_2555.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_10_1788.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_14_3815.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_17_2757.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_25_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901593","1401901602","1401901597","1401901600","1401901599","1401901590"],"photo_ids_order":["1401901590","1401901593","1401901597","1401901599","1401901600","1401901602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f964c40e60ec10dbf42a7157023406ed.jpg","text":"TemporaryFile(/tmp/multipartBody5715764348210836290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192884239,"filename":"image_03112025_18_58_04_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11a5aac6f7cead1f6d54e9bf3baf84f4.jpg","text":"TemporaryFile(/tmp/multipartBody7519874939850499496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192884239,"filename":"image_03112025_18_58_25_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6a3d8aeffae31989a525deef7cc9a65.jpg","text":"TemporaryFile(/tmp/multipartBody4187801165846491175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192884239,"filename":"image_03112025_18_58_10_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/186bc32bdfbb5531ee261a4ddac40dd9.jpg","text":"TemporaryFile(/tmp/multipartBody739597178180780609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192884239,"filename":"image_03112025_18_58_17_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53564c33d103e40a57af22145fd9c264.jpg","text":"TemporaryFile(/tmp/multipartBody1356454042439042406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192884239,"filename":"image_03112025_18_58_14_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c3621f9605852f23ef4a50c74b7ca9a.jpg","text":"TemporaryFile(/tmp/multipartBody1162368238586151051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192884239,"filename":"image_03112025_18_58_02_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901597","file1":"1401901593","file0":"1401901590","file4":"1401901600","file5":"1401901602","file3":"1401901599"},"map_files_photo_id_array":[{"photo_id":"1401901602","filename":"file5"},{"photo_id":"1401901597","filename":"file2"},{"photo_id":"1401901600","filename":"file4"},{"photo_id":"1401901593","filename":"file1"},{"photo_id":"1401901590","filename":"file0"},{"photo_id":"1401901599","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901593":["hashtag1","hashtag2"]},{"1401901602":["hashtag1","hashtag2"]},{"1401901597":["hashtag1","hashtag2"]},{"1401901600":["hashtag1","hashtag2"]},{"1401901599":["hashtag1","hashtag2"]},{"1401901590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901593, 1401901602, 1401901597, 1401901600, 1401901599, 1401901590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03168845176697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:54:22.619590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_45_9744.jpg', '/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_56_10666.jpg', '/home/pi/Desktop/images/31122025/13/37/image_31122025_13_38_06_9709.jpg', '/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_15_9779.jpg', '/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_25_9755.jpg', '/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_36_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_45_9744.jpg
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_37_56_10666.jpg
/home/pi/Desktop/images/31122025/13/37/image_31122025_13_38_06_9709.jpg
/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_15_9779.jpg
/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_25_9755.jpg
/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_36_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901626","1401901623","1401901617","1401901611","1401901613","1401901609"],"photo_ids_order":["1401901609","1401901611","1401901613","1401901617","1401901623","1401901626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5be03e8a70c634923751b4e73e18d8e6.jpg","text":"TemporaryFile(/tmp/multipartBody217609294905143876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192923292,"filename":"image_31122025_13_38_36_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/841dcc548fb059b264ea8baea17c8f9d.jpg","text":"TemporaryFile(/tmp/multipartBody7789760845138838666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192923292,"filename":"image_31122025_13_38_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f99f5100fff9f079314f05d0ba8caeb.jpg","text":"TemporaryFile(/tmp/multipartBody3498861368193729137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192923292,"filename":"image_31122025_13_38_15_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4c424183161e67bc92d5b14e5d1ef2a.jpg","text":"TemporaryFile(/tmp/multipartBody6794433055736160215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192923292,"filename":"image_31122025_13_37_56_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2c82224cc686c041ab02ea82b87ec10.jpg","text":"TemporaryFile(/tmp/multipartBody3126887600261362945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192923292,"filename":"image_31122025_13_38_06_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb0a03c020c83c0b082e01d4ae24766f.jpg","text":"TemporaryFile(/tmp/multipartBody6865952490249480304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192923292,"filename":"image_31122025_13_37_45_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901613","file1":"1401901611","file0":"1401901609","file4":"1401901623","file5":"1401901626","file3":"1401901617"},"map_files_photo_id_array":[{"photo_id":"1401901626","filename":"file5"},{"photo_id":"1401901613","filename":"file2"},{"photo_id":"1401901623","filename":"file4"},{"photo_id":"1401901611","filename":"file1"},{"photo_id":"1401901609","filename":"file0"},{"photo_id":"1401901617","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901626":["hashtag1","hashtag2"]},{"1401901623":["hashtag1","hashtag2"]},{"1401901617":["hashtag1","hashtag2"]},{"1401901611":["hashtag1","hashtag2"]},{"1401901613":["hashtag1","hashtag2"]},{"1401901609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901626, 1401901623, 1401901617, 1401901611, 1401901613, 1401901609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86841154098511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:55:03.459941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_45_9671.jpg', '/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_55_9683.jpg', '/home/pi/Desktop/images/31122025/13/38/image_31122025_13_39_06_10615.jpg', '/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_15_9690.jpg', '/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_25_9694.jpg', '/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_36_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_45_9671.jpg
/home/pi/Desktop/images/31122025/13/38/image_31122025_13_38_55_9683.jpg
/home/pi/Desktop/images/31122025/13/38/image_31122025_13_39_06_10615.jpg
/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_15_9690.jpg
/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_25_9694.jpg
/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_36_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901629","1401901631","1401901642","1401901636","1401901639","1401901633"],"photo_ids_order":["1401901629","1401901631","1401901633","1401901636","1401901639","1401901642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12c500c50070c001584d87ac8625d9df.jpg","text":"TemporaryFile(/tmp/multipartBody6972720210736631950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192964225,"filename":"image_31122025_13_38_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9f71a3d3f548d59f631b2909403c6d7.jpg","text":"TemporaryFile(/tmp/multipartBody9184433291171720043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192964225,"filename":"image_31122025_13_38_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ab52450185ed26f67945132d64f0344.jpg","text":"TemporaryFile(/tmp/multipartBody7099408262482833721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192964225,"filename":"image_31122025_13_39_36_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bff76c99176f1b98d4bbf98fa7fac18.jpg","text":"TemporaryFile(/tmp/multipartBody6876309882792495383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192964225,"filename":"image_31122025_13_39_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baaa554c989cc4e7cadb7ba1b3ce3ca5.jpg","text":"TemporaryFile(/tmp/multipartBody3788642870850763497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192964225,"filename":"image_31122025_13_39_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/641ecf31cfff31cf58fb84efafdfe7d5.jpg","text":"TemporaryFile(/tmp/multipartBody6966684796041283455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767192964225,"filename":"image_31122025_13_39_06_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901633","file1":"1401901631","file0":"1401901629","file4":"1401901639","file5":"1401901642","file3":"1401901636"},"map_files_photo_id_array":[{"photo_id":"1401901642","filename":"file5"},{"photo_id":"1401901633","filename":"file2"},{"photo_id":"1401901639","filename":"file4"},{"photo_id":"1401901631","filename":"file1"},{"photo_id":"1401901629","filename":"file0"},{"photo_id":"1401901636","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901629":["hashtag1","hashtag2"]},{"1401901631":["hashtag1","hashtag2"]},{"1401901642":["hashtag1","hashtag2"]},{"1401901636":["hashtag1","hashtag2"]},{"1401901639":["hashtag1","hashtag2"]},{"1401901633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901629, 1401901631, 1401901642, 1401901636, 1401901639, 1401901633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89852023124695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:55:42.809734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_34_2689.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_37_2589.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_43_2598.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_49_3543.jpg', '/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_57_4657.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_03_3849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_34_2689.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_37_2589.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_43_2598.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_49_3543.jpg
/home/pi/Desktop/images/03112025/18/58/image_03112025_18_58_57_4657.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_03_3849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901650","1401901653","1401901652","1401901654","1401901648","1401901651"],"photo_ids_order":["1401901648","1401901650","1401901651","1401901652","1401901653","1401901654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07a2be5b72840e8ecda1d35143d65b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8339726861138899082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193004622,"filename":"image_03112025_18_58_37_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb41fceaacbefc1d178e21aa0f7b067c.jpg","text":"TemporaryFile(/tmp/multipartBody4741777678340166387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193004622,"filename":"image_03112025_18_58_57_4657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32477eefb4f326bce8aeac4c8b1f33f7.jpg","text":"TemporaryFile(/tmp/multipartBody5576732715273589428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193004622,"filename":"image_03112025_18_58_49_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e15b0ac5bc75df2ca73719778d6e93dc.jpg","text":"TemporaryFile(/tmp/multipartBody4533405115183542228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193004622,"filename":"image_03112025_18_59_03_3849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2cd3bd3c9eb739945e3ad67861dee2a.jpg","text":"TemporaryFile(/tmp/multipartBody4772413844251930758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193004622,"filename":"image_03112025_18_58_34_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4046bbe6aba86cdf5869ae01e4dc764f.jpg","text":"TemporaryFile(/tmp/multipartBody3125415490386206351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193004622,"filename":"image_03112025_18_58_43_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901651","file1":"1401901650","file0":"1401901648","file4":"1401901653","file5":"1401901654","file3":"1401901652"},"map_files_photo_id_array":[{"photo_id":"1401901654","filename":"file5"},{"photo_id":"1401901651","filename":"file2"},{"photo_id":"1401901653","filename":"file4"},{"photo_id":"1401901650","filename":"file1"},{"photo_id":"1401901648","filename":"file0"},{"photo_id":"1401901652","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901650":["hashtag1","hashtag2"]},{"1401901653":["hashtag1","hashtag2"]},{"1401901652":["hashtag1","hashtag2"]},{"1401901654":["hashtag1","hashtag2"]},{"1401901648":["hashtag1","hashtag2"]},{"1401901651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901650, 1401901653, 1401901652, 1401901654, 1401901648, 1401901651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.570648193359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 15:56:21.977911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_45_9590.jpg', '/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_55_9588.jpg', '/home/pi/Desktop/images/31122025/13/39/image_31122025_13_40_06_10753.jpg', '/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_15_9776.jpg', '/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_25_9679.jpg', '/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_36_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_45_9590.jpg
/home/pi/Desktop/images/31122025/13/39/image_31122025_13_39_55_9588.jpg
/home/pi/Desktop/images/31122025/13/39/image_31122025_13_40_06_10753.jpg
/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_15_9776.jpg
/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_25_9679.jpg
/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_36_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901668","1401901673","1401901661","1401901670","1401901664","1401901666"],"photo_ids_order":["1401901661","1401901664","1401901666","1401901668","1401901670","1401901673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96fa79fba699a0a0ea1c69afebdfe4e8.jpg","text":"TemporaryFile(/tmp/multipartBody7668461740085205939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193042655,"filename":"image_31122025_13_40_15_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0aa007cbd260993586233c154aad20dd.jpg","text":"TemporaryFile(/tmp/multipartBody5434663899944292070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193042655,"filename":"image_31122025_13_40_36_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6139dfa3715c26257e70eb0e3f6269e1.jpg","text":"TemporaryFile(/tmp/multipartBody6713537848787702283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193042655,"filename":"image_31122025_13_39_45_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10a4e868b31fb3b32bf3c4b65dc648f0.jpg","text":"TemporaryFile(/tmp/multipartBody3705235890501281102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193042655,"filename":"image_31122025_13_40_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d2ce02af79796b78a7cd3e1144c73dd.jpg","text":"TemporaryFile(/tmp/multipartBody2216813409009733015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193042655,"filename":"image_31122025_13_39_55_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/664a2b12fdd5f973f9299df78b1829e2.jpg","text":"TemporaryFile(/tmp/multipartBody4832302984893068699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193042655,"filename":"image_31122025_13_40_06_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901666","file1":"1401901664","file0":"1401901661","file4":"1401901670","file5":"1401901673","file3":"1401901668"},"map_files_photo_id_array":[{"photo_id":"1401901673","filename":"file5"},{"photo_id":"1401901666","filename":"file2"},{"photo_id":"1401901670","filename":"file4"},{"photo_id":"1401901664","filename":"file1"},{"photo_id":"1401901661","filename":"file0"},{"photo_id":"1401901668","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901668":["hashtag1","hashtag2"]},{"1401901673":["hashtag1","hashtag2"]},{"1401901661":["hashtag1","hashtag2"]},{"1401901670":["hashtag1","hashtag2"]},{"1401901664":["hashtag1","hashtag2"]},{"1401901666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901668, 1401901673, 1401901661, 1401901670, 1401901664, 1401901666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.183022022247314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:57:02.740675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_46_9730.jpg', '/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_55_9726.jpg', '/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_16_10714.jpg', '/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_26_9708.jpg', '/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_35_9852.jpg', '/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_45_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_46_9730.jpg
/home/pi/Desktop/images/31122025/13/40/image_31122025_13_40_55_9726.jpg
/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_16_10714.jpg
/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_26_9708.jpg
/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_35_9852.jpg
/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_45_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901686","1401901676","1401901678","1401901687","1401901680","1401901683"],"photo_ids_order":["1401901676","1401901678","1401901680","1401901683","1401901686","1401901687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d1df53eb2b5a8490a5e62176b601c29.jpg","text":"TemporaryFile(/tmp/multipartBody9721109544587892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193083523,"filename":"image_31122025_13_41_35_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4e75b3a621fc4de6a602e606df8783a.jpg","text":"TemporaryFile(/tmp/multipartBody1054244357399826539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193083523,"filename":"image_31122025_13_40_46_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fcab6cd26b78973b1d0613490047b497.jpg","text":"TemporaryFile(/tmp/multipartBody5161895195445910359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193083523,"filename":"image_31122025_13_40_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1c0404ebf09386dc042050a568946e1.jpg","text":"TemporaryFile(/tmp/multipartBody1200214294855558208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193083523,"filename":"image_31122025_13_41_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3bbcece594f58d7df0142b976ea304d.jpg","text":"TemporaryFile(/tmp/multipartBody2835918888897755535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193083523,"filename":"image_31122025_13_41_16_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1cd7c7ac91d94dfbb8879dcc04ce3fe.jpg","text":"TemporaryFile(/tmp/multipartBody4941593900479835081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193083523,"filename":"image_31122025_13_41_26_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901680","file1":"1401901678","file0":"1401901676","file4":"1401901686","file5":"1401901687","file3":"1401901683"},"map_files_photo_id_array":[{"photo_id":"1401901687","filename":"file5"},{"photo_id":"1401901680","filename":"file2"},{"photo_id":"1401901686","filename":"file4"},{"photo_id":"1401901678","filename":"file1"},{"photo_id":"1401901676","filename":"file0"},{"photo_id":"1401901683","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901686":["hashtag1","hashtag2"]},{"1401901676":["hashtag1","hashtag2"]},{"1401901678":["hashtag1","hashtag2"]},{"1401901687":["hashtag1","hashtag2"]},{"1401901680":["hashtag1","hashtag2"]},{"1401901683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901686, 1401901676, 1401901678, 1401901687, 1401901680, 1401901683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09077763557434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 15:57:42.175877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_04_1483.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_08_3710.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_17_3576.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_19_2571.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_22_2564.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_28_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_04_1483.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_08_3710.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_17_3576.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_19_2571.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_22_2564.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_28_2580.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901697","1401901696","1401901693","1401901705","1401901695","1401901708"],"photo_ids_order":["1401901693","1401901695","1401901696","1401901697","1401901705","1401901708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a06b090f4b522266344d1248979a6bd.jpg","text":"TemporaryFile(/tmp/multipartBody6434879972164994572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193123972,"filename":"image_03112025_18_59_19_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2df8e5f66b02e52794883d97f70e5934.jpg","text":"TemporaryFile(/tmp/multipartBody3359955601141124438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193123972,"filename":"image_03112025_18_59_17_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1562961188cb4c755acdefafcbf86fb0.jpg","text":"TemporaryFile(/tmp/multipartBody9188483866875654440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193123972,"filename":"image_03112025_18_59_04_1483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1522dee3b4c7a0feb3e276ca073447ab.jpg","text":"TemporaryFile(/tmp/multipartBody8874540440423521020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193123972,"filename":"image_03112025_18_59_22_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b5e19bc1258fba425063982b799a21d.jpg","text":"TemporaryFile(/tmp/multipartBody7174220193774463146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193123972,"filename":"image_03112025_18_59_08_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d71e5c330eaf1ea9eccdf548dca6a983.jpg","text":"TemporaryFile(/tmp/multipartBody7810857776420548992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193123972,"filename":"image_03112025_18_59_28_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901696","file1":"1401901695","file0":"1401901693","file4":"1401901705","file5":"1401901708","file3":"1401901697"},"map_files_photo_id_array":[{"photo_id":"1401901708","filename":"file5"},{"photo_id":"1401901696","filename":"file2"},{"photo_id":"1401901705","filename":"file4"},{"photo_id":"1401901695","filename":"file1"},{"photo_id":"1401901693","filename":"file0"},{"photo_id":"1401901697","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401901697":["hashtag1","hashtag2"]},{"1401901696":["hashtag1","hashtag2"]},{"1401901693":["hashtag1","hashtag2"]},{"1401901705":["hashtag1","hashtag2"]},{"1401901695":["hashtag1","hashtag2"]},{"1401901708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401901697, 1401901696, 1401901693, 1401901705, 1401901695, 1401901708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91018223762512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 15:59:03.292574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_56_10611.jpg', '/home/pi/Desktop/images/31122025/13/41/image_31122025_13_42_05_9754.jpg', '/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_15_9724.jpg', '/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_26_10644.jpg', '/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_35_9682.jpg', '/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_45_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/41/image_31122025_13_41_56_10611.jpg
/home/pi/Desktop/images/31122025/13/41/image_31122025_13_42_05_9754.jpg
/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_15_9724.jpg
/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_26_10644.jpg
/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_35_9682.jpg
/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_45_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901746","1401901725","1401901734","1401901742","1401901729","1401901738"],"photo_ids_order":["1401901725","1401901729","1401901734","1401901738","1401901742","1401901746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7ddf5880ab4e71d4c27c3ad06988159.jpg","text":"TemporaryFile(/tmp/multipartBody6383240494250156640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193203998,"filename":"image_31122025_13_42_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/257ce168a410a8738f047dcc1abf153e.jpg","text":"TemporaryFile(/tmp/multipartBody4491400429432737414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193203998,"filename":"image_31122025_13_41_56_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17e428e780658789ce7602ca9d31d16b.jpg","text":"TemporaryFile(/tmp/multipartBody3907708931337750783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193203998,"filename":"image_31122025_13_42_15_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9cc57a4d4a9d42c9466cebf1acd6312.jpg","text":"TemporaryFile(/tmp/multipartBody3137455674528527802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193203998,"filename":"image_31122025_13_42_35_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26021405e031ed71355c1a6cb278f87c.jpg","text":"TemporaryFile(/tmp/multipartBody4089833446237064876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193203998,"filename":"image_31122025_13_42_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b536276e4af3c096f481bf5bcfae100.jpg","text":"TemporaryFile(/tmp/multipartBody8810798313564944061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193203998,"filename":"image_31122025_13_42_26_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901734","file1":"1401901729","file0":"1401901725","file4":"1401901742","file5":"1401901746","file3":"1401901738"},"map_files_photo_id_array":[{"photo_id":"1401901746","filename":"file5"},{"photo_id":"1401901734","filename":"file2"},{"photo_id":"1401901742","filename":"file4"},{"photo_id":"1401901729","filename":"file1"},{"photo_id":"1401901725","filename":"file0"},{"photo_id":"1401901738","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901746":["hashtag1","hashtag2"]},{"1401901725":["hashtag1","hashtag2"]},{"1401901734":["hashtag1","hashtag2"]},{"1401901742":["hashtag1","hashtag2"]},{"1401901729":["hashtag1","hashtag2"]},{"1401901738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901746, 1401901725, 1401901734, 1401901742, 1401901729, 1401901738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.000757455825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:00:03.179489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_56_10608.jpg', '/home/pi/Desktop/images/31122025/13/42/image_31122025_13_43_06_9755.jpg', '/home/pi/Desktop/images/31122025/13/43/image_31122025_13_43_25_9761.jpg', '/home/pi/Desktop/images/31122025/13/43/image_31122025_13_43_36_10657.jpg', '/home/pi/Desktop/images/31122025/13/43/image_31122025_13_43_45_9727.jpg', '/home/pi/Desktop/images/31122025/13/43/image_31122025_13_43_55_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/42/image_31122025_13_42_56_10608.jpg
/home/pi/Desktop/images/31122025/13/42/image_31122025_13_43_06_9755.jpg
/home/pi/Desktop/images/31122025/13/43/image_31122025_13_43_25_9761.jpg
/home/pi/Desktop/images/31122025/13/43/image_31122025_13_43_36_10657.jpg
/home/pi/Desktop/images/31122025/13/43/image_31122025_13_43_45_9727.jpg
/home/pi/Desktop/images/31122025/13/43/image_31122025_13_43_55_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401901754","1401901751","1401901765","1401901768","1401901756","1401901761"],"photo_ids_order":["1401901751","1401901754","1401901756","1401901761","1401901765","1401901768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99bac2b1140974fc03d2511c0dc41328.jpg","text":"TemporaryFile(/tmp/multipartBody8793490845385748546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193263896,"filename":"image_31122025_13_43_06_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a2c2bce9023698737430055b4a45512.jpg","text":"TemporaryFile(/tmp/multipartBody3830629599209302111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193263896,"filename":"image_31122025_13_42_56_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe89d172707a138841732e98f513239a.jpg","text":"TemporaryFile(/tmp/multipartBody4682483348415911525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193263896,"filename":"image_31122025_13_43_45_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04fc4516d2fb8d62f96e7311706bb9ca.jpg","text":"TemporaryFile(/tmp/multipartBody4928757550562985262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193263896,"filename":"image_31122025_13_43_55_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47be265dfb708ddb6a40a05e3d82fcc8.jpg","text":"TemporaryFile(/tmp/multipartBody5479696337310475956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193263896,"filename":"image_31122025_13_43_25_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/696cd4b254a4fc350e9a52abb5004d90.jpg","text":"TemporaryFile(/tmp/multipartBody572485705110113706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193263896,"filename":"image_31122025_13_43_36_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901756","file1":"1401901754","file0":"1401901751","file4":"1401901765","file5":"1401901768","file3":"1401901761"},"map_files_photo_id_array":[{"photo_id":"1401901768","filename":"file5"},{"photo_id":"1401901756","filename":"file2"},{"photo_id":"1401901765","filename":"file4"},{"photo_id":"1401901754","filename":"file1"},{"photo_id":"1401901751","filename":"file0"},{"photo_id":"1401901761","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401901754":["hashtag1","hashtag2"]},{"1401901751":["hashtag1","hashtag2"]},{"1401901765":["hashtag1","hashtag2"]},{"1401901768":["hashtag1","hashtag2"]},{"1401901756":["hashtag1","hashtag2"]},{"1401901761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401901754, 1401901751, 1401901765, 1401901768, 1401901756, 1401901761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72706127166748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:00:42.682641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_31_2828.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_44_3579.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_46_2562.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_50_3566.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_55_2555.jpg', '/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_59_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_31_2828.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_44_3579.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_46_2562.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_50_3566.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_55_2555.jpg
/home/pi/Desktop/images/03112025/18/59/image_03112025_18_59_59_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401902145","1401901920","1401901850","1401902000","1401902070","1401901807"],"photo_ids_order":["1401901807","1401901850","1401901920","1401902000","1401902070","1401902145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b3729a9f2b7e5f8a38637f674996363.jpg","text":"TemporaryFile(/tmp/multipartBody5744374622001178524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193304389,"filename":"image_03112025_18_59_59_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c0f7b1d2bcd896a740676ccf3823d54.jpg","text":"TemporaryFile(/tmp/multipartBody1330032063384422227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193304389,"filename":"image_03112025_18_59_46_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3808ed0ba101adbfb63a42cb0830f895.jpg","text":"TemporaryFile(/tmp/multipartBody3869326535252157607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193304389,"filename":"image_03112025_18_59_44_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74679dc5dc2437cffce968db7c361fbe.jpg","text":"TemporaryFile(/tmp/multipartBody2529645495139559263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193304389,"filename":"image_03112025_18_59_50_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c95a4e4bdf6d79ffb43a587f5235bac7.jpg","text":"TemporaryFile(/tmp/multipartBody4632778950392471527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193304389,"filename":"image_03112025_18_59_55_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54538acfa916d7b4a02f294fe31f7bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3711745909543589968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193304389,"filename":"image_03112025_18_59_31_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401901920","file1":"1401901850","file0":"1401901807","file4":"1401902070","file5":"1401902145","file3":"1401902000"},"map_files_photo_id_array":[{"photo_id":"1401902145","filename":"file5"},{"photo_id":"1401901920","filename":"file2"},{"photo_id":"1401902070","filename":"file4"},{"photo_id":"1401901850","filename":"file1"},{"photo_id":"1401901807","filename":"file0"},{"photo_id":"1401902000","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401902145":["hashtag1","hashtag2"]},{"1401901920":["hashtag1","hashtag2"]},{"1401901850":["hashtag1","hashtag2"]},{"1401902000":["hashtag1","hashtag2"]},{"1401902070":["hashtag1","hashtag2"]},{"1401901807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401902145, 1401901920, 1401901850, 1401902000, 1401902070, 1401901807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41335368156433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:01:22.091243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/43/image_31122025_13_44_05_9805.jpg', '/home/pi/Desktop/images/31122025/13/44/image_31122025_13_44_16_10759.jpg', '/home/pi/Desktop/images/31122025/13/44/image_31122025_13_44_26_9735.jpg', '/home/pi/Desktop/images/31122025/13/44/image_31122025_13_44_45_9697.jpg', '/home/pi/Desktop/images/31122025/13/44/image_31122025_13_44_56_10593.jpg', '/home/pi/Desktop/images/31122025/13/44/image_31122025_13_45_05_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/43/image_31122025_13_44_05_9805.jpg
/home/pi/Desktop/images/31122025/13/44/image_31122025_13_44_16_10759.jpg
/home/pi/Desktop/images/31122025/13/44/image_31122025_13_44_26_9735.jpg
/home/pi/Desktop/images/31122025/13/44/image_31122025_13_44_45_9697.jpg
/home/pi/Desktop/images/31122025/13/44/image_31122025_13_44_56_10593.jpg
/home/pi/Desktop/images/31122025/13/44/image_31122025_13_45_05_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401902541","1401902762","1401902470","1401902392","1401902611","1401902682"],"photo_ids_order":["1401902392","1401902470","1401902541","1401902611","1401902682","1401902762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2222e0b247038eabe44ef612c98e6ea7.jpg","text":"TemporaryFile(/tmp/multipartBody5664991564151746183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193342796,"filename":"image_31122025_13_44_26_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/925bd11f799ed653f9d9128f372248a8.jpg","text":"TemporaryFile(/tmp/multipartBody207454711022222388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193342796,"filename":"image_31122025_13_45_05_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d1d05eecf76c9a1e0a00f28215a96fa.jpg","text":"TemporaryFile(/tmp/multipartBody1241367721619017399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193342796,"filename":"image_31122025_13_44_16_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca9900dfa4051f20f27b65f5c1bb7eac.jpg","text":"TemporaryFile(/tmp/multipartBody285097037725513595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193342796,"filename":"image_31122025_13_44_05_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0afa3f21b2ccfcfe7ffe70e931c81b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1512156772292551420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193342796,"filename":"image_31122025_13_44_45_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c91939be1b542789a9a08111f71224c4.jpg","text":"TemporaryFile(/tmp/multipartBody1293629840051572937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193342796,"filename":"image_31122025_13_44_56_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401902541","file1":"1401902470","file0":"1401902392","file4":"1401902682","file5":"1401902762","file3":"1401902611"},"map_files_photo_id_array":[{"photo_id":"1401902762","filename":"file5"},{"photo_id":"1401902541","filename":"file2"},{"photo_id":"1401902682","filename":"file4"},{"photo_id":"1401902470","filename":"file1"},{"photo_id":"1401902392","filename":"file0"},{"photo_id":"1401902611","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401902541":["hashtag1","hashtag2"]},{"1401902762":["hashtag1","hashtag2"]},{"1401902470":["hashtag1","hashtag2"]},{"1401902392":["hashtag1","hashtag2"]},{"1401902611":["hashtag1","hashtag2"]},{"1401902682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401902541, 1401902762, 1401902470, 1401902392, 1401902611, 1401902682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.492887020111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:02:02.592017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/45/image_31122025_13_45_35_9555.jpg', '/home/pi/Desktop/images/31122025/13/45/image_31122025_13_46_06_9793.jpg', '/home/pi/Desktop/images/31122025/13/46/image_31122025_13_46_36_10693.jpg', '/home/pi/Desktop/images/31122025/13/46/image_31122025_13_46_45_9830.jpg', '/home/pi/Desktop/images/31122025/13/46/image_31122025_13_46_55_9850.jpg', '/home/pi/Desktop/images/31122025/13/46/image_31122025_13_47_05_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/45/image_31122025_13_45_35_9555.jpg
/home/pi/Desktop/images/31122025/13/45/image_31122025_13_46_06_9793.jpg
/home/pi/Desktop/images/31122025/13/46/image_31122025_13_46_36_10693.jpg
/home/pi/Desktop/images/31122025/13/46/image_31122025_13_46_45_9830.jpg
/home/pi/Desktop/images/31122025/13/46/image_31122025_13_46_55_9850.jpg
/home/pi/Desktop/images/31122025/13/46/image_31122025_13_47_05_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401903353","1401903041","1401903199","1401903427","1401903127","1401903276"],"photo_ids_order":["1401903041","1401903127","1401903199","1401903276","1401903353","1401903427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30b0061cd2f4e86b279ef890ee9a654b.jpg","text":"TemporaryFile(/tmp/multipartBody6124807954229310355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193383289,"filename":"image_31122025_13_46_55_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b3c778920b279bab4cc33a60b753910.jpg","text":"TemporaryFile(/tmp/multipartBody7916841112065658554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193383289,"filename":"image_31122025_13_45_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4f4384c78a24afac042661850a657ed.jpg","text":"TemporaryFile(/tmp/multipartBody4631673865639736803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193383289,"filename":"image_31122025_13_46_36_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3de09bfb09c56cbadd721f1c8cf1c948.jpg","text":"TemporaryFile(/tmp/multipartBody4735833771649599390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193383289,"filename":"image_31122025_13_47_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15cb6d24439405b79f5e353cab76a1e9.jpg","text":"TemporaryFile(/tmp/multipartBody6966828431114917201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193383289,"filename":"image_31122025_13_46_06_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/838e4be6ff5759d390b0a6791fca3634.jpg","text":"TemporaryFile(/tmp/multipartBody7487674417954721681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193383289,"filename":"image_31122025_13_46_45_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401903199","file1":"1401903127","file0":"1401903041","file4":"1401903353","file5":"1401903427","file3":"1401903276"},"map_files_photo_id_array":[{"photo_id":"1401903427","filename":"file5"},{"photo_id":"1401903199","filename":"file2"},{"photo_id":"1401903353","filename":"file4"},{"photo_id":"1401903127","filename":"file1"},{"photo_id":"1401903041","filename":"file0"},{"photo_id":"1401903276","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401903353":["hashtag1","hashtag2"]},{"1401903041":["hashtag1","hashtag2"]},{"1401903199":["hashtag1","hashtag2"]},{"1401903427":["hashtag1","hashtag2"]},{"1401903127":["hashtag1","hashtag2"]},{"1401903276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401903353, 1401903041, 1401903199, 1401903427, 1401903127, 1401903276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88706970214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:02:42.319594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_06_3081.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_10_3723.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_12_2204.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_16_3791.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_19_2648.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_21_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_06_3081.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_10_3723.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_12_2204.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_16_3791.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_19_2648.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_21_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401903598","1401903583","1401903579","1401903581","1401903590","1401903563"],"photo_ids_order":["1401903563","1401903579","1401903581","1401903583","1401903590","1401903598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dbefc7848fa3c8d391310f2a0c16e8b.jpg","text":"TemporaryFile(/tmp/multipartBody7514721717642398007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193424281,"filename":"image_03112025_19_01_21_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae6f80699c356329537d495600b0f301.jpg","text":"TemporaryFile(/tmp/multipartBody7722671266594842731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193424281,"filename":"image_03112025_19_01_16_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5998a616a3110baa93b7705212c52fb.jpg","text":"TemporaryFile(/tmp/multipartBody229406374261011128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193424281,"filename":"image_03112025_19_01_10_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61d274ac19ae6a5a43252429cef964e7.jpg","text":"TemporaryFile(/tmp/multipartBody6830702531844416647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193424281,"filename":"image_03112025_19_01_12_2204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbb977d47663e731fd772b0bb6a5b37e.jpg","text":"TemporaryFile(/tmp/multipartBody1806467003262823214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193424281,"filename":"image_03112025_19_01_19_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62463599761c7d50ae84dbf3776d157a.jpg","text":"TemporaryFile(/tmp/multipartBody4081454834632260509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193424281,"filename":"image_03112025_19_01_06_3081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401903581","file1":"1401903579","file0":"1401903563","file4":"1401903590","file5":"1401903598","file3":"1401903583"},"map_files_photo_id_array":[{"photo_id":"1401903598","filename":"file5"},{"photo_id":"1401903581","filename":"file2"},{"photo_id":"1401903590","filename":"file4"},{"photo_id":"1401903579","filename":"file1"},{"photo_id":"1401903563","filename":"file0"},{"photo_id":"1401903583","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401903598":["hashtag1","hashtag2"]},{"1401903583":["hashtag1","hashtag2"]},{"1401903579":["hashtag1","hashtag2"]},{"1401903581":["hashtag1","hashtag2"]},{"1401903590":["hashtag1","hashtag2"]},{"1401903563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401903598, 1401903583, 1401903579, 1401903581, 1401903590, 1401903563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01050400733948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:03:22.461417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_16_10735.jpg', '/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_25_9609.jpg', '/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_35_9832.jpg', '/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_46_10674.jpg', '/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_56_9663.jpg', '/home/pi/Desktop/images/31122025/13/48/image_31122025_13_48_15_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_16_10735.jpg
/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_25_9609.jpg
/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_35_9832.jpg
/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_46_10674.jpg
/home/pi/Desktop/images/31122025/13/47/image_31122025_13_47_56_9663.jpg
/home/pi/Desktop/images/31122025/13/48/image_31122025_13_48_15_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401903614","1401903694","1401903895","1401903745","1401903654","1401903819"],"photo_ids_order":["1401903614","1401903654","1401903694","1401903745","1401903819","1401903895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e89c300d377396a136c51e2e21789c6.jpg","text":"TemporaryFile(/tmp/multipartBody8691597445572392137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193463114,"filename":"image_31122025_13_47_16_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6746fee936e54488460058a506641666.jpg","text":"TemporaryFile(/tmp/multipartBody4513657184464981977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193463114,"filename":"image_31122025_13_47_35_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ad6b8e4d53d43a527954d73e12a974e.jpg","text":"TemporaryFile(/tmp/multipartBody8532646583011000797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193463114,"filename":"image_31122025_13_48_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81a1fe374ea648f1a6eb70a19567058c.jpg","text":"TemporaryFile(/tmp/multipartBody8442544216931323859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193463114,"filename":"image_31122025_13_47_46_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3aceba53836f1328ebed19a2fdb5b88.jpg","text":"TemporaryFile(/tmp/multipartBody6970973033173256396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193463114,"filename":"image_31122025_13_47_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07e0f01c1530efc44534b96d283b42c2.jpg","text":"TemporaryFile(/tmp/multipartBody2156917900428474545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193463114,"filename":"image_31122025_13_47_56_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401903694","file1":"1401903654","file0":"1401903614","file4":"1401903819","file5":"1401903895","file3":"1401903745"},"map_files_photo_id_array":[{"photo_id":"1401903895","filename":"file5"},{"photo_id":"1401903694","filename":"file2"},{"photo_id":"1401903819","filename":"file4"},{"photo_id":"1401903654","filename":"file1"},{"photo_id":"1401903614","filename":"file0"},{"photo_id":"1401903745","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401903614":["hashtag1","hashtag2"]},{"1401903694":["hashtag1","hashtag2"]},{"1401903895":["hashtag1","hashtag2"]},{"1401903745":["hashtag1","hashtag2"]},{"1401903654":["hashtag1","hashtag2"]},{"1401903819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401903614, 1401903694, 1401903895, 1401903745, 1401903654, 1401903819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54025435447693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:04:03.468648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/48/image_31122025_13_48_45_9742.jpg', '/home/pi/Desktop/images/31122025/13/48/image_31122025_13_48_55_9874.jpg', '/home/pi/Desktop/images/31122025/13/49/image_31122025_13_49_16_9806.jpg', '/home/pi/Desktop/images/31122025/13/49/image_31122025_13_49_46_9812.jpg', '/home/pi/Desktop/images/31122025/13/49/image_31122025_13_49_55_9573.jpg', '/home/pi/Desktop/images/31122025/13/49/image_31122025_13_50_06_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/48/image_31122025_13_48_45_9742.jpg
/home/pi/Desktop/images/31122025/13/48/image_31122025_13_48_55_9874.jpg
/home/pi/Desktop/images/31122025/13/49/image_31122025_13_49_16_9806.jpg
/home/pi/Desktop/images/31122025/13/49/image_31122025_13_49_46_9812.jpg
/home/pi/Desktop/images/31122025/13/49/image_31122025_13_49_55_9573.jpg
/home/pi/Desktop/images/31122025/13/49/image_31122025_13_50_06_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904322","1401904096","1401904171","1401904255","1401904219","1401904286"],"photo_ids_order":["1401904096","1401904171","1401904219","1401904255","1401904286","1401904322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e949d6418a3d274a93456c035e2d16f2.jpg","text":"TemporaryFile(/tmp/multipartBody4818311843765678237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193504193,"filename":"image_31122025_13_50_06_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e03c1f9955546801986394666f7f4efc.jpg","text":"TemporaryFile(/tmp/multipartBody97948612306391241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193504193,"filename":"image_31122025_13_48_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1172044358893c6e88e83dcbaad5053b.jpg","text":"TemporaryFile(/tmp/multipartBody2550319463905011959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193504193,"filename":"image_31122025_13_48_55_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3587de6e8a0f7965ceab019ca94692a3.jpg","text":"TemporaryFile(/tmp/multipartBody2291754410866390997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193504193,"filename":"image_31122025_13_49_46_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e04ef41d7d8eba50679db7ae2d72a37c.jpg","text":"TemporaryFile(/tmp/multipartBody5083735745301138033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193504193,"filename":"image_31122025_13_49_16_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd2ab64279020169e844dd6d7fdcfe02.jpg","text":"TemporaryFile(/tmp/multipartBody7632642589991016502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193504193,"filename":"image_31122025_13_49_55_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904219","file1":"1401904171","file0":"1401904096","file4":"1401904286","file5":"1401904322","file3":"1401904255"},"map_files_photo_id_array":[{"photo_id":"1401904322","filename":"file5"},{"photo_id":"1401904219","filename":"file2"},{"photo_id":"1401904286","filename":"file4"},{"photo_id":"1401904171","filename":"file1"},{"photo_id":"1401904096","filename":"file0"},{"photo_id":"1401904255","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904322":["hashtag1","hashtag2"]},{"1401904096":["hashtag1","hashtag2"]},{"1401904171":["hashtag1","hashtag2"]},{"1401904255":["hashtag1","hashtag2"]},{"1401904219":["hashtag1","hashtag2"]},{"1401904286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904322, 1401904096, 1401904171, 1401904255, 1401904219, 1401904286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.640483140945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:04:42.710187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_26_4884.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_28_1517.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_34_3650.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_39_2677.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_43_3531.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_46_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_26_4884.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_28_1517.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_34_3650.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_39_2677.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_43_3531.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_46_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904442","1401904429","1401904443","1401904382","1401904445","1401904412"],"photo_ids_order":["1401904382","1401904412","1401904429","1401904442","1401904443","1401904445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21586553714f60734391fb3b48bf4636.jpg","text":"TemporaryFile(/tmp/multipartBody954451799035979707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193544510,"filename":"image_03112025_19_01_39_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94da0e3a0739832d1373d66157ed466c.jpg","text":"TemporaryFile(/tmp/multipartBody3686027275758684233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193544510,"filename":"image_03112025_19_01_34_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b76200953920e45d2fddcc4316ea44c7.jpg","text":"TemporaryFile(/tmp/multipartBody6503726858597289714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193544510,"filename":"image_03112025_19_01_43_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/823cf08caba8c3bb94604db2e2a7ad0f.jpg","text":"TemporaryFile(/tmp/multipartBody7115141676852823457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193544510,"filename":"image_03112025_19_01_26_4884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0b9eaff61d2a7d8fa579a209166b9af.jpg","text":"TemporaryFile(/tmp/multipartBody4046922457929105403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193544510,"filename":"image_03112025_19_01_46_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7772b580f1b3463300d8739ed818d9f3.jpg","text":"TemporaryFile(/tmp/multipartBody246649607366242111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193544510,"filename":"image_03112025_19_01_28_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904429","file1":"1401904412","file0":"1401904382","file4":"1401904443","file5":"1401904445","file3":"1401904442"},"map_files_photo_id_array":[{"photo_id":"1401904445","filename":"file5"},{"photo_id":"1401904429","filename":"file2"},{"photo_id":"1401904443","filename":"file4"},{"photo_id":"1401904412","filename":"file1"},{"photo_id":"1401904382","filename":"file0"},{"photo_id":"1401904442","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904442":["hashtag1","hashtag2"]},{"1401904429":["hashtag1","hashtag2"]},{"1401904443":["hashtag1","hashtag2"]},{"1401904382":["hashtag1","hashtag2"]},{"1401904445":["hashtag1","hashtag2"]},{"1401904412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904442, 1401904429, 1401904443, 1401904382, 1401904445, 1401904412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33709001541138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:05:21.965799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/50/image_31122025_13_50_25_9669.jpg', '/home/pi/Desktop/images/31122025/13/50/image_31122025_13_50_36_10702.jpg', '/home/pi/Desktop/images/31122025/13/50/image_31122025_13_50_46_9819.jpg', '/home/pi/Desktop/images/31122025/13/50/image_31122025_13_50_55_9727.jpg', '/home/pi/Desktop/images/31122025/13/50/image_31122025_13_51_05_9874.jpg', '/home/pi/Desktop/images/31122025/13/51/image_31122025_13_51_26_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/50/image_31122025_13_50_25_9669.jpg
/home/pi/Desktop/images/31122025/13/50/image_31122025_13_50_36_10702.jpg
/home/pi/Desktop/images/31122025/13/50/image_31122025_13_50_46_9819.jpg
/home/pi/Desktop/images/31122025/13/50/image_31122025_13_50_55_9727.jpg
/home/pi/Desktop/images/31122025/13/50/image_31122025_13_51_05_9874.jpg
/home/pi/Desktop/images/31122025/13/51/image_31122025_13_51_26_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904453","1401904456","1401904459","1401904450","1401904461","1401904463"],"photo_ids_order":["1401904450","1401904453","1401904456","1401904459","1401904461","1401904463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/187a1a290cc57abf73def32d6f7a965a.jpg","text":"TemporaryFile(/tmp/multipartBody5341039596987984442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193582622,"filename":"image_31122025_13_50_36_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8807d8dc5fe35384fc09599993514e59.jpg","text":"TemporaryFile(/tmp/multipartBody5919934944781764262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193582622,"filename":"image_31122025_13_50_46_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2008c1eb9d847d49824000c2bb67fc2a.jpg","text":"TemporaryFile(/tmp/multipartBody7757999371368241278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193582622,"filename":"image_31122025_13_50_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/193d53d683b739b50ffcae308a1196c8.jpg","text":"TemporaryFile(/tmp/multipartBody1930785917736747699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193582622,"filename":"image_31122025_13_50_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45458104baac33e45b03b7c7018aeda7.jpg","text":"TemporaryFile(/tmp/multipartBody6404594554308808003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193582622,"filename":"image_31122025_13_51_05_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c455b5c62220b006ea309e5ede84d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2419486455960451603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193582622,"filename":"image_31122025_13_51_26_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904456","file1":"1401904453","file0":"1401904450","file4":"1401904461","file5":"1401904463","file3":"1401904459"},"map_files_photo_id_array":[{"photo_id":"1401904463","filename":"file5"},{"photo_id":"1401904456","filename":"file2"},{"photo_id":"1401904461","filename":"file4"},{"photo_id":"1401904453","filename":"file1"},{"photo_id":"1401904450","filename":"file0"},{"photo_id":"1401904459","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904453":["hashtag1","hashtag2"]},{"1401904456":["hashtag1","hashtag2"]},{"1401904459":["hashtag1","hashtag2"]},{"1401904450":["hashtag1","hashtag2"]},{"1401904461":["hashtag1","hashtag2"]},{"1401904463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904453, 1401904456, 1401904459, 1401904450, 1401904461, 1401904463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.753578901290894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:06:02.510862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/51/image_31122025_13_51_35_9650.jpg', '/home/pi/Desktop/images/31122025/13/51/image_31122025_13_51_45_9831.jpg', '/home/pi/Desktop/images/31122025/13/51/image_31122025_13_51_55_9807.jpg', '/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_25_9675.jpg', '/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_35_9806.jpg', '/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_46_10836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/51/image_31122025_13_51_35_9650.jpg
/home/pi/Desktop/images/31122025/13/51/image_31122025_13_51_45_9831.jpg
/home/pi/Desktop/images/31122025/13/51/image_31122025_13_51_55_9807.jpg
/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_25_9675.jpg
/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_35_9806.jpg
/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_46_10836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904477","1401904479","1401904487","1401904481","1401904475","1401904484"],"photo_ids_order":["1401904475","1401904477","1401904479","1401904481","1401904484","1401904487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ab07b75c36ed2b2c646df9d392c4642.jpg","text":"TemporaryFile(/tmp/multipartBody2128474455635623108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193623188,"filename":"image_31122025_13_51_45_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b12c5d62725fe6531a980460024ea54c.jpg","text":"TemporaryFile(/tmp/multipartBody2177571688607015434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193623188,"filename":"image_31122025_13_51_55_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf2256c3269b4cdd38e9f6f81f4254a6.jpg","text":"TemporaryFile(/tmp/multipartBody5791796910691021643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193623188,"filename":"image_31122025_13_52_46_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c915db138820d6f15a0b09d07e732e57.jpg","text":"TemporaryFile(/tmp/multipartBody3569288879735503172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193623188,"filename":"image_31122025_13_52_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc0bd88d17ceb16bb9c935f8940b283c.jpg","text":"TemporaryFile(/tmp/multipartBody8936575028344858667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193623188,"filename":"image_31122025_13_51_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ded99b2b460e5ab092275e5365ac4a8.jpg","text":"TemporaryFile(/tmp/multipartBody8281950803688614651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193623188,"filename":"image_31122025_13_52_35_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904479","file1":"1401904477","file0":"1401904475","file4":"1401904484","file5":"1401904487","file3":"1401904481"},"map_files_photo_id_array":[{"photo_id":"1401904487","filename":"file5"},{"photo_id":"1401904479","filename":"file2"},{"photo_id":"1401904484","filename":"file4"},{"photo_id":"1401904477","filename":"file1"},{"photo_id":"1401904475","filename":"file0"},{"photo_id":"1401904481","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904477":["hashtag1","hashtag2"]},{"1401904479":["hashtag1","hashtag2"]},{"1401904487":["hashtag1","hashtag2"]},{"1401904481":["hashtag1","hashtag2"]},{"1401904475":["hashtag1","hashtag2"]},{"1401904484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904477, 1401904479, 1401904487, 1401904481, 1401904475, 1401904484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56916856765747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:06:41.985806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_48_2620.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_52_3637.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_57_2656.jpg', '/home/pi/Desktop/images/03112025/19/01/image_03112025_19_02_01_3688.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_04_2667.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_06_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_48_2620.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_52_3637.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_01_57_2656.jpg
/home/pi/Desktop/images/03112025/19/01/image_03112025_19_02_01_3688.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_04_2667.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_06_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904502","1401904505","1401904504","1401904500","1401904503","1401904506"],"photo_ids_order":["1401904500","1401904502","1401904503","1401904504","1401904505","1401904506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1c2b0c448a7589a4d9198f5067f62ae.jpg","text":"TemporaryFile(/tmp/multipartBody4953065731534170792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193663803,"filename":"image_03112025_19_01_52_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f15b9432b112c993d558319605aaf116.jpg","text":"TemporaryFile(/tmp/multipartBody1635975612763920960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193663803,"filename":"image_03112025_19_02_04_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7323a7f7940d58bfcc958d228a443f0.jpg","text":"TemporaryFile(/tmp/multipartBody8999135599118263619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193663803,"filename":"image_03112025_19_02_01_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5dbdd3f1da0cc6dc0909c2d7a5152448.jpg","text":"TemporaryFile(/tmp/multipartBody8923981380294989609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193663803,"filename":"image_03112025_19_01_48_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0be7a4d7f5c75fb84a3c92a3075cf72.jpg","text":"TemporaryFile(/tmp/multipartBody8345870649891188471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193663803,"filename":"image_03112025_19_01_57_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3cc6ab2c80ea59b450b7b45c5863fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5366926608243229512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193663803,"filename":"image_03112025_19_02_06_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904503","file1":"1401904502","file0":"1401904500","file4":"1401904505","file5":"1401904506","file3":"1401904504"},"map_files_photo_id_array":[{"photo_id":"1401904506","filename":"file5"},{"photo_id":"1401904503","filename":"file2"},{"photo_id":"1401904505","filename":"file4"},{"photo_id":"1401904502","filename":"file1"},{"photo_id":"1401904500","filename":"file0"},{"photo_id":"1401904504","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904502":["hashtag1","hashtag2"]},{"1401904505":["hashtag1","hashtag2"]},{"1401904504":["hashtag1","hashtag2"]},{"1401904500":["hashtag1","hashtag2"]},{"1401904503":["hashtag1","hashtag2"]},{"1401904506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904502, 1401904505, 1401904504, 1401904500, 1401904503, 1401904506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.800862073898315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:07:22.168582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_55_9613.jpg', '/home/pi/Desktop/images/31122025/13/52/image_31122025_13_53_05_9594.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_16_10830.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_26_9662.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_35_9612.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_45_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_55_9613.jpg
/home/pi/Desktop/images/31122025/13/52/image_31122025_13_53_05_9594.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_16_10830.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_26_9662.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_35_9612.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_45_9741.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5343127250671387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:07:32.149869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_10_3578.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_15_2623.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_19_3752.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_24_2687.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_28_3765.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_36_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_10_3578.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_15_2623.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_19_3752.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_24_2687.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_28_3765.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_36_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904529","1401904520","1401904523","1401904527","1401904530","1401904518"],"photo_ids_order":["1401904518","1401904520","1401904523","1401904527","1401904529","1401904530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/faea8e6ffeecccaf5cabaa8609403255.jpg","text":"TemporaryFile(/tmp/multipartBody2184336615819557776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193713955,"filename":"image_03112025_19_02_28_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9992b6e47dc3ce62ecd82aa6cee1d51e.jpg","text":"TemporaryFile(/tmp/multipartBody1970913187889728514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193713955,"filename":"image_03112025_19_02_15_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdd74fbe5359c0b59fea884cb6e00d90.jpg","text":"TemporaryFile(/tmp/multipartBody4198716838865397225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193713955,"filename":"image_03112025_19_02_19_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/662c81b5c69fe98244c8146a72cc0cd9.jpg","text":"TemporaryFile(/tmp/multipartBody7875151168643882278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193713955,"filename":"image_03112025_19_02_24_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e26fb42163b7fa6035c5625546cce05.jpg","text":"TemporaryFile(/tmp/multipartBody4100662420914325085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193713955,"filename":"image_03112025_19_02_36_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7bf2c4f11fd3518a1a3a6614dd6b033.jpg","text":"TemporaryFile(/tmp/multipartBody5356276415769687659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193713955,"filename":"image_03112025_19_02_10_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904523","file1":"1401904520","file0":"1401904518","file4":"1401904529","file5":"1401904530","file3":"1401904527"},"map_files_photo_id_array":[{"photo_id":"1401904530","filename":"file5"},{"photo_id":"1401904523","filename":"file2"},{"photo_id":"1401904529","filename":"file4"},{"photo_id":"1401904520","filename":"file1"},{"photo_id":"1401904518","filename":"file0"},{"photo_id":"1401904527","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904529":["hashtag1","hashtag2"]},{"1401904520":["hashtag1","hashtag2"]},{"1401904523":["hashtag1","hashtag2"]},{"1401904527":["hashtag1","hashtag2"]},{"1401904530":["hashtag1","hashtag2"]},{"1401904518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904529, 1401904520, 1401904523, 1401904527, 1401904530, 1401904518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.609575033187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:08:12.385574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_37_1627.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_40_2603.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_43_2594.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_45_2730.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_55_2748.jpg', '/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_58_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_37_1627.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_40_2603.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_43_2594.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_45_2730.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_55_2748.jpg
/home/pi/Desktop/images/03112025/19/02/image_03112025_19_02_58_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904552","1401904555","1401904549","1401904546","1401904542","1401904544"],"photo_ids_order":["1401904542","1401904544","1401904546","1401904549","1401904552","1401904555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70a8e1d6205ad95437a06e9adcf710c1.jpg","text":"TemporaryFile(/tmp/multipartBody8244197959654671009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193754084,"filename":"image_03112025_19_02_55_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec23562f1b76773c81561fe07bce7391.jpg","text":"TemporaryFile(/tmp/multipartBody727703420292690144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193754084,"filename":"image_03112025_19_02_58_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/914a309a8508ef85776bc64398257cda.jpg","text":"TemporaryFile(/tmp/multipartBody2222072984317437545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193754084,"filename":"image_03112025_19_02_45_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6450dd5c7d2effe7bd4c37d2287c286c.jpg","text":"TemporaryFile(/tmp/multipartBody3160720020852230296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193754084,"filename":"image_03112025_19_02_43_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adc7a9270ef1bfe804ac47dc064464b2.jpg","text":"TemporaryFile(/tmp/multipartBody8146815039747360206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193754084,"filename":"image_03112025_19_02_37_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49fe7d173add16e1e2177054c48eebc8.jpg","text":"TemporaryFile(/tmp/multipartBody2582885052076179948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193754084,"filename":"image_03112025_19_02_40_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904546","file1":"1401904544","file0":"1401904542","file4":"1401904552","file5":"1401904555","file3":"1401904549"},"map_files_photo_id_array":[{"photo_id":"1401904555","filename":"file5"},{"photo_id":"1401904546","filename":"file2"},{"photo_id":"1401904552","filename":"file4"},{"photo_id":"1401904544","filename":"file1"},{"photo_id":"1401904542","filename":"file0"},{"photo_id":"1401904549","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904552":["hashtag1","hashtag2"]},{"1401904555":["hashtag1","hashtag2"]},{"1401904549":["hashtag1","hashtag2"]},{"1401904546":["hashtag1","hashtag2"]},{"1401904542":["hashtag1","hashtag2"]},{"1401904544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904552, 1401904555, 1401904549, 1401904546, 1401904542, 1401904544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99430704116821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:09:03.371112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_55_9613.jpg', '/home/pi/Desktop/images/31122025/13/52/image_31122025_13_53_05_9594.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_16_10830.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_26_9662.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_35_9612.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_45_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/52/image_31122025_13_52_55_9613.jpg
/home/pi/Desktop/images/31122025/13/52/image_31122025_13_53_05_9594.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_16_10830.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_26_9662.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_35_9612.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_45_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904596","1401904593","1401904580","1401904598","1401904583","1401904577"],"photo_ids_order":["1401904577","1401904580","1401904583","1401904593","1401904596","1401904598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ce2a118ce3f5f357f3b794578d8f4aa.jpg","text":"TemporaryFile(/tmp/multipartBody5669500844151154617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193804134,"filename":"image_31122025_13_53_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06ec45834d69b671bd9d950945d4c310.jpg","text":"TemporaryFile(/tmp/multipartBody7831209225638881657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193804134,"filename":"image_31122025_13_53_26_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc686a2c86787f2a860a25290a8082ad.jpg","text":"TemporaryFile(/tmp/multipartBody2138762789629444622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193804134,"filename":"image_31122025_13_53_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c521f741301a45c3353c7d6b6f8241f8.jpg","text":"TemporaryFile(/tmp/multipartBody9095760378894657047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193804134,"filename":"image_31122025_13_53_45_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab16e84986769bca7c6c8cf451324932.jpg","text":"TemporaryFile(/tmp/multipartBody8438538242363234107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193804134,"filename":"image_31122025_13_53_16_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bce9e938971ff6e8e6f93eace8de68f.jpg","text":"TemporaryFile(/tmp/multipartBody8747513085403350074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193804134,"filename":"image_31122025_13_52_55_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904583","file1":"1401904580","file0":"1401904577","file4":"1401904596","file5":"1401904598","file3":"1401904593"},"map_files_photo_id_array":[{"photo_id":"1401904598","filename":"file5"},{"photo_id":"1401904583","filename":"file2"},{"photo_id":"1401904596","filename":"file4"},{"photo_id":"1401904580","filename":"file1"},{"photo_id":"1401904577","filename":"file0"},{"photo_id":"1401904593","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904596":["hashtag1","hashtag2"]},{"1401904593":["hashtag1","hashtag2"]},{"1401904580":["hashtag1","hashtag2"]},{"1401904598":["hashtag1","hashtag2"]},{"1401904583":["hashtag1","hashtag2"]},{"1401904577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904596, 1401904593, 1401904580, 1401904598, 1401904583, 1401904577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16208481788635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:09:42.486655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_01_2818.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_04_2753.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_13_3584.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_15_2542.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_28_3700.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_31_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_01_2818.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_04_2753.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_13_3584.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_15_2542.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_28_3700.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_31_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904613","1401904615","1401904609","1401904617","1401904611","1401904605"],"photo_ids_order":["1401904605","1401904609","1401904611","1401904613","1401904615","1401904617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36f670cdcabe521e65b0d25c11da2a18.jpg","text":"TemporaryFile(/tmp/multipartBody7609684567680430597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193844324,"filename":"image_03112025_19_03_15_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/383d62517fc27b6e5cb1afd53026bcd4.jpg","text":"TemporaryFile(/tmp/multipartBody4087278570487029400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193844324,"filename":"image_03112025_19_03_28_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49cadf25cb9adf7022670325151345e4.jpg","text":"TemporaryFile(/tmp/multipartBody3364820477961592669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193844324,"filename":"image_03112025_19_03_04_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cf4e5546289744d29fa302753547502.jpg","text":"TemporaryFile(/tmp/multipartBody327197802236094401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193844324,"filename":"image_03112025_19_03_31_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0126b71bf302abaae2cb1e723ec4cf7d.jpg","text":"TemporaryFile(/tmp/multipartBody7209379107185588750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193844324,"filename":"image_03112025_19_03_13_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0762fb7fcadc712b758a71b38acdc9de.jpg","text":"TemporaryFile(/tmp/multipartBody6780606304362666599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193844324,"filename":"image_03112025_19_03_01_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904611","file1":"1401904609","file0":"1401904605","file4":"1401904615","file5":"1401904617","file3":"1401904613"},"map_files_photo_id_array":[{"photo_id":"1401904617","filename":"file5"},{"photo_id":"1401904611","filename":"file2"},{"photo_id":"1401904615","filename":"file4"},{"photo_id":"1401904609","filename":"file1"},{"photo_id":"1401904605","filename":"file0"},{"photo_id":"1401904613","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904613":["hashtag1","hashtag2"]},{"1401904615":["hashtag1","hashtag2"]},{"1401904609":["hashtag1","hashtag2"]},{"1401904617":["hashtag1","hashtag2"]},{"1401904611":["hashtag1","hashtag2"]},{"1401904605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904613, 1401904615, 1401904609, 1401904617, 1401904611, 1401904605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70654082298279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:10:22.698091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_56_10839.jpg', '/home/pi/Desktop/images/31122025/13/53/image_31122025_13_54_05_9617.jpg', '/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_15_9716.jpg', '/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_26_10813.jpg', '/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_35_9621.jpg', '/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_45_9542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_53_56_10839.jpg
/home/pi/Desktop/images/31122025/13/53/image_31122025_13_54_05_9617.jpg
/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_15_9716.jpg
/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_26_10813.jpg
/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_35_9621.jpg
/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_45_9542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904634","1401904628","1401904633","1401904630","1401904632","1401904625"],"photo_ids_order":["1401904625","1401904628","1401904630","1401904632","1401904633","1401904634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b1f05af2ff6461f60ba5e59aae429a4.jpg","text":"TemporaryFile(/tmp/multipartBody1736506034142778745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193883337,"filename":"image_31122025_13_54_45_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1441520c70f6532433ec7e0ada923ff.jpg","text":"TemporaryFile(/tmp/multipartBody1753540951124759898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193883337,"filename":"image_31122025_13_54_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd9e6e79f4d813189c9d84957f3581d4.jpg","text":"TemporaryFile(/tmp/multipartBody7816053017389348627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193883337,"filename":"image_31122025_13_54_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50d76b95d8b2433dd64bcb71ef114451.jpg","text":"TemporaryFile(/tmp/multipartBody4066362728451320830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193883337,"filename":"image_31122025_13_54_15_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5f21906065dec8fa390f5c6515f55f5.jpg","text":"TemporaryFile(/tmp/multipartBody1763870948380661659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193883337,"filename":"image_31122025_13_54_26_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1217337953a2ae0b5c4cd07517f01e9f.jpg","text":"TemporaryFile(/tmp/multipartBody620867313197381015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193883337,"filename":"image_31122025_13_53_56_10839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904630","file1":"1401904628","file0":"1401904625","file4":"1401904633","file5":"1401904634","file3":"1401904632"},"map_files_photo_id_array":[{"photo_id":"1401904634","filename":"file5"},{"photo_id":"1401904630","filename":"file2"},{"photo_id":"1401904633","filename":"file4"},{"photo_id":"1401904628","filename":"file1"},{"photo_id":"1401904625","filename":"file0"},{"photo_id":"1401904632","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904634":["hashtag1","hashtag2"]},{"1401904628":["hashtag1","hashtag2"]},{"1401904633":["hashtag1","hashtag2"]},{"1401904630":["hashtag1","hashtag2"]},{"1401904632":["hashtag1","hashtag2"]},{"1401904625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904634, 1401904628, 1401904633, 1401904630, 1401904632, 1401904625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1932578086853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:11:03.403761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_56_10724.jpg', '/home/pi/Desktop/images/31122025/13/55/image_31122025_13_55_15_9884.jpg', '/home/pi/Desktop/images/31122025/13/55/image_31122025_13_55_25_9686.jpg', '/home/pi/Desktop/images/31122025/13/55/image_31122025_13_55_36_10647.jpg', '/home/pi/Desktop/images/31122025/13/55/image_31122025_13_55_45_9723.jpg', '/home/pi/Desktop/images/31122025/13/55/image_31122025_13_56_05_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/54/image_31122025_13_54_56_10724.jpg
/home/pi/Desktop/images/31122025/13/55/image_31122025_13_55_15_9884.jpg
/home/pi/Desktop/images/31122025/13/55/image_31122025_13_55_25_9686.jpg
/home/pi/Desktop/images/31122025/13/55/image_31122025_13_55_36_10647.jpg
/home/pi/Desktop/images/31122025/13/55/image_31122025_13_55_45_9723.jpg
/home/pi/Desktop/images/31122025/13/55/image_31122025_13_56_05_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904650","1401904653","1401904656","1401904641","1401904635","1401904637"],"photo_ids_order":["1401904635","1401904637","1401904641","1401904650","1401904653","1401904656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38fa4e690acc9b1774a8216030e50260.jpg","text":"TemporaryFile(/tmp/multipartBody8934694459929561265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193924096,"filename":"image_31122025_13_55_36_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cffa64a2e341d3dab8217ff9fcc28654.jpg","text":"TemporaryFile(/tmp/multipartBody7615073901433886528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193924096,"filename":"image_31122025_13_55_45_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1350cc52399d04df22ed9ac7a9ca0ff6.jpg","text":"TemporaryFile(/tmp/multipartBody6865710859555334665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193924096,"filename":"image_31122025_13_56_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c2215dd6cee308aa0d78a7539b9156b.jpg","text":"TemporaryFile(/tmp/multipartBody5096333337636868707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193924096,"filename":"image_31122025_13_55_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34aef04601bb7301bff69df203cd8411.jpg","text":"TemporaryFile(/tmp/multipartBody7705298471392177355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193924096,"filename":"image_31122025_13_54_56_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f700a428811c2b08983a0d5d61ae2d70.jpg","text":"TemporaryFile(/tmp/multipartBody2652378930680169313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193924096,"filename":"image_31122025_13_55_15_9884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904641","file1":"1401904637","file0":"1401904635","file4":"1401904653","file5":"1401904656","file3":"1401904650"},"map_files_photo_id_array":[{"photo_id":"1401904656","filename":"file5"},{"photo_id":"1401904641","filename":"file2"},{"photo_id":"1401904653","filename":"file4"},{"photo_id":"1401904637","filename":"file1"},{"photo_id":"1401904635","filename":"file0"},{"photo_id":"1401904650","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904650":["hashtag1","hashtag2"]},{"1401904653":["hashtag1","hashtag2"]},{"1401904656":["hashtag1","hashtag2"]},{"1401904641":["hashtag1","hashtag2"]},{"1401904635":["hashtag1","hashtag2"]},{"1401904637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904650, 1401904653, 1401904656, 1401904641, 1401904635, 1401904637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67422580718994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:11:42.803609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_33_2793.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_40_2669.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_42_2691.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_49_2705.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_51_2591.jpg', '/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_55_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_33_2793.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_40_2669.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_42_2691.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_49_2705.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_51_2591.jpg
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_03_55_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904684","1401904687","1401904663","1401904677","1401904685","1401904676"],"photo_ids_order":["1401904663","1401904676","1401904677","1401904684","1401904685","1401904687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4104fa9eea3751f8fbfcb82395b7594c.jpg","text":"TemporaryFile(/tmp/multipartBody136906872392540681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193964614,"filename":"image_03112025_19_03_49_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0af93ac310bce7092168f8a0efb5822.jpg","text":"TemporaryFile(/tmp/multipartBody2846382929102876052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193964614,"filename":"image_03112025_19_03_55_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab053047bd214d13d10adc7a2a9ef01b.jpg","text":"TemporaryFile(/tmp/multipartBody3511620164066765238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193964614,"filename":"image_03112025_19_03_33_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/678adc1e3029276d8bba52e970f44f06.jpg","text":"TemporaryFile(/tmp/multipartBody1210562855713628412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193964614,"filename":"image_03112025_19_03_42_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa390ccfa3d0f5afc2953f37ad842f94.jpg","text":"TemporaryFile(/tmp/multipartBody4890293317314501163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193964614,"filename":"image_03112025_19_03_51_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4860e445730ac1a576a5cb63fc4d8870.jpg","text":"TemporaryFile(/tmp/multipartBody5669618983249434106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767193964614,"filename":"image_03112025_19_03_40_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904677","file1":"1401904676","file0":"1401904663","file4":"1401904685","file5":"1401904687","file3":"1401904684"},"map_files_photo_id_array":[{"photo_id":"1401904687","filename":"file5"},{"photo_id":"1401904677","filename":"file2"},{"photo_id":"1401904685","filename":"file4"},{"photo_id":"1401904676","filename":"file1"},{"photo_id":"1401904663","filename":"file0"},{"photo_id":"1401904684","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904684":["hashtag1","hashtag2"]},{"1401904687":["hashtag1","hashtag2"]},{"1401904663":["hashtag1","hashtag2"]},{"1401904677":["hashtag1","hashtag2"]},{"1401904685":["hashtag1","hashtag2"]},{"1401904676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904684, 1401904687, 1401904663, 1401904677, 1401904685, 1401904676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82629871368408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:12:21.936672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/56/image_31122025_13_56_25_9684.jpg', '/home/pi/Desktop/images/31122025/13/56/image_31122025_13_56_45_10639.jpg', '/home/pi/Desktop/images/31122025/13/56/image_31122025_13_57_05_9723.jpg', '/home/pi/Desktop/images/31122025/13/57/image_31122025_13_57_25_9702.jpg', '/home/pi/Desktop/images/31122025/13/57/image_31122025_13_57_45_9763.jpg', '/home/pi/Desktop/images/31122025/13/57/image_31122025_13_57_56_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/56/image_31122025_13_56_25_9684.jpg
/home/pi/Desktop/images/31122025/13/56/image_31122025_13_56_45_10639.jpg
/home/pi/Desktop/images/31122025/13/56/image_31122025_13_57_05_9723.jpg
/home/pi/Desktop/images/31122025/13/57/image_31122025_13_57_25_9702.jpg
/home/pi/Desktop/images/31122025/13/57/image_31122025_13_57_45_9763.jpg
/home/pi/Desktop/images/31122025/13/57/image_31122025_13_57_56_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904692","1401904695","1401904708","1401904698","1401904707","1401904710"],"photo_ids_order":["1401904692","1401904695","1401904698","1401904707","1401904708","1401904710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e45411771b0cf4ebe1ddeefcd0b7219.jpg","text":"TemporaryFile(/tmp/multipartBody1724835766895796910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194002624,"filename":"image_31122025_13_56_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c338bf26006c66164fa8fdadac8e85a1.jpg","text":"TemporaryFile(/tmp/multipartBody1463157664556492852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194002624,"filename":"image_31122025_13_56_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bd0a7746e2932e214a085254c696743.jpg","text":"TemporaryFile(/tmp/multipartBody8185620814903851902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194002624,"filename":"image_31122025_13_57_45_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d37933fee49816b97f437a0530301ef.jpg","text":"TemporaryFile(/tmp/multipartBody7344453419057419822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194002624,"filename":"image_31122025_13_57_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/728cb7520b88f07a4967cf480013ca74.jpg","text":"TemporaryFile(/tmp/multipartBody6605427200443236079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194002624,"filename":"image_31122025_13_57_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0833ad304335901266c959bdfc176bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1280592966562125400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194002624,"filename":"image_31122025_13_57_56_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904698","file1":"1401904695","file0":"1401904692","file4":"1401904708","file5":"1401904710","file3":"1401904707"},"map_files_photo_id_array":[{"photo_id":"1401904710","filename":"file5"},{"photo_id":"1401904698","filename":"file2"},{"photo_id":"1401904708","filename":"file4"},{"photo_id":"1401904695","filename":"file1"},{"photo_id":"1401904692","filename":"file0"},{"photo_id":"1401904707","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904692":["hashtag1","hashtag2"]},{"1401904695":["hashtag1","hashtag2"]},{"1401904708":["hashtag1","hashtag2"]},{"1401904698":["hashtag1","hashtag2"]},{"1401904707":["hashtag1","hashtag2"]},{"1401904710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904692, 1401904695, 1401904708, 1401904698, 1401904707, 1401904710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83945679664612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:13:02.837442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/57/image_31122025_13_58_05_9678.jpg', '/home/pi/Desktop/images/31122025/13/58/image_31122025_13_58_15_9640.jpg', '/home/pi/Desktop/images/31122025/13/58/image_31122025_13_58_35_9567.jpg', '/home/pi/Desktop/images/31122025/13/58/image_31122025_13_58_46_10510.jpg', '/home/pi/Desktop/images/31122025/13/58/image_31122025_13_58_56_9856.jpg', '/home/pi/Desktop/images/31122025/13/58/image_31122025_13_59_05_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/57/image_31122025_13_58_05_9678.jpg
/home/pi/Desktop/images/31122025/13/58/image_31122025_13_58_15_9640.jpg
/home/pi/Desktop/images/31122025/13/58/image_31122025_13_58_35_9567.jpg
/home/pi/Desktop/images/31122025/13/58/image_31122025_13_58_46_10510.jpg
/home/pi/Desktop/images/31122025/13/58/image_31122025_13_58_56_9856.jpg
/home/pi/Desktop/images/31122025/13/58/image_31122025_13_59_05_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904735","1401904738","1401904743","1401904740","1401904734","1401904724"],"photo_ids_order":["1401904724","1401904734","1401904735","1401904738","1401904740","1401904743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a339e195bca12d57ad1d67ab9d6b5392.jpg","text":"TemporaryFile(/tmp/multipartBody8707151029641587617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194043588,"filename":"image_31122025_13_58_35_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a09340bd33c1aa617e7dfe7262362c21.jpg","text":"TemporaryFile(/tmp/multipartBody64489914197078428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194043588,"filename":"image_31122025_13_58_46_10510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b6b759623f750fb1783270d9c602ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3755057968524325945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194043588,"filename":"image_31122025_13_59_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f517f4db5bb5b7890bb6826b6ac0ec8c.jpg","text":"TemporaryFile(/tmp/multipartBody2041817771849769111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194043588,"filename":"image_31122025_13_58_56_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b49e03ba35d44969e7e1f422679a03eb.jpg","text":"TemporaryFile(/tmp/multipartBody8654471859153241914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194043588,"filename":"image_31122025_13_58_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/789d0e17388c83989d4767cd8ec2f7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7063539315296370471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194043588,"filename":"image_31122025_13_58_05_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904735","file1":"1401904734","file0":"1401904724","file4":"1401904740","file5":"1401904743","file3":"1401904738"},"map_files_photo_id_array":[{"photo_id":"1401904743","filename":"file5"},{"photo_id":"1401904735","filename":"file2"},{"photo_id":"1401904740","filename":"file4"},{"photo_id":"1401904734","filename":"file1"},{"photo_id":"1401904724","filename":"file0"},{"photo_id":"1401904738","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904735":["hashtag1","hashtag2"]},{"1401904738":["hashtag1","hashtag2"]},{"1401904743":["hashtag1","hashtag2"]},{"1401904740":["hashtag1","hashtag2"]},{"1401904734":["hashtag1","hashtag2"]},{"1401904724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904735, 1401904738, 1401904743, 1401904740, 1401904734, 1401904724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78256130218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:13:42.326691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/03/image_03112025_19_04_00_2654.jpg', '/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_07_2681.jpg', '/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_09_2906.jpg', '/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_16_2657.jpg', '/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_22_3668.jpg', '/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_24_2504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/03/image_03112025_19_04_00_2654.jpg
/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_07_2681.jpg
/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_09_2906.jpg
/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_16_2657.jpg
/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_22_3668.jpg
/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_24_2504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904762","1401904756","1401904758","1401904760","1401904754","1401904751"],"photo_ids_order":["1401904751","1401904754","1401904756","1401904758","1401904760","1401904762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25a26debf232384ee5759d7813f8cb72.jpg","text":"TemporaryFile(/tmp/multipartBody3111143482205672217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194084151,"filename":"image_03112025_19_04_24_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f159fde4b7a049f2fcec36e1cec12fc.jpg","text":"TemporaryFile(/tmp/multipartBody4687274443850306420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194084151,"filename":"image_03112025_19_04_09_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/709879ca73549f8e4326d7c84220ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody3650734691751165144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194084151,"filename":"image_03112025_19_04_16_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4cf153e6fc9c47bd9396aeac38c66d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6577808935669732027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194084151,"filename":"image_03112025_19_04_22_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4b61b2f3dbf8f18bf047b7bb4f122d4.jpg","text":"TemporaryFile(/tmp/multipartBody5759008732471361650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194084151,"filename":"image_03112025_19_04_07_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b4be4dc4cb9dad09b1039cc6434b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody7304538990394524993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194084151,"filename":"image_03112025_19_04_00_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904756","file1":"1401904754","file0":"1401904751","file4":"1401904760","file5":"1401904762","file3":"1401904758"},"map_files_photo_id_array":[{"photo_id":"1401904762","filename":"file5"},{"photo_id":"1401904756","filename":"file2"},{"photo_id":"1401904760","filename":"file4"},{"photo_id":"1401904754","filename":"file1"},{"photo_id":"1401904751","filename":"file0"},{"photo_id":"1401904758","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904762":["hashtag1","hashtag2"]},{"1401904756":["hashtag1","hashtag2"]},{"1401904758":["hashtag1","hashtag2"]},{"1401904760":["hashtag1","hashtag2"]},{"1401904754":["hashtag1","hashtag2"]},{"1401904751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904762, 1401904756, 1401904758, 1401904760, 1401904754, 1401904751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62938594818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:14:22.614835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/13/59/image_31122025_13_59_25_10605.jpg', '/home/pi/Desktop/images/31122025/13/59/image_31122025_13_59_46_10609.jpg', '/home/pi/Desktop/images/31122025/13/59/image_31122025_13_59_55_9726.jpg', '/home/pi/Desktop/images/31122025/14/00/image_31122025_14_00_25_10592.jpg', '/home/pi/Desktop/images/31122025/14/00/image_31122025_14_00_35_9697.jpg', '/home/pi/Desktop/images/31122025/14/00/image_31122025_14_00_46_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/13/59/image_31122025_13_59_25_10605.jpg
/home/pi/Desktop/images/31122025/13/59/image_31122025_13_59_46_10609.jpg
/home/pi/Desktop/images/31122025/13/59/image_31122025_13_59_55_9726.jpg
/home/pi/Desktop/images/31122025/14/00/image_31122025_14_00_25_10592.jpg
/home/pi/Desktop/images/31122025/14/00/image_31122025_14_00_35_9697.jpg
/home/pi/Desktop/images/31122025/14/00/image_31122025_14_00_46_10577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904795","1401904773","1401904776","1401904785","1401904770","1401904778"],"photo_ids_order":["1401904770","1401904773","1401904776","1401904778","1401904785","1401904795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab3aa3ff464c06b7e12510826076e7a1.jpg","text":"TemporaryFile(/tmp/multipartBody2048618018246414091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194123282,"filename":"image_31122025_14_00_46_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d403b8805f253905f0618bd52f333849.jpg","text":"TemporaryFile(/tmp/multipartBody1205726960708988647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194123282,"filename":"image_31122025_13_59_46_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d3302ab4c10b342398cbeb338cbb9ed.jpg","text":"TemporaryFile(/tmp/multipartBody5863786536369930919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194123282,"filename":"image_31122025_13_59_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcd40081c3fdf5fd11f530ec012e1e88.jpg","text":"TemporaryFile(/tmp/multipartBody844365152052441442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194123282,"filename":"image_31122025_14_00_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eed3157e67a509efe8d11a05d7ae719a.jpg","text":"TemporaryFile(/tmp/multipartBody1101830787212488497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194123282,"filename":"image_31122025_13_59_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87e5d48d24f80a0b3d9f6ea2521d9836.jpg","text":"TemporaryFile(/tmp/multipartBody6936927721455520324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194123282,"filename":"image_31122025_14_00_25_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904776","file1":"1401904773","file0":"1401904770","file4":"1401904785","file5":"1401904795","file3":"1401904778"},"map_files_photo_id_array":[{"photo_id":"1401904795","filename":"file5"},{"photo_id":"1401904776","filename":"file2"},{"photo_id":"1401904785","filename":"file4"},{"photo_id":"1401904773","filename":"file1"},{"photo_id":"1401904770","filename":"file0"},{"photo_id":"1401904778","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904795":["hashtag1","hashtag2"]},{"1401904773":["hashtag1","hashtag2"]},{"1401904776":["hashtag1","hashtag2"]},{"1401904785":["hashtag1","hashtag2"]},{"1401904770":["hashtag1","hashtag2"]},{"1401904778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904795, 1401904773, 1401904776, 1401904785, 1401904770, 1401904778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60482692718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:15:03.268214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/00/image_31122025_14_01_05_9640.jpg', '/home/pi/Desktop/images/31122025/14/01/image_31122025_14_01_26_10836.jpg', '/home/pi/Desktop/images/31122025/14/01/image_31122025_14_01_35_9594.jpg', '/home/pi/Desktop/images/31122025/14/01/image_31122025_14_01_45_9678.jpg', '/home/pi/Desktop/images/31122025/14/02/image_31122025_14_02_15_10005.jpg', '/home/pi/Desktop/images/31122025/14/02/image_31122025_14_02_25_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/00/image_31122025_14_01_05_9640.jpg
/home/pi/Desktop/images/31122025/14/01/image_31122025_14_01_26_10836.jpg
/home/pi/Desktop/images/31122025/14/01/image_31122025_14_01_35_9594.jpg
/home/pi/Desktop/images/31122025/14/01/image_31122025_14_01_45_9678.jpg
/home/pi/Desktop/images/31122025/14/02/image_31122025_14_02_15_10005.jpg
/home/pi/Desktop/images/31122025/14/02/image_31122025_14_02_25_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904805","1401904839","1401904824","1401904809","1401904841","1401904820"],"photo_ids_order":["1401904805","1401904809","1401904820","1401904824","1401904839","1401904841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58e04c7aa4b65f817ad8925eaac95bd7.jpg","text":"TemporaryFile(/tmp/multipartBody2342319495174506001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194163951,"filename":"image_31122025_14_01_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c421690b621ab0b6a0e93f8379cb06d.jpg","text":"TemporaryFile(/tmp/multipartBody9144829682454775674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194163951,"filename":"image_31122025_14_02_15_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9923e3440f496bf9ce0aa5dda83fff5.jpg","text":"TemporaryFile(/tmp/multipartBody2465905931589343845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194163951,"filename":"image_31122025_14_01_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33982bd5a5373eae5f87bc011ba43d68.jpg","text":"TemporaryFile(/tmp/multipartBody1833092771160352246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194163951,"filename":"image_31122025_14_01_26_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a97c09315d283606093e565a9a29fdc9.jpg","text":"TemporaryFile(/tmp/multipartBody1012376471313952875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194163951,"filename":"image_31122025_14_02_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5fd085cbbfbcf408966ab607fd2bb18.jpg","text":"TemporaryFile(/tmp/multipartBody5539027603205476396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194163951,"filename":"image_31122025_14_01_35_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904820","file1":"1401904809","file0":"1401904805","file4":"1401904839","file5":"1401904841","file3":"1401904824"},"map_files_photo_id_array":[{"photo_id":"1401904841","filename":"file5"},{"photo_id":"1401904820","filename":"file2"},{"photo_id":"1401904839","filename":"file4"},{"photo_id":"1401904809","filename":"file1"},{"photo_id":"1401904805","filename":"file0"},{"photo_id":"1401904824","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904805":["hashtag1","hashtag2"]},{"1401904839":["hashtag1","hashtag2"]},{"1401904824":["hashtag1","hashtag2"]},{"1401904809":["hashtag1","hashtag2"]},{"1401904841":["hashtag1","hashtag2"]},{"1401904820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904805, 1401904839, 1401904824, 1401904809, 1401904841, 1401904820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71272397041321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:15:42.641459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_31_2763.jpg', '/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_39_2665.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_10_2658.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_20_7342.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_23_1617.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_25_1772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_31_2763.jpg
/home/pi/Desktop/images/03112025/19/04/image_03112025_19_04_39_2665.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_10_2658.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_20_7342.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_23_1617.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_25_1772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904858","1401904852","1401904857","1401904847","1401904859","1401904850"],"photo_ids_order":["1401904847","1401904850","1401904852","1401904857","1401904858","1401904859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e943855c9056ac55f19f201af7d15056.jpg","text":"TemporaryFile(/tmp/multipartBody4715139927120650006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194204456,"filename":"image_03112025_19_05_23_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2f76f0c74c5ab179e1a6972a61174c5.jpg","text":"TemporaryFile(/tmp/multipartBody3129087544910863864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194204456,"filename":"image_03112025_19_05_10_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4227fdcbc6a6810aa1a5ea28036144d.jpg","text":"TemporaryFile(/tmp/multipartBody5720200932655141361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194204456,"filename":"image_03112025_19_05_20_7342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d5a7f71e624c9b501ec36f4cc09bb07.jpg","text":"TemporaryFile(/tmp/multipartBody3939068970460908259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194204456,"filename":"image_03112025_19_04_31_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a600d145c02130afd51f0ee59164a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8361865305642089228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194204456,"filename":"image_03112025_19_05_25_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/460413c7327807a40657131081d9af8b.jpg","text":"TemporaryFile(/tmp/multipartBody886791620803554808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194204456,"filename":"image_03112025_19_04_39_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904852","file1":"1401904850","file0":"1401904847","file4":"1401904858","file5":"1401904859","file3":"1401904857"},"map_files_photo_id_array":[{"photo_id":"1401904859","filename":"file5"},{"photo_id":"1401904852","filename":"file2"},{"photo_id":"1401904858","filename":"file4"},{"photo_id":"1401904850","filename":"file1"},{"photo_id":"1401904847","filename":"file0"},{"photo_id":"1401904857","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904858":["hashtag1","hashtag2"]},{"1401904852":["hashtag1","hashtag2"]},{"1401904857":["hashtag1","hashtag2"]},{"1401904847":["hashtag1","hashtag2"]},{"1401904859":["hashtag1","hashtag2"]},{"1401904850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904858, 1401904852, 1401904857, 1401904847, 1401904859, 1401904850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54697060585022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:16:22.791723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/02/image_31122025_14_02_46_10045.jpg', '/home/pi/Desktop/images/31122025/14/03/image_31122025_14_03_26_10706.jpg', '/home/pi/Desktop/images/31122025/14/03/image_31122025_14_03_35_9675.jpg', '/home/pi/Desktop/images/31122025/14/03/image_31122025_14_03_45_10210.jpg', '/home/pi/Desktop/images/31122025/14/03/image_31122025_14_04_05_9747.jpg', '/home/pi/Desktop/images/31122025/14/04/image_31122025_14_04_35_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/02/image_31122025_14_02_46_10045.jpg
/home/pi/Desktop/images/31122025/14/03/image_31122025_14_03_26_10706.jpg
/home/pi/Desktop/images/31122025/14/03/image_31122025_14_03_35_9675.jpg
/home/pi/Desktop/images/31122025/14/03/image_31122025_14_03_45_10210.jpg
/home/pi/Desktop/images/31122025/14/03/image_31122025_14_04_05_9747.jpg
/home/pi/Desktop/images/31122025/14/04/image_31122025_14_04_35_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904876","1401904879","1401904870","1401904881","1401904866","1401904874"],"photo_ids_order":["1401904866","1401904870","1401904874","1401904876","1401904879","1401904881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/906ea0ac66852c3b8657417b081b4952.jpg","text":"TemporaryFile(/tmp/multipartBody6273465126901728279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194243415,"filename":"image_31122025_14_03_45_10210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3867a3aa715ee87e55f34937bae668d.jpg","text":"TemporaryFile(/tmp/multipartBody2792142458779135849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194243415,"filename":"image_31122025_14_04_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a21d6a8f92923d63ad74d938222c7ed.jpg","text":"TemporaryFile(/tmp/multipartBody8529310143380238566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194243415,"filename":"image_31122025_14_03_26_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d801c749541e68383d5d17d4eb973d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2098460347680953191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194243415,"filename":"image_31122025_14_04_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5dfadb623c1b9ca7781e3840c2751bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6969742265472783917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194243415,"filename":"image_31122025_14_02_46_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/350c85ec9bd4eb5ab2fb29913fbcd4b3.jpg","text":"TemporaryFile(/tmp/multipartBody7955480294812912900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194243415,"filename":"image_31122025_14_03_35_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904874","file1":"1401904870","file0":"1401904866","file4":"1401904879","file5":"1401904881","file3":"1401904876"},"map_files_photo_id_array":[{"photo_id":"1401904881","filename":"file5"},{"photo_id":"1401904874","filename":"file2"},{"photo_id":"1401904879","filename":"file4"},{"photo_id":"1401904870","filename":"file1"},{"photo_id":"1401904866","filename":"file0"},{"photo_id":"1401904876","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904876":["hashtag1","hashtag2"]},{"1401904879":["hashtag1","hashtag2"]},{"1401904870":["hashtag1","hashtag2"]},{"1401904881":["hashtag1","hashtag2"]},{"1401904866":["hashtag1","hashtag2"]},{"1401904874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904876, 1401904879, 1401904870, 1401904881, 1401904866, 1401904874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84567451477051 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:17:12.013172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_34_3715.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_43_3955.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_46_2618.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_48_2686.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_52_3499.jpg', '/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_54_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_34_3715.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_43_3955.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_46_2618.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_48_2686.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_52_3499.jpg
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_05_54_2510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904919","1401904912","1401904906","1401904915","1401904909","1401904917"],"photo_ids_order":["1401904906","1401904909","1401904912","1401904915","1401904917","1401904919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce8491bca1eafa5739b180e41d194051.jpg","text":"TemporaryFile(/tmp/multipartBody7734740706889333873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194293730,"filename":"image_03112025_19_05_54_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2188f8d834c9dc61b17d4919ec2f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody5731129279290069836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194293730,"filename":"image_03112025_19_05_46_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22d94f6713356c8e08aa83b902884a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7611473592376176312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194293730,"filename":"image_03112025_19_05_34_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16030f027ae0cb09109755ce4d3ac23a.jpg","text":"TemporaryFile(/tmp/multipartBody6880032304386530891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194293730,"filename":"image_03112025_19_05_48_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b7002be690ad171581baefa82bf6889.jpg","text":"TemporaryFile(/tmp/multipartBody7826253676668293416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194293730,"filename":"image_03112025_19_05_43_3955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4067a318f699d492e347b12cb3ab6449.jpg","text":"TemporaryFile(/tmp/multipartBody8173787044956789177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194293730,"filename":"image_03112025_19_05_52_3499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904912","file1":"1401904909","file0":"1401904906","file4":"1401904917","file5":"1401904919","file3":"1401904915"},"map_files_photo_id_array":[{"photo_id":"1401904919","filename":"file5"},{"photo_id":"1401904912","filename":"file2"},{"photo_id":"1401904917","filename":"file4"},{"photo_id":"1401904909","filename":"file1"},{"photo_id":"1401904906","filename":"file0"},{"photo_id":"1401904915","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904919":["hashtag1","hashtag2"]},{"1401904912":["hashtag1","hashtag2"]},{"1401904906":["hashtag1","hashtag2"]},{"1401904915":["hashtag1","hashtag2"]},{"1401904909":["hashtag1","hashtag2"]},{"1401904917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904919, 1401904912, 1401904906, 1401904915, 1401904909, 1401904917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90758657455444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:18:02.771803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/04/image_31122025_14_04_45_9636.jpg', '/home/pi/Desktop/images/31122025/14/04/image_31122025_14_04_55_10743.jpg', '/home/pi/Desktop/images/31122025/14/04/image_31122025_14_05_05_9642.jpg', '/home/pi/Desktop/images/31122025/14/05/image_31122025_14_05_25_10626.jpg', '/home/pi/Desktop/images/31122025/14/05/image_31122025_14_05_35_9675.jpg', '/home/pi/Desktop/images/31122025/14/05/image_31122025_14_05_55_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/04/image_31122025_14_04_45_9636.jpg
/home/pi/Desktop/images/31122025/14/04/image_31122025_14_04_55_10743.jpg
/home/pi/Desktop/images/31122025/14/04/image_31122025_14_05_05_9642.jpg
/home/pi/Desktop/images/31122025/14/05/image_31122025_14_05_25_10626.jpg
/home/pi/Desktop/images/31122025/14/05/image_31122025_14_05_35_9675.jpg
/home/pi/Desktop/images/31122025/14/05/image_31122025_14_05_55_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904942","1401904936","1401904935","1401904944","1401904938","1401904940"],"photo_ids_order":["1401904935","1401904936","1401904938","1401904940","1401904942","1401904944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ecac998440c0807a279131507c02060.jpg","text":"TemporaryFile(/tmp/multipartBody3322651833534206923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194343437,"filename":"image_31122025_14_05_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b79c25df33d7c9315debe81abc5862c.jpg","text":"TemporaryFile(/tmp/multipartBody6630603589308596109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194343437,"filename":"image_31122025_14_04_55_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1679088c17dd01cb075241b81ed54317.jpg","text":"TemporaryFile(/tmp/multipartBody6583939576290091764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194343437,"filename":"image_31122025_14_04_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13f74a848982575db70ee97c39bc20b8.jpg","text":"TemporaryFile(/tmp/multipartBody6672938769868652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194343437,"filename":"image_31122025_14_05_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bb2bad3d71186c4dd3334207c41d398.jpg","text":"TemporaryFile(/tmp/multipartBody2677880707334616209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194343437,"filename":"image_31122025_14_05_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e689248786f6c17b54bb5f8f15d2d360.jpg","text":"TemporaryFile(/tmp/multipartBody4405811016341528505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194343437,"filename":"image_31122025_14_05_25_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904938","file1":"1401904936","file0":"1401904935","file4":"1401904942","file5":"1401904944","file3":"1401904940"},"map_files_photo_id_array":[{"photo_id":"1401904944","filename":"file5"},{"photo_id":"1401904938","filename":"file2"},{"photo_id":"1401904942","filename":"file4"},{"photo_id":"1401904936","filename":"file1"},{"photo_id":"1401904935","filename":"file0"},{"photo_id":"1401904940","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401904942":["hashtag1","hashtag2"]},{"1401904936":["hashtag1","hashtag2"]},{"1401904935":["hashtag1","hashtag2"]},{"1401904944":["hashtag1","hashtag2"]},{"1401904938":["hashtag1","hashtag2"]},{"1401904940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401904942, 1401904936, 1401904935, 1401904944, 1401904938, 1401904940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14953327178955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:18:42.305566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/05/image_03112025_19_06_01_3582.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_03_2706.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_10_3593.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_21_1607.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_27_4694.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_30_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/05/image_03112025_19_06_01_3582.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_03_2706.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_10_3593.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_21_1607.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_27_4694.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_30_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904969","1401904971","1401904974","1401904959","1401904964","1401904967"],"photo_ids_order":["1401904959","1401904964","1401904967","1401904969","1401904971","1401904974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27deaa2d24f06382d75601a68e3c4180.jpg","text":"TemporaryFile(/tmp/multipartBody834576214366073951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194384108,"filename":"image_03112025_19_06_21_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2aab3fa8b4aa6dc99a59ea76c09a3d6.jpg","text":"TemporaryFile(/tmp/multipartBody8387921228522810967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194384108,"filename":"image_03112025_19_06_27_4694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/139c5f999bfcb38a3d0f85a89937ebd6.jpg","text":"TemporaryFile(/tmp/multipartBody101395123824835551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194384108,"filename":"image_03112025_19_06_30_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1998b8a14eb8f9fe09bc8b269e834fa1.jpg","text":"TemporaryFile(/tmp/multipartBody2259580032574351026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194384108,"filename":"image_03112025_19_06_01_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/223be189fc28e7f3b38684387492086e.jpg","text":"TemporaryFile(/tmp/multipartBody1909593642094615964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194384108,"filename":"image_03112025_19_06_03_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86f4efbbc8f953723d4b8a9c40da72a2.jpg","text":"TemporaryFile(/tmp/multipartBody6145702480706934306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194384108,"filename":"image_03112025_19_06_10_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904967","file1":"1401904964","file0":"1401904959","file4":"1401904971","file5":"1401904974","file3":"1401904969"},"map_files_photo_id_array":[{"photo_id":"1401904974","filename":"file5"},{"photo_id":"1401904967","filename":"file2"},{"photo_id":"1401904971","filename":"file4"},{"photo_id":"1401904964","filename":"file1"},{"photo_id":"1401904959","filename":"file0"},{"photo_id":"1401904969","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904969":["hashtag1","hashtag2"]},{"1401904971":["hashtag1","hashtag2"]},{"1401904974":["hashtag1","hashtag2"]},{"1401904959":["hashtag1","hashtag2"]},{"1401904964":["hashtag1","hashtag2"]},{"1401904967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904969, 1401904971, 1401904974, 1401904959, 1401904964, 1401904967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51354718208313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:19:22.466634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/06/image_31122025_14_06_55_9727.jpg', '/home/pi/Desktop/images/31122025/14/06/image_31122025_14_07_05_9768.jpg', '/home/pi/Desktop/images/31122025/14/07/image_31122025_14_07_25_10627.jpg', '/home/pi/Desktop/images/31122025/14/08/image_31122025_14_08_15_9713.jpg', '/home/pi/Desktop/images/31122025/14/08/image_31122025_14_08_35_9700.jpg', '/home/pi/Desktop/images/31122025/14/09/image_31122025_14_09_35_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/06/image_31122025_14_06_55_9727.jpg
/home/pi/Desktop/images/31122025/14/06/image_31122025_14_07_05_9768.jpg
/home/pi/Desktop/images/31122025/14/07/image_31122025_14_07_25_10627.jpg
/home/pi/Desktop/images/31122025/14/08/image_31122025_14_08_15_9713.jpg
/home/pi/Desktop/images/31122025/14/08/image_31122025_14_08_35_9700.jpg
/home/pi/Desktop/images/31122025/14/09/image_31122025_14_09_35_9691.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5115878582000732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:19:32.430089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_34_3664.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_36_2669.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_39_2524.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_55_3541.jpg', '/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_58_2680.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_10_11965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_34_3664.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_36_2669.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_39_2524.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_55_3541.jpg
/home/pi/Desktop/images/03112025/19/06/image_03112025_19_06_58_2680.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_10_11965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401904993","1401905002","1401904989","1401904997","1401905000","1401905003"],"photo_ids_order":["1401904989","1401904993","1401904997","1401905000","1401905002","1401905003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76e06ac642073162ad1cba7bf9d2c2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1916360621290007431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194434243,"filename":"image_03112025_19_06_36_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e8c8dcf56b5455ba99668213f0e959b.jpg","text":"TemporaryFile(/tmp/multipartBody539494653585778624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194434243,"filename":"image_03112025_19_06_58_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae2ba30a560680b5ff4fd7b09d3d1773.jpg","text":"TemporaryFile(/tmp/multipartBody3295434749072602427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194434243,"filename":"image_03112025_19_06_34_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88cdd3bc7581fdd92931ad8b1c3ec9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8520234449796186776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194434243,"filename":"image_03112025_19_06_39_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68ecede110ef66691856569bf1cb87e6.jpg","text":"TemporaryFile(/tmp/multipartBody1999943223983756205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194434243,"filename":"image_03112025_19_06_55_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de11cfa9c50b5b782d8f3548edf636f7.jpg","text":"TemporaryFile(/tmp/multipartBody2265321277318264149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194434243,"filename":"image_03112025_19_07_10_11965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401904997","file1":"1401904993","file0":"1401904989","file4":"1401905002","file5":"1401905003","file3":"1401905000"},"map_files_photo_id_array":[{"photo_id":"1401905003","filename":"file5"},{"photo_id":"1401904997","filename":"file2"},{"photo_id":"1401905002","filename":"file4"},{"photo_id":"1401904993","filename":"file1"},{"photo_id":"1401904989","filename":"file0"},{"photo_id":"1401905000","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401904993":["hashtag1","hashtag2"]},{"1401905002":["hashtag1","hashtag2"]},{"1401904989":["hashtag1","hashtag2"]},{"1401904997":["hashtag1","hashtag2"]},{"1401905000":["hashtag1","hashtag2"]},{"1401905003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401904993, 1401905002, 1401904989, 1401904997, 1401905000, 1401905003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99877595901489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:20:12.762250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_14_1551.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_16_1761.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_19_1615.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_25_3604.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_27_2711.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_30_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_14_1551.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_16_1761.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_19_1615.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_25_3604.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_27_2711.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_30_2786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905016","1401905019","1401905013","1401905009","1401905018","1401905006"],"photo_ids_order":["1401905006","1401905009","1401905013","1401905016","1401905018","1401905019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05d886a39e6e06513fd294ba902b8ed5.jpg","text":"TemporaryFile(/tmp/multipartBody2116178598153775375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194474453,"filename":"image_03112025_19_07_25_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41537aa8f57cdcc8f98fcb5e18ed672e.jpg","text":"TemporaryFile(/tmp/multipartBody244648197527023237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194474453,"filename":"image_03112025_19_07_30_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d459df25d6e47d8b4ee8a9aae692d7e6.jpg","text":"TemporaryFile(/tmp/multipartBody7146974181406998901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194474453,"filename":"image_03112025_19_07_19_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27b08aae07c8a735e4d9f6b31ff8e9bc.jpg","text":"TemporaryFile(/tmp/multipartBody8493171674980713779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194474453,"filename":"image_03112025_19_07_16_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ce7087c26271c927409c0a7444f6cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3930396751809678611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194474453,"filename":"image_03112025_19_07_27_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87c1b32a44cce8880e344b932ea78066.jpg","text":"TemporaryFile(/tmp/multipartBody6962310905737782205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194474453,"filename":"image_03112025_19_07_14_1551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905013","file1":"1401905009","file0":"1401905006","file4":"1401905018","file5":"1401905019","file3":"1401905016"},"map_files_photo_id_array":[{"photo_id":"1401905019","filename":"file5"},{"photo_id":"1401905013","filename":"file2"},{"photo_id":"1401905018","filename":"file4"},{"photo_id":"1401905009","filename":"file1"},{"photo_id":"1401905006","filename":"file0"},{"photo_id":"1401905016","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905016":["hashtag1","hashtag2"]},{"1401905019":["hashtag1","hashtag2"]},{"1401905013":["hashtag1","hashtag2"]},{"1401905009":["hashtag1","hashtag2"]},{"1401905018":["hashtag1","hashtag2"]},{"1401905006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905016, 1401905019, 1401905013, 1401905009, 1401905018, 1401905006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26656150817871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:21:02.573526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/06/image_31122025_14_06_55_9727.jpg', '/home/pi/Desktop/images/31122025/14/06/image_31122025_14_07_05_9768.jpg', '/home/pi/Desktop/images/31122025/14/07/image_31122025_14_07_25_10627.jpg', '/home/pi/Desktop/images/31122025/14/08/image_31122025_14_08_15_9713.jpg', '/home/pi/Desktop/images/31122025/14/08/image_31122025_14_08_35_9700.jpg', '/home/pi/Desktop/images/31122025/14/09/image_31122025_14_09_35_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/06/image_31122025_14_06_55_9727.jpg
/home/pi/Desktop/images/31122025/14/06/image_31122025_14_07_05_9768.jpg
/home/pi/Desktop/images/31122025/14/07/image_31122025_14_07_25_10627.jpg
/home/pi/Desktop/images/31122025/14/08/image_31122025_14_08_15_9713.jpg
/home/pi/Desktop/images/31122025/14/08/image_31122025_14_08_35_9700.jpg
/home/pi/Desktop/images/31122025/14/09/image_31122025_14_09_35_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905050","1401905044","1401905047","1401905041","1401905042","1401905039"],"photo_ids_order":["1401905039","1401905041","1401905042","1401905044","1401905047","1401905050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18f881d74947656dd546ff5668409217.jpg","text":"TemporaryFile(/tmp/multipartBody7542651142019252867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194523251,"filename":"image_31122025_14_09_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d40ba4bda819ec46050dc248478700f.jpg","text":"TemporaryFile(/tmp/multipartBody3414414212913763002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194523251,"filename":"image_31122025_14_08_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/242019434aa2b8ea94fa59b25590f65d.jpg","text":"TemporaryFile(/tmp/multipartBody3786805867916950183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194523251,"filename":"image_31122025_14_08_35_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e8b9a35663f4a2879f51b3237880e2b.jpg","text":"TemporaryFile(/tmp/multipartBody8971174824135483452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194523251,"filename":"image_31122025_14_07_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67d8f35744a1925e5106a3c7a7acd32f.jpg","text":"TemporaryFile(/tmp/multipartBody8753628087898551803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194523251,"filename":"image_31122025_14_07_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7f3b04b22519795e7148f164940c12f.jpg","text":"TemporaryFile(/tmp/multipartBody5429933856455818952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194523251,"filename":"image_31122025_14_06_55_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905042","file1":"1401905041","file0":"1401905039","file4":"1401905047","file5":"1401905050","file3":"1401905044"},"map_files_photo_id_array":[{"photo_id":"1401905050","filename":"file5"},{"photo_id":"1401905042","filename":"file2"},{"photo_id":"1401905047","filename":"file4"},{"photo_id":"1401905041","filename":"file1"},{"photo_id":"1401905039","filename":"file0"},{"photo_id":"1401905044","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905050":["hashtag1","hashtag2"]},{"1401905044":["hashtag1","hashtag2"]},{"1401905047":["hashtag1","hashtag2"]},{"1401905041":["hashtag1","hashtag2"]},{"1401905042":["hashtag1","hashtag2"]},{"1401905039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905050, 1401905044, 1401905047, 1401905041, 1401905042, 1401905039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.589672565460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:21:41.968176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_34_3600.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_36_2577.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_43_3845.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_48_2618.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_54_2754.jpg', '/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_57_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_34_3600.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_36_2577.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_43_3845.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_48_2618.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_54_2754.jpg
/home/pi/Desktop/images/03112025/19/07/image_03112025_19_07_57_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905059","1401905061","1401905055","1401905064","1401905060","1401905057"],"photo_ids_order":["1401905055","1401905057","1401905059","1401905060","1401905061","1401905064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3efe5e6e3872b57873fcbff5883c548.jpg","text":"TemporaryFile(/tmp/multipartBody8198838994268763140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194563787,"filename":"image_03112025_19_07_43_3845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/632ad431f82770266b6a4e04027c9b58.jpg","text":"TemporaryFile(/tmp/multipartBody8648910157563636026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194563787,"filename":"image_03112025_19_07_54_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5816a6c3e6bf371c6449781b010b4a6f.jpg","text":"TemporaryFile(/tmp/multipartBody6142297874679547862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194563787,"filename":"image_03112025_19_07_34_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cecbb407f466bdb544b15a7058c4af8.jpg","text":"TemporaryFile(/tmp/multipartBody2012041468385021008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194563787,"filename":"image_03112025_19_07_57_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4929eed79d640a455d3fc2b457dd77c0.jpg","text":"TemporaryFile(/tmp/multipartBody3219519020336096943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194563787,"filename":"image_03112025_19_07_48_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91ed78b263e2628fa11ac5be689133b1.jpg","text":"TemporaryFile(/tmp/multipartBody6028236298202873248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194563787,"filename":"image_03112025_19_07_36_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905059","file1":"1401905057","file0":"1401905055","file4":"1401905061","file5":"1401905064","file3":"1401905060"},"map_files_photo_id_array":[{"photo_id":"1401905064","filename":"file5"},{"photo_id":"1401905059","filename":"file2"},{"photo_id":"1401905061","filename":"file4"},{"photo_id":"1401905057","filename":"file1"},{"photo_id":"1401905055","filename":"file0"},{"photo_id":"1401905060","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905059":["hashtag1","hashtag2"]},{"1401905061":["hashtag1","hashtag2"]},{"1401905055":["hashtag1","hashtag2"]},{"1401905064":["hashtag1","hashtag2"]},{"1401905060":["hashtag1","hashtag2"]},{"1401905057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905059, 1401905061, 1401905055, 1401905064, 1401905060, 1401905057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.524314165115356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:22:22.187812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/09/image_31122025_14_09_46_10560.jpg', '/home/pi/Desktop/images/31122025/14/09/image_31122025_14_10_05_9652.jpg', '/home/pi/Desktop/images/31122025/14/10/image_31122025_14_10_35_9577.jpg', '/home/pi/Desktop/images/31122025/14/10/image_31122025_14_10_55_9650.jpg', '/home/pi/Desktop/images/31122025/14/10/image_31122025_14_11_05_9735.jpg', '/home/pi/Desktop/images/31122025/14/11/image_31122025_14_11_25_10749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/09/image_31122025_14_09_46_10560.jpg
/home/pi/Desktop/images/31122025/14/09/image_31122025_14_10_05_9652.jpg
/home/pi/Desktop/images/31122025/14/10/image_31122025_14_10_35_9577.jpg
/home/pi/Desktop/images/31122025/14/10/image_31122025_14_10_55_9650.jpg
/home/pi/Desktop/images/31122025/14/10/image_31122025_14_11_05_9735.jpg
/home/pi/Desktop/images/31122025/14/11/image_31122025_14_11_25_10749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905077","1401905071","1401905085","1401905079","1401905074","1401905068"],"photo_ids_order":["1401905068","1401905071","1401905074","1401905077","1401905079","1401905085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf97dafef471a57b6afe4e2d0dffea1d.jpg","text":"TemporaryFile(/tmp/multipartBody7022766215643304354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194602802,"filename":"image_31122025_14_10_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/463ce7c82612439b33127f608660c2c3.jpg","text":"TemporaryFile(/tmp/multipartBody2521588038119596907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194602802,"filename":"image_31122025_14_10_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae1bbde08e170d63e40d7bda8961db1d.jpg","text":"TemporaryFile(/tmp/multipartBody8727047030040751723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194602802,"filename":"image_31122025_14_11_25_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de67a2e0ff290bd9ad5ec64e63dfa8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4386900130229675099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194602802,"filename":"image_31122025_14_11_05_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21b604a5c0d4108cb1d447d3b1fb9997.jpg","text":"TemporaryFile(/tmp/multipartBody669344094921379900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194602802,"filename":"image_31122025_14_10_35_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25e06ab3d49ef4257da03f15fa348a54.jpg","text":"TemporaryFile(/tmp/multipartBody793907304287137583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194602802,"filename":"image_31122025_14_09_46_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905074","file1":"1401905071","file0":"1401905068","file4":"1401905079","file5":"1401905085","file3":"1401905077"},"map_files_photo_id_array":[{"photo_id":"1401905085","filename":"file5"},{"photo_id":"1401905074","filename":"file2"},{"photo_id":"1401905079","filename":"file4"},{"photo_id":"1401905071","filename":"file1"},{"photo_id":"1401905068","filename":"file0"},{"photo_id":"1401905077","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905077":["hashtag1","hashtag2"]},{"1401905071":["hashtag1","hashtag2"]},{"1401905085":["hashtag1","hashtag2"]},{"1401905079":["hashtag1","hashtag2"]},{"1401905074":["hashtag1","hashtag2"]},{"1401905068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905077, 1401905071, 1401905085, 1401905079, 1401905074, 1401905068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68138408660889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:23:02.917568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/11/image_31122025_14_11_45_9660.jpg', '/home/pi/Desktop/images/31122025/14/11/image_31122025_14_11_55_10768.jpg', '/home/pi/Desktop/images/31122025/14/12/image_31122025_14_12_15_9747.jpg', '/home/pi/Desktop/images/31122025/14/13/image_31122025_14_13_35_9728.jpg', '/home/pi/Desktop/images/31122025/14/13/image_31122025_14_13_45_9901.jpg', '/home/pi/Desktop/images/31122025/14/14/image_31122025_14_14_06_10794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/11/image_31122025_14_11_45_9660.jpg
/home/pi/Desktop/images/31122025/14/11/image_31122025_14_11_55_10768.jpg
/home/pi/Desktop/images/31122025/14/12/image_31122025_14_12_15_9747.jpg
/home/pi/Desktop/images/31122025/14/13/image_31122025_14_13_35_9728.jpg
/home/pi/Desktop/images/31122025/14/13/image_31122025_14_13_45_9901.jpg
/home/pi/Desktop/images/31122025/14/14/image_31122025_14_14_06_10794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905113","1401905116","1401905121","1401905118","1401905112","1401905111"],"photo_ids_order":["1401905111","1401905112","1401905113","1401905116","1401905118","1401905121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7180f3cc4a3eb076ab36d93c7b6d2bee.jpg","text":"TemporaryFile(/tmp/multipartBody7645975986488893294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194643626,"filename":"image_31122025_14_12_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86b9d7fe80dd3cbe25eb5033ab0c7882.jpg","text":"TemporaryFile(/tmp/multipartBody4302357054540248876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194643626,"filename":"image_31122025_14_13_35_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c72e1b9ac69cc77f79c42c2a23d123db.jpg","text":"TemporaryFile(/tmp/multipartBody1038797776426532152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194643626,"filename":"image_31122025_14_14_06_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66cc952d2a9f005ba00f9cb4abb1ebfe.jpg","text":"TemporaryFile(/tmp/multipartBody990013978908112086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194643626,"filename":"image_31122025_14_13_45_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9b982e183fd35bb9d0f266cb9447250.jpg","text":"TemporaryFile(/tmp/multipartBody5815523806045817327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194643626,"filename":"image_31122025_14_11_55_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fce400f0efbfa31bf3073c721877e987.jpg","text":"TemporaryFile(/tmp/multipartBody1673289989616242316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194643626,"filename":"image_31122025_14_11_45_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905113","file1":"1401905112","file0":"1401905111","file4":"1401905118","file5":"1401905121","file3":"1401905116"},"map_files_photo_id_array":[{"photo_id":"1401905121","filename":"file5"},{"photo_id":"1401905113","filename":"file2"},{"photo_id":"1401905118","filename":"file4"},{"photo_id":"1401905112","filename":"file1"},{"photo_id":"1401905111","filename":"file0"},{"photo_id":"1401905116","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905113":["hashtag1","hashtag2"]},{"1401905116":["hashtag1","hashtag2"]},{"1401905121":["hashtag1","hashtag2"]},{"1401905118":["hashtag1","hashtag2"]},{"1401905112":["hashtag1","hashtag2"]},{"1401905111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905113, 1401905116, 1401905121, 1401905118, 1401905112, 1401905111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.588353872299194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:23:42.418321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_03_2638.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_12_2615.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_15_2573.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_27_3643.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_30_2797.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_33_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_03_2638.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_12_2615.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_15_2573.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_27_3643.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_30_2797.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_33_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905143","1401905142","1401905145","1401905144","1401905141","1401905129"],"photo_ids_order":["1401905129","1401905141","1401905142","1401905143","1401905144","1401905145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fcb904ba34e8d4169d3bdd2165f0305.jpg","text":"TemporaryFile(/tmp/multipartBody8855248760177545900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194684257,"filename":"image_03112025_19_08_27_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ccb5f58bd13da013ecccf30455cee36.jpg","text":"TemporaryFile(/tmp/multipartBody3501773502073345660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194684257,"filename":"image_03112025_19_08_15_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8acd8896025928066e12d7d92d08bfe1.jpg","text":"TemporaryFile(/tmp/multipartBody2332201834978672118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194684257,"filename":"image_03112025_19_08_33_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76cbfc8b798950abeff85bb4441e2f25.jpg","text":"TemporaryFile(/tmp/multipartBody9095604117794315633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194684257,"filename":"image_03112025_19_08_30_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/588f36c8371f1500ef9a287a11270b24.jpg","text":"TemporaryFile(/tmp/multipartBody245831130004863046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194684257,"filename":"image_03112025_19_08_12_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffcdea27595dc4f4d27d7946454ccfad.jpg","text":"TemporaryFile(/tmp/multipartBody6337488953826214608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194684257,"filename":"image_03112025_19_08_03_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905142","file1":"1401905141","file0":"1401905129","file4":"1401905144","file5":"1401905145","file3":"1401905143"},"map_files_photo_id_array":[{"photo_id":"1401905145","filename":"file5"},{"photo_id":"1401905142","filename":"file2"},{"photo_id":"1401905144","filename":"file4"},{"photo_id":"1401905141","filename":"file1"},{"photo_id":"1401905129","filename":"file0"},{"photo_id":"1401905143","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905143":["hashtag1","hashtag2"]},{"1401905142":["hashtag1","hashtag2"]},{"1401905145":["hashtag1","hashtag2"]},{"1401905144":["hashtag1","hashtag2"]},{"1401905141":["hashtag1","hashtag2"]},{"1401905129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905143, 1401905142, 1401905145, 1401905144, 1401905141, 1401905129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80519723892212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:24:22.594869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/14/image_31122025_14_14_15_9681.jpg', '/home/pi/Desktop/images/31122025/14/14/image_31122025_14_14_35_9659.jpg', '/home/pi/Desktop/images/31122025/14/14/image_31122025_14_15_05_9845.jpg', '/home/pi/Desktop/images/31122025/14/15/image_31122025_14_15_35_9766.jpg', '/home/pi/Desktop/images/31122025/14/15/image_31122025_14_15_45_9629.jpg', '/home/pi/Desktop/images/31122025/14/16/image_31122025_14_16_25_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/14/image_31122025_14_14_15_9681.jpg
/home/pi/Desktop/images/31122025/14/14/image_31122025_14_14_35_9659.jpg
/home/pi/Desktop/images/31122025/14/14/image_31122025_14_15_05_9845.jpg
/home/pi/Desktop/images/31122025/14/15/image_31122025_14_15_35_9766.jpg
/home/pi/Desktop/images/31122025/14/15/image_31122025_14_15_45_9629.jpg
/home/pi/Desktop/images/31122025/14/16/image_31122025_14_16_25_9863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905170","1401905158","1401905154","1401905156","1401905150","1401905153"],"photo_ids_order":["1401905150","1401905153","1401905154","1401905156","1401905158","1401905170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77a4335725334c33649a940bbb797368.jpg","text":"TemporaryFile(/tmp/multipartBody7904538134237235889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194723209,"filename":"image_31122025_14_16_25_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17d6ede72667c8733eb50da6146e7e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6801743743207238965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194723209,"filename":"image_31122025_14_15_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75b21082406415e53f86e30883135c2b.jpg","text":"TemporaryFile(/tmp/multipartBody6230709749750871286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194723209,"filename":"image_31122025_14_15_05_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02ea3248c823a294f9b9035f3e9a38e9.jpg","text":"TemporaryFile(/tmp/multipartBody6075139801880569457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194723209,"filename":"image_31122025_14_15_35_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bafeb4a08a8a4ee5b67e20be0f0cbf35.jpg","text":"TemporaryFile(/tmp/multipartBody7598056228521245209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194723209,"filename":"image_31122025_14_14_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/197a3c1c83bb0164ceff14de19f748f8.jpg","text":"TemporaryFile(/tmp/multipartBody2687823341216511065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194723209,"filename":"image_31122025_14_14_35_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905154","file1":"1401905153","file0":"1401905150","file4":"1401905158","file5":"1401905170","file3":"1401905156"},"map_files_photo_id_array":[{"photo_id":"1401905170","filename":"file5"},{"photo_id":"1401905154","filename":"file2"},{"photo_id":"1401905158","filename":"file4"},{"photo_id":"1401905153","filename":"file1"},{"photo_id":"1401905150","filename":"file0"},{"photo_id":"1401905156","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905170":["hashtag1","hashtag2"]},{"1401905158":["hashtag1","hashtag2"]},{"1401905154":["hashtag1","hashtag2"]},{"1401905156":["hashtag1","hashtag2"]},{"1401905150":["hashtag1","hashtag2"]},{"1401905153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905170, 1401905158, 1401905154, 1401905156, 1401905150, 1401905153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31536912918091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:25:03.539581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/16/image_31122025_14_16_36_10836.jpg', '/home/pi/Desktop/images/31122025/14/16/image_31122025_14_16_55_9685.jpg', '/home/pi/Desktop/images/31122025/14/16/image_31122025_14_17_05_9736.jpg', '/home/pi/Desktop/images/31122025/14/17/image_31122025_14_17_45_9587.jpg', '/home/pi/Desktop/images/31122025/14/17/image_31122025_14_17_55_9818.jpg', '/home/pi/Desktop/images/31122025/14/17/image_31122025_14_18_06_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/16/image_31122025_14_16_36_10836.jpg
/home/pi/Desktop/images/31122025/14/16/image_31122025_14_16_55_9685.jpg
/home/pi/Desktop/images/31122025/14/16/image_31122025_14_17_05_9736.jpg
/home/pi/Desktop/images/31122025/14/17/image_31122025_14_17_45_9587.jpg
/home/pi/Desktop/images/31122025/14/17/image_31122025_14_17_55_9818.jpg
/home/pi/Desktop/images/31122025/14/17/image_31122025_14_18_06_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905176","1401905196","1401905190","1401905193","1401905187","1401905185"],"photo_ids_order":["1401905176","1401905185","1401905187","1401905190","1401905193","1401905196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/062beee819cef79133fe38cbd1f13196.jpg","text":"TemporaryFile(/tmp/multipartBody5246918110933369805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194764269,"filename":"image_31122025_14_16_36_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23537b2bed0e69513bb45b2b9e05df49.jpg","text":"TemporaryFile(/tmp/multipartBody6275804414203355462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194764269,"filename":"image_31122025_14_18_06_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f3572679784ec9fc45169a15e4e95e5.jpg","text":"TemporaryFile(/tmp/multipartBody3098624351651407117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194764269,"filename":"image_31122025_14_17_45_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46355a65b02b460de2d5de23eecb6cba.jpg","text":"TemporaryFile(/tmp/multipartBody74910149014732467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194764269,"filename":"image_31122025_14_17_55_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4840b3e18ce7a1657f29f1295e0b3961.jpg","text":"TemporaryFile(/tmp/multipartBody4346959414853802489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194764269,"filename":"image_31122025_14_17_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55d800d24c0331dd1991edf0517206a0.jpg","text":"TemporaryFile(/tmp/multipartBody3314457213011574895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194764269,"filename":"image_31122025_14_16_55_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905187","file1":"1401905185","file0":"1401905176","file4":"1401905193","file5":"1401905196","file3":"1401905190"},"map_files_photo_id_array":[{"photo_id":"1401905196","filename":"file5"},{"photo_id":"1401905187","filename":"file2"},{"photo_id":"1401905193","filename":"file4"},{"photo_id":"1401905185","filename":"file1"},{"photo_id":"1401905176","filename":"file0"},{"photo_id":"1401905190","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905176":["hashtag1","hashtag2"]},{"1401905196":["hashtag1","hashtag2"]},{"1401905190":["hashtag1","hashtag2"]},{"1401905193":["hashtag1","hashtag2"]},{"1401905187":["hashtag1","hashtag2"]},{"1401905185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905176, 1401905196, 1401905190, 1401905193, 1401905187, 1401905185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32659554481506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:25:42.928010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_36_3594.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_39_2565.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_42_2779.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_45_3646.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_48_2716.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_51_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_36_3594.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_39_2565.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_42_2779.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_45_3646.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_48_2716.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_51_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905206","1401905209","1401905205","1401905207","1401905201","1401905204"],"photo_ids_order":["1401905201","1401905204","1401905205","1401905206","1401905207","1401905209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98675edd097ca8cebf899de6d5713dcf.jpg","text":"TemporaryFile(/tmp/multipartBody9141766484564794538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194804755,"filename":"image_03112025_19_08_45_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a592380ae563eb5fc9cdfd6454301be1.jpg","text":"TemporaryFile(/tmp/multipartBody6868106139840443274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194804755,"filename":"image_03112025_19_08_51_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f2710c5354803ea60015efb2f862838.jpg","text":"TemporaryFile(/tmp/multipartBody7719937133675503685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194804755,"filename":"image_03112025_19_08_42_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ef771c18ad69f142f4a7270845a8bd2.jpg","text":"TemporaryFile(/tmp/multipartBody4019557201913313307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194804755,"filename":"image_03112025_19_08_48_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00c626502696e2e0bbd267489a6ae3d5.jpg","text":"TemporaryFile(/tmp/multipartBody1797804410771891090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194804755,"filename":"image_03112025_19_08_36_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f73ba8553f7d66d0bf27972f730b7ba.jpg","text":"TemporaryFile(/tmp/multipartBody3822610725258204061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194804755,"filename":"image_03112025_19_08_39_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905205","file1":"1401905204","file0":"1401905201","file4":"1401905207","file5":"1401905209","file3":"1401905206"},"map_files_photo_id_array":[{"photo_id":"1401905209","filename":"file5"},{"photo_id":"1401905205","filename":"file2"},{"photo_id":"1401905207","filename":"file4"},{"photo_id":"1401905204","filename":"file1"},{"photo_id":"1401905201","filename":"file0"},{"photo_id":"1401905206","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905206":["hashtag1","hashtag2"]},{"1401905209":["hashtag1","hashtag2"]},{"1401905205":["hashtag1","hashtag2"]},{"1401905207":["hashtag1","hashtag2"]},{"1401905201":["hashtag1","hashtag2"]},{"1401905204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905206, 1401905209, 1401905205, 1401905207, 1401905201, 1401905204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00968813896179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:26:22.117654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/18/image_31122025_14_18_15_9771.jpg', '/home/pi/Desktop/images/31122025/14/18/image_31122025_14_18_46_10737.jpg', '/home/pi/Desktop/images/31122025/14/18/image_31122025_14_18_55_9605.jpg', '/home/pi/Desktop/images/31122025/14/19/image_31122025_14_19_35_9663.jpg', '/home/pi/Desktop/images/31122025/14/20/image_31122025_14_20_45_10603.jpg', '/home/pi/Desktop/images/31122025/14/20/image_31122025_14_20_55_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/18/image_31122025_14_18_15_9771.jpg
/home/pi/Desktop/images/31122025/14/18/image_31122025_14_18_46_10737.jpg
/home/pi/Desktop/images/31122025/14/18/image_31122025_14_18_55_9605.jpg
/home/pi/Desktop/images/31122025/14/19/image_31122025_14_19_35_9663.jpg
/home/pi/Desktop/images/31122025/14/20/image_31122025_14_20_45_10603.jpg
/home/pi/Desktop/images/31122025/14/20/image_31122025_14_20_55_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905224","1401905215","1401905229","1401905220","1401905217","1401905222"],"photo_ids_order":["1401905215","1401905217","1401905220","1401905222","1401905224","1401905229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4b95cb368a3670d1c3096ec6bf9d71d.jpg","text":"TemporaryFile(/tmp/multipartBody1042391700687743460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194842728,"filename":"image_31122025_14_20_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c76f002e00a810fe145ea3ff6f2adaff.jpg","text":"TemporaryFile(/tmp/multipartBody9004270883647978895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194842728,"filename":"image_31122025_14_18_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f547a3f740ce4cd219a5b431e25adac.jpg","text":"TemporaryFile(/tmp/multipartBody504007684356908371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194842728,"filename":"image_31122025_14_20_55_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66b16a0d95e64075142e677568d0511b.jpg","text":"TemporaryFile(/tmp/multipartBody3388933845831731518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194842728,"filename":"image_31122025_14_18_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de33a6a0a4aaa9966c202ba91e99dc31.jpg","text":"TemporaryFile(/tmp/multipartBody7945027308552085617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194842728,"filename":"image_31122025_14_18_46_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd4b241688e8379cba0c3b2fee575554.jpg","text":"TemporaryFile(/tmp/multipartBody8199739405499609850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194842728,"filename":"image_31122025_14_19_35_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905220","file1":"1401905217","file0":"1401905215","file4":"1401905224","file5":"1401905229","file3":"1401905222"},"map_files_photo_id_array":[{"photo_id":"1401905229","filename":"file5"},{"photo_id":"1401905220","filename":"file2"},{"photo_id":"1401905224","filename":"file4"},{"photo_id":"1401905217","filename":"file1"},{"photo_id":"1401905215","filename":"file0"},{"photo_id":"1401905222","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905224":["hashtag1","hashtag2"]},{"1401905215":["hashtag1","hashtag2"]},{"1401905229":["hashtag1","hashtag2"]},{"1401905220":["hashtag1","hashtag2"]},{"1401905217":["hashtag1","hashtag2"]},{"1401905222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905224, 1401905215, 1401905229, 1401905220, 1401905217, 1401905222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71771478652954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:27:03.066649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/20/image_31122025_14_21_05_9767.jpg', '/home/pi/Desktop/images/31122025/14/21/image_31122025_14_21_15_10669.jpg', '/home/pi/Desktop/images/31122025/14/21/image_31122025_14_21_35_9769.jpg', '/home/pi/Desktop/images/31122025/14/21/image_31122025_14_21_45_10031.jpg', '/home/pi/Desktop/images/31122025/14/21/image_31122025_14_21_56_10687.jpg', '/home/pi/Desktop/images/31122025/14/21/image_31122025_14_22_05_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/20/image_31122025_14_21_05_9767.jpg
/home/pi/Desktop/images/31122025/14/21/image_31122025_14_21_15_10669.jpg
/home/pi/Desktop/images/31122025/14/21/image_31122025_14_21_35_9769.jpg
/home/pi/Desktop/images/31122025/14/21/image_31122025_14_21_45_10031.jpg
/home/pi/Desktop/images/31122025/14/21/image_31122025_14_21_56_10687.jpg
/home/pi/Desktop/images/31122025/14/21/image_31122025_14_22_05_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905260","1401905248","1401905239","1401905270","1401905264","1401905267"],"photo_ids_order":["1401905239","1401905248","1401905260","1401905264","1401905267","1401905270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff871f6caee5f644500ecdf23f6eaaec.jpg","text":"TemporaryFile(/tmp/multipartBody2584038917741604598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194883736,"filename":"image_31122025_14_21_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9b9823e863eab79f7d28dcdc3dc8d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6026180284769051910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194883736,"filename":"image_31122025_14_21_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/001c9630bfba45ec9b2089b773eee352.jpg","text":"TemporaryFile(/tmp/multipartBody2575344585182633902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194883736,"filename":"image_31122025_14_21_05_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34508902bce14613094ac620fa180db0.jpg","text":"TemporaryFile(/tmp/multipartBody394926139388516210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194883736,"filename":"image_31122025_14_22_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb80574c99f19f03c9cec448c9d44e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1515959869439048655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194883736,"filename":"image_31122025_14_21_45_10031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7ae5542f86a95234dd4c9d8b3bc6422.jpg","text":"TemporaryFile(/tmp/multipartBody2268159254806826469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194883736,"filename":"image_31122025_14_21_56_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905260","file1":"1401905248","file0":"1401905239","file4":"1401905267","file5":"1401905270","file3":"1401905264"},"map_files_photo_id_array":[{"photo_id":"1401905270","filename":"file5"},{"photo_id":"1401905260","filename":"file2"},{"photo_id":"1401905267","filename":"file4"},{"photo_id":"1401905248","filename":"file1"},{"photo_id":"1401905239","filename":"file0"},{"photo_id":"1401905264","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905260":["hashtag1","hashtag2"]},{"1401905248":["hashtag1","hashtag2"]},{"1401905239":["hashtag1","hashtag2"]},{"1401905270":["hashtag1","hashtag2"]},{"1401905264":["hashtag1","hashtag2"]},{"1401905267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905260, 1401905248, 1401905239, 1401905270, 1401905264, 1401905267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47862195968628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:27:42.400703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_57_2706.jpg', '/home/pi/Desktop/images/03112025/19/08/image_03112025_19_09_00_2650.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_18_2679.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_21_3711.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_24_2652.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_33_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_08_57_2706.jpg
/home/pi/Desktop/images/03112025/19/08/image_03112025_19_09_00_2650.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_18_2679.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_21_3711.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_24_2652.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_33_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905275","1401905278","1401905277","1401905291","1401905282","1401905279"],"photo_ids_order":["1401905275","1401905277","1401905278","1401905279","1401905282","1401905291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef6e2409983fcddccddadbdaed2b08bc.jpg","text":"TemporaryFile(/tmp/multipartBody5366073987184479711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194924215,"filename":"image_03112025_19_08_57_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06c36e94975cefe33fd1dc6e51594c2d.jpg","text":"TemporaryFile(/tmp/multipartBody1098818432210607545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194924215,"filename":"image_03112025_19_09_18_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25f00bdbcf8e363df2160bca5764dc68.jpg","text":"TemporaryFile(/tmp/multipartBody5465113085557264749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194924215,"filename":"image_03112025_19_09_00_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d11eb0b61cdc3b8845d48fe6afd2e4d2.jpg","text":"TemporaryFile(/tmp/multipartBody3483973360257767539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194924215,"filename":"image_03112025_19_09_33_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ec62530c5cbfa549d903f0aeef9d71c.jpg","text":"TemporaryFile(/tmp/multipartBody1503306593284784347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194924215,"filename":"image_03112025_19_09_24_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbdf92862890d3a2e9e2f13e91e41391.jpg","text":"TemporaryFile(/tmp/multipartBody8925938539094921553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194924215,"filename":"image_03112025_19_09_21_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905278","file1":"1401905277","file0":"1401905275","file4":"1401905282","file5":"1401905291","file3":"1401905279"},"map_files_photo_id_array":[{"photo_id":"1401905291","filename":"file5"},{"photo_id":"1401905278","filename":"file2"},{"photo_id":"1401905282","filename":"file4"},{"photo_id":"1401905277","filename":"file1"},{"photo_id":"1401905275","filename":"file0"},{"photo_id":"1401905279","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905275":["hashtag1","hashtag2"]},{"1401905278":["hashtag1","hashtag2"]},{"1401905277":["hashtag1","hashtag2"]},{"1401905291":["hashtag1","hashtag2"]},{"1401905282":["hashtag1","hashtag2"]},{"1401905279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905275, 1401905278, 1401905277, 1401905291, 1401905282, 1401905279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94043707847595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:28:22.552617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_15_9652.jpg', '/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_25_9848.jpg', '/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_35_10553.jpg', '/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_45_9810.jpg', '/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_55_10054.jpg', '/home/pi/Desktop/images/31122025/14/22/image_31122025_14_23_05_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_15_9652.jpg
/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_25_9848.jpg
/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_35_10553.jpg
/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_45_9810.jpg
/home/pi/Desktop/images/31122025/14/22/image_31122025_14_22_55_10054.jpg
/home/pi/Desktop/images/31122025/14/22/image_31122025_14_23_05_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905296","1401905305","1401905310","1401905304","1401905307","1401905299"],"photo_ids_order":["1401905296","1401905299","1401905304","1401905305","1401905307","1401905310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c77657d4d29b5b931dba0fa1c3dac21.jpg","text":"TemporaryFile(/tmp/multipartBody5290567819909564892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194963198,"filename":"image_31122025_14_22_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e0ff6a07405adf24e9a1b689d8d3f51.jpg","text":"TemporaryFile(/tmp/multipartBody839015693401964309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194963198,"filename":"image_31122025_14_22_45_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f728410ab5695bd9b74e1c44681156eb.jpg","text":"TemporaryFile(/tmp/multipartBody1180386141121311953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194963198,"filename":"image_31122025_14_23_05_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c44222d781c75254debfa4ce32966190.jpg","text":"TemporaryFile(/tmp/multipartBody8182289941502436410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194963198,"filename":"image_31122025_14_22_35_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/124000a0c6438b801121b2249c95690b.jpg","text":"TemporaryFile(/tmp/multipartBody6120544042879132206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194963198,"filename":"image_31122025_14_22_55_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5a9e033b2d2702fe626895e336a46c6.jpg","text":"TemporaryFile(/tmp/multipartBody4890418802588850655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767194963198,"filename":"image_31122025_14_22_25_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905304","file1":"1401905299","file0":"1401905296","file4":"1401905307","file5":"1401905310","file3":"1401905305"},"map_files_photo_id_array":[{"photo_id":"1401905310","filename":"file5"},{"photo_id":"1401905304","filename":"file2"},{"photo_id":"1401905307","filename":"file4"},{"photo_id":"1401905299","filename":"file1"},{"photo_id":"1401905296","filename":"file0"},{"photo_id":"1401905305","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905296":["hashtag1","hashtag2"]},{"1401905305":["hashtag1","hashtag2"]},{"1401905310":["hashtag1","hashtag2"]},{"1401905304":["hashtag1","hashtag2"]},{"1401905307":["hashtag1","hashtag2"]},{"1401905299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905296, 1401905305, 1401905310, 1401905304, 1401905307, 1401905299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89930057525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:29:02.750956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/23/image_31122025_14_23_35_9817.jpg', '/home/pi/Desktop/images/31122025/14/23/image_31122025_14_23_45_9596.jpg', '/home/pi/Desktop/images/31122025/14/23/image_31122025_14_24_05_9623.jpg', '/home/pi/Desktop/images/31122025/14/24/image_31122025_14_24_15_9691.jpg', '/home/pi/Desktop/images/31122025/14/24/image_31122025_14_24_26_10571.jpg', '/home/pi/Desktop/images/31122025/14/24/image_31122025_14_24_45_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/23/image_31122025_14_23_35_9817.jpg
/home/pi/Desktop/images/31122025/14/23/image_31122025_14_23_45_9596.jpg
/home/pi/Desktop/images/31122025/14/23/image_31122025_14_24_05_9623.jpg
/home/pi/Desktop/images/31122025/14/24/image_31122025_14_24_15_9691.jpg
/home/pi/Desktop/images/31122025/14/24/image_31122025_14_24_26_10571.jpg
/home/pi/Desktop/images/31122025/14/24/image_31122025_14_24_45_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905329","1401905320","1401905323","1401905316","1401905325","1401905327"],"photo_ids_order":["1401905316","1401905320","1401905323","1401905325","1401905327","1401905329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/933b4fc3380cc860c1f2f06b1a94d4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8845211980065288875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195003660,"filename":"image_31122025_14_24_45_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77a159d1c6d0172cacf267432b176808.jpg","text":"TemporaryFile(/tmp/multipartBody5972121749260108347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195003660,"filename":"image_31122025_14_23_45_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe40a90dcaa7d2aab78324f2278b3063.jpg","text":"TemporaryFile(/tmp/multipartBody7380417305266935380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195003660,"filename":"image_31122025_14_24_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c21ab999c416987c47c09bdedab2a427.jpg","text":"TemporaryFile(/tmp/multipartBody6364024297588785011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195003660,"filename":"image_31122025_14_23_35_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aa6da58f09e1a73b855b2ae8f114e29.jpg","text":"TemporaryFile(/tmp/multipartBody7324507001709230585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195003660,"filename":"image_31122025_14_24_15_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3901415de3a63b956f5b1375047e0787.jpg","text":"TemporaryFile(/tmp/multipartBody6827752181323444542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195003660,"filename":"image_31122025_14_24_26_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905323","file1":"1401905320","file0":"1401905316","file4":"1401905327","file5":"1401905329","file3":"1401905325"},"map_files_photo_id_array":[{"photo_id":"1401905329","filename":"file5"},{"photo_id":"1401905323","filename":"file2"},{"photo_id":"1401905327","filename":"file4"},{"photo_id":"1401905320","filename":"file1"},{"photo_id":"1401905316","filename":"file0"},{"photo_id":"1401905325","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905329":["hashtag1","hashtag2"]},{"1401905320":["hashtag1","hashtag2"]},{"1401905323":["hashtag1","hashtag2"]},{"1401905316":["hashtag1","hashtag2"]},{"1401905325":["hashtag1","hashtag2"]},{"1401905327":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905329, 1401905320, 1401905323, 1401905316, 1401905325, 1401905327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.588597536087036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:29:41.899427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_36_2618.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_39_3679.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_42_2582.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_45_3613.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_48_2495.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_54_3788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_36_2618.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_39_3679.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_42_2582.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_45_3613.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_48_2495.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_54_3788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905362","1401905364","1401905355","1401905340","1401905354","1401905366"],"photo_ids_order":["1401905340","1401905354","1401905355","1401905362","1401905364","1401905366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a3966cc12816a5e32ff3abd81018789.jpg","text":"TemporaryFile(/tmp/multipartBody4562787802188781491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195043733,"filename":"image_03112025_19_09_45_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1d3a0ea29d9c993cbb41efca095b0d3.jpg","text":"TemporaryFile(/tmp/multipartBody1977300255449869433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195043733,"filename":"image_03112025_19_09_48_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aad9133af881e71bbaf70c3e686693f7.jpg","text":"TemporaryFile(/tmp/multipartBody3625400375622576643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195043733,"filename":"image_03112025_19_09_42_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/174e0d29946a4f3a4bd1814d5239d183.jpg","text":"TemporaryFile(/tmp/multipartBody3375172827488713201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195043733,"filename":"image_03112025_19_09_36_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e08ee426436dce98cfa889d97c920a70.jpg","text":"TemporaryFile(/tmp/multipartBody2730929806323811164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195043733,"filename":"image_03112025_19_09_39_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c5dd719df9a38d2c1f9a034b4dcef23.jpg","text":"TemporaryFile(/tmp/multipartBody2430369649301668552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195043733,"filename":"image_03112025_19_09_54_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905355","file1":"1401905354","file0":"1401905340","file4":"1401905364","file5":"1401905366","file3":"1401905362"},"map_files_photo_id_array":[{"photo_id":"1401905366","filename":"file5"},{"photo_id":"1401905355","filename":"file2"},{"photo_id":"1401905364","filename":"file4"},{"photo_id":"1401905354","filename":"file1"},{"photo_id":"1401905340","filename":"file0"},{"photo_id":"1401905362","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905362":["hashtag1","hashtag2"]},{"1401905364":["hashtag1","hashtag2"]},{"1401905355":["hashtag1","hashtag2"]},{"1401905340":["hashtag1","hashtag2"]},{"1401905354":["hashtag1","hashtag2"]},{"1401905366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905362, 1401905364, 1401905355, 1401905340, 1401905354, 1401905366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61053681373596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:30:32.076911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_57_2571.jpg', '/home/pi/Desktop/images/03112025/19/09/image_03112025_19_10_00_2585.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_03_3743.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_09_2710.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_12_3668.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_18_5906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_09_57_2571.jpg
/home/pi/Desktop/images/03112025/19/09/image_03112025_19_10_00_2585.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_03_3743.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_09_2710.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_12_3668.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_18_5906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905382","1401905385","1401905390","1401905375","1401905378","1401905386"],"photo_ids_order":["1401905375","1401905378","1401905382","1401905385","1401905386","1401905390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3dab90645d0d60326056e9031245d0c.jpg","text":"TemporaryFile(/tmp/multipartBody8894340692068293578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195093896,"filename":"image_03112025_19_10_03_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9b1827b62cc5341aac3d0241fdd1fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7402657941314081609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195093896,"filename":"image_03112025_19_10_09_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43ecb7cf5f4a7c9dbdf686831fb75b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3121775647400362955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195093896,"filename":"image_03112025_19_10_18_5906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baaf1f13844e1b2e08cd96caf9dd9ee6.jpg","text":"TemporaryFile(/tmp/multipartBody750836451498788850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195093896,"filename":"image_03112025_19_09_57_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fafa5f361861a0de3a65417950a9e42b.jpg","text":"TemporaryFile(/tmp/multipartBody1268583820370488497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195093896,"filename":"image_03112025_19_10_00_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1a57df07806d4831fce067c85e72cad.jpg","text":"TemporaryFile(/tmp/multipartBody2803257887584379873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195093896,"filename":"image_03112025_19_10_12_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905382","file1":"1401905378","file0":"1401905375","file4":"1401905386","file5":"1401905390","file3":"1401905385"},"map_files_photo_id_array":[{"photo_id":"1401905390","filename":"file5"},{"photo_id":"1401905382","filename":"file2"},{"photo_id":"1401905386","filename":"file4"},{"photo_id":"1401905378","filename":"file1"},{"photo_id":"1401905375","filename":"file0"},{"photo_id":"1401905385","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905382":["hashtag1","hashtag2"]},{"1401905385":["hashtag1","hashtag2"]},{"1401905390":["hashtag1","hashtag2"]},{"1401905375":["hashtag1","hashtag2"]},{"1401905378":["hashtag1","hashtag2"]},{"1401905386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905382, 1401905385, 1401905390, 1401905375, 1401905378, 1401905386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84118461608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:31:12.225212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_24_1686.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_27_3769.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_33_2626.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_35_2756.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_39_3645.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_42_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_24_1686.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_27_3769.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_33_2626.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_35_2756.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_39_3645.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_42_2540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905407","1401905409","1401905400","1401905403","1401905393","1401905405"],"photo_ids_order":["1401905393","1401905400","1401905403","1401905405","1401905407","1401905409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0380b529ed61c9f89548a6580d5f29d2.jpg","text":"TemporaryFile(/tmp/multipartBody6889627174577207586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195133939,"filename":"image_03112025_19_10_39_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c80ea08c6efe1cb1cbc2b6eb45b61c85.jpg","text":"TemporaryFile(/tmp/multipartBody1403926668608430902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195133939,"filename":"image_03112025_19_10_42_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7c58a1ee49a08359d210b0cb19453b3.jpg","text":"TemporaryFile(/tmp/multipartBody2915455352553592010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195133939,"filename":"image_03112025_19_10_27_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7c6869e384b4ac60cba7c394859670d.jpg","text":"TemporaryFile(/tmp/multipartBody5827133928569998895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195133939,"filename":"image_03112025_19_10_33_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c89999dbf911cd730ee0ae3ea10e6c4.jpg","text":"TemporaryFile(/tmp/multipartBody4537705135555916349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195133939,"filename":"image_03112025_19_10_24_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f6d7d93ab3ef0e767ed5b10652bda0e.jpg","text":"TemporaryFile(/tmp/multipartBody9208484625889234559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195133939,"filename":"image_03112025_19_10_35_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905403","file1":"1401905400","file0":"1401905393","file4":"1401905407","file5":"1401905409","file3":"1401905405"},"map_files_photo_id_array":[{"photo_id":"1401905409","filename":"file5"},{"photo_id":"1401905403","filename":"file2"},{"photo_id":"1401905407","filename":"file4"},{"photo_id":"1401905400","filename":"file1"},{"photo_id":"1401905393","filename":"file0"},{"photo_id":"1401905405","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905407":["hashtag1","hashtag2"]},{"1401905409":["hashtag1","hashtag2"]},{"1401905400":["hashtag1","hashtag2"]},{"1401905403":["hashtag1","hashtag2"]},{"1401905393":["hashtag1","hashtag2"]},{"1401905405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905407, 1401905409, 1401905400, 1401905403, 1401905393, 1401905405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.199806928634644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:32:02.969102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/24/image_31122025_14_24_56_10587.jpg', '/home/pi/Desktop/images/31122025/14/24/image_31122025_14_25_05_9718.jpg', '/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_15_9714.jpg', '/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_25_9845.jpg', '/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_35_10000.jpg', '/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_45_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/24/image_31122025_14_24_56_10587.jpg
/home/pi/Desktop/images/31122025/14/24/image_31122025_14_25_05_9718.jpg
/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_15_9714.jpg
/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_25_9845.jpg
/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_35_10000.jpg
/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_45_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905428","1401905430","1401905424","1401905433","1401905417","1401905426"],"photo_ids_order":["1401905417","1401905424","1401905426","1401905428","1401905430","1401905433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b273f40d0c8174281ee6819019f9dc3d.jpg","text":"TemporaryFile(/tmp/multipartBody1145484506646294714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195183608,"filename":"image_31122025_14_25_25_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7035877c108b912ba5a1e35c268ed4e3.jpg","text":"TemporaryFile(/tmp/multipartBody7228220216221447055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195183608,"filename":"image_31122025_14_25_35_10000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/129b9a0ed86d9ae8aa37e975033d5cd5.jpg","text":"TemporaryFile(/tmp/multipartBody592500000497772047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195183608,"filename":"image_31122025_14_25_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12bced68fbc51a6c4e6310b47cd6cb15.jpg","text":"TemporaryFile(/tmp/multipartBody2283938124871643385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195183608,"filename":"image_31122025_14_25_45_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c448f1f5d84116c6dbcbae6355b77baa.jpg","text":"TemporaryFile(/tmp/multipartBody1839001797341542795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195183608,"filename":"image_31122025_14_24_56_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a89564c226cb9e17b5ad7bbd611b716.jpg","text":"TemporaryFile(/tmp/multipartBody7119957665123975658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195183608,"filename":"image_31122025_14_25_15_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905426","file1":"1401905424","file0":"1401905417","file4":"1401905430","file5":"1401905433","file3":"1401905428"},"map_files_photo_id_array":[{"photo_id":"1401905433","filename":"file5"},{"photo_id":"1401905426","filename":"file2"},{"photo_id":"1401905430","filename":"file4"},{"photo_id":"1401905424","filename":"file1"},{"photo_id":"1401905417","filename":"file0"},{"photo_id":"1401905428","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905428":["hashtag1","hashtag2"]},{"1401905430":["hashtag1","hashtag2"]},{"1401905424":["hashtag1","hashtag2"]},{"1401905433":["hashtag1","hashtag2"]},{"1401905417":["hashtag1","hashtag2"]},{"1401905426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905428, 1401905430, 1401905424, 1401905433, 1401905417, 1401905426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12765645980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:32:42.509665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_48_2636.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_51_2703.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_57_2600.jpg', '/home/pi/Desktop/images/03112025/19/10/image_03112025_19_11_00_2619.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_06_2605.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_09_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_48_2636.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_51_2703.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_10_57_2600.jpg
/home/pi/Desktop/images/03112025/19/10/image_03112025_19_11_00_2619.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_06_2605.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_09_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905467","1401905469","1401905466","1401905453","1401905465","1401905464"],"photo_ids_order":["1401905453","1401905464","1401905465","1401905466","1401905467","1401905469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/715e1b8ff8b6e74c8ad53c43a68f008e.jpg","text":"TemporaryFile(/tmp/multipartBody8343478412206249560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195224322,"filename":"image_03112025_19_11_06_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05f360d0d56801f5b1fea6476b1b3e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3851238630970246863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195224322,"filename":"image_03112025_19_11_09_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a8bb6b4de1b1e00d78269384443a8d8.jpg","text":"TemporaryFile(/tmp/multipartBody7835552155846676905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195224322,"filename":"image_03112025_19_11_00_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/254ae0dedb8be5270b2afa6423dff109.jpg","text":"TemporaryFile(/tmp/multipartBody4957149194877369695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195224322,"filename":"image_03112025_19_10_48_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/601c56fcef377e12f1292b6628b71f31.jpg","text":"TemporaryFile(/tmp/multipartBody3892447126486328072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195224322,"filename":"image_03112025_19_10_57_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81abe3ceaeccc200b8ce44cd20e78ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5028408010631550943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195224322,"filename":"image_03112025_19_10_51_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905465","file1":"1401905464","file0":"1401905453","file4":"1401905467","file5":"1401905469","file3":"1401905466"},"map_files_photo_id_array":[{"photo_id":"1401905469","filename":"file5"},{"photo_id":"1401905465","filename":"file2"},{"photo_id":"1401905467","filename":"file4"},{"photo_id":"1401905464","filename":"file1"},{"photo_id":"1401905453","filename":"file0"},{"photo_id":"1401905466","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905467":["hashtag1","hashtag2"]},{"1401905469":["hashtag1","hashtag2"]},{"1401905466":["hashtag1","hashtag2"]},{"1401905453":["hashtag1","hashtag2"]},{"1401905465":["hashtag1","hashtag2"]},{"1401905464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905467, 1401905469, 1401905466, 1401905453, 1401905465, 1401905464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95588779449463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:33:22.701339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_55_10765.jpg', '/home/pi/Desktop/images/31122025/14/25/image_31122025_14_26_05_9808.jpg', '/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_15_9727.jpg', '/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_35_10648.jpg', '/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_45_9642.jpg', '/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_55_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_55_10765.jpg
/home/pi/Desktop/images/31122025/14/25/image_31122025_14_26_05_9808.jpg
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_15_9727.jpg
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_35_10648.jpg
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_45_9642.jpg
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_55_10519.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4997251033782959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:33:32.700029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_12_2654.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_15_2601.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_30_3557.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_33_2583.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_35_2842.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_39_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_12_2654.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_15_2601.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_30_3557.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_33_2583.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_35_2842.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_39_3699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905487","1401905490","1401905478","1401905497","1401905482","1401905501"],"photo_ids_order":["1401905478","1401905482","1401905487","1401905490","1401905497","1401905501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16fb8508630d8db192ac4889ac8b913a.jpg","text":"TemporaryFile(/tmp/multipartBody3135887106834532576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195274523,"filename":"image_03112025_19_11_30_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ccd0bba00878ddd9ed6e3c91abbec6e.jpg","text":"TemporaryFile(/tmp/multipartBody8829544621005311541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195274523,"filename":"image_03112025_19_11_33_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b08329c20663821578c5badfd1be173.jpg","text":"TemporaryFile(/tmp/multipartBody5990979277175484412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195274523,"filename":"image_03112025_19_11_12_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2522f38f83e1035460a2c3ed001be0f4.jpg","text":"TemporaryFile(/tmp/multipartBody1777847800178297997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195274523,"filename":"image_03112025_19_11_35_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/640f4662deac26a749f3f8757d6d57e1.jpg","text":"TemporaryFile(/tmp/multipartBody4683139940324960621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195274523,"filename":"image_03112025_19_11_15_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0ae478285dd12c87dbb75f41040c3f9.jpg","text":"TemporaryFile(/tmp/multipartBody1497667547146653780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195274523,"filename":"image_03112025_19_11_39_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905487","file1":"1401905482","file0":"1401905478","file4":"1401905497","file5":"1401905501","file3":"1401905490"},"map_files_photo_id_array":[{"photo_id":"1401905501","filename":"file5"},{"photo_id":"1401905487","filename":"file2"},{"photo_id":"1401905497","filename":"file4"},{"photo_id":"1401905482","filename":"file1"},{"photo_id":"1401905478","filename":"file0"},{"photo_id":"1401905490","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905487":["hashtag1","hashtag2"]},{"1401905490":["hashtag1","hashtag2"]},{"1401905478":["hashtag1","hashtag2"]},{"1401905497":["hashtag1","hashtag2"]},{"1401905482":["hashtag1","hashtag2"]},{"1401905501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905487, 1401905490, 1401905478, 1401905497, 1401905482, 1401905501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98958158493042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:34:11.823707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_48_3668.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_51_2747.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_54_2575.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_57_3622.jpg', '/home/pi/Desktop/images/03112025/19/11/image_03112025_19_12_00_2642.jpg', '/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_02_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_48_3668.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_51_2747.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_54_2575.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_11_57_3622.jpg
/home/pi/Desktop/images/03112025/19/11/image_03112025_19_12_00_2642.jpg
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_02_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905509","1401905503","1401905511","1401905505","1401905513","1401905507"],"photo_ids_order":["1401905503","1401905505","1401905507","1401905509","1401905511","1401905513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11f0e3f94a2a2fb1b8648932aba1d14c.jpg","text":"TemporaryFile(/tmp/multipartBody6890168555360440375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195313524,"filename":"image_03112025_19_11_57_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44ebcea12933563766eff69d116acad9.jpg","text":"TemporaryFile(/tmp/multipartBody9068652936919565508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195313524,"filename":"image_03112025_19_11_48_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f37504e233fe4be67f82393b96d364c2.jpg","text":"TemporaryFile(/tmp/multipartBody7928996736415782095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195313524,"filename":"image_03112025_19_12_00_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8e58dbde244f7e9676ff0a520d5286a.jpg","text":"TemporaryFile(/tmp/multipartBody3535189592591779522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195313524,"filename":"image_03112025_19_11_51_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b17bf4b1f6baa497ad78c20522e7f0e.jpg","text":"TemporaryFile(/tmp/multipartBody8931765495158912157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195313524,"filename":"image_03112025_19_12_02_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e2f088ac643daa1d95c4b46b877785e.jpg","text":"TemporaryFile(/tmp/multipartBody1613772463709089098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195313524,"filename":"image_03112025_19_11_54_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905507","file1":"1401905505","file0":"1401905503","file4":"1401905511","file5":"1401905513","file3":"1401905509"},"map_files_photo_id_array":[{"photo_id":"1401905513","filename":"file5"},{"photo_id":"1401905507","filename":"file2"},{"photo_id":"1401905511","filename":"file4"},{"photo_id":"1401905505","filename":"file1"},{"photo_id":"1401905503","filename":"file0"},{"photo_id":"1401905509","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905509":["hashtag1","hashtag2"]},{"1401905503":["hashtag1","hashtag2"]},{"1401905511":["hashtag1","hashtag2"]},{"1401905505":["hashtag1","hashtag2"]},{"1401905513":["hashtag1","hashtag2"]},{"1401905507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905509, 1401905503, 1401905511, 1401905505, 1401905513, 1401905507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78381943702698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:35:02.839758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_55_10765.jpg', '/home/pi/Desktop/images/31122025/14/25/image_31122025_14_26_05_9808.jpg', '/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_15_9727.jpg', '/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_35_10648.jpg', '/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_45_9642.jpg', '/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_55_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/25/image_31122025_14_25_55_10765.jpg
/home/pi/Desktop/images/31122025/14/25/image_31122025_14_26_05_9808.jpg
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_15_9727.jpg
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_35_10648.jpg
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_45_9642.jpg
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_26_55_10519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905541","1401905538","1401905532","1401905535","1401905529","1401905543"],"photo_ids_order":["1401905529","1401905532","1401905535","1401905538","1401905541","1401905543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71e542ff052b33133f9eeeb93bd56522.jpg","text":"TemporaryFile(/tmp/multipartBody1023224234347205336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195363510,"filename":"image_31122025_14_26_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b44eb82933ed8e4486a38d7b4a92de8a.jpg","text":"TemporaryFile(/tmp/multipartBody7218787656603400467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195363510,"filename":"image_31122025_14_26_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8f53e8522a0e4a7bb7f5ce7b69a9092.jpg","text":"TemporaryFile(/tmp/multipartBody1660637303070664456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195363510,"filename":"image_31122025_14_26_05_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ec5daf197e038515cc4f03414790c80.jpg","text":"TemporaryFile(/tmp/multipartBody2967635681952748139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195363510,"filename":"image_31122025_14_26_15_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77372c115ea98d08ff3b7bcea4730ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5810206894456819606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195363510,"filename":"image_31122025_14_25_55_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6257826de6fe40da3cf9f8ce62b30c52.jpg","text":"TemporaryFile(/tmp/multipartBody8483596956894268395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195363510,"filename":"image_31122025_14_26_55_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905535","file1":"1401905532","file0":"1401905529","file4":"1401905541","file5":"1401905543","file3":"1401905538"},"map_files_photo_id_array":[{"photo_id":"1401905543","filename":"file5"},{"photo_id":"1401905535","filename":"file2"},{"photo_id":"1401905541","filename":"file4"},{"photo_id":"1401905532","filename":"file1"},{"photo_id":"1401905529","filename":"file0"},{"photo_id":"1401905538","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905541":["hashtag1","hashtag2"]},{"1401905538":["hashtag1","hashtag2"]},{"1401905532":["hashtag1","hashtag2"]},{"1401905535":["hashtag1","hashtag2"]},{"1401905529":["hashtag1","hashtag2"]},{"1401905543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905541, 1401905538, 1401905532, 1401905535, 1401905529, 1401905543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.968870878219604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:35:42.270670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_09_2692.jpg', '/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_12_2713.jpg', '/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_29_2609.jpg', '/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_45_2587.jpg', '/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_47_2613.jpg', '/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_51_3860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_09_2692.jpg
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_12_2713.jpg
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_29_2609.jpg
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_45_2587.jpg
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_47_2613.jpg
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_51_3860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905560","1401905548","1401905562","1401905565","1401905561","1401905563"],"photo_ids_order":["1401905548","1401905560","1401905561","1401905562","1401905563","1401905565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2feaf310ddfdc35ee1ad8d63ee506b53.jpg","text":"TemporaryFile(/tmp/multipartBody2162569508908822536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195403953,"filename":"image_03112025_19_12_12_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f77495a05aa59e0349362e974763d61.jpg","text":"TemporaryFile(/tmp/multipartBody3098350905134036544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195403953,"filename":"image_03112025_19_12_09_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94d175bf34599eeac24dfb8f449eeec1.jpg","text":"TemporaryFile(/tmp/multipartBody2023245739426565328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195403953,"filename":"image_03112025_19_12_45_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b68c515048f189d2087076a3ee5130c9.jpg","text":"TemporaryFile(/tmp/multipartBody1828331438497463616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195403953,"filename":"image_03112025_19_12_51_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c11accb7d0b99e1a8f692d21d44b33e3.jpg","text":"TemporaryFile(/tmp/multipartBody7065456901080755610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195403953,"filename":"image_03112025_19_12_29_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/573b5e15dc857e592c4c2abc0a0ac60e.jpg","text":"TemporaryFile(/tmp/multipartBody8563036526682163350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195403953,"filename":"image_03112025_19_12_47_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905561","file1":"1401905560","file0":"1401905548","file4":"1401905563","file5":"1401905565","file3":"1401905562"},"map_files_photo_id_array":[{"photo_id":"1401905565","filename":"file5"},{"photo_id":"1401905561","filename":"file2"},{"photo_id":"1401905563","filename":"file4"},{"photo_id":"1401905560","filename":"file1"},{"photo_id":"1401905548","filename":"file0"},{"photo_id":"1401905562","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905560":["hashtag1","hashtag2"]},{"1401905548":["hashtag1","hashtag2"]},{"1401905562":["hashtag1","hashtag2"]},{"1401905565":["hashtag1","hashtag2"]},{"1401905561":["hashtag1","hashtag2"]},{"1401905563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905560, 1401905548, 1401905562, 1401905565, 1401905561, 1401905563)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401905561 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_29_2609.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.4779691696167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:37:02.986338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/26/image_31122025_14_27_05_9655.jpg', '/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_15_9747.jpg', '/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_25_9972.jpg', '/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_35_10606.jpg', '/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_45_9683.jpg', '/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_55_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/26/image_31122025_14_27_05_9655.jpg
/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_15_9747.jpg
/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_25_9972.jpg
/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_35_10606.jpg
/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_45_9683.jpg
/home/pi/Desktop/images/31122025/14/27/image_31122025_14_27_55_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905580","1401905582","1401905576","1401905575","1401905584","1401905578"],"photo_ids_order":["1401905575","1401905576","1401905578","1401905580","1401905582","1401905584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff4cc6276b83a1c894fb72c6b57c4f4f.jpg","text":"TemporaryFile(/tmp/multipartBody8604810981359539708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195483664,"filename":"image_31122025_14_27_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2679d671b7546306ff6c2597629a4248.jpg","text":"TemporaryFile(/tmp/multipartBody2498678478790964806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195483664,"filename":"image_31122025_14_27_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4928b36dab1bc87a502619caa7604c28.jpg","text":"TemporaryFile(/tmp/multipartBody1687333346101054113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195483664,"filename":"image_31122025_14_27_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9d7c31fcf9553659d1ee9ce601ebf53.jpg","text":"TemporaryFile(/tmp/multipartBody2757947864250062879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195483664,"filename":"image_31122025_14_27_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea26b81aa7f009940a57a0e4d3a46331.jpg","text":"TemporaryFile(/tmp/multipartBody2140951104233480319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195483664,"filename":"image_31122025_14_27_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb59cc39b270755936a44054140ec574.jpg","text":"TemporaryFile(/tmp/multipartBody682141584314347203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195483664,"filename":"image_31122025_14_27_25_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905578","file1":"1401905576","file0":"1401905575","file4":"1401905582","file5":"1401905584","file3":"1401905580"},"map_files_photo_id_array":[{"photo_id":"1401905584","filename":"file5"},{"photo_id":"1401905578","filename":"file2"},{"photo_id":"1401905582","filename":"file4"},{"photo_id":"1401905576","filename":"file1"},{"photo_id":"1401905575","filename":"file0"},{"photo_id":"1401905580","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905580":["hashtag1","hashtag2"]},{"1401905582":["hashtag1","hashtag2"]},{"1401905576":["hashtag1","hashtag2"]},{"1401905575":["hashtag1","hashtag2"]},{"1401905584":["hashtag1","hashtag2"]},{"1401905578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905580, 1401905582, 1401905576, 1401905575, 1401905584, 1401905578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0743944644928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:37:42.339639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_56_2548.jpg', '/home/pi/Desktop/images/03112025/19/12/image_03112025_19_13_00_3775.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_03_2588.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_09_3651.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_16_6724.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_17_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_12_56_2548.jpg
/home/pi/Desktop/images/03112025/19/12/image_03112025_19_13_00_3775.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_03_2588.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_09_3651.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_16_6724.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_17_1657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905592","1401905598","1401905597","1401905600","1401905599","1401905590"],"photo_ids_order":["1401905590","1401905592","1401905597","1401905598","1401905599","1401905600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/501256b4e545bfb512c1c0b263608aca.jpg","text":"TemporaryFile(/tmp/multipartBody8216555699850621186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195524143,"filename":"image_03112025_19_13_00_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4957cf5bcc4c5a730e320edc09189e87.jpg","text":"TemporaryFile(/tmp/multipartBody8022839452703279670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195524143,"filename":"image_03112025_19_13_09_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2539e5380d7b4e7e389ee217f1f6ae00.jpg","text":"TemporaryFile(/tmp/multipartBody6674735339336344758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195524143,"filename":"image_03112025_19_13_03_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8fa329e3e47c8e78ae692f4aa972eac.jpg","text":"TemporaryFile(/tmp/multipartBody575435063517582733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195524143,"filename":"image_03112025_19_13_17_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ab1680060e220523a09bcca5914692a.jpg","text":"TemporaryFile(/tmp/multipartBody5940443022081642870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195524143,"filename":"image_03112025_19_13_16_6724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32450f3ac934f1028a1f9ff2f0631c31.jpg","text":"TemporaryFile(/tmp/multipartBody7026436167295360002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195524143,"filename":"image_03112025_19_12_56_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905597","file1":"1401905592","file0":"1401905590","file4":"1401905599","file5":"1401905600","file3":"1401905598"},"map_files_photo_id_array":[{"photo_id":"1401905600","filename":"file5"},{"photo_id":"1401905597","filename":"file2"},{"photo_id":"1401905599","filename":"file4"},{"photo_id":"1401905592","filename":"file1"},{"photo_id":"1401905590","filename":"file0"},{"photo_id":"1401905598","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905592":["hashtag1","hashtag2"]},{"1401905598":["hashtag1","hashtag2"]},{"1401905597":["hashtag1","hashtag2"]},{"1401905600":["hashtag1","hashtag2"]},{"1401905599":["hashtag1","hashtag2"]},{"1401905590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905592, 1401905598, 1401905597, 1401905600, 1401905599, 1401905590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.102604389190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:38:22.529903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/28/image_31122025_14_28_15_9697.jpg', '/home/pi/Desktop/images/31122025/14/28/image_31122025_14_28_25_9839.jpg', '/home/pi/Desktop/images/31122025/14/29/image_31122025_14_29_26_10615.jpg', '/home/pi/Desktop/images/31122025/14/30/image_31122025_14_30_14_10054.jpg', '/home/pi/Desktop/images/31122025/14/30/image_31122025_14_30_44_9673.jpg', '/home/pi/Desktop/images/31122025/14/30/image_31122025_14_30_55_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/28/image_31122025_14_28_15_9697.jpg
/home/pi/Desktop/images/31122025/14/28/image_31122025_14_28_25_9839.jpg
/home/pi/Desktop/images/31122025/14/29/image_31122025_14_29_26_10615.jpg
/home/pi/Desktop/images/31122025/14/30/image_31122025_14_30_14_10054.jpg
/home/pi/Desktop/images/31122025/14/30/image_31122025_14_30_44_9673.jpg
/home/pi/Desktop/images/31122025/14/30/image_31122025_14_30_55_10726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905629","1401905667","1401905693","1401905687","1401905672","1401905633"],"photo_ids_order":["1401905629","1401905633","1401905667","1401905672","1401905687","1401905693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87fa563cbef8407a778182dd169ec3da.jpg","text":"TemporaryFile(/tmp/multipartBody5267823074464035467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195563135,"filename":"image_31122025_14_28_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc19ceccb5d731a4e6d855bfd350a83d.jpg","text":"TemporaryFile(/tmp/multipartBody8538453225412175120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195563135,"filename":"image_31122025_14_29_26_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab2a85e58649d79ba96523d5f1cba667.jpg","text":"TemporaryFile(/tmp/multipartBody1282132027976430826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195563135,"filename":"image_31122025_14_30_55_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8455c03fa6d5ff57e006e72db7fd7897.jpg","text":"TemporaryFile(/tmp/multipartBody4450481960491826667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195563135,"filename":"image_31122025_14_30_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d319971f9877d51b55053a1e9385b992.jpg","text":"TemporaryFile(/tmp/multipartBody3764404326650829136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195563135,"filename":"image_31122025_14_30_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eaef3462229f8b14ce4014ba81cd2927.jpg","text":"TemporaryFile(/tmp/multipartBody7992397243031014839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195563135,"filename":"image_31122025_14_28_25_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905667","file1":"1401905633","file0":"1401905629","file4":"1401905687","file5":"1401905693","file3":"1401905672"},"map_files_photo_id_array":[{"photo_id":"1401905693","filename":"file5"},{"photo_id":"1401905667","filename":"file2"},{"photo_id":"1401905687","filename":"file4"},{"photo_id":"1401905633","filename":"file1"},{"photo_id":"1401905629","filename":"file0"},{"photo_id":"1401905672","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905629":["hashtag1","hashtag2"]},{"1401905667":["hashtag1","hashtag2"]},{"1401905693":["hashtag1","hashtag2"]},{"1401905687":["hashtag1","hashtag2"]},{"1401905672":["hashtag1","hashtag2"]},{"1401905633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905629, 1401905667, 1401905693, 1401905687, 1401905672, 1401905633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45759463310242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:39:03.589934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/31/image_31122025_14_31_25_10740.jpg', '/home/pi/Desktop/images/31122025/14/31/image_31122025_14_31_55_10633.jpg', '/home/pi/Desktop/images/31122025/14/33/image_31122025_14_33_14_9629.jpg', '/home/pi/Desktop/images/31122025/14/33/image_31122025_14_33_25_10651.jpg', '/home/pi/Desktop/images/31122025/14/33/image_31122025_14_33_34_9724.jpg', '/home/pi/Desktop/images/31122025/14/33/image_31122025_14_34_05_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/31/image_31122025_14_31_25_10740.jpg
/home/pi/Desktop/images/31122025/14/31/image_31122025_14_31_55_10633.jpg
/home/pi/Desktop/images/31122025/14/33/image_31122025_14_33_14_9629.jpg
/home/pi/Desktop/images/31122025/14/33/image_31122025_14_33_25_10651.jpg
/home/pi/Desktop/images/31122025/14/33/image_31122025_14_33_34_9724.jpg
/home/pi/Desktop/images/31122025/14/33/image_31122025_14_34_05_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905743","1401905746","1401905740","1401905742","1401905741","1401905744"],"photo_ids_order":["1401905740","1401905741","1401905742","1401905743","1401905744","1401905746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bd58d1629408c37b77ea3f15b335677.jpg","text":"TemporaryFile(/tmp/multipartBody5246322257765193103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195604322,"filename":"image_31122025_14_33_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d454da972c348d4e2d85807e88447bb.jpg","text":"TemporaryFile(/tmp/multipartBody1113059604557949783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195604322,"filename":"image_31122025_14_34_05_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f72315fc2d9e34d9eb760ca9f007a74.jpg","text":"TemporaryFile(/tmp/multipartBody1906966165166237650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195604322,"filename":"image_31122025_14_31_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08a254026a0d9777a977d7b87c5a8291.jpg","text":"TemporaryFile(/tmp/multipartBody1730656286292246160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195604322,"filename":"image_31122025_14_33_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4306ea697ed8bed4984be0f27e6da20e.jpg","text":"TemporaryFile(/tmp/multipartBody8837712509121187454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195604322,"filename":"image_31122025_14_31_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3709fa012dd1a9dd7e6bad18010f7cb.jpg","text":"TemporaryFile(/tmp/multipartBody9158874107172985029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195604322,"filename":"image_31122025_14_33_34_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905742","file1":"1401905741","file0":"1401905740","file4":"1401905744","file5":"1401905746","file3":"1401905743"},"map_files_photo_id_array":[{"photo_id":"1401905746","filename":"file5"},{"photo_id":"1401905742","filename":"file2"},{"photo_id":"1401905744","filename":"file4"},{"photo_id":"1401905741","filename":"file1"},{"photo_id":"1401905740","filename":"file0"},{"photo_id":"1401905743","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905743":["hashtag1","hashtag2"]},{"1401905746":["hashtag1","hashtag2"]},{"1401905740":["hashtag1","hashtag2"]},{"1401905742":["hashtag1","hashtag2"]},{"1401905741":["hashtag1","hashtag2"]},{"1401905744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905743, 1401905746, 1401905740, 1401905742, 1401905741, 1401905744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51602864265442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:39:42.663080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_19_1563.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_21_1640.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_39_2498.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_41_2848.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_48_3755.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_51_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_19_1563.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_21_1640.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_39_2498.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_41_2848.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_48_3755.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_51_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905764","1401905754","1401905763","1401905757","1401905759","1401905761"],"photo_ids_order":["1401905754","1401905757","1401905759","1401905761","1401905763","1401905764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e248a51aceb14692710a0d4d2b8d3318.jpg","text":"TemporaryFile(/tmp/multipartBody1164407604902385983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195644481,"filename":"image_03112025_19_13_51_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/468d05a43e80eb517c335e3a985a5acf.jpg","text":"TemporaryFile(/tmp/multipartBody3620870886072135412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195644481,"filename":"image_03112025_19_13_19_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b130f920bd69b2812e36d7ea37d1edd.jpg","text":"TemporaryFile(/tmp/multipartBody6225403641784091641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195644481,"filename":"image_03112025_19_13_48_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/187bcc809df1e1e1d89dde1e93a9a6b8.jpg","text":"TemporaryFile(/tmp/multipartBody5509135891812872691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195644481,"filename":"image_03112025_19_13_21_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e979a54f1402e5fd0af098aa6b5dfa08.jpg","text":"TemporaryFile(/tmp/multipartBody8738524753087507467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195644481,"filename":"image_03112025_19_13_39_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed940c4a1027ba9a0899f7eb1fe8cac1.jpg","text":"TemporaryFile(/tmp/multipartBody2896169121439834796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195644481,"filename":"image_03112025_19_13_41_2848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905759","file1":"1401905757","file0":"1401905754","file4":"1401905763","file5":"1401905764","file3":"1401905761"},"map_files_photo_id_array":[{"photo_id":"1401905764","filename":"file5"},{"photo_id":"1401905759","filename":"file2"},{"photo_id":"1401905763","filename":"file4"},{"photo_id":"1401905757","filename":"file1"},{"photo_id":"1401905754","filename":"file0"},{"photo_id":"1401905761","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905764":["hashtag1","hashtag2"]},{"1401905754":["hashtag1","hashtag2"]},{"1401905763":["hashtag1","hashtag2"]},{"1401905757":["hashtag1","hashtag2"]},{"1401905759":["hashtag1","hashtag2"]},{"1401905761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905764, 1401905754, 1401905763, 1401905757, 1401905759, 1401905761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.140559911727905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:40:22.804249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/34/image_31122025_14_34_14_9653.jpg', '/home/pi/Desktop/images/31122025/14/34/image_31122025_14_34_24_9792.jpg', '/home/pi/Desktop/images/31122025/14/34/image_31122025_14_34_44_9635.jpg', '/home/pi/Desktop/images/31122025/14/34/image_31122025_14_34_54_9683.jpg', '/home/pi/Desktop/images/31122025/14/35/image_31122025_14_35_14_9660.jpg', '/home/pi/Desktop/images/31122025/14/35/image_31122025_14_35_35_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/34/image_31122025_14_34_14_9653.jpg
/home/pi/Desktop/images/31122025/14/34/image_31122025_14_34_24_9792.jpg
/home/pi/Desktop/images/31122025/14/34/image_31122025_14_34_44_9635.jpg
/home/pi/Desktop/images/31122025/14/34/image_31122025_14_34_54_9683.jpg
/home/pi/Desktop/images/31122025/14/35/image_31122025_14_35_14_9660.jpg
/home/pi/Desktop/images/31122025/14/35/image_31122025_14_35_35_10750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905770","1401905767","1401905784","1401905781","1401905771","1401905773"],"photo_ids_order":["1401905767","1401905770","1401905771","1401905773","1401905781","1401905784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09ad9e2d8da1f4ac5d707ab6ba60042b.jpg","text":"TemporaryFile(/tmp/multipartBody3163925085400735644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195683437,"filename":"image_31122025_14_34_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91122c45a462e7f0ca550dec01046e1a.jpg","text":"TemporaryFile(/tmp/multipartBody7954313039996554647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195683437,"filename":"image_31122025_14_34_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d5d95e674aa741fff1fda572ff68383.jpg","text":"TemporaryFile(/tmp/multipartBody3689527300756382361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195683437,"filename":"image_31122025_14_35_35_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49a48c8393073f02e6f4508308ae7086.jpg","text":"TemporaryFile(/tmp/multipartBody6898706681835012888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195683437,"filename":"image_31122025_14_35_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a0781c8f70983516f72b6b0686df40a.jpg","text":"TemporaryFile(/tmp/multipartBody1789204695994737701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195683437,"filename":"image_31122025_14_34_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/944b72e4f0cc0128222593630e72655f.jpg","text":"TemporaryFile(/tmp/multipartBody3797646241266883248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195683437,"filename":"image_31122025_14_34_54_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905771","file1":"1401905770","file0":"1401905767","file4":"1401905781","file5":"1401905784","file3":"1401905773"},"map_files_photo_id_array":[{"photo_id":"1401905784","filename":"file5"},{"photo_id":"1401905771","filename":"file2"},{"photo_id":"1401905781","filename":"file4"},{"photo_id":"1401905770","filename":"file1"},{"photo_id":"1401905767","filename":"file0"},{"photo_id":"1401905773","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905770":["hashtag1","hashtag2"]},{"1401905767":["hashtag1","hashtag2"]},{"1401905784":["hashtag1","hashtag2"]},{"1401905781":["hashtag1","hashtag2"]},{"1401905771":["hashtag1","hashtag2"]},{"1401905773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905770, 1401905767, 1401905784, 1401905781, 1401905771, 1401905773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8164598941803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:41:02.626772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/35/image_31122025_14_35_45_9736.jpg', '/home/pi/Desktop/images/31122025/14/36/image_31122025_14_36_24_9853.jpg', '/home/pi/Desktop/images/31122025/14/36/image_31122025_14_36_34_9511.jpg', '/home/pi/Desktop/images/31122025/14/36/image_31122025_14_36_45_10769.jpg', '/home/pi/Desktop/images/31122025/14/37/image_31122025_14_37_15_10661.jpg', '/home/pi/Desktop/images/31122025/14/37/image_31122025_14_38_04_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/35/image_31122025_14_35_45_9736.jpg
/home/pi/Desktop/images/31122025/14/36/image_31122025_14_36_24_9853.jpg
/home/pi/Desktop/images/31122025/14/36/image_31122025_14_36_34_9511.jpg
/home/pi/Desktop/images/31122025/14/36/image_31122025_14_36_45_10769.jpg
/home/pi/Desktop/images/31122025/14/37/image_31122025_14_37_15_10661.jpg
/home/pi/Desktop/images/31122025/14/37/image_31122025_14_38_04_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905878","1401905886","1401905889","1401905847","1401905843","1401905831"],"photo_ids_order":["1401905831","1401905843","1401905847","1401905878","1401905886","1401905889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/976f93d7b5a8b177e1446bc9c4f0016a.jpg","text":"TemporaryFile(/tmp/multipartBody4280969969189466025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195723288,"filename":"image_31122025_14_36_45_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fe44195b7f911a968728b2357e6fab1.jpg","text":"TemporaryFile(/tmp/multipartBody1359146050276675782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195723288,"filename":"image_31122025_14_37_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/072f498132b43708f4f7bd1a85709b11.jpg","text":"TemporaryFile(/tmp/multipartBody5708879165044336826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195723288,"filename":"image_31122025_14_38_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/690a1b537943b7e82f92b2c8351533e5.jpg","text":"TemporaryFile(/tmp/multipartBody2951065336436617966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195723288,"filename":"image_31122025_14_36_34_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a546068709afc3e1d45448be392bdd3f.jpg","text":"TemporaryFile(/tmp/multipartBody4049255061728397422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195723288,"filename":"image_31122025_14_36_24_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b00bde94c0944a454856057c79189932.jpg","text":"TemporaryFile(/tmp/multipartBody7528602730833775341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195723288,"filename":"image_31122025_14_35_45_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905847","file1":"1401905843","file0":"1401905831","file4":"1401905886","file5":"1401905889","file3":"1401905878"},"map_files_photo_id_array":[{"photo_id":"1401905889","filename":"file5"},{"photo_id":"1401905847","filename":"file2"},{"photo_id":"1401905886","filename":"file4"},{"photo_id":"1401905843","filename":"file1"},{"photo_id":"1401905831","filename":"file0"},{"photo_id":"1401905878","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905878":["hashtag1","hashtag2"]},{"1401905886":["hashtag1","hashtag2"]},{"1401905889":["hashtag1","hashtag2"]},{"1401905847":["hashtag1","hashtag2"]},{"1401905843":["hashtag1","hashtag2"]},{"1401905831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905878, 1401905886, 1401905889, 1401905847, 1401905843, 1401905831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65357971191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:41:42.090544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_53_2712.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_57_3650.jpg', '/home/pi/Desktop/images/03112025/19/13/image_03112025_19_14_00_2599.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_09_2702.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_11_2582.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_15_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_53_2712.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_13_57_3650.jpg
/home/pi/Desktop/images/03112025/19/13/image_03112025_19_14_00_2599.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_09_2702.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_11_2582.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_15_3526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905911","1401905895","1401905908","1401905910","1401905912","1401905909"],"photo_ids_order":["1401905895","1401905908","1401905909","1401905910","1401905911","1401905912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/407c5744885265eac8f56050cf917126.jpg","text":"TemporaryFile(/tmp/multipartBody2652504159780145332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195763907,"filename":"image_03112025_19_14_11_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dea1c5fa4b43601e492313313f2da4a6.jpg","text":"TemporaryFile(/tmp/multipartBody4755072582392065558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195763907,"filename":"image_03112025_19_13_53_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66abd399d82deccdc62f960f83e82cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4796274355732205055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195763907,"filename":"image_03112025_19_13_57_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ba6a33db913ec7316a3f9a897d3aafa.jpg","text":"TemporaryFile(/tmp/multipartBody4540149225604782851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195763907,"filename":"image_03112025_19_14_09_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/951314aa019f407c3f1fc53b3979391f.jpg","text":"TemporaryFile(/tmp/multipartBody4920497599624335058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195763907,"filename":"image_03112025_19_14_15_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d29970bfbdb36a57b4a7ea6293ef440.jpg","text":"TemporaryFile(/tmp/multipartBody7397297906122949137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195763907,"filename":"image_03112025_19_14_00_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905909","file1":"1401905908","file0":"1401905895","file4":"1401905911","file5":"1401905912","file3":"1401905910"},"map_files_photo_id_array":[{"photo_id":"1401905912","filename":"file5"},{"photo_id":"1401905909","filename":"file2"},{"photo_id":"1401905911","filename":"file4"},{"photo_id":"1401905908","filename":"file1"},{"photo_id":"1401905895","filename":"file0"},{"photo_id":"1401905910","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401905911":["hashtag1","hashtag2"]},{"1401905895":["hashtag1","hashtag2"]},{"1401905908":["hashtag1","hashtag2"]},{"1401905910":["hashtag1","hashtag2"]},{"1401905912":["hashtag1","hashtag2"]},{"1401905909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401905911, 1401905895, 1401905908, 1401905910, 1401905912, 1401905909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.392672538757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:42:22.276138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/38/image_31122025_14_38_34_9663.jpg', '/home/pi/Desktop/images/31122025/14/39/image_31122025_14_39_14_9852.jpg', '/home/pi/Desktop/images/31122025/14/40/image_31122025_14_40_45_10668.jpg', '/home/pi/Desktop/images/31122025/14/41/image_31122025_14_41_14_9670.jpg', '/home/pi/Desktop/images/31122025/14/41/image_31122025_14_41_35_10576.jpg', '/home/pi/Desktop/images/31122025/14/42/image_31122025_14_42_14_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/38/image_31122025_14_38_34_9663.jpg
/home/pi/Desktop/images/31122025/14/39/image_31122025_14_39_14_9852.jpg
/home/pi/Desktop/images/31122025/14/40/image_31122025_14_40_45_10668.jpg
/home/pi/Desktop/images/31122025/14/41/image_31122025_14_41_14_9670.jpg
/home/pi/Desktop/images/31122025/14/41/image_31122025_14_41_35_10576.jpg
/home/pi/Desktop/images/31122025/14/42/image_31122025_14_42_14_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905935","1401905944","1401905938","1401905932","1401905940","1401905933"],"photo_ids_order":["1401905932","1401905933","1401905935","1401905938","1401905940","1401905944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50f7060a30cb266c6394902e305c97f6.jpg","text":"TemporaryFile(/tmp/multipartBody8663062564585578732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195802897,"filename":"image_31122025_14_40_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffaafac48792f7ab97081398b9884f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4324068625402567686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195802897,"filename":"image_31122025_14_42_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1ada1c7f3b8fc82d0c850f417eb2b32.jpg","text":"TemporaryFile(/tmp/multipartBody2163784160509074492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195802897,"filename":"image_31122025_14_41_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d433c8e8cec6f2d7f7076ba5536a532.jpg","text":"TemporaryFile(/tmp/multipartBody2759503683344549979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195802897,"filename":"image_31122025_14_38_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/746b76374f554a8de96374b75924a5d9.jpg","text":"TemporaryFile(/tmp/multipartBody5803332532459579467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195802897,"filename":"image_31122025_14_41_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f4a2ecf978137fab8171502b0f0530d.jpg","text":"TemporaryFile(/tmp/multipartBody5122591502416967663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195802897,"filename":"image_31122025_14_39_14_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905935","file1":"1401905933","file0":"1401905932","file4":"1401905940","file5":"1401905944","file3":"1401905938"},"map_files_photo_id_array":[{"photo_id":"1401905944","filename":"file5"},{"photo_id":"1401905935","filename":"file2"},{"photo_id":"1401905940","filename":"file4"},{"photo_id":"1401905933","filename":"file1"},{"photo_id":"1401905932","filename":"file0"},{"photo_id":"1401905938","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905935":["hashtag1","hashtag2"]},{"1401905944":["hashtag1","hashtag2"]},{"1401905938":["hashtag1","hashtag2"]},{"1401905932":["hashtag1","hashtag2"]},{"1401905940":["hashtag1","hashtag2"]},{"1401905933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905935, 1401905944, 1401905938, 1401905932, 1401905940, 1401905933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16091227531433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:43:03.139532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/42/image_31122025_14_42_44_10533.jpg', '/home/pi/Desktop/images/31122025/14/43/image_31122025_14_43_55_10777.jpg', '/home/pi/Desktop/images/31122025/14/44/image_31122025_14_44_14_9780.jpg', '/home/pi/Desktop/images/31122025/14/44/image_31122025_14_44_44_9662.jpg', '/home/pi/Desktop/images/31122025/14/45/image_31122025_14_45_14_9739.jpg', '/home/pi/Desktop/images/31122025/14/45/image_31122025_14_45_24_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/42/image_31122025_14_42_44_10533.jpg
/home/pi/Desktop/images/31122025/14/43/image_31122025_14_43_55_10777.jpg
/home/pi/Desktop/images/31122025/14/44/image_31122025_14_44_14_9780.jpg
/home/pi/Desktop/images/31122025/14/44/image_31122025_14_44_44_9662.jpg
/home/pi/Desktop/images/31122025/14/45/image_31122025_14_45_14_9739.jpg
/home/pi/Desktop/images/31122025/14/45/image_31122025_14_45_24_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401905967","1401905949","1401905978","1401905957","1401905980","1401905968"],"photo_ids_order":["1401905949","1401905957","1401905967","1401905968","1401905978","1401905980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/617775fb8549ce944ac47f1398194a86.jpg","text":"TemporaryFile(/tmp/multipartBody5007608704067570470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195843824,"filename":"image_31122025_14_44_14_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b9935f1c7c272ea4e2d66d80e39707f.jpg","text":"TemporaryFile(/tmp/multipartBody927319497848121933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195843824,"filename":"image_31122025_14_42_44_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25091d1e0f27a2a242a97dfd12406239.jpg","text":"TemporaryFile(/tmp/multipartBody3797253512000724612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195843824,"filename":"image_31122025_14_45_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/742c35b9d67e1ca1cdc90d8a2250a10a.jpg","text":"TemporaryFile(/tmp/multipartBody3840519054562158786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195843824,"filename":"image_31122025_14_43_55_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3129c19085ff51189c6e23c3e605d82d.jpg","text":"TemporaryFile(/tmp/multipartBody5180599812650255090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195843824,"filename":"image_31122025_14_45_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc7e2b6550e17a7c1df1b2d86bd28636.jpg","text":"TemporaryFile(/tmp/multipartBody5471683476150112360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195843824,"filename":"image_31122025_14_44_44_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401905967","file1":"1401905957","file0":"1401905949","file4":"1401905978","file5":"1401905980","file3":"1401905968"},"map_files_photo_id_array":[{"photo_id":"1401905980","filename":"file5"},{"photo_id":"1401905967","filename":"file2"},{"photo_id":"1401905978","filename":"file4"},{"photo_id":"1401905957","filename":"file1"},{"photo_id":"1401905949","filename":"file0"},{"photo_id":"1401905968","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401905967":["hashtag1","hashtag2"]},{"1401905949":["hashtag1","hashtag2"]},{"1401905978":["hashtag1","hashtag2"]},{"1401905957":["hashtag1","hashtag2"]},{"1401905980":["hashtag1","hashtag2"]},{"1401905968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401905967, 1401905949, 1401905978, 1401905957, 1401905980, 1401905968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81391143798828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:43:42.413556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_18_2718.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_20_2658.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_24_3696.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_35_2654.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_39_3781.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_44_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_18_2718.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_20_2658.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_24_3696.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_35_2654.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_39_3781.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_44_2557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906013","1401906015","1401906012","1401906011","1401906014","1401906008"],"photo_ids_order":["1401906008","1401906011","1401906012","1401906013","1401906014","1401906015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5591feddbfc393b0beaa9dd2078fd769.jpg","text":"TemporaryFile(/tmp/multipartBody2020437155992898256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195884232,"filename":"image_03112025_19_14_35_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdb487c2c4c5cc7610710093ecce6791.jpg","text":"TemporaryFile(/tmp/multipartBody310300851464903775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195884232,"filename":"image_03112025_19_14_44_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c47ca930cab94496194c10d2f065df0.jpg","text":"TemporaryFile(/tmp/multipartBody1462939365647861148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195884232,"filename":"image_03112025_19_14_24_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8da39e8614c81fb8bca3a27049ef82f.jpg","text":"TemporaryFile(/tmp/multipartBody204556900302783629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195884232,"filename":"image_03112025_19_14_20_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/725189ca4106ebc84621511761f01692.jpg","text":"TemporaryFile(/tmp/multipartBody2629553485014649448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195884232,"filename":"image_03112025_19_14_39_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ddfdd6ee9b00b9cad4f420470398e29.jpg","text":"TemporaryFile(/tmp/multipartBody2106887924190286209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195884232,"filename":"image_03112025_19_14_18_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906012","file1":"1401906011","file0":"1401906008","file4":"1401906014","file5":"1401906015","file3":"1401906013"},"map_files_photo_id_array":[{"photo_id":"1401906015","filename":"file5"},{"photo_id":"1401906012","filename":"file2"},{"photo_id":"1401906014","filename":"file4"},{"photo_id":"1401906011","filename":"file1"},{"photo_id":"1401906008","filename":"file0"},{"photo_id":"1401906013","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401906013":["hashtag1","hashtag2"]},{"1401906015":["hashtag1","hashtag2"]},{"1401906012":["hashtag1","hashtag2"]},{"1401906011":["hashtag1","hashtag2"]},{"1401906014":["hashtag1","hashtag2"]},{"1401906008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401906013, 1401906015, 1401906012, 1401906011, 1401906014, 1401906008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.297645807266235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:44:22.574198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/45/image_31122025_14_45_44_9673.jpg', '/home/pi/Desktop/images/31122025/14/46/image_31122025_14_46_24_9872.jpg', '/home/pi/Desktop/images/31122025/14/47/image_31122025_14_47_24_9372.jpg', '/home/pi/Desktop/images/31122025/14/47/image_31122025_14_48_04_10606.jpg', '/home/pi/Desktop/images/31122025/14/48/image_31122025_14_48_24_9759.jpg', '/home/pi/Desktop/images/31122025/14/48/image_31122025_14_48_45_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/45/image_31122025_14_45_44_9673.jpg
/home/pi/Desktop/images/31122025/14/46/image_31122025_14_46_24_9872.jpg
/home/pi/Desktop/images/31122025/14/47/image_31122025_14_47_24_9372.jpg
/home/pi/Desktop/images/31122025/14/47/image_31122025_14_48_04_10606.jpg
/home/pi/Desktop/images/31122025/14/48/image_31122025_14_48_24_9759.jpg
/home/pi/Desktop/images/31122025/14/48/image_31122025_14_48_45_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906202","1401906141","1401906102","1401906179","1401906059","1401906196"],"photo_ids_order":["1401906059","1401906102","1401906141","1401906179","1401906196","1401906202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23313601593433a73c57a035c7114f62.jpg","text":"TemporaryFile(/tmp/multipartBody555721675886886864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195923155,"filename":"image_31122025_14_48_45_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/661e8fdd0a00d8390b42179fffef9f87.jpg","text":"TemporaryFile(/tmp/multipartBody7751051259729765838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195923155,"filename":"image_31122025_14_47_24_9372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/104ec607c7f017bf3ea032b27782117a.jpg","text":"TemporaryFile(/tmp/multipartBody5191816732636017967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195923155,"filename":"image_31122025_14_46_24_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f5bd563cba24d5b07bf31ac0f49765c.jpg","text":"TemporaryFile(/tmp/multipartBody6217634358636060910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195923155,"filename":"image_31122025_14_48_04_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e2447c540c27956658be2403b5285b9.jpg","text":"TemporaryFile(/tmp/multipartBody4906030973372683767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195923155,"filename":"image_31122025_14_45_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b779840a5be67401c2cd901931c5739.jpg","text":"TemporaryFile(/tmp/multipartBody2501625145553985628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195923155,"filename":"image_31122025_14_48_24_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906141","file1":"1401906102","file0":"1401906059","file4":"1401906196","file5":"1401906202","file3":"1401906179"},"map_files_photo_id_array":[{"photo_id":"1401906202","filename":"file5"},{"photo_id":"1401906141","filename":"file2"},{"photo_id":"1401906196","filename":"file4"},{"photo_id":"1401906102","filename":"file1"},{"photo_id":"1401906059","filename":"file0"},{"photo_id":"1401906179","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401906202":["hashtag1","hashtag2"]},{"1401906141":["hashtag1","hashtag2"]},{"1401906102":["hashtag1","hashtag2"]},{"1401906179":["hashtag1","hashtag2"]},{"1401906059":["hashtag1","hashtag2"]},{"1401906196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401906202, 1401906141, 1401906102, 1401906179, 1401906059, 1401906196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25931167602539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:45:03.475360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/48/image_31122025_14_48_54_9684.jpg', '/home/pi/Desktop/images/31122025/14/48/image_31122025_14_49_04_9620.jpg', '/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_14_10570.jpg', '/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_24_9925.jpg', '/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_34_9541.jpg', '/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_45_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/48/image_31122025_14_48_54_9684.jpg
/home/pi/Desktop/images/31122025/14/48/image_31122025_14_49_04_9620.jpg
/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_14_10570.jpg
/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_24_9925.jpg
/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_34_9541.jpg
/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_45_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906294","1401906297","1401906270","1401906257","1401906295","1401906259"],"photo_ids_order":["1401906257","1401906259","1401906270","1401906294","1401906295","1401906297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8e17b81a33fc5462fe081a9052092b7.jpg","text":"TemporaryFile(/tmp/multipartBody8523450818502305299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195964124,"filename":"image_31122025_14_49_24_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5f16bdbdc4d28ddaabc3e2bbcf475dd.jpg","text":"TemporaryFile(/tmp/multipartBody4657235341038403373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195964124,"filename":"image_31122025_14_49_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/041b3e9fd4299dc2048bdb348d257b9c.jpg","text":"TemporaryFile(/tmp/multipartBody756843292721350387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195964124,"filename":"image_31122025_14_49_14_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a77e7a27b944c160c5fdd826769818a.jpg","text":"TemporaryFile(/tmp/multipartBody4527219879571583553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195964124,"filename":"image_31122025_14_48_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1226734e48db4b83f3701bda2456fd4.jpg","text":"TemporaryFile(/tmp/multipartBody3410605408164858088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195964124,"filename":"image_31122025_14_49_34_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8bbe95e953569d5b9eef150dcc16c42.jpg","text":"TemporaryFile(/tmp/multipartBody4694914976066176086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767195964124,"filename":"image_31122025_14_49_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906270","file1":"1401906259","file0":"1401906257","file4":"1401906295","file5":"1401906297","file3":"1401906294"},"map_files_photo_id_array":[{"photo_id":"1401906297","filename":"file5"},{"photo_id":"1401906270","filename":"file2"},{"photo_id":"1401906295","filename":"file4"},{"photo_id":"1401906259","filename":"file1"},{"photo_id":"1401906257","filename":"file0"},{"photo_id":"1401906294","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401906294":["hashtag1","hashtag2"]},{"1401906297":["hashtag1","hashtag2"]},{"1401906270":["hashtag1","hashtag2"]},{"1401906257":["hashtag1","hashtag2"]},{"1401906295":["hashtag1","hashtag2"]},{"1401906259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401906294, 1401906297, 1401906270, 1401906257, 1401906295, 1401906259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79393815994263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:45:42.732666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_48_3647.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_50_2324.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_54_3663.jpg', '/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_56_2641.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_03_3253.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_06_2925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_48_3647.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_50_2324.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_54_3663.jpg
/home/pi/Desktop/images/03112025/19/14/image_03112025_19_14_56_2641.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_03_3253.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_06_2925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906409","1401906316","1401906354","1401906408","1401906407","1401906391"],"photo_ids_order":["1401906316","1401906354","1401906391","1401906407","1401906408","1401906409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e41cba34ef8ff9acf70ad196bef80d8.jpg","text":"TemporaryFile(/tmp/multipartBody1991303263942815024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196004588,"filename":"image_03112025_19_15_06_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da02164bd1497ff150c2e7cf61e57ef9.jpg","text":"TemporaryFile(/tmp/multipartBody4496828903676941320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196004588,"filename":"image_03112025_19_14_48_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90a40f69ad28670bfb061db9c847c34f.jpg","text":"TemporaryFile(/tmp/multipartBody6064147470507750613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196004588,"filename":"image_03112025_19_14_50_2324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b9e8e43a814e5185ac88eae5a932ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4830603716835634209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196004588,"filename":"image_03112025_19_15_03_3253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25c1181df937ac4aadf2545951ddc305.jpg","text":"TemporaryFile(/tmp/multipartBody3775136583214758020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196004588,"filename":"image_03112025_19_14_56_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0ec03daccea61e7f502373aa8aed701.jpg","text":"TemporaryFile(/tmp/multipartBody4039961443985662288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196004588,"filename":"image_03112025_19_14_54_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906391","file1":"1401906354","file0":"1401906316","file4":"1401906408","file5":"1401906409","file3":"1401906407"},"map_files_photo_id_array":[{"photo_id":"1401906409","filename":"file5"},{"photo_id":"1401906391","filename":"file2"},{"photo_id":"1401906408","filename":"file4"},{"photo_id":"1401906354","filename":"file1"},{"photo_id":"1401906316","filename":"file0"},{"photo_id":"1401906407","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401906409":["hashtag1","hashtag2"]},{"1401906316":["hashtag1","hashtag2"]},{"1401906354":["hashtag1","hashtag2"]},{"1401906408":["hashtag1","hashtag2"]},{"1401906407":["hashtag1","hashtag2"]},{"1401906391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401906409, 1401906316, 1401906354, 1401906408, 1401906407, 1401906391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7316677570343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:46:21.910265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_54_9696.jpg', '/home/pi/Desktop/images/31122025/14/49/image_31122025_14_50_04_9534.jpg', '/home/pi/Desktop/images/31122025/14/50/image_31122025_14_50_15_10695.jpg', '/home/pi/Desktop/images/31122025/14/50/image_31122025_14_50_24_9677.jpg', '/home/pi/Desktop/images/31122025/14/50/image_31122025_14_50_54_9593.jpg', '/home/pi/Desktop/images/31122025/14/50/image_31122025_14_51_04_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/49/image_31122025_14_49_54_9696.jpg
/home/pi/Desktop/images/31122025/14/49/image_31122025_14_50_04_9534.jpg
/home/pi/Desktop/images/31122025/14/50/image_31122025_14_50_15_10695.jpg
/home/pi/Desktop/images/31122025/14/50/image_31122025_14_50_24_9677.jpg
/home/pi/Desktop/images/31122025/14/50/image_31122025_14_50_54_9593.jpg
/home/pi/Desktop/images/31122025/14/50/image_31122025_14_51_04_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906418","1401906420","1401906414","1401906416","1401906424","1401906412"],"photo_ids_order":["1401906412","1401906414","1401906416","1401906418","1401906420","1401906424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b983bf04e11f3d1a8b3d0e8d2e8e38e.jpg","text":"TemporaryFile(/tmp/multipartBody6200896429262943974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196042489,"filename":"image_31122025_14_50_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c5c4d9ecf16ed06ca72ae1a0b2b5503.jpg","text":"TemporaryFile(/tmp/multipartBody630190248757961123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196042489,"filename":"image_31122025_14_50_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d61fac5aa6db2e9044dde53a34b9aaea.jpg","text":"TemporaryFile(/tmp/multipartBody4333177743725507052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196042489,"filename":"image_31122025_14_50_04_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10ef2cc849e829a4cf5b17f40d01496a.jpg","text":"TemporaryFile(/tmp/multipartBody6572519520225620264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196042489,"filename":"image_31122025_14_50_15_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c71285655891612b51fcd0f72a511ec.jpg","text":"TemporaryFile(/tmp/multipartBody2301935509950222852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196042489,"filename":"image_31122025_14_51_04_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f96913efbebd5717b63823922145c17.jpg","text":"TemporaryFile(/tmp/multipartBody7407762243920765720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196042489,"filename":"image_31122025_14_49_54_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906416","file1":"1401906414","file0":"1401906412","file4":"1401906420","file5":"1401906424","file3":"1401906418"},"map_files_photo_id_array":[{"photo_id":"1401906424","filename":"file5"},{"photo_id":"1401906416","filename":"file2"},{"photo_id":"1401906420","filename":"file4"},{"photo_id":"1401906414","filename":"file1"},{"photo_id":"1401906412","filename":"file0"},{"photo_id":"1401906418","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401906418":["hashtag1","hashtag2"]},{"1401906420":["hashtag1","hashtag2"]},{"1401906414":["hashtag1","hashtag2"]},{"1401906416":["hashtag1","hashtag2"]},{"1401906424":["hashtag1","hashtag2"]},{"1401906412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401906418, 1401906420, 1401906414, 1401906416, 1401906424, 1401906412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.880101680755615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:47:02.700509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/51/image_31122025_14_51_24_9719.jpg', '/home/pi/Desktop/images/31122025/14/51/image_31122025_14_51_35_10546.jpg', '/home/pi/Desktop/images/31122025/14/51/image_31122025_14_51_45_10022.jpg', '/home/pi/Desktop/images/31122025/14/51/image_31122025_14_51_55_9745.jpg', '/home/pi/Desktop/images/31122025/14/51/image_31122025_14_52_04_9704.jpg', '/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_14_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/51/image_31122025_14_51_24_9719.jpg
/home/pi/Desktop/images/31122025/14/51/image_31122025_14_51_35_10546.jpg
/home/pi/Desktop/images/31122025/14/51/image_31122025_14_51_45_10022.jpg
/home/pi/Desktop/images/31122025/14/51/image_31122025_14_51_55_9745.jpg
/home/pi/Desktop/images/31122025/14/51/image_31122025_14_52_04_9704.jpg
/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_14_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906453","1401906441","1401906458","1401906452","1401906455","1401906460"],"photo_ids_order":["1401906441","1401906452","1401906453","1401906455","1401906458","1401906460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa3e540af1c1dd392a86077a8df5c2fd.jpg","text":"TemporaryFile(/tmp/multipartBody1589343764859231228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196083357,"filename":"image_31122025_14_51_45_10022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e7364ef5935aa0c67cc78182ac196f0.jpg","text":"TemporaryFile(/tmp/multipartBody3013478665364873432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196083357,"filename":"image_31122025_14_51_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48843a623cf04443e07ca76c57b85bc7.jpg","text":"TemporaryFile(/tmp/multipartBody2875467499335497151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196083357,"filename":"image_31122025_14_52_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19762fd80045a6009f9d817714f6c7f2.jpg","text":"TemporaryFile(/tmp/multipartBody2819719729906584725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196083357,"filename":"image_31122025_14_51_35_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9edae39151d11036d848d9405bff4688.jpg","text":"TemporaryFile(/tmp/multipartBody4327973201038452053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196083357,"filename":"image_31122025_14_51_55_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39cd1172e96f46d53925ce6ff67e4633.jpg","text":"TemporaryFile(/tmp/multipartBody2271056152413485761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196083357,"filename":"image_31122025_14_52_14_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906453","file1":"1401906452","file0":"1401906441","file4":"1401906458","file5":"1401906460","file3":"1401906455"},"map_files_photo_id_array":[{"photo_id":"1401906460","filename":"file5"},{"photo_id":"1401906453","filename":"file2"},{"photo_id":"1401906458","filename":"file4"},{"photo_id":"1401906452","filename":"file1"},{"photo_id":"1401906441","filename":"file0"},{"photo_id":"1401906455","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401906453":["hashtag1","hashtag2"]},{"1401906441":["hashtag1","hashtag2"]},{"1401906458":["hashtag1","hashtag2"]},{"1401906452":["hashtag1","hashtag2"]},{"1401906455":["hashtag1","hashtag2"]},{"1401906460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401906453, 1401906441, 1401906458, 1401906452, 1401906455, 1401906460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11453700065613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:47:42.117825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_09_2503.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_11_2678.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_18_3823.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_20_2644.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_32_2680.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_35_3231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_09_2503.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_11_2678.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_18_3823.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_20_2644.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_32_2680.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_35_3231.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906502","1401906507","1401906501","1401906503","1401906481","1401906466"],"photo_ids_order":["1401906466","1401906481","1401906501","1401906502","1401906503","1401906507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c93861fd1be21aa581b17c50f245317e.jpg","text":"TemporaryFile(/tmp/multipartBody8595264885827681147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196123908,"filename":"image_03112025_19_15_20_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28dee7f5b108be1e73efb9a05b5b78c6.jpg","text":"TemporaryFile(/tmp/multipartBody5725341084222776216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196123908,"filename":"image_03112025_19_15_35_3231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55222d468f3684a46dfa83efede12084.jpg","text":"TemporaryFile(/tmp/multipartBody1079384619028546121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196123908,"filename":"image_03112025_19_15_18_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/540972bfac0f69ec9ca15c381fbc823e.jpg","text":"TemporaryFile(/tmp/multipartBody2890836421931154250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196123908,"filename":"image_03112025_19_15_32_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d4d86384326bdcf33fe41c6c159f226.jpg","text":"TemporaryFile(/tmp/multipartBody7734761367899540738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196123908,"filename":"image_03112025_19_15_11_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de5481cd768d1acad7e00f2e21925d31.jpg","text":"TemporaryFile(/tmp/multipartBody4851520823729856890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196123908,"filename":"image_03112025_19_15_09_2503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906501","file1":"1401906481","file0":"1401906466","file4":"1401906503","file5":"1401906507","file3":"1401906502"},"map_files_photo_id_array":[{"photo_id":"1401906507","filename":"file5"},{"photo_id":"1401906501","filename":"file2"},{"photo_id":"1401906503","filename":"file4"},{"photo_id":"1401906481","filename":"file1"},{"photo_id":"1401906466","filename":"file0"},{"photo_id":"1401906502","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401906502":["hashtag1","hashtag2"]},{"1401906507":["hashtag1","hashtag2"]},{"1401906501":["hashtag1","hashtag2"]},{"1401906503":["hashtag1","hashtag2"]},{"1401906481":["hashtag1","hashtag2"]},{"1401906466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401906502, 1401906507, 1401906501, 1401906503, 1401906481, 1401906466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72035360336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:48:22.287506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_25_10666.jpg', '/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_34_9675.jpg', '/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_44_9835.jpg', '/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_54_9714.jpg', '/home/pi/Desktop/images/31122025/14/52/image_31122025_14_53_04_10626.jpg', '/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_14_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_25_10666.jpg
/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_34_9675.jpg
/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_44_9835.jpg
/home/pi/Desktop/images/31122025/14/52/image_31122025_14_52_54_9714.jpg
/home/pi/Desktop/images/31122025/14/52/image_31122025_14_53_04_10626.jpg
/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_14_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906627","1401906600","1401906638","1401906572","1401906569","1401906574"],"photo_ids_order":["1401906569","1401906572","1401906574","1401906600","1401906627","1401906638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5b654956c0af614e21885139edbbf7e.jpg","text":"TemporaryFile(/tmp/multipartBody7255481595892602208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196162887,"filename":"image_31122025_14_53_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79874878a5c2644d57c225238adb4590.jpg","text":"TemporaryFile(/tmp/multipartBody2308170415193893134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196162887,"filename":"image_31122025_14_52_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fa2abeedb437f7645b575ba1df56bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6912722056220761562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196162887,"filename":"image_31122025_14_53_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/164594334e5446d94fd9abdb6c4c0965.jpg","text":"TemporaryFile(/tmp/multipartBody8055451360545045129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196162887,"filename":"image_31122025_14_52_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dffc9e5333763a64b9fd532abd469b81.jpg","text":"TemporaryFile(/tmp/multipartBody5631849312275573344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196162887,"filename":"image_31122025_14_52_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83160c0986f50f787fddf0b77c4ad07d.jpg","text":"TemporaryFile(/tmp/multipartBody6898102403533551440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196162887,"filename":"image_31122025_14_52_44_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906574","file1":"1401906572","file0":"1401906569","file4":"1401906627","file5":"1401906638","file3":"1401906600"},"map_files_photo_id_array":[{"photo_id":"1401906638","filename":"file5"},{"photo_id":"1401906574","filename":"file2"},{"photo_id":"1401906627","filename":"file4"},{"photo_id":"1401906572","filename":"file1"},{"photo_id":"1401906569","filename":"file0"},{"photo_id":"1401906600","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401906627":["hashtag1","hashtag2"]},{"1401906600":["hashtag1","hashtag2"]},{"1401906638":["hashtag1","hashtag2"]},{"1401906572":["hashtag1","hashtag2"]},{"1401906569":["hashtag1","hashtag2"]},{"1401906574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401906627, 1401906600, 1401906638, 1401906572, 1401906569, 1401906574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91833019256592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:49:03.450170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_25_10708.jpg', '/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_34_9644.jpg', '/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_44_9693.jpg', '/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_55_10636.jpg', '/home/pi/Desktop/images/31122025/14/53/image_31122025_14_54_04_9638.jpg', '/home/pi/Desktop/images/31122025/14/54/image_31122025_14_54_14_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_25_10708.jpg
/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_34_9644.jpg
/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_44_9693.jpg
/home/pi/Desktop/images/31122025/14/53/image_31122025_14_53_55_10636.jpg
/home/pi/Desktop/images/31122025/14/53/image_31122025_14_54_04_9638.jpg
/home/pi/Desktop/images/31122025/14/54/image_31122025_14_54_14_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906672","1401906669","1401906674","1401906671","1401906667","1401906670"],"photo_ids_order":["1401906667","1401906669","1401906670","1401906671","1401906672","1401906674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b57383ec7e900f45174eb396208af2c7.jpg","text":"TemporaryFile(/tmp/multipartBody8993484023124380576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196204264,"filename":"image_31122025_14_54_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9c06563d4021861f6c27638ffc88c02.jpg","text":"TemporaryFile(/tmp/multipartBody659462129772722286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196204264,"filename":"image_31122025_14_53_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b87de5069ed289164f31236ddc97a846.jpg","text":"TemporaryFile(/tmp/multipartBody5929712300935623328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196204264,"filename":"image_31122025_14_54_14_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e64968ca7bbaaf14c77ac27c6f48fe1.jpg","text":"TemporaryFile(/tmp/multipartBody1502933042267009083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196204264,"filename":"image_31122025_14_53_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2e916392c3ca08053eb326ac2e32259.jpg","text":"TemporaryFile(/tmp/multipartBody5887496374150966276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196204264,"filename":"image_31122025_14_53_25_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31fab08be6393e43077cffce19546539.jpg","text":"TemporaryFile(/tmp/multipartBody2050733296179306546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196204264,"filename":"image_31122025_14_53_44_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906670","file1":"1401906669","file0":"1401906667","file4":"1401906672","file5":"1401906674","file3":"1401906671"},"map_files_photo_id_array":[{"photo_id":"1401906674","filename":"file5"},{"photo_id":"1401906670","filename":"file2"},{"photo_id":"1401906672","filename":"file4"},{"photo_id":"1401906669","filename":"file1"},{"photo_id":"1401906667","filename":"file0"},{"photo_id":"1401906671","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401906672":["hashtag1","hashtag2"]},{"1401906669":["hashtag1","hashtag2"]},{"1401906674":["hashtag1","hashtag2"]},{"1401906671":["hashtag1","hashtag2"]},{"1401906667":["hashtag1","hashtag2"]},{"1401906670":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401906672, 1401906669, 1401906674, 1401906671, 1401906667, 1401906670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.549110651016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:49:42.540388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_45_3626.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_47_2596.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_50_2573.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_56_2593.jpg', '/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_59_2598.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_03_3825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_45_3626.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_47_2596.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_50_2573.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_56_2593.jpg
/home/pi/Desktop/images/03112025/19/15/image_03112025_19_15_59_2598.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_03_3825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906924","1401906971","1401906848","1401906806","1401906886","1401906961"],"photo_ids_order":["1401906806","1401906848","1401906886","1401906924","1401906961","1401906971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5139f5ea2d501c2e07264f530e6f6da.jpg","text":"TemporaryFile(/tmp/multipartBody3293944516774229790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196244341,"filename":"image_03112025_19_15_56_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f713e7e1d08152cfd8fbdf0d7c56b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody6268753834037743672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196244341,"filename":"image_03112025_19_16_03_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/757b509e7814463ab6f70a11c96b6181.jpg","text":"TemporaryFile(/tmp/multipartBody6496504082455622497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196244341,"filename":"image_03112025_19_15_47_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfe8d110e35ce371e5fb02082661df5c.jpg","text":"TemporaryFile(/tmp/multipartBody7122211930064949620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196244341,"filename":"image_03112025_19_15_45_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f5f2808f3a605260ecf3491d818a17f.jpg","text":"TemporaryFile(/tmp/multipartBody4304190980924603720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196244341,"filename":"image_03112025_19_15_50_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0cd3f0111b3638357f3a24245b96ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2002098874569149640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196244341,"filename":"image_03112025_19_15_59_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906886","file1":"1401906848","file0":"1401906806","file4":"1401906961","file5":"1401906971","file3":"1401906924"},"map_files_photo_id_array":[{"photo_id":"1401906971","filename":"file5"},{"photo_id":"1401906886","filename":"file2"},{"photo_id":"1401906961","filename":"file4"},{"photo_id":"1401906848","filename":"file1"},{"photo_id":"1401906806","filename":"file0"},{"photo_id":"1401906924","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401906924":["hashtag1","hashtag2"]},{"1401906971":["hashtag1","hashtag2"]},{"1401906848":["hashtag1","hashtag2"]},{"1401906806":["hashtag1","hashtag2"]},{"1401906886":["hashtag1","hashtag2"]},{"1401906961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401906924, 1401906971, 1401906848, 1401906806, 1401906886, 1401906961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36319613456726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:50:22.688210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/54/image_31122025_14_54_24_9888.jpg', '/home/pi/Desktop/images/31122025/14/54/image_31122025_14_54_34_9913.jpg', '/home/pi/Desktop/images/31122025/14/54/image_31122025_14_54_55_9909.jpg', '/home/pi/Desktop/images/31122025/14/54/image_31122025_14_55_04_9813.jpg', '/home/pi/Desktop/images/31122025/14/55/image_31122025_14_55_14_9643.jpg', '/home/pi/Desktop/images/31122025/14/55/image_31122025_14_55_25_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/54/image_31122025_14_54_24_9888.jpg
/home/pi/Desktop/images/31122025/14/54/image_31122025_14_54_34_9913.jpg
/home/pi/Desktop/images/31122025/14/54/image_31122025_14_54_55_9909.jpg
/home/pi/Desktop/images/31122025/14/54/image_31122025_14_55_04_9813.jpg
/home/pi/Desktop/images/31122025/14/55/image_31122025_14_55_14_9643.jpg
/home/pi/Desktop/images/31122025/14/55/image_31122025_14_55_25_10553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401906981","1401906983","1401906994","1401906991","1401906985","1401906979"],"photo_ids_order":["1401906979","1401906981","1401906983","1401906985","1401906991","1401906994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b4eb44de20e51d0468d1c3110fa669c.jpg","text":"TemporaryFile(/tmp/multipartBody7751176076322908276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196283361,"filename":"image_31122025_14_54_34_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d785ed327b2122c899c68f61e6e4974f.jpg","text":"TemporaryFile(/tmp/multipartBody4639360639595277430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196283361,"filename":"image_31122025_14_54_55_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2eada5342e3acc43abc7602c99feaf6.jpg","text":"TemporaryFile(/tmp/multipartBody5606839650910897837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196283361,"filename":"image_31122025_14_55_25_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7d58740cd135983b0593696b3cff331.jpg","text":"TemporaryFile(/tmp/multipartBody9127400433992038938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196283361,"filename":"image_31122025_14_55_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2d11df64a38e71003c741d8c2c8e16b.jpg","text":"TemporaryFile(/tmp/multipartBody6414236951712196409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196283361,"filename":"image_31122025_14_55_04_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/831a095515365bfc74243f3f08b46bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6720425657001171581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196283361,"filename":"image_31122025_14_54_24_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401906983","file1":"1401906981","file0":"1401906979","file4":"1401906991","file5":"1401906994","file3":"1401906985"},"map_files_photo_id_array":[{"photo_id":"1401906994","filename":"file5"},{"photo_id":"1401906983","filename":"file2"},{"photo_id":"1401906991","filename":"file4"},{"photo_id":"1401906981","filename":"file1"},{"photo_id":"1401906979","filename":"file0"},{"photo_id":"1401906985","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401906981":["hashtag1","hashtag2"]},{"1401906983":["hashtag1","hashtag2"]},{"1401906994":["hashtag1","hashtag2"]},{"1401906991":["hashtag1","hashtag2"]},{"1401906985":["hashtag1","hashtag2"]},{"1401906979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401906981, 1401906983, 1401906994, 1401906991, 1401906985, 1401906979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10879850387573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:51:02.823586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/55/image_31122025_14_55_34_9690.jpg', '/home/pi/Desktop/images/31122025/14/55/image_31122025_14_55_54_10610.jpg', '/home/pi/Desktop/images/31122025/14/56/image_31122025_14_56_24_9902.jpg', '/home/pi/Desktop/images/31122025/14/56/image_31122025_14_56_44_9723.jpg', '/home/pi/Desktop/images/31122025/14/56/image_31122025_14_56_54_9642.jpg', '/home/pi/Desktop/images/31122025/14/56/image_31122025_14_57_05_10526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/55/image_31122025_14_55_34_9690.jpg
/home/pi/Desktop/images/31122025/14/55/image_31122025_14_55_54_10610.jpg
/home/pi/Desktop/images/31122025/14/56/image_31122025_14_56_24_9902.jpg
/home/pi/Desktop/images/31122025/14/56/image_31122025_14_56_44_9723.jpg
/home/pi/Desktop/images/31122025/14/56/image_31122025_14_56_54_9642.jpg
/home/pi/Desktop/images/31122025/14/56/image_31122025_14_57_05_10526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907026","1401907029","1401907031","1401907025","1401907028","1401907027"],"photo_ids_order":["1401907025","1401907026","1401907027","1401907028","1401907029","1401907031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7f3e10d8416e7accc1378cbea63e734.jpg","text":"TemporaryFile(/tmp/multipartBody4864855305279297525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196323507,"filename":"image_31122025_14_55_54_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0af16f14721898ff7a0d39fc83b4842.jpg","text":"TemporaryFile(/tmp/multipartBody5360385734244341345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196323507,"filename":"image_31122025_14_56_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f622edfc3a42c400448256d6c29ed20.jpg","text":"TemporaryFile(/tmp/multipartBody8297023481962222353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196323507,"filename":"image_31122025_14_57_05_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3fa478ac0c1bb0c63018404d1801652.jpg","text":"TemporaryFile(/tmp/multipartBody7357277928953869852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196323507,"filename":"image_31122025_14_55_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a6f6f465ba64397242eb15e0b47670c.jpg","text":"TemporaryFile(/tmp/multipartBody7903104737454430573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196323507,"filename":"image_31122025_14_56_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f9231d4130e1fdc02a6f1cb081f1b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7789951130272045197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196323507,"filename":"image_31122025_14_56_24_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907027","file1":"1401907026","file0":"1401907025","file4":"1401907029","file5":"1401907031","file3":"1401907028"},"map_files_photo_id_array":[{"photo_id":"1401907031","filename":"file5"},{"photo_id":"1401907027","filename":"file2"},{"photo_id":"1401907029","filename":"file4"},{"photo_id":"1401907026","filename":"file1"},{"photo_id":"1401907025","filename":"file0"},{"photo_id":"1401907028","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401907026":["hashtag1","hashtag2"]},{"1401907029":["hashtag1","hashtag2"]},{"1401907031":["hashtag1","hashtag2"]},{"1401907025":["hashtag1","hashtag2"]},{"1401907028":["hashtag1","hashtag2"]},{"1401907027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401907026, 1401907029, 1401907031, 1401907025, 1401907028, 1401907027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96714949607849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:51:41.970535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_08_2546.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_12_3606.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_14_2794.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_21_3659.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_23_2688.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_26_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_08_2546.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_12_3606.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_14_2794.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_21_3659.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_23_2688.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_26_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907053","1401907040","1401907037","1401907130","1401907092","1401907167"],"photo_ids_order":["1401907037","1401907040","1401907053","1401907092","1401907130","1401907167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd79c2e0f9746a62cf5f06995c83853a.jpg","text":"TemporaryFile(/tmp/multipartBody5932766196027223557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196363810,"filename":"image_03112025_19_16_14_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e54efc235c698506da10a94fd0bfeed1.jpg","text":"TemporaryFile(/tmp/multipartBody4379101611476247232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196363810,"filename":"image_03112025_19_16_12_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f29717d82582ab3e9165779da67d0fe.jpg","text":"TemporaryFile(/tmp/multipartBody8871978848874880322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196363810,"filename":"image_03112025_19_16_08_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d1d7c97f968f51cbc0f49b1a5fe97b1.jpg","text":"TemporaryFile(/tmp/multipartBody6739364491030609079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196363810,"filename":"image_03112025_19_16_23_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e17595a7a0521d1abb7ca1bb7bfce245.jpg","text":"TemporaryFile(/tmp/multipartBody876235757150204064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196363810,"filename":"image_03112025_19_16_21_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d8dd10515afd1e657c9871009ecadf8.jpg","text":"TemporaryFile(/tmp/multipartBody7503212260734820026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196363810,"filename":"image_03112025_19_16_26_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907053","file1":"1401907040","file0":"1401907037","file4":"1401907130","file5":"1401907167","file3":"1401907092"},"map_files_photo_id_array":[{"photo_id":"1401907167","filename":"file5"},{"photo_id":"1401907053","filename":"file2"},{"photo_id":"1401907130","filename":"file4"},{"photo_id":"1401907040","filename":"file1"},{"photo_id":"1401907037","filename":"file0"},{"photo_id":"1401907092","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401907053":["hashtag1","hashtag2"]},{"1401907040":["hashtag1","hashtag2"]},{"1401907037":["hashtag1","hashtag2"]},{"1401907130":["hashtag1","hashtag2"]},{"1401907092":["hashtag1","hashtag2"]},{"1401907167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401907053, 1401907040, 1401907037, 1401907130, 1401907092, 1401907167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.549805879592896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:52:22.164843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_14_9799.jpg', '/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_24_9799.jpg', '/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_35_10636.jpg', '/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_44_9748.jpg', '/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_54_9650.jpg', '/home/pi/Desktop/images/31122025/14/57/image_31122025_14_58_04_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_14_9799.jpg
/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_24_9799.jpg
/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_35_10636.jpg
/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_44_9748.jpg
/home/pi/Desktop/images/31122025/14/57/image_31122025_14_57_54_9650.jpg
/home/pi/Desktop/images/31122025/14/57/image_31122025_14_58_04_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907332","1401907358","1401907292","1401907354","1401907363","1401907366"],"photo_ids_order":["1401907292","1401907332","1401907354","1401907358","1401907363","1401907366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c547541980c25ea1408cfa0cf7e24fe.jpg","text":"TemporaryFile(/tmp/multipartBody4135168296067129941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196402762,"filename":"image_31122025_14_57_24_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd4afc89d124f476bf9f6dfb4e080071.jpg","text":"TemporaryFile(/tmp/multipartBody684650610635124459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196402762,"filename":"image_31122025_14_57_44_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73e1430dcbe7d34f91f0accd3d1b5e1b.jpg","text":"TemporaryFile(/tmp/multipartBody3357320097567899055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196402762,"filename":"image_31122025_14_57_14_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b89270488aaa7aa839db1138f4b42146.jpg","text":"TemporaryFile(/tmp/multipartBody2326439705841405707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196402762,"filename":"image_31122025_14_57_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78bb91bf8396b5aff8e1e764b93e5272.jpg","text":"TemporaryFile(/tmp/multipartBody3134827232621644531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196402762,"filename":"image_31122025_14_57_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41f1d68ce24a55e74426759243f2f17d.jpg","text":"TemporaryFile(/tmp/multipartBody8694239270293822711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196402762,"filename":"image_31122025_14_58_04_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907354","file1":"1401907332","file0":"1401907292","file4":"1401907363","file5":"1401907366","file3":"1401907358"},"map_files_photo_id_array":[{"photo_id":"1401907366","filename":"file5"},{"photo_id":"1401907354","filename":"file2"},{"photo_id":"1401907363","filename":"file4"},{"photo_id":"1401907332","filename":"file1"},{"photo_id":"1401907292","filename":"file0"},{"photo_id":"1401907358","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401907332":["hashtag1","hashtag2"]},{"1401907358":["hashtag1","hashtag2"]},{"1401907292":["hashtag1","hashtag2"]},{"1401907354":["hashtag1","hashtag2"]},{"1401907363":["hashtag1","hashtag2"]},{"1401907366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401907332, 1401907358, 1401907292, 1401907354, 1401907363, 1401907366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82847833633423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:53:03.074525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/58/image_31122025_14_58_24_9703.jpg', '/home/pi/Desktop/images/31122025/14/58/image_31122025_14_58_35_10634.jpg', '/home/pi/Desktop/images/31122025/14/58/image_31122025_14_58_54_9625.jpg', '/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_14_9778.jpg', '/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_24_9814.jpg', '/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_34_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/58/image_31122025_14_58_24_9703.jpg
/home/pi/Desktop/images/31122025/14/58/image_31122025_14_58_35_10634.jpg
/home/pi/Desktop/images/31122025/14/58/image_31122025_14_58_54_9625.jpg
/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_14_9778.jpg
/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_24_9814.jpg
/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_34_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907374","1401907368","1401907370","1401907372","1401907369","1401907371"],"photo_ids_order":["1401907368","1401907369","1401907370","1401907371","1401907372","1401907374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/905653ab32b3ee5b3f8760949eee88f8.jpg","text":"TemporaryFile(/tmp/multipartBody3226495682668845976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196443723,"filename":"image_31122025_14_59_34_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85a2a4bfc5fc90c541a4ce4c0f084872.jpg","text":"TemporaryFile(/tmp/multipartBody2484805783402777537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196443723,"filename":"image_31122025_14_58_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/666a6a8f74811bc03f37243f86ea9c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8135336008672883828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196443723,"filename":"image_31122025_14_58_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b03f9c4d2a74bb947d9bf348f836ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8350867341470449127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196443723,"filename":"image_31122025_14_59_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8f007734b3cd3b0f8ebb0250a37efc6.jpg","text":"TemporaryFile(/tmp/multipartBody48398158295775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196443723,"filename":"image_31122025_14_58_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2053168a4e26e7aeda5b1420e602cffa.jpg","text":"TemporaryFile(/tmp/multipartBody1942043890275485835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196443723,"filename":"image_31122025_14_59_14_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907370","file1":"1401907369","file0":"1401907368","file4":"1401907372","file5":"1401907374","file3":"1401907371"},"map_files_photo_id_array":[{"photo_id":"1401907374","filename":"file5"},{"photo_id":"1401907370","filename":"file2"},{"photo_id":"1401907372","filename":"file4"},{"photo_id":"1401907369","filename":"file1"},{"photo_id":"1401907368","filename":"file0"},{"photo_id":"1401907371","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401907374":["hashtag1","hashtag2"]},{"1401907368":["hashtag1","hashtag2"]},{"1401907370":["hashtag1","hashtag2"]},{"1401907372":["hashtag1","hashtag2"]},{"1401907369":["hashtag1","hashtag2"]},{"1401907371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401907374, 1401907368, 1401907370, 1401907372, 1401907369, 1401907371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43458938598633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:53:42.344372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_30_3675.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_32_2651.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_35_2709.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_38_2746.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_42_3815.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_44_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_30_3675.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_32_2651.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_35_2709.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_38_2746.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_42_3815.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_44_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907434","1401907379","1401907436","1401907415","1401907381","1401907438"],"photo_ids_order":["1401907379","1401907381","1401907415","1401907434","1401907436","1401907438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87850f1b99c9de2531e2fa858c179eba.jpg","text":"TemporaryFile(/tmp/multipartBody3455981731769947099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196484184,"filename":"image_03112025_19_16_38_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/579d3c3a5e3281f631112b278a7b38a2.jpg","text":"TemporaryFile(/tmp/multipartBody7632995052333100389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196484184,"filename":"image_03112025_19_16_30_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/449c54d821f25c391b5a6ee9f909f084.jpg","text":"TemporaryFile(/tmp/multipartBody2479121001072616246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196484184,"filename":"image_03112025_19_16_42_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b01fb1917e34cb3a1c3af8bd84b10fd0.jpg","text":"TemporaryFile(/tmp/multipartBody861503434508534376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196484184,"filename":"image_03112025_19_16_35_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57dbd1d40c192cbf9abe52c9c56ed9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7165747336596337324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196484184,"filename":"image_03112025_19_16_32_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3d4e84eb481f3e88415ee74c24ca7a7.jpg","text":"TemporaryFile(/tmp/multipartBody5263109507537930176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196484184,"filename":"image_03112025_19_16_44_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907415","file1":"1401907381","file0":"1401907379","file4":"1401907436","file5":"1401907438","file3":"1401907434"},"map_files_photo_id_array":[{"photo_id":"1401907438","filename":"file5"},{"photo_id":"1401907415","filename":"file2"},{"photo_id":"1401907436","filename":"file4"},{"photo_id":"1401907381","filename":"file1"},{"photo_id":"1401907379","filename":"file0"},{"photo_id":"1401907434","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401907434":["hashtag1","hashtag2"]},{"1401907379":["hashtag1","hashtag2"]},{"1401907436":["hashtag1","hashtag2"]},{"1401907415":["hashtag1","hashtag2"]},{"1401907381":["hashtag1","hashtag2"]},{"1401907438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401907434, 1401907379, 1401907436, 1401907415, 1401907381, 1401907438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81448554992676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:54:22.496178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_45_10632.jpg', '/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_54_9698.jpg', '/home/pi/Desktop/images/31122025/15/00/image_31122025_15_00_15_10064.jpg', '/home/pi/Desktop/images/31122025/15/00/image_31122025_15_00_35_9695.jpg', '/home/pi/Desktop/images/31122025/15/00/image_31122025_15_00_45_9693.jpg', '/home/pi/Desktop/images/31122025/15/00/image_31122025_15_00_55_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_45_10632.jpg
/home/pi/Desktop/images/31122025/14/59/image_31122025_14_59_54_9698.jpg
/home/pi/Desktop/images/31122025/15/00/image_31122025_15_00_15_10064.jpg
/home/pi/Desktop/images/31122025/15/00/image_31122025_15_00_35_9695.jpg
/home/pi/Desktop/images/31122025/15/00/image_31122025_15_00_45_9693.jpg
/home/pi/Desktop/images/31122025/15/00/image_31122025_15_00_55_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907446","1401907440","1401907445","1401907448","1401907441","1401907444"],"photo_ids_order":["1401907440","1401907441","1401907444","1401907445","1401907446","1401907448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef7912e2a2d23573ea117779eccf40e5.jpg","text":"TemporaryFile(/tmp/multipartBody3935306542459357305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196523092,"filename":"image_31122025_15_00_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b5fc97accf9c8693261353e3a11e99c.jpg","text":"TemporaryFile(/tmp/multipartBody8949764342236909892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196523092,"filename":"image_31122025_14_59_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fef68c80c0f63df39df0d707ad65777.jpg","text":"TemporaryFile(/tmp/multipartBody7874186459514969174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196523092,"filename":"image_31122025_15_00_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a87c60cf701ace8a2d035e67df408953.jpg","text":"TemporaryFile(/tmp/multipartBody7276518469388452194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196523092,"filename":"image_31122025_15_00_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b82de5eacc8beb1f11f0f24612873e5f.jpg","text":"TemporaryFile(/tmp/multipartBody389560616194930376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196523092,"filename":"image_31122025_14_59_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61e6453982cf585f11bd38ec953db416.jpg","text":"TemporaryFile(/tmp/multipartBody5318519970298687552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196523092,"filename":"image_31122025_15_00_15_10064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907444","file1":"1401907441","file0":"1401907440","file4":"1401907446","file5":"1401907448","file3":"1401907445"},"map_files_photo_id_array":[{"photo_id":"1401907448","filename":"file5"},{"photo_id":"1401907444","filename":"file2"},{"photo_id":"1401907446","filename":"file4"},{"photo_id":"1401907441","filename":"file1"},{"photo_id":"1401907440","filename":"file0"},{"photo_id":"1401907445","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401907446":["hashtag1","hashtag2"]},{"1401907440":["hashtag1","hashtag2"]},{"1401907445":["hashtag1","hashtag2"]},{"1401907448":["hashtag1","hashtag2"]},{"1401907441":["hashtag1","hashtag2"]},{"1401907444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401907446, 1401907440, 1401907445, 1401907448, 1401907441, 1401907444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63233709335327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:55:03.387882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/00/image_31122025_15_01_05_9528.jpg', '/home/pi/Desktop/images/31122025/15/01/image_31122025_15_01_16_10627.jpg', '/home/pi/Desktop/images/31122025/15/01/image_31122025_15_01_35_9636.jpg', '/home/pi/Desktop/images/31122025/15/01/image_31122025_15_01_46_10759.jpg', '/home/pi/Desktop/images/31122025/15/01/image_31122025_15_01_55_9673.jpg', '/home/pi/Desktop/images/31122025/15/01/image_31122025_15_02_05_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/00/image_31122025_15_01_05_9528.jpg
/home/pi/Desktop/images/31122025/15/01/image_31122025_15_01_16_10627.jpg
/home/pi/Desktop/images/31122025/15/01/image_31122025_15_01_35_9636.jpg
/home/pi/Desktop/images/31122025/15/01/image_31122025_15_01_46_10759.jpg
/home/pi/Desktop/images/31122025/15/01/image_31122025_15_01_55_9673.jpg
/home/pi/Desktop/images/31122025/15/01/image_31122025_15_02_05_9540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907452","1401907449","1401907451","1401907453","1401907456","1401907450"],"photo_ids_order":["1401907449","1401907450","1401907451","1401907452","1401907453","1401907456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56839b34ffd79f571fd674047d21f077.jpg","text":"TemporaryFile(/tmp/multipartBody1120070771163216994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196564042,"filename":"image_31122025_15_01_46_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54398633db8e497284fa04d9c1231103.jpg","text":"TemporaryFile(/tmp/multipartBody3244420657160253489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196564042,"filename":"image_31122025_15_01_05_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdb20bfd8dfb2e408ec449ac5de35030.jpg","text":"TemporaryFile(/tmp/multipartBody8263557056596913293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196564042,"filename":"image_31122025_15_01_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69acac94443ead62c9dbb9ea5227b616.jpg","text":"TemporaryFile(/tmp/multipartBody5660922204633860909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196564042,"filename":"image_31122025_15_01_55_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e88e85eb687c8cbce4395a22244a6df1.jpg","text":"TemporaryFile(/tmp/multipartBody5295671673358940541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196564042,"filename":"image_31122025_15_02_05_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3b463a338395614f3efd1da517b242d.jpg","text":"TemporaryFile(/tmp/multipartBody7033888653294365000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196564042,"filename":"image_31122025_15_01_16_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907451","file1":"1401907450","file0":"1401907449","file4":"1401907453","file5":"1401907456","file3":"1401907452"},"map_files_photo_id_array":[{"photo_id":"1401907456","filename":"file5"},{"photo_id":"1401907451","filename":"file2"},{"photo_id":"1401907453","filename":"file4"},{"photo_id":"1401907450","filename":"file1"},{"photo_id":"1401907449","filename":"file0"},{"photo_id":"1401907452","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401907452":["hashtag1","hashtag2"]},{"1401907449":["hashtag1","hashtag2"]},{"1401907451":["hashtag1","hashtag2"]},{"1401907453":["hashtag1","hashtag2"]},{"1401907456":["hashtag1","hashtag2"]},{"1401907450":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401907452, 1401907449, 1401907451, 1401907453, 1401907456, 1401907450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74447178840637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:55:42.730828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_48_3287.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_50_2530.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_53_2892.jpg', '/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_59_2584.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_02_2659.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_06_3752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_48_3287.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_50_2530.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_53_2892.jpg
/home/pi/Desktop/images/03112025/19/16/image_03112025_19_16_59_2584.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_02_2659.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_06_3752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907467","1401907461","1401907466","1401907465","1401907468","1401907464"],"photo_ids_order":["1401907461","1401907464","1401907465","1401907466","1401907467","1401907468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d34a60a8984adc226884398c2e6003a1.jpg","text":"TemporaryFile(/tmp/multipartBody1332275539856473240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196604532,"filename":"image_03112025_19_17_02_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9d8949244e431a2efb6139d7f832fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5076766235928251397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196604532,"filename":"image_03112025_19_16_48_3287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c5a48e0cb904674486d0377022a7e0c.jpg","text":"TemporaryFile(/tmp/multipartBody1200713318328004117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196604532,"filename":"image_03112025_19_16_59_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fcc6eec494df49c497523a9876d07fe.jpg","text":"TemporaryFile(/tmp/multipartBody3306863633006970232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196604532,"filename":"image_03112025_19_16_53_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91f7467a7205e1f1597dd56436503fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1928022166978420873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196604532,"filename":"image_03112025_19_17_06_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/689d99f8773545b531dfec211ba86773.jpg","text":"TemporaryFile(/tmp/multipartBody2299952492656779060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196604532,"filename":"image_03112025_19_16_50_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907465","file1":"1401907464","file0":"1401907461","file4":"1401907467","file5":"1401907468","file3":"1401907466"},"map_files_photo_id_array":[{"photo_id":"1401907468","filename":"file5"},{"photo_id":"1401907465","filename":"file2"},{"photo_id":"1401907467","filename":"file4"},{"photo_id":"1401907464","filename":"file1"},{"photo_id":"1401907461","filename":"file0"},{"photo_id":"1401907466","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401907467":["hashtag1","hashtag2"]},{"1401907461":["hashtag1","hashtag2"]},{"1401907466":["hashtag1","hashtag2"]},{"1401907465":["hashtag1","hashtag2"]},{"1401907468":["hashtag1","hashtag2"]},{"1401907464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401907467, 1401907461, 1401907466, 1401907465, 1401907468, 1401907464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82280731201172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 16:56:21.959548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_16_10777.jpg', '/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_25_9682.jpg', '/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_35_9680.jpg', '/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_45_9851.jpg', '/home/pi/Desktop/images/31122025/15/04/image_31122025_15_04_55_9599.jpg', '/home/pi/Desktop/images/31122025/15/06/image_31122025_15_06_35_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_16_10777.jpg
/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_25_9682.jpg
/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_35_9680.jpg
/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_45_9851.jpg
/home/pi/Desktop/images/31122025/15/04/image_31122025_15_04_55_9599.jpg
/home/pi/Desktop/images/31122025/15/06/image_31122025_15_06_35_9623.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5020818710327148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:56:31.901385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_08_2596.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_12_3609.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_15_2788.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_17_2789.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_23_2732.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_29_2965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_08_2596.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_12_3609.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_15_2788.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_17_2789.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_23_2732.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_29_2965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907488","1401907487","1401907483","1401907486","1401907480","1401907477"],"photo_ids_order":["1401907477","1401907480","1401907483","1401907486","1401907487","1401907488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/864512583ff890bb0799aa8bc555a960.jpg","text":"TemporaryFile(/tmp/multipartBody3109123398025850684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196653721,"filename":"image_03112025_19_17_29_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25a4db7b126daa2bd9c4f1809eb6643a.jpg","text":"TemporaryFile(/tmp/multipartBody7873143217603133248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196653721,"filename":"image_03112025_19_17_23_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7bf2a0f0e11290d06c47a1b43e5f051.jpg","text":"TemporaryFile(/tmp/multipartBody1217078219407348788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196653721,"filename":"image_03112025_19_17_15_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b176256d5e9ccef8a97e34edbf123723.jpg","text":"TemporaryFile(/tmp/multipartBody2248812561349786665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196653721,"filename":"image_03112025_19_17_17_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e87f26def2e83849a9e1d5b8b26cb00a.jpg","text":"TemporaryFile(/tmp/multipartBody9138925185035730878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196653721,"filename":"image_03112025_19_17_12_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fb966fcc3bf94ca5f207735ad631e94.jpg","text":"TemporaryFile(/tmp/multipartBody5803042400371782658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196653721,"filename":"image_03112025_19_17_08_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907483","file1":"1401907480","file0":"1401907477","file4":"1401907487","file5":"1401907488","file3":"1401907486"},"map_files_photo_id_array":[{"photo_id":"1401907488","filename":"file5"},{"photo_id":"1401907483","filename":"file2"},{"photo_id":"1401907487","filename":"file4"},{"photo_id":"1401907480","filename":"file1"},{"photo_id":"1401907477","filename":"file0"},{"photo_id":"1401907486","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401907488":["hashtag1","hashtag2"]},{"1401907487":["hashtag1","hashtag2"]},{"1401907483":["hashtag1","hashtag2"]},{"1401907486":["hashtag1","hashtag2"]},{"1401907480":["hashtag1","hashtag2"]},{"1401907477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401907488, 1401907487, 1401907483, 1401907486, 1401907480, 1401907477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3123881816864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:57:12.021683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_47_2583.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_53_2614.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_56_2654.jpg', '/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_59_3522.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_05_3487.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_08_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_47_2583.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_53_2614.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_56_2654.jpg
/home/pi/Desktop/images/03112025/19/17/image_03112025_19_17_59_3522.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_05_3487.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_08_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401907493","1401907496","1401907490","1401907498","1401907489","1401907491"],"photo_ids_order":["1401907489","1401907490","1401907491","1401907493","1401907496","1401907498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbf5acfb3b00cd0fa8308bd6073fc1c3.jpg","text":"TemporaryFile(/tmp/multipartBody5643506561879893097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196693763,"filename":"image_03112025_19_17_59_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ed04d3c88b84be2f845eb0e13feb597.jpg","text":"TemporaryFile(/tmp/multipartBody3857816857013844204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196693763,"filename":"image_03112025_19_18_05_3487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85510e3eed5099ae74083c5e4e4c666e.jpg","text":"TemporaryFile(/tmp/multipartBody7705405085334402636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196693763,"filename":"image_03112025_19_17_53_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/899af6745145ef707a804835605f4f07.jpg","text":"TemporaryFile(/tmp/multipartBody173566679310886584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196693763,"filename":"image_03112025_19_18_08_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37bb903f531899d4eba2620766d03132.jpg","text":"TemporaryFile(/tmp/multipartBody3038260341987897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196693763,"filename":"image_03112025_19_17_47_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db806749b49130c59d2c42412e2a1214.jpg","text":"TemporaryFile(/tmp/multipartBody183758456373131049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196693763,"filename":"image_03112025_19_17_56_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401907491","file1":"1401907490","file0":"1401907489","file4":"1401907496","file5":"1401907498","file3":"1401907493"},"map_files_photo_id_array":[{"photo_id":"1401907498","filename":"file5"},{"photo_id":"1401907491","filename":"file2"},{"photo_id":"1401907496","filename":"file4"},{"photo_id":"1401907490","filename":"file1"},{"photo_id":"1401907489","filename":"file0"},{"photo_id":"1401907493","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401907493":["hashtag1","hashtag2"]},{"1401907496":["hashtag1","hashtag2"]},{"1401907490":["hashtag1","hashtag2"]},{"1401907498":["hashtag1","hashtag2"]},{"1401907489":["hashtag1","hashtag2"]},{"1401907491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401907493, 1401907496, 1401907490, 1401907498, 1401907489, 1401907491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23615574836731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 16:59:03.372077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_16_10777.jpg', '/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_25_9682.jpg', '/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_35_9680.jpg', '/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_45_9851.jpg', '/home/pi/Desktop/images/31122025/15/04/image_31122025_15_04_55_9599.jpg', '/home/pi/Desktop/images/31122025/15/06/image_31122025_15_06_35_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_16_10777.jpg
/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_25_9682.jpg
/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_35_9680.jpg
/home/pi/Desktop/images/31122025/15/02/image_31122025_15_02_45_9851.jpg
/home/pi/Desktop/images/31122025/15/04/image_31122025_15_04_55_9599.jpg
/home/pi/Desktop/images/31122025/15/06/image_31122025_15_06_35_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401908099","1401908132","1401908021","1401908102","1401908062","1401907974"],"photo_ids_order":["1401907974","1401908021","1401908062","1401908099","1401908102","1401908132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90dbc65b0e9e36d8d0d95528a4dc61f3.jpg","text":"TemporaryFile(/tmp/multipartBody5973912049094004762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196804002,"filename":"image_31122025_15_02_45_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29f019bcb290aaf7ff0ba9f76a723b48.jpg","text":"TemporaryFile(/tmp/multipartBody3213979152063986532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196804002,"filename":"image_31122025_15_06_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/957d93ed331e3363adea432c06f5b076.jpg","text":"TemporaryFile(/tmp/multipartBody9217485289570071570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196804002,"filename":"image_31122025_15_02_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0b64fae776ba28e2a8ad9c495509408.jpg","text":"TemporaryFile(/tmp/multipartBody1800693597801033206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196804002,"filename":"image_31122025_15_04_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d92610f5a96740487a3e85a8f7486041.jpg","text":"TemporaryFile(/tmp/multipartBody4208533091381435541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196804002,"filename":"image_31122025_15_02_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9f5f83019876acb816bafa46a871a63.jpg","text":"TemporaryFile(/tmp/multipartBody2490745861537619566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196804002,"filename":"image_31122025_15_02_16_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401908062","file1":"1401908021","file0":"1401907974","file4":"1401908102","file5":"1401908132","file3":"1401908099"},"map_files_photo_id_array":[{"photo_id":"1401908132","filename":"file5"},{"photo_id":"1401908062","filename":"file2"},{"photo_id":"1401908102","filename":"file4"},{"photo_id":"1401908021","filename":"file1"},{"photo_id":"1401907974","filename":"file0"},{"photo_id":"1401908099","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401908099":["hashtag1","hashtag2"]},{"1401908132":["hashtag1","hashtag2"]},{"1401908021":["hashtag1","hashtag2"]},{"1401908102":["hashtag1","hashtag2"]},{"1401908062":["hashtag1","hashtag2"]},{"1401907974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401908099, 1401908132, 1401908021, 1401908102, 1401908062, 1401907974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9942741394043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 16:59:42.703773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_14_2512.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_18_3563.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_20_2806.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_29_1714.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_35_3756.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_41_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_14_2512.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_18_3563.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_20_2806.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_29_1714.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_35_3756.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_41_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401908529","1401908630","1401908300","1401908749","1401908455","1401908376"],"photo_ids_order":["1401908300","1401908376","1401908455","1401908529","1401908630","1401908749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d4623ff8c6ed08db314f092a3683aa7.jpg","text":"TemporaryFile(/tmp/multipartBody4688886862152807587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196844528,"filename":"image_03112025_19_18_29_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c26af66c89e632cdf7008f61946fe2c7.jpg","text":"TemporaryFile(/tmp/multipartBody2516946673477247025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196844528,"filename":"image_03112025_19_18_35_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e51b2112a37b6c5af55c3e403d7d482c.jpg","text":"TemporaryFile(/tmp/multipartBody4485476642019854180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196844528,"filename":"image_03112025_19_18_14_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d2841cdab3d8a356fb020369fe5e221.jpg","text":"TemporaryFile(/tmp/multipartBody3345007251191013476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196844528,"filename":"image_03112025_19_18_41_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07a47afc5f52442391d3ad1b95dbb299.jpg","text":"TemporaryFile(/tmp/multipartBody2078864039647084410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196844528,"filename":"image_03112025_19_18_20_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b3d46e5c8d74a1932ed9a3545b9369c.jpg","text":"TemporaryFile(/tmp/multipartBody1926159293500567262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196844528,"filename":"image_03112025_19_18_18_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401908455","file1":"1401908376","file0":"1401908300","file4":"1401908630","file5":"1401908749","file3":"1401908529"},"map_files_photo_id_array":[{"photo_id":"1401908749","filename":"file5"},{"photo_id":"1401908455","filename":"file2"},{"photo_id":"1401908630","filename":"file4"},{"photo_id":"1401908376","filename":"file1"},{"photo_id":"1401908300","filename":"file0"},{"photo_id":"1401908529","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401908529":["hashtag1","hashtag2"]},{"1401908630":["hashtag1","hashtag2"]},{"1401908300":["hashtag1","hashtag2"]},{"1401908749":["hashtag1","hashtag2"]},{"1401908455":["hashtag1","hashtag2"]},{"1401908376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401908529, 1401908630, 1401908300, 1401908749, 1401908455, 1401908376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96586894989014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:00:31.975865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_47_3665.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_50_2727.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_55_5362.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_57_1658.jpg', '/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_59_1654.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_02_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_47_3665.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_50_2727.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_55_5362.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_57_1658.jpg
/home/pi/Desktop/images/03112025/19/18/image_03112025_19_18_59_1654.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_02_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401909524","1401909308","1401909244","1401909202","1401909444","1401909386"],"photo_ids_order":["1401909202","1401909244","1401909308","1401909386","1401909444","1401909524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2242f4861c32e456c1f107191fed852.jpg","text":"TemporaryFile(/tmp/multipartBody8085007312255167321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196893810,"filename":"image_03112025_19_19_02_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4f8a66db11b150bb2d7391acb78559c.jpg","text":"TemporaryFile(/tmp/multipartBody718960048364975562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196893810,"filename":"image_03112025_19_18_55_5362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89d202737d35576f16f1c7c98123a265.jpg","text":"TemporaryFile(/tmp/multipartBody3656807208151663764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196893810,"filename":"image_03112025_19_18_50_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5eed7a4db40adfd4148bb1f1fe914a3.jpg","text":"TemporaryFile(/tmp/multipartBody2124858201000507618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196893810,"filename":"image_03112025_19_18_47_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e4c3ba572f06a1cc69ebd2227975f96.jpg","text":"TemporaryFile(/tmp/multipartBody1450024189933267217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196893810,"filename":"image_03112025_19_18_59_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf16ae7516c05f3d9b33c0463300d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody4054728608110561551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196893810,"filename":"image_03112025_19_18_57_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401909308","file1":"1401909244","file0":"1401909202","file4":"1401909444","file5":"1401909524","file3":"1401909386"},"map_files_photo_id_array":[{"photo_id":"1401909524","filename":"file5"},{"photo_id":"1401909308","filename":"file2"},{"photo_id":"1401909444","filename":"file4"},{"photo_id":"1401909244","filename":"file1"},{"photo_id":"1401909202","filename":"file0"},{"photo_id":"1401909386","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401909524":["hashtag1","hashtag2"]},{"1401909308":["hashtag1","hashtag2"]},{"1401909244":["hashtag1","hashtag2"]},{"1401909202":["hashtag1","hashtag2"]},{"1401909444":["hashtag1","hashtag2"]},{"1401909386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401909524, 1401909308, 1401909244, 1401909202, 1401909444, 1401909386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27912974357605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:01:12.087211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_05_2575.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_11_3719.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_14_2604.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_18_3579.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_20_2609.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_23_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_05_2575.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_11_3719.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_14_2604.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_18_3579.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_20_2609.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_23_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401909800","1401909802","1401909805","1401909798","1401909777","1401909755"],"photo_ids_order":["1401909755","1401909777","1401909798","1401909800","1401909802","1401909805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/250a10dddf0206ebdc443e5b05c74df9.jpg","text":"TemporaryFile(/tmp/multipartBody9208235899545078668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196933819,"filename":"image_03112025_19_19_18_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/750900a65deb15cfac6fdf619459d2ca.jpg","text":"TemporaryFile(/tmp/multipartBody6768885948837749780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196933819,"filename":"image_03112025_19_19_20_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4cb87424ffcec41bf536b96874d7c32.jpg","text":"TemporaryFile(/tmp/multipartBody3692222626209523010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196933819,"filename":"image_03112025_19_19_23_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/269fa887c4d38e97eadbdf5aff26ddda.jpg","text":"TemporaryFile(/tmp/multipartBody6970851971069697908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196933819,"filename":"image_03112025_19_19_14_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87f5a657724a4502a8921230c27b769e.jpg","text":"TemporaryFile(/tmp/multipartBody2505568250509307091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196933819,"filename":"image_03112025_19_19_11_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/300a8ff1ac0eb9fe8647c5403ff8685f.jpg","text":"TemporaryFile(/tmp/multipartBody3234440942621858795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196933819,"filename":"image_03112025_19_19_05_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401909798","file1":"1401909777","file0":"1401909755","file4":"1401909802","file5":"1401909805","file3":"1401909800"},"map_files_photo_id_array":[{"photo_id":"1401909805","filename":"file5"},{"photo_id":"1401909798","filename":"file2"},{"photo_id":"1401909802","filename":"file4"},{"photo_id":"1401909777","filename":"file1"},{"photo_id":"1401909755","filename":"file0"},{"photo_id":"1401909800","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401909800":["hashtag1","hashtag2"]},{"1401909802":["hashtag1","hashtag2"]},{"1401909805":["hashtag1","hashtag2"]},{"1401909798":["hashtag1","hashtag2"]},{"1401909777":["hashtag1","hashtag2"]},{"1401909755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401909800, 1401909802, 1401909805, 1401909798, 1401909777, 1401909755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.99661207199097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:02:02.839981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/08/image_31122025_15_08_15_9557.jpg', '/home/pi/Desktop/images/31122025/15/09/image_31122025_15_09_56_10745.jpg', '/home/pi/Desktop/images/31122025/15/10/image_31122025_15_10_45_9638.jpg', '/home/pi/Desktop/images/31122025/15/10/image_31122025_15_11_06_10842.jpg', '/home/pi/Desktop/images/31122025/15/12/image_31122025_15_12_16_10731.jpg', '/home/pi/Desktop/images/31122025/15/12/image_31122025_15_12_55_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/08/image_31122025_15_08_15_9557.jpg
/home/pi/Desktop/images/31122025/15/09/image_31122025_15_09_56_10745.jpg
/home/pi/Desktop/images/31122025/15/10/image_31122025_15_10_45_9638.jpg
/home/pi/Desktop/images/31122025/15/10/image_31122025_15_11_06_10842.jpg
/home/pi/Desktop/images/31122025/15/12/image_31122025_15_12_16_10731.jpg
/home/pi/Desktop/images/31122025/15/12/image_31122025_15_12_55_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910040","1401910025","1401909940","1401910042","1401910038","1401909986"],"photo_ids_order":["1401909940","1401909986","1401910025","1401910038","1401910040","1401910042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98a5156c1f91420909494e4233c422d6.jpg","text":"TemporaryFile(/tmp/multipartBody4771951335153145976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196984231,"filename":"image_31122025_15_12_16_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/165fc09dd023e61f322a7556fdfd5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1300052558925509677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196984231,"filename":"image_31122025_15_10_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b573f15f203d4313c95a17d8f982119b.jpg","text":"TemporaryFile(/tmp/multipartBody5442616649137894375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196984231,"filename":"image_31122025_15_08_15_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61ac2b450769b7f0a2e15a39d1426466.jpg","text":"TemporaryFile(/tmp/multipartBody4619169658722902858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196984231,"filename":"image_31122025_15_12_55_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5aabd2206c553c1419bc3c1af91250e6.jpg","text":"TemporaryFile(/tmp/multipartBody6904788699058096712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196984231,"filename":"image_31122025_15_11_06_10842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b055589f7610d8bae90f2d849c31a26.jpg","text":"TemporaryFile(/tmp/multipartBody7382602577406068817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767196984231,"filename":"image_31122025_15_09_56_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910025","file1":"1401909986","file0":"1401909940","file4":"1401910040","file5":"1401910042","file3":"1401910038"},"map_files_photo_id_array":[{"photo_id":"1401910042","filename":"file5"},{"photo_id":"1401910025","filename":"file2"},{"photo_id":"1401910040","filename":"file4"},{"photo_id":"1401909986","filename":"file1"},{"photo_id":"1401909940","filename":"file0"},{"photo_id":"1401910038","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910040":["hashtag1","hashtag2"]},{"1401910025":["hashtag1","hashtag2"]},{"1401909940":["hashtag1","hashtag2"]},{"1401910042":["hashtag1","hashtag2"]},{"1401910038":["hashtag1","hashtag2"]},{"1401909986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910040, 1401910025, 1401909940, 1401910042, 1401910038, 1401909986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.202961683273315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:03:03.179558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/13/image_31122025_15_13_45_9859.jpg', '/home/pi/Desktop/images/31122025/15/13/image_31122025_15_14_05_9722.jpg', '/home/pi/Desktop/images/31122025/15/14/image_31122025_15_14_45_9646.jpg', '/home/pi/Desktop/images/31122025/15/14/image_31122025_15_14_56_10610.jpg', '/home/pi/Desktop/images/31122025/15/14/image_31122025_15_15_05_9639.jpg', '/home/pi/Desktop/images/31122025/15/16/image_31122025_15_16_15_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/13/image_31122025_15_13_45_9859.jpg
/home/pi/Desktop/images/31122025/15/13/image_31122025_15_14_05_9722.jpg
/home/pi/Desktop/images/31122025/15/14/image_31122025_15_14_45_9646.jpg
/home/pi/Desktop/images/31122025/15/14/image_31122025_15_14_56_10610.jpg
/home/pi/Desktop/images/31122025/15/14/image_31122025_15_15_05_9639.jpg
/home/pi/Desktop/images/31122025/15/16/image_31122025_15_16_15_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910163","1401910162","1401910165","1401910167","1401910170","1401910164"],"photo_ids_order":["1401910162","1401910163","1401910164","1401910165","1401910167","1401910170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a0c716d54af231aa9a8312b7e2a638d.jpg","text":"TemporaryFile(/tmp/multipartBody6519600642075079736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197046264,"filename":"image_31122025_15_14_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33b2ee38dedf5e4ea7e42132bae39f77.jpg","text":"TemporaryFile(/tmp/multipartBody3887483449446106556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197046264,"filename":"image_31122025_15_13_45_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2e55ccde15a32820dbfaf037f5efdff.jpg","text":"TemporaryFile(/tmp/multipartBody7747639380022728157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197046264,"filename":"image_31122025_15_14_56_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61ccb6b88d61a28d26716c00ec10dc6c.jpg","text":"TemporaryFile(/tmp/multipartBody8690548704452785462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197046264,"filename":"image_31122025_15_15_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ed94b015694e0d78b2e293d7a67288c.jpg","text":"TemporaryFile(/tmp/multipartBody5374929517879966587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197046264,"filename":"image_31122025_15_16_15_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3aa12ac319aaadc0d39a72af46503daf.jpg","text":"TemporaryFile(/tmp/multipartBody141865228038715036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197046264,"filename":"image_31122025_15_14_45_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910164","file1":"1401910163","file0":"1401910162","file4":"1401910167","file5":"1401910170","file3":"1401910165"},"map_files_photo_id_array":[{"photo_id":"1401910170","filename":"file5"},{"photo_id":"1401910164","filename":"file2"},{"photo_id":"1401910167","filename":"file4"},{"photo_id":"1401910163","filename":"file1"},{"photo_id":"1401910162","filename":"file0"},{"photo_id":"1401910165","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910163":["hashtag1","hashtag2"]},{"1401910162":["hashtag1","hashtag2"]},{"1401910165":["hashtag1","hashtag2"]},{"1401910167":["hashtag1","hashtag2"]},{"1401910170":["hashtag1","hashtag2"]},{"1401910164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910163, 1401910162, 1401910165, 1401910167, 1401910170, 1401910164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.821533203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:04:03.473713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/16/image_31122025_15_16_35_9633.jpg', '/home/pi/Desktop/images/31122025/15/16/image_31122025_15_17_05_9637.jpg', '/home/pi/Desktop/images/31122025/15/17/image_31122025_15_17_15_9840.jpg', '/home/pi/Desktop/images/31122025/15/18/image_31122025_15_18_45_9794.jpg', '/home/pi/Desktop/images/31122025/15/19/image_31122025_15_19_35_9681.jpg', '/home/pi/Desktop/images/31122025/15/20/image_31122025_15_20_45_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/16/image_31122025_15_16_35_9633.jpg
/home/pi/Desktop/images/31122025/15/16/image_31122025_15_17_05_9637.jpg
/home/pi/Desktop/images/31122025/15/17/image_31122025_15_17_15_9840.jpg
/home/pi/Desktop/images/31122025/15/18/image_31122025_15_18_45_9794.jpg
/home/pi/Desktop/images/31122025/15/19/image_31122025_15_19_35_9681.jpg
/home/pi/Desktop/images/31122025/15/20/image_31122025_15_20_45_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910178","1401910181","1401910183","1401910177","1401910176","1401910179"],"photo_ids_order":["1401910176","1401910177","1401910178","1401910179","1401910181","1401910183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f72ccd8b285377f17ca6327c5089e6b9.jpg","text":"TemporaryFile(/tmp/multipartBody7755264218848559785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197104876,"filename":"image_31122025_15_17_15_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3446f363a550f939b4b3af615e12af19.jpg","text":"TemporaryFile(/tmp/multipartBody9069774061219601904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197104876,"filename":"image_31122025_15_19_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6362b1a337b7817e93e21e48f935c07.jpg","text":"TemporaryFile(/tmp/multipartBody6851325501382286302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197104876,"filename":"image_31122025_15_20_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbfad985bc0686834ba0ae85cabce015.jpg","text":"TemporaryFile(/tmp/multipartBody2821976957920108513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197104876,"filename":"image_31122025_15_17_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6e9ac22a317b242f1d2cbc661c14fce.jpg","text":"TemporaryFile(/tmp/multipartBody4334873169122799318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197104876,"filename":"image_31122025_15_16_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aab6b7217628add0ad5ec6eb7b7db700.jpg","text":"TemporaryFile(/tmp/multipartBody1620636863573657779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197104876,"filename":"image_31122025_15_18_45_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910178","file1":"1401910177","file0":"1401910176","file4":"1401910181","file5":"1401910183","file3":"1401910179"},"map_files_photo_id_array":[{"photo_id":"1401910183","filename":"file5"},{"photo_id":"1401910178","filename":"file2"},{"photo_id":"1401910181","filename":"file4"},{"photo_id":"1401910177","filename":"file1"},{"photo_id":"1401910176","filename":"file0"},{"photo_id":"1401910179","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910178":["hashtag1","hashtag2"]},{"1401910181":["hashtag1","hashtag2"]},{"1401910183":["hashtag1","hashtag2"]},{"1401910177":["hashtag1","hashtag2"]},{"1401910176":["hashtag1","hashtag2"]},{"1401910179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910178, 1401910181, 1401910183, 1401910177, 1401910176, 1401910179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50946283340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:05:02.523014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/20/image_31122025_15_21_05_9688.jpg', '/home/pi/Desktop/images/31122025/15/21/image_31122025_15_21_56_10615.jpg', '/home/pi/Desktop/images/31122025/15/22/image_31122025_15_22_26_10696.jpg', '/home/pi/Desktop/images/31122025/15/22/image_31122025_15_23_05_9630.jpg', '/home/pi/Desktop/images/31122025/15/23/image_31122025_15_23_56_10664.jpg', '/home/pi/Desktop/images/31122025/15/24/image_31122025_15_24_55_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/20/image_31122025_15_21_05_9688.jpg
/home/pi/Desktop/images/31122025/15/21/image_31122025_15_21_56_10615.jpg
/home/pi/Desktop/images/31122025/15/22/image_31122025_15_22_26_10696.jpg
/home/pi/Desktop/images/31122025/15/22/image_31122025_15_23_05_9630.jpg
/home/pi/Desktop/images/31122025/15/23/image_31122025_15_23_56_10664.jpg
/home/pi/Desktop/images/31122025/15/24/image_31122025_15_24_55_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910190","1401910187","1401910192","1401910189","1401910194","1401910188"],"photo_ids_order":["1401910187","1401910188","1401910189","1401910190","1401910192","1401910194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71a4f0599c3619976ac9c8e1b40994ca.jpg","text":"TemporaryFile(/tmp/multipartBody8314720041986453280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197164654,"filename":"image_31122025_15_23_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87a900867e3bfc007adbef859a054cf2.jpg","text":"TemporaryFile(/tmp/multipartBody357498299075589279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197164654,"filename":"image_31122025_15_21_05_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c6c2ba4d127f3dec809e330ca251009.jpg","text":"TemporaryFile(/tmp/multipartBody467034277707334167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197164654,"filename":"image_31122025_15_23_56_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3ce65c89919f72cfc113b8b8f9ce835.jpg","text":"TemporaryFile(/tmp/multipartBody6227340627991880548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197164654,"filename":"image_31122025_15_22_26_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9acee3daf2d809f2005a5d9ad44b4660.jpg","text":"TemporaryFile(/tmp/multipartBody7111881768223611207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197164654,"filename":"image_31122025_15_24_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78efeb54f41d4de2c96bd13687fa7c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7723585044520585362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197164654,"filename":"image_31122025_15_21_56_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910189","file1":"1401910188","file0":"1401910187","file4":"1401910192","file5":"1401910194","file3":"1401910190"},"map_files_photo_id_array":[{"photo_id":"1401910194","filename":"file5"},{"photo_id":"1401910189","filename":"file2"},{"photo_id":"1401910192","filename":"file4"},{"photo_id":"1401910188","filename":"file1"},{"photo_id":"1401910187","filename":"file0"},{"photo_id":"1401910190","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910190":["hashtag1","hashtag2"]},{"1401910187":["hashtag1","hashtag2"]},{"1401910192":["hashtag1","hashtag2"]},{"1401910189":["hashtag1","hashtag2"]},{"1401910194":["hashtag1","hashtag2"]},{"1401910188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910190, 1401910187, 1401910192, 1401910189, 1401910194, 1401910188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14362287521362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:06:02.625202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/25/image_31122025_15_25_25_9630.jpg', '/home/pi/Desktop/images/31122025/15/25/image_31122025_15_25_46_10867.jpg', '/home/pi/Desktop/images/31122025/15/25/image_31122025_15_26_05_9655.jpg', '/home/pi/Desktop/images/31122025/15/26/image_31122025_15_26_25_10567.jpg', '/home/pi/Desktop/images/31122025/15/26/image_31122025_15_27_05_9632.jpg', '/home/pi/Desktop/images/31122025/15/27/image_31122025_15_27_15_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/25/image_31122025_15_25_25_9630.jpg
/home/pi/Desktop/images/31122025/15/25/image_31122025_15_25_46_10867.jpg
/home/pi/Desktop/images/31122025/15/25/image_31122025_15_26_05_9655.jpg
/home/pi/Desktop/images/31122025/15/26/image_31122025_15_26_25_10567.jpg
/home/pi/Desktop/images/31122025/15/26/image_31122025_15_27_05_9632.jpg
/home/pi/Desktop/images/31122025/15/27/image_31122025_15_27_15_10557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910209","1401910211","1401910205","1401910207","1401910201","1401910203"],"photo_ids_order":["1401910201","1401910203","1401910205","1401910207","1401910209","1401910211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d5432a526684875336a0dc4d647872c.jpg","text":"TemporaryFile(/tmp/multipartBody3873725228792100937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197223441,"filename":"image_31122025_15_27_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6344830de44ec7c4fca8d508b0b8919.jpg","text":"TemporaryFile(/tmp/multipartBody3532526472910640025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197223441,"filename":"image_31122025_15_27_15_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1b933fb1f17e9d7445d789ad4ec07a2.jpg","text":"TemporaryFile(/tmp/multipartBody1250504631370887640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197223441,"filename":"image_31122025_15_26_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61dc695f64c7136dc61a63d9006a776f.jpg","text":"TemporaryFile(/tmp/multipartBody5652102701171929674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197223441,"filename":"image_31122025_15_26_25_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84d4a4bb6a9c8939d2c03ba0c67b1cac.jpg","text":"TemporaryFile(/tmp/multipartBody8334905724572225678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197223441,"filename":"image_31122025_15_25_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9451489ac0520fe3d2cecae828db378d.jpg","text":"TemporaryFile(/tmp/multipartBody6454433847836039821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197223441,"filename":"image_31122025_15_25_46_10867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910205","file1":"1401910203","file0":"1401910201","file4":"1401910209","file5":"1401910211","file3":"1401910207"},"map_files_photo_id_array":[{"photo_id":"1401910211","filename":"file5"},{"photo_id":"1401910205","filename":"file2"},{"photo_id":"1401910209","filename":"file4"},{"photo_id":"1401910203","filename":"file1"},{"photo_id":"1401910201","filename":"file0"},{"photo_id":"1401910207","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910209":["hashtag1","hashtag2"]},{"1401910211":["hashtag1","hashtag2"]},{"1401910205":["hashtag1","hashtag2"]},{"1401910207":["hashtag1","hashtag2"]},{"1401910201":["hashtag1","hashtag2"]},{"1401910203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910209, 1401910211, 1401910205, 1401910207, 1401910201, 1401910203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37213182449341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:06:42.180135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_29_2587.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_32_2777.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_35_3645.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_39_3556.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_41_1762.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_44_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_29_2587.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_32_2777.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_35_3645.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_39_3556.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_41_1762.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_44_3592.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7047638893127441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:07:03.064931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/27/image_31122025_15_27_25_9545.jpg', '/home/pi/Desktop/images/31122025/15/27/image_31122025_15_27_36_10607.jpg', '/home/pi/Desktop/images/31122025/15/27/image_31122025_15_27_55_9526.jpg', '/home/pi/Desktop/images/31122025/15/27/image_31122025_15_28_06_10646.jpg', '/home/pi/Desktop/images/31122025/15/28/image_31122025_15_28_45_9576.jpg', '/home/pi/Desktop/images/31122025/15/29/image_31122025_15_29_25_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/27/image_31122025_15_27_25_9545.jpg
/home/pi/Desktop/images/31122025/15/27/image_31122025_15_27_36_10607.jpg
/home/pi/Desktop/images/31122025/15/27/image_31122025_15_27_55_9526.jpg
/home/pi/Desktop/images/31122025/15/27/image_31122025_15_28_06_10646.jpg
/home/pi/Desktop/images/31122025/15/28/image_31122025_15_28_45_9576.jpg
/home/pi/Desktop/images/31122025/15/29/image_31122025_15_29_25_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910227","1401910229","1401910225","1401910221","1401910224","1401910218"],"photo_ids_order":["1401910218","1401910221","1401910224","1401910225","1401910227","1401910229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49eadc7a24c04c9ff4f1c247e9fc5311.jpg","text":"TemporaryFile(/tmp/multipartBody681802855140905932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197285453,"filename":"image_31122025_15_28_45_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6ae3ed6bca138a994c8ca190156caee.jpg","text":"TemporaryFile(/tmp/multipartBody7156072766044113084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197285453,"filename":"image_31122025_15_29_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f0bf8d457a5ee87ce8defd5a7310d5c.jpg","text":"TemporaryFile(/tmp/multipartBody1607087993212604349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197285453,"filename":"image_31122025_15_28_06_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fae66013106bfa0291dedc67116d2798.jpg","text":"TemporaryFile(/tmp/multipartBody1687504596648561396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197285453,"filename":"image_31122025_15_27_36_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc1d4d3e35e962609e6312ed44e97fbb.jpg","text":"TemporaryFile(/tmp/multipartBody984173246550359944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197285453,"filename":"image_31122025_15_27_55_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07f3edcac05bbeb5f1b91c82d275a016.jpg","text":"TemporaryFile(/tmp/multipartBody890699029018948267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197285453,"filename":"image_31122025_15_27_25_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910224","file1":"1401910221","file0":"1401910218","file4":"1401910227","file5":"1401910229","file3":"1401910225"},"map_files_photo_id_array":[{"photo_id":"1401910229","filename":"file5"},{"photo_id":"1401910224","filename":"file2"},{"photo_id":"1401910227","filename":"file4"},{"photo_id":"1401910221","filename":"file1"},{"photo_id":"1401910218","filename":"file0"},{"photo_id":"1401910225","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910227":["hashtag1","hashtag2"]},{"1401910229":["hashtag1","hashtag2"]},{"1401910225":["hashtag1","hashtag2"]},{"1401910221":["hashtag1","hashtag2"]},{"1401910224":["hashtag1","hashtag2"]},{"1401910218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910227, 1401910229, 1401910225, 1401910221, 1401910224, 1401910218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.254361629486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:08:02.962824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/29/image_31122025_15_29_45_9586.jpg', '/home/pi/Desktop/images/31122025/15/29/image_31122025_15_29_56_10699.jpg', '/home/pi/Desktop/images/31122025/15/30/image_31122025_15_30_35_9559.jpg', '/home/pi/Desktop/images/31122025/15/31/image_31122025_15_32_05_10702.jpg', '/home/pi/Desktop/images/31122025/15/32/image_31122025_15_32_25_9569.jpg', '/home/pi/Desktop/images/31122025/15/32/image_31122025_15_33_05_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/29/image_31122025_15_29_45_9586.jpg
/home/pi/Desktop/images/31122025/15/29/image_31122025_15_29_56_10699.jpg
/home/pi/Desktop/images/31122025/15/30/image_31122025_15_30_35_9559.jpg
/home/pi/Desktop/images/31122025/15/31/image_31122025_15_32_05_10702.jpg
/home/pi/Desktop/images/31122025/15/32/image_31122025_15_32_25_9569.jpg
/home/pi/Desktop/images/31122025/15/32/image_31122025_15_33_05_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910233","1401910232","1401910235","1401910237","1401910240","1401910242"],"photo_ids_order":["1401910232","1401910233","1401910235","1401910237","1401910240","1401910242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b97560a4df6fd48d0fd2d09e61c41d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1002799499398797670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197343659,"filename":"image_31122025_15_29_56_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccd16ef7a8addcbb85d731aa3e01f0da.jpg","text":"TemporaryFile(/tmp/multipartBody5494022294514406918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197343659,"filename":"image_31122025_15_29_45_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac30c54755e615536293b715ce43cac3.jpg","text":"TemporaryFile(/tmp/multipartBody7581154389533169538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197343659,"filename":"image_31122025_15_30_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8da8c3d8f3d8cfb4a06efbdf82cf7b48.jpg","text":"TemporaryFile(/tmp/multipartBody8629128534150215097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197343659,"filename":"image_31122025_15_32_05_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f366e8d6133072efa47e6e7fb5906968.jpg","text":"TemporaryFile(/tmp/multipartBody5083645658073217630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197343659,"filename":"image_31122025_15_32_25_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96f4e8d175cf23d763a92b7620f1a727.jpg","text":"TemporaryFile(/tmp/multipartBody7542475651329681789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197343659,"filename":"image_31122025_15_33_05_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910235","file1":"1401910233","file0":"1401910232","file4":"1401910240","file5":"1401910242","file3":"1401910237"},"map_files_photo_id_array":[{"photo_id":"1401910242","filename":"file5"},{"photo_id":"1401910235","filename":"file2"},{"photo_id":"1401910240","filename":"file4"},{"photo_id":"1401910233","filename":"file1"},{"photo_id":"1401910232","filename":"file0"},{"photo_id":"1401910237","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910233":["hashtag1","hashtag2"]},{"1401910232":["hashtag1","hashtag2"]},{"1401910235":["hashtag1","hashtag2"]},{"1401910237":["hashtag1","hashtag2"]},{"1401910240":["hashtag1","hashtag2"]},{"1401910242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910233, 1401910232, 1401910235, 1401910237, 1401910240, 1401910242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0801317691803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:09:03.613316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/33/image_31122025_15_33_15_9639.jpg', '/home/pi/Desktop/images/31122025/15/33/image_31122025_15_33_25_9651.jpg', '/home/pi/Desktop/images/31122025/15/33/image_31122025_15_33_35_10729.jpg', '/home/pi/Desktop/images/31122025/15/33/image_31122025_15_33_54_9521.jpg', '/home/pi/Desktop/images/31122025/15/34/image_31122025_15_34_15_9728.jpg', '/home/pi/Desktop/images/31122025/15/34/image_31122025_15_34_45_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/33/image_31122025_15_33_15_9639.jpg
/home/pi/Desktop/images/31122025/15/33/image_31122025_15_33_25_9651.jpg
/home/pi/Desktop/images/31122025/15/33/image_31122025_15_33_35_10729.jpg
/home/pi/Desktop/images/31122025/15/33/image_31122025_15_33_54_9521.jpg
/home/pi/Desktop/images/31122025/15/34/image_31122025_15_34_15_9728.jpg
/home/pi/Desktop/images/31122025/15/34/image_31122025_15_34_45_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910274","1401910273","1401910276","1401910279","1401910270","1401910272"],"photo_ids_order":["1401910270","1401910272","1401910273","1401910274","1401910276","1401910279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28f8dee7b66bb14f1fd5005b6e196996.jpg","text":"TemporaryFile(/tmp/multipartBody4616583404980962393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197405202,"filename":"image_31122025_15_33_54_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c252c5c81780749aac400f315162f88.jpg","text":"TemporaryFile(/tmp/multipartBody1954405411498886547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197405202,"filename":"image_31122025_15_33_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c33bf90df66dfcdbace12431750479e.jpg","text":"TemporaryFile(/tmp/multipartBody2242573305600036184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197405202,"filename":"image_31122025_15_34_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bd1f27400d4b996a100a04bca54dfdc.jpg","text":"TemporaryFile(/tmp/multipartBody5242268834366307341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197405202,"filename":"image_31122025_15_34_45_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6c7355d87d2a8ad175528b88c35c923.jpg","text":"TemporaryFile(/tmp/multipartBody4957246155436855386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197405202,"filename":"image_31122025_15_33_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49d8d3e657f8e71be3eeed3a0b4c9e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2361977643610889874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197405202,"filename":"image_31122025_15_33_25_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910273","file1":"1401910272","file0":"1401910270","file4":"1401910276","file5":"1401910279","file3":"1401910274"},"map_files_photo_id_array":[{"photo_id":"1401910279","filename":"file5"},{"photo_id":"1401910273","filename":"file2"},{"photo_id":"1401910276","filename":"file4"},{"photo_id":"1401910272","filename":"file1"},{"photo_id":"1401910270","filename":"file0"},{"photo_id":"1401910274","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910274":["hashtag1","hashtag2"]},{"1401910273":["hashtag1","hashtag2"]},{"1401910276":["hashtag1","hashtag2"]},{"1401910279":["hashtag1","hashtag2"]},{"1401910270":["hashtag1","hashtag2"]},{"1401910272":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910274, 1401910273, 1401910276, 1401910279, 1401910270, 1401910272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53890013694763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:10:02.428035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/35/image_31122025_15_35_25_9749.jpg', '/home/pi/Desktop/images/31122025/15/35/image_31122025_15_35_45_9652.jpg', '/home/pi/Desktop/images/31122025/15/36/image_31122025_15_36_25_9681.jpg', '/home/pi/Desktop/images/31122025/15/36/image_31122025_15_36_45_9507.jpg', '/home/pi/Desktop/images/31122025/15/37/image_31122025_15_37_45_9646.jpg', '/home/pi/Desktop/images/31122025/15/38/image_31122025_15_38_24_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/35/image_31122025_15_35_25_9749.jpg
/home/pi/Desktop/images/31122025/15/35/image_31122025_15_35_45_9652.jpg
/home/pi/Desktop/images/31122025/15/36/image_31122025_15_36_25_9681.jpg
/home/pi/Desktop/images/31122025/15/36/image_31122025_15_36_45_9507.jpg
/home/pi/Desktop/images/31122025/15/37/image_31122025_15_37_45_9646.jpg
/home/pi/Desktop/images/31122025/15/38/image_31122025_15_38_24_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910334","1401910336","1401910339","1401910341","1401910335","1401910338"],"photo_ids_order":["1401910334","1401910335","1401910336","1401910338","1401910339","1401910341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38ac3f9dff0806968a7c0acc85981bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3572744268102630658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197463006,"filename":"image_31122025_15_35_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a95c6b72b1de1b021464bff2fd45d4dd.jpg","text":"TemporaryFile(/tmp/multipartBody614312924879364328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197463006,"filename":"image_31122025_15_36_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79150f390d5aa7171602c573577b5e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6624742484601675331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197463006,"filename":"image_31122025_15_37_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3de44543b165e3ecf0e2205cdac2cbd4.jpg","text":"TemporaryFile(/tmp/multipartBody3612975073885963398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197463006,"filename":"image_31122025_15_38_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e41b64352a417e686a2ae4e29776d303.jpg","text":"TemporaryFile(/tmp/multipartBody3564189474197885615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197463006,"filename":"image_31122025_15_35_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6579c457e822055892a9c52e5e222b3.jpg","text":"TemporaryFile(/tmp/multipartBody2103838068118516649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197463006,"filename":"image_31122025_15_36_45_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910336","file1":"1401910335","file0":"1401910334","file4":"1401910339","file5":"1401910341","file3":"1401910338"},"map_files_photo_id_array":[{"photo_id":"1401910341","filename":"file5"},{"photo_id":"1401910336","filename":"file2"},{"photo_id":"1401910339","filename":"file4"},{"photo_id":"1401910335","filename":"file1"},{"photo_id":"1401910334","filename":"file0"},{"photo_id":"1401910338","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910334":["hashtag1","hashtag2"]},{"1401910336":["hashtag1","hashtag2"]},{"1401910339":["hashtag1","hashtag2"]},{"1401910341":["hashtag1","hashtag2"]},{"1401910335":["hashtag1","hashtag2"]},{"1401910338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910334, 1401910336, 1401910339, 1401910341, 1401910335, 1401910338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82525587081909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:10:41.978899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_29_2587.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_32_2777.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_35_3645.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_39_3556.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_41_1762.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_44_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_29_2587.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_32_2777.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_35_3645.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_39_3556.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_41_1762.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_44_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910352","1401910355","1401910351","1401910353","1401910347","1401910350"],"photo_ids_order":["1401910347","1401910350","1401910351","1401910352","1401910353","1401910355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21e09d10155e74dd3c7f5fb361726b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4770013444053731489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197503682,"filename":"image_03112025_19_19_39_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5610b825d905b454a4bde99272221c66.jpg","text":"TemporaryFile(/tmp/multipartBody6367284730749218488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197503682,"filename":"image_03112025_19_19_44_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04a3efb71369154dd1e52ddb820350d5.jpg","text":"TemporaryFile(/tmp/multipartBody1234505261204527990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197503682,"filename":"image_03112025_19_19_35_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9f98a798cdc92d7dacbd31efa745a8d.jpg","text":"TemporaryFile(/tmp/multipartBody310038612333188599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197503682,"filename":"image_03112025_19_19_41_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33e2582917fbdb38c0179b04c2b628aa.jpg","text":"TemporaryFile(/tmp/multipartBody8899453941902700021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197503682,"filename":"image_03112025_19_19_29_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/487887d708a0937ed780fd378ab966a7.jpg","text":"TemporaryFile(/tmp/multipartBody7729084529823372850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197503682,"filename":"image_03112025_19_19_32_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910351","file1":"1401910350","file0":"1401910347","file4":"1401910353","file5":"1401910355","file3":"1401910352"},"map_files_photo_id_array":[{"photo_id":"1401910355","filename":"file5"},{"photo_id":"1401910351","filename":"file2"},{"photo_id":"1401910353","filename":"file4"},{"photo_id":"1401910350","filename":"file1"},{"photo_id":"1401910347","filename":"file0"},{"photo_id":"1401910352","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401910352":["hashtag1","hashtag2"]},{"1401910355":["hashtag1","hashtag2"]},{"1401910351":["hashtag1","hashtag2"]},{"1401910353":["hashtag1","hashtag2"]},{"1401910347":["hashtag1","hashtag2"]},{"1401910350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401910352, 1401910355, 1401910351, 1401910353, 1401910347, 1401910350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77898454666138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:11:22.175193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/39/image_31122025_15_39_15_9727.jpg', '/home/pi/Desktop/images/31122025/15/39/image_31122025_15_39_45_9578.jpg', '/home/pi/Desktop/images/31122025/15/40/image_31122025_15_40_25_9634.jpg', '/home/pi/Desktop/images/31122025/15/40/image_31122025_15_40_35_10690.jpg', '/home/pi/Desktop/images/31122025/15/40/image_31122025_15_41_05_10593.jpg', '/home/pi/Desktop/images/31122025/15/41/image_31122025_15_41_45_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/39/image_31122025_15_39_15_9727.jpg
/home/pi/Desktop/images/31122025/15/39/image_31122025_15_39_45_9578.jpg
/home/pi/Desktop/images/31122025/15/40/image_31122025_15_40_25_9634.jpg
/home/pi/Desktop/images/31122025/15/40/image_31122025_15_40_35_10690.jpg
/home/pi/Desktop/images/31122025/15/40/image_31122025_15_41_05_10593.jpg
/home/pi/Desktop/images/31122025/15/41/image_31122025_15_41_45_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910361","1401910360","1401910363","1401910366","1401910359","1401910362"],"photo_ids_order":["1401910359","1401910360","1401910361","1401910362","1401910363","1401910366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53eb8d862b464eddd178587dbe5ec50e.jpg","text":"TemporaryFile(/tmp/multipartBody5945691075157544567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197542728,"filename":"image_31122025_15_40_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80b1d9686f56a83446e801a4d3f4e062.jpg","text":"TemporaryFile(/tmp/multipartBody30655149120456973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197542728,"filename":"image_31122025_15_39_45_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b57b18f0382e94e2fcfb96cee03c1278.jpg","text":"TemporaryFile(/tmp/multipartBody8911647178774812059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197542728,"filename":"image_31122025_15_41_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbb8aac376d81067ea6ad47b39850328.jpg","text":"TemporaryFile(/tmp/multipartBody6575209607978796632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197542728,"filename":"image_31122025_15_41_45_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e41afe0e63667aa56936d49323b402b9.jpg","text":"TemporaryFile(/tmp/multipartBody5582420436274163607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197542728,"filename":"image_31122025_15_39_15_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f790081c37f4f1a3871f018e05750e07.jpg","text":"TemporaryFile(/tmp/multipartBody7311087932150538889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197542728,"filename":"image_31122025_15_40_35_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910361","file1":"1401910360","file0":"1401910359","file4":"1401910363","file5":"1401910366","file3":"1401910362"},"map_files_photo_id_array":[{"photo_id":"1401910366","filename":"file5"},{"photo_id":"1401910361","filename":"file2"},{"photo_id":"1401910363","filename":"file4"},{"photo_id":"1401910360","filename":"file1"},{"photo_id":"1401910359","filename":"file0"},{"photo_id":"1401910362","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910361":["hashtag1","hashtag2"]},{"1401910360":["hashtag1","hashtag2"]},{"1401910363":["hashtag1","hashtag2"]},{"1401910366":["hashtag1","hashtag2"]},{"1401910359":["hashtag1","hashtag2"]},{"1401910362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910361, 1401910360, 1401910363, 1401910366, 1401910359, 1401910362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49275875091553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:12:02.815521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/41/image_31122025_15_42_04_9669.jpg', '/home/pi/Desktop/images/31122025/15/42/image_31122025_15_42_45_9706.jpg', '/home/pi/Desktop/images/31122025/15/43/image_31122025_15_43_15_9606.jpg', '/home/pi/Desktop/images/31122025/15/43/image_31122025_15_43_55_9666.jpg', '/home/pi/Desktop/images/31122025/15/44/image_31122025_15_44_15_9681.jpg', '/home/pi/Desktop/images/31122025/15/44/image_31122025_15_44_25_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/41/image_31122025_15_42_04_9669.jpg
/home/pi/Desktop/images/31122025/15/42/image_31122025_15_42_45_9706.jpg
/home/pi/Desktop/images/31122025/15/43/image_31122025_15_43_15_9606.jpg
/home/pi/Desktop/images/31122025/15/43/image_31122025_15_43_55_9666.jpg
/home/pi/Desktop/images/31122025/15/44/image_31122025_15_44_15_9681.jpg
/home/pi/Desktop/images/31122025/15/44/image_31122025_15_44_25_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910407","1401910390","1401910372","1401910405","1401910402","1401910374"],"photo_ids_order":["1401910372","1401910374","1401910390","1401910402","1401910405","1401910407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e1226d6c838de94009831d3ce7adee1.jpg","text":"TemporaryFile(/tmp/multipartBody4163973394992772275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197583410,"filename":"image_31122025_15_44_25_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b706d05b6fdeb9e6bf336c7115c19e16.jpg","text":"TemporaryFile(/tmp/multipartBody101310351343049066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197583410,"filename":"image_31122025_15_43_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26c815c5576a24ac3e7582a9f9aa1311.jpg","text":"TemporaryFile(/tmp/multipartBody4975155724789211187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197583410,"filename":"image_31122025_15_42_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02b127c261d1d173290a9802537505a0.jpg","text":"TemporaryFile(/tmp/multipartBody1491772217021886653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197583410,"filename":"image_31122025_15_44_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7061ad523c4b10799701764d1bbae719.jpg","text":"TemporaryFile(/tmp/multipartBody7916787754614796853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197583410,"filename":"image_31122025_15_43_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbb5c9630277216f625dac71df5ae594.jpg","text":"TemporaryFile(/tmp/multipartBody3566420571136241450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197583410,"filename":"image_31122025_15_42_45_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910390","file1":"1401910374","file0":"1401910372","file4":"1401910405","file5":"1401910407","file3":"1401910402"},"map_files_photo_id_array":[{"photo_id":"1401910407","filename":"file5"},{"photo_id":"1401910390","filename":"file2"},{"photo_id":"1401910405","filename":"file4"},{"photo_id":"1401910374","filename":"file1"},{"photo_id":"1401910372","filename":"file0"},{"photo_id":"1401910402","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910407":["hashtag1","hashtag2"]},{"1401910390":["hashtag1","hashtag2"]},{"1401910372":["hashtag1","hashtag2"]},{"1401910405":["hashtag1","hashtag2"]},{"1401910402":["hashtag1","hashtag2"]},{"1401910374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910407, 1401910390, 1401910372, 1401910405, 1401910402, 1401910374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10745620727539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:12:42.457656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_47_2517.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_50_2795.jpg', '/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_58_8759.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_02_3131.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_05_1653.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_06_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_47_2517.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_50_2795.jpg
/home/pi/Desktop/images/03112025/19/19/image_03112025_19_19_58_8759.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_02_3131.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_05_1653.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_06_1622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910510","1401910504","1401910491","1401910551","1401910512","1401910509"],"photo_ids_order":["1401910491","1401910504","1401910509","1401910510","1401910512","1401910551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee73d08b1636f998ba4437547c1a7e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4295564002158554914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197624271,"filename":"image_03112025_19_20_02_3131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ba50ba25041b23322031e9419dc4c84.jpg","text":"TemporaryFile(/tmp/multipartBody4005469272428393717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197624271,"filename":"image_03112025_19_19_50_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d69c2547194462c3edf5399e38365aa6.jpg","text":"TemporaryFile(/tmp/multipartBody70263732532683467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197624271,"filename":"image_03112025_19_19_47_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbcc54f93fe7a2b9bb62648e4e31073d.jpg","text":"TemporaryFile(/tmp/multipartBody186943724764418262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197624271,"filename":"image_03112025_19_20_06_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d848c90cc223722e832ad39cc34a531b.jpg","text":"TemporaryFile(/tmp/multipartBody729569758760478105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197624271,"filename":"image_03112025_19_20_05_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83a9f9e97f7023a3c42c3c53194165bc.jpg","text":"TemporaryFile(/tmp/multipartBody127174841028417275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197624271,"filename":"image_03112025_19_19_58_8759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910509","file1":"1401910504","file0":"1401910491","file4":"1401910512","file5":"1401910551","file3":"1401910510"},"map_files_photo_id_array":[{"photo_id":"1401910551","filename":"file5"},{"photo_id":"1401910509","filename":"file2"},{"photo_id":"1401910512","filename":"file4"},{"photo_id":"1401910504","filename":"file1"},{"photo_id":"1401910491","filename":"file0"},{"photo_id":"1401910510","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401910510":["hashtag1","hashtag2"]},{"1401910504":["hashtag1","hashtag2"]},{"1401910491":["hashtag1","hashtag2"]},{"1401910551":["hashtag1","hashtag2"]},{"1401910512":["hashtag1","hashtag2"]},{"1401910509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401910510, 1401910504, 1401910491, 1401910551, 1401910512, 1401910509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92158794403076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:13:22.645014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/44/image_31122025_15_44_45_9525.jpg', '/home/pi/Desktop/images/31122025/15/45/image_31122025_15_45_15_10646.jpg', '/home/pi/Desktop/images/31122025/15/45/image_31122025_15_45_35_9519.jpg', '/home/pi/Desktop/images/31122025/15/46/image_31122025_15_46_15_10627.jpg', '/home/pi/Desktop/images/31122025/15/46/image_31122025_15_46_55_9774.jpg', '/home/pi/Desktop/images/31122025/15/47/image_31122025_15_47_14_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/44/image_31122025_15_44_45_9525.jpg
/home/pi/Desktop/images/31122025/15/45/image_31122025_15_45_15_10646.jpg
/home/pi/Desktop/images/31122025/15/45/image_31122025_15_45_35_9519.jpg
/home/pi/Desktop/images/31122025/15/46/image_31122025_15_46_15_10627.jpg
/home/pi/Desktop/images/31122025/15/46/image_31122025_15_46_55_9774.jpg
/home/pi/Desktop/images/31122025/15/47/image_31122025_15_47_14_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401910631","1401910588","1401910552","1401910674","1401910677","1401910665"],"photo_ids_order":["1401910552","1401910588","1401910631","1401910665","1401910674","1401910677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50a1ed5de93d17fd385bc7fbd551a332.jpg","text":"TemporaryFile(/tmp/multipartBody3103963829515257594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197663189,"filename":"image_31122025_15_45_35_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1450b646e5e64cfa4d527034fe01891a.jpg","text":"TemporaryFile(/tmp/multipartBody442425305327787212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197663189,"filename":"image_31122025_15_45_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/304df61fa3079c9a8344dcd9bf25347e.jpg","text":"TemporaryFile(/tmp/multipartBody6906500977712424087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197663189,"filename":"image_31122025_15_44_45_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee48d52d926f37f3f7a9ee06b86fbb2d.jpg","text":"TemporaryFile(/tmp/multipartBody5563791513702486559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197663189,"filename":"image_31122025_15_46_55_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78727547334e35cb60647f3f991bd427.jpg","text":"TemporaryFile(/tmp/multipartBody6508486348154897364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197663189,"filename":"image_31122025_15_47_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ccf15d1ab573478114b9b1bac3c1642.jpg","text":"TemporaryFile(/tmp/multipartBody1609574462724024792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197663189,"filename":"image_31122025_15_46_15_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910631","file1":"1401910588","file0":"1401910552","file4":"1401910674","file5":"1401910677","file3":"1401910665"},"map_files_photo_id_array":[{"photo_id":"1401910677","filename":"file5"},{"photo_id":"1401910631","filename":"file2"},{"photo_id":"1401910674","filename":"file4"},{"photo_id":"1401910588","filename":"file1"},{"photo_id":"1401910552","filename":"file0"},{"photo_id":"1401910665","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401910631":["hashtag1","hashtag2"]},{"1401910588":["hashtag1","hashtag2"]},{"1401910552":["hashtag1","hashtag2"]},{"1401910674":["hashtag1","hashtag2"]},{"1401910677":["hashtag1","hashtag2"]},{"1401910665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401910631, 1401910588, 1401910552, 1401910674, 1401910677, 1401910665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87476944923401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:14:03.376697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/47/image_31122025_15_47_45_9761.jpg', '/home/pi/Desktop/images/31122025/15/47/image_31122025_15_48_05_10638.jpg', '/home/pi/Desktop/images/31122025/15/48/image_31122025_15_48_15_9726.jpg', '/home/pi/Desktop/images/31122025/15/48/image_31122025_15_48_35_10694.jpg', '/home/pi/Desktop/images/31122025/15/49/image_31122025_15_49_25_9568.jpg', '/home/pi/Desktop/images/31122025/15/49/image_31122025_15_49_55_9515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/47/image_31122025_15_47_45_9761.jpg
/home/pi/Desktop/images/31122025/15/47/image_31122025_15_48_05_10638.jpg
/home/pi/Desktop/images/31122025/15/48/image_31122025_15_48_15_9726.jpg
/home/pi/Desktop/images/31122025/15/48/image_31122025_15_48_35_10694.jpg
/home/pi/Desktop/images/31122025/15/49/image_31122025_15_49_25_9568.jpg
/home/pi/Desktop/images/31122025/15/49/image_31122025_15_49_55_9515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401911036","1401910744","1401910933","1401910813","1401910720","1401910717"],"photo_ids_order":["1401910717","1401910720","1401910744","1401910813","1401910933","1401911036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c74f1240d248c92335a8a5acc8fc2aab.jpg","text":"TemporaryFile(/tmp/multipartBody1089388916951113760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197704030,"filename":"image_31122025_15_49_55_9515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb229c19da61797e0f3d164b97a157ae.jpg","text":"TemporaryFile(/tmp/multipartBody5671081363474688159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197704030,"filename":"image_31122025_15_48_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aff658e4f87218857f80d5ce7a7d10fe.jpg","text":"TemporaryFile(/tmp/multipartBody4010713626942449754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197704030,"filename":"image_31122025_15_49_25_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68f90fc14d4c2d20498497e270997304.jpg","text":"TemporaryFile(/tmp/multipartBody9059832690205524766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197704030,"filename":"image_31122025_15_48_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75767387161c95a57ef4bb31e2f71ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8656452571010127392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197704030,"filename":"image_31122025_15_48_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92fc9c05d202498c27e0f4c6ebb3088d.jpg","text":"TemporaryFile(/tmp/multipartBody4704890529385299369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197704030,"filename":"image_31122025_15_47_45_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401910744","file1":"1401910720","file0":"1401910717","file4":"1401910933","file5":"1401911036","file3":"1401910813"},"map_files_photo_id_array":[{"photo_id":"1401911036","filename":"file5"},{"photo_id":"1401910744","filename":"file2"},{"photo_id":"1401910933","filename":"file4"},{"photo_id":"1401910720","filename":"file1"},{"photo_id":"1401910717","filename":"file0"},{"photo_id":"1401910813","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401911036":["hashtag1","hashtag2"]},{"1401910744":["hashtag1","hashtag2"]},{"1401910933":["hashtag1","hashtag2"]},{"1401910813":["hashtag1","hashtag2"]},{"1401910720":["hashtag1","hashtag2"]},{"1401910717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401911036, 1401910744, 1401910933, 1401910813, 1401910720, 1401910717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35181498527527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:14:42.863848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_12_5805.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_14_1716.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_15_1533.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_20_3333.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_28_7123.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_29_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_12_5805.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_14_1716.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_15_1533.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_20_3333.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_28_7123.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_29_1557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401911852","1401911747","1401911549","1401911431","1401911967","1401911651"],"photo_ids_order":["1401911431","1401911549","1401911651","1401911747","1401911852","1401911967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7de7f7e661da3f533e29db315386fbe6.jpg","text":"TemporaryFile(/tmp/multipartBody4588582025011840244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197744683,"filename":"image_03112025_19_20_28_7123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98e57f31ad7252e89641a840be547dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2102375225456361485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197744683,"filename":"image_03112025_19_20_20_3333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/774f03556bf22932498e4c1581445391.jpg","text":"TemporaryFile(/tmp/multipartBody2708834670965457529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197744683,"filename":"image_03112025_19_20_14_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f9b77482752e94997bc70a70a9decce.jpg","text":"TemporaryFile(/tmp/multipartBody4478859077607529902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197744683,"filename":"image_03112025_19_20_12_5805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/367d0106ca33b7d684333692c7bb33e4.jpg","text":"TemporaryFile(/tmp/multipartBody7416256842813319778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197744683,"filename":"image_03112025_19_20_29_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8592cb212b9b66bad5420733166d90fe.jpg","text":"TemporaryFile(/tmp/multipartBody8765957434622417248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197744683,"filename":"image_03112025_19_20_15_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401911651","file1":"1401911549","file0":"1401911431","file4":"1401911852","file5":"1401911967","file3":"1401911747"},"map_files_photo_id_array":[{"photo_id":"1401911967","filename":"file5"},{"photo_id":"1401911651","filename":"file2"},{"photo_id":"1401911852","filename":"file4"},{"photo_id":"1401911549","filename":"file1"},{"photo_id":"1401911431","filename":"file0"},{"photo_id":"1401911747","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401911852":["hashtag1","hashtag2"]},{"1401911747":["hashtag1","hashtag2"]},{"1401911549":["hashtag1","hashtag2"]},{"1401911431":["hashtag1","hashtag2"]},{"1401911967":["hashtag1","hashtag2"]},{"1401911651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401911852, 1401911747, 1401911549, 1401911431, 1401911967, 1401911651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64017987251282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:15:32.051063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_31_1583.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_32_1640.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_37_5079.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_44_1632.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_53_2723.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_59_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_31_1583.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_32_1640.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_37_5079.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_44_1632.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_53_2723.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_59_3637.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7159645557403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:15:42.040706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_31_1583.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_32_1640.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_37_5079.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_44_1632.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_53_2723.jpg', '/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_59_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_31_1583.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_32_1640.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_37_5079.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_44_1632.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_53_2723.jpg
/home/pi/Desktop/images/03112025/19/20/image_03112025_19_20_59_3637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401912271","1401912268","1401912273","1401912266","1401912275","1401912263"],"photo_ids_order":["1401912263","1401912266","1401912268","1401912271","1401912273","1401912275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/772b0c204b28311c92f2454c72ad782b.jpg","text":"TemporaryFile(/tmp/multipartBody3217176596259587397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197803775,"filename":"image_03112025_19_20_44_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc8c22f0af2b81488ffe9e704fc01733.jpg","text":"TemporaryFile(/tmp/multipartBody333941571882601470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197803775,"filename":"image_03112025_19_20_37_5079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28c26b2cebcc6793d8dd10343da684c3.jpg","text":"TemporaryFile(/tmp/multipartBody2915169060420888224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197803775,"filename":"image_03112025_19_20_53_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5eef0c130b8e393f0eb7b11381bdebde.jpg","text":"TemporaryFile(/tmp/multipartBody5747387374879532347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197803775,"filename":"image_03112025_19_20_32_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16e7f7bd085ee6614ce7489261594701.jpg","text":"TemporaryFile(/tmp/multipartBody1896197957991247064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197803775,"filename":"image_03112025_19_20_59_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a24824b7d7b01feaa4cf3428bbd1854.jpg","text":"TemporaryFile(/tmp/multipartBody5091744181023626592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197803775,"filename":"image_03112025_19_20_31_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912268","file1":"1401912266","file0":"1401912263","file4":"1401912273","file5":"1401912275","file3":"1401912271"},"map_files_photo_id_array":[{"photo_id":"1401912275","filename":"file5"},{"photo_id":"1401912268","filename":"file2"},{"photo_id":"1401912273","filename":"file4"},{"photo_id":"1401912266","filename":"file1"},{"photo_id":"1401912263","filename":"file0"},{"photo_id":"1401912271","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401912271":["hashtag1","hashtag2"]},{"1401912268":["hashtag1","hashtag2"]},{"1401912273":["hashtag1","hashtag2"]},{"1401912266":["hashtag1","hashtag2"]},{"1401912275":["hashtag1","hashtag2"]},{"1401912263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401912271, 1401912268, 1401912273, 1401912266, 1401912275, 1401912263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.061320543289185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:16:22.234234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/49/image_31122025_15_50_04_9808.jpg', '/home/pi/Desktop/images/31122025/15/50/image_31122025_15_50_15_10599.jpg', '/home/pi/Desktop/images/31122025/15/50/image_31122025_15_50_34_9723.jpg', '/home/pi/Desktop/images/31122025/15/50/image_31122025_15_50_45_10680.jpg', '/home/pi/Desktop/images/31122025/15/50/image_31122025_15_51_05_9623.jpg', '/home/pi/Desktop/images/31122025/15/51/image_31122025_15_51_15_10801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/49/image_31122025_15_50_04_9808.jpg
/home/pi/Desktop/images/31122025/15/50/image_31122025_15_50_15_10599.jpg
/home/pi/Desktop/images/31122025/15/50/image_31122025_15_50_34_9723.jpg
/home/pi/Desktop/images/31122025/15/50/image_31122025_15_50_45_10680.jpg
/home/pi/Desktop/images/31122025/15/50/image_31122025_15_51_05_9623.jpg
/home/pi/Desktop/images/31122025/15/51/image_31122025_15_51_15_10801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401912326","1401912280","1401912439","1401912573","1401912282","1401912278"],"photo_ids_order":["1401912278","1401912280","1401912282","1401912326","1401912439","1401912573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/442cf6a18d5823b35fb6f2b47844ff83.jpg","text":"TemporaryFile(/tmp/multipartBody5996986130828524307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197842872,"filename":"image_31122025_15_50_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/323e17250337e7145548aaf37a250535.jpg","text":"TemporaryFile(/tmp/multipartBody8820665847689730432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197842872,"filename":"image_31122025_15_50_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c4d796fa03e716da73f83c931cbb2fe.jpg","text":"TemporaryFile(/tmp/multipartBody2368371021393961609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197842872,"filename":"image_31122025_15_51_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94fce6b6543f1a269ee37e1c4944660d.jpg","text":"TemporaryFile(/tmp/multipartBody3051126811213544744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197842872,"filename":"image_31122025_15_51_15_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5527df6f36c04ce7c47b32b4d78b61e9.jpg","text":"TemporaryFile(/tmp/multipartBody6276885845358551807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197842872,"filename":"image_31122025_15_50_34_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15dcb0254895cc2f593822f62be3519d.jpg","text":"TemporaryFile(/tmp/multipartBody3963833135281392218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197842872,"filename":"image_31122025_15_50_04_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912282","file1":"1401912280","file0":"1401912278","file4":"1401912439","file5":"1401912573","file3":"1401912326"},"map_files_photo_id_array":[{"photo_id":"1401912573","filename":"file5"},{"photo_id":"1401912282","filename":"file2"},{"photo_id":"1401912439","filename":"file4"},{"photo_id":"1401912280","filename":"file1"},{"photo_id":"1401912278","filename":"file0"},{"photo_id":"1401912326","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401912326":["hashtag1","hashtag2"]},{"1401912280":["hashtag1","hashtag2"]},{"1401912439":["hashtag1","hashtag2"]},{"1401912573":["hashtag1","hashtag2"]},{"1401912282":["hashtag1","hashtag2"]},{"1401912278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401912326, 1401912280, 1401912439, 1401912573, 1401912282, 1401912278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48632740974426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:17:03.115852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/51/image_31122025_15_51_45_10680.jpg', '/home/pi/Desktop/images/31122025/15/52/image_31122025_15_52_15_10822.jpg', '/home/pi/Desktop/images/31122025/15/52/image_31122025_15_52_45_10746.jpg', '/home/pi/Desktop/images/31122025/15/53/image_31122025_15_53_35_9796.jpg', '/home/pi/Desktop/images/31122025/15/54/image_31122025_15_54_15_9558.jpg', '/home/pi/Desktop/images/31122025/15/54/image_31122025_15_55_05_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/51/image_31122025_15_51_45_10680.jpg
/home/pi/Desktop/images/31122025/15/52/image_31122025_15_52_15_10822.jpg
/home/pi/Desktop/images/31122025/15/52/image_31122025_15_52_45_10746.jpg
/home/pi/Desktop/images/31122025/15/53/image_31122025_15_53_35_9796.jpg
/home/pi/Desktop/images/31122025/15/54/image_31122025_15_54_15_9558.jpg
/home/pi/Desktop/images/31122025/15/54/image_31122025_15_55_05_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401912688","1401912760","1401912690","1401912771","1401912689","1401912770"],"photo_ids_order":["1401912688","1401912689","1401912690","1401912760","1401912770","1401912771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/278900cd76280cecbf8258405d613d0c.jpg","text":"TemporaryFile(/tmp/multipartBody156372228174308205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197883707,"filename":"image_31122025_15_51_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df982225869087762535bc32f5b2a528.jpg","text":"TemporaryFile(/tmp/multipartBody1288712266244790670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197883707,"filename":"image_31122025_15_53_35_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/913e9f27b1d4fb7d34557b1913f8ff89.jpg","text":"TemporaryFile(/tmp/multipartBody8303520355199921282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197883707,"filename":"image_31122025_15_52_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f90638be8c1d4ef9712d347c7b96301.jpg","text":"TemporaryFile(/tmp/multipartBody2969151157480755743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197883707,"filename":"image_31122025_15_55_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d51087ade84e66d3525095207e977dae.jpg","text":"TemporaryFile(/tmp/multipartBody6219820091010195761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197883707,"filename":"image_31122025_15_52_15_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/894e901866b1cfefe66c96db1e32c186.jpg","text":"TemporaryFile(/tmp/multipartBody849093437535934007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197883707,"filename":"image_31122025_15_54_15_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912690","file1":"1401912689","file0":"1401912688","file4":"1401912770","file5":"1401912771","file3":"1401912760"},"map_files_photo_id_array":[{"photo_id":"1401912771","filename":"file5"},{"photo_id":"1401912690","filename":"file2"},{"photo_id":"1401912770","filename":"file4"},{"photo_id":"1401912689","filename":"file1"},{"photo_id":"1401912688","filename":"file0"},{"photo_id":"1401912760","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401912688":["hashtag1","hashtag2"]},{"1401912760":["hashtag1","hashtag2"]},{"1401912690":["hashtag1","hashtag2"]},{"1401912771":["hashtag1","hashtag2"]},{"1401912689":["hashtag1","hashtag2"]},{"1401912770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401912688, 1401912760, 1401912690, 1401912771, 1401912689, 1401912770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.752885580062866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:17:42.372958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_05_2828.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_08_3611.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_17_2619.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_20_3642.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_23_2772.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_26_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_05_2828.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_08_3611.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_17_2619.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_20_3642.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_23_2772.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_26_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401912886","1401912889","1401912876","1401912885","1401912884","1401912887"],"photo_ids_order":["1401912876","1401912884","1401912885","1401912886","1401912887","1401912889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8949dc2e0593569da19de183305084c4.jpg","text":"TemporaryFile(/tmp/multipartBody3525953910036446017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197924183,"filename":"image_03112025_19_21_20_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44507173d56093608d845826c763371d.jpg","text":"TemporaryFile(/tmp/multipartBody2675811429393655703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197924183,"filename":"image_03112025_19_21_26_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbbc4caa1cde0672612b5859a3133220.jpg","text":"TemporaryFile(/tmp/multipartBody4886681453991399622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197924183,"filename":"image_03112025_19_21_05_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d52d260058e168732713e3a132fe1913.jpg","text":"TemporaryFile(/tmp/multipartBody527654347048841147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197924183,"filename":"image_03112025_19_21_17_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e52bb584b4f2725e97a0504852c44bd.jpg","text":"TemporaryFile(/tmp/multipartBody4541918487956998388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197924183,"filename":"image_03112025_19_21_08_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5f33ff0c4e1c5325a169d151e942ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8682735712112848024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197924183,"filename":"image_03112025_19_21_23_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912885","file1":"1401912884","file0":"1401912876","file4":"1401912887","file5":"1401912889","file3":"1401912886"},"map_files_photo_id_array":[{"photo_id":"1401912889","filename":"file5"},{"photo_id":"1401912885","filename":"file2"},{"photo_id":"1401912887","filename":"file4"},{"photo_id":"1401912884","filename":"file1"},{"photo_id":"1401912876","filename":"file0"},{"photo_id":"1401912886","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401912886":["hashtag1","hashtag2"]},{"1401912889":["hashtag1","hashtag2"]},{"1401912876":["hashtag1","hashtag2"]},{"1401912885":["hashtag1","hashtag2"]},{"1401912884":["hashtag1","hashtag2"]},{"1401912887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401912886, 1401912889, 1401912876, 1401912885, 1401912884, 1401912887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36130690574646 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:18:32.620182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_28_2706.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_32_3751.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_37_1636.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_43_5185.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_44_1468.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_47_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_28_2706.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_32_3751.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_37_1636.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_43_5185.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_44_1468.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_47_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401912898","1401912901","1401912903","1401912893","1401912902","1401912895"],"photo_ids_order":["1401912893","1401912895","1401912898","1401912901","1401912902","1401912903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb80bb6f7730a79ac4f03a353ae1ccb8.jpg","text":"TemporaryFile(/tmp/multipartBody7416867350739731713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197974429,"filename":"image_03112025_19_21_37_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/220bbacc1a05f3e5635d6b75a0e09688.jpg","text":"TemporaryFile(/tmp/multipartBody6303428610998266891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197974429,"filename":"image_03112025_19_21_43_5185.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4e9b36e38f093979aae6c2c1c5bd4d6.jpg","text":"TemporaryFile(/tmp/multipartBody757655557759927967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197974429,"filename":"image_03112025_19_21_47_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/932af09af4955028c353e2a0f2257a15.jpg","text":"TemporaryFile(/tmp/multipartBody2248501386058760978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197974429,"filename":"image_03112025_19_21_28_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06d5e405f0318086e3cebede171fb2b3.jpg","text":"TemporaryFile(/tmp/multipartBody1150901573084449930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197974429,"filename":"image_03112025_19_21_44_1468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6ad4ec2c3b64aebfa13c7ab666514f1.jpg","text":"TemporaryFile(/tmp/multipartBody465039111441032563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767197974429,"filename":"image_03112025_19_21_32_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912898","file1":"1401912895","file0":"1401912893","file4":"1401912902","file5":"1401912903","file3":"1401912901"},"map_files_photo_id_array":[{"photo_id":"1401912903","filename":"file5"},{"photo_id":"1401912898","filename":"file2"},{"photo_id":"1401912902","filename":"file4"},{"photo_id":"1401912895","filename":"file1"},{"photo_id":"1401912893","filename":"file0"},{"photo_id":"1401912901","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401912898":["hashtag1","hashtag2"]},{"1401912901":["hashtag1","hashtag2"]},{"1401912903":["hashtag1","hashtag2"]},{"1401912893":["hashtag1","hashtag2"]},{"1401912902":["hashtag1","hashtag2"]},{"1401912895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401912898, 1401912901, 1401912903, 1401912893, 1401912902, 1401912895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57551145553589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:19:12.707064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_57_5930.jpg', '/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_59_1518.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_02_1579.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_11_3604.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_15_4151.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_17_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_57_5930.jpg
/home/pi/Desktop/images/03112025/19/21/image_03112025_19_21_59_1518.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_02_1579.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_11_3604.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_15_4151.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_17_1657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401912934","1401912913","1401912937","1401912910","1401912936","1401912911"],"photo_ids_order":["1401912910","1401912911","1401912913","1401912934","1401912936","1401912937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dec4eeb19e9680426efe42c97c09fbd.jpg","text":"TemporaryFile(/tmp/multipartBody9050369970872918319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198014434,"filename":"image_03112025_19_22_11_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/456c18040237993f6d1311c671575e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5104042214754405832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198014434,"filename":"image_03112025_19_22_02_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e00daf2e990352db0d64aaf40317704.jpg","text":"TemporaryFile(/tmp/multipartBody9194142862686956957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198014434,"filename":"image_03112025_19_22_17_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db47a7b73c4be10ef8da46d515e4db9a.jpg","text":"TemporaryFile(/tmp/multipartBody2208503028444684883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198014434,"filename":"image_03112025_19_21_57_5930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe33c753793585cad6169710a2251657.jpg","text":"TemporaryFile(/tmp/multipartBody2301548818666727798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198014434,"filename":"image_03112025_19_22_15_4151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28972579d035c6ff4c2a518186ccee10.jpg","text":"TemporaryFile(/tmp/multipartBody1847205103044832413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198014434,"filename":"image_03112025_19_21_59_1518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912913","file1":"1401912911","file0":"1401912910","file4":"1401912936","file5":"1401912937","file3":"1401912934"},"map_files_photo_id_array":[{"photo_id":"1401912937","filename":"file5"},{"photo_id":"1401912913","filename":"file2"},{"photo_id":"1401912936","filename":"file4"},{"photo_id":"1401912911","filename":"file1"},{"photo_id":"1401912910","filename":"file0"},{"photo_id":"1401912934","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401912934":["hashtag1","hashtag2"]},{"1401912913":["hashtag1","hashtag2"]},{"1401912937":["hashtag1","hashtag2"]},{"1401912910":["hashtag1","hashtag2"]},{"1401912936":["hashtag1","hashtag2"]},{"1401912911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401912934, 1401912913, 1401912937, 1401912910, 1401912936, 1401912911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17755484580994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:20:02.361931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/55/image_31122025_15_55_45_9566.jpg', '/home/pi/Desktop/images/31122025/15/56/image_31122025_15_56_25_10664.jpg', '/home/pi/Desktop/images/31122025/15/56/image_31122025_15_56_45_9667.jpg', '/home/pi/Desktop/images/31122025/15/56/image_31122025_15_56_55_10736.jpg', '/home/pi/Desktop/images/31122025/15/56/image_31122025_15_57_05_9575.jpg', '/home/pi/Desktop/images/31122025/15/57/image_31122025_15_57_15_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/55/image_31122025_15_55_45_9566.jpg
/home/pi/Desktop/images/31122025/15/56/image_31122025_15_56_25_10664.jpg
/home/pi/Desktop/images/31122025/15/56/image_31122025_15_56_45_9667.jpg
/home/pi/Desktop/images/31122025/15/56/image_31122025_15_56_55_10736.jpg
/home/pi/Desktop/images/31122025/15/56/image_31122025_15_57_05_9575.jpg
/home/pi/Desktop/images/31122025/15/57/image_31122025_15_57_15_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401912943","1401912942","1401912945","1401912947","1401912941","1401912944"],"photo_ids_order":["1401912941","1401912942","1401912943","1401912944","1401912945","1401912947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7ba2dd1398ae59904b7970ea6911dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7306494694204404439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198062962,"filename":"image_31122025_15_56_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b762d210e75c82d5c8d7309fa445cba.jpg","text":"TemporaryFile(/tmp/multipartBody6314785793534932715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198062962,"filename":"image_31122025_15_56_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d3c27b84f0689d1df4e187c95383ffc.jpg","text":"TemporaryFile(/tmp/multipartBody850481455697532306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198062962,"filename":"image_31122025_15_57_05_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb1056705635c4490d68dfec90cf1fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4073787125307479922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198062962,"filename":"image_31122025_15_57_15_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ca06ba9ea58d59dfe6b766c1c3dc770.jpg","text":"TemporaryFile(/tmp/multipartBody4840314558062353065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198062962,"filename":"image_31122025_15_55_45_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8258b1b4521b35be020373b31d4fd4f4.jpg","text":"TemporaryFile(/tmp/multipartBody5887217580144011232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198062962,"filename":"image_31122025_15_56_55_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912943","file1":"1401912942","file0":"1401912941","file4":"1401912945","file5":"1401912947","file3":"1401912944"},"map_files_photo_id_array":[{"photo_id":"1401912947","filename":"file5"},{"photo_id":"1401912943","filename":"file2"},{"photo_id":"1401912945","filename":"file4"},{"photo_id":"1401912942","filename":"file1"},{"photo_id":"1401912941","filename":"file0"},{"photo_id":"1401912944","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401912943":["hashtag1","hashtag2"]},{"1401912942":["hashtag1","hashtag2"]},{"1401912945":["hashtag1","hashtag2"]},{"1401912947":["hashtag1","hashtag2"]},{"1401912941":["hashtag1","hashtag2"]},{"1401912944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401912943, 1401912942, 1401912945, 1401912947, 1401912941, 1401912944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96963429450989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:20:41.920356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_23_6371.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_37_3013.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_41_3563.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_43_2567.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_50_2545.jpg', '/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_52_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_23_6371.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_37_3013.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_41_3563.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_43_2567.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_50_2545.jpg
/home/pi/Desktop/images/03112025/19/22/image_03112025_19_22_52_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401912964","1401912961","1401912960","1401912954","1401912963","1401912962"],"photo_ids_order":["1401912954","1401912960","1401912961","1401912962","1401912963","1401912964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aceb25c3a1e1637ad11cf176afdd2bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5215242083669040475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198103763,"filename":"image_03112025_19_22_52_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/badc6d6a551980e3b0ffcdad9441432f.jpg","text":"TemporaryFile(/tmp/multipartBody4508198146529004941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198103763,"filename":"image_03112025_19_22_41_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c40d1d8c723dcb96a64dcb1578e933e2.jpg","text":"TemporaryFile(/tmp/multipartBody814784509104392568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198103763,"filename":"image_03112025_19_22_37_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53ae763795d3b4a9d5a32d815b6351ec.jpg","text":"TemporaryFile(/tmp/multipartBody935688647280579925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198103763,"filename":"image_03112025_19_22_23_6371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf0cbda8aacebbfb72845350691aa3b3.jpg","text":"TemporaryFile(/tmp/multipartBody2289490074694386054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198103763,"filename":"image_03112025_19_22_50_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d1cc4761056b5281b868478caacb0e8.jpg","text":"TemporaryFile(/tmp/multipartBody326616861286521663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198103763,"filename":"image_03112025_19_22_43_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912961","file1":"1401912960","file0":"1401912954","file4":"1401912963","file5":"1401912964","file3":"1401912962"},"map_files_photo_id_array":[{"photo_id":"1401912964","filename":"file5"},{"photo_id":"1401912961","filename":"file2"},{"photo_id":"1401912963","filename":"file4"},{"photo_id":"1401912960","filename":"file1"},{"photo_id":"1401912954","filename":"file0"},{"photo_id":"1401912962","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401912964":["hashtag1","hashtag2"]},{"1401912961":["hashtag1","hashtag2"]},{"1401912960":["hashtag1","hashtag2"]},{"1401912954":["hashtag1","hashtag2"]},{"1401912963":["hashtag1","hashtag2"]},{"1401912962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401912964, 1401912961, 1401912960, 1401912954, 1401912963, 1401912962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61344051361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:21:22.055004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/57/image_31122025_15_57_45_9811.jpg', '/home/pi/Desktop/images/31122025/15/57/image_31122025_15_58_05_9727.jpg', '/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_25_9600.jpg', '/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_35_10596.jpg', '/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_54_9582.jpg', '/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_15_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/57/image_31122025_15_57_45_9811.jpg
/home/pi/Desktop/images/31122025/15/57/image_31122025_15_58_05_9727.jpg
/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_25_9600.jpg
/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_35_10596.jpg
/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_54_9582.jpg
/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_15_9784.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4748859405517578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:21:32.085188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_02_2650.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_04_2634.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_11_2805.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_13_2595.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_17_3634.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_32_3060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_02_2650.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_04_2634.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_11_2805.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_13_2595.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_17_3634.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_32_3060.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913000","1401912999","1401912996","1401912998","1401912992","1401912989"],"photo_ids_order":["1401912989","1401912992","1401912996","1401912998","1401912999","1401913000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4705b77f786004364174da164769a7f8.jpg","text":"TemporaryFile(/tmp/multipartBody2291530688937989690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198153917,"filename":"image_03112025_19_23_32_3060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed58b8371b184b8ec6458740dab79299.jpg","text":"TemporaryFile(/tmp/multipartBody4627732655474443231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198153917,"filename":"image_03112025_19_23_17_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a2a0fd0873adb86aba808d832872c32.jpg","text":"TemporaryFile(/tmp/multipartBody6957971929690645150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198153917,"filename":"image_03112025_19_23_11_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c665421b9cfa61197e664686d26b46a7.jpg","text":"TemporaryFile(/tmp/multipartBody9140073965841025100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198153917,"filename":"image_03112025_19_23_13_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2bc502de9925bbc0c3eb550f4f33e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3937023227887863814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198153917,"filename":"image_03112025_19_23_04_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ff56dfe3696498956c2e5b7eea830df.jpg","text":"TemporaryFile(/tmp/multipartBody4451976660739274183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198153917,"filename":"image_03112025_19_23_02_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401912996","file1":"1401912992","file0":"1401912989","file4":"1401912999","file5":"1401913000","file3":"1401912998"},"map_files_photo_id_array":[{"photo_id":"1401913000","filename":"file5"},{"photo_id":"1401912996","filename":"file2"},{"photo_id":"1401912999","filename":"file4"},{"photo_id":"1401912992","filename":"file1"},{"photo_id":"1401912989","filename":"file0"},{"photo_id":"1401912998","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401913000":["hashtag1","hashtag2"]},{"1401912999":["hashtag1","hashtag2"]},{"1401912996":["hashtag1","hashtag2"]},{"1401912998":["hashtag1","hashtag2"]},{"1401912992":["hashtag1","hashtag2"]},{"1401912989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401913000, 1401912999, 1401912996, 1401912998, 1401912992, 1401912989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46417236328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:22:12.276323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_35_2785.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_38_3569.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_41_2720.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_50_6142.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_56_5808.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_57_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_35_2785.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_38_3569.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_41_2720.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_50_6142.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_56_5808.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_57_1648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913161","1401913038","1401913011","1401913005","1401913121","1401913084"],"photo_ids_order":["1401913005","1401913011","1401913038","1401913084","1401913121","1401913161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/510226c3cf9123eb3d79a6d606f2a71b.jpg","text":"TemporaryFile(/tmp/multipartBody7585351527384243563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198194020,"filename":"image_03112025_19_23_57_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c47270c11d7c1f966813ff8ed5ad9b6d.jpg","text":"TemporaryFile(/tmp/multipartBody7860165899818231590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198194020,"filename":"image_03112025_19_23_41_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02707b11858e7facf78b8182537c6c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7223624888570017561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198194020,"filename":"image_03112025_19_23_38_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1624ae83f0510d13395dd73b2acb2e82.jpg","text":"TemporaryFile(/tmp/multipartBody4465970759350678819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198194020,"filename":"image_03112025_19_23_35_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa9d21869d35c4ffcd72f080c3e099ea.jpg","text":"TemporaryFile(/tmp/multipartBody6177561662674053848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198194020,"filename":"image_03112025_19_23_56_5808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70f54c7e0450c206e079db6ca5943ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7013476846278802118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198194020,"filename":"image_03112025_19_23_50_6142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913038","file1":"1401913011","file0":"1401913005","file4":"1401913121","file5":"1401913161","file3":"1401913084"},"map_files_photo_id_array":[{"photo_id":"1401913161","filename":"file5"},{"photo_id":"1401913038","filename":"file2"},{"photo_id":"1401913121","filename":"file4"},{"photo_id":"1401913011","filename":"file1"},{"photo_id":"1401913005","filename":"file0"},{"photo_id":"1401913084","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401913161":["hashtag1","hashtag2"]},{"1401913038":["hashtag1","hashtag2"]},{"1401913011":["hashtag1","hashtag2"]},{"1401913005":["hashtag1","hashtag2"]},{"1401913121":["hashtag1","hashtag2"]},{"1401913084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401913161, 1401913038, 1401913011, 1401913005, 1401913121, 1401913084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4041485786438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:23:03.107588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/57/image_31122025_15_57_45_9811.jpg', '/home/pi/Desktop/images/31122025/15/57/image_31122025_15_58_05_9727.jpg', '/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_25_9600.jpg', '/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_35_10596.jpg', '/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_54_9582.jpg', '/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_15_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/57/image_31122025_15_57_45_9811.jpg
/home/pi/Desktop/images/31122025/15/57/image_31122025_15_58_05_9727.jpg
/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_25_9600.jpg
/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_35_10596.jpg
/home/pi/Desktop/images/31122025/15/58/image_31122025_15_58_54_9582.jpg
/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_15_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913231","1401913219","1401913228","1401913250","1401913235","1401913223"],"photo_ids_order":["1401913219","1401913223","1401913228","1401913231","1401913235","1401913250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46a3c57275fc8a74b08c3c351264aa0e.jpg","text":"TemporaryFile(/tmp/multipartBody4315998644064218776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198243750,"filename":"image_31122025_15_58_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48126a9702070b88965954743ece6fc5.jpg","text":"TemporaryFile(/tmp/multipartBody974835573804808665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198243750,"filename":"image_31122025_15_57_45_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1111e75f540f06ad0b07bd3b68ee0b1.jpg","text":"TemporaryFile(/tmp/multipartBody4003833714099120459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198243750,"filename":"image_31122025_15_58_25_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/988f12979652a14dd7539461967dd211.jpg","text":"TemporaryFile(/tmp/multipartBody6112478376334088681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198243750,"filename":"image_31122025_15_59_15_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/979c9a9d26212e4387d8708366862d9e.jpg","text":"TemporaryFile(/tmp/multipartBody7835242802801646855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198243750,"filename":"image_31122025_15_58_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c20eb7089f2b413b9feb459908cc6487.jpg","text":"TemporaryFile(/tmp/multipartBody7196157081963511705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198243750,"filename":"image_31122025_15_58_05_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913228","file1":"1401913223","file0":"1401913219","file4":"1401913235","file5":"1401913250","file3":"1401913231"},"map_files_photo_id_array":[{"photo_id":"1401913250","filename":"file5"},{"photo_id":"1401913228","filename":"file2"},{"photo_id":"1401913235","filename":"file4"},{"photo_id":"1401913223","filename":"file1"},{"photo_id":"1401913219","filename":"file0"},{"photo_id":"1401913231","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401913231":["hashtag1","hashtag2"]},{"1401913219":["hashtag1","hashtag2"]},{"1401913228":["hashtag1","hashtag2"]},{"1401913250":["hashtag1","hashtag2"]},{"1401913235":["hashtag1","hashtag2"]},{"1401913223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401913231, 1401913219, 1401913228, 1401913250, 1401913235, 1401913223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79730033874512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:23:42.415302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_59_1520.jpg', '/home/pi/Desktop/images/03112025/19/23/image_03112025_19_24_00_1629.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_02_1603.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_05_2619.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_09_4033.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_10_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_23_59_1520.jpg
/home/pi/Desktop/images/03112025/19/23/image_03112025_19_24_00_1629.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_02_1603.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_05_2619.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_09_4033.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_10_1577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913351","1401913525","1401913368","1401913454","1401913418","1401913489"],"photo_ids_order":["1401913351","1401913368","1401913418","1401913454","1401913489","1401913525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b67624d786d07ac4b597db737a0cf673.jpg","text":"TemporaryFile(/tmp/multipartBody3266706870831088918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198284250,"filename":"image_03112025_19_23_59_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fae7941d3a02773cb2c4e3fc0b83e27f.jpg","text":"TemporaryFile(/tmp/multipartBody5117607801264716625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198284250,"filename":"image_03112025_19_24_10_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7176fc84037b60eeb014de977e6bbf8.jpg","text":"TemporaryFile(/tmp/multipartBody3388119093670082338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198284250,"filename":"image_03112025_19_24_00_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/deba5099a6cbedfc77f62732d1f87345.jpg","text":"TemporaryFile(/tmp/multipartBody2399015789325265049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198284250,"filename":"image_03112025_19_24_05_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebf102b6e5bb10a2d077d2b01ed468c5.jpg","text":"TemporaryFile(/tmp/multipartBody4375748680794041187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198284250,"filename":"image_03112025_19_24_02_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be60b16814c45c962443ff7f0d6414ff.jpg","text":"TemporaryFile(/tmp/multipartBody1110163837494600441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198284250,"filename":"image_03112025_19_24_09_4033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913418","file1":"1401913368","file0":"1401913351","file4":"1401913489","file5":"1401913525","file3":"1401913454"},"map_files_photo_id_array":[{"photo_id":"1401913525","filename":"file5"},{"photo_id":"1401913418","filename":"file2"},{"photo_id":"1401913489","filename":"file4"},{"photo_id":"1401913368","filename":"file1"},{"photo_id":"1401913351","filename":"file0"},{"photo_id":"1401913454","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401913351":["hashtag1","hashtag2"]},{"1401913525":["hashtag1","hashtag2"]},{"1401913368":["hashtag1","hashtag2"]},{"1401913454":["hashtag1","hashtag2"]},{"1401913418":["hashtag1","hashtag2"]},{"1401913489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401913351, 1401913525, 1401913368, 1401913454, 1401913418, 1401913489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.063026428222656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:24:22.629095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_25_9608.jpg', '/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_35_10553.jpg', '/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_45_9693.jpg', '/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_55_9682.jpg', '/home/pi/Desktop/images/31122025/16/01/image_31122025_16_01_14_10040.jpg', '/home/pi/Desktop/images/31122025/16/01/image_31122025_16_01_25_10861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_25_9608.jpg
/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_35_10553.jpg
/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_45_9693.jpg
/home/pi/Desktop/images/31122025/15/59/image_31122025_15_59_55_9682.jpg
/home/pi/Desktop/images/31122025/16/01/image_31122025_16_01_14_10040.jpg
/home/pi/Desktop/images/31122025/16/01/image_31122025_16_01_25_10861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913732","1401913735","1401913740","1401913737","1401913730","1401913700"],"photo_ids_order":["1401913700","1401913730","1401913732","1401913735","1401913737","1401913740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9271bc36c38d34a2be86f84fc6cafdf4.jpg","text":"TemporaryFile(/tmp/multipartBody5873068130010359023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198323246,"filename":"image_31122025_15_59_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f71852d47b0a2207d62e9095e3c1f5f2.jpg","text":"TemporaryFile(/tmp/multipartBody4760076139749375704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198323246,"filename":"image_31122025_15_59_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7a344fd37ff178817dae3b7a0d69b64.jpg","text":"TemporaryFile(/tmp/multipartBody764236335659762205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198323246,"filename":"image_31122025_16_01_25_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ade13f4f997e8906df5b819a4b6f278.jpg","text":"TemporaryFile(/tmp/multipartBody5857812068427875638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198323246,"filename":"image_31122025_16_01_14_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f3017d670626bcf0da09e41d15d3094.jpg","text":"TemporaryFile(/tmp/multipartBody3112653981733925398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198323246,"filename":"image_31122025_15_59_35_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf4ab2c0b0fc1c3822f1fbf701e77e77.jpg","text":"TemporaryFile(/tmp/multipartBody5807572315995515466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198323246,"filename":"image_31122025_15_59_25_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913732","file1":"1401913730","file0":"1401913700","file4":"1401913737","file5":"1401913740","file3":"1401913735"},"map_files_photo_id_array":[{"photo_id":"1401913740","filename":"file5"},{"photo_id":"1401913732","filename":"file2"},{"photo_id":"1401913737","filename":"file4"},{"photo_id":"1401913730","filename":"file1"},{"photo_id":"1401913700","filename":"file0"},{"photo_id":"1401913735","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401913732":["hashtag1","hashtag2"]},{"1401913735":["hashtag1","hashtag2"]},{"1401913740":["hashtag1","hashtag2"]},{"1401913737":["hashtag1","hashtag2"]},{"1401913730":["hashtag1","hashtag2"]},{"1401913700":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401913732, 1401913735, 1401913740, 1401913737, 1401913730, 1401913700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92079257965088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:25:02.535681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/01/image_31122025_16_01_44_9602.jpg', '/home/pi/Desktop/images/31122025/16/01/image_31122025_16_01_55_10717.jpg', '/home/pi/Desktop/images/31122025/16/01/image_31122025_16_02_05_9907.jpg', '/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_15_9693.jpg', '/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_24_9781.jpg', '/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_35_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/01/image_31122025_16_01_44_9602.jpg
/home/pi/Desktop/images/31122025/16/01/image_31122025_16_01_55_10717.jpg
/home/pi/Desktop/images/31122025/16/01/image_31122025_16_02_05_9907.jpg
/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_15_9693.jpg
/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_24_9781.jpg
/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_35_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913747","1401913749","1401913743","1401913746","1401913745","1401913744"],"photo_ids_order":["1401913743","1401913744","1401913745","1401913746","1401913747","1401913749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/281b825b6637ac0ccac3f6bb87efae91.jpg","text":"TemporaryFile(/tmp/multipartBody7975492262114859054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198363166,"filename":"image_31122025_16_02_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0f37ebb80e238e70fb06f0b9d0093c5.jpg","text":"TemporaryFile(/tmp/multipartBody6725830915354467145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198363166,"filename":"image_31122025_16_02_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e5f429c03a7becd6a5f3740dc362f64.jpg","text":"TemporaryFile(/tmp/multipartBody7537400450500191321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198363166,"filename":"image_31122025_16_01_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d22a3d24ee5f30494629b2e07481947c.jpg","text":"TemporaryFile(/tmp/multipartBody4104884957883788527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198363166,"filename":"image_31122025_16_02_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7a023510fa0851769a13220ec85d16d.jpg","text":"TemporaryFile(/tmp/multipartBody6743226868849051590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198363166,"filename":"image_31122025_16_02_05_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7aa87155ab5f08269ff5357fa673bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3610456246945994352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198363166,"filename":"image_31122025_16_01_55_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913745","file1":"1401913744","file0":"1401913743","file4":"1401913747","file5":"1401913749","file3":"1401913746"},"map_files_photo_id_array":[{"photo_id":"1401913749","filename":"file5"},{"photo_id":"1401913745","filename":"file2"},{"photo_id":"1401913747","filename":"file4"},{"photo_id":"1401913744","filename":"file1"},{"photo_id":"1401913743","filename":"file0"},{"photo_id":"1401913746","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401913747":["hashtag1","hashtag2"]},{"1401913749":["hashtag1","hashtag2"]},{"1401913743":["hashtag1","hashtag2"]},{"1401913746":["hashtag1","hashtag2"]},{"1401913745":["hashtag1","hashtag2"]},{"1401913744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401913747, 1401913749, 1401913743, 1401913746, 1401913745, 1401913744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29553961753845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:25:41.775911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_14_3536.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_17_2832.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_19_2655.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_23_4228.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_29_3757.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_34_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_14_3536.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_17_2832.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_19_2655.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_23_4228.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_29_3757.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_34_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913755","1401913758","1401913760","1401913763","1401913757","1401913762"],"photo_ids_order":["1401913755","1401913757","1401913758","1401913760","1401913762","1401913763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d06a25c1ebb40ea550999295195b7ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6058123090566750759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198403474,"filename":"image_03112025_19_24_14_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d130d9c8dbfcdfd06e0d824d990c8f4.jpg","text":"TemporaryFile(/tmp/multipartBody5247743268334886431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198403474,"filename":"image_03112025_19_24_19_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8febf86c65fb430aaa26b005fc0a0a37.jpg","text":"TemporaryFile(/tmp/multipartBody2952823978406502834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198403474,"filename":"image_03112025_19_24_23_4228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/078063153cce5ef864c43ce37c8bc6e6.jpg","text":"TemporaryFile(/tmp/multipartBody2812210508564510804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198403474,"filename":"image_03112025_19_24_34_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7cf538a08ad48dd92e1c8c1b2284efc.jpg","text":"TemporaryFile(/tmp/multipartBody5380978273723493270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198403474,"filename":"image_03112025_19_24_17_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/876a1928aaea05c8d167b7d7af9af409.jpg","text":"TemporaryFile(/tmp/multipartBody7888338394537781509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198403474,"filename":"image_03112025_19_24_29_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913758","file1":"1401913757","file0":"1401913755","file4":"1401913762","file5":"1401913763","file3":"1401913760"},"map_files_photo_id_array":[{"photo_id":"1401913763","filename":"file5"},{"photo_id":"1401913758","filename":"file2"},{"photo_id":"1401913762","filename":"file4"},{"photo_id":"1401913757","filename":"file1"},{"photo_id":"1401913755","filename":"file0"},{"photo_id":"1401913760","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401913755":["hashtag1","hashtag2"]},{"1401913758":["hashtag1","hashtag2"]},{"1401913760":["hashtag1","hashtag2"]},{"1401913763":["hashtag1","hashtag2"]},{"1401913757":["hashtag1","hashtag2"]},{"1401913762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401913755, 1401913758, 1401913760, 1401913763, 1401913757, 1401913762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.797879695892334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:26:22.077152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_45_9709.jpg', '/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_55_9737.jpg', '/home/pi/Desktop/images/31122025/16/03/image_31122025_16_03_15_10598.jpg', '/home/pi/Desktop/images/31122025/16/03/image_31122025_16_03_25_9649.jpg', '/home/pi/Desktop/images/31122025/16/03/image_31122025_16_03_34_9617.jpg', '/home/pi/Desktop/images/31122025/16/03/image_31122025_16_03_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_45_9709.jpg
/home/pi/Desktop/images/31122025/16/02/image_31122025_16_02_55_9737.jpg
/home/pi/Desktop/images/31122025/16/03/image_31122025_16_03_15_10598.jpg
/home/pi/Desktop/images/31122025/16/03/image_31122025_16_03_25_9649.jpg
/home/pi/Desktop/images/31122025/16/03/image_31122025_16_03_34_9617.jpg
/home/pi/Desktop/images/31122025/16/03/image_31122025_16_03_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913767","1401913776","1401913770","1401913774","1401913783","1401913771"],"photo_ids_order":["1401913767","1401913770","1401913771","1401913774","1401913776","1401913783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/835261dd8d6e0e449e4cbf7468a8e623.jpg","text":"TemporaryFile(/tmp/multipartBody4261450815355071727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198442667,"filename":"image_31122025_16_02_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01c1175447ab7765e1294521628093be.jpg","text":"TemporaryFile(/tmp/multipartBody1806470072409239962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198442667,"filename":"image_31122025_16_03_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e897eb515555f5625631843061635f40.jpg","text":"TemporaryFile(/tmp/multipartBody4621918300575488446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198442667,"filename":"image_31122025_16_02_55_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/367f051bc0bb42df79522be1477131cd.jpg","text":"TemporaryFile(/tmp/multipartBody1666072443345261494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198442667,"filename":"image_31122025_16_03_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b4cfc19e1ca9d9d824b94227139511a.jpg","text":"TemporaryFile(/tmp/multipartBody1487102648580492617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198442667,"filename":"image_31122025_16_03_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cd191b5691c1aea1eb8b8a0c61a7ebb.jpg","text":"TemporaryFile(/tmp/multipartBody8052330019043998549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198442667,"filename":"image_31122025_16_03_15_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913771","file1":"1401913770","file0":"1401913767","file4":"1401913776","file5":"1401913783","file3":"1401913774"},"map_files_photo_id_array":[{"photo_id":"1401913783","filename":"file5"},{"photo_id":"1401913771","filename":"file2"},{"photo_id":"1401913776","filename":"file4"},{"photo_id":"1401913770","filename":"file1"},{"photo_id":"1401913767","filename":"file0"},{"photo_id":"1401913774","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401913767":["hashtag1","hashtag2"]},{"1401913776":["hashtag1","hashtag2"]},{"1401913770":["hashtag1","hashtag2"]},{"1401913774":["hashtag1","hashtag2"]},{"1401913783":["hashtag1","hashtag2"]},{"1401913771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401913767, 1401913776, 1401913770, 1401913774, 1401913783, 1401913771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91074585914612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:27:02.838743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/04/image_31122025_16_04_15_10715.jpg', '/home/pi/Desktop/images/31122025/16/04/image_31122025_16_04_55_9788.jpg', '/home/pi/Desktop/images/31122025/16/05/image_31122025_16_05_35_9747.jpg', '/home/pi/Desktop/images/31122025/16/05/image_31122025_16_06_05_9712.jpg', '/home/pi/Desktop/images/31122025/16/06/image_31122025_16_06_24_9745.jpg', '/home/pi/Desktop/images/31122025/16/06/image_31122025_16_07_05_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/04/image_31122025_16_04_15_10715.jpg
/home/pi/Desktop/images/31122025/16/04/image_31122025_16_04_55_9788.jpg
/home/pi/Desktop/images/31122025/16/05/image_31122025_16_05_35_9747.jpg
/home/pi/Desktop/images/31122025/16/05/image_31122025_16_06_05_9712.jpg
/home/pi/Desktop/images/31122025/16/06/image_31122025_16_06_24_9745.jpg
/home/pi/Desktop/images/31122025/16/06/image_31122025_16_07_05_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913791","1401913797","1401913793","1401913787","1401913795","1401913789"],"photo_ids_order":["1401913787","1401913789","1401913791","1401913793","1401913795","1401913797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59bfcd2bd736036ae0569da7e5331476.jpg","text":"TemporaryFile(/tmp/multipartBody196866343080658381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198483475,"filename":"image_31122025_16_05_35_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/540af9658eba32e8735a5f507d078f84.jpg","text":"TemporaryFile(/tmp/multipartBody2665050130308897672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198483475,"filename":"image_31122025_16_07_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f9940359baf584d78fc0a0c02839599.jpg","text":"TemporaryFile(/tmp/multipartBody3734072789168075201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198483475,"filename":"image_31122025_16_06_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82813233ee9c860152a8a18cdeb49d4c.jpg","text":"TemporaryFile(/tmp/multipartBody9110790723880552424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198483475,"filename":"image_31122025_16_04_15_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ed6566faeed403e100d4cf7ca4b3ff1.jpg","text":"TemporaryFile(/tmp/multipartBody2818655948202329343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198483475,"filename":"image_31122025_16_06_24_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dccc4613421c2caa06c17164e8ad473.jpg","text":"TemporaryFile(/tmp/multipartBody8185059300199386616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198483475,"filename":"image_31122025_16_04_55_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913791","file1":"1401913789","file0":"1401913787","file4":"1401913795","file5":"1401913797","file3":"1401913793"},"map_files_photo_id_array":[{"photo_id":"1401913797","filename":"file5"},{"photo_id":"1401913791","filename":"file2"},{"photo_id":"1401913795","filename":"file4"},{"photo_id":"1401913789","filename":"file1"},{"photo_id":"1401913787","filename":"file0"},{"photo_id":"1401913793","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401913791":["hashtag1","hashtag2"]},{"1401913797":["hashtag1","hashtag2"]},{"1401913793":["hashtag1","hashtag2"]},{"1401913787":["hashtag1","hashtag2"]},{"1401913795":["hashtag1","hashtag2"]},{"1401913789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401913791, 1401913797, 1401913793, 1401913787, 1401913795, 1401913789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5946683883667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:27:42.224081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_38_3332.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_40_2678.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_44_3634.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_47_2735.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_53_3689.jpg', '/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_58_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_38_3332.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_40_2678.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_44_3634.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_47_2735.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_53_3689.jpg
/home/pi/Desktop/images/03112025/19/24/image_03112025_19_24_58_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913807","1401913804","1401913827","1401913806","1401913802","1401913805"],"photo_ids_order":["1401913802","1401913804","1401913805","1401913806","1401913807","1401913827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a8796d792ca5cb2d84a86016ad8c299.jpg","text":"TemporaryFile(/tmp/multipartBody5253369754044146685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198524037,"filename":"image_03112025_19_24_53_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9b74eaa965f93dcee7b5faf22946253.jpg","text":"TemporaryFile(/tmp/multipartBody5979746369917346867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198524037,"filename":"image_03112025_19_24_40_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/007334bd00f3420f67de57bee14b590c.jpg","text":"TemporaryFile(/tmp/multipartBody1376999876973768432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198524037,"filename":"image_03112025_19_24_58_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc89c8159568d53585d8e1d92d54755d.jpg","text":"TemporaryFile(/tmp/multipartBody7737470816689335788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198524037,"filename":"image_03112025_19_24_47_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28435c3646f291b332146addd69d541f.jpg","text":"TemporaryFile(/tmp/multipartBody7650581656629120885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198524037,"filename":"image_03112025_19_24_38_3332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff852058497467b99b7eedc8eb7fbff3.jpg","text":"TemporaryFile(/tmp/multipartBody6599754989094154646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198524037,"filename":"image_03112025_19_24_44_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913805","file1":"1401913804","file0":"1401913802","file4":"1401913807","file5":"1401913827","file3":"1401913806"},"map_files_photo_id_array":[{"photo_id":"1401913827","filename":"file5"},{"photo_id":"1401913805","filename":"file2"},{"photo_id":"1401913807","filename":"file4"},{"photo_id":"1401913804","filename":"file1"},{"photo_id":"1401913802","filename":"file0"},{"photo_id":"1401913806","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401913807":["hashtag1","hashtag2"]},{"1401913804":["hashtag1","hashtag2"]},{"1401913827":["hashtag1","hashtag2"]},{"1401913806":["hashtag1","hashtag2"]},{"1401913802":["hashtag1","hashtag2"]},{"1401913805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401913807, 1401913804, 1401913827, 1401913806, 1401913802, 1401913805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.728787422180176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:28:22.345164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/07/image_31122025_16_07_25_9953.jpg', '/home/pi/Desktop/images/31122025/16/07/image_31122025_16_07_35_9538.jpg', '/home/pi/Desktop/images/31122025/16/07/image_31122025_16_07_45_10612.jpg', '/home/pi/Desktop/images/31122025/16/07/image_31122025_16_08_05_9656.jpg', '/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_15_10709.jpg', '/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_25_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/07/image_31122025_16_07_25_9953.jpg
/home/pi/Desktop/images/31122025/16/07/image_31122025_16_07_35_9538.jpg
/home/pi/Desktop/images/31122025/16/07/image_31122025_16_07_45_10612.jpg
/home/pi/Desktop/images/31122025/16/07/image_31122025_16_08_05_9656.jpg
/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_15_10709.jpg
/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_25_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913846","1401913840","1401913834","1401913836","1401913833","1401913838"],"photo_ids_order":["1401913833","1401913834","1401913836","1401913838","1401913840","1401913846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1722fcc0f3c9548cfd57295663dda085.jpg","text":"TemporaryFile(/tmp/multipartBody6108110506651547638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198562977,"filename":"image_31122025_16_08_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fb12af730e115ac26f2603fc87f69b9.jpg","text":"TemporaryFile(/tmp/multipartBody5673757463031333149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198562977,"filename":"image_31122025_16_08_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5040d04e24e80103f633428855bec311.jpg","text":"TemporaryFile(/tmp/multipartBody5369046948971101787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198562977,"filename":"image_31122025_16_07_35_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/082afacf84790e0615ba48a923aab87f.jpg","text":"TemporaryFile(/tmp/multipartBody2103110513514844527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198562977,"filename":"image_31122025_16_07_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a65206d424ee19b0ec57b8f74c59fb70.jpg","text":"TemporaryFile(/tmp/multipartBody1144000784355796188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198562977,"filename":"image_31122025_16_07_25_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8e9aa6fb250a2a329962c57d849e885.jpg","text":"TemporaryFile(/tmp/multipartBody5794146954406328169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198562977,"filename":"image_31122025_16_08_05_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913836","file1":"1401913834","file0":"1401913833","file4":"1401913840","file5":"1401913846","file3":"1401913838"},"map_files_photo_id_array":[{"photo_id":"1401913846","filename":"file5"},{"photo_id":"1401913836","filename":"file2"},{"photo_id":"1401913840","filename":"file4"},{"photo_id":"1401913834","filename":"file1"},{"photo_id":"1401913833","filename":"file0"},{"photo_id":"1401913838","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401913846":["hashtag1","hashtag2"]},{"1401913840":["hashtag1","hashtag2"]},{"1401913834":["hashtag1","hashtag2"]},{"1401913836":["hashtag1","hashtag2"]},{"1401913833":["hashtag1","hashtag2"]},{"1401913838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401913846, 1401913840, 1401913834, 1401913836, 1401913833, 1401913838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.478508949279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:29:03.430331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_35_9690.jpg', '/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_45_10637.jpg', '/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_55_9652.jpg', '/home/pi/Desktop/images/31122025/16/08/image_31122025_16_09_04_9525.jpg', '/home/pi/Desktop/images/31122025/16/09/image_31122025_16_09_15_10622.jpg', '/home/pi/Desktop/images/31122025/16/09/image_31122025_16_09_25_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_35_9690.jpg
/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_45_10637.jpg
/home/pi/Desktop/images/31122025/16/08/image_31122025_16_08_55_9652.jpg
/home/pi/Desktop/images/31122025/16/08/image_31122025_16_09_04_9525.jpg
/home/pi/Desktop/images/31122025/16/09/image_31122025_16_09_15_10622.jpg
/home/pi/Desktop/images/31122025/16/09/image_31122025_16_09_25_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913857","1401913851","1401913905","1401913859","1401913864","1401913858"],"photo_ids_order":["1401913851","1401913857","1401913858","1401913859","1401913864","1401913905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09193101331f425b5c6abbfa8090d516.jpg","text":"TemporaryFile(/tmp/multipartBody2683749134668235077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198604108,"filename":"image_31122025_16_08_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c24f735d74465b3402f876b91e9f0c7.jpg","text":"TemporaryFile(/tmp/multipartBody3266999004069395190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198604108,"filename":"image_31122025_16_08_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37bec0352be95f1f85b0f72f48fe148f.jpg","text":"TemporaryFile(/tmp/multipartBody1894011633437215352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198604108,"filename":"image_31122025_16_09_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dd4e2ccc46a78b1e3fc3f84fdbcd5a7.jpg","text":"TemporaryFile(/tmp/multipartBody3265669033485475809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198604108,"filename":"image_31122025_16_09_04_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f52415db608a02c4d789bf9e1217f3c4.jpg","text":"TemporaryFile(/tmp/multipartBody2266869568825810994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198604108,"filename":"image_31122025_16_09_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a886b65ffcb80c20b2dabd3c6f72fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody2789472058733051654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198604108,"filename":"image_31122025_16_08_55_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913858","file1":"1401913857","file0":"1401913851","file4":"1401913864","file5":"1401913905","file3":"1401913859"},"map_files_photo_id_array":[{"photo_id":"1401913905","filename":"file5"},{"photo_id":"1401913858","filename":"file2"},{"photo_id":"1401913864","filename":"file4"},{"photo_id":"1401913857","filename":"file1"},{"photo_id":"1401913851","filename":"file0"},{"photo_id":"1401913859","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401913857":["hashtag1","hashtag2"]},{"1401913851":["hashtag1","hashtag2"]},{"1401913905":["hashtag1","hashtag2"]},{"1401913859":["hashtag1","hashtag2"]},{"1401913864":["hashtag1","hashtag2"]},{"1401913858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401913857, 1401913851, 1401913905, 1401913859, 1401913864, 1401913858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8932249546051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:29:42.572446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_16_8350.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_18_1545.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_27_1725.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_28_1664.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_30_1904.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_32_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_16_8350.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_18_1545.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_27_1725.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_28_1664.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_30_1904.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_32_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401913927","1401914016","1401913964","1401914015","1401913999","1401913996"],"photo_ids_order":["1401913927","1401913964","1401913996","1401913999","1401914015","1401914016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/580bdfc7c29da8a5b6fa36f543e42c82.jpg","text":"TemporaryFile(/tmp/multipartBody7728905596262958662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198644402,"filename":"image_03112025_19_25_16_8350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c22cd55ca80012c07429f0a52b2f170.jpg","text":"TemporaryFile(/tmp/multipartBody3501720130969741145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198644402,"filename":"image_03112025_19_25_32_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a15758620e8ae7118044e5ca9aac91a4.jpg","text":"TemporaryFile(/tmp/multipartBody8177192481601651677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198644402,"filename":"image_03112025_19_25_18_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e454a86288f62b47723973474cfec674.jpg","text":"TemporaryFile(/tmp/multipartBody1851717963779085487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198644402,"filename":"image_03112025_19_25_30_1904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/218abc8a7af2f836255c00dd6f7dca46.jpg","text":"TemporaryFile(/tmp/multipartBody3756654419815313741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198644402,"filename":"image_03112025_19_25_28_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5776fca62fdda42d34be896f97719a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7333989617727167482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198644402,"filename":"image_03112025_19_25_27_1725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401913996","file1":"1401913964","file0":"1401913927","file4":"1401914015","file5":"1401914016","file3":"1401913999"},"map_files_photo_id_array":[{"photo_id":"1401914016","filename":"file5"},{"photo_id":"1401913996","filename":"file2"},{"photo_id":"1401914015","filename":"file4"},{"photo_id":"1401913964","filename":"file1"},{"photo_id":"1401913927","filename":"file0"},{"photo_id":"1401913999","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401913927":["hashtag1","hashtag2"]},{"1401914016":["hashtag1","hashtag2"]},{"1401913964":["hashtag1","hashtag2"]},{"1401914015":["hashtag1","hashtag2"]},{"1401913999":["hashtag1","hashtag2"]},{"1401913996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401913927, 1401914016, 1401913964, 1401914015, 1401913999, 1401913996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35593366622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:30:22.764096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/09/image_31122025_16_09_55_9590.jpg', '/home/pi/Desktop/images/31122025/16/10/image_31122025_16_10_15_10054.jpg', '/home/pi/Desktop/images/31122025/16/10/image_31122025_16_10_35_9670.jpg', '/home/pi/Desktop/images/31122025/16/10/image_31122025_16_10_45_9652.jpg', '/home/pi/Desktop/images/31122025/16/10/image_31122025_16_10_55_10590.jpg', '/home/pi/Desktop/images/31122025/16/10/image_31122025_16_11_05_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/09/image_31122025_16_09_55_9590.jpg
/home/pi/Desktop/images/31122025/16/10/image_31122025_16_10_15_10054.jpg
/home/pi/Desktop/images/31122025/16/10/image_31122025_16_10_35_9670.jpg
/home/pi/Desktop/images/31122025/16/10/image_31122025_16_10_45_9652.jpg
/home/pi/Desktop/images/31122025/16/10/image_31122025_16_10_55_10590.jpg
/home/pi/Desktop/images/31122025/16/10/image_31122025_16_11_05_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914029","1401914025","1401914033","1401914027","1401914024","1401914032"],"photo_ids_order":["1401914024","1401914025","1401914027","1401914029","1401914032","1401914033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31ee16fe767b425375b494f7b2d105a7.jpg","text":"TemporaryFile(/tmp/multipartBody3461200750072448833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198683365,"filename":"image_31122025_16_10_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/190ff6648e1b19be40b1b3797c1c364c.jpg","text":"TemporaryFile(/tmp/multipartBody1245351170302321191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198683365,"filename":"image_31122025_16_10_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4437583b655ced15af6633c80831044e.jpg","text":"TemporaryFile(/tmp/multipartBody4146969292234182566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198683365,"filename":"image_31122025_16_11_05_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e996043480c0b291ecdf3bab7e87052d.jpg","text":"TemporaryFile(/tmp/multipartBody309582702736369148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198683365,"filename":"image_31122025_16_10_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89890a3ca7b7ab2a501674f120781dee.jpg","text":"TemporaryFile(/tmp/multipartBody2862528592182747564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198683365,"filename":"image_31122025_16_09_55_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dea88fb53b48476ec6411366045c1bd.jpg","text":"TemporaryFile(/tmp/multipartBody5799328975370109744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198683365,"filename":"image_31122025_16_10_55_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914027","file1":"1401914025","file0":"1401914024","file4":"1401914032","file5":"1401914033","file3":"1401914029"},"map_files_photo_id_array":[{"photo_id":"1401914033","filename":"file5"},{"photo_id":"1401914027","filename":"file2"},{"photo_id":"1401914032","filename":"file4"},{"photo_id":"1401914025","filename":"file1"},{"photo_id":"1401914024","filename":"file0"},{"photo_id":"1401914029","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914029":["hashtag1","hashtag2"]},{"1401914025":["hashtag1","hashtag2"]},{"1401914033":["hashtag1","hashtag2"]},{"1401914027":["hashtag1","hashtag2"]},{"1401914024":["hashtag1","hashtag2"]},{"1401914032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914029, 1401914025, 1401914033, 1401914027, 1401914024, 1401914032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.691272020339966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:31:11.924348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_35_2665.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_37_2640.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_41_3551.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_44_2639.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_52_2598.jpg', '/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_56_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_35_2665.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_37_2640.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_41_3551.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_44_2639.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_52_2598.jpg
/home/pi/Desktop/images/03112025/19/25/image_03112025_19_25_56_3545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914040","1401914043","1401914037","1401914045","1401914042","1401914038"],"photo_ids_order":["1401914037","1401914038","1401914040","1401914042","1401914043","1401914045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25e94f3f47ecc7517e675beeb8f961f8.jpg","text":"TemporaryFile(/tmp/multipartBody7998102022173248751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198733653,"filename":"image_03112025_19_25_41_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4abfd21ab168f3fdb9d78356bef8263b.jpg","text":"TemporaryFile(/tmp/multipartBody8468673189731371940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198733653,"filename":"image_03112025_19_25_52_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43fce4c9f43b14025ab9d8965544e739.jpg","text":"TemporaryFile(/tmp/multipartBody7597266040774834170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198733653,"filename":"image_03112025_19_25_35_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c21df6d904ef81fea05253665e5c5ae.jpg","text":"TemporaryFile(/tmp/multipartBody7465125969965713712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198733653,"filename":"image_03112025_19_25_56_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55d3f3c8aaa8a1af1266ddf63fb2b06f.jpg","text":"TemporaryFile(/tmp/multipartBody5260352433405053367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198733653,"filename":"image_03112025_19_25_44_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a23b56e3ef66e82096ef4a8cf76bcf3.jpg","text":"TemporaryFile(/tmp/multipartBody1136545323991385459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198733653,"filename":"image_03112025_19_25_37_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914040","file1":"1401914038","file0":"1401914037","file4":"1401914043","file5":"1401914045","file3":"1401914042"},"map_files_photo_id_array":[{"photo_id":"1401914045","filename":"file5"},{"photo_id":"1401914040","filename":"file2"},{"photo_id":"1401914043","filename":"file4"},{"photo_id":"1401914038","filename":"file1"},{"photo_id":"1401914037","filename":"file0"},{"photo_id":"1401914042","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914040":["hashtag1","hashtag2"]},{"1401914043":["hashtag1","hashtag2"]},{"1401914037":["hashtag1","hashtag2"]},{"1401914045":["hashtag1","hashtag2"]},{"1401914042":["hashtag1","hashtag2"]},{"1401914038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914040, 1401914043, 1401914037, 1401914045, 1401914042, 1401914038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.871320962905884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:32:02.609428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_15_9705.jpg', '/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_26_10624.jpg', '/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_35_9638.jpg', '/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_45_9823.jpg', '/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_55_9749.jpg', '/home/pi/Desktop/images/31122025/16/12/image_31122025_16_12_25_9912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_15_9705.jpg
/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_26_10624.jpg
/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_35_9638.jpg
/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_45_9823.jpg
/home/pi/Desktop/images/31122025/16/11/image_31122025_16_11_55_9749.jpg
/home/pi/Desktop/images/31122025/16/12/image_31122025_16_12_25_9912.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914052","1401914049","1401914051","1401914054","1401914056","1401914050"],"photo_ids_order":["1401914049","1401914050","1401914051","1401914052","1401914054","1401914056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97c5f72398762d09204093ab3bba4ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2710062693753248804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198785022,"filename":"image_31122025_16_11_45_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/583d97bdf0ecef308a25926f79e7d838.jpg","text":"TemporaryFile(/tmp/multipartBody5144153207568680015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198785022,"filename":"image_31122025_16_11_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3c986a016ff4acf37a6d6211334039a.jpg","text":"TemporaryFile(/tmp/multipartBody8694892732739174463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198785022,"filename":"image_31122025_16_11_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dec57144fe27639072a4245150fe3468.jpg","text":"TemporaryFile(/tmp/multipartBody7734764465256401161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198785022,"filename":"image_31122025_16_11_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a94868073ad6219faca4247699efaddc.jpg","text":"TemporaryFile(/tmp/multipartBody5536098369311709342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198785022,"filename":"image_31122025_16_12_25_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac4945edff8bd7af3e321fab833c66b0.jpg","text":"TemporaryFile(/tmp/multipartBody4953439579554031421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198785022,"filename":"image_31122025_16_11_26_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914051","file1":"1401914050","file0":"1401914049","file4":"1401914054","file5":"1401914056","file3":"1401914052"},"map_files_photo_id_array":[{"photo_id":"1401914056","filename":"file5"},{"photo_id":"1401914051","filename":"file2"},{"photo_id":"1401914054","filename":"file4"},{"photo_id":"1401914050","filename":"file1"},{"photo_id":"1401914049","filename":"file0"},{"photo_id":"1401914052","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914052":["hashtag1","hashtag2"]},{"1401914049":["hashtag1","hashtag2"]},{"1401914051":["hashtag1","hashtag2"]},{"1401914054":["hashtag1","hashtag2"]},{"1401914056":["hashtag1","hashtag2"]},{"1401914050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914052, 1401914049, 1401914051, 1401914054, 1401914056, 1401914050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97910118103027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:32:42.266061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_01_2632.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_05_3584.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_07_2679.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_11_3676.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_13_2617.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_16_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_01_2632.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_05_3584.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_07_2679.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_11_3676.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_13_2617.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_16_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914070","1401914064","1401914069","1401914072","1401914071","1401914068"],"photo_ids_order":["1401914064","1401914068","1401914069","1401914070","1401914071","1401914072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72911edd02a48eb624dcd022383c808b.jpg","text":"TemporaryFile(/tmp/multipartBody7966469126414577577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198824085,"filename":"image_03112025_19_26_11_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1c2b322912d995777e69ed19e7ab23d.jpg","text":"TemporaryFile(/tmp/multipartBody4873334023148581537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198824085,"filename":"image_03112025_19_26_01_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aee926c8120b2dac13c6683925baa003.jpg","text":"TemporaryFile(/tmp/multipartBody8075017075703237482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198824085,"filename":"image_03112025_19_26_07_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/604406c925da22129730a6bad6b3ca53.jpg","text":"TemporaryFile(/tmp/multipartBody2468223095933467117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198824085,"filename":"image_03112025_19_26_16_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b9734f7c13351ada0fdc444b25636ab.jpg","text":"TemporaryFile(/tmp/multipartBody1053033335543653893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198824085,"filename":"image_03112025_19_26_13_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b672b16eddcd9805461f078e850dbd4.jpg","text":"TemporaryFile(/tmp/multipartBody917625766728723097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198824085,"filename":"image_03112025_19_26_05_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914069","file1":"1401914068","file0":"1401914064","file4":"1401914071","file5":"1401914072","file3":"1401914070"},"map_files_photo_id_array":[{"photo_id":"1401914072","filename":"file5"},{"photo_id":"1401914069","filename":"file2"},{"photo_id":"1401914071","filename":"file4"},{"photo_id":"1401914068","filename":"file1"},{"photo_id":"1401914064","filename":"file0"},{"photo_id":"1401914070","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914070":["hashtag1","hashtag2"]},{"1401914064":["hashtag1","hashtag2"]},{"1401914069":["hashtag1","hashtag2"]},{"1401914072":["hashtag1","hashtag2"]},{"1401914071":["hashtag1","hashtag2"]},{"1401914068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914070, 1401914064, 1401914069, 1401914072, 1401914071, 1401914068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55592656135559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:33:22.447549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/12/image_31122025_16_12_35_9556.jpg', '/home/pi/Desktop/images/31122025/16/12/image_31122025_16_12_55_9712.jpg', '/home/pi/Desktop/images/31122025/16/12/image_31122025_16_13_05_9763.jpg', '/home/pi/Desktop/images/31122025/16/13/image_31122025_16_13_25_9865.jpg', '/home/pi/Desktop/images/31122025/16/13/image_31122025_16_13_35_9750.jpg', '/home/pi/Desktop/images/31122025/16/13/image_31122025_16_13_45_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/12/image_31122025_16_12_35_9556.jpg
/home/pi/Desktop/images/31122025/16/12/image_31122025_16_12_55_9712.jpg
/home/pi/Desktop/images/31122025/16/12/image_31122025_16_13_05_9763.jpg
/home/pi/Desktop/images/31122025/16/13/image_31122025_16_13_25_9865.jpg
/home/pi/Desktop/images/31122025/16/13/image_31122025_16_13_35_9750.jpg
/home/pi/Desktop/images/31122025/16/13/image_31122025_16_13_45_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914082","1401914085","1401914073","1401914076","1401914080","1401914077"],"photo_ids_order":["1401914073","1401914076","1401914077","1401914080","1401914082","1401914085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0a08f673228b78964314c4fed735012.jpg","text":"TemporaryFile(/tmp/multipartBody8687673142909396110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198863082,"filename":"image_31122025_16_13_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2111ab653dfd65b804841163687ea140.jpg","text":"TemporaryFile(/tmp/multipartBody1311537906235976876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198863082,"filename":"image_31122025_16_13_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fdf5b84922191011396323532eceac5.jpg","text":"TemporaryFile(/tmp/multipartBody5016034557762364886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198863082,"filename":"image_31122025_16_12_35_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e75e2d7f11738271ec68409de657306.jpg","text":"TemporaryFile(/tmp/multipartBody4398799143254513951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198863082,"filename":"image_31122025_16_12_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/971f2bca7a006fb7a3fd94906d378d3f.jpg","text":"TemporaryFile(/tmp/multipartBody823359717063567870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198863082,"filename":"image_31122025_16_13_25_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/729ab9ca42d88bd15ad64bea47e746c9.jpg","text":"TemporaryFile(/tmp/multipartBody5025651432114423076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198863082,"filename":"image_31122025_16_13_05_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914077","file1":"1401914076","file0":"1401914073","file4":"1401914082","file5":"1401914085","file3":"1401914080"},"map_files_photo_id_array":[{"photo_id":"1401914085","filename":"file5"},{"photo_id":"1401914077","filename":"file2"},{"photo_id":"1401914082","filename":"file4"},{"photo_id":"1401914076","filename":"file1"},{"photo_id":"1401914073","filename":"file0"},{"photo_id":"1401914080","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914082":["hashtag1","hashtag2"]},{"1401914085":["hashtag1","hashtag2"]},{"1401914073":["hashtag1","hashtag2"]},{"1401914076":["hashtag1","hashtag2"]},{"1401914080":["hashtag1","hashtag2"]},{"1401914077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914082, 1401914085, 1401914073, 1401914076, 1401914080, 1401914077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07100772857666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:34:03.371637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/13/image_31122025_16_13_55_10628.jpg', '/home/pi/Desktop/images/31122025/16/13/image_31122025_16_14_05_9793.jpg', '/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_15_9744.jpg', '/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_25_9662.jpg', '/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_35_10667.jpg', '/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_45_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/13/image_31122025_16_13_55_10628.jpg
/home/pi/Desktop/images/31122025/16/13/image_31122025_16_14_05_9793.jpg
/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_15_9744.jpg
/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_25_9662.jpg
/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_35_10667.jpg
/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_45_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914091","1401914088","1401914093","1401914087","1401914086","1401914095"],"photo_ids_order":["1401914086","1401914087","1401914088","1401914091","1401914093","1401914095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed9e93560df6644883f1872b0bc56bb4.jpg","text":"TemporaryFile(/tmp/multipartBody1633889409050038162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198904013,"filename":"image_31122025_16_14_25_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/959c9144d97bc27cf58a0f49de721a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5854539916990279567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198904013,"filename":"image_31122025_16_14_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d905eba91373bebc5dd6d6417b195fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3186032640255995284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198904013,"filename":"image_31122025_16_14_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b56f0799f88b0b2e738f561bf838d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4777600992388673797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198904013,"filename":"image_31122025_16_14_05_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/deed52fd7979d7d817d4681c8651dee4.jpg","text":"TemporaryFile(/tmp/multipartBody1598922154551655846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198904013,"filename":"image_31122025_16_13_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae50f4132e3fae38b2ea9d3a02fe2fc3.jpg","text":"TemporaryFile(/tmp/multipartBody9194065697441528303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198904013,"filename":"image_31122025_16_14_45_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914088","file1":"1401914087","file0":"1401914086","file4":"1401914093","file5":"1401914095","file3":"1401914091"},"map_files_photo_id_array":[{"photo_id":"1401914095","filename":"file5"},{"photo_id":"1401914088","filename":"file2"},{"photo_id":"1401914093","filename":"file4"},{"photo_id":"1401914087","filename":"file1"},{"photo_id":"1401914086","filename":"file0"},{"photo_id":"1401914091","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914091":["hashtag1","hashtag2"]},{"1401914088":["hashtag1","hashtag2"]},{"1401914093":["hashtag1","hashtag2"]},{"1401914087":["hashtag1","hashtag2"]},{"1401914086":["hashtag1","hashtag2"]},{"1401914095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914091, 1401914088, 1401914093, 1401914087, 1401914086, 1401914095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96248936653137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:34:42.699599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_20_3622.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_22_2620.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_25_2690.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_32_2956.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_34_2772.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_37_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_20_3622.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_22_2620.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_25_2690.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_32_2956.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_34_2772.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_37_2760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914101","1401914103","1401914099","1401914105","1401914102","1401914104"],"photo_ids_order":["1401914099","1401914101","1401914102","1401914103","1401914104","1401914105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc14a36db1d9d326c0f6a591424cf069.jpg","text":"TemporaryFile(/tmp/multipartBody2736241622923329909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198944514,"filename":"image_03112025_19_26_22_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5fc31346a417ff2fb903dc4d0ebe931.jpg","text":"TemporaryFile(/tmp/multipartBody8239966822974336407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198944514,"filename":"image_03112025_19_26_32_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffa18d95f1db5fdfe4ad710a9f9b0611.jpg","text":"TemporaryFile(/tmp/multipartBody1624302995384278035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198944514,"filename":"image_03112025_19_26_20_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52e106e92b61107378cc03df02fb7d74.jpg","text":"TemporaryFile(/tmp/multipartBody8118732189756735943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198944514,"filename":"image_03112025_19_26_37_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e15c3282a2f27dd6fdbadfdea05a08c.jpg","text":"TemporaryFile(/tmp/multipartBody438877769294967124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198944514,"filename":"image_03112025_19_26_25_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68b600935d5675189bb5b919cfb2fce7.jpg","text":"TemporaryFile(/tmp/multipartBody5814265094390840824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198944514,"filename":"image_03112025_19_26_34_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914102","file1":"1401914101","file0":"1401914099","file4":"1401914104","file5":"1401914105","file3":"1401914103"},"map_files_photo_id_array":[{"photo_id":"1401914105","filename":"file5"},{"photo_id":"1401914102","filename":"file2"},{"photo_id":"1401914104","filename":"file4"},{"photo_id":"1401914101","filename":"file1"},{"photo_id":"1401914099","filename":"file0"},{"photo_id":"1401914103","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914101":["hashtag1","hashtag2"]},{"1401914103":["hashtag1","hashtag2"]},{"1401914099":["hashtag1","hashtag2"]},{"1401914105":["hashtag1","hashtag2"]},{"1401914102":["hashtag1","hashtag2"]},{"1401914104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914101, 1401914103, 1401914099, 1401914105, 1401914102, 1401914104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1109414100647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:35:21.896539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_55_9619.jpg', '/home/pi/Desktop/images/31122025/16/15/image_31122025_16_15_25_10714.jpg', '/home/pi/Desktop/images/31122025/16/15/image_31122025_16_16_04_9630.jpg', '/home/pi/Desktop/images/31122025/16/16/image_31122025_16_16_25_9729.jpg', '/home/pi/Desktop/images/31122025/16/16/image_31122025_16_16_34_9854.jpg', '/home/pi/Desktop/images/31122025/16/16/image_31122025_16_16_44_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/14/image_31122025_16_14_55_9619.jpg
/home/pi/Desktop/images/31122025/16/15/image_31122025_16_15_25_10714.jpg
/home/pi/Desktop/images/31122025/16/15/image_31122025_16_16_04_9630.jpg
/home/pi/Desktop/images/31122025/16/16/image_31122025_16_16_25_9729.jpg
/home/pi/Desktop/images/31122025/16/16/image_31122025_16_16_34_9854.jpg
/home/pi/Desktop/images/31122025/16/16/image_31122025_16_16_44_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914112","1401914106","1401914114","1401914108","1401914116","1401914110"],"photo_ids_order":["1401914106","1401914108","1401914110","1401914112","1401914114","1401914116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/564c34e9176ba358a11a0dacd9bb0798.jpg","text":"TemporaryFile(/tmp/multipartBody8463980288585567375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198982498,"filename":"image_31122025_16_16_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/931a9f4f1aca686863e21afbf8eab997.jpg","text":"TemporaryFile(/tmp/multipartBody3922698897952717760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198982498,"filename":"image_31122025_16_14_55_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b40e4cdc621d0e4727c571e99b37f35.jpg","text":"TemporaryFile(/tmp/multipartBody6888862544601940750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198982498,"filename":"image_31122025_16_16_34_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ceea742ab14a58073d4970e11c52138.jpg","text":"TemporaryFile(/tmp/multipartBody6472923519947899335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198982498,"filename":"image_31122025_16_15_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10ad584ed809f24ee4920eba876f0f49.jpg","text":"TemporaryFile(/tmp/multipartBody2189527854098544364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198982498,"filename":"image_31122025_16_16_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/388d3a966f956f26ced43666bd0d6046.jpg","text":"TemporaryFile(/tmp/multipartBody111763663969298382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767198982498,"filename":"image_31122025_16_16_04_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914110","file1":"1401914108","file0":"1401914106","file4":"1401914114","file5":"1401914116","file3":"1401914112"},"map_files_photo_id_array":[{"photo_id":"1401914116","filename":"file5"},{"photo_id":"1401914110","filename":"file2"},{"photo_id":"1401914114","filename":"file4"},{"photo_id":"1401914108","filename":"file1"},{"photo_id":"1401914106","filename":"file0"},{"photo_id":"1401914112","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914112":["hashtag1","hashtag2"]},{"1401914106":["hashtag1","hashtag2"]},{"1401914114":["hashtag1","hashtag2"]},{"1401914108":["hashtag1","hashtag2"]},{"1401914116":["hashtag1","hashtag2"]},{"1401914110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914112, 1401914106, 1401914114, 1401914108, 1401914116, 1401914110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.742424726486206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:36:02.525500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/16/image_31122025_16_16_55_10687.jpg', '/home/pi/Desktop/images/31122025/16/16/image_31122025_16_17_04_9555.jpg', '/home/pi/Desktop/images/31122025/16/17/image_31122025_16_17_15_10663.jpg', '/home/pi/Desktop/images/31122025/16/17/image_31122025_16_17_34_9754.jpg', '/home/pi/Desktop/images/31122025/16/18/image_31122025_16_18_14_9858.jpg', '/home/pi/Desktop/images/31122025/16/18/image_31122025_16_18_25_10554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/16/image_31122025_16_16_55_10687.jpg
/home/pi/Desktop/images/31122025/16/16/image_31122025_16_17_04_9555.jpg
/home/pi/Desktop/images/31122025/16/17/image_31122025_16_17_15_10663.jpg
/home/pi/Desktop/images/31122025/16/17/image_31122025_16_17_34_9754.jpg
/home/pi/Desktop/images/31122025/16/18/image_31122025_16_18_14_9858.jpg
/home/pi/Desktop/images/31122025/16/18/image_31122025_16_18_25_10554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914121","1401914124","1401914118","1401914120","1401914122","1401914119"],"photo_ids_order":["1401914118","1401914119","1401914120","1401914121","1401914122","1401914124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39e12accc3625082f52b015ae4c1342c.jpg","text":"TemporaryFile(/tmp/multipartBody9182632800850099981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199023156,"filename":"image_31122025_16_17_34_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f3e3bf425b58c0c371586a3304711c1.jpg","text":"TemporaryFile(/tmp/multipartBody4114561544546803473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199023156,"filename":"image_31122025_16_18_25_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed85d2ec80f572fe346b47ca2798fe05.jpg","text":"TemporaryFile(/tmp/multipartBody2514565490854012143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199023156,"filename":"image_31122025_16_16_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e169d222a205e61462f16b802fee662.jpg","text":"TemporaryFile(/tmp/multipartBody5736120272466594181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199023156,"filename":"image_31122025_16_17_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5e5bc171a73652d037957f097319c69.jpg","text":"TemporaryFile(/tmp/multipartBody1802710562613964041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199023156,"filename":"image_31122025_16_18_14_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50f08328292e779a757520cc3db034ce.jpg","text":"TemporaryFile(/tmp/multipartBody698395694319139431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199023156,"filename":"image_31122025_16_17_04_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914120","file1":"1401914119","file0":"1401914118","file4":"1401914122","file5":"1401914124","file3":"1401914121"},"map_files_photo_id_array":[{"photo_id":"1401914124","filename":"file5"},{"photo_id":"1401914120","filename":"file2"},{"photo_id":"1401914122","filename":"file4"},{"photo_id":"1401914119","filename":"file1"},{"photo_id":"1401914118","filename":"file0"},{"photo_id":"1401914121","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914121":["hashtag1","hashtag2"]},{"1401914124":["hashtag1","hashtag2"]},{"1401914118":["hashtag1","hashtag2"]},{"1401914120":["hashtag1","hashtag2"]},{"1401914122":["hashtag1","hashtag2"]},{"1401914119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914121, 1401914124, 1401914118, 1401914120, 1401914122, 1401914119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21387338638306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:36:42.056694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_53_3771.jpg', '/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_56_2773.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_01_5091.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_02_1580.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_04_1759.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_08_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_53_3771.jpg
/home/pi/Desktop/images/03112025/19/26/image_03112025_19_26_56_2773.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_01_5091.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_02_1580.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_04_1759.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_08_3631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914133","1401914136","1401914130","1401914132","1401914135","1401914134"],"photo_ids_order":["1401914130","1401914132","1401914133","1401914134","1401914135","1401914136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/698a5774173a9ff912ebf5d352301634.jpg","text":"TemporaryFile(/tmp/multipartBody4284339316918387538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199063913,"filename":"image_03112025_19_27_01_5091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/709cbd7247eb53d9edc01ce54aec155a.jpg","text":"TemporaryFile(/tmp/multipartBody8895435479735842041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199063913,"filename":"image_03112025_19_27_08_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e562e23aca89da51375dcaeeef0f504.jpg","text":"TemporaryFile(/tmp/multipartBody3800577992471517812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199063913,"filename":"image_03112025_19_26_53_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9da287d3ec0fb22d68dd355d704a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody5611516084963266496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199063913,"filename":"image_03112025_19_26_56_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57c0ebae8bc9fa55ea5276a332656407.jpg","text":"TemporaryFile(/tmp/multipartBody1197854893594678511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199063913,"filename":"image_03112025_19_27_04_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2af822635c288dec03340d4619a3fae.jpg","text":"TemporaryFile(/tmp/multipartBody1037970389876068381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199063913,"filename":"image_03112025_19_27_02_1580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914133","file1":"1401914132","file0":"1401914130","file4":"1401914135","file5":"1401914136","file3":"1401914134"},"map_files_photo_id_array":[{"photo_id":"1401914136","filename":"file5"},{"photo_id":"1401914133","filename":"file2"},{"photo_id":"1401914135","filename":"file4"},{"photo_id":"1401914132","filename":"file1"},{"photo_id":"1401914130","filename":"file0"},{"photo_id":"1401914134","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914133":["hashtag1","hashtag2"]},{"1401914136":["hashtag1","hashtag2"]},{"1401914130":["hashtag1","hashtag2"]},{"1401914132":["hashtag1","hashtag2"]},{"1401914135":["hashtag1","hashtag2"]},{"1401914134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914133, 1401914136, 1401914130, 1401914132, 1401914135, 1401914134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33807849884033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:37:22.225253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/18/image_31122025_16_18_34_9567.jpg', '/home/pi/Desktop/images/31122025/16/18/image_31122025_16_19_04_9622.jpg', '/home/pi/Desktop/images/31122025/16/19/image_31122025_16_19_15_10566.jpg', '/home/pi/Desktop/images/31122025/16/19/image_31122025_16_19_25_9792.jpg', '/home/pi/Desktop/images/31122025/16/19/image_31122025_16_19_34_9789.jpg', '/home/pi/Desktop/images/31122025/16/19/image_31122025_16_19_55_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/18/image_31122025_16_18_34_9567.jpg
/home/pi/Desktop/images/31122025/16/18/image_31122025_16_19_04_9622.jpg
/home/pi/Desktop/images/31122025/16/19/image_31122025_16_19_15_10566.jpg
/home/pi/Desktop/images/31122025/16/19/image_31122025_16_19_25_9792.jpg
/home/pi/Desktop/images/31122025/16/19/image_31122025_16_19_34_9789.jpg
/home/pi/Desktop/images/31122025/16/19/image_31122025_16_19_55_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914145","1401914139","1401914148","1401914141","1401914143","1401914137"],"photo_ids_order":["1401914137","1401914139","1401914141","1401914143","1401914145","1401914148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/054a055e3250835500735b5f3fab61b8.jpg","text":"TemporaryFile(/tmp/multipartBody2552640005195393901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199102821,"filename":"image_31122025_16_19_34_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bf0fa0320643496d7ea64ff31dc55f4.jpg","text":"TemporaryFile(/tmp/multipartBody2351234496031104857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199102821,"filename":"image_31122025_16_19_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f2e721f7fd407e56a114c68f0c25c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1333671154889502754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199102821,"filename":"image_31122025_16_19_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef7f62a23753036866c9d3b0fa9b60df.jpg","text":"TemporaryFile(/tmp/multipartBody5224740220033966990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199102821,"filename":"image_31122025_16_19_15_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/106062859863204470915e8dd832b51a.jpg","text":"TemporaryFile(/tmp/multipartBody6637406167453158319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199102821,"filename":"image_31122025_16_19_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e42c3bba05a7bd6343b87ded201fecf.jpg","text":"TemporaryFile(/tmp/multipartBody2066169566881479181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199102821,"filename":"image_31122025_16_18_34_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914141","file1":"1401914139","file0":"1401914137","file4":"1401914145","file5":"1401914148","file3":"1401914143"},"map_files_photo_id_array":[{"photo_id":"1401914148","filename":"file5"},{"photo_id":"1401914141","filename":"file2"},{"photo_id":"1401914145","filename":"file4"},{"photo_id":"1401914139","filename":"file1"},{"photo_id":"1401914137","filename":"file0"},{"photo_id":"1401914143","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914145":["hashtag1","hashtag2"]},{"1401914139":["hashtag1","hashtag2"]},{"1401914148":["hashtag1","hashtag2"]},{"1401914141":["hashtag1","hashtag2"]},{"1401914143":["hashtag1","hashtag2"]},{"1401914137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914145, 1401914139, 1401914148, 1401914141, 1401914143, 1401914137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.436781883239746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:38:03.071949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/20/image_31122025_16_20_14_10055.jpg', '/home/pi/Desktop/images/31122025/16/20/image_31122025_16_20_35_9683.jpg', '/home/pi/Desktop/images/31122025/16/20/image_31122025_16_20_45_9796.jpg', '/home/pi/Desktop/images/31122025/16/20/image_31122025_16_21_05_10655.jpg', '/home/pi/Desktop/images/31122025/16/21/image_31122025_16_21_15_9627.jpg', '/home/pi/Desktop/images/31122025/16/21/image_31122025_16_21_35_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/20/image_31122025_16_20_14_10055.jpg
/home/pi/Desktop/images/31122025/16/20/image_31122025_16_20_35_9683.jpg
/home/pi/Desktop/images/31122025/16/20/image_31122025_16_20_45_9796.jpg
/home/pi/Desktop/images/31122025/16/20/image_31122025_16_21_05_10655.jpg
/home/pi/Desktop/images/31122025/16/21/image_31122025_16_21_15_9627.jpg
/home/pi/Desktop/images/31122025/16/21/image_31122025_16_21_35_9557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914151","1401914154","1401914156","1401914150","1401914153","1401914152"],"photo_ids_order":["1401914150","1401914151","1401914152","1401914153","1401914154","1401914156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9df39f69ceba579d4e25c25a3ceee055.jpg","text":"TemporaryFile(/tmp/multipartBody1132569964362229742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199143723,"filename":"image_31122025_16_20_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45b3b42f0975c14e4016184348e7a27a.jpg","text":"TemporaryFile(/tmp/multipartBody5436431887828484749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199143723,"filename":"image_31122025_16_21_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dda0e85337c83f8fb6859121a3efce42.jpg","text":"TemporaryFile(/tmp/multipartBody5169918918837785212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199143723,"filename":"image_31122025_16_21_35_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdb742adcc9b8a6d682a4c7da2b6b0b6.jpg","text":"TemporaryFile(/tmp/multipartBody558725792242777108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199143723,"filename":"image_31122025_16_20_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51ce8a67b722efedd9cf147b22cd2e04.jpg","text":"TemporaryFile(/tmp/multipartBody4760478366624320530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199143723,"filename":"image_31122025_16_21_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81046aeeca707d5df972fce005e70c68.jpg","text":"TemporaryFile(/tmp/multipartBody2620907120371875113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199143723,"filename":"image_31122025_16_20_45_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914152","file1":"1401914151","file0":"1401914150","file4":"1401914154","file5":"1401914156","file3":"1401914153"},"map_files_photo_id_array":[{"photo_id":"1401914156","filename":"file5"},{"photo_id":"1401914152","filename":"file2"},{"photo_id":"1401914154","filename":"file4"},{"photo_id":"1401914151","filename":"file1"},{"photo_id":"1401914150","filename":"file0"},{"photo_id":"1401914153","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914151":["hashtag1","hashtag2"]},{"1401914154":["hashtag1","hashtag2"]},{"1401914156":["hashtag1","hashtag2"]},{"1401914150":["hashtag1","hashtag2"]},{"1401914153":["hashtag1","hashtag2"]},{"1401914152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914151, 1401914154, 1401914156, 1401914150, 1401914153, 1401914152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35085153579712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:38:42.537216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_16_8611.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_21_1762.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_23_1530.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_24_1663.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_26_1786.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_29_3064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_16_8611.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_21_1762.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_23_1530.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_24_1663.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_26_1786.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_29_3064.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7647130489349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:39:03.833598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/21/image_31122025_16_21_45_9917.jpg', '/home/pi/Desktop/images/31122025/16/21/image_31122025_16_21_54_9636.jpg', '/home/pi/Desktop/images/31122025/16/21/image_31122025_16_22_05_10679.jpg', '/home/pi/Desktop/images/31122025/16/22/image_31122025_16_22_24_9679.jpg', '/home/pi/Desktop/images/31122025/16/22/image_31122025_16_22_35_10673.jpg', '/home/pi/Desktop/images/31122025/16/22/image_31122025_16_22_45_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/21/image_31122025_16_21_45_9917.jpg
/home/pi/Desktop/images/31122025/16/21/image_31122025_16_21_54_9636.jpg
/home/pi/Desktop/images/31122025/16/21/image_31122025_16_22_05_10679.jpg
/home/pi/Desktop/images/31122025/16/22/image_31122025_16_22_24_9679.jpg
/home/pi/Desktop/images/31122025/16/22/image_31122025_16_22_35_10673.jpg
/home/pi/Desktop/images/31122025/16/22/image_31122025_16_22_45_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914175","1401914172","1401914169","1401914171","1401914170","1401914173"],"photo_ids_order":["1401914169","1401914170","1401914171","1401914172","1401914173","1401914175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f7f4d9a447420446e14d0a44b2092cd.jpg","text":"TemporaryFile(/tmp/multipartBody6772982952920348376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199204573,"filename":"image_31122025_16_22_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2186dfe0e6f1a0a77ad8494670ebe564.jpg","text":"TemporaryFile(/tmp/multipartBody5730862831838431935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199204573,"filename":"image_31122025_16_22_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87c93d9587bb811cab2047260e0f8ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8930556623492518901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199204573,"filename":"image_31122025_16_21_45_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2d7bbe118ae5d93813a5b7510dda31e.jpg","text":"TemporaryFile(/tmp/multipartBody5003297059669200957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199204573,"filename":"image_31122025_16_22_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e92b264d48600cdf302825eea22afe1.jpg","text":"TemporaryFile(/tmp/multipartBody711116935608714811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199204573,"filename":"image_31122025_16_21_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5458d77c98bb3689417d90a66e567820.jpg","text":"TemporaryFile(/tmp/multipartBody3150439793990907309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199204573,"filename":"image_31122025_16_22_35_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914171","file1":"1401914170","file0":"1401914169","file4":"1401914173","file5":"1401914175","file3":"1401914172"},"map_files_photo_id_array":[{"photo_id":"1401914175","filename":"file5"},{"photo_id":"1401914171","filename":"file2"},{"photo_id":"1401914173","filename":"file4"},{"photo_id":"1401914170","filename":"file1"},{"photo_id":"1401914169","filename":"file0"},{"photo_id":"1401914172","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914175":["hashtag1","hashtag2"]},{"1401914172":["hashtag1","hashtag2"]},{"1401914169":["hashtag1","hashtag2"]},{"1401914171":["hashtag1","hashtag2"]},{"1401914170":["hashtag1","hashtag2"]},{"1401914173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914175, 1401914172, 1401914169, 1401914171, 1401914170, 1401914173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19984841346741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:39:42.759228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_16_8611.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_21_1762.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_23_1530.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_24_1663.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_26_1786.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_29_3064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_16_8611.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_21_1762.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_23_1530.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_24_1663.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_26_1786.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_29_3064.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914181","1401914184","1401914187","1401914186","1401914183","1401914185"],"photo_ids_order":["1401914181","1401914183","1401914184","1401914185","1401914186","1401914187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e11578d571a198a61b6bb5e9fa5e3c95.jpg","text":"TemporaryFile(/tmp/multipartBody4714701296967277196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199244500,"filename":"image_03112025_19_27_16_8611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3811187dfcb9c48d295649d7a1b9d7da.jpg","text":"TemporaryFile(/tmp/multipartBody5788896544599234314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199244500,"filename":"image_03112025_19_27_23_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cf5e10143cee1e79b604423121f8653.jpg","text":"TemporaryFile(/tmp/multipartBody225417538299491241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199244500,"filename":"image_03112025_19_27_29_3064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80aa05cc6e540b475df3b36e338317f4.jpg","text":"TemporaryFile(/tmp/multipartBody7687074466499382103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199244500,"filename":"image_03112025_19_27_26_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/465e35b4596ab70c8a00f2ef77a1aced.jpg","text":"TemporaryFile(/tmp/multipartBody3615931048203294155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199244500,"filename":"image_03112025_19_27_21_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3607b6e4078d64cfed95fd38bf46f1e3.jpg","text":"TemporaryFile(/tmp/multipartBody8263555585112554757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199244500,"filename":"image_03112025_19_27_24_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914184","file1":"1401914183","file0":"1401914181","file4":"1401914186","file5":"1401914187","file3":"1401914185"},"map_files_photo_id_array":[{"photo_id":"1401914187","filename":"file5"},{"photo_id":"1401914184","filename":"file2"},{"photo_id":"1401914186","filename":"file4"},{"photo_id":"1401914183","filename":"file1"},{"photo_id":"1401914181","filename":"file0"},{"photo_id":"1401914185","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914181":["hashtag1","hashtag2"]},{"1401914184":["hashtag1","hashtag2"]},{"1401914187":["hashtag1","hashtag2"]},{"1401914186":["hashtag1","hashtag2"]},{"1401914183":["hashtag1","hashtag2"]},{"1401914185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914181, 1401914184, 1401914187, 1401914186, 1401914183, 1401914185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.830779790878296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:40:21.903982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/22/image_31122025_16_23_05_10617.jpg', '/home/pi/Desktop/images/31122025/16/23/image_31122025_16_23_15_9842.jpg', '/home/pi/Desktop/images/31122025/16/23/image_31122025_16_23_35_10671.jpg', '/home/pi/Desktop/images/31122025/16/23/image_31122025_16_23_55_9731.jpg', '/home/pi/Desktop/images/31122025/16/23/image_31122025_16_24_05_10560.jpg', '/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_15_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/22/image_31122025_16_23_05_10617.jpg
/home/pi/Desktop/images/31122025/16/23/image_31122025_16_23_15_9842.jpg
/home/pi/Desktop/images/31122025/16/23/image_31122025_16_23_35_10671.jpg
/home/pi/Desktop/images/31122025/16/23/image_31122025_16_23_55_9731.jpg
/home/pi/Desktop/images/31122025/16/23/image_31122025_16_24_05_10560.jpg
/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_15_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914196","1401914190","1401914192","1401914198","1401914194","1401914188"],"photo_ids_order":["1401914188","1401914190","1401914192","1401914194","1401914196","1401914198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37fda37a176d1d91a3801ac28180d71b.jpg","text":"TemporaryFile(/tmp/multipartBody609997686255927663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199282515,"filename":"image_31122025_16_24_05_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87f536d96b7da94c8a0a3beabdfbd49d.jpg","text":"TemporaryFile(/tmp/multipartBody354025134869521016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199282515,"filename":"image_31122025_16_23_15_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e80170fd3d005f6ab743532690d28594.jpg","text":"TemporaryFile(/tmp/multipartBody4968656969639360328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199282515,"filename":"image_31122025_16_23_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf84bb11352d97d4c4fcb52be8c999fb.jpg","text":"TemporaryFile(/tmp/multipartBody294772551807726868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199282515,"filename":"image_31122025_16_24_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3823b502fdced19ef833c2e7cbafffc.jpg","text":"TemporaryFile(/tmp/multipartBody3129043387614226558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199282515,"filename":"image_31122025_16_23_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7493be9c98bb7697751d47317cf77337.jpg","text":"TemporaryFile(/tmp/multipartBody8979580244936709677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199282515,"filename":"image_31122025_16_23_05_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914192","file1":"1401914190","file0":"1401914188","file4":"1401914196","file5":"1401914198","file3":"1401914194"},"map_files_photo_id_array":[{"photo_id":"1401914198","filename":"file5"},{"photo_id":"1401914192","filename":"file2"},{"photo_id":"1401914196","filename":"file4"},{"photo_id":"1401914190","filename":"file1"},{"photo_id":"1401914188","filename":"file0"},{"photo_id":"1401914194","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914196":["hashtag1","hashtag2"]},{"1401914190":["hashtag1","hashtag2"]},{"1401914192":["hashtag1","hashtag2"]},{"1401914198":["hashtag1","hashtag2"]},{"1401914194":["hashtag1","hashtag2"]},{"1401914188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914196, 1401914190, 1401914192, 1401914198, 1401914194, 1401914188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11997032165527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:41:02.836702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_25_9720.jpg', '/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_34_9699.jpg', '/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_45_10713.jpg', '/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_55_9632.jpg', '/home/pi/Desktop/images/31122025/16/25/image_31122025_16_25_14_10054.jpg', '/home/pi/Desktop/images/31122025/16/25/image_31122025_16_25_35_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_25_9720.jpg
/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_34_9699.jpg
/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_45_10713.jpg
/home/pi/Desktop/images/31122025/16/24/image_31122025_16_24_55_9632.jpg
/home/pi/Desktop/images/31122025/16/25/image_31122025_16_25_14_10054.jpg
/home/pi/Desktop/images/31122025/16/25/image_31122025_16_25_35_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914200","1401914202","1401914205","1401914204","1401914207","1401914201"],"photo_ids_order":["1401914200","1401914201","1401914202","1401914204","1401914205","1401914207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4e524ad5df6f5108738a55123c706f7.jpg","text":"TemporaryFile(/tmp/multipartBody6172247521716815095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199323510,"filename":"image_31122025_16_24_25_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c0533d72e3d44cb490eb3906ce10c4b.jpg","text":"TemporaryFile(/tmp/multipartBody164604880577373574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199323510,"filename":"image_31122025_16_24_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99399e5fd7dea855ec125a1f856821e3.jpg","text":"TemporaryFile(/tmp/multipartBody6748992094792747790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199323510,"filename":"image_31122025_16_25_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/754ccb218247664aa798ae4db59989f2.jpg","text":"TemporaryFile(/tmp/multipartBody94392248167939298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199323510,"filename":"image_31122025_16_24_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e69429b5c18078c4b58a19b54b80e16.jpg","text":"TemporaryFile(/tmp/multipartBody7209708038233871190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199323510,"filename":"image_31122025_16_25_35_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca1b6cbad282a9035b72ef3ae15d2ea2.jpg","text":"TemporaryFile(/tmp/multipartBody2860933921643675917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199323510,"filename":"image_31122025_16_24_34_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914202","file1":"1401914201","file0":"1401914200","file4":"1401914205","file5":"1401914207","file3":"1401914204"},"map_files_photo_id_array":[{"photo_id":"1401914207","filename":"file5"},{"photo_id":"1401914202","filename":"file2"},{"photo_id":"1401914205","filename":"file4"},{"photo_id":"1401914201","filename":"file1"},{"photo_id":"1401914200","filename":"file0"},{"photo_id":"1401914204","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914200":["hashtag1","hashtag2"]},{"1401914202":["hashtag1","hashtag2"]},{"1401914205":["hashtag1","hashtag2"]},{"1401914204":["hashtag1","hashtag2"]},{"1401914207":["hashtag1","hashtag2"]},{"1401914201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914200, 1401914202, 1401914205, 1401914204, 1401914207, 1401914201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.244744062423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:41:42.194298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_37_2626.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_41_3683.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_43_2752.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_46_2593.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_52_6159.jpg', '/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_54_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_37_2626.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_41_3683.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_43_2752.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_46_2593.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_52_6159.jpg
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_54_1607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914217","1401914219","1401914213","1401914216","1401914215","1401914218"],"photo_ids_order":["1401914213","1401914215","1401914216","1401914217","1401914218","1401914219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/278add3d4fa0513878a587d340cfe7d1.jpg","text":"TemporaryFile(/tmp/multipartBody8312254140285274379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199364046,"filename":"image_03112025_19_27_46_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67d0987ca9d00fc9fddc25f35ee65bd4.jpg","text":"TemporaryFile(/tmp/multipartBody2170499125599525556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199364046,"filename":"image_03112025_19_27_54_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11e12af5accfae17c59123afc0ec887f.jpg","text":"TemporaryFile(/tmp/multipartBody3315234348488823658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199364046,"filename":"image_03112025_19_27_37_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21316da46fb52cf67f3cd03efcec1e8b.jpg","text":"TemporaryFile(/tmp/multipartBody4425320675071687617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199364046,"filename":"image_03112025_19_27_43_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f26181ff70d3cdffd3c7befe2d0a23f9.jpg","text":"TemporaryFile(/tmp/multipartBody4458563189642999436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199364046,"filename":"image_03112025_19_27_41_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e0504ae3e53093330276ac3303c36e5.jpg","text":"TemporaryFile(/tmp/multipartBody1110827482163205332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199364046,"filename":"image_03112025_19_27_52_6159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914216","file1":"1401914215","file0":"1401914213","file4":"1401914218","file5":"1401914219","file3":"1401914217"},"map_files_photo_id_array":[{"photo_id":"1401914219","filename":"file5"},{"photo_id":"1401914216","filename":"file2"},{"photo_id":"1401914218","filename":"file4"},{"photo_id":"1401914215","filename":"file1"},{"photo_id":"1401914213","filename":"file0"},{"photo_id":"1401914217","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914217":["hashtag1","hashtag2"]},{"1401914219":["hashtag1","hashtag2"]},{"1401914213":["hashtag1","hashtag2"]},{"1401914216":["hashtag1","hashtag2"]},{"1401914215":["hashtag1","hashtag2"]},{"1401914218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914217, 1401914219, 1401914213, 1401914216, 1401914215, 1401914218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1852331161499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:42:22.433092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/25/image_31122025_16_25_44_9664.jpg', '/home/pi/Desktop/images/31122025/16/25/image_31122025_16_26_05_10784.jpg', '/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_15_9598.jpg', '/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_24_9781.jpg', '/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_35_10612.jpg', '/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_45_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/25/image_31122025_16_25_44_9664.jpg
/home/pi/Desktop/images/31122025/16/25/image_31122025_16_26_05_10784.jpg
/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_15_9598.jpg
/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_24_9781.jpg
/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_35_10612.jpg
/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_45_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914227","1401914229","1401914223","1401914231","1401914225","1401914221"],"photo_ids_order":["1401914221","1401914223","1401914225","1401914227","1401914229","1401914231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af4d6e44b57add8d60d3c2ede55e15da.jpg","text":"TemporaryFile(/tmp/multipartBody6794774666266218537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199403115,"filename":"image_31122025_16_26_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67d8c5c6819a0a5d0818038e1b261ab7.jpg","text":"TemporaryFile(/tmp/multipartBody4539153518979106711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199403115,"filename":"image_31122025_16_26_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a40bed6ebe75499bf26813d05abbb61f.jpg","text":"TemporaryFile(/tmp/multipartBody4737395389270082537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199403115,"filename":"image_31122025_16_26_05_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5de0544ab871ff901e5121ae7e959fbe.jpg","text":"TemporaryFile(/tmp/multipartBody413820134986590062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199403115,"filename":"image_31122025_16_26_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d78357bd5e544158b16d76f340ceab0.jpg","text":"TemporaryFile(/tmp/multipartBody3378318188920208667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199403115,"filename":"image_31122025_16_26_15_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d735f542a3671a85c692b8fffa565784.jpg","text":"TemporaryFile(/tmp/multipartBody8995116127862821941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199403115,"filename":"image_31122025_16_25_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914225","file1":"1401914223","file0":"1401914221","file4":"1401914229","file5":"1401914231","file3":"1401914227"},"map_files_photo_id_array":[{"photo_id":"1401914231","filename":"file5"},{"photo_id":"1401914225","filename":"file2"},{"photo_id":"1401914229","filename":"file4"},{"photo_id":"1401914223","filename":"file1"},{"photo_id":"1401914221","filename":"file0"},{"photo_id":"1401914227","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914227":["hashtag1","hashtag2"]},{"1401914229":["hashtag1","hashtag2"]},{"1401914223":["hashtag1","hashtag2"]},{"1401914231":["hashtag1","hashtag2"]},{"1401914225":["hashtag1","hashtag2"]},{"1401914221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914227, 1401914229, 1401914223, 1401914231, 1401914225, 1401914221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02660346031189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:43:03.338967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_54_9855.jpg', '/home/pi/Desktop/images/31122025/16/26/image_31122025_16_27_04_9660.jpg', '/home/pi/Desktop/images/31122025/16/27/image_31122025_16_27_25_9870.jpg', '/home/pi/Desktop/images/31122025/16/27/image_31122025_16_27_34_9629.jpg', '/home/pi/Desktop/images/31122025/16/27/image_31122025_16_27_55_9715.jpg', '/home/pi/Desktop/images/31122025/16/28/image_31122025_16_28_44_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/26/image_31122025_16_26_54_9855.jpg
/home/pi/Desktop/images/31122025/16/26/image_31122025_16_27_04_9660.jpg
/home/pi/Desktop/images/31122025/16/27/image_31122025_16_27_25_9870.jpg
/home/pi/Desktop/images/31122025/16/27/image_31122025_16_27_34_9629.jpg
/home/pi/Desktop/images/31122025/16/27/image_31122025_16_27_55_9715.jpg
/home/pi/Desktop/images/31122025/16/28/image_31122025_16_28_44_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914235","1401914237","1401914234","1401914233","1401914236","1401914239"],"photo_ids_order":["1401914233","1401914234","1401914235","1401914236","1401914237","1401914239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3f192357395c3f7f968c0758a4e492a.jpg","text":"TemporaryFile(/tmp/multipartBody7255817722651260333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199443991,"filename":"image_31122025_16_27_25_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bf47810725c887df46e0a137d3700d3.jpg","text":"TemporaryFile(/tmp/multipartBody2874917896486482127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199443991,"filename":"image_31122025_16_27_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea1b68f6244c0f4afe438bf455129c11.jpg","text":"TemporaryFile(/tmp/multipartBody7666543175423793070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199443991,"filename":"image_31122025_16_27_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46909278e7bb58a008dfb263bce9daac.jpg","text":"TemporaryFile(/tmp/multipartBody6810918550988495106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199443991,"filename":"image_31122025_16_26_54_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49a3092b279a8e6b0d6f685abaf9670d.jpg","text":"TemporaryFile(/tmp/multipartBody8886140455235832688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199443991,"filename":"image_31122025_16_27_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a92a946d2ba0db9e35ac78b0ce0f53a.jpg","text":"TemporaryFile(/tmp/multipartBody4698266434425694066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199443991,"filename":"image_31122025_16_28_44_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914235","file1":"1401914234","file0":"1401914233","file4":"1401914237","file5":"1401914239","file3":"1401914236"},"map_files_photo_id_array":[{"photo_id":"1401914239","filename":"file5"},{"photo_id":"1401914235","filename":"file2"},{"photo_id":"1401914237","filename":"file4"},{"photo_id":"1401914234","filename":"file1"},{"photo_id":"1401914233","filename":"file0"},{"photo_id":"1401914236","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914235":["hashtag1","hashtag2"]},{"1401914237":["hashtag1","hashtag2"]},{"1401914234":["hashtag1","hashtag2"]},{"1401914233":["hashtag1","hashtag2"]},{"1401914236":["hashtag1","hashtag2"]},{"1401914239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914235, 1401914237, 1401914234, 1401914233, 1401914236, 1401914239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48447918891907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:43:42.517821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_55_1600.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_20_1521.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_22_1638.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_23_1698.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_25_1605.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_27_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/27/image_03112025_19_27_55_1600.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_20_1521.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_22_1638.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_23_1698.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_25_1605.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_27_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914250","1401914253","1401914247","1401914249","1401914252","1401914251"],"photo_ids_order":["1401914247","1401914249","1401914250","1401914251","1401914252","1401914253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec5e70b2c319a8e2ee4c1fd241db4f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4693434001451709001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199484361,"filename":"image_03112025_19_28_22_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0efa8544fe271735315d220f2644a4b9.jpg","text":"TemporaryFile(/tmp/multipartBody6292673767883338081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199484361,"filename":"image_03112025_19_28_27_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18208fc4436365151fa52bd331e164d5.jpg","text":"TemporaryFile(/tmp/multipartBody740261923018734282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199484361,"filename":"image_03112025_19_27_55_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e010dd3c55a560ee048d3784c6066cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7902424395916319232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199484361,"filename":"image_03112025_19_28_20_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35a81476c68b2ebbfa7831ae38d0b991.jpg","text":"TemporaryFile(/tmp/multipartBody8130389099504578384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199484361,"filename":"image_03112025_19_28_25_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98ca08ac2668c6979bfb6b31bee726e2.jpg","text":"TemporaryFile(/tmp/multipartBody3407744080897681671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199484361,"filename":"image_03112025_19_28_23_1698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914250","file1":"1401914249","file0":"1401914247","file4":"1401914252","file5":"1401914253","file3":"1401914251"},"map_files_photo_id_array":[{"photo_id":"1401914253","filename":"file5"},{"photo_id":"1401914250","filename":"file2"},{"photo_id":"1401914252","filename":"file4"},{"photo_id":"1401914249","filename":"file1"},{"photo_id":"1401914247","filename":"file0"},{"photo_id":"1401914251","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914250":["hashtag1","hashtag2"]},{"1401914253":["hashtag1","hashtag2"]},{"1401914247":["hashtag1","hashtag2"]},{"1401914249":["hashtag1","hashtag2"]},{"1401914252":["hashtag1","hashtag2"]},{"1401914251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914250, 1401914253, 1401914247, 1401914249, 1401914252, 1401914251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.627464056015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:44:22.709051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/28/image_31122025_16_28_55_10743.jpg', '/home/pi/Desktop/images/31122025/16/28/image_31122025_16_29_05_9668.jpg', '/home/pi/Desktop/images/31122025/16/29/image_31122025_16_29_14_9561.jpg', '/home/pi/Desktop/images/31122025/16/29/image_31122025_16_29_25_10691.jpg', '/home/pi/Desktop/images/31122025/16/29/image_31122025_16_29_34_9626.jpg', '/home/pi/Desktop/images/31122025/16/29/image_31122025_16_29_45_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/28/image_31122025_16_28_55_10743.jpg
/home/pi/Desktop/images/31122025/16/28/image_31122025_16_29_05_9668.jpg
/home/pi/Desktop/images/31122025/16/29/image_31122025_16_29_14_9561.jpg
/home/pi/Desktop/images/31122025/16/29/image_31122025_16_29_25_10691.jpg
/home/pi/Desktop/images/31122025/16/29/image_31122025_16_29_34_9626.jpg
/home/pi/Desktop/images/31122025/16/29/image_31122025_16_29_45_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914262","1401914259","1401914266","1401914269","1401914263","1401914257"],"photo_ids_order":["1401914257","1401914259","1401914262","1401914263","1401914266","1401914269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3aa1cc6675c4734325576d2fac11826.jpg","text":"TemporaryFile(/tmp/multipartBody7870646202831997528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199523312,"filename":"image_31122025_16_29_14_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e633a7055718efd5dbde48c007fe6898.jpg","text":"TemporaryFile(/tmp/multipartBody217596683301509047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199523312,"filename":"image_31122025_16_29_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9bb94017c4252c42078c9e98c366e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8480609928511658880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199523312,"filename":"image_31122025_16_29_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bce9f19bb3ef3471cdd4bcd8698df1bb.jpg","text":"TemporaryFile(/tmp/multipartBody1040251883342298556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199523312,"filename":"image_31122025_16_29_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3462833a245074fcd0792a8eb94139c0.jpg","text":"TemporaryFile(/tmp/multipartBody4180738675882212363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199523312,"filename":"image_31122025_16_29_25_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ca46e109b1c4b8a1f724d89643fd670.jpg","text":"TemporaryFile(/tmp/multipartBody9128538715184127720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199523312,"filename":"image_31122025_16_28_55_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914262","file1":"1401914259","file0":"1401914257","file4":"1401914266","file5":"1401914269","file3":"1401914263"},"map_files_photo_id_array":[{"photo_id":"1401914269","filename":"file5"},{"photo_id":"1401914262","filename":"file2"},{"photo_id":"1401914266","filename":"file4"},{"photo_id":"1401914259","filename":"file1"},{"photo_id":"1401914257","filename":"file0"},{"photo_id":"1401914263","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914262":["hashtag1","hashtag2"]},{"1401914259":["hashtag1","hashtag2"]},{"1401914266":["hashtag1","hashtag2"]},{"1401914269":["hashtag1","hashtag2"]},{"1401914263":["hashtag1","hashtag2"]},{"1401914257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914262, 1401914259, 1401914266, 1401914269, 1401914263, 1401914257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16834783554077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:45:02.383947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/30/image_31122025_16_30_14_10058.jpg', '/home/pi/Desktop/images/31122025/16/30/image_31122025_16_30_45_10660.jpg', '/home/pi/Desktop/images/31122025/16/30/image_31122025_16_31_04_9642.jpg', '/home/pi/Desktop/images/31122025/16/31/image_31122025_16_31_25_9659.jpg', '/home/pi/Desktop/images/31122025/16/31/image_31122025_16_31_45_10659.jpg', '/home/pi/Desktop/images/31122025/16/31/image_31122025_16_32_04_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/30/image_31122025_16_30_14_10058.jpg
/home/pi/Desktop/images/31122025/16/30/image_31122025_16_30_45_10660.jpg
/home/pi/Desktop/images/31122025/16/30/image_31122025_16_31_04_9642.jpg
/home/pi/Desktop/images/31122025/16/31/image_31122025_16_31_25_9659.jpg
/home/pi/Desktop/images/31122025/16/31/image_31122025_16_31_45_10659.jpg
/home/pi/Desktop/images/31122025/16/31/image_31122025_16_32_04_9831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914271","1401914273","1401914276","1401914278","1401914272","1401914275"],"photo_ids_order":["1401914271","1401914272","1401914273","1401914275","1401914276","1401914278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3dbdc97938b7385b49770a3e82839c6.jpg","text":"TemporaryFile(/tmp/multipartBody334193293018782886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199563033,"filename":"image_31122025_16_30_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6e6a7b72a516756b66bee506a043d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2217631516951048242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199563033,"filename":"image_31122025_16_31_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c90ee52f0fd4e64737764dd8f6a552c1.jpg","text":"TemporaryFile(/tmp/multipartBody4311577044497077393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199563033,"filename":"image_31122025_16_31_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8742084d51df2e219d44a96812171322.jpg","text":"TemporaryFile(/tmp/multipartBody3966507717646196385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199563033,"filename":"image_31122025_16_32_04_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40c2ca1d3b1391caa09ac9d4007dfa7d.jpg","text":"TemporaryFile(/tmp/multipartBody258377357325203566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199563033,"filename":"image_31122025_16_30_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e869e1088265ec475cf6be68ef498f57.jpg","text":"TemporaryFile(/tmp/multipartBody7219846007435258152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199563033,"filename":"image_31122025_16_31_25_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914273","file1":"1401914272","file0":"1401914271","file4":"1401914276","file5":"1401914278","file3":"1401914275"},"map_files_photo_id_array":[{"photo_id":"1401914278","filename":"file5"},{"photo_id":"1401914273","filename":"file2"},{"photo_id":"1401914276","filename":"file4"},{"photo_id":"1401914272","filename":"file1"},{"photo_id":"1401914271","filename":"file0"},{"photo_id":"1401914275","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914271":["hashtag1","hashtag2"]},{"1401914273":["hashtag1","hashtag2"]},{"1401914276":["hashtag1","hashtag2"]},{"1401914278":["hashtag1","hashtag2"]},{"1401914272":["hashtag1","hashtag2"]},{"1401914275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914271, 1401914273, 1401914276, 1401914278, 1401914272, 1401914275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.723172664642334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:45:41.892910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_30_1831.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_34_1747.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_37_1603.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_40_3540.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_43_2531.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_49_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_30_1831.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_34_1747.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_37_1603.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_40_3540.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_43_2531.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_49_3595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914289","1401914286","1401914288","1401914290","1401914284","1401914287"],"photo_ids_order":["1401914284","1401914286","1401914287","1401914288","1401914289","1401914290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bab081c80b19dd4f405550ca6319327.jpg","text":"TemporaryFile(/tmp/multipartBody6434839300472110459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199603938,"filename":"image_03112025_19_28_43_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95f5e321b6b2dbca691c2e5758b7944a.jpg","text":"TemporaryFile(/tmp/multipartBody6423924981332147614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199603938,"filename":"image_03112025_19_28_34_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1e174ffe3dc550e452859bc9b05cf61.jpg","text":"TemporaryFile(/tmp/multipartBody1318783885524230362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199603938,"filename":"image_03112025_19_28_40_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85d941dbdbba53c3cae9bc5fd1acc2b2.jpg","text":"TemporaryFile(/tmp/multipartBody8915977905159526366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199603938,"filename":"image_03112025_19_28_49_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dabe23e1d090ba1f19f7789ef5a5dc68.jpg","text":"TemporaryFile(/tmp/multipartBody6450949187448133155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199603938,"filename":"image_03112025_19_28_30_1831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d90430b245cfbfa7d0f483c566a60410.jpg","text":"TemporaryFile(/tmp/multipartBody7351683432398553499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199603938,"filename":"image_03112025_19_28_37_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914287","file1":"1401914286","file0":"1401914284","file4":"1401914289","file5":"1401914290","file3":"1401914288"},"map_files_photo_id_array":[{"photo_id":"1401914290","filename":"file5"},{"photo_id":"1401914287","filename":"file2"},{"photo_id":"1401914289","filename":"file4"},{"photo_id":"1401914286","filename":"file1"},{"photo_id":"1401914284","filename":"file0"},{"photo_id":"1401914288","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914289":["hashtag1","hashtag2"]},{"1401914286":["hashtag1","hashtag2"]},{"1401914288":["hashtag1","hashtag2"]},{"1401914290":["hashtag1","hashtag2"]},{"1401914284":["hashtag1","hashtag2"]},{"1401914287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914289, 1401914286, 1401914288, 1401914290, 1401914284, 1401914287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.554840087890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:46:22.208888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/32/image_31122025_16_32_25_10815.jpg', '/home/pi/Desktop/images/31122025/16/32/image_31122025_16_32_55_10606.jpg', '/home/pi/Desktop/images/31122025/16/33/image_31122025_16_33_44_9791.jpg', '/home/pi/Desktop/images/31122025/16/33/image_31122025_16_34_05_9544.jpg', '/home/pi/Desktop/images/31122025/16/34/image_31122025_16_34_35_10599.jpg', '/home/pi/Desktop/images/31122025/16/34/image_31122025_16_34_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/32/image_31122025_16_32_25_10815.jpg
/home/pi/Desktop/images/31122025/16/32/image_31122025_16_32_55_10606.jpg
/home/pi/Desktop/images/31122025/16/33/image_31122025_16_33_44_9791.jpg
/home/pi/Desktop/images/31122025/16/33/image_31122025_16_34_05_9544.jpg
/home/pi/Desktop/images/31122025/16/34/image_31122025_16_34_35_10599.jpg
/home/pi/Desktop/images/31122025/16/34/image_31122025_16_34_44_9623.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4933476448059082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:46:32.230221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_52_3240.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_55_2502.jpg', '/home/pi/Desktop/images/03112025/19/28/image_03112025_19_29_01_3683.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_04_2745.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_07_2515.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_11_3784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_52_3240.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_28_55_2502.jpg
/home/pi/Desktop/images/03112025/19/28/image_03112025_19_29_01_3683.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_04_2745.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_07_2515.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_11_3784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914308","1401914307","1401914304","1401914297","1401914309","1401914300"],"photo_ids_order":["1401914297","1401914300","1401914304","1401914307","1401914308","1401914309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0142fc1be2b208ded7bc9ac8ddce4f2f.jpg","text":"TemporaryFile(/tmp/multipartBody771809904913485514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199654050,"filename":"image_03112025_19_29_07_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fe89a4f2d3c8c7ab505eb3a4bed235c.jpg","text":"TemporaryFile(/tmp/multipartBody6440470124202966102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199654050,"filename":"image_03112025_19_29_04_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/418f9dddd33a02886edce978cbfbdae1.jpg","text":"TemporaryFile(/tmp/multipartBody2317511417734423074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199654050,"filename":"image_03112025_19_29_01_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fac0d2c8f788a655ec97afb78d607811.jpg","text":"TemporaryFile(/tmp/multipartBody5504177393032529010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199654050,"filename":"image_03112025_19_28_52_3240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aae0a687b69348a42f4b608c0b19a92c.jpg","text":"TemporaryFile(/tmp/multipartBody3183525911497061425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199654050,"filename":"image_03112025_19_29_11_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a5cfd09987d84f57f09b9b3985c5105.jpg","text":"TemporaryFile(/tmp/multipartBody8041138200821338131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199654050,"filename":"image_03112025_19_28_55_2502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914304","file1":"1401914300","file0":"1401914297","file4":"1401914308","file5":"1401914309","file3":"1401914307"},"map_files_photo_id_array":[{"photo_id":"1401914309","filename":"file5"},{"photo_id":"1401914304","filename":"file2"},{"photo_id":"1401914308","filename":"file4"},{"photo_id":"1401914300","filename":"file1"},{"photo_id":"1401914297","filename":"file0"},{"photo_id":"1401914307","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914308":["hashtag1","hashtag2"]},{"1401914307":["hashtag1","hashtag2"]},{"1401914304":["hashtag1","hashtag2"]},{"1401914297":["hashtag1","hashtag2"]},{"1401914309":["hashtag1","hashtag2"]},{"1401914300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914308, 1401914307, 1401914304, 1401914297, 1401914309, 1401914300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41108012199402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:47:12.315745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_13_2586.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_16_2643.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_19_3658.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_22_2607.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_25_2902.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_34_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_13_2586.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_16_2643.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_19_3658.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_22_2607.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_25_2902.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_34_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914319","1401914313","1401914310","1401914312","1401914315","1401914317"],"photo_ids_order":["1401914310","1401914312","1401914313","1401914315","1401914317","1401914319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f91fe3d5d4b06a0d401b742dfe6584ac.jpg","text":"TemporaryFile(/tmp/multipartBody2949045651682576776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199694029,"filename":"image_03112025_19_29_34_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5667dd5d44611892ada1683b4a739a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5759167135674168426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199694029,"filename":"image_03112025_19_29_19_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d145ee151ac73d687090ddcc6008ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4766650092260020218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199694029,"filename":"image_03112025_19_29_13_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f258c0a8b4e5c25e7a740b8ca1837cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1995378058326115317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199694029,"filename":"image_03112025_19_29_16_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8ba9c1acd9122abf62bd27535b41096.jpg","text":"TemporaryFile(/tmp/multipartBody7675645033132700057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199694029,"filename":"image_03112025_19_29_22_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1961f699ef017f34963aa282f20e340.jpg","text":"TemporaryFile(/tmp/multipartBody722457760982579004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199694029,"filename":"image_03112025_19_29_25_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914313","file1":"1401914312","file0":"1401914310","file4":"1401914317","file5":"1401914319","file3":"1401914315"},"map_files_photo_id_array":[{"photo_id":"1401914319","filename":"file5"},{"photo_id":"1401914313","filename":"file2"},{"photo_id":"1401914317","filename":"file4"},{"photo_id":"1401914312","filename":"file1"},{"photo_id":"1401914310","filename":"file0"},{"photo_id":"1401914315","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914319":["hashtag1","hashtag2"]},{"1401914313":["hashtag1","hashtag2"]},{"1401914310":["hashtag1","hashtag2"]},{"1401914312":["hashtag1","hashtag2"]},{"1401914315":["hashtag1","hashtag2"]},{"1401914317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914319, 1401914313, 1401914310, 1401914312, 1401914315, 1401914317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1022002696991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:48:03.160599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/32/image_31122025_16_32_25_10815.jpg', '/home/pi/Desktop/images/31122025/16/32/image_31122025_16_32_55_10606.jpg', '/home/pi/Desktop/images/31122025/16/33/image_31122025_16_33_44_9791.jpg', '/home/pi/Desktop/images/31122025/16/33/image_31122025_16_34_05_9544.jpg', '/home/pi/Desktop/images/31122025/16/34/image_31122025_16_34_35_10599.jpg', '/home/pi/Desktop/images/31122025/16/34/image_31122025_16_34_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/32/image_31122025_16_32_25_10815.jpg
/home/pi/Desktop/images/31122025/16/32/image_31122025_16_32_55_10606.jpg
/home/pi/Desktop/images/31122025/16/33/image_31122025_16_33_44_9791.jpg
/home/pi/Desktop/images/31122025/16/33/image_31122025_16_34_05_9544.jpg
/home/pi/Desktop/images/31122025/16/34/image_31122025_16_34_35_10599.jpg
/home/pi/Desktop/images/31122025/16/34/image_31122025_16_34_44_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914326","1401914325","1401914328","1401914330","1401914327","1401914323"],"photo_ids_order":["1401914323","1401914325","1401914326","1401914327","1401914328","1401914330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf0bff87911ff21abcc4cc44a8ae2e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5473481214248307237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199743771,"filename":"image_31122025_16_33_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/506ffc0a88765e7ad1511f406e9ca466.jpg","text":"TemporaryFile(/tmp/multipartBody5160735060429911168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199743771,"filename":"image_31122025_16_32_55_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb88e54571acad334cb3275fd93e3cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5852335941667307920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199743771,"filename":"image_31122025_16_34_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63f7222f0bc6dcb20224441bbf11401d.jpg","text":"TemporaryFile(/tmp/multipartBody6468123060024955038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199743771,"filename":"image_31122025_16_34_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c97af83b58f3d7b5c0b6e02bdfa105e.jpg","text":"TemporaryFile(/tmp/multipartBody8314012184152738749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199743771,"filename":"image_31122025_16_34_05_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3377e911751e88ecb3be09dfba06bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1206812969792179536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199743771,"filename":"image_31122025_16_32_25_10815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914326","file1":"1401914325","file0":"1401914323","file4":"1401914328","file5":"1401914330","file3":"1401914327"},"map_files_photo_id_array":[{"photo_id":"1401914330","filename":"file5"},{"photo_id":"1401914326","filename":"file2"},{"photo_id":"1401914328","filename":"file4"},{"photo_id":"1401914325","filename":"file1"},{"photo_id":"1401914323","filename":"file0"},{"photo_id":"1401914327","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914326":["hashtag1","hashtag2"]},{"1401914325":["hashtag1","hashtag2"]},{"1401914328":["hashtag1","hashtag2"]},{"1401914330":["hashtag1","hashtag2"]},{"1401914327":["hashtag1","hashtag2"]},{"1401914323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914326, 1401914325, 1401914328, 1401914330, 1401914327, 1401914323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.584922313690186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:48:42.537766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_40_2620.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_49_3625.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_52_2670.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_55_2824.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_07_3015.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_11_3883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_40_2620.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_49_3625.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_52_2670.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_55_2824.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_07_3015.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_11_3883.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7358272075653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:49:03.755721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/36/image_31122025_16_36_14_10038.jpg', '/home/pi/Desktop/images/31122025/16/36/image_31122025_16_36_34_9655.jpg', '/home/pi/Desktop/images/31122025/16/36/image_31122025_16_36_45_10626.jpg', '/home/pi/Desktop/images/31122025/16/36/image_31122025_16_37_04_9621.jpg', '/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_14_9764.jpg', '/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_26_12266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/36/image_31122025_16_36_14_10038.jpg
/home/pi/Desktop/images/31122025/16/36/image_31122025_16_36_34_9655.jpg
/home/pi/Desktop/images/31122025/16/36/image_31122025_16_36_45_10626.jpg
/home/pi/Desktop/images/31122025/16/36/image_31122025_16_37_04_9621.jpg
/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_14_9764.jpg
/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_26_12266.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914343","1401914346","1401914348","1401914345","1401914350","1401914344"],"photo_ids_order":["1401914343","1401914344","1401914345","1401914346","1401914348","1401914350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44b196624086f5a87e9b127b61e16a86.jpg","text":"TemporaryFile(/tmp/multipartBody5529098174761330536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199804484,"filename":"image_31122025_16_36_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/988c1b28d643a51c01b0f9aac7872666.jpg","text":"TemporaryFile(/tmp/multipartBody5809305745358589807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199804484,"filename":"image_31122025_16_37_04_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c908d90b10f8174ee2208f5f5239b9a.jpg","text":"TemporaryFile(/tmp/multipartBody878126185161135734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199804484,"filename":"image_31122025_16_37_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0632c1a99a1b28ee8e58a547e7f5a33b.jpg","text":"TemporaryFile(/tmp/multipartBody2162223772389596540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199804484,"filename":"image_31122025_16_36_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1e2195cfdb5b72d9a92675fd06713e3.jpg","text":"TemporaryFile(/tmp/multipartBody8606707547070399809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199804484,"filename":"image_31122025_16_37_26_12266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d994a72fd8ee1017e9e7d9a30cb2be9.jpg","text":"TemporaryFile(/tmp/multipartBody3000743642041151292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199804484,"filename":"image_31122025_16_36_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914345","file1":"1401914344","file0":"1401914343","file4":"1401914348","file5":"1401914350","file3":"1401914346"},"map_files_photo_id_array":[{"photo_id":"1401914350","filename":"file5"},{"photo_id":"1401914345","filename":"file2"},{"photo_id":"1401914348","filename":"file4"},{"photo_id":"1401914344","filename":"file1"},{"photo_id":"1401914343","filename":"file0"},{"photo_id":"1401914346","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914343":["hashtag1","hashtag2"]},{"1401914346":["hashtag1","hashtag2"]},{"1401914348":["hashtag1","hashtag2"]},{"1401914345":["hashtag1","hashtag2"]},{"1401914350":["hashtag1","hashtag2"]},{"1401914344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914343, 1401914346, 1401914348, 1401914345, 1401914350, 1401914344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37860584259033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:49:42.728145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_40_2620.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_49_3625.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_52_2670.jpg', '/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_55_2824.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_07_3015.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_11_3883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_40_2620.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_49_3625.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_52_2670.jpg
/home/pi/Desktop/images/03112025/19/29/image_03112025_19_29_55_2824.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_07_3015.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_11_3883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914361","1401914358","1401914360","1401914363","1401914359","1401914362"],"photo_ids_order":["1401914358","1401914359","1401914360","1401914361","1401914362","1401914363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b270f7c2060e254226d9b7bc9b08edf.jpg","text":"TemporaryFile(/tmp/multipartBody3395993559816109846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199844429,"filename":"image_03112025_19_29_55_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/531e1ff02f034c75a779daca4caec130.jpg","text":"TemporaryFile(/tmp/multipartBody7819226571446981786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199844429,"filename":"image_03112025_19_29_40_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31e070c67ab37ec4bbbb037bf35bba79.jpg","text":"TemporaryFile(/tmp/multipartBody8448653196477785313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199844429,"filename":"image_03112025_19_29_52_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4e19eeef6899ec816c6161c10287abb.jpg","text":"TemporaryFile(/tmp/multipartBody5033429879081123967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199844429,"filename":"image_03112025_19_31_11_3883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c6acd7d84ed5d79b9f9fcc77ab6fccf.jpg","text":"TemporaryFile(/tmp/multipartBody3832952727217990089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199844429,"filename":"image_03112025_19_29_49_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b74d9fd2eb3027deea31a62217d74cfc.jpg","text":"TemporaryFile(/tmp/multipartBody7951449818961674318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199844429,"filename":"image_03112025_19_31_07_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914360","file1":"1401914359","file0":"1401914358","file4":"1401914362","file5":"1401914363","file3":"1401914361"},"map_files_photo_id_array":[{"photo_id":"1401914363","filename":"file5"},{"photo_id":"1401914360","filename":"file2"},{"photo_id":"1401914362","filename":"file4"},{"photo_id":"1401914359","filename":"file1"},{"photo_id":"1401914358","filename":"file0"},{"photo_id":"1401914361","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914361":["hashtag1","hashtag2"]},{"1401914358":["hashtag1","hashtag2"]},{"1401914360":["hashtag1","hashtag2"]},{"1401914363":["hashtag1","hashtag2"]},{"1401914359":["hashtag1","hashtag2"]},{"1401914362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914361, 1401914358, 1401914360, 1401914363, 1401914359, 1401914362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45569849014282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:50:21.901395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_35_8681.jpg', '/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_45_9916.jpg', '/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_55_9905.jpg', '/home/pi/Desktop/images/31122025/16/38/image_31122025_16_38_14_9606.jpg', '/home/pi/Desktop/images/31122025/16/38/image_31122025_16_38_25_10617.jpg', '/home/pi/Desktop/images/31122025/16/38/image_31122025_16_38_44_9818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_35_8681.jpg
/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_45_9916.jpg
/home/pi/Desktop/images/31122025/16/37/image_31122025_16_37_55_9905.jpg
/home/pi/Desktop/images/31122025/16/38/image_31122025_16_38_14_9606.jpg
/home/pi/Desktop/images/31122025/16/38/image_31122025_16_38_25_10617.jpg
/home/pi/Desktop/images/31122025/16/38/image_31122025_16_38_44_9818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914373","1401914367","1401914369","1401914377","1401914371","1401914365"],"photo_ids_order":["1401914365","1401914367","1401914369","1401914371","1401914373","1401914377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0452401452c7fa94a14bcf2b776a6b30.jpg","text":"TemporaryFile(/tmp/multipartBody6084846670379374115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199882515,"filename":"image_31122025_16_38_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/011685423b437cbdb1adef0f4846f26a.jpg","text":"TemporaryFile(/tmp/multipartBody1027164791439201119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199882515,"filename":"image_31122025_16_37_45_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e5289471e2f80b4a6f6379ce2c9578c.jpg","text":"TemporaryFile(/tmp/multipartBody177753623675642345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199882515,"filename":"image_31122025_16_37_55_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0edf453747095b059574f1612377c99b.jpg","text":"TemporaryFile(/tmp/multipartBody8737902985893997610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199882515,"filename":"image_31122025_16_38_44_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/982578f4160dd4c1e8190689efd0e2c6.jpg","text":"TemporaryFile(/tmp/multipartBody893328152377435834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199882515,"filename":"image_31122025_16_38_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47256074c4c91dd6f8f82891ae05d10f.jpg","text":"TemporaryFile(/tmp/multipartBody2773488881380140881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199882515,"filename":"image_31122025_16_37_35_8681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914369","file1":"1401914367","file0":"1401914365","file4":"1401914373","file5":"1401914377","file3":"1401914371"},"map_files_photo_id_array":[{"photo_id":"1401914377","filename":"file5"},{"photo_id":"1401914369","filename":"file2"},{"photo_id":"1401914373","filename":"file4"},{"photo_id":"1401914367","filename":"file1"},{"photo_id":"1401914365","filename":"file0"},{"photo_id":"1401914371","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914373":["hashtag1","hashtag2"]},{"1401914367":["hashtag1","hashtag2"]},{"1401914369":["hashtag1","hashtag2"]},{"1401914377":["hashtag1","hashtag2"]},{"1401914371":["hashtag1","hashtag2"]},{"1401914365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914373, 1401914367, 1401914369, 1401914377, 1401914371, 1401914365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20069909095764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:51:02.869054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/39/image_31122025_16_39_14_9698.jpg', '/home/pi/Desktop/images/31122025/16/39/image_31122025_16_39_25_10554.jpg', '/home/pi/Desktop/images/31122025/16/39/image_31122025_16_39_55_10583.jpg', '/home/pi/Desktop/images/31122025/16/40/image_31122025_16_40_15_10056.jpg', '/home/pi/Desktop/images/31122025/16/40/image_31122025_16_40_26_10624.jpg', '/home/pi/Desktop/images/31122025/16/40/image_31122025_16_40_35_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/39/image_31122025_16_39_14_9698.jpg
/home/pi/Desktop/images/31122025/16/39/image_31122025_16_39_25_10554.jpg
/home/pi/Desktop/images/31122025/16/39/image_31122025_16_39_55_10583.jpg
/home/pi/Desktop/images/31122025/16/40/image_31122025_16_40_15_10056.jpg
/home/pi/Desktop/images/31122025/16/40/image_31122025_16_40_26_10624.jpg
/home/pi/Desktop/images/31122025/16/40/image_31122025_16_40_35_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914379","1401914384","1401914381","1401914383","1401914386","1401914380"],"photo_ids_order":["1401914379","1401914380","1401914381","1401914383","1401914384","1401914386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85685b65715b2946a12773d2a890cd50.jpg","text":"TemporaryFile(/tmp/multipartBody6911503267819456196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199923532,"filename":"image_31122025_16_39_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd9f439850b665b307d930178ad8272b.jpg","text":"TemporaryFile(/tmp/multipartBody6473966734682346731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199923532,"filename":"image_31122025_16_40_26_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc4a9b8f3d93ca3a0e029a87cc496b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6932507524932822027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199923532,"filename":"image_31122025_16_39_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e35cc9ed9b3820c4505d6dd98f3bbfe.jpg","text":"TemporaryFile(/tmp/multipartBody1818638074716451536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199923532,"filename":"image_31122025_16_40_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aad27b8f0798152b893a0e22dccebbab.jpg","text":"TemporaryFile(/tmp/multipartBody1059361500704843301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199923532,"filename":"image_31122025_16_40_35_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4211787e67ea08ba5f55ed7da4ec0ae.jpg","text":"TemporaryFile(/tmp/multipartBody3995337828254108527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199923532,"filename":"image_31122025_16_39_25_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914381","file1":"1401914380","file0":"1401914379","file4":"1401914384","file5":"1401914386","file3":"1401914383"},"map_files_photo_id_array":[{"photo_id":"1401914386","filename":"file5"},{"photo_id":"1401914381","filename":"file2"},{"photo_id":"1401914384","filename":"file4"},{"photo_id":"1401914380","filename":"file1"},{"photo_id":"1401914379","filename":"file0"},{"photo_id":"1401914383","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914379":["hashtag1","hashtag2"]},{"1401914384":["hashtag1","hashtag2"]},{"1401914381":["hashtag1","hashtag2"]},{"1401914383":["hashtag1","hashtag2"]},{"1401914386":["hashtag1","hashtag2"]},{"1401914380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914379, 1401914384, 1401914381, 1401914383, 1401914386, 1401914380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92410492897034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:51:42.185317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_13_2789.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_19_2727.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_22_3533.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_25_2665.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_28_3566.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_31_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_13_2789.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_19_2727.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_22_3533.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_25_2665.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_28_3566.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_31_2841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914394","1401914393","1401914396","1401914395","1401914398","1401914392"],"photo_ids_order":["1401914392","1401914393","1401914394","1401914395","1401914396","1401914398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9bc3b8c34a4677c03187a067b4ac237.jpg","text":"TemporaryFile(/tmp/multipartBody2126184322370433560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199964004,"filename":"image_03112025_19_31_22_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74e1107ffa3b4ae03db801517e739614.jpg","text":"TemporaryFile(/tmp/multipartBody8392836505530763937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199964004,"filename":"image_03112025_19_31_19_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60378d77832cebd38a85308b07fe658d.jpg","text":"TemporaryFile(/tmp/multipartBody3815529537444080586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199964004,"filename":"image_03112025_19_31_28_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00feec7e33723fcb61e6218f57855428.jpg","text":"TemporaryFile(/tmp/multipartBody7019993680684558382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199964004,"filename":"image_03112025_19_31_25_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/384a17fca6fade7cd9a84f9898ed212a.jpg","text":"TemporaryFile(/tmp/multipartBody1217951571818714042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199964004,"filename":"image_03112025_19_31_31_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/390ece9c6857b110a46ec51314f1791d.jpg","text":"TemporaryFile(/tmp/multipartBody494671957815026397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767199964004,"filename":"image_03112025_19_31_13_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914394","file1":"1401914393","file0":"1401914392","file4":"1401914396","file5":"1401914398","file3":"1401914395"},"map_files_photo_id_array":[{"photo_id":"1401914398","filename":"file5"},{"photo_id":"1401914394","filename":"file2"},{"photo_id":"1401914396","filename":"file4"},{"photo_id":"1401914393","filename":"file1"},{"photo_id":"1401914392","filename":"file0"},{"photo_id":"1401914395","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914394":["hashtag1","hashtag2"]},{"1401914393":["hashtag1","hashtag2"]},{"1401914396":["hashtag1","hashtag2"]},{"1401914395":["hashtag1","hashtag2"]},{"1401914398":["hashtag1","hashtag2"]},{"1401914392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914394, 1401914393, 1401914396, 1401914395, 1401914398, 1401914392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51851773262024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:52:22.350288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/40/image_31122025_16_40_55_9969.jpg', '/home/pi/Desktop/images/31122025/16/40/image_31122025_16_41_06_10639.jpg', '/home/pi/Desktop/images/31122025/16/41/image_31122025_16_41_25_9701.jpg', '/home/pi/Desktop/images/31122025/16/41/image_31122025_16_41_36_10683.jpg', '/home/pi/Desktop/images/31122025/16/41/image_31122025_16_41_45_9680.jpg', '/home/pi/Desktop/images/31122025/16/41/image_31122025_16_41_55_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/40/image_31122025_16_40_55_9969.jpg
/home/pi/Desktop/images/31122025/16/40/image_31122025_16_41_06_10639.jpg
/home/pi/Desktop/images/31122025/16/41/image_31122025_16_41_25_9701.jpg
/home/pi/Desktop/images/31122025/16/41/image_31122025_16_41_36_10683.jpg
/home/pi/Desktop/images/31122025/16/41/image_31122025_16_41_45_9680.jpg
/home/pi/Desktop/images/31122025/16/41/image_31122025_16_41_55_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914410","1401914404","1401914406","1401914403","1401914408","1401914401"],"photo_ids_order":["1401914401","1401914403","1401914404","1401914406","1401914408","1401914410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24940131a230214b0e561626c9ab96a4.jpg","text":"TemporaryFile(/tmp/multipartBody1705124740418939631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200002971,"filename":"image_31122025_16_41_55_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6618b59d5b6f45bbc750b2bdc6e8ca84.jpg","text":"TemporaryFile(/tmp/multipartBody5070272572728914534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200002971,"filename":"image_31122025_16_41_25_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88462358179e4bcf8800620acf504766.jpg","text":"TemporaryFile(/tmp/multipartBody9059298681584172724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200002971,"filename":"image_31122025_16_41_36_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9661e1ca79ee08ea8a823efcfd6bc89d.jpg","text":"TemporaryFile(/tmp/multipartBody3451736617505578611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200002971,"filename":"image_31122025_16_41_06_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0a839672b833cba601811ab4968382e.jpg","text":"TemporaryFile(/tmp/multipartBody1101870706073904141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200002971,"filename":"image_31122025_16_41_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/704d143cd8e0d163a73b73774f787bb0.jpg","text":"TemporaryFile(/tmp/multipartBody5939131448329576493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200002971,"filename":"image_31122025_16_40_55_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914404","file1":"1401914403","file0":"1401914401","file4":"1401914408","file5":"1401914410","file3":"1401914406"},"map_files_photo_id_array":[{"photo_id":"1401914410","filename":"file5"},{"photo_id":"1401914404","filename":"file2"},{"photo_id":"1401914408","filename":"file4"},{"photo_id":"1401914403","filename":"file1"},{"photo_id":"1401914401","filename":"file0"},{"photo_id":"1401914406","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914410":["hashtag1","hashtag2"]},{"1401914404":["hashtag1","hashtag2"]},{"1401914406":["hashtag1","hashtag2"]},{"1401914403":["hashtag1","hashtag2"]},{"1401914408":["hashtag1","hashtag2"]},{"1401914401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914410, 1401914404, 1401914406, 1401914403, 1401914408, 1401914401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.117610692977905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:53:03.183157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/41/image_31122025_16_42_06_10776.jpg', '/home/pi/Desktop/images/31122025/16/42/image_31122025_16_42_16_9779.jpg', '/home/pi/Desktop/images/31122025/16/42/image_31122025_16_42_25_9594.jpg', '/home/pi/Desktop/images/31122025/16/42/image_31122025_16_42_46_9769.jpg', '/home/pi/Desktop/images/31122025/16/43/image_31122025_16_43_15_9743.jpg', '/home/pi/Desktop/images/31122025/16/43/image_31122025_16_43_26_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/41/image_31122025_16_42_06_10776.jpg
/home/pi/Desktop/images/31122025/16/42/image_31122025_16_42_16_9779.jpg
/home/pi/Desktop/images/31122025/16/42/image_31122025_16_42_25_9594.jpg
/home/pi/Desktop/images/31122025/16/42/image_31122025_16_42_46_9769.jpg
/home/pi/Desktop/images/31122025/16/43/image_31122025_16_43_15_9743.jpg
/home/pi/Desktop/images/31122025/16/43/image_31122025_16_43_26_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914418","1401914412","1401914415","1401914414","1401914413","1401914416"],"photo_ids_order":["1401914412","1401914413","1401914414","1401914415","1401914416","1401914418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/350fe205749e7fbdce08e1c203c259e3.jpg","text":"TemporaryFile(/tmp/multipartBody398362103702017200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200043845,"filename":"image_31122025_16_43_26_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b073a98c2d53381af62dcd26a28e08b0.jpg","text":"TemporaryFile(/tmp/multipartBody4689154186676962722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200043845,"filename":"image_31122025_16_42_06_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0cb73b967d0c02388da4e1321d4248a.jpg","text":"TemporaryFile(/tmp/multipartBody702064682652202257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200043845,"filename":"image_31122025_16_42_46_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ac60998ffb841650d2897f41c2b6cca.jpg","text":"TemporaryFile(/tmp/multipartBody5054224006379461373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200043845,"filename":"image_31122025_16_42_25_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fc94fa14c0bcd7f97a5b5a6eda3f14f.jpg","text":"TemporaryFile(/tmp/multipartBody1910813115320022110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200043845,"filename":"image_31122025_16_42_16_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f301538fecbad80ee67e4e51005a17e.jpg","text":"TemporaryFile(/tmp/multipartBody1974582624228061962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200043845,"filename":"image_31122025_16_43_15_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914414","file1":"1401914413","file0":"1401914412","file4":"1401914416","file5":"1401914418","file3":"1401914415"},"map_files_photo_id_array":[{"photo_id":"1401914418","filename":"file5"},{"photo_id":"1401914414","filename":"file2"},{"photo_id":"1401914416","filename":"file4"},{"photo_id":"1401914413","filename":"file1"},{"photo_id":"1401914412","filename":"file0"},{"photo_id":"1401914415","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914418":["hashtag1","hashtag2"]},{"1401914412":["hashtag1","hashtag2"]},{"1401914415":["hashtag1","hashtag2"]},{"1401914414":["hashtag1","hashtag2"]},{"1401914413":["hashtag1","hashtag2"]},{"1401914416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914418, 1401914412, 1401914415, 1401914414, 1401914413, 1401914416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24577474594116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:53:42.590440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_38_3645.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_40_2705.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_43_2682.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_46_3393.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_49_2688.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_53_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_38_3645.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_40_2705.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_43_2682.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_46_3393.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_49_2688.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_53_3544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914430","1401914427","1401914429","1401914431","1401914425","1401914428"],"photo_ids_order":["1401914425","1401914427","1401914428","1401914429","1401914430","1401914431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ef60c098334357d80c842206c92910a.jpg","text":"TemporaryFile(/tmp/multipartBody4723930116929401889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200084403,"filename":"image_03112025_19_31_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91c51d92d64c8178c34cf1cb9fcad383.jpg","text":"TemporaryFile(/tmp/multipartBody5295641307734234027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200084403,"filename":"image_03112025_19_31_40_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee55bd4f3708af6d8992f208b8040302.jpg","text":"TemporaryFile(/tmp/multipartBody7529380847790562804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200084403,"filename":"image_03112025_19_31_46_3393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/113a9580b59940ec0df34b770094a0f2.jpg","text":"TemporaryFile(/tmp/multipartBody1221320488558984970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200084403,"filename":"image_03112025_19_31_53_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea39afa74c582724222f1c12c239f637.jpg","text":"TemporaryFile(/tmp/multipartBody806672307975776450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200084403,"filename":"image_03112025_19_31_38_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8122700da0ca58b478316ec9ed8320ef.jpg","text":"TemporaryFile(/tmp/multipartBody2748056820768890600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200084403,"filename":"image_03112025_19_31_43_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914428","file1":"1401914427","file0":"1401914425","file4":"1401914430","file5":"1401914431","file3":"1401914429"},"map_files_photo_id_array":[{"photo_id":"1401914431","filename":"file5"},{"photo_id":"1401914428","filename":"file2"},{"photo_id":"1401914430","filename":"file4"},{"photo_id":"1401914427","filename":"file1"},{"photo_id":"1401914425","filename":"file0"},{"photo_id":"1401914429","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914430":["hashtag1","hashtag2"]},{"1401914427":["hashtag1","hashtag2"]},{"1401914429":["hashtag1","hashtag2"]},{"1401914431":["hashtag1","hashtag2"]},{"1401914425":["hashtag1","hashtag2"]},{"1401914428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914430, 1401914427, 1401914429, 1401914431, 1401914425, 1401914428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.197614669799805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:54:22.768673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/43/image_31122025_16_43_45_9692.jpg', '/home/pi/Desktop/images/31122025/16/43/image_31122025_16_43_56_10686.jpg', '/home/pi/Desktop/images/31122025/16/43/image_31122025_16_44_06_9635.jpg', '/home/pi/Desktop/images/31122025/16/44/image_31122025_16_44_36_10729.jpg', '/home/pi/Desktop/images/31122025/16/44/image_31122025_16_44_55_9674.jpg', '/home/pi/Desktop/images/31122025/16/45/image_31122025_16_45_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/43/image_31122025_16_43_45_9692.jpg
/home/pi/Desktop/images/31122025/16/43/image_31122025_16_43_56_10686.jpg
/home/pi/Desktop/images/31122025/16/43/image_31122025_16_44_06_9635.jpg
/home/pi/Desktop/images/31122025/16/44/image_31122025_16_44_36_10729.jpg
/home/pi/Desktop/images/31122025/16/44/image_31122025_16_44_55_9674.jpg
/home/pi/Desktop/images/31122025/16/45/image_31122025_16_45_14_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914445","1401914439","1401914433","1401914441","1401914435","1401914437"],"photo_ids_order":["1401914433","1401914435","1401914437","1401914439","1401914441","1401914445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09d1035c3dd0eb90294688c761916462.jpg","text":"TemporaryFile(/tmp/multipartBody4500181260351584054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200123360,"filename":"image_31122025_16_45_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2177311f055fb85631c25460027a3f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3013735272744732704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200123360,"filename":"image_31122025_16_44_36_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d3e388a0b0d888d622ea8de73dcbc1e.jpg","text":"TemporaryFile(/tmp/multipartBody1290707715053854151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200123360,"filename":"image_31122025_16_43_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18d0a5ea790501e52f4d6105e0492cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1842741222676877522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200123360,"filename":"image_31122025_16_44_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9dd337c3a35b392fd1854ec50f58aa3.jpg","text":"TemporaryFile(/tmp/multipartBody7280951682181593047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200123360,"filename":"image_31122025_16_43_56_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e4705cf33309cca06676431d2b4575b.jpg","text":"TemporaryFile(/tmp/multipartBody2767442738723485596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200123360,"filename":"image_31122025_16_44_06_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914437","file1":"1401914435","file0":"1401914433","file4":"1401914441","file5":"1401914445","file3":"1401914439"},"map_files_photo_id_array":[{"photo_id":"1401914445","filename":"file5"},{"photo_id":"1401914437","filename":"file2"},{"photo_id":"1401914441","filename":"file4"},{"photo_id":"1401914435","filename":"file1"},{"photo_id":"1401914433","filename":"file0"},{"photo_id":"1401914439","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914445":["hashtag1","hashtag2"]},{"1401914439":["hashtag1","hashtag2"]},{"1401914433":["hashtag1","hashtag2"]},{"1401914441":["hashtag1","hashtag2"]},{"1401914435":["hashtag1","hashtag2"]},{"1401914437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914445, 1401914439, 1401914433, 1401914441, 1401914435, 1401914437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30754256248474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:55:02.716532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/45/image_31122025_16_45_44_9756.jpg', '/home/pi/Desktop/images/31122025/16/46/image_31122025_16_46_14_9660.jpg', '/home/pi/Desktop/images/31122025/16/46/image_31122025_16_46_44_9787.jpg', '/home/pi/Desktop/images/31122025/16/46/image_31122025_16_46_55_10604.jpg', '/home/pi/Desktop/images/31122025/16/47/image_31122025_16_47_24_9871.jpg', '/home/pi/Desktop/images/31122025/16/47/image_31122025_16_48_04_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/45/image_31122025_16_45_44_9756.jpg
/home/pi/Desktop/images/31122025/16/46/image_31122025_16_46_14_9660.jpg
/home/pi/Desktop/images/31122025/16/46/image_31122025_16_46_44_9787.jpg
/home/pi/Desktop/images/31122025/16/46/image_31122025_16_46_55_10604.jpg
/home/pi/Desktop/images/31122025/16/47/image_31122025_16_47_24_9871.jpg
/home/pi/Desktop/images/31122025/16/47/image_31122025_16_48_04_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914448","1401914447","1401914450","1401914452","1401914446","1401914449"],"photo_ids_order":["1401914446","1401914447","1401914448","1401914449","1401914450","1401914452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dcbca6bc9d3d372a4c5276ec3df12b13.jpg","text":"TemporaryFile(/tmp/multipartBody3466878106727022560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200163385,"filename":"image_31122025_16_46_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abf037733965e4b705119cd36fb3d8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1917870342849048254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200163385,"filename":"image_31122025_16_46_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac781b3a031a9b0eea0571c91ad239bb.jpg","text":"TemporaryFile(/tmp/multipartBody7326343824707453928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200163385,"filename":"image_31122025_16_47_24_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16fc1344daf112f5937683577da4ffb4.jpg","text":"TemporaryFile(/tmp/multipartBody7425492555959604266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200163385,"filename":"image_31122025_16_48_04_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14bb660490578277dd200052691429ab.jpg","text":"TemporaryFile(/tmp/multipartBody2005757963699616053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200163385,"filename":"image_31122025_16_45_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea202e23fc4e672ea1b8aae2041ba760.jpg","text":"TemporaryFile(/tmp/multipartBody4649747410601749243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200163385,"filename":"image_31122025_16_46_55_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914448","file1":"1401914447","file0":"1401914446","file4":"1401914450","file5":"1401914452","file3":"1401914449"},"map_files_photo_id_array":[{"photo_id":"1401914452","filename":"file5"},{"photo_id":"1401914448","filename":"file2"},{"photo_id":"1401914450","filename":"file4"},{"photo_id":"1401914447","filename":"file1"},{"photo_id":"1401914446","filename":"file0"},{"photo_id":"1401914449","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914448":["hashtag1","hashtag2"]},{"1401914447":["hashtag1","hashtag2"]},{"1401914450":["hashtag1","hashtag2"]},{"1401914452":["hashtag1","hashtag2"]},{"1401914446":["hashtag1","hashtag2"]},{"1401914449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914448, 1401914447, 1401914450, 1401914452, 1401914446, 1401914449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62889885902405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:55:41.927973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_55_2524.jpg', '/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_58_3230.jpg', '/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_07_2650.jpg', '/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_23_16626.jpg', '/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_35_1666.jpg', '/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_37_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_55_2524.jpg
/home/pi/Desktop/images/03112025/19/31/image_03112025_19_31_58_3230.jpg
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_07_2650.jpg
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_23_16626.jpg
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_35_1666.jpg
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_37_1616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914460","1401914463","1401914462","1401914461","1401914464","1401914458"],"photo_ids_order":["1401914458","1401914460","1401914461","1401914462","1401914463","1401914464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e7b7338baa2d73291bcc32680d9796d.jpg","text":"TemporaryFile(/tmp/multipartBody8487103341058369248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200203738,"filename":"image_03112025_19_31_58_3230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aab66c3e0d3b7c67762a5df8ee886e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2020264190094990702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200203738,"filename":"image_03112025_19_32_35_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfab918a8d8eba3e49883dc80f72659d.jpg","text":"TemporaryFile(/tmp/multipartBody8423393034722937795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200203738,"filename":"image_03112025_19_32_23_16626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43343a5cafdef87ec25c3801aaffba95.jpg","text":"TemporaryFile(/tmp/multipartBody2586211544537867882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200203738,"filename":"image_03112025_19_32_07_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0dac55d41bbeaa8aa728e664bc35197.jpg","text":"TemporaryFile(/tmp/multipartBody359356517587488605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200203738,"filename":"image_03112025_19_32_37_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/476dc882faed2f8aa907728a25c85554.jpg","text":"TemporaryFile(/tmp/multipartBody6684079535267992181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200203738,"filename":"image_03112025_19_31_55_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914461","file1":"1401914460","file0":"1401914458","file4":"1401914463","file5":"1401914464","file3":"1401914462"},"map_files_photo_id_array":[{"photo_id":"1401914464","filename":"file5"},{"photo_id":"1401914461","filename":"file2"},{"photo_id":"1401914463","filename":"file4"},{"photo_id":"1401914460","filename":"file1"},{"photo_id":"1401914458","filename":"file0"},{"photo_id":"1401914462","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914460":["hashtag1","hashtag2"]},{"1401914463":["hashtag1","hashtag2"]},{"1401914462":["hashtag1","hashtag2"]},{"1401914461":["hashtag1","hashtag2"]},{"1401914464":["hashtag1","hashtag2"]},{"1401914458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914460, 1401914463, 1401914462, 1401914461, 1401914464, 1401914458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29590654373169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 17:56:22.117479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/48/image_31122025_16_48_25_10648.jpg', '/home/pi/Desktop/images/31122025/16/48/image_31122025_16_48_45_10608.jpg', '/home/pi/Desktop/images/31122025/16/49/image_31122025_16_49_15_10714.jpg', '/home/pi/Desktop/images/31122025/16/49/image_31122025_16_49_34_9695.jpg', '/home/pi/Desktop/images/31122025/16/49/image_31122025_16_49_55_9666.jpg', '/home/pi/Desktop/images/31122025/16/50/image_31122025_16_50_35_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/48/image_31122025_16_48_25_10648.jpg
/home/pi/Desktop/images/31122025/16/48/image_31122025_16_48_45_10608.jpg
/home/pi/Desktop/images/31122025/16/49/image_31122025_16_49_15_10714.jpg
/home/pi/Desktop/images/31122025/16/49/image_31122025_16_49_34_9695.jpg
/home/pi/Desktop/images/31122025/16/49/image_31122025_16_49_55_9666.jpg
/home/pi/Desktop/images/31122025/16/50/image_31122025_16_50_35_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914472","1401914466","1401914465","1401914468","1401914476","1401914470"],"photo_ids_order":["1401914465","1401914466","1401914468","1401914470","1401914472","1401914476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43531cf062aa067ce5950f5b77af49b8.jpg","text":"TemporaryFile(/tmp/multipartBody3537963095139914597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200242711,"filename":"image_31122025_16_49_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4767b95f413e64ee6bc2bf30394cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody1104721843912939556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200242711,"filename":"image_31122025_16_48_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b02ca2ddb6cf16e95466e547de75f6a6.jpg","text":"TemporaryFile(/tmp/multipartBody3580735155129790104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200242711,"filename":"image_31122025_16_48_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/407eafa52d5e17629637b56692d1e69c.jpg","text":"TemporaryFile(/tmp/multipartBody6501257490826994173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200242711,"filename":"image_31122025_16_49_15_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93c62ab05d5d994d03c3bc25fb4dac96.jpg","text":"TemporaryFile(/tmp/multipartBody9152424460863114950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200242711,"filename":"image_31122025_16_50_35_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/438c95906ff2b6282f16fa5f9e3237e5.jpg","text":"TemporaryFile(/tmp/multipartBody958665061286121512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200242711,"filename":"image_31122025_16_49_34_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914468","file1":"1401914466","file0":"1401914465","file4":"1401914472","file5":"1401914476","file3":"1401914470"},"map_files_photo_id_array":[{"photo_id":"1401914476","filename":"file5"},{"photo_id":"1401914468","filename":"file2"},{"photo_id":"1401914472","filename":"file4"},{"photo_id":"1401914466","filename":"file1"},{"photo_id":"1401914465","filename":"file0"},{"photo_id":"1401914470","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914472":["hashtag1","hashtag2"]},{"1401914466":["hashtag1","hashtag2"]},{"1401914465":["hashtag1","hashtag2"]},{"1401914468":["hashtag1","hashtag2"]},{"1401914476":["hashtag1","hashtag2"]},{"1401914470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914472, 1401914466, 1401914465, 1401914468, 1401914476, 1401914470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88685965538025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:57:02.994183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/50/image_31122025_16_51_05_9627.jpg', '/home/pi/Desktop/images/31122025/16/51/image_31122025_16_51_45_9680.jpg', '/home/pi/Desktop/images/31122025/16/52/image_31122025_16_52_15_9735.jpg', '/home/pi/Desktop/images/31122025/16/52/image_31122025_16_52_45_9631.jpg', '/home/pi/Desktop/images/31122025/16/52/image_31122025_16_53_05_10616.jpg', '/home/pi/Desktop/images/31122025/16/53/image_31122025_16_53_35_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/50/image_31122025_16_51_05_9627.jpg
/home/pi/Desktop/images/31122025/16/51/image_31122025_16_51_45_9680.jpg
/home/pi/Desktop/images/31122025/16/52/image_31122025_16_52_15_9735.jpg
/home/pi/Desktop/images/31122025/16/52/image_31122025_16_52_45_9631.jpg
/home/pi/Desktop/images/31122025/16/52/image_31122025_16_53_05_10616.jpg
/home/pi/Desktop/images/31122025/16/53/image_31122025_16_53_35_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914483","1401914492","1401914486","1401914494","1401914488","1401914490"],"photo_ids_order":["1401914483","1401914486","1401914488","1401914490","1401914492","1401914494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a5ac0333f0fce50389f5acf50530cf2.jpg","text":"TemporaryFile(/tmp/multipartBody134764606124927040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200283696,"filename":"image_31122025_16_51_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/907992172a5f2b8f28cdcdb96e9bbf18.jpg","text":"TemporaryFile(/tmp/multipartBody2590374910089619700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200283696,"filename":"image_31122025_16_53_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4024b9492760bbec69da1fa6cdef5f6c.jpg","text":"TemporaryFile(/tmp/multipartBody880853101109262096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200283696,"filename":"image_31122025_16_51_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c957e1f823b126c58bfcdf4d1db73cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4118378621772710296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200283696,"filename":"image_31122025_16_53_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac5b8bc7b1ad2291548dd54d060b432c.jpg","text":"TemporaryFile(/tmp/multipartBody3842094416628065608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200283696,"filename":"image_31122025_16_52_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c6700e6a666ad47d692252c7da7f413.jpg","text":"TemporaryFile(/tmp/multipartBody9065386206708276290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200283696,"filename":"image_31122025_16_52_45_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914488","file1":"1401914486","file0":"1401914483","file4":"1401914492","file5":"1401914494","file3":"1401914490"},"map_files_photo_id_array":[{"photo_id":"1401914494","filename":"file5"},{"photo_id":"1401914488","filename":"file2"},{"photo_id":"1401914492","filename":"file4"},{"photo_id":"1401914486","filename":"file1"},{"photo_id":"1401914483","filename":"file0"},{"photo_id":"1401914490","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914483":["hashtag1","hashtag2"]},{"1401914492":["hashtag1","hashtag2"]},{"1401914486":["hashtag1","hashtag2"]},{"1401914494":["hashtag1","hashtag2"]},{"1401914488":["hashtag1","hashtag2"]},{"1401914490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914483, 1401914492, 1401914486, 1401914494, 1401914488, 1401914490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23375082015991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:57:42.396131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_39_1685.jpg', '/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_40_1596.jpg', '/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_47_1742.jpg', '/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_50_1619.jpg', '/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_57_7139.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_03_4249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_39_1685.jpg
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_40_1596.jpg
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_47_1742.jpg
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_50_1619.jpg
/home/pi/Desktop/images/03112025/19/32/image_03112025_19_32_57_7139.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_03_4249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914503","1401914505","1401914501","1401914507","1401914497","1401914499"],"photo_ids_order":["1401914497","1401914499","1401914501","1401914503","1401914505","1401914507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0b18a374a55ba281cc8a33a38c0fef5.jpg","text":"TemporaryFile(/tmp/multipartBody671441322766526467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200324261,"filename":"image_03112025_19_32_50_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/086b15876548ba213c3b15589ae60edf.jpg","text":"TemporaryFile(/tmp/multipartBody7643792771594972668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200324261,"filename":"image_03112025_19_32_57_7139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00cb88c8d7006b30116523a47ac497e1.jpg","text":"TemporaryFile(/tmp/multipartBody2116386361630647261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200324261,"filename":"image_03112025_19_32_47_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa2f9115903efc98bc24ddc7a7853a84.jpg","text":"TemporaryFile(/tmp/multipartBody5862867362218143765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200324261,"filename":"image_03112025_19_33_03_4249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/debf632c9522101c2088a5684b558ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8989827561183401639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200324261,"filename":"image_03112025_19_32_39_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1edd452aedef9be8c9a0e70793009da3.jpg","text":"TemporaryFile(/tmp/multipartBody6977118369393536316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200324261,"filename":"image_03112025_19_32_40_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914501","file1":"1401914499","file0":"1401914497","file4":"1401914505","file5":"1401914507","file3":"1401914503"},"map_files_photo_id_array":[{"photo_id":"1401914507","filename":"file5"},{"photo_id":"1401914501","filename":"file2"},{"photo_id":"1401914505","filename":"file4"},{"photo_id":"1401914499","filename":"file1"},{"photo_id":"1401914497","filename":"file0"},{"photo_id":"1401914503","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401914503":["hashtag1","hashtag2"]},{"1401914505":["hashtag1","hashtag2"]},{"1401914501":["hashtag1","hashtag2"]},{"1401914507":["hashtag1","hashtag2"]},{"1401914497":["hashtag1","hashtag2"]},{"1401914499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401914503, 1401914505, 1401914501, 1401914507, 1401914497, 1401914499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09037160873413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 17:59:03.428977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/53/image_31122025_16_53_55_9839.jpg', '/home/pi/Desktop/images/31122025/16/54/image_31122025_16_54_25_10643.jpg', '/home/pi/Desktop/images/31122025/16/55/image_31122025_16_55_25_10818.jpg', '/home/pi/Desktop/images/31122025/16/55/image_31122025_16_55_55_10574.jpg', '/home/pi/Desktop/images/31122025/16/56/image_31122025_16_56_55_10556.jpg', '/home/pi/Desktop/images/31122025/16/57/image_31122025_16_57_14_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/53/image_31122025_16_53_55_9839.jpg
/home/pi/Desktop/images/31122025/16/54/image_31122025_16_54_25_10643.jpg
/home/pi/Desktop/images/31122025/16/55/image_31122025_16_55_25_10818.jpg
/home/pi/Desktop/images/31122025/16/55/image_31122025_16_55_55_10574.jpg
/home/pi/Desktop/images/31122025/16/56/image_31122025_16_56_55_10556.jpg
/home/pi/Desktop/images/31122025/16/57/image_31122025_16_57_14_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401914681","1401914765","1401914840","1401915061","1401914989","1401914920"],"photo_ids_order":["1401914681","1401914765","1401914840","1401914920","1401914989","1401915061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/235c9cb3ec613040732da34ef5e13fc3.jpg","text":"TemporaryFile(/tmp/multipartBody6215482240836212714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200404114,"filename":"image_31122025_16_53_55_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f147d7edc1d95759d34936dbecb4221.jpg","text":"TemporaryFile(/tmp/multipartBody570387412899232799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200404114,"filename":"image_31122025_16_54_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3941ab3fa1c6c97dc4873450a3e8e3e6.jpg","text":"TemporaryFile(/tmp/multipartBody3532662545769561964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200404114,"filename":"image_31122025_16_55_25_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d101f5a5da4bc914c045ba1843e9f884.jpg","text":"TemporaryFile(/tmp/multipartBody8970081624259216145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200404114,"filename":"image_31122025_16_57_14_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9268c08e8318674a9618b9fc8e8b76d4.jpg","text":"TemporaryFile(/tmp/multipartBody6317213861990419830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200404114,"filename":"image_31122025_16_56_55_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/260ee69375b146ddadd5794a71b5c874.jpg","text":"TemporaryFile(/tmp/multipartBody52754432739137626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200404114,"filename":"image_31122025_16_55_55_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401914840","file1":"1401914765","file0":"1401914681","file4":"1401914989","file5":"1401915061","file3":"1401914920"},"map_files_photo_id_array":[{"photo_id":"1401915061","filename":"file5"},{"photo_id":"1401914840","filename":"file2"},{"photo_id":"1401914989","filename":"file4"},{"photo_id":"1401914765","filename":"file1"},{"photo_id":"1401914681","filename":"file0"},{"photo_id":"1401914920","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401914681":["hashtag1","hashtag2"]},{"1401914765":["hashtag1","hashtag2"]},{"1401914840":["hashtag1","hashtag2"]},{"1401915061":["hashtag1","hashtag2"]},{"1401914989":["hashtag1","hashtag2"]},{"1401914920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401914681, 1401914765, 1401914840, 1401915061, 1401914989, 1401914920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.050811529159546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 17:59:42.717347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_21_2612.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_22_1594.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_27_4546.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_28_1621.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_32_1707.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_36_4606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_21_2612.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_22_1594.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_27_4546.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_28_1621.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_32_1707.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_36_4606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401915557","1401915344","1401915416","1401915487","1401915634","1401915724"],"photo_ids_order":["1401915344","1401915416","1401915487","1401915557","1401915634","1401915724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a64bac37431d8fc92516cfef04669fa.jpg","text":"TemporaryFile(/tmp/multipartBody1643880015637868979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200444536,"filename":"image_03112025_19_33_28_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d9688ececf7ab20ff75922dcc8a4cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5657341201922766746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200444536,"filename":"image_03112025_19_33_21_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cef351d9f318beed1041c78ccfa0f809.jpg","text":"TemporaryFile(/tmp/multipartBody1150776879332743701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200444536,"filename":"image_03112025_19_33_22_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25e4f1438ed1c81154f9525e1a5607be.jpg","text":"TemporaryFile(/tmp/multipartBody3690335812198618730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200444536,"filename":"image_03112025_19_33_27_4546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4334572a77a7a552c9aea7edf6810359.jpg","text":"TemporaryFile(/tmp/multipartBody6844756351170194875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200444536,"filename":"image_03112025_19_33_32_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cd85ecdcf77fa0a2ce8b6cb3ee959b5.jpg","text":"TemporaryFile(/tmp/multipartBody8473119524712230214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200444536,"filename":"image_03112025_19_33_36_4606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401915487","file1":"1401915416","file0":"1401915344","file4":"1401915634","file5":"1401915724","file3":"1401915557"},"map_files_photo_id_array":[{"photo_id":"1401915724","filename":"file5"},{"photo_id":"1401915487","filename":"file2"},{"photo_id":"1401915634","filename":"file4"},{"photo_id":"1401915416","filename":"file1"},{"photo_id":"1401915344","filename":"file0"},{"photo_id":"1401915557","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401915557":["hashtag1","hashtag2"]},{"1401915344":["hashtag1","hashtag2"]},{"1401915416":["hashtag1","hashtag2"]},{"1401915487":["hashtag1","hashtag2"]},{"1401915634":["hashtag1","hashtag2"]},{"1401915724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401915557, 1401915344, 1401915416, 1401915487, 1401915634, 1401915724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88660502433777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:00:21.900829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/16/57/image_31122025_16_58_04_10612.jpg', '/home/pi/Desktop/images/31122025/16/58/image_31122025_16_58_44_9709.jpg', '/home/pi/Desktop/images/31122025/16/59/image_31122025_16_59_44_9637.jpg', '/home/pi/Desktop/images/31122025/17/01/image_31122025_17_01_13_10041.jpg', '/home/pi/Desktop/images/31122025/17/01/image_31122025_17_01_54_10785.jpg', '/home/pi/Desktop/images/31122025/17/02/image_31122025_17_03_04_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/16/57/image_31122025_16_58_04_10612.jpg
/home/pi/Desktop/images/31122025/16/58/image_31122025_16_58_44_9709.jpg
/home/pi/Desktop/images/31122025/16/59/image_31122025_16_59_44_9637.jpg
/home/pi/Desktop/images/31122025/17/01/image_31122025_17_01_13_10041.jpg
/home/pi/Desktop/images/31122025/17/01/image_31122025_17_01_54_10785.jpg
/home/pi/Desktop/images/31122025/17/02/image_31122025_17_03_04_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401915794","1401915788","1401915796","1401915790","1401915792","1401915786"],"photo_ids_order":["1401915786","1401915788","1401915790","1401915792","1401915794","1401915796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de09d87b56dcc6fbd656cac8da330cb1.jpg","text":"TemporaryFile(/tmp/multipartBody6900658054555772938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200482467,"filename":"image_31122025_17_01_54_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f91e226776e4eac0fb07bbcfba563ae3.jpg","text":"TemporaryFile(/tmp/multipartBody654394810087260035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200482467,"filename":"image_31122025_16_58_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/177a1e593748b406b4efc85a1d06191d.jpg","text":"TemporaryFile(/tmp/multipartBody2249433401451516502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200482467,"filename":"image_31122025_17_03_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d67ea99e7acfbcc36363dc1b8da73424.jpg","text":"TemporaryFile(/tmp/multipartBody8291999252960735522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200482467,"filename":"image_31122025_16_59_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/511b011ec70001d6fefe1b74f72b6a51.jpg","text":"TemporaryFile(/tmp/multipartBody5193845291933153866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200482467,"filename":"image_31122025_17_01_13_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc4d158f996a01f9bb6e77bb5bdd802b.jpg","text":"TemporaryFile(/tmp/multipartBody3247606518430040011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200482467,"filename":"image_31122025_16_58_04_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401915790","file1":"1401915788","file0":"1401915786","file4":"1401915794","file5":"1401915796","file3":"1401915792"},"map_files_photo_id_array":[{"photo_id":"1401915796","filename":"file5"},{"photo_id":"1401915790","filename":"file2"},{"photo_id":"1401915794","filename":"file4"},{"photo_id":"1401915788","filename":"file1"},{"photo_id":"1401915786","filename":"file0"},{"photo_id":"1401915792","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401915794":["hashtag1","hashtag2"]},{"1401915788":["hashtag1","hashtag2"]},{"1401915796":["hashtag1","hashtag2"]},{"1401915790":["hashtag1","hashtag2"]},{"1401915792":["hashtag1","hashtag2"]},{"1401915786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401915794, 1401915788, 1401915796, 1401915790, 1401915792, 1401915786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4900107383728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:01:02.789400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/03/image_31122025_17_04_04_9640.jpg', '/home/pi/Desktop/images/31122025/17/04/image_31122025_17_04_13_9828.jpg', '/home/pi/Desktop/images/31122025/17/04/image_31122025_17_04_34_9584.jpg', '/home/pi/Desktop/images/31122025/17/05/image_31122025_17_05_25_10685.jpg', '/home/pi/Desktop/images/31122025/17/05/image_31122025_17_05_55_10657.jpg', '/home/pi/Desktop/images/31122025/17/06/image_31122025_17_06_25_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/03/image_31122025_17_04_04_9640.jpg
/home/pi/Desktop/images/31122025/17/04/image_31122025_17_04_13_9828.jpg
/home/pi/Desktop/images/31122025/17/04/image_31122025_17_04_34_9584.jpg
/home/pi/Desktop/images/31122025/17/05/image_31122025_17_05_25_10685.jpg
/home/pi/Desktop/images/31122025/17/05/image_31122025_17_05_55_10657.jpg
/home/pi/Desktop/images/31122025/17/06/image_31122025_17_06_25_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401916267","1401916069","1401916246","1401916132","1401916176","1401915996"],"photo_ids_order":["1401915996","1401916069","1401916132","1401916176","1401916246","1401916267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a610fbf16779190422d44eb1c117b79f.jpg","text":"TemporaryFile(/tmp/multipartBody2203510548100177456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200523397,"filename":"image_31122025_17_06_25_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b1aa4af5583a5802436376eb0a0758d.jpg","text":"TemporaryFile(/tmp/multipartBody2968578990832063845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200523397,"filename":"image_31122025_17_04_13_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/604990ea024661fdb9c7ad645f53331d.jpg","text":"TemporaryFile(/tmp/multipartBody7043550919864167757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200523397,"filename":"image_31122025_17_05_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d572d88ca58f1d92b675b5457dfae67e.jpg","text":"TemporaryFile(/tmp/multipartBody3809109881928702546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200523397,"filename":"image_31122025_17_04_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83d8145e23af0de7b9630aeaef2b48c7.jpg","text":"TemporaryFile(/tmp/multipartBody3646562755752974024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200523397,"filename":"image_31122025_17_05_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2563eccf23a740e9d882d9b443a942f6.jpg","text":"TemporaryFile(/tmp/multipartBody5777006494290980645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200523397,"filename":"image_31122025_17_04_04_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401916132","file1":"1401916069","file0":"1401915996","file4":"1401916246","file5":"1401916267","file3":"1401916176"},"map_files_photo_id_array":[{"photo_id":"1401916267","filename":"file5"},{"photo_id":"1401916132","filename":"file2"},{"photo_id":"1401916246","filename":"file4"},{"photo_id":"1401916069","filename":"file1"},{"photo_id":"1401915996","filename":"file0"},{"photo_id":"1401916176","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401916267":["hashtag1","hashtag2"]},{"1401916069":["hashtag1","hashtag2"]},{"1401916246":["hashtag1","hashtag2"]},{"1401916132":["hashtag1","hashtag2"]},{"1401916176":["hashtag1","hashtag2"]},{"1401915996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401916267, 1401916069, 1401916246, 1401916132, 1401916176, 1401915996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05846166610718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:01:42.015879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_38_1635.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_42_4198.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_44_1509.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_58_1675.jpg', '/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_59_1656.jpg', '/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_10_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_38_1635.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_42_4198.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_44_1509.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_58_1675.jpg
/home/pi/Desktop/images/03112025/19/33/image_03112025_19_33_59_1656.jpg
/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_10_3679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401916532","1401916409","1401916456","1401916362","1401916371","1401916490"],"photo_ids_order":["1401916362","1401916371","1401916409","1401916456","1401916490","1401916532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef8421cf049f008c43dff25928e24161.jpg","text":"TemporaryFile(/tmp/multipartBody7228822096732492943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200563845,"filename":"image_03112025_19_34_10_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50519b1a4d7f462bcf0fb5278808d8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2052167832285365896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200563845,"filename":"image_03112025_19_33_44_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbf0d7cc9163abfddfab00ad45044902.jpg","text":"TemporaryFile(/tmp/multipartBody176995329624536254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200563845,"filename":"image_03112025_19_33_58_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3245ba87ba873387a9e541b9fb50090.jpg","text":"TemporaryFile(/tmp/multipartBody7998065538818445967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200563845,"filename":"image_03112025_19_33_38_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2dbe4883098f275bc448cd199414cc23.jpg","text":"TemporaryFile(/tmp/multipartBody2363592720962446906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200563845,"filename":"image_03112025_19_33_42_4198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c52ffa2cc1689b2443863de8cf35712.jpg","text":"TemporaryFile(/tmp/multipartBody5599590587970554351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200563845,"filename":"image_03112025_19_33_59_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401916409","file1":"1401916371","file0":"1401916362","file4":"1401916490","file5":"1401916532","file3":"1401916456"},"map_files_photo_id_array":[{"photo_id":"1401916532","filename":"file5"},{"photo_id":"1401916409","filename":"file2"},{"photo_id":"1401916490","filename":"file4"},{"photo_id":"1401916371","filename":"file1"},{"photo_id":"1401916362","filename":"file0"},{"photo_id":"1401916456","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401916532":["hashtag1","hashtag2"]},{"1401916409":["hashtag1","hashtag2"]},{"1401916456":["hashtag1","hashtag2"]},{"1401916362":["hashtag1","hashtag2"]},{"1401916371":["hashtag1","hashtag2"]},{"1401916490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401916532, 1401916409, 1401916456, 1401916362, 1401916371, 1401916490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16155982017517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:02:22.192155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/07/image_31122025_17_07_15_9710.jpg', '/home/pi/Desktop/images/31122025/17/08/image_31122025_17_08_55_9557.jpg', '/home/pi/Desktop/images/31122025/17/10/image_31122025_17_10_55_10664.jpg', '/home/pi/Desktop/images/31122025/17/11/image_31122025_17_11_46_10650.jpg', '/home/pi/Desktop/images/31122025/17/11/image_31122025_17_12_05_9619.jpg', '/home/pi/Desktop/images/31122025/17/12/image_31122025_17_12_15_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/07/image_31122025_17_07_15_9710.jpg
/home/pi/Desktop/images/31122025/17/08/image_31122025_17_08_55_9557.jpg
/home/pi/Desktop/images/31122025/17/10/image_31122025_17_10_55_10664.jpg
/home/pi/Desktop/images/31122025/17/11/image_31122025_17_11_46_10650.jpg
/home/pi/Desktop/images/31122025/17/11/image_31122025_17_12_05_9619.jpg
/home/pi/Desktop/images/31122025/17/12/image_31122025_17_12_15_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401916664","1401916850","1401916742","1401916698","1401916779","1401916815"],"photo_ids_order":["1401916664","1401916698","1401916742","1401916779","1401916815","1401916850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2323805f8b67ed05e75d5f0452f2ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7305198038016538261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200602747,"filename":"image_31122025_17_07_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3f30c1414d807d2ac4c6c8d9cce9be2.jpg","text":"TemporaryFile(/tmp/multipartBody7617170372587139593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200602747,"filename":"image_31122025_17_12_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3e61ae0663306b64a1ac9965e81950e.jpg","text":"TemporaryFile(/tmp/multipartBody2542324716746845368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200602747,"filename":"image_31122025_17_10_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70af89ca9dc6e5ef12c679ea55323f18.jpg","text":"TemporaryFile(/tmp/multipartBody4405023767611717122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200602747,"filename":"image_31122025_17_08_55_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35f6ba64b4e1b262916217c0690fd403.jpg","text":"TemporaryFile(/tmp/multipartBody5710472507560731492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200602747,"filename":"image_31122025_17_11_46_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f7985e2fbe63d5cfcd6adccac53d103.jpg","text":"TemporaryFile(/tmp/multipartBody1768262443053303093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200602747,"filename":"image_31122025_17_12_05_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401916742","file1":"1401916698","file0":"1401916664","file4":"1401916815","file5":"1401916850","file3":"1401916779"},"map_files_photo_id_array":[{"photo_id":"1401916850","filename":"file5"},{"photo_id":"1401916742","filename":"file2"},{"photo_id":"1401916815","filename":"file4"},{"photo_id":"1401916698","filename":"file1"},{"photo_id":"1401916664","filename":"file0"},{"photo_id":"1401916779","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401916664":["hashtag1","hashtag2"]},{"1401916850":["hashtag1","hashtag2"]},{"1401916742":["hashtag1","hashtag2"]},{"1401916698":["hashtag1","hashtag2"]},{"1401916779":["hashtag1","hashtag2"]},{"1401916815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401916664, 1401916850, 1401916742, 1401916698, 1401916779, 1401916815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18619918823242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:03:03.243893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/12/image_31122025_17_12_25_10638.jpg', '/home/pi/Desktop/images/31122025/17/12/image_31122025_17_12_46_10554.jpg', '/home/pi/Desktop/images/31122025/17/13/image_31122025_17_13_46_10525.jpg', '/home/pi/Desktop/images/31122025/17/14/image_31122025_17_14_35_9724.jpg', '/home/pi/Desktop/images/31122025/17/15/image_31122025_17_15_25_10585.jpg', '/home/pi/Desktop/images/31122025/17/15/image_31122025_17_16_05_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/12/image_31122025_17_12_25_10638.jpg
/home/pi/Desktop/images/31122025/17/12/image_31122025_17_12_46_10554.jpg
/home/pi/Desktop/images/31122025/17/13/image_31122025_17_13_46_10525.jpg
/home/pi/Desktop/images/31122025/17/14/image_31122025_17_14_35_9724.jpg
/home/pi/Desktop/images/31122025/17/15/image_31122025_17_15_25_10585.jpg
/home/pi/Desktop/images/31122025/17/15/image_31122025_17_16_05_9535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401917146","1401917077","1401917041","1401917112","1401917001","1401917183"],"photo_ids_order":["1401917001","1401917041","1401917077","1401917112","1401917146","1401917183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc22a31f192170511a19d85c3e073d2c.jpg","text":"TemporaryFile(/tmp/multipartBody9150274795670061786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200643831,"filename":"image_31122025_17_15_25_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aac43c9e4d1d03b0809682dc48971852.jpg","text":"TemporaryFile(/tmp/multipartBody6364078089804889306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200643831,"filename":"image_31122025_17_13_46_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4136d9d814a5f66eb31d611c86a1aecb.jpg","text":"TemporaryFile(/tmp/multipartBody4006013658029726946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200643831,"filename":"image_31122025_17_12_46_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70e6b7829a650125ba5ad73944c31c06.jpg","text":"TemporaryFile(/tmp/multipartBody6001085382396153196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200643831,"filename":"image_31122025_17_14_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24760c6f357b3505df51306a8e6002b9.jpg","text":"TemporaryFile(/tmp/multipartBody6027092942616059442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200643831,"filename":"image_31122025_17_12_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08b3d5d8282cf48a208511787767a62a.jpg","text":"TemporaryFile(/tmp/multipartBody4725620476313668551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200643831,"filename":"image_31122025_17_16_05_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401917077","file1":"1401917041","file0":"1401917001","file4":"1401917146","file5":"1401917183","file3":"1401917112"},"map_files_photo_id_array":[{"photo_id":"1401917183","filename":"file5"},{"photo_id":"1401917077","filename":"file2"},{"photo_id":"1401917146","filename":"file4"},{"photo_id":"1401917041","filename":"file1"},{"photo_id":"1401917001","filename":"file0"},{"photo_id":"1401917112","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401917146":["hashtag1","hashtag2"]},{"1401917077":["hashtag1","hashtag2"]},{"1401917041":["hashtag1","hashtag2"]},{"1401917112":["hashtag1","hashtag2"]},{"1401917001":["hashtag1","hashtag2"]},{"1401917183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401917146, 1401917077, 1401917041, 1401917112, 1401917001, 1401917183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41373896598816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:03:42.412608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_13_2906.jpg', '/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_16_2638.jpg', '/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_36_20161.jpg', '/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_55_1792.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_02_7025.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_04_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_13_2906.jpg
/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_16_2638.jpg
/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_36_20161.jpg
/home/pi/Desktop/images/03112025/19/34/image_03112025_19_34_55_1792.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_02_7025.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_04_1668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401917365","1401917503","1401917433","1401917328","1401917400","1401917468"],"photo_ids_order":["1401917328","1401917365","1401917400","1401917433","1401917468","1401917503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40ccce425509a332cd3c033785c5ed38.jpg","text":"TemporaryFile(/tmp/multipartBody3873295461193267665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200684239,"filename":"image_03112025_19_34_16_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ded05a4742e04dbaa0798ee28e51af0c.jpg","text":"TemporaryFile(/tmp/multipartBody1238548942931276875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200684239,"filename":"image_03112025_19_35_04_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c21f39b9a81b79bb32b156909e4742d9.jpg","text":"TemporaryFile(/tmp/multipartBody813852120542679892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200684239,"filename":"image_03112025_19_34_55_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87bfd79112fcdabb73e310e453fb13ca.jpg","text":"TemporaryFile(/tmp/multipartBody147115988227406760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200684239,"filename":"image_03112025_19_34_13_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/150809ccb5226743063edff6c5d14f73.jpg","text":"TemporaryFile(/tmp/multipartBody6595292642138513287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200684239,"filename":"image_03112025_19_34_36_20161.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe74d3e94680d450dc1da63438b961f7.jpg","text":"TemporaryFile(/tmp/multipartBody2193528707589146058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200684239,"filename":"image_03112025_19_35_02_7025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401917400","file1":"1401917365","file0":"1401917328","file4":"1401917468","file5":"1401917503","file3":"1401917433"},"map_files_photo_id_array":[{"photo_id":"1401917503","filename":"file5"},{"photo_id":"1401917400","filename":"file2"},{"photo_id":"1401917468","filename":"file4"},{"photo_id":"1401917365","filename":"file1"},{"photo_id":"1401917328","filename":"file0"},{"photo_id":"1401917433","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401917365":["hashtag1","hashtag2"]},{"1401917503":["hashtag1","hashtag2"]},{"1401917433":["hashtag1","hashtag2"]},{"1401917328":["hashtag1","hashtag2"]},{"1401917400":["hashtag1","hashtag2"]},{"1401917468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401917365, 1401917503, 1401917433, 1401917328, 1401917400, 1401917468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57930302619934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:04:22.568700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/16/image_31122025_17_16_55_9677.jpg', '/home/pi/Desktop/images/31122025/17/17/image_31122025_17_17_35_9743.jpg', '/home/pi/Desktop/images/31122025/17/17/image_31122025_17_17_45_10597.jpg', '/home/pi/Desktop/images/31122025/17/18/image_31122025_17_18_35_9560.jpg', '/home/pi/Desktop/images/31122025/17/20/image_31122025_17_20_35_9682.jpg', '/home/pi/Desktop/images/31122025/17/21/image_31122025_17_21_55_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/16/image_31122025_17_16_55_9677.jpg
/home/pi/Desktop/images/31122025/17/17/image_31122025_17_17_35_9743.jpg
/home/pi/Desktop/images/31122025/17/17/image_31122025_17_17_45_10597.jpg
/home/pi/Desktop/images/31122025/17/18/image_31122025_17_18_35_9560.jpg
/home/pi/Desktop/images/31122025/17/20/image_31122025_17_20_35_9682.jpg
/home/pi/Desktop/images/31122025/17/21/image_31122025_17_21_55_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401917522","1401917519","1401917530","1401917524","1401917520","1401917526"],"photo_ids_order":["1401917519","1401917520","1401917522","1401917524","1401917526","1401917530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdd4c8d90e31531581111db84db12015.jpg","text":"TemporaryFile(/tmp/multipartBody8994658792316562193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200723103,"filename":"image_31122025_17_17_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b62b37a2370563c93c21cac1384fc54b.jpg","text":"TemporaryFile(/tmp/multipartBody2146764791539912398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200723103,"filename":"image_31122025_17_16_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9586b735e6bfe91fee735ebba3830877.jpg","text":"TemporaryFile(/tmp/multipartBody3109690915263475107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200723103,"filename":"image_31122025_17_21_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0efed56c940a07df7d4c17a6a634199d.jpg","text":"TemporaryFile(/tmp/multipartBody3140208893942392314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200723103,"filename":"image_31122025_17_18_35_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8eb586aace58b57d0fbcdbf4b6d0c605.jpg","text":"TemporaryFile(/tmp/multipartBody2836999087016635894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200723103,"filename":"image_31122025_17_17_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99a0015cf87aefb78eaf49145b233699.jpg","text":"TemporaryFile(/tmp/multipartBody3338589974261158566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200723103,"filename":"image_31122025_17_20_35_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401917522","file1":"1401917520","file0":"1401917519","file4":"1401917526","file5":"1401917530","file3":"1401917524"},"map_files_photo_id_array":[{"photo_id":"1401917530","filename":"file5"},{"photo_id":"1401917522","filename":"file2"},{"photo_id":"1401917526","filename":"file4"},{"photo_id":"1401917520","filename":"file1"},{"photo_id":"1401917519","filename":"file0"},{"photo_id":"1401917524","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401917522":["hashtag1","hashtag2"]},{"1401917519":["hashtag1","hashtag2"]},{"1401917530":["hashtag1","hashtag2"]},{"1401917524":["hashtag1","hashtag2"]},{"1401917520":["hashtag1","hashtag2"]},{"1401917526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401917522, 1401917519, 1401917530, 1401917524, 1401917520, 1401917526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.176209926605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:05:03.372009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/22/image_31122025_17_23_05_9659.jpg', '/home/pi/Desktop/images/31122025/17/23/image_31122025_17_24_05_9557.jpg', '/home/pi/Desktop/images/31122025/17/24/image_31122025_17_24_15_10682.jpg', '/home/pi/Desktop/images/31122025/17/24/image_31122025_17_24_25_9594.jpg', '/home/pi/Desktop/images/31122025/17/26/image_31122025_17_27_04_9716.jpg', '/home/pi/Desktop/images/31122025/17/31/image_31122025_17_31_14_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/22/image_31122025_17_23_05_9659.jpg
/home/pi/Desktop/images/31122025/17/23/image_31122025_17_24_05_9557.jpg
/home/pi/Desktop/images/31122025/17/24/image_31122025_17_24_15_10682.jpg
/home/pi/Desktop/images/31122025/17/24/image_31122025_17_24_25_9594.jpg
/home/pi/Desktop/images/31122025/17/26/image_31122025_17_27_04_9716.jpg
/home/pi/Desktop/images/31122025/17/31/image_31122025_17_31_14_10041.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401917534","1401917533","1401917670","1401917628","1401917550","1401917588"],"photo_ids_order":["1401917533","1401917534","1401917550","1401917588","1401917628","1401917670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7c5fc7e2a8d5d73b809e655ef9ebee2.jpg","text":"TemporaryFile(/tmp/multipartBody2708099168559629072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200763983,"filename":"image_31122025_17_24_05_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f369af5c89d6a994aaadd74b841918c.jpg","text":"TemporaryFile(/tmp/multipartBody3673652045936410622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200763983,"filename":"image_31122025_17_23_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c08b5b00109ebd7fd7d9cad4b57f8604.jpg","text":"TemporaryFile(/tmp/multipartBody1377204763420466726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200763983,"filename":"image_31122025_17_31_14_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef20470c349871100430f4367ee920c0.jpg","text":"TemporaryFile(/tmp/multipartBody4761832867474095393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200763983,"filename":"image_31122025_17_27_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d21a12552c00162acff0e39fae09a53.jpg","text":"TemporaryFile(/tmp/multipartBody6818833710179031928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200763983,"filename":"image_31122025_17_24_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a57205cb224884b04fe1c8597609459.jpg","text":"TemporaryFile(/tmp/multipartBody2729107083900365975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200763983,"filename":"image_31122025_17_24_25_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401917550","file1":"1401917534","file0":"1401917533","file4":"1401917628","file5":"1401917670","file3":"1401917588"},"map_files_photo_id_array":[{"photo_id":"1401917670","filename":"file5"},{"photo_id":"1401917550","filename":"file2"},{"photo_id":"1401917628","filename":"file4"},{"photo_id":"1401917534","filename":"file1"},{"photo_id":"1401917533","filename":"file0"},{"photo_id":"1401917588","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401917534":["hashtag1","hashtag2"]},{"1401917533":["hashtag1","hashtag2"]},{"1401917670":["hashtag1","hashtag2"]},{"1401917628":["hashtag1","hashtag2"]},{"1401917550":["hashtag1","hashtag2"]},{"1401917588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401917534, 1401917533, 1401917670, 1401917628, 1401917550, 1401917588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72371053695679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:05:42.721000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_08_1695.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_09_1550.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_11_1724.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_12_1597.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_14_1656.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_17_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_08_1695.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_09_1550.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_11_1724.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_12_1597.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_14_1656.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_17_1539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401917825","1401917866","1401917917","1401917880","1401917867","1401917861"],"photo_ids_order":["1401917825","1401917861","1401917866","1401917867","1401917880","1401917917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c3d83ef6e6a059549a2297e473d860a.jpg","text":"TemporaryFile(/tmp/multipartBody1370792148164761270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200804447,"filename":"image_03112025_19_35_08_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e62177cb978d54fa04225b100ad8c3e.jpg","text":"TemporaryFile(/tmp/multipartBody2245670347427408946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200804447,"filename":"image_03112025_19_35_11_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e0561a49cbdd900b48fdd9742dbbe2c.jpg","text":"TemporaryFile(/tmp/multipartBody2742164899590401843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200804447,"filename":"image_03112025_19_35_17_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ab702c87ef78b352a512ba05167aa07.jpg","text":"TemporaryFile(/tmp/multipartBody2115252170772949026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200804447,"filename":"image_03112025_19_35_14_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed7505b199fbc76584ebbf6c40da8831.jpg","text":"TemporaryFile(/tmp/multipartBody6345533902743146305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200804447,"filename":"image_03112025_19_35_12_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d413b2a4776d06446a6de9cbbcd1c962.jpg","text":"TemporaryFile(/tmp/multipartBody1993699790758271413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200804447,"filename":"image_03112025_19_35_09_1550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401917866","file1":"1401917861","file0":"1401917825","file4":"1401917880","file5":"1401917917","file3":"1401917867"},"map_files_photo_id_array":[{"photo_id":"1401917917","filename":"file5"},{"photo_id":"1401917866","filename":"file2"},{"photo_id":"1401917880","filename":"file4"},{"photo_id":"1401917861","filename":"file1"},{"photo_id":"1401917825","filename":"file0"},{"photo_id":"1401917867","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401917825":["hashtag1","hashtag2"]},{"1401917866":["hashtag1","hashtag2"]},{"1401917917":["hashtag1","hashtag2"]},{"1401917880":["hashtag1","hashtag2"]},{"1401917867":["hashtag1","hashtag2"]},{"1401917861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401917825, 1401917866, 1401917917, 1401917880, 1401917867, 1401917861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17406511306763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:06:22.002179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/31/image_31122025_17_31_45_10707.jpg', '/home/pi/Desktop/images/31122025/17/31/image_31122025_17_31_55_9866.jpg', '/home/pi/Desktop/images/31122025/17/32/image_31122025_17_32_25_10672.jpg', '/home/pi/Desktop/images/31122025/17/32/image_31122025_17_32_44_9791.jpg', '/home/pi/Desktop/images/31122025/17/35/image_31122025_17_35_25_10658.jpg', '/home/pi/Desktop/images/31122025/17/36/image_31122025_17_36_25_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/31/image_31122025_17_31_45_10707.jpg
/home/pi/Desktop/images/31122025/17/31/image_31122025_17_31_55_9866.jpg
/home/pi/Desktop/images/31122025/17/32/image_31122025_17_32_25_10672.jpg
/home/pi/Desktop/images/31122025/17/32/image_31122025_17_32_44_9791.jpg
/home/pi/Desktop/images/31122025/17/35/image_31122025_17_35_25_10658.jpg
/home/pi/Desktop/images/31122025/17/36/image_31122025_17_36_25_10552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918008","1401917950","1401917980","1401918004","1401917993","1401918005"],"photo_ids_order":["1401917950","1401917980","1401917993","1401918004","1401918005","1401918008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5707e5b1b3509347454797c8b2784597.jpg","text":"TemporaryFile(/tmp/multipartBody5343030270226728702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200842601,"filename":"image_31122025_17_36_25_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a7f0717f7bd95e9436516b9c35fcd11.jpg","text":"TemporaryFile(/tmp/multipartBody7734426230989750573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200842601,"filename":"image_31122025_17_31_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aeb549bc862ed99e5a713fcf72aadfb5.jpg","text":"TemporaryFile(/tmp/multipartBody818657498672915541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200842601,"filename":"image_31122025_17_31_55_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a98b501df10fea71441531c1692646a.jpg","text":"TemporaryFile(/tmp/multipartBody6928707118131511211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200842601,"filename":"image_31122025_17_32_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c6f0ea80f25f559fac39a954d6a55e1.jpg","text":"TemporaryFile(/tmp/multipartBody5522812783393138097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200842601,"filename":"image_31122025_17_32_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3456904927e40374692013688176bc59.jpg","text":"TemporaryFile(/tmp/multipartBody5130094777188441293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200842601,"filename":"image_31122025_17_35_25_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401917993","file1":"1401917980","file0":"1401917950","file4":"1401918005","file5":"1401918008","file3":"1401918004"},"map_files_photo_id_array":[{"photo_id":"1401918008","filename":"file5"},{"photo_id":"1401917993","filename":"file2"},{"photo_id":"1401918005","filename":"file4"},{"photo_id":"1401917980","filename":"file1"},{"photo_id":"1401917950","filename":"file0"},{"photo_id":"1401918004","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918008":["hashtag1","hashtag2"]},{"1401917950":["hashtag1","hashtag2"]},{"1401917980":["hashtag1","hashtag2"]},{"1401918004":["hashtag1","hashtag2"]},{"1401917993":["hashtag1","hashtag2"]},{"1401918005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918008, 1401917950, 1401917980, 1401918004, 1401917993, 1401918005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41520023345947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:07:02.955362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/41/image_31122025_17_41_45_9489.jpg', '/home/pi/Desktop/images/31122025/17/41/image_31122025_17_41_56_10907.jpg', '/home/pi/Desktop/images/31122025/17/42/image_31122025_17_42_45_9540.jpg', '/home/pi/Desktop/images/31122025/17/47/image_31122025_17_48_04_10638.jpg', '/home/pi/Desktop/images/31122025/17/48/image_31122025_17_48_55_10774.jpg', '/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_15_10061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/41/image_31122025_17_41_45_9489.jpg
/home/pi/Desktop/images/31122025/17/41/image_31122025_17_41_56_10907.jpg
/home/pi/Desktop/images/31122025/17/42/image_31122025_17_42_45_9540.jpg
/home/pi/Desktop/images/31122025/17/47/image_31122025_17_48_04_10638.jpg
/home/pi/Desktop/images/31122025/17/48/image_31122025_17_48_55_10774.jpg
/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_15_10061.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918014","1401918016","1401918018","1401918012","1401918015","1401918011"],"photo_ids_order":["1401918011","1401918012","1401918014","1401918015","1401918016","1401918018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c461df329dec74f90f114327c272ca4.jpg","text":"TemporaryFile(/tmp/multipartBody4115430359046298752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200883584,"filename":"image_31122025_17_42_45_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b29ee896f75e4d4a0e4ab3484108ac93.jpg","text":"TemporaryFile(/tmp/multipartBody8740208448092027000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200883584,"filename":"image_31122025_17_48_55_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/696b5fcad0cb972c09de18613111de5b.jpg","text":"TemporaryFile(/tmp/multipartBody7101682093911051744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200883584,"filename":"image_31122025_17_50_15_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/447b3757d92a6fc319d856064d81128c.jpg","text":"TemporaryFile(/tmp/multipartBody3516485229725558711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200883584,"filename":"image_31122025_17_41_56_10907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad42ecf47a9ca518e44ff0f5abb10c30.jpg","text":"TemporaryFile(/tmp/multipartBody7934813998402853043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200883584,"filename":"image_31122025_17_48_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19b14d12d348ca72b36d5f5ddc229d95.jpg","text":"TemporaryFile(/tmp/multipartBody2725846187666708298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200883584,"filename":"image_31122025_17_41_45_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918014","file1":"1401918012","file0":"1401918011","file4":"1401918016","file5":"1401918018","file3":"1401918015"},"map_files_photo_id_array":[{"photo_id":"1401918018","filename":"file5"},{"photo_id":"1401918014","filename":"file2"},{"photo_id":"1401918016","filename":"file4"},{"photo_id":"1401918012","filename":"file1"},{"photo_id":"1401918011","filename":"file0"},{"photo_id":"1401918015","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918014":["hashtag1","hashtag2"]},{"1401918016":["hashtag1","hashtag2"]},{"1401918018":["hashtag1","hashtag2"]},{"1401918012":["hashtag1","hashtag2"]},{"1401918015":["hashtag1","hashtag2"]},{"1401918011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918014, 1401918016, 1401918018, 1401918012, 1401918015, 1401918011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.501925230026245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:07:42.181551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_19_1634.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_24_1681.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_25_1564.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_27_1853.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_29_1619.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_37_1542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_19_1634.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_24_1681.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_25_1564.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_27_1853.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_29_1619.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_37_1542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918031","1401918028","1401918037","1401918025","1401918030","1401918029"],"photo_ids_order":["1401918025","1401918028","1401918029","1401918030","1401918031","1401918037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7561b13c14ca4f246d800e4c4fa69f5b.jpg","text":"TemporaryFile(/tmp/multipartBody6148165670892611916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200924009,"filename":"image_03112025_19_35_29_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d85845326dfa95c99ef458e6956155b5.jpg","text":"TemporaryFile(/tmp/multipartBody1053076479523721309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200924009,"filename":"image_03112025_19_35_24_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/570bdf480de54535d5ee88ad84d86041.jpg","text":"TemporaryFile(/tmp/multipartBody6807733359206315792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200924009,"filename":"image_03112025_19_35_37_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eacef02f604abfb1625c6a39f3e40727.jpg","text":"TemporaryFile(/tmp/multipartBody1332227096047127649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200924009,"filename":"image_03112025_19_35_19_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c1e0f744ab10bccbf1eee43a2943c1d.jpg","text":"TemporaryFile(/tmp/multipartBody8017144237950859914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200924009,"filename":"image_03112025_19_35_27_1853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bddd0d6cd70a07cbcee5cd30bce01c3a.jpg","text":"TemporaryFile(/tmp/multipartBody368059403281379940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200924009,"filename":"image_03112025_19_35_25_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918029","file1":"1401918028","file0":"1401918025","file4":"1401918031","file5":"1401918037","file3":"1401918030"},"map_files_photo_id_array":[{"photo_id":"1401918037","filename":"file5"},{"photo_id":"1401918029","filename":"file2"},{"photo_id":"1401918031","filename":"file4"},{"photo_id":"1401918028","filename":"file1"},{"photo_id":"1401918025","filename":"file0"},{"photo_id":"1401918030","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401918031":["hashtag1","hashtag2"]},{"1401918028":["hashtag1","hashtag2"]},{"1401918037":["hashtag1","hashtag2"]},{"1401918025":["hashtag1","hashtag2"]},{"1401918030":["hashtag1","hashtag2"]},{"1401918029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401918031, 1401918028, 1401918037, 1401918025, 1401918030, 1401918029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52421522140503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:08:22.439260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_26_10699.jpg', '/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_35_9554.jpg', '/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_46_10608.jpg', '/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_55_9690.jpg', '/home/pi/Desktop/images/31122025/17/51/image_31122025_17_51_16_10551.jpg', '/home/pi/Desktop/images/31122025/17/51/image_31122025_17_51_35_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_26_10699.jpg
/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_35_9554.jpg
/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_46_10608.jpg
/home/pi/Desktop/images/31122025/17/50/image_31122025_17_50_55_9690.jpg
/home/pi/Desktop/images/31122025/17/51/image_31122025_17_51_16_10551.jpg
/home/pi/Desktop/images/31122025/17/51/image_31122025_17_51_35_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918064","1401918052","1401918054","1401918057","1401918066","1401918065"],"photo_ids_order":["1401918052","1401918054","1401918057","1401918064","1401918065","1401918066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b08c82a97111f531a2a8d669e9310099.jpg","text":"TemporaryFile(/tmp/multipartBody8525877722105549204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200963019,"filename":"image_31122025_17_50_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26c7a01e314a85c548f721feb04ee722.jpg","text":"TemporaryFile(/tmp/multipartBody6283282535336010888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200963019,"filename":"image_31122025_17_50_26_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/536c54a7a1676aa82c39d9300bbb1192.jpg","text":"TemporaryFile(/tmp/multipartBody3118682616190933149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200963019,"filename":"image_31122025_17_50_35_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3aee771f85b08ea43307274a49ddceab.jpg","text":"TemporaryFile(/tmp/multipartBody1212013267140266550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200963019,"filename":"image_31122025_17_50_46_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a87486480cdd0b319eb153ec55f46b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6136474942460662711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200963019,"filename":"image_31122025_17_51_35_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ce424323ac1c8fb6efd00661a3dcee0.jpg","text":"TemporaryFile(/tmp/multipartBody9209704071511588010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767200963019,"filename":"image_31122025_17_51_16_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918057","file1":"1401918054","file0":"1401918052","file4":"1401918065","file5":"1401918066","file3":"1401918064"},"map_files_photo_id_array":[{"photo_id":"1401918066","filename":"file5"},{"photo_id":"1401918057","filename":"file2"},{"photo_id":"1401918065","filename":"file4"},{"photo_id":"1401918054","filename":"file1"},{"photo_id":"1401918052","filename":"file0"},{"photo_id":"1401918064","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918064":["hashtag1","hashtag2"]},{"1401918052":["hashtag1","hashtag2"]},{"1401918054":["hashtag1","hashtag2"]},{"1401918057":["hashtag1","hashtag2"]},{"1401918066":["hashtag1","hashtag2"]},{"1401918065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918064, 1401918052, 1401918054, 1401918057, 1401918066, 1401918065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79629564285278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:09:03.531545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/51/image_31122025_17_51_45_9701.jpg', '/home/pi/Desktop/images/31122025/17/51/image_31122025_17_51_56_10641.jpg', '/home/pi/Desktop/images/31122025/17/51/image_31122025_17_52_05_9691.jpg', '/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_15_9698.jpg', '/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_26_10704.jpg', '/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_35_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/51/image_31122025_17_51_45_9701.jpg
/home/pi/Desktop/images/31122025/17/51/image_31122025_17_51_56_10641.jpg
/home/pi/Desktop/images/31122025/17/51/image_31122025_17_52_05_9691.jpg
/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_15_9698.jpg
/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_26_10704.jpg
/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_35_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918070","1401918073","1401918072","1401918075","1401918069","1401918068"],"photo_ids_order":["1401918068","1401918069","1401918070","1401918072","1401918073","1401918075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f882ff8317986c5da0da0e541cc8f497.jpg","text":"TemporaryFile(/tmp/multipartBody2020066540563253188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201004240,"filename":"image_31122025_17_52_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adf139ec6019f134ea4ba69aa050f471.jpg","text":"TemporaryFile(/tmp/multipartBody8402732040895395746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201004240,"filename":"image_31122025_17_52_26_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b207e8fd43df1f4f016aa262f5466093.jpg","text":"TemporaryFile(/tmp/multipartBody8984435022477250614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201004240,"filename":"image_31122025_17_52_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/764f8a3d8ed64eab2988be454bc87712.jpg","text":"TemporaryFile(/tmp/multipartBody5615507967554561164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201004240,"filename":"image_31122025_17_52_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52dd5a6218345918745c796d6c1b6715.jpg","text":"TemporaryFile(/tmp/multipartBody2375926831662437196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201004240,"filename":"image_31122025_17_51_56_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/986f7b8bf335637871ad97d4d2ae3dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3401930754430386412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201004240,"filename":"image_31122025_17_51_45_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918070","file1":"1401918069","file0":"1401918068","file4":"1401918073","file5":"1401918075","file3":"1401918072"},"map_files_photo_id_array":[{"photo_id":"1401918075","filename":"file5"},{"photo_id":"1401918070","filename":"file2"},{"photo_id":"1401918073","filename":"file4"},{"photo_id":"1401918069","filename":"file1"},{"photo_id":"1401918068","filename":"file0"},{"photo_id":"1401918072","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918070":["hashtag1","hashtag2"]},{"1401918073":["hashtag1","hashtag2"]},{"1401918072":["hashtag1","hashtag2"]},{"1401918075":["hashtag1","hashtag2"]},{"1401918069":["hashtag1","hashtag2"]},{"1401918068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918070, 1401918073, 1401918072, 1401918075, 1401918069, 1401918068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87492108345032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:09:42.567351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_38_1587.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_40_1576.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_43_2625.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_45_2622.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_52_2718.jpg', '/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_54_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_38_1587.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_40_1576.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_43_2625.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_45_2622.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_52_2718.jpg
/home/pi/Desktop/images/03112025/19/35/image_03112025_19_35_54_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918121","1401918118","1401918123","1401918117","1401918120","1401918119"],"photo_ids_order":["1401918117","1401918118","1401918119","1401918120","1401918121","1401918123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a995fc78218435030615177ebd11cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2192741733659422771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201044398,"filename":"image_03112025_19_35_52_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cffb0c55e6c8abc347f13a56ed9cd33.jpg","text":"TemporaryFile(/tmp/multipartBody4967016577809274711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201044398,"filename":"image_03112025_19_35_40_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5402dd08e33e7f57aa9405954691e54a.jpg","text":"TemporaryFile(/tmp/multipartBody2747031025961190610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201044398,"filename":"image_03112025_19_35_54_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2787be1647bba2a407f4f4a61df0aa7d.jpg","text":"TemporaryFile(/tmp/multipartBody4811656314289247697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201044398,"filename":"image_03112025_19_35_38_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43a4bbf2ff1abca626a93af7b019e3bb.jpg","text":"TemporaryFile(/tmp/multipartBody1909456188879410680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201044398,"filename":"image_03112025_19_35_45_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1dc35fba17d352f5528f7a578e9ac07.jpg","text":"TemporaryFile(/tmp/multipartBody5675326466963148243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201044398,"filename":"image_03112025_19_35_43_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918119","file1":"1401918118","file0":"1401918117","file4":"1401918121","file5":"1401918123","file3":"1401918120"},"map_files_photo_id_array":[{"photo_id":"1401918123","filename":"file5"},{"photo_id":"1401918119","filename":"file2"},{"photo_id":"1401918121","filename":"file4"},{"photo_id":"1401918118","filename":"file1"},{"photo_id":"1401918117","filename":"file0"},{"photo_id":"1401918120","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401918121":["hashtag1","hashtag2"]},{"1401918118":["hashtag1","hashtag2"]},{"1401918123":["hashtag1","hashtag2"]},{"1401918117":["hashtag1","hashtag2"]},{"1401918120":["hashtag1","hashtag2"]},{"1401918119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401918121, 1401918118, 1401918123, 1401918117, 1401918120, 1401918119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42962074279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:10:22.719849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_45_9557.jpg', '/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_56_10792.jpg', '/home/pi/Desktop/images/31122025/17/53/image_31122025_17_53_26_10632.jpg', '/home/pi/Desktop/images/31122025/17/53/image_31122025_17_53_55_9847.jpg', '/home/pi/Desktop/images/31122025/17/53/image_31122025_17_54_06_10666.jpg', '/home/pi/Desktop/images/31122025/17/54/image_31122025_17_54_15_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_45_9557.jpg
/home/pi/Desktop/images/31122025/17/52/image_31122025_17_52_56_10792.jpg
/home/pi/Desktop/images/31122025/17/53/image_31122025_17_53_26_10632.jpg
/home/pi/Desktop/images/31122025/17/53/image_31122025_17_53_55_9847.jpg
/home/pi/Desktop/images/31122025/17/53/image_31122025_17_54_06_10666.jpg
/home/pi/Desktop/images/31122025/17/54/image_31122025_17_54_15_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918132","1401918126","1401918134","1401918128","1401918137","1401918131"],"photo_ids_order":["1401918126","1401918128","1401918131","1401918132","1401918134","1401918137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3360a46fb08019dda538340971a3859.jpg","text":"TemporaryFile(/tmp/multipartBody6860453824995949726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201083282,"filename":"image_31122025_17_53_55_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91d5defdac5aaaaad9a5112f6cc12a6c.jpg","text":"TemporaryFile(/tmp/multipartBody782308955817556785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201083282,"filename":"image_31122025_17_52_45_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c2061b4917d8ebeac74f7dfb1db9c45.jpg","text":"TemporaryFile(/tmp/multipartBody5570043306724500495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201083282,"filename":"image_31122025_17_54_06_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4c41b5649c69721f5825c3bdadcc1e2.jpg","text":"TemporaryFile(/tmp/multipartBody3136628710700360341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201083282,"filename":"image_31122025_17_52_56_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/294edcf6fafc6470809b91f71df3a19d.jpg","text":"TemporaryFile(/tmp/multipartBody8087436332278723459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201083282,"filename":"image_31122025_17_54_15_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e70f9cab3fbc26777034259072a206b.jpg","text":"TemporaryFile(/tmp/multipartBody5257411853392531076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201083282,"filename":"image_31122025_17_53_26_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918131","file1":"1401918128","file0":"1401918126","file4":"1401918134","file5":"1401918137","file3":"1401918132"},"map_files_photo_id_array":[{"photo_id":"1401918137","filename":"file5"},{"photo_id":"1401918131","filename":"file2"},{"photo_id":"1401918134","filename":"file4"},{"photo_id":"1401918128","filename":"file1"},{"photo_id":"1401918126","filename":"file0"},{"photo_id":"1401918132","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918132":["hashtag1","hashtag2"]},{"1401918126":["hashtag1","hashtag2"]},{"1401918134":["hashtag1","hashtag2"]},{"1401918128":["hashtag1","hashtag2"]},{"1401918137":["hashtag1","hashtag2"]},{"1401918131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918132, 1401918126, 1401918134, 1401918128, 1401918137, 1401918131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54799437522888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:11:02.371255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/54/image_31122025_17_54_55_9646.jpg', '/home/pi/Desktop/images/31122025/17/55/image_31122025_17_55_14_10057.jpg', '/home/pi/Desktop/images/31122025/17/55/image_31122025_17_55_35_9607.jpg', '/home/pi/Desktop/images/31122025/17/55/image_31122025_17_56_05_10782.jpg', '/home/pi/Desktop/images/31122025/17/56/image_31122025_17_56_15_9703.jpg', '/home/pi/Desktop/images/31122025/17/56/image_31122025_17_57_04_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/54/image_31122025_17_54_55_9646.jpg
/home/pi/Desktop/images/31122025/17/55/image_31122025_17_55_14_10057.jpg
/home/pi/Desktop/images/31122025/17/55/image_31122025_17_55_35_9607.jpg
/home/pi/Desktop/images/31122025/17/55/image_31122025_17_56_05_10782.jpg
/home/pi/Desktop/images/31122025/17/56/image_31122025_17_56_15_9703.jpg
/home/pi/Desktop/images/31122025/17/56/image_31122025_17_57_04_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918206","1401918163","1401918327","1401918284","1401918248","1401918320"],"photo_ids_order":["1401918163","1401918206","1401918248","1401918284","1401918320","1401918327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0d20a7123e3bc72618ec9a601f2b768.jpg","text":"TemporaryFile(/tmp/multipartBody4942875308375577701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201123005,"filename":"image_31122025_17_55_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf7d0bf820d622dd003c8ef2e4ef540d.jpg","text":"TemporaryFile(/tmp/multipartBody4399253917534613826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201123005,"filename":"image_31122025_17_54_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d993b6184a66eb61f3987572b222bd8d.jpg","text":"TemporaryFile(/tmp/multipartBody673771402640154672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201123005,"filename":"image_31122025_17_57_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a01eaa932c237ae8d8a33be22e5afd5.jpg","text":"TemporaryFile(/tmp/multipartBody7642395266276538511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201123005,"filename":"image_31122025_17_56_05_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d285527e2f0e9c6bb36ee0ca53f94110.jpg","text":"TemporaryFile(/tmp/multipartBody2122847586623344969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201123005,"filename":"image_31122025_17_55_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0384b0de426f7cedb89dd4cda7e8238a.jpg","text":"TemporaryFile(/tmp/multipartBody5304545599166848519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201123005,"filename":"image_31122025_17_56_15_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918248","file1":"1401918206","file0":"1401918163","file4":"1401918320","file5":"1401918327","file3":"1401918284"},"map_files_photo_id_array":[{"photo_id":"1401918327","filename":"file5"},{"photo_id":"1401918248","filename":"file2"},{"photo_id":"1401918320","filename":"file4"},{"photo_id":"1401918206","filename":"file1"},{"photo_id":"1401918163","filename":"file0"},{"photo_id":"1401918284","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918206":["hashtag1","hashtag2"]},{"1401918163":["hashtag1","hashtag2"]},{"1401918327":["hashtag1","hashtag2"]},{"1401918284":["hashtag1","hashtag2"]},{"1401918248":["hashtag1","hashtag2"]},{"1401918320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918206, 1401918163, 1401918327, 1401918284, 1401918248, 1401918320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7776894569397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:11:41.838977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_09_11646.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_16_6138.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_17_1488.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_21_1614.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_24_1626.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_29_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_09_11646.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_16_6138.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_17_1488.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_21_1614.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_24_1626.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_29_3716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918337","1401918333","1401918336","1401918339","1401918353","1401918338"],"photo_ids_order":["1401918333","1401918336","1401918337","1401918338","1401918339","1401918353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea53b086a3af8023671917982ea1e782.jpg","text":"TemporaryFile(/tmp/multipartBody1538035312350911075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201163674,"filename":"image_03112025_19_36_17_1488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13d2b15b1351e642e3005423994f68e7.jpg","text":"TemporaryFile(/tmp/multipartBody3265591025566502385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201163674,"filename":"image_03112025_19_36_09_11646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e062340cd23ed9dc4664a61f73a55903.jpg","text":"TemporaryFile(/tmp/multipartBody2288071571155522261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201163674,"filename":"image_03112025_19_36_16_6138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19c82092bc187e3f000a9ba2fb998962.jpg","text":"TemporaryFile(/tmp/multipartBody454189243181188606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201163674,"filename":"image_03112025_19_36_24_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1ba609725310960abbc86be5283c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody8071192410249040846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201163674,"filename":"image_03112025_19_36_29_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f017030db4c924d6b70ec47a9432307.jpg","text":"TemporaryFile(/tmp/multipartBody2283308582684938134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201163674,"filename":"image_03112025_19_36_21_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918337","file1":"1401918336","file0":"1401918333","file4":"1401918339","file5":"1401918353","file3":"1401918338"},"map_files_photo_id_array":[{"photo_id":"1401918353","filename":"file5"},{"photo_id":"1401918337","filename":"file2"},{"photo_id":"1401918339","filename":"file4"},{"photo_id":"1401918336","filename":"file1"},{"photo_id":"1401918333","filename":"file0"},{"photo_id":"1401918338","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401918337":["hashtag1","hashtag2"]},{"1401918333":["hashtag1","hashtag2"]},{"1401918336":["hashtag1","hashtag2"]},{"1401918339":["hashtag1","hashtag2"]},{"1401918353":["hashtag1","hashtag2"]},{"1401918338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401918337, 1401918333, 1401918336, 1401918339, 1401918353, 1401918338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49961471557617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:12:21.982498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/57/image_31122025_17_57_15_10771.jpg', '/home/pi/Desktop/images/31122025/17/57/image_31122025_17_58_05_9629.jpg', '/home/pi/Desktop/images/31122025/17/58/image_31122025_17_58_25_10639.jpg', '/home/pi/Desktop/images/31122025/17/58/image_31122025_17_58_35_9716.jpg', '/home/pi/Desktop/images/31122025/17/58/image_31122025_17_58_44_9619.jpg', '/home/pi/Desktop/images/31122025/17/58/image_31122025_17_58_55_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/57/image_31122025_17_57_15_10771.jpg
/home/pi/Desktop/images/31122025/17/57/image_31122025_17_58_05_9629.jpg
/home/pi/Desktop/images/31122025/17/58/image_31122025_17_58_25_10639.jpg
/home/pi/Desktop/images/31122025/17/58/image_31122025_17_58_35_9716.jpg
/home/pi/Desktop/images/31122025/17/58/image_31122025_17_58_44_9619.jpg
/home/pi/Desktop/images/31122025/17/58/image_31122025_17_58_55_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918358","1401918360","1401918354","1401918362","1401918365","1401918356"],"photo_ids_order":["1401918354","1401918356","1401918358","1401918360","1401918362","1401918365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6acc55e7245351740f095f6f0a4326c8.jpg","text":"TemporaryFile(/tmp/multipartBody8608077721657462557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201202586,"filename":"image_31122025_17_58_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15d6f4d60582ce7edc0237dbb3542091.jpg","text":"TemporaryFile(/tmp/multipartBody2691566869631585021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201202586,"filename":"image_31122025_17_58_35_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d56202fa7a4df7a62f8ae3488e7beec3.jpg","text":"TemporaryFile(/tmp/multipartBody8110450075268057772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201202586,"filename":"image_31122025_17_57_15_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/daea27fe4f69a7979826284e2595491d.jpg","text":"TemporaryFile(/tmp/multipartBody8353216430337903287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201202586,"filename":"image_31122025_17_58_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fb4d718b2022bd06ee21e210a976019.jpg","text":"TemporaryFile(/tmp/multipartBody6910626676370716961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201202586,"filename":"image_31122025_17_58_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2207c9f2f51c18603abb162f3dd10a0.jpg","text":"TemporaryFile(/tmp/multipartBody3340187138780413818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201202586,"filename":"image_31122025_17_58_05_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918358","file1":"1401918356","file0":"1401918354","file4":"1401918362","file5":"1401918365","file3":"1401918360"},"map_files_photo_id_array":[{"photo_id":"1401918365","filename":"file5"},{"photo_id":"1401918358","filename":"file2"},{"photo_id":"1401918362","filename":"file4"},{"photo_id":"1401918356","filename":"file1"},{"photo_id":"1401918354","filename":"file0"},{"photo_id":"1401918360","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918358":["hashtag1","hashtag2"]},{"1401918360":["hashtag1","hashtag2"]},{"1401918354":["hashtag1","hashtag2"]},{"1401918362":["hashtag1","hashtag2"]},{"1401918365":["hashtag1","hashtag2"]},{"1401918356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918358, 1401918360, 1401918354, 1401918362, 1401918365, 1401918356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54906749725342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:13:02.902223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/17/58/image_31122025_17_59_05_9863.jpg', '/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_15_9717.jpg', '/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_24_9783.jpg', '/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_35_10650.jpg', '/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_45_9708.jpg', '/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_54_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/17/58/image_31122025_17_59_05_9863.jpg
/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_15_9717.jpg
/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_24_9783.jpg
/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_35_10650.jpg
/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_45_9708.jpg
/home/pi/Desktop/images/31122025/17/59/image_31122025_17_59_54_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918388","1401918376","1401918378","1401918372","1401918377","1401918371"],"photo_ids_order":["1401918371","1401918372","1401918376","1401918377","1401918378","1401918388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/567fa80907bf53314b7974209a9488c8.jpg","text":"TemporaryFile(/tmp/multipartBody8139942629613567655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201243575,"filename":"image_31122025_17_59_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/defd1c9705e4bc9b4af22c7f5b98d9a4.jpg","text":"TemporaryFile(/tmp/multipartBody2201768031907746328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201243575,"filename":"image_31122025_17_59_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fbb25210edf737f4c184b04899e7124.jpg","text":"TemporaryFile(/tmp/multipartBody2374523006653391537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201243575,"filename":"image_31122025_17_59_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/620a0f0f33df56a95827b299f17a4add.jpg","text":"TemporaryFile(/tmp/multipartBody1877036517575399140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201243575,"filename":"image_31122025_17_59_15_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4f7c4337ae19da7e65e1ffd59777fdd.jpg","text":"TemporaryFile(/tmp/multipartBody8653251689956171155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201243575,"filename":"image_31122025_17_59_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0ce807e365fc675e0f0f692ad624662.jpg","text":"TemporaryFile(/tmp/multipartBody2875961393018694901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201243575,"filename":"image_31122025_17_59_05_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918376","file1":"1401918372","file0":"1401918371","file4":"1401918378","file5":"1401918388","file3":"1401918377"},"map_files_photo_id_array":[{"photo_id":"1401918388","filename":"file5"},{"photo_id":"1401918376","filename":"file2"},{"photo_id":"1401918378","filename":"file4"},{"photo_id":"1401918372","filename":"file1"},{"photo_id":"1401918371","filename":"file0"},{"photo_id":"1401918377","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918388":["hashtag1","hashtag2"]},{"1401918376":["hashtag1","hashtag2"]},{"1401918378":["hashtag1","hashtag2"]},{"1401918372":["hashtag1","hashtag2"]},{"1401918377":["hashtag1","hashtag2"]},{"1401918371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918388, 1401918376, 1401918378, 1401918372, 1401918377, 1401918371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29461145401001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:13:42.257645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_31_1719.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_33_1774.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_40_2703.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_48_2557.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_52_3672.jpg', '/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_58_3247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_31_1719.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_33_1774.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_40_2703.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_48_2557.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_52_3672.jpg
/home/pi/Desktop/images/03112025/19/36/image_03112025_19_36_58_3247.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918396","1401918415","1401918400","1401918399","1401918398","1401918416"],"photo_ids_order":["1401918396","1401918398","1401918399","1401918400","1401918415","1401918416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/116cc1c44292179c95baf41b480fadc1.jpg","text":"TemporaryFile(/tmp/multipartBody2721915197740444426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201284075,"filename":"image_03112025_19_36_31_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b839c28722cf2915b4d1207de1e2debf.jpg","text":"TemporaryFile(/tmp/multipartBody1058797285924218926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201284075,"filename":"image_03112025_19_36_52_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d09c784ab394a1480b114644e068adf7.jpg","text":"TemporaryFile(/tmp/multipartBody8200826603969281858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201284075,"filename":"image_03112025_19_36_48_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f74a812685e9374cdfb11999dfe9594.jpg","text":"TemporaryFile(/tmp/multipartBody3459960251982988020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201284075,"filename":"image_03112025_19_36_40_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3108824f2d9c0ff4cd270a048f104241.jpg","text":"TemporaryFile(/tmp/multipartBody3530458292845969689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201284075,"filename":"image_03112025_19_36_33_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ee6a7815d209d92489eb05c4b3a2e47.jpg","text":"TemporaryFile(/tmp/multipartBody5848312501165042129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201284075,"filename":"image_03112025_19_36_58_3247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918399","file1":"1401918398","file0":"1401918396","file4":"1401918415","file5":"1401918416","file3":"1401918400"},"map_files_photo_id_array":[{"photo_id":"1401918416","filename":"file5"},{"photo_id":"1401918399","filename":"file2"},{"photo_id":"1401918415","filename":"file4"},{"photo_id":"1401918398","filename":"file1"},{"photo_id":"1401918396","filename":"file0"},{"photo_id":"1401918400","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401918396":["hashtag1","hashtag2"]},{"1401918415":["hashtag1","hashtag2"]},{"1401918400":["hashtag1","hashtag2"]},{"1401918399":["hashtag1","hashtag2"]},{"1401918398":["hashtag1","hashtag2"]},{"1401918416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401918396, 1401918415, 1401918400, 1401918399, 1401918398, 1401918416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78514862060547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:14:22.433093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_13_10037.jpg', '/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_24_10724.jpg', '/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_33_9570.jpg', '/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_43_9734.jpg', '/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_54_10728.jpg', '/home/pi/Desktop/images/31122025/18/01/image_31122025_18_02_03_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_13_10037.jpg
/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_24_10724.jpg
/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_33_9570.jpg
/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_43_9734.jpg
/home/pi/Desktop/images/31122025/18/01/image_31122025_18_01_54_10728.jpg
/home/pi/Desktop/images/31122025/18/01/image_31122025_18_02_03_9575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918448","1401918442","1401918450","1401918453","1401918444","1401918446"],"photo_ids_order":["1401918442","1401918444","1401918446","1401918448","1401918450","1401918453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1aa7e8d226f7305ae7f8e6cb672b01c2.jpg","text":"TemporaryFile(/tmp/multipartBody2258227799725644144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201323018,"filename":"image_31122025_18_01_43_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9197e92c99a0ae74a840cdcde1b44a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7255746294154794733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201323018,"filename":"image_31122025_18_01_13_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e662ba91ee96711dadc3cdf2ce9b7693.jpg","text":"TemporaryFile(/tmp/multipartBody6055757641371155081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201323018,"filename":"image_31122025_18_01_54_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca50b4a7f928db87a504b672b6ed4dda.jpg","text":"TemporaryFile(/tmp/multipartBody68109575090259056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201323018,"filename":"image_31122025_18_02_03_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb9fdcda4349b0053e7e2fc57296a37c.jpg","text":"TemporaryFile(/tmp/multipartBody4042557830946472695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201323018,"filename":"image_31122025_18_01_24_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/758aeabc13f525e4e601d9704b957601.jpg","text":"TemporaryFile(/tmp/multipartBody2332849333368477521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201323018,"filename":"image_31122025_18_01_33_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918446","file1":"1401918444","file0":"1401918442","file4":"1401918450","file5":"1401918453","file3":"1401918448"},"map_files_photo_id_array":[{"photo_id":"1401918453","filename":"file5"},{"photo_id":"1401918446","filename":"file2"},{"photo_id":"1401918450","filename":"file4"},{"photo_id":"1401918444","filename":"file1"},{"photo_id":"1401918442","filename":"file0"},{"photo_id":"1401918448","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918448":["hashtag1","hashtag2"]},{"1401918442":["hashtag1","hashtag2"]},{"1401918450":["hashtag1","hashtag2"]},{"1401918453":["hashtag1","hashtag2"]},{"1401918444":["hashtag1","hashtag2"]},{"1401918446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918448, 1401918442, 1401918450, 1401918453, 1401918444, 1401918446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49925780296326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:15:03.299072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_14_10540.jpg', '/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_24_9567.jpg', '/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_33_9672.jpg', '/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_44_10548.jpg', '/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_54_9796.jpg', '/home/pi/Desktop/images/31122025/18/02/image_31122025_18_03_03_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_14_10540.jpg
/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_24_9567.jpg
/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_33_9672.jpg
/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_44_10548.jpg
/home/pi/Desktop/images/31122025/18/02/image_31122025_18_02_54_9796.jpg
/home/pi/Desktop/images/31122025/18/02/image_31122025_18_03_03_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918457","1401918564","1401918492","1401918456","1401918525","1401918455"],"photo_ids_order":["1401918455","1401918456","1401918457","1401918492","1401918525","1401918564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c424c17a0c25e111533596dae3519103.jpg","text":"TemporaryFile(/tmp/multipartBody6691950402246738351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201363942,"filename":"image_31122025_18_02_33_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8685dd4ee00ea7e6bca5004aa195b41.jpg","text":"TemporaryFile(/tmp/multipartBody2528380025804750678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201363942,"filename":"image_31122025_18_03_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc76cd886469f4d45c4d03fb76ed56d8.jpg","text":"TemporaryFile(/tmp/multipartBody6160136790771533068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201363942,"filename":"image_31122025_18_02_44_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14d9d9b46b5eb4cb43c51b35f4445dd2.jpg","text":"TemporaryFile(/tmp/multipartBody7746558945270449876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201363942,"filename":"image_31122025_18_02_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e675c64b65bde04f801ea62aeccfc4f.jpg","text":"TemporaryFile(/tmp/multipartBody7080390063747464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201363942,"filename":"image_31122025_18_02_54_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c07ec3a4f6340f1672535d4e7e50c581.jpg","text":"TemporaryFile(/tmp/multipartBody8498311123051458057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201363942,"filename":"image_31122025_18_02_14_10540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918457","file1":"1401918456","file0":"1401918455","file4":"1401918525","file5":"1401918564","file3":"1401918492"},"map_files_photo_id_array":[{"photo_id":"1401918564","filename":"file5"},{"photo_id":"1401918457","filename":"file2"},{"photo_id":"1401918525","filename":"file4"},{"photo_id":"1401918456","filename":"file1"},{"photo_id":"1401918455","filename":"file0"},{"photo_id":"1401918492","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918457":["hashtag1","hashtag2"]},{"1401918564":["hashtag1","hashtag2"]},{"1401918492":["hashtag1","hashtag2"]},{"1401918456":["hashtag1","hashtag2"]},{"1401918525":["hashtag1","hashtag2"]},{"1401918455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918457, 1401918564, 1401918492, 1401918456, 1401918525, 1401918455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9020299911499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:15:42.629255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_04_3139.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_06_2599.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_10_3664.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_28_3701.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_31_2685.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_37_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_04_3139.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_06_2599.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_10_3664.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_28_3701.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_31_2685.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_37_3545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918715","1401918718","1401918681","1401918678","1401918717","1401918682"],"photo_ids_order":["1401918678","1401918681","1401918682","1401918715","1401918717","1401918718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4abc4b3b8b38ccc0f1b73205a256abb9.jpg","text":"TemporaryFile(/tmp/multipartBody1164651684182983902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201404460,"filename":"image_03112025_19_37_28_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74f6e1f35b2ccbfe8d73eebc17bc996e.jpg","text":"TemporaryFile(/tmp/multipartBody1638292508399903926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201404460,"filename":"image_03112025_19_37_37_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/680279f8fcd58d877f4c63e072b41a55.jpg","text":"TemporaryFile(/tmp/multipartBody7599609279885016870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201404460,"filename":"image_03112025_19_37_06_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/700f89c9b25b4cb174ca98ed33b98c42.jpg","text":"TemporaryFile(/tmp/multipartBody1506997826678256882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201404460,"filename":"image_03112025_19_37_04_3139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eec31e44243b9e9daf74202f9c753944.jpg","text":"TemporaryFile(/tmp/multipartBody1438596925755372098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201404460,"filename":"image_03112025_19_37_31_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fc70100c5f417a5388c300f84cfbc67.jpg","text":"TemporaryFile(/tmp/multipartBody4994458309240045504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201404460,"filename":"image_03112025_19_37_10_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918682","file1":"1401918681","file0":"1401918678","file4":"1401918717","file5":"1401918718","file3":"1401918715"},"map_files_photo_id_array":[{"photo_id":"1401918718","filename":"file5"},{"photo_id":"1401918682","filename":"file2"},{"photo_id":"1401918717","filename":"file4"},{"photo_id":"1401918681","filename":"file1"},{"photo_id":"1401918678","filename":"file0"},{"photo_id":"1401918715","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401918715":["hashtag1","hashtag2"]},{"1401918718":["hashtag1","hashtag2"]},{"1401918681":["hashtag1","hashtag2"]},{"1401918678":["hashtag1","hashtag2"]},{"1401918717":["hashtag1","hashtag2"]},{"1401918682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401918715, 1401918718, 1401918681, 1401918678, 1401918717, 1401918682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34717273712158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:16:22.779514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_14_10662.jpg', '/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_24_9691.jpg', '/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_33_9689.jpg', '/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_43_9831.jpg', '/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_54_10685.jpg', '/home/pi/Desktop/images/31122025/18/03/image_31122025_18_04_03_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_14_10662.jpg
/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_24_9691.jpg
/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_33_9689.jpg
/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_43_9831.jpg
/home/pi/Desktop/images/31122025/18/03/image_31122025_18_03_54_10685.jpg
/home/pi/Desktop/images/31122025/18/03/image_31122025_18_04_03_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918778","1401918751","1401918754","1401918750","1401918831","1401918812"],"photo_ids_order":["1401918750","1401918751","1401918754","1401918778","1401918812","1401918831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/deccd0648118612725239869b4d28f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7756566045280348341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201443364,"filename":"image_31122025_18_03_43_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b29b73cb967e063d2b281d71eb909c38.jpg","text":"TemporaryFile(/tmp/multipartBody8803290786698791498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201443364,"filename":"image_31122025_18_03_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22354b0b41efc4ccea3661d8cacedea2.jpg","text":"TemporaryFile(/tmp/multipartBody5867329626060451611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201443364,"filename":"image_31122025_18_03_33_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5214701e250cc1d1d176afeb8e5f390b.jpg","text":"TemporaryFile(/tmp/multipartBody7753835862432201339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201443364,"filename":"image_31122025_18_03_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7d8263979e9907f12861c93cb07d775.jpg","text":"TemporaryFile(/tmp/multipartBody8852025894175988354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201443364,"filename":"image_31122025_18_04_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f6670aafbdd0c08532ca00b641624a4.jpg","text":"TemporaryFile(/tmp/multipartBody7331357325400979455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201443364,"filename":"image_31122025_18_03_54_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918754","file1":"1401918751","file0":"1401918750","file4":"1401918812","file5":"1401918831","file3":"1401918778"},"map_files_photo_id_array":[{"photo_id":"1401918831","filename":"file5"},{"photo_id":"1401918754","filename":"file2"},{"photo_id":"1401918812","filename":"file4"},{"photo_id":"1401918751","filename":"file1"},{"photo_id":"1401918750","filename":"file0"},{"photo_id":"1401918778","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918778":["hashtag1","hashtag2"]},{"1401918751":["hashtag1","hashtag2"]},{"1401918754":["hashtag1","hashtag2"]},{"1401918750":["hashtag1","hashtag2"]},{"1401918831":["hashtag1","hashtag2"]},{"1401918812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918778, 1401918751, 1401918754, 1401918750, 1401918831, 1401918812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39990019798279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:17:02.663672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_14_10627.jpg', '/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_24_9567.jpg', '/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_33_9762.jpg', '/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_43_9745.jpg', '/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_54_10747.jpg', '/home/pi/Desktop/images/31122025/18/04/image_31122025_18_05_04_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_14_10627.jpg
/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_24_9567.jpg
/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_33_9762.jpg
/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_43_9745.jpg
/home/pi/Desktop/images/31122025/18/04/image_31122025_18_04_54_10747.jpg
/home/pi/Desktop/images/31122025/18/04/image_31122025_18_05_04_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918844","1401918841","1401918840","1401918837","1401918842","1401918839"],"photo_ids_order":["1401918837","1401918839","1401918840","1401918841","1401918842","1401918844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e20b672814acc35e3d23400b5d4c8660.jpg","text":"TemporaryFile(/tmp/multipartBody2126774919461008198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201483356,"filename":"image_31122025_18_05_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0be930b6495899cb6f7cf55311beb2b.jpg","text":"TemporaryFile(/tmp/multipartBody7718929514720939195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201483356,"filename":"image_31122025_18_04_43_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17a78fc4ea39a93354dd6cdaee54a71f.jpg","text":"TemporaryFile(/tmp/multipartBody1003759517707493493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201483356,"filename":"image_31122025_18_04_33_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d3b1369684874b50e64d09671a52fcd.jpg","text":"TemporaryFile(/tmp/multipartBody222022150470751132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201483356,"filename":"image_31122025_18_04_14_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffdf6db32d3e749672d26de486cb5152.jpg","text":"TemporaryFile(/tmp/multipartBody8059839953971900296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201483356,"filename":"image_31122025_18_04_54_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20232e0fed04911629508e71d48f4503.jpg","text":"TemporaryFile(/tmp/multipartBody6253694477706077671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201483356,"filename":"image_31122025_18_04_24_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918840","file1":"1401918839","file0":"1401918837","file4":"1401918842","file5":"1401918844","file3":"1401918841"},"map_files_photo_id_array":[{"photo_id":"1401918844","filename":"file5"},{"photo_id":"1401918840","filename":"file2"},{"photo_id":"1401918842","filename":"file4"},{"photo_id":"1401918839","filename":"file1"},{"photo_id":"1401918837","filename":"file0"},{"photo_id":"1401918841","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918844":["hashtag1","hashtag2"]},{"1401918841":["hashtag1","hashtag2"]},{"1401918840":["hashtag1","hashtag2"]},{"1401918837":["hashtag1","hashtag2"]},{"1401918842":["hashtag1","hashtag2"]},{"1401918839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918844, 1401918841, 1401918840, 1401918837, 1401918842, 1401918839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83048629760742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:17:41.975203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_39_2575.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_43_3273.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_48_2767.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_52_3640.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_54_2587.jpg', '/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_57_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_39_2575.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_43_3273.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_48_2767.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_52_3640.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_54_2587.jpg
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_37_57_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918856","1401918850","1401918855","1401918858","1401918854","1401918857"],"photo_ids_order":["1401918850","1401918854","1401918855","1401918856","1401918857","1401918858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5183a948e62e1e0407b67daf9c87a3c.jpg","text":"TemporaryFile(/tmp/multipartBody6033500530326152276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201523793,"filename":"image_03112025_19_37_52_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/246355fe2ffb43ea18c0b6f89d17e497.jpg","text":"TemporaryFile(/tmp/multipartBody5367665867207670052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201523793,"filename":"image_03112025_19_37_39_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75ec89cc56d9b17bd4c9076f1700abe7.jpg","text":"TemporaryFile(/tmp/multipartBody3411983015677737581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201523793,"filename":"image_03112025_19_37_48_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05f859dfc5756deac16ddd44478b1afc.jpg","text":"TemporaryFile(/tmp/multipartBody246708181178074335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201523793,"filename":"image_03112025_19_37_57_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0331a819596e1f0dd2b02e97631a9872.jpg","text":"TemporaryFile(/tmp/multipartBody4548968898363126739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201523793,"filename":"image_03112025_19_37_43_3273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44b82ea532e1d2ef25d5019043c034f3.jpg","text":"TemporaryFile(/tmp/multipartBody596483917438866208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201523793,"filename":"image_03112025_19_37_54_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918855","file1":"1401918854","file0":"1401918850","file4":"1401918857","file5":"1401918858","file3":"1401918856"},"map_files_photo_id_array":[{"photo_id":"1401918858","filename":"file5"},{"photo_id":"1401918855","filename":"file2"},{"photo_id":"1401918857","filename":"file4"},{"photo_id":"1401918854","filename":"file1"},{"photo_id":"1401918850","filename":"file0"},{"photo_id":"1401918856","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401918856":["hashtag1","hashtag2"]},{"1401918850":["hashtag1","hashtag2"]},{"1401918855":["hashtag1","hashtag2"]},{"1401918858":["hashtag1","hashtag2"]},{"1401918854":["hashtag1","hashtag2"]},{"1401918857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401918856, 1401918850, 1401918855, 1401918858, 1401918854, 1401918857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88781714439392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:18:22.143477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_13_9819.jpg', '/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_24_10685.jpg', '/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_34_9563.jpg', '/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_43_9686.jpg', '/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_53_10006.jpg', '/home/pi/Desktop/images/31122025/18/05/image_31122025_18_06_04_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_13_9819.jpg
/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_24_10685.jpg
/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_34_9563.jpg
/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_43_9686.jpg
/home/pi/Desktop/images/31122025/18/05/image_31122025_18_05_53_10006.jpg
/home/pi/Desktop/images/31122025/18/05/image_31122025_18_06_04_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918865","1401918859","1401918867","1401918861","1401918870","1401918863"],"photo_ids_order":["1401918859","1401918861","1401918863","1401918865","1401918867","1401918870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8cdc0281f61f1364f1e19093f61eded.jpg","text":"TemporaryFile(/tmp/multipartBody3380042443368111525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201562734,"filename":"image_31122025_18_05_43_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73c0da6e4df16b16256020ca93185c81.jpg","text":"TemporaryFile(/tmp/multipartBody1929242278431065478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201562734,"filename":"image_31122025_18_05_13_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bcfe407cf463e1f057c1f9fa2b72f96.jpg","text":"TemporaryFile(/tmp/multipartBody5474242964222041389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201562734,"filename":"image_31122025_18_05_53_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a25bc2718065e23a94b790a8d4ab554e.jpg","text":"TemporaryFile(/tmp/multipartBody5306670909271584975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201562734,"filename":"image_31122025_18_05_24_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5208818ffd4ff1fd3e649e72a1e3f2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3044035332460368040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201562734,"filename":"image_31122025_18_06_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f09faaae3c6af0e839e705a50a763a30.jpg","text":"TemporaryFile(/tmp/multipartBody1895717091305229013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201562734,"filename":"image_31122025_18_05_34_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918863","file1":"1401918861","file0":"1401918859","file4":"1401918867","file5":"1401918870","file3":"1401918865"},"map_files_photo_id_array":[{"photo_id":"1401918870","filename":"file5"},{"photo_id":"1401918863","filename":"file2"},{"photo_id":"1401918867","filename":"file4"},{"photo_id":"1401918861","filename":"file1"},{"photo_id":"1401918859","filename":"file0"},{"photo_id":"1401918865","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918865":["hashtag1","hashtag2"]},{"1401918859":["hashtag1","hashtag2"]},{"1401918867":["hashtag1","hashtag2"]},{"1401918861":["hashtag1","hashtag2"]},{"1401918870":["hashtag1","hashtag2"]},{"1401918863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918865, 1401918859, 1401918867, 1401918861, 1401918870, 1401918863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94139003753662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:19:03.311944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_14_9785.jpg', '/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_27_12841.jpg', '/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_33_6722.jpg', '/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_44_10662.jpg', '/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_54_9680.jpg', '/home/pi/Desktop/images/31122025/18/06/image_31122025_18_07_03_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_14_9785.jpg
/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_27_12841.jpg
/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_33_6722.jpg
/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_44_10662.jpg
/home/pi/Desktop/images/31122025/18/06/image_31122025_18_06_54_9680.jpg
/home/pi/Desktop/images/31122025/18/06/image_31122025_18_07_03_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918877","1401918873","1401918876","1401918879","1401918875","1401918874"],"photo_ids_order":["1401918873","1401918874","1401918875","1401918876","1401918877","1401918879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/049105f866e8aa433b2088930d0e1f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7021490119888166524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201604054,"filename":"image_31122025_18_06_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c53d6dc0855a6f74d1dcfe82730699b4.jpg","text":"TemporaryFile(/tmp/multipartBody238787359756907218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201604054,"filename":"image_31122025_18_06_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6c54810498ed43c8a2533d26f5a6fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6508580555857994366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201604054,"filename":"image_31122025_18_06_44_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba3c3af235052913e1d0cc16c40e9aa2.jpg","text":"TemporaryFile(/tmp/multipartBody6415135265361956427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201604054,"filename":"image_31122025_18_07_03_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83abecf8d2675324711e82a583481204.jpg","text":"TemporaryFile(/tmp/multipartBody3697304941163819247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201604054,"filename":"image_31122025_18_06_33_6722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a48fdf881ce5161d0fe3e047ca24148.jpg","text":"TemporaryFile(/tmp/multipartBody130723035730792731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201604054,"filename":"image_31122025_18_06_27_12841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918875","file1":"1401918874","file0":"1401918873","file4":"1401918877","file5":"1401918879","file3":"1401918876"},"map_files_photo_id_array":[{"photo_id":"1401918879","filename":"file5"},{"photo_id":"1401918875","filename":"file2"},{"photo_id":"1401918877","filename":"file4"},{"photo_id":"1401918874","filename":"file1"},{"photo_id":"1401918873","filename":"file0"},{"photo_id":"1401918876","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918877":["hashtag1","hashtag2"]},{"1401918873":["hashtag1","hashtag2"]},{"1401918876":["hashtag1","hashtag2"]},{"1401918879":["hashtag1","hashtag2"]},{"1401918875":["hashtag1","hashtag2"]},{"1401918874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918877, 1401918873, 1401918876, 1401918879, 1401918875, 1401918874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21136212348938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:19:42.340773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/37/image_03112025_19_38_01_3757.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_04_2833.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_06_2595.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_10_3534.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_12_2540.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_15_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/37/image_03112025_19_38_01_3757.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_04_2833.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_06_2595.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_10_3534.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_12_2540.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_15_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918891","1401918885","1401918888","1401918890","1401918892","1401918889"],"photo_ids_order":["1401918885","1401918888","1401918889","1401918890","1401918891","1401918892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/374b8fee686cfe8ba015f5d00addabc0.jpg","text":"TemporaryFile(/tmp/multipartBody1141006812888740562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201644190,"filename":"image_03112025_19_38_12_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2db09cdd491bdbfb86cd0a8db2dbd8fe.jpg","text":"TemporaryFile(/tmp/multipartBody1283741924840314898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201644190,"filename":"image_03112025_19_38_01_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2983d1a495783d94f3f7c4ab928a03fa.jpg","text":"TemporaryFile(/tmp/multipartBody8152221387719082922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201644190,"filename":"image_03112025_19_38_04_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/898356d5e38ab2578d6beb3b4e8225e4.jpg","text":"TemporaryFile(/tmp/multipartBody2977040003170971639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201644190,"filename":"image_03112025_19_38_10_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdfbcc06cbc634d9d221465f65b541c3.jpg","text":"TemporaryFile(/tmp/multipartBody4333523597874586633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201644190,"filename":"image_03112025_19_38_15_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2541165d772f7e060762b0aa21049845.jpg","text":"TemporaryFile(/tmp/multipartBody1329500858237814192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201644190,"filename":"image_03112025_19_38_06_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918889","file1":"1401918888","file0":"1401918885","file4":"1401918891","file5":"1401918892","file3":"1401918890"},"map_files_photo_id_array":[{"photo_id":"1401918892","filename":"file5"},{"photo_id":"1401918889","filename":"file2"},{"photo_id":"1401918891","filename":"file4"},{"photo_id":"1401918888","filename":"file1"},{"photo_id":"1401918885","filename":"file0"},{"photo_id":"1401918890","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401918891":["hashtag1","hashtag2"]},{"1401918885":["hashtag1","hashtag2"]},{"1401918888":["hashtag1","hashtag2"]},{"1401918890":["hashtag1","hashtag2"]},{"1401918892":["hashtag1","hashtag2"]},{"1401918889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401918891, 1401918885, 1401918888, 1401918890, 1401918892, 1401918889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90314340591431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:20:22.472175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_13_9738.jpg', '/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_24_10854.jpg', '/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_34_9635.jpg', '/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_43_9641.jpg', '/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_54_10636.jpg', '/home/pi/Desktop/images/31122025/18/07/image_31122025_18_08_04_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_13_9738.jpg
/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_24_10854.jpg
/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_34_9635.jpg
/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_43_9641.jpg
/home/pi/Desktop/images/31122025/18/07/image_31122025_18_07_54_10636.jpg
/home/pi/Desktop/images/31122025/18/07/image_31122025_18_08_04_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918898","1401918904","1401918894","1401918896","1401918900","1401918902"],"photo_ids_order":["1401918894","1401918896","1401918898","1401918900","1401918902","1401918904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7f1459ca4e785223f32959912cf3bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6783295211057148175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201683058,"filename":"image_31122025_18_07_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4c52082b28b05344d68b023df6afcb4.jpg","text":"TemporaryFile(/tmp/multipartBody1949349567968259419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201683058,"filename":"image_31122025_18_08_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ebc276fb89087412c2589a1c19e0782.jpg","text":"TemporaryFile(/tmp/multipartBody3506527373651493597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201683058,"filename":"image_31122025_18_07_13_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/997b4887e14755a8afd49be8f48e5fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1312976257705814925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201683058,"filename":"image_31122025_18_07_24_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a85192f3fdc119029973270ce173406b.jpg","text":"TemporaryFile(/tmp/multipartBody6090375359298949786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201683058,"filename":"image_31122025_18_07_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66a6614a6e3cb79832e5a107b667e466.jpg","text":"TemporaryFile(/tmp/multipartBody3642865778706016691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201683058,"filename":"image_31122025_18_07_54_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918898","file1":"1401918896","file0":"1401918894","file4":"1401918902","file5":"1401918904","file3":"1401918900"},"map_files_photo_id_array":[{"photo_id":"1401918904","filename":"file5"},{"photo_id":"1401918898","filename":"file2"},{"photo_id":"1401918902","filename":"file4"},{"photo_id":"1401918896","filename":"file1"},{"photo_id":"1401918894","filename":"file0"},{"photo_id":"1401918900","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918898":["hashtag1","hashtag2"]},{"1401918904":["hashtag1","hashtag2"]},{"1401918894":["hashtag1","hashtag2"]},{"1401918896":["hashtag1","hashtag2"]},{"1401918900":["hashtag1","hashtag2"]},{"1401918902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918898, 1401918904, 1401918894, 1401918896, 1401918900, 1401918902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05272173881531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:21:03.422098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_13_9666.jpg', '/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_24_10579.jpg', '/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_34_9780.jpg', '/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_43_9639.jpg', '/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_54_10633.jpg', '/home/pi/Desktop/images/31122025/18/08/image_31122025_18_09_04_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_13_9666.jpg
/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_24_10579.jpg
/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_34_9780.jpg
/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_43_9639.jpg
/home/pi/Desktop/images/31122025/18/08/image_31122025_18_08_54_10633.jpg
/home/pi/Desktop/images/31122025/18/08/image_31122025_18_09_04_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918908","1401918907","1401918906","1401918909","1401918911","1401918905"],"photo_ids_order":["1401918905","1401918906","1401918907","1401918908","1401918909","1401918911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10db1a21c0742f0c4243b4f288d7da92.jpg","text":"TemporaryFile(/tmp/multipartBody2786928845397021163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201724085,"filename":"image_31122025_18_08_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8266605728b655e4898b2fcd6833f989.jpg","text":"TemporaryFile(/tmp/multipartBody7023237575129592895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201724085,"filename":"image_31122025_18_08_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c49828b68de970cbeb087b01829c960.jpg","text":"TemporaryFile(/tmp/multipartBody8176983588762903428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201724085,"filename":"image_31122025_18_08_24_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ae61f708b3c29ed8915d58c25775e09.jpg","text":"TemporaryFile(/tmp/multipartBody6467983590921750062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201724085,"filename":"image_31122025_18_08_54_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a0f9d96cfd300c06a52414dee7db251.jpg","text":"TemporaryFile(/tmp/multipartBody3651409567680826423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201724085,"filename":"image_31122025_18_09_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05057e494e1a2a11dfa141ac37e6d721.jpg","text":"TemporaryFile(/tmp/multipartBody4379844998893366458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201724085,"filename":"image_31122025_18_08_13_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918907","file1":"1401918906","file0":"1401918905","file4":"1401918909","file5":"1401918911","file3":"1401918908"},"map_files_photo_id_array":[{"photo_id":"1401918911","filename":"file5"},{"photo_id":"1401918907","filename":"file2"},{"photo_id":"1401918909","filename":"file4"},{"photo_id":"1401918906","filename":"file1"},{"photo_id":"1401918905","filename":"file0"},{"photo_id":"1401918908","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918908":["hashtag1","hashtag2"]},{"1401918907":["hashtag1","hashtag2"]},{"1401918906":["hashtag1","hashtag2"]},{"1401918909":["hashtag1","hashtag2"]},{"1401918911":["hashtag1","hashtag2"]},{"1401918905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918908, 1401918907, 1401918906, 1401918909, 1401918911, 1401918905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.494255781173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:21:42.788354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_19_3788.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_21_2603.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_24_2647.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_37_3635.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_40_3361.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_43_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_19_3788.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_21_2603.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_24_2647.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_37_3635.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_40_3361.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_43_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918943","1401918937","1401918942","1401918941","1401918920","1401918917"],"photo_ids_order":["1401918917","1401918920","1401918937","1401918941","1401918942","1401918943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5a83ef710b6e669877fa73beab8d59d.jpg","text":"TemporaryFile(/tmp/multipartBody903152285938923892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201764602,"filename":"image_03112025_19_38_43_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05a29775b4f1af3c6fc005d6d70a1307.jpg","text":"TemporaryFile(/tmp/multipartBody8941068743242871009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201764602,"filename":"image_03112025_19_38_24_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5347b882450964b6d76b9b85257eca07.jpg","text":"TemporaryFile(/tmp/multipartBody3368748643241901023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201764602,"filename":"image_03112025_19_38_40_3361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d56bafefc72e47f7ef7ab44de65c16f.jpg","text":"TemporaryFile(/tmp/multipartBody630308478678608065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201764602,"filename":"image_03112025_19_38_37_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44902c5be8e19894fb2f7ada484a0d71.jpg","text":"TemporaryFile(/tmp/multipartBody1579019258070177705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201764602,"filename":"image_03112025_19_38_21_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ad4d5ca7f715155d481a292462648b7.jpg","text":"TemporaryFile(/tmp/multipartBody1486159860494052626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201764602,"filename":"image_03112025_19_38_19_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918937","file1":"1401918920","file0":"1401918917","file4":"1401918942","file5":"1401918943","file3":"1401918941"},"map_files_photo_id_array":[{"photo_id":"1401918943","filename":"file5"},{"photo_id":"1401918937","filename":"file2"},{"photo_id":"1401918942","filename":"file4"},{"photo_id":"1401918920","filename":"file1"},{"photo_id":"1401918917","filename":"file0"},{"photo_id":"1401918941","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401918943":["hashtag1","hashtag2"]},{"1401918937":["hashtag1","hashtag2"]},{"1401918942":["hashtag1","hashtag2"]},{"1401918941":["hashtag1","hashtag2"]},{"1401918920":["hashtag1","hashtag2"]},{"1401918917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401918943, 1401918937, 1401918942, 1401918941, 1401918920, 1401918917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73767900466919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:22:21.992416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_13_9779.jpg', '/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_23_9917.jpg', '/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_34_10740.jpg', '/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_44_9839.jpg', '/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_54_9674.jpg', '/home/pi/Desktop/images/31122025/18/09/image_31122025_18_10_03_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_13_9779.jpg
/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_23_9917.jpg
/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_34_10740.jpg
/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_44_9839.jpg
/home/pi/Desktop/images/31122025/18/09/image_31122025_18_09_54_9674.jpg
/home/pi/Desktop/images/31122025/18/09/image_31122025_18_10_03_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918949","1401918951","1401918945","1401918953","1401918947","1401918956"],"photo_ids_order":["1401918945","1401918947","1401918949","1401918951","1401918953","1401918956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1f2eeb35f90d36ee35d7e1fecce0193.jpg","text":"TemporaryFile(/tmp/multipartBody2139886659954096867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201802584,"filename":"image_31122025_18_09_34_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2d63b9df0cdb598a90b11d861c8f731.jpg","text":"TemporaryFile(/tmp/multipartBody5884007566359935555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201802584,"filename":"image_31122025_18_09_44_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eab6b149c5955be018fa9c828472d674.jpg","text":"TemporaryFile(/tmp/multipartBody4497299940588978735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201802584,"filename":"image_31122025_18_09_13_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36c42208fe7842ecfe27e0b31b34ff0b.jpg","text":"TemporaryFile(/tmp/multipartBody6692076300354411156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201802584,"filename":"image_31122025_18_09_54_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b619accfc7d56139db43fb37f2778973.jpg","text":"TemporaryFile(/tmp/multipartBody2917643614332669145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201802584,"filename":"image_31122025_18_09_23_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c977e0941d7125e8647cf5f6ad6a4b51.jpg","text":"TemporaryFile(/tmp/multipartBody6342330632893229907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201802584,"filename":"image_31122025_18_10_03_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401918949","file1":"1401918947","file0":"1401918945","file4":"1401918953","file5":"1401918956","file3":"1401918951"},"map_files_photo_id_array":[{"photo_id":"1401918956","filename":"file5"},{"photo_id":"1401918949","filename":"file2"},{"photo_id":"1401918953","filename":"file4"},{"photo_id":"1401918947","filename":"file1"},{"photo_id":"1401918945","filename":"file0"},{"photo_id":"1401918951","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918949":["hashtag1","hashtag2"]},{"1401918951":["hashtag1","hashtag2"]},{"1401918945":["hashtag1","hashtag2"]},{"1401918953":["hashtag1","hashtag2"]},{"1401918947":["hashtag1","hashtag2"]},{"1401918956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918949, 1401918951, 1401918945, 1401918953, 1401918947, 1401918956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7068088054657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:23:02.752029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_14_10733.jpg', '/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_24_9681.jpg', '/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_33_9711.jpg', '/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_43_9700.jpg', '/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_54_10714.jpg', '/home/pi/Desktop/images/31122025/18/10/image_31122025_18_11_03_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_14_10733.jpg
/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_24_9681.jpg
/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_33_9711.jpg
/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_43_9700.jpg
/home/pi/Desktop/images/31122025/18/10/image_31122025_18_10_54_10714.jpg
/home/pi/Desktop/images/31122025/18/10/image_31122025_18_11_03_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401918958","1401919011","1401918957","1401919097","1401919099","1401919096"],"photo_ids_order":["1401918957","1401918958","1401919011","1401919096","1401919097","1401919099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3127c5529089d897253467b817059880.jpg","text":"TemporaryFile(/tmp/multipartBody8894247038455094716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201843419,"filename":"image_31122025_18_10_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/deaf9d5af42346f722d94d0d3c16108e.jpg","text":"TemporaryFile(/tmp/multipartBody4138312623099012519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201843419,"filename":"image_31122025_18_10_33_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c27f650c801ad768393bf13890b7eb2.jpg","text":"TemporaryFile(/tmp/multipartBody3136792955116646299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201843419,"filename":"image_31122025_18_10_14_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b336793ed48676709cb4df67eb0788c6.jpg","text":"TemporaryFile(/tmp/multipartBody6782502698223158538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201843419,"filename":"image_31122025_18_10_54_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fb9c7a63fc7de597bd14322d3c258d0.jpg","text":"TemporaryFile(/tmp/multipartBody228548634986221443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201843419,"filename":"image_31122025_18_11_03_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50b756e155c511d85d240068b4c42e00.jpg","text":"TemporaryFile(/tmp/multipartBody2857766681536059685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201843419,"filename":"image_31122025_18_10_43_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919011","file1":"1401918958","file0":"1401918957","file4":"1401919097","file5":"1401919099","file3":"1401919096"},"map_files_photo_id_array":[{"photo_id":"1401919099","filename":"file5"},{"photo_id":"1401919011","filename":"file2"},{"photo_id":"1401919097","filename":"file4"},{"photo_id":"1401918958","filename":"file1"},{"photo_id":"1401918957","filename":"file0"},{"photo_id":"1401919096","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401918958":["hashtag1","hashtag2"]},{"1401919011":["hashtag1","hashtag2"]},{"1401918957":["hashtag1","hashtag2"]},{"1401919097":["hashtag1","hashtag2"]},{"1401919099":["hashtag1","hashtag2"]},{"1401919096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401918958, 1401919011, 1401918957, 1401919097, 1401919099, 1401919096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71633863449097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:23:42.152977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_45_2760.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_48_2587.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_52_3645.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_54_2658.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_57_2696.jpg', '/home/pi/Desktop/images/03112025/19/38/image_03112025_19_39_01_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_45_2760.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_48_2587.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_52_3645.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_54_2658.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_38_57_2696.jpg
/home/pi/Desktop/images/03112025/19/38/image_03112025_19_39_01_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919111","1401919105","1401919114","1401919110","1401919112","1401919109"],"photo_ids_order":["1401919105","1401919109","1401919110","1401919111","1401919112","1401919114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39aea8af2b2c0cec7e21e594fc390e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2134075880548748660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201883976,"filename":"image_03112025_19_38_54_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8290bdba2de265d8ccc1425e241356b.jpg","text":"TemporaryFile(/tmp/multipartBody5185522471841224126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201883976,"filename":"image_03112025_19_38_45_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/994facdd0b381f7730a93efd19f0d2d0.jpg","text":"TemporaryFile(/tmp/multipartBody9111502731103022530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201883976,"filename":"image_03112025_19_39_01_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6148ad24427079a28bec173c3b79b3f3.jpg","text":"TemporaryFile(/tmp/multipartBody7087094229415519559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201883976,"filename":"image_03112025_19_38_52_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cab0e8349502fc32583f261ced42040b.jpg","text":"TemporaryFile(/tmp/multipartBody7791386818116147229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201883976,"filename":"image_03112025_19_38_57_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/063a8d502adf20dd03f42d0722242524.jpg","text":"TemporaryFile(/tmp/multipartBody2034509303931132560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201883976,"filename":"image_03112025_19_38_48_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919110","file1":"1401919109","file0":"1401919105","file4":"1401919112","file5":"1401919114","file3":"1401919111"},"map_files_photo_id_array":[{"photo_id":"1401919114","filename":"file5"},{"photo_id":"1401919110","filename":"file2"},{"photo_id":"1401919112","filename":"file4"},{"photo_id":"1401919109","filename":"file1"},{"photo_id":"1401919105","filename":"file0"},{"photo_id":"1401919111","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919111":["hashtag1","hashtag2"]},{"1401919105":["hashtag1","hashtag2"]},{"1401919114":["hashtag1","hashtag2"]},{"1401919110":["hashtag1","hashtag2"]},{"1401919112":["hashtag1","hashtag2"]},{"1401919109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919111, 1401919105, 1401919114, 1401919110, 1401919112, 1401919109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99206614494324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:24:22.316121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_13_9692.jpg', '/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_24_10656.jpg', '/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_33_9723.jpg', '/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_43_9753.jpg', '/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_54_10727.jpg', '/home/pi/Desktop/images/31122025/18/11/image_31122025_18_12_04_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_13_9692.jpg
/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_24_10656.jpg
/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_33_9723.jpg
/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_43_9753.jpg
/home/pi/Desktop/images/31122025/18/11/image_31122025_18_11_54_10727.jpg
/home/pi/Desktop/images/31122025/18/11/image_31122025_18_12_04_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919123","1401919116","1401919125","1401919124","1401919121","1401919118"],"photo_ids_order":["1401919116","1401919118","1401919121","1401919123","1401919124","1401919125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/efb8a59ddff3452d29ec0ccfc3519785.jpg","text":"TemporaryFile(/tmp/multipartBody448444835590034464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201922907,"filename":"image_31122025_18_11_43_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a41ddea43f7169c7c6e04af6895032d9.jpg","text":"TemporaryFile(/tmp/multipartBody3838422634446835093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201922907,"filename":"image_31122025_18_11_13_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42ddfd021c412803599752d06bdddf3b.jpg","text":"TemporaryFile(/tmp/multipartBody3036631443978383802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201922907,"filename":"image_31122025_18_12_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/652908d6a031938d6dbebe55a3165bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6667777035692118068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201922907,"filename":"image_31122025_18_11_54_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d23ed006961b53b27f666285ebaed5ab.jpg","text":"TemporaryFile(/tmp/multipartBody2629283641701781293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201922907,"filename":"image_31122025_18_11_33_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8b9df574eea8b50034f1245129e0b30.jpg","text":"TemporaryFile(/tmp/multipartBody8186761418752440799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201922907,"filename":"image_31122025_18_11_24_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919121","file1":"1401919118","file0":"1401919116","file4":"1401919124","file5":"1401919125","file3":"1401919123"},"map_files_photo_id_array":[{"photo_id":"1401919125","filename":"file5"},{"photo_id":"1401919121","filename":"file2"},{"photo_id":"1401919124","filename":"file4"},{"photo_id":"1401919118","filename":"file1"},{"photo_id":"1401919116","filename":"file0"},{"photo_id":"1401919123","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919123":["hashtag1","hashtag2"]},{"1401919116":["hashtag1","hashtag2"]},{"1401919125":["hashtag1","hashtag2"]},{"1401919124":["hashtag1","hashtag2"]},{"1401919121":["hashtag1","hashtag2"]},{"1401919118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919123, 1401919116, 1401919125, 1401919124, 1401919121, 1401919118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5257248878479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:25:03.223155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_13_9526.jpg', '/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_24_10652.jpg', '/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_34_9786.jpg', '/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_43_9794.jpg', '/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_54_10685.jpg', '/home/pi/Desktop/images/31122025/18/12/image_31122025_18_13_04_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_13_9526.jpg
/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_24_10652.jpg
/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_34_9786.jpg
/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_43_9794.jpg
/home/pi/Desktop/images/31122025/18/12/image_31122025_18_12_54_10685.jpg
/home/pi/Desktop/images/31122025/18/12/image_31122025_18_13_04_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919132","1401919126","1401919134","1401919128","1401919130","1401919127"],"photo_ids_order":["1401919126","1401919127","1401919128","1401919130","1401919132","1401919134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abd523efeaece2b092607c97bca9210f.jpg","text":"TemporaryFile(/tmp/multipartBody5497972459598897530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201963881,"filename":"image_31122025_18_12_54_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11e23a83a316ff8830ddc9348b262869.jpg","text":"TemporaryFile(/tmp/multipartBody3393379852824747688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201963881,"filename":"image_31122025_18_12_13_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdf170f1c80c4d589af4fe6a4852abfc.jpg","text":"TemporaryFile(/tmp/multipartBody2645017966231150198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201963881,"filename":"image_31122025_18_13_04_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4f2fb4d5a8f11416aa7cb90815641dc.jpg","text":"TemporaryFile(/tmp/multipartBody1044794409488023069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201963881,"filename":"image_31122025_18_12_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebe0fbabfe167072af9d7ca34afd89ad.jpg","text":"TemporaryFile(/tmp/multipartBody3664386257159340132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201963881,"filename":"image_31122025_18_12_43_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f6abe2cf9ebcca03eb55e66f6de5813.jpg","text":"TemporaryFile(/tmp/multipartBody2469274535330463718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767201963881,"filename":"image_31122025_18_12_24_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919128","file1":"1401919127","file0":"1401919126","file4":"1401919132","file5":"1401919134","file3":"1401919130"},"map_files_photo_id_array":[{"photo_id":"1401919134","filename":"file5"},{"photo_id":"1401919128","filename":"file2"},{"photo_id":"1401919132","filename":"file4"},{"photo_id":"1401919127","filename":"file1"},{"photo_id":"1401919126","filename":"file0"},{"photo_id":"1401919130","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919132":["hashtag1","hashtag2"]},{"1401919126":["hashtag1","hashtag2"]},{"1401919134":["hashtag1","hashtag2"]},{"1401919128":["hashtag1","hashtag2"]},{"1401919130":["hashtag1","hashtag2"]},{"1401919127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919132, 1401919126, 1401919134, 1401919128, 1401919130, 1401919127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80600547790527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:25:42.475126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_03_2396.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_06_3121.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_10_3689.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_12_2580.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_15_2606.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_19_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_03_2396.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_06_3121.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_10_3689.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_12_2580.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_15_2606.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_19_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919144","1401919146","1401919140","1401919143","1401919142","1401919145"],"photo_ids_order":["1401919140","1401919142","1401919143","1401919144","1401919145","1401919146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41542dd924d918e7ab07f361c07dfc5c.jpg","text":"TemporaryFile(/tmp/multipartBody44917865093333979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202004380,"filename":"image_03112025_19_39_12_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a209be8a94e00d2a8cbcad1e0aebc803.jpg","text":"TemporaryFile(/tmp/multipartBody5303029271581570044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202004380,"filename":"image_03112025_19_39_19_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6945b37b8e360ff717a6eed12ddc39db.jpg","text":"TemporaryFile(/tmp/multipartBody80774718435870869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202004380,"filename":"image_03112025_19_39_03_2396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08ff13160a297337258e59e130610104.jpg","text":"TemporaryFile(/tmp/multipartBody3462148277471411281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202004380,"filename":"image_03112025_19_39_10_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67b835cb659eb74cace90913ace21bbc.jpg","text":"TemporaryFile(/tmp/multipartBody4115063991632906426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202004380,"filename":"image_03112025_19_39_06_3121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/901599c7cf8b0d66dae2c5d001f2dc49.jpg","text":"TemporaryFile(/tmp/multipartBody3348791144213889188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202004380,"filename":"image_03112025_19_39_15_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919143","file1":"1401919142","file0":"1401919140","file4":"1401919145","file5":"1401919146","file3":"1401919144"},"map_files_photo_id_array":[{"photo_id":"1401919146","filename":"file5"},{"photo_id":"1401919143","filename":"file2"},{"photo_id":"1401919145","filename":"file4"},{"photo_id":"1401919142","filename":"file1"},{"photo_id":"1401919140","filename":"file0"},{"photo_id":"1401919144","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919144":["hashtag1","hashtag2"]},{"1401919146":["hashtag1","hashtag2"]},{"1401919140":["hashtag1","hashtag2"]},{"1401919143":["hashtag1","hashtag2"]},{"1401919142":["hashtag1","hashtag2"]},{"1401919145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919144, 1401919146, 1401919140, 1401919143, 1401919142, 1401919145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88404440879822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:26:22.624007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_13_9755.jpg', '/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_23_9875.jpg', '/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_34_10587.jpg', '/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_44_9820.jpg', '/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_53_9716.jpg', '/home/pi/Desktop/images/31122025/18/13/image_31122025_18_14_04_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_13_9755.jpg
/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_23_9875.jpg
/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_34_10587.jpg
/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_44_9820.jpg
/home/pi/Desktop/images/31122025/18/13/image_31122025_18_13_53_9716.jpg
/home/pi/Desktop/images/31122025/18/13/image_31122025_18_14_04_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919150","1401919152","1401919149","1401919160","1401919157","1401919154"],"photo_ids_order":["1401919149","1401919150","1401919152","1401919154","1401919157","1401919160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a811012acad9b1c76d420ebc5229145.jpg","text":"TemporaryFile(/tmp/multipartBody2047278002998202975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202043216,"filename":"image_31122025_18_13_23_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d686ff04301b03247c7fdbb3c429204.jpg","text":"TemporaryFile(/tmp/multipartBody8083223625806992291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202043216,"filename":"image_31122025_18_13_34_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3818401e6c769bd03217a1d446b0187e.jpg","text":"TemporaryFile(/tmp/multipartBody5854325276223125192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202043216,"filename":"image_31122025_18_13_13_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea748cf82472fde42b3ea0e7cd7a3cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2293028919481717443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202043216,"filename":"image_31122025_18_14_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff145e8eb2e512840830e37a6ae73013.jpg","text":"TemporaryFile(/tmp/multipartBody1304594223135863628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202043216,"filename":"image_31122025_18_13_53_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a56611679b18f06a96901d25010e070d.jpg","text":"TemporaryFile(/tmp/multipartBody6661850391086408696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202043216,"filename":"image_31122025_18_13_44_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919152","file1":"1401919150","file0":"1401919149","file4":"1401919157","file5":"1401919160","file3":"1401919154"},"map_files_photo_id_array":[{"photo_id":"1401919160","filename":"file5"},{"photo_id":"1401919152","filename":"file2"},{"photo_id":"1401919157","filename":"file4"},{"photo_id":"1401919150","filename":"file1"},{"photo_id":"1401919149","filename":"file0"},{"photo_id":"1401919154","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919150":["hashtag1","hashtag2"]},{"1401919152":["hashtag1","hashtag2"]},{"1401919149":["hashtag1","hashtag2"]},{"1401919160":["hashtag1","hashtag2"]},{"1401919157":["hashtag1","hashtag2"]},{"1401919154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919150, 1401919152, 1401919149, 1401919160, 1401919157, 1401919154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66557741165161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:27:03.633991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_14_9622.jpg', '/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_23_9575.jpg', '/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_34_10748.jpg', '/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_44_9580.jpg', '/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_53_9612.jpg', '/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_14_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_14_9622.jpg
/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_23_9575.jpg
/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_34_10748.jpg
/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_44_9580.jpg
/home/pi/Desktop/images/31122025/18/14/image_31122025_18_14_53_9612.jpg
/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_14_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919169","1401919172","1401919166","1401919171","1401919174","1401919168"],"photo_ids_order":["1401919166","1401919168","1401919169","1401919171","1401919172","1401919174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9157015e04ddaaf947a54e11f1b6b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody7309349251335047550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202084285,"filename":"image_31122025_18_14_34_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9270878c729d85346b506c34b9eb977e.jpg","text":"TemporaryFile(/tmp/multipartBody6920012640309830396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202084285,"filename":"image_31122025_18_14_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf1529cebc4676f62cd7bfb900e1fe8b.jpg","text":"TemporaryFile(/tmp/multipartBody2622440595593822642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202084285,"filename":"image_31122025_18_14_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ad5e56d98c7b03268b283ecaee407e5.jpg","text":"TemporaryFile(/tmp/multipartBody4573984517115238174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202084285,"filename":"image_31122025_18_14_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de601bfaa845893d45f67c806ebdd356.jpg","text":"TemporaryFile(/tmp/multipartBody7571133446646251809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202084285,"filename":"image_31122025_18_15_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b58662409ac91d78534897cf59e307c7.jpg","text":"TemporaryFile(/tmp/multipartBody4772836511587751182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202084285,"filename":"image_31122025_18_14_23_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919169","file1":"1401919168","file0":"1401919166","file4":"1401919172","file5":"1401919174","file3":"1401919171"},"map_files_photo_id_array":[{"photo_id":"1401919174","filename":"file5"},{"photo_id":"1401919169","filename":"file2"},{"photo_id":"1401919172","filename":"file4"},{"photo_id":"1401919168","filename":"file1"},{"photo_id":"1401919166","filename":"file0"},{"photo_id":"1401919171","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919169":["hashtag1","hashtag2"]},{"1401919172":["hashtag1","hashtag2"]},{"1401919166":["hashtag1","hashtag2"]},{"1401919171":["hashtag1","hashtag2"]},{"1401919174":["hashtag1","hashtag2"]},{"1401919168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919169, 1401919172, 1401919166, 1401919171, 1401919174, 1401919168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97577929496765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:27:42.881255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_25_6175.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_26_1578.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_28_1866.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_30_1668.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_34_3591.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_36_2496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_25_6175.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_26_1578.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_28_1866.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_30_1668.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_34_3591.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_36_2496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919182","1401919185","1401919179","1401919188","1401919184","1401919183"],"photo_ids_order":["1401919179","1401919182","1401919183","1401919184","1401919185","1401919188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af438566b75e1ab5000ee6b783ca473f.jpg","text":"TemporaryFile(/tmp/multipartBody6707249574298759996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202124730,"filename":"image_03112025_19_39_26_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48bb0e70c78fd65be0f612f9e409556f.jpg","text":"TemporaryFile(/tmp/multipartBody9004419750638325470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202124730,"filename":"image_03112025_19_39_34_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d219358ef6584e71a5c38447d3883079.jpg","text":"TemporaryFile(/tmp/multipartBody7067727169971392596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202124730,"filename":"image_03112025_19_39_25_6175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/860ec58951e0ba9791e93d3b5eede219.jpg","text":"TemporaryFile(/tmp/multipartBody8040355506971799180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202124730,"filename":"image_03112025_19_39_36_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6732d839c680550c3894b42e46e8992.jpg","text":"TemporaryFile(/tmp/multipartBody4383910129426473405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202124730,"filename":"image_03112025_19_39_30_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70449f19bea5a4716a2bad726e2e5de6.jpg","text":"TemporaryFile(/tmp/multipartBody4789485307619240610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202124730,"filename":"image_03112025_19_39_28_1866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919183","file1":"1401919182","file0":"1401919179","file4":"1401919185","file5":"1401919188","file3":"1401919184"},"map_files_photo_id_array":[{"photo_id":"1401919188","filename":"file5"},{"photo_id":"1401919183","filename":"file2"},{"photo_id":"1401919185","filename":"file4"},{"photo_id":"1401919182","filename":"file1"},{"photo_id":"1401919179","filename":"file0"},{"photo_id":"1401919184","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919182":["hashtag1","hashtag2"]},{"1401919185":["hashtag1","hashtag2"]},{"1401919179":["hashtag1","hashtag2"]},{"1401919188":["hashtag1","hashtag2"]},{"1401919184":["hashtag1","hashtag2"]},{"1401919183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919182, 1401919185, 1401919179, 1401919188, 1401919184, 1401919183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.140631914138794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:28:22.080731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_23_9833.jpg', '/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_34_10627.jpg', '/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_44_9702.jpg', '/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_53_9558.jpg', '/home/pi/Desktop/images/31122025/18/15/image_31122025_18_16_04_10559.jpg', '/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_13_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_23_9833.jpg
/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_34_10627.jpg
/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_44_9702.jpg
/home/pi/Desktop/images/31122025/18/15/image_31122025_18_15_53_9558.jpg
/home/pi/Desktop/images/31122025/18/15/image_31122025_18_16_04_10559.jpg
/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_13_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919197","1401919191","1401919200","1401919193","1401919195","1401919189"],"photo_ids_order":["1401919189","1401919191","1401919193","1401919195","1401919197","1401919200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f80d2a473fa7ae03502f0a3aa19ead78.jpg","text":"TemporaryFile(/tmp/multipartBody6547187195611142158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202162669,"filename":"image_31122025_18_16_04_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6ae761ef1b298e980d5cc9c38a3e9bc.jpg","text":"TemporaryFile(/tmp/multipartBody909666808687758782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202162669,"filename":"image_31122025_18_15_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f27e4e5dbdc36bd594089e937c6b49bb.jpg","text":"TemporaryFile(/tmp/multipartBody2362147786163935753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202162669,"filename":"image_31122025_18_16_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f96cc2f6d7902cbd0957fad5b3f242a.jpg","text":"TemporaryFile(/tmp/multipartBody5259674345093383408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202162669,"filename":"image_31122025_18_15_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05176420f50491effb7b55499042c968.jpg","text":"TemporaryFile(/tmp/multipartBody7399548586872692071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202162669,"filename":"image_31122025_18_15_53_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/456045cc433e5b24f023b4656337056d.jpg","text":"TemporaryFile(/tmp/multipartBody8979079925512936829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202162669,"filename":"image_31122025_18_15_23_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919193","file1":"1401919191","file0":"1401919189","file4":"1401919197","file5":"1401919200","file3":"1401919195"},"map_files_photo_id_array":[{"photo_id":"1401919200","filename":"file5"},{"photo_id":"1401919193","filename":"file2"},{"photo_id":"1401919197","filename":"file4"},{"photo_id":"1401919191","filename":"file1"},{"photo_id":"1401919189","filename":"file0"},{"photo_id":"1401919195","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919197":["hashtag1","hashtag2"]},{"1401919191":["hashtag1","hashtag2"]},{"1401919200":["hashtag1","hashtag2"]},{"1401919193":["hashtag1","hashtag2"]},{"1401919195":["hashtag1","hashtag2"]},{"1401919189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919197, 1401919191, 1401919200, 1401919193, 1401919195, 1401919189)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.81979584693909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:29:13.984747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 val : 1 : upload photos already in processing! 
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_40_3657.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_42_2700.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_45_2693.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_48_2739.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_52_3708.jpg', '/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_54_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_40_3657.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_42_2700.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_45_2693.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_48_2739.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_52_3708.jpg
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_54_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919216","1401919219","1401919210","1401919213","1401919207","1401919220"],"photo_ids_order":["1401919207","1401919210","1401919213","1401919216","1401919219","1401919220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2d73ce8fb52d86f02b24e9e5d4f8448.jpg","text":"TemporaryFile(/tmp/multipartBody5470760595147893432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202229494,"filename":"image_03112025_19_39_48_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cb318b6fd2902ba125b7aed6f68bf0b.jpg","text":"TemporaryFile(/tmp/multipartBody6756919768955542476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202229494,"filename":"image_03112025_19_39_52_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c89b0bab4753a33ed7781fb0b0f0ab5.jpg","text":"TemporaryFile(/tmp/multipartBody4107950580516275918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202229494,"filename":"image_03112025_19_39_42_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f2ba5083b36dbc2a215ec9a3dcc0ea0c.jpg","text":"TemporaryFile(/tmp/multipartBody8117230697626348422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202229494,"filename":"image_03112025_19_39_45_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3562fee5106724005e7575c505c0c340.jpg","text":"TemporaryFile(/tmp/multipartBody917352944265298081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202229494,"filename":"image_03112025_19_39_40_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af969a44fb9bda09a88d28871c7ce70c.jpg","text":"TemporaryFile(/tmp/multipartBody7589539129185476500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202229494,"filename":"image_03112025_19_39_54_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919213","file1":"1401919210","file0":"1401919207","file4":"1401919219","file5":"1401919220","file3":"1401919216"},"map_files_photo_id_array":[{"photo_id":"1401919220","filename":"file5"},{"photo_id":"1401919213","filename":"file2"},{"photo_id":"1401919219","filename":"file4"},{"photo_id":"1401919210","filename":"file1"},{"photo_id":"1401919207","filename":"file0"},{"photo_id":"1401919216","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919216":["hashtag1","hashtag2"]},{"1401919219":["hashtag1","hashtag2"]},{"1401919210":["hashtag1","hashtag2"]},{"1401919213":["hashtag1","hashtag2"]},{"1401919207":["hashtag1","hashtag2"]},{"1401919220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919216, 1401919219, 1401919210, 1401919213, 1401919207, 1401919220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.05300283432007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-31 18:30:12.626453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_57_2817.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_03_6350.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_12_8689.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_13_1536.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_15_1635.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_29_14334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/39/image_03112025_19_39_57_2817.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_03_6350.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_12_8689.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_13_1536.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_15_1635.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_29_14334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919225","1401919227","1401919232","1401919235","1401919229","1401919234"],"photo_ids_order":["1401919225","1401919227","1401919229","1401919232","1401919234","1401919235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f198a1dc8e34822191480c346b589751.jpg","text":"TemporaryFile(/tmp/multipartBody7005293917160728119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202290324,"filename":"image_03112025_19_39_57_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/299cff77e6954d503e03027fbb231455.jpg","text":"TemporaryFile(/tmp/multipartBody435946251475186082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202290324,"filename":"image_03112025_19_40_03_6350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c8cd3df417a2d395dfce0b2ffd80627.jpg","text":"TemporaryFile(/tmp/multipartBody411781070089633829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202290324,"filename":"image_03112025_19_40_13_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31a6152aa5de499b0735897fec12dad3.jpg","text":"TemporaryFile(/tmp/multipartBody5618633825172204356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202290324,"filename":"image_03112025_19_40_29_14334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9267a1d7dfa05eb341df5fdfaa9411c2.jpg","text":"TemporaryFile(/tmp/multipartBody5421516301801932507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202290324,"filename":"image_03112025_19_40_12_8689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5187d864a1020e1072d67ee8883c3558.jpg","text":"TemporaryFile(/tmp/multipartBody8839102581878926317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202290324,"filename":"image_03112025_19_40_15_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919229","file1":"1401919227","file0":"1401919225","file4":"1401919234","file5":"1401919235","file3":"1401919232"},"map_files_photo_id_array":[{"photo_id":"1401919235","filename":"file5"},{"photo_id":"1401919229","filename":"file2"},{"photo_id":"1401919234","filename":"file4"},{"photo_id":"1401919227","filename":"file1"},{"photo_id":"1401919225","filename":"file0"},{"photo_id":"1401919232","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919225":["hashtag1","hashtag2"]},{"1401919227":["hashtag1","hashtag2"]},{"1401919232":["hashtag1","hashtag2"]},{"1401919235":["hashtag1","hashtag2"]},{"1401919229":["hashtag1","hashtag2"]},{"1401919234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919225, 1401919227, 1401919232, 1401919235, 1401919229, 1401919234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.22789001464844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:31:12.770295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_31_1531.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_33_1750.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_34_1582.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_36_1546.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_38_1707.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_39_1797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_31_1531.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_33_1750.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_34_1582.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_36_1546.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_38_1707.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_39_1797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919243","1401919237","1401919245","1401919239","1401919236","1401919241"],"photo_ids_order":["1401919236","1401919237","1401919239","1401919241","1401919243","1401919245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d55114faee91a7a819a93c8cee5cbaa9.jpg","text":"TemporaryFile(/tmp/multipartBody2287958466519425768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202334579,"filename":"image_03112025_19_40_38_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c33ccecdcf46be0e1c75fbfeb064b6c3.jpg","text":"TemporaryFile(/tmp/multipartBody1259857872578126023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202334579,"filename":"image_03112025_19_40_33_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec35eaae44075a1cd7c9f23b6d827308.jpg","text":"TemporaryFile(/tmp/multipartBody1034462971373808425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202334579,"filename":"image_03112025_19_40_39_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9134708c9cc18fbf6abe34d09098bac.jpg","text":"TemporaryFile(/tmp/multipartBody1895684071914682920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202334579,"filename":"image_03112025_19_40_34_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d51875bdbda110ee601970977850692.jpg","text":"TemporaryFile(/tmp/multipartBody3240354704790074694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202334579,"filename":"image_03112025_19_40_31_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2de977c1a75da834d31903c2fd359e99.jpg","text":"TemporaryFile(/tmp/multipartBody2063093631976274538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202334579,"filename":"image_03112025_19_40_36_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919239","file1":"1401919237","file0":"1401919236","file4":"1401919243","file5":"1401919245","file3":"1401919241"},"map_files_photo_id_array":[{"photo_id":"1401919245","filename":"file5"},{"photo_id":"1401919239","filename":"file2"},{"photo_id":"1401919243","filename":"file4"},{"photo_id":"1401919237","filename":"file1"},{"photo_id":"1401919236","filename":"file0"},{"photo_id":"1401919241","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919243":["hashtag1","hashtag2"]},{"1401919237":["hashtag1","hashtag2"]},{"1401919245":["hashtag1","hashtag2"]},{"1401919239":["hashtag1","hashtag2"]},{"1401919236":["hashtag1","hashtag2"]},{"1401919241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919243, 1401919237, 1401919245, 1401919239, 1401919236, 1401919241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35352396965027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:32:02.760492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_23_9736.jpg', '/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_34_10566.jpg', '/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_44_9791.jpg', '/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_53_9582.jpg', '/home/pi/Desktop/images/31122025/18/16/image_31122025_18_17_04_10632.jpg', '/home/pi/Desktop/images/31122025/18/17/image_31122025_18_17_13_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_23_9736.jpg
/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_34_10566.jpg
/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_44_9791.jpg
/home/pi/Desktop/images/31122025/18/16/image_31122025_18_16_53_9582.jpg
/home/pi/Desktop/images/31122025/18/16/image_31122025_18_17_04_10632.jpg
/home/pi/Desktop/images/31122025/18/17/image_31122025_18_17_13_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919251","1401919274","1401919250","1401919285","1401919270","1401919252"],"photo_ids_order":["1401919250","1401919251","1401919252","1401919270","1401919274","1401919285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bdeda9de5bde04d05ad1a5ba95b563a.jpg","text":"TemporaryFile(/tmp/multipartBody7695658765902161143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202383382,"filename":"image_31122025_18_16_34_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a0327e9679e986d9448724afd2bff0d.jpg","text":"TemporaryFile(/tmp/multipartBody4204616924958127766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202383382,"filename":"image_31122025_18_17_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cece02d15a2751ca4b0b49228aad4db.jpg","text":"TemporaryFile(/tmp/multipartBody2044616249262004076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202383382,"filename":"image_31122025_18_16_23_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e10102b95800d5298fdc6527ebbd4a0b.jpg","text":"TemporaryFile(/tmp/multipartBody7392477827217449290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202383382,"filename":"image_31122025_18_17_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39bea9196f55a31344a138190d31f16f.jpg","text":"TemporaryFile(/tmp/multipartBody1008485107413900918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202383382,"filename":"image_31122025_18_16_53_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/796b190d096459545efa417f36d8e0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8197382500978013705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202383382,"filename":"image_31122025_18_16_44_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919252","file1":"1401919251","file0":"1401919250","file4":"1401919274","file5":"1401919285","file3":"1401919270"},"map_files_photo_id_array":[{"photo_id":"1401919285","filename":"file5"},{"photo_id":"1401919252","filename":"file2"},{"photo_id":"1401919274","filename":"file4"},{"photo_id":"1401919251","filename":"file1"},{"photo_id":"1401919250","filename":"file0"},{"photo_id":"1401919270","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919251":["hashtag1","hashtag2"]},{"1401919274":["hashtag1","hashtag2"]},{"1401919250":["hashtag1","hashtag2"]},{"1401919285":["hashtag1","hashtag2"]},{"1401919270":["hashtag1","hashtag2"]},{"1401919252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919251, 1401919274, 1401919250, 1401919285, 1401919270, 1401919252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.581714153289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:32:42.258928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_41_1648.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_43_1643.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_44_1732.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_46_1548.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_48_1727.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_49_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_41_1648.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_43_1643.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_44_1732.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_46_1548.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_48_1727.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_49_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919336","1401919339","1401919338","1401919340","1401919337","1401919322"],"photo_ids_order":["1401919322","1401919336","1401919337","1401919338","1401919339","1401919340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32a6168cca90b62cca06d32439337532.jpg","text":"TemporaryFile(/tmp/multipartBody3979186576779103274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202424098,"filename":"image_03112025_19_40_43_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ed316fb05901552cd94d57cc4f2fb8b.jpg","text":"TemporaryFile(/tmp/multipartBody3242213256175672717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202424098,"filename":"image_03112025_19_40_48_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a50619edcbd8e1028361922aff88948e.jpg","text":"TemporaryFile(/tmp/multipartBody6169809948481608842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202424098,"filename":"image_03112025_19_40_46_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42804125432e6489fe2e0e81ed912b42.jpg","text":"TemporaryFile(/tmp/multipartBody5001041681058647223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202424098,"filename":"image_03112025_19_40_49_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c7802276774227060b27081b79637ab.jpg","text":"TemporaryFile(/tmp/multipartBody7785660925012941799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202424098,"filename":"image_03112025_19_40_44_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19bad839f83a84c2b5c3050ae5f7a340.jpg","text":"TemporaryFile(/tmp/multipartBody5497362937767217129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202424098,"filename":"image_03112025_19_40_41_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919337","file1":"1401919336","file0":"1401919322","file4":"1401919339","file5":"1401919340","file3":"1401919338"},"map_files_photo_id_array":[{"photo_id":"1401919340","filename":"file5"},{"photo_id":"1401919337","filename":"file2"},{"photo_id":"1401919339","filename":"file4"},{"photo_id":"1401919336","filename":"file1"},{"photo_id":"1401919322","filename":"file0"},{"photo_id":"1401919338","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919336":["hashtag1","hashtag2"]},{"1401919339":["hashtag1","hashtag2"]},{"1401919338":["hashtag1","hashtag2"]},{"1401919340":["hashtag1","hashtag2"]},{"1401919337":["hashtag1","hashtag2"]},{"1401919322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919336, 1401919339, 1401919338, 1401919340, 1401919337, 1401919322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.318228006362915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:33:22.375520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/17/image_31122025_18_17_34_10635.jpg', '/home/pi/Desktop/images/31122025/18/17/image_31122025_18_17_43_9615.jpg', '/home/pi/Desktop/images/31122025/18/17/image_31122025_18_17_53_9736.jpg', '/home/pi/Desktop/images/31122025/18/17/image_31122025_18_18_04_10790.jpg', '/home/pi/Desktop/images/31122025/18/18/image_31122025_18_18_14_9891.jpg', '/home/pi/Desktop/images/31122025/18/18/image_31122025_18_18_33_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/17/image_31122025_18_17_34_10635.jpg
/home/pi/Desktop/images/31122025/18/17/image_31122025_18_17_43_9615.jpg
/home/pi/Desktop/images/31122025/18/17/image_31122025_18_17_53_9736.jpg
/home/pi/Desktop/images/31122025/18/17/image_31122025_18_18_04_10790.jpg
/home/pi/Desktop/images/31122025/18/18/image_31122025_18_18_14_9891.jpg
/home/pi/Desktop/images/31122025/18/18/image_31122025_18_18_33_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919345","1401919344","1401919347","1401919341","1401919349","1401919352"],"photo_ids_order":["1401919341","1401919344","1401919345","1401919347","1401919349","1401919352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f872f53b9bc23f48ceff5d2d08f2bf95.jpg","text":"TemporaryFile(/tmp/multipartBody6730450684950875393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202462971,"filename":"image_31122025_18_17_53_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d5a2b6adb7fad41fdbb62e5689d3915.jpg","text":"TemporaryFile(/tmp/multipartBody6968975673725419243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202462971,"filename":"image_31122025_18_17_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b28fa8071180b578905dfb3bc8629086.jpg","text":"TemporaryFile(/tmp/multipartBody8225663305161794254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202462971,"filename":"image_31122025_18_18_04_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/388fc102ff5b59a5c5dc80257481ea8c.jpg","text":"TemporaryFile(/tmp/multipartBody6729963704150152773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202462971,"filename":"image_31122025_18_17_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87022d171d8981ac6d7d0f3f4c904ea2.jpg","text":"TemporaryFile(/tmp/multipartBody4105924915292780700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202462971,"filename":"image_31122025_18_18_14_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31bca602f6d8cdfed8f8a319fd0df801.jpg","text":"TemporaryFile(/tmp/multipartBody9219957200461073108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202462971,"filename":"image_31122025_18_18_33_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919345","file1":"1401919344","file0":"1401919341","file4":"1401919349","file5":"1401919352","file3":"1401919347"},"map_files_photo_id_array":[{"photo_id":"1401919352","filename":"file5"},{"photo_id":"1401919345","filename":"file2"},{"photo_id":"1401919349","filename":"file4"},{"photo_id":"1401919344","filename":"file1"},{"photo_id":"1401919341","filename":"file0"},{"photo_id":"1401919347","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919345":["hashtag1","hashtag2"]},{"1401919344":["hashtag1","hashtag2"]},{"1401919347":["hashtag1","hashtag2"]},{"1401919341":["hashtag1","hashtag2"]},{"1401919349":["hashtag1","hashtag2"]},{"1401919352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919345, 1401919344, 1401919347, 1401919341, 1401919349, 1401919352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71252703666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:34:03.203835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/18/image_31122025_18_18_53_9563.jpg', '/home/pi/Desktop/images/31122025/18/18/image_31122025_18_19_04_10658.jpg', '/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_14_9730.jpg', '/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_23_9678.jpg', '/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_34_10585.jpg', '/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_44_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/18/image_31122025_18_18_53_9563.jpg
/home/pi/Desktop/images/31122025/18/18/image_31122025_18_19_04_10658.jpg
/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_14_9730.jpg
/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_23_9678.jpg
/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_34_10585.jpg
/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_44_9575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919357","1401919356","1401919359","1401919361","1401919358","1401919360"],"photo_ids_order":["1401919356","1401919357","1401919358","1401919359","1401919360","1401919361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47d3d0050157d140978c94190190f935.jpg","text":"TemporaryFile(/tmp/multipartBody5622455380536227018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202503947,"filename":"image_31122025_18_19_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57b3b75a09a3998cc214e82b8c641044.jpg","text":"TemporaryFile(/tmp/multipartBody1994242105722262635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202503947,"filename":"image_31122025_18_18_53_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a036c49bcac138f3af76e1472cc5fab.jpg","text":"TemporaryFile(/tmp/multipartBody7534015631375564486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202503947,"filename":"image_31122025_18_19_23_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a8e52be8ed338d0212f441a8e2aaddb.jpg","text":"TemporaryFile(/tmp/multipartBody2999922257808039210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202503947,"filename":"image_31122025_18_19_44_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd37a8bec2701a9900d336d998e13d4f.jpg","text":"TemporaryFile(/tmp/multipartBody956531030162193728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202503947,"filename":"image_31122025_18_19_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91c984ec167ca7384293dc79de85c76a.jpg","text":"TemporaryFile(/tmp/multipartBody4516506038768372026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202503947,"filename":"image_31122025_18_19_34_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919358","file1":"1401919357","file0":"1401919356","file4":"1401919360","file5":"1401919361","file3":"1401919359"},"map_files_photo_id_array":[{"photo_id":"1401919361","filename":"file5"},{"photo_id":"1401919358","filename":"file2"},{"photo_id":"1401919360","filename":"file4"},{"photo_id":"1401919357","filename":"file1"},{"photo_id":"1401919356","filename":"file0"},{"photo_id":"1401919359","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919357":["hashtag1","hashtag2"]},{"1401919356":["hashtag1","hashtag2"]},{"1401919359":["hashtag1","hashtag2"]},{"1401919361":["hashtag1","hashtag2"]},{"1401919358":["hashtag1","hashtag2"]},{"1401919360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919357, 1401919356, 1401919359, 1401919361, 1401919358, 1401919360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92527389526367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:34:42.603184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_51_1583.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_54_2829.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_57_3527.jpg', '/home/pi/Desktop/images/03112025/19/40/image_03112025_19_41_00_2601.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_03_3630.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_06_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_51_1583.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_54_2829.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_40_57_3527.jpg
/home/pi/Desktop/images/03112025/19/40/image_03112025_19_41_00_2601.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_03_3630.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_06_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919374","1401919377","1401919367","1401919376","1401919370","1401919372"],"photo_ids_order":["1401919367","1401919370","1401919372","1401919374","1401919376","1401919377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16ae638e6d8e108c606a24a22a82d3a4.jpg","text":"TemporaryFile(/tmp/multipartBody110146548015743964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202544478,"filename":"image_03112025_19_41_00_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/502055f1275cfd8ef3f8c3c9010e266c.jpg","text":"TemporaryFile(/tmp/multipartBody2156174245696029531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202544478,"filename":"image_03112025_19_41_06_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6cecef2cbcff724e1c03cc601229a57.jpg","text":"TemporaryFile(/tmp/multipartBody8608368353947967732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202544478,"filename":"image_03112025_19_40_51_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/247d8751e2bed552eef53f0a4a01172d.jpg","text":"TemporaryFile(/tmp/multipartBody5611416164782591479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202544478,"filename":"image_03112025_19_41_03_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/545493860bda1f811aa926d0c2d328b8.jpg","text":"TemporaryFile(/tmp/multipartBody5017178743564652354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202544478,"filename":"image_03112025_19_40_54_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11dc190d763ae1c78e916aac7ae9c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3148888879789340460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202544478,"filename":"image_03112025_19_40_57_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919372","file1":"1401919370","file0":"1401919367","file4":"1401919376","file5":"1401919377","file3":"1401919374"},"map_files_photo_id_array":[{"photo_id":"1401919377","filename":"file5"},{"photo_id":"1401919372","filename":"file2"},{"photo_id":"1401919376","filename":"file4"},{"photo_id":"1401919370","filename":"file1"},{"photo_id":"1401919367","filename":"file0"},{"photo_id":"1401919374","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919374":["hashtag1","hashtag2"]},{"1401919377":["hashtag1","hashtag2"]},{"1401919367":["hashtag1","hashtag2"]},{"1401919376":["hashtag1","hashtag2"]},{"1401919370":["hashtag1","hashtag2"]},{"1401919372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919374, 1401919377, 1401919367, 1401919376, 1401919370, 1401919372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02549386024475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:35:24.157964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_53_9552.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_13_9589.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_23_9781.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_34_10528.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_43_9713.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_53_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_53_9552.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_13_9589.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_23_9781.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_34_10528.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_43_9713.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_53_9730.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4829103946685791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:35:34.135050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_09_2744.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_13_3613.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_15_2650.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_18_2770.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_21_2710.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_24_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_09_2744.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_13_3613.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_15_2650.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_18_2770.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_21_2710.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_24_3731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919392","1401919394","1401919390","1401919384","1401919393","1401919387"],"photo_ids_order":["1401919384","1401919387","1401919390","1401919392","1401919393","1401919394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f52dcbcb2b648ceeef31611868e1d272.jpg","text":"TemporaryFile(/tmp/multipartBody1851632457312725600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202595966,"filename":"image_03112025_19_41_18_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6af72f0c0ea25c7fa971ec1bea5d841.jpg","text":"TemporaryFile(/tmp/multipartBody140343468326472549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202595966,"filename":"image_03112025_19_41_24_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2725cc0f7d56708decc99902e34e85a.jpg","text":"TemporaryFile(/tmp/multipartBody1894134382481211108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202595966,"filename":"image_03112025_19_41_15_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f793b49f5da4cb960fd78cc1052fb1c.jpg","text":"TemporaryFile(/tmp/multipartBody6101422782192290117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202595966,"filename":"image_03112025_19_41_09_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a51724f2c436fc3c5ba5c4ad9f740b1.jpg","text":"TemporaryFile(/tmp/multipartBody1274150810369845724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202595966,"filename":"image_03112025_19_41_21_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06894beed57abdb4ce0c5f1ce5950aaf.jpg","text":"TemporaryFile(/tmp/multipartBody3145926161582365689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202595966,"filename":"image_03112025_19_41_13_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919390","file1":"1401919387","file0":"1401919384","file4":"1401919393","file5":"1401919394","file3":"1401919392"},"map_files_photo_id_array":[{"photo_id":"1401919394","filename":"file5"},{"photo_id":"1401919390","filename":"file2"},{"photo_id":"1401919393","filename":"file4"},{"photo_id":"1401919387","filename":"file1"},{"photo_id":"1401919384","filename":"file0"},{"photo_id":"1401919392","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919392":["hashtag1","hashtag2"]},{"1401919394":["hashtag1","hashtag2"]},{"1401919390":["hashtag1","hashtag2"]},{"1401919384":["hashtag1","hashtag2"]},{"1401919393":["hashtag1","hashtag2"]},{"1401919387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919392, 1401919394, 1401919390, 1401919384, 1401919393, 1401919387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30445051193237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:36:12.337481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_28_3182.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_32_4878.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_35_2975.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_37_1570.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_39_1667.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_42_3804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_28_3182.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_32_4878.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_35_2975.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_37_1570.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_39_1667.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_42_3804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919405","1401919395","1401919398","1401919397","1401919403","1401919400"],"photo_ids_order":["1401919395","1401919397","1401919398","1401919400","1401919403","1401919405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b454f06e20a0c3f139454940847b7201.jpg","text":"TemporaryFile(/tmp/multipartBody5237788799326113417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202634052,"filename":"image_03112025_19_41_42_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3779834457c51d67c6a903c3fe73e0f1.jpg","text":"TemporaryFile(/tmp/multipartBody5411588394702579916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202634052,"filename":"image_03112025_19_41_28_3182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb2fc0484be0b335b37a571b5501c748.jpg","text":"TemporaryFile(/tmp/multipartBody3008930584367788917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202634052,"filename":"image_03112025_19_41_35_2975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30803109015ed0bb258bc89e8b03f679.jpg","text":"TemporaryFile(/tmp/multipartBody8471019603278360513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202634052,"filename":"image_03112025_19_41_32_4878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aba981e44abd6a028cb307c7c6319c3.jpg","text":"TemporaryFile(/tmp/multipartBody8774129239500056087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202634052,"filename":"image_03112025_19_41_39_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f5bc8331f29bfc464ae124b5210b0af.jpg","text":"TemporaryFile(/tmp/multipartBody467026448703334711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202634052,"filename":"image_03112025_19_41_37_1570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919398","file1":"1401919397","file0":"1401919395","file4":"1401919403","file5":"1401919405","file3":"1401919400"},"map_files_photo_id_array":[{"photo_id":"1401919405","filename":"file5"},{"photo_id":"1401919398","filename":"file2"},{"photo_id":"1401919403","filename":"file4"},{"photo_id":"1401919397","filename":"file1"},{"photo_id":"1401919395","filename":"file0"},{"photo_id":"1401919400","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919405":["hashtag1","hashtag2"]},{"1401919395":["hashtag1","hashtag2"]},{"1401919398":["hashtag1","hashtag2"]},{"1401919397":["hashtag1","hashtag2"]},{"1401919403":["hashtag1","hashtag2"]},{"1401919400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919405, 1401919395, 1401919398, 1401919397, 1401919403, 1401919400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13602566719055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:37:03.172267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_53_9552.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_13_9589.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_23_9781.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_34_10528.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_43_9713.jpg', '/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_53_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/19/image_31122025_18_19_53_9552.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_13_9589.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_23_9781.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_34_10528.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_43_9713.jpg
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_20_53_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919414","1401919417","1401919411","1401919410","1401919413","1401919409"],"photo_ids_order":["1401919409","1401919410","1401919411","1401919413","1401919414","1401919417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f93f5f9d84f50b1e9a367069d449b66a.jpg","text":"TemporaryFile(/tmp/multipartBody240090959337879861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202683815,"filename":"image_31122025_18_20_43_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edb83419c156669dec0b76e9bfe5f57c.jpg","text":"TemporaryFile(/tmp/multipartBody7516373441127163557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202683815,"filename":"image_31122025_18_20_53_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b4726ef088b8a481c3009cf37ecdfa0.jpg","text":"TemporaryFile(/tmp/multipartBody5720014029108302017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202683815,"filename":"image_31122025_18_20_23_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/904fb45d16bb39dfc24e9ee2338ea5da.jpg","text":"TemporaryFile(/tmp/multipartBody8134386889739606091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202683815,"filename":"image_31122025_18_20_13_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bdbbc02c0b298fa3d8b2ee20f2315ca.jpg","text":"TemporaryFile(/tmp/multipartBody7294019444495195004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202683815,"filename":"image_31122025_18_20_34_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc8efeff25c70443255c192452bb0c13.jpg","text":"TemporaryFile(/tmp/multipartBody2321951892749287566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202683815,"filename":"image_31122025_18_19_53_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919411","file1":"1401919410","file0":"1401919409","file4":"1401919414","file5":"1401919417","file3":"1401919413"},"map_files_photo_id_array":[{"photo_id":"1401919417","filename":"file5"},{"photo_id":"1401919411","filename":"file2"},{"photo_id":"1401919414","filename":"file4"},{"photo_id":"1401919410","filename":"file1"},{"photo_id":"1401919409","filename":"file0"},{"photo_id":"1401919413","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919414":["hashtag1","hashtag2"]},{"1401919417":["hashtag1","hashtag2"]},{"1401919411":["hashtag1","hashtag2"]},{"1401919410":["hashtag1","hashtag2"]},{"1401919413":["hashtag1","hashtag2"]},{"1401919409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919414, 1401919417, 1401919411, 1401919410, 1401919413, 1401919409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09389615058899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:37:42.591949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_45_2659.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_48_2556.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_51_3578.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_55_4196.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_57_1691.jpg', '/home/pi/Desktop/images/03112025/19/41/image_03112025_19_42_00_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_45_2659.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_48_2556.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_51_3578.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_55_4196.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_41_57_1691.jpg
/home/pi/Desktop/images/03112025/19/41/image_03112025_19_42_00_2576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919455","1401919490","1401919478","1401919477","1401919450","1401919480"],"photo_ids_order":["1401919450","1401919455","1401919477","1401919478","1401919480","1401919490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2a9c55a1f676a1b1fbb9be02088b8c7.jpg","text":"TemporaryFile(/tmp/multipartBody619468515582871972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202724426,"filename":"image_03112025_19_41_48_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6c43a6214a072cb329ab0b59a32ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody1306552975861694846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202724426,"filename":"image_03112025_19_42_00_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eef243121595dd7358fc4297ea6df565.jpg","text":"TemporaryFile(/tmp/multipartBody3444154408512390619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202724426,"filename":"image_03112025_19_41_55_4196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f9977132189a1e645f019d274c1b307.jpg","text":"TemporaryFile(/tmp/multipartBody7641402834733970684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202724426,"filename":"image_03112025_19_41_51_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/859ae90a4616d291a5a513d771263175.jpg","text":"TemporaryFile(/tmp/multipartBody2102595646921134186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202724426,"filename":"image_03112025_19_41_45_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69dfd403df20cb5c30317080cbc72f32.jpg","text":"TemporaryFile(/tmp/multipartBody4114382161955239030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202724426,"filename":"image_03112025_19_41_57_1691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919477","file1":"1401919455","file0":"1401919450","file4":"1401919480","file5":"1401919490","file3":"1401919478"},"map_files_photo_id_array":[{"photo_id":"1401919490","filename":"file5"},{"photo_id":"1401919477","filename":"file2"},{"photo_id":"1401919480","filename":"file4"},{"photo_id":"1401919455","filename":"file1"},{"photo_id":"1401919450","filename":"file0"},{"photo_id":"1401919478","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919455":["hashtag1","hashtag2"]},{"1401919490":["hashtag1","hashtag2"]},{"1401919478":["hashtag1","hashtag2"]},{"1401919477":["hashtag1","hashtag2"]},{"1401919450":["hashtag1","hashtag2"]},{"1401919480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919455, 1401919490, 1401919478, 1401919477, 1401919450, 1401919480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60526180267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:38:22.776508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/20/image_31122025_18_21_04_10650.jpg', '/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_14_9816.jpg', '/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_23_9542.jpg', '/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_34_10667.jpg', '/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_43_9594.jpg', '/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/20/image_31122025_18_21_04_10650.jpg
/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_14_9816.jpg
/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_23_9542.jpg
/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_34_10667.jpg
/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_43_9594.jpg
/home/pi/Desktop/images/31122025/18/21/image_31122025_18_21_54_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919507","1401919501","1401919509","1401919503","1401919511","1401919505"],"photo_ids_order":["1401919501","1401919503","1401919505","1401919507","1401919509","1401919511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c20dbc4dfc25b391e2cdf224a1121420.jpg","text":"TemporaryFile(/tmp/multipartBody6474144434365882607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202763406,"filename":"image_31122025_18_21_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a25593f40636cb6ebbab3daefa620818.jpg","text":"TemporaryFile(/tmp/multipartBody4701548345252617467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202763406,"filename":"image_31122025_18_21_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2b177b51fc308780e709ea3e37f938c.jpg","text":"TemporaryFile(/tmp/multipartBody8475706147250143089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202763406,"filename":"image_31122025_18_21_43_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45e9309878653471bf6960a55c07e13c.jpg","text":"TemporaryFile(/tmp/multipartBody7366225746034314863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202763406,"filename":"image_31122025_18_21_14_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/336217e3f3f68a3dfa9a165be05d04c6.jpg","text":"TemporaryFile(/tmp/multipartBody7424188606677003869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202763406,"filename":"image_31122025_18_21_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7252960dfeaba6a55cf393d8e64e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8486973249416164837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202763406,"filename":"image_31122025_18_21_23_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919505","file1":"1401919503","file0":"1401919501","file4":"1401919509","file5":"1401919511","file3":"1401919507"},"map_files_photo_id_array":[{"photo_id":"1401919511","filename":"file5"},{"photo_id":"1401919505","filename":"file2"},{"photo_id":"1401919509","filename":"file4"},{"photo_id":"1401919503","filename":"file1"},{"photo_id":"1401919501","filename":"file0"},{"photo_id":"1401919507","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919507":["hashtag1","hashtag2"]},{"1401919501":["hashtag1","hashtag2"]},{"1401919509":["hashtag1","hashtag2"]},{"1401919503":["hashtag1","hashtag2"]},{"1401919511":["hashtag1","hashtag2"]},{"1401919505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919507, 1401919501, 1401919509, 1401919503, 1401919511, 1401919505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08831787109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:39:03.014800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/21/image_31122025_18_22_04_9630.jpg', '/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_13_9711.jpg', '/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_23_9710.jpg', '/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_34_10577.jpg', '/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_43_9739.jpg', '/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_53_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/21/image_31122025_18_22_04_9630.jpg
/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_13_9711.jpg
/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_23_9710.jpg
/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_34_10577.jpg
/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_43_9739.jpg
/home/pi/Desktop/images/31122025/18/22/image_31122025_18_22_53_9859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919654","1401919656","1401919557","1401919595","1401919512","1401919630"],"photo_ids_order":["1401919512","1401919557","1401919595","1401919630","1401919654","1401919656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d78e9bf02eb7fc3b141beef7f6b32503.jpg","text":"TemporaryFile(/tmp/multipartBody1016003300620181037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202803798,"filename":"image_31122025_18_22_43_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac50151778d0e0957cf3c8fb40fdfdb8.jpg","text":"TemporaryFile(/tmp/multipartBody8777973789662022263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202803798,"filename":"image_31122025_18_22_53_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd86ed6bf301fcc0c4a62d3555b5bd7c.jpg","text":"TemporaryFile(/tmp/multipartBody3077919966403376410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202803798,"filename":"image_31122025_18_22_13_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/894a9b7688a6b7b495bec2936e7d0bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7211208767718403718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202803798,"filename":"image_31122025_18_22_23_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03e9f2efc69881eeae2fb4bff261a1cd.jpg","text":"TemporaryFile(/tmp/multipartBody982100123238121307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202803798,"filename":"image_31122025_18_22_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66e24d80de37f191a2cacc08f4f08abd.jpg","text":"TemporaryFile(/tmp/multipartBody3660268547192206273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202803798,"filename":"image_31122025_18_22_34_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919595","file1":"1401919557","file0":"1401919512","file4":"1401919654","file5":"1401919656","file3":"1401919630"},"map_files_photo_id_array":[{"photo_id":"1401919656","filename":"file5"},{"photo_id":"1401919595","filename":"file2"},{"photo_id":"1401919654","filename":"file4"},{"photo_id":"1401919557","filename":"file1"},{"photo_id":"1401919512","filename":"file0"},{"photo_id":"1401919630","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919654":["hashtag1","hashtag2"]},{"1401919656":["hashtag1","hashtag2"]},{"1401919557":["hashtag1","hashtag2"]},{"1401919595":["hashtag1","hashtag2"]},{"1401919512":["hashtag1","hashtag2"]},{"1401919630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919654, 1401919656, 1401919557, 1401919595, 1401919512, 1401919630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41886782646179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:39:42.036681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_03_3630.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_06_2615.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_09_2656.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_12_2985.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_15_3585.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_18_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_03_3630.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_06_2615.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_09_2656.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_12_2985.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_15_3585.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_18_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919662","1401919665","1401919664","1401919667","1401919669","1401919666"],"photo_ids_order":["1401919662","1401919664","1401919665","1401919666","1401919667","1401919669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4b58f4b1cae9b5bc6ff29d9e9821e02.jpg","text":"TemporaryFile(/tmp/multipartBody1356328281715805565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202843907,"filename":"image_03112025_19_42_03_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73d5b5e16173b575a0854f15c58c27ea.jpg","text":"TemporaryFile(/tmp/multipartBody5401158731267225858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202843907,"filename":"image_03112025_19_42_09_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85624fe4b0c99d883b09233a58fc771a.jpg","text":"TemporaryFile(/tmp/multipartBody7690154556802626282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202843907,"filename":"image_03112025_19_42_06_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6baf836adac35478d55830b20932f12a.jpg","text":"TemporaryFile(/tmp/multipartBody2314851286101976342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202843907,"filename":"image_03112025_19_42_15_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/676999b9f9663fd8ecbb29742fa46c49.jpg","text":"TemporaryFile(/tmp/multipartBody6212918283890297236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202843907,"filename":"image_03112025_19_42_18_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1feb468e84604e163558666a1c287a06.jpg","text":"TemporaryFile(/tmp/multipartBody6615396425818270985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202843907,"filename":"image_03112025_19_42_12_2985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919665","file1":"1401919664","file0":"1401919662","file4":"1401919667","file5":"1401919669","file3":"1401919666"},"map_files_photo_id_array":[{"photo_id":"1401919669","filename":"file5"},{"photo_id":"1401919665","filename":"file2"},{"photo_id":"1401919667","filename":"file4"},{"photo_id":"1401919664","filename":"file1"},{"photo_id":"1401919662","filename":"file0"},{"photo_id":"1401919666","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919662":["hashtag1","hashtag2"]},{"1401919665":["hashtag1","hashtag2"]},{"1401919664":["hashtag1","hashtag2"]},{"1401919667":["hashtag1","hashtag2"]},{"1401919669":["hashtag1","hashtag2"]},{"1401919666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919662, 1401919665, 1401919664, 1401919667, 1401919669, 1401919666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27753782272339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:40:22.185106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/22/image_31122025_18_23_04_10690.jpg', '/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_14_9733.jpg', '/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_23_9556.jpg', '/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_34_10769.jpg', '/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_44_9756.jpg', '/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_53_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/22/image_31122025_18_23_04_10690.jpg
/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_14_9733.jpg
/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_23_9556.jpg
/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_34_10769.jpg
/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_44_9756.jpg
/home/pi/Desktop/images/31122025/18/23/image_31122025_18_23_53_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919671","1401919680","1401919677","1401919682","1401919673","1401919675"],"photo_ids_order":["1401919671","1401919673","1401919675","1401919677","1401919680","1401919682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8357dc23b9970ac08c7f6ccb921f6a64.jpg","text":"TemporaryFile(/tmp/multipartBody6373001680057569825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202882819,"filename":"image_31122025_18_23_04_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4513fe1efe43e47526e4ce824af13b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8814764960479646306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202882819,"filename":"image_31122025_18_23_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b3e56e62277c9f88b3f4b24b0eb8566.jpg","text":"TemporaryFile(/tmp/multipartBody3279384276366005118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202882819,"filename":"image_31122025_18_23_34_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f28638ac5a7d045f190a1b542940ce7b.jpg","text":"TemporaryFile(/tmp/multipartBody5172466917349931512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202882819,"filename":"image_31122025_18_23_53_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/797b376b785cb037220b9f674ef0d753.jpg","text":"TemporaryFile(/tmp/multipartBody951207401037061935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202882819,"filename":"image_31122025_18_23_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4480317056fc6b44b32c4519262eb4ff.jpg","text":"TemporaryFile(/tmp/multipartBody5193753210802959555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202882819,"filename":"image_31122025_18_23_23_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919675","file1":"1401919673","file0":"1401919671","file4":"1401919680","file5":"1401919682","file3":"1401919677"},"map_files_photo_id_array":[{"photo_id":"1401919682","filename":"file5"},{"photo_id":"1401919675","filename":"file2"},{"photo_id":"1401919680","filename":"file4"},{"photo_id":"1401919673","filename":"file1"},{"photo_id":"1401919671","filename":"file0"},{"photo_id":"1401919677","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919671":["hashtag1","hashtag2"]},{"1401919680":["hashtag1","hashtag2"]},{"1401919677":["hashtag1","hashtag2"]},{"1401919682":["hashtag1","hashtag2"]},{"1401919673":["hashtag1","hashtag2"]},{"1401919675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919671, 1401919680, 1401919677, 1401919682, 1401919673, 1401919675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93895864486694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:41:03.085797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/23/image_31122025_18_24_03_9934.jpg', '/home/pi/Desktop/images/31122025/18/24/image_31122025_18_24_24_10685.jpg', '/home/pi/Desktop/images/31122025/18/24/image_31122025_18_24_33_9693.jpg', '/home/pi/Desktop/images/31122025/18/24/image_31122025_18_24_44_10554.jpg', '/home/pi/Desktop/images/31122025/18/24/image_31122025_18_24_54_9630.jpg', '/home/pi/Desktop/images/31122025/18/25/image_31122025_18_25_24_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/23/image_31122025_18_24_03_9934.jpg
/home/pi/Desktop/images/31122025/18/24/image_31122025_18_24_24_10685.jpg
/home/pi/Desktop/images/31122025/18/24/image_31122025_18_24_33_9693.jpg
/home/pi/Desktop/images/31122025/18/24/image_31122025_18_24_44_10554.jpg
/home/pi/Desktop/images/31122025/18/24/image_31122025_18_24_54_9630.jpg
/home/pi/Desktop/images/31122025/18/25/image_31122025_18_25_24_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919692","1401919686","1401919683","1401919685","1401919688","1401919690"],"photo_ids_order":["1401919683","1401919685","1401919686","1401919688","1401919690","1401919692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdda744f75ed57fb4b2c807b04245e7a.jpg","text":"TemporaryFile(/tmp/multipartBody4567886585575128672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202923759,"filename":"image_31122025_18_25_24_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/631f16443d684e190b506678beadc094.jpg","text":"TemporaryFile(/tmp/multipartBody937608919091707052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202923759,"filename":"image_31122025_18_24_33_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3731c50660b0fe3f2df85f6c1f0f23cf.jpg","text":"TemporaryFile(/tmp/multipartBody2939844366717610115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202923759,"filename":"image_31122025_18_24_03_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5341604ae9c6e301833a9a808eff8f16.jpg","text":"TemporaryFile(/tmp/multipartBody1626710944051935687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202923759,"filename":"image_31122025_18_24_24_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe0da1e4849bf4f1f515daba4d9057d7.jpg","text":"TemporaryFile(/tmp/multipartBody2739932703314408227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202923759,"filename":"image_31122025_18_24_44_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df3783319705d4493883e704f288f454.jpg","text":"TemporaryFile(/tmp/multipartBody6965978730448283860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202923759,"filename":"image_31122025_18_24_54_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919686","file1":"1401919685","file0":"1401919683","file4":"1401919690","file5":"1401919692","file3":"1401919688"},"map_files_photo_id_array":[{"photo_id":"1401919692","filename":"file5"},{"photo_id":"1401919686","filename":"file2"},{"photo_id":"1401919690","filename":"file4"},{"photo_id":"1401919685","filename":"file1"},{"photo_id":"1401919683","filename":"file0"},{"photo_id":"1401919688","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919692":["hashtag1","hashtag2"]},{"1401919686":["hashtag1","hashtag2"]},{"1401919683":["hashtag1","hashtag2"]},{"1401919685":["hashtag1","hashtag2"]},{"1401919688":["hashtag1","hashtag2"]},{"1401919690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919692, 1401919686, 1401919683, 1401919685, 1401919688, 1401919690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16820812225342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:41:42.601928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_21_2736.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_24_3504.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_33_9018.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_36_3114.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_38_1680.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_41_3225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_21_2736.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_24_3504.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_33_9018.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_36_3114.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_38_1680.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_41_3225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919714","1401919717","1401919716","1401919713","1401919715","1401919712"],"photo_ids_order":["1401919712","1401919713","1401919714","1401919715","1401919716","1401919717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a13dd112593aff0662c71d17c037fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7466726099170501609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202964474,"filename":"image_03112025_19_42_33_9018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/736189d9411c7898697110508a22471f.jpg","text":"TemporaryFile(/tmp/multipartBody8449902567181604346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202964474,"filename":"image_03112025_19_42_41_3225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1b31365c149b337966590d9ac35a3d5.jpg","text":"TemporaryFile(/tmp/multipartBody8452888141105303838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202964474,"filename":"image_03112025_19_42_38_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbd6e3aaaf9f7dcd4bb8e4d5131a01be.jpg","text":"TemporaryFile(/tmp/multipartBody4806303332045140217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202964474,"filename":"image_03112025_19_42_24_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d568177d36d5ea0ea1787b5d12685f9a.jpg","text":"TemporaryFile(/tmp/multipartBody1059825538623388994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202964474,"filename":"image_03112025_19_42_36_3114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b054c2e243e70197849ac547ed08513.jpg","text":"TemporaryFile(/tmp/multipartBody9043831274405813286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767202964474,"filename":"image_03112025_19_42_21_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919714","file1":"1401919713","file0":"1401919712","file4":"1401919716","file5":"1401919717","file3":"1401919715"},"map_files_photo_id_array":[{"photo_id":"1401919717","filename":"file5"},{"photo_id":"1401919714","filename":"file2"},{"photo_id":"1401919716","filename":"file4"},{"photo_id":"1401919713","filename":"file1"},{"photo_id":"1401919712","filename":"file0"},{"photo_id":"1401919715","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401919714":["hashtag1","hashtag2"]},{"1401919717":["hashtag1","hashtag2"]},{"1401919716":["hashtag1","hashtag2"]},{"1401919713":["hashtag1","hashtag2"]},{"1401919715":["hashtag1","hashtag2"]},{"1401919712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401919714, 1401919717, 1401919716, 1401919713, 1401919715, 1401919712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00054311752319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:42:22.758369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/25/image_31122025_18_25_34_9902.jpg', '/home/pi/Desktop/images/31122025/18/25/image_31122025_18_25_43_9608.jpg', '/home/pi/Desktop/images/31122025/18/25/image_31122025_18_25_53_9691.jpg', '/home/pi/Desktop/images/31122025/18/25/image_31122025_18_26_04_10781.jpg', '/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_14_9785.jpg', '/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_23_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/25/image_31122025_18_25_34_9902.jpg
/home/pi/Desktop/images/31122025/18/25/image_31122025_18_25_43_9608.jpg
/home/pi/Desktop/images/31122025/18/25/image_31122025_18_25_53_9691.jpg
/home/pi/Desktop/images/31122025/18/25/image_31122025_18_26_04_10781.jpg
/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_14_9785.jpg
/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_23_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919753","1401919726","1401919719","1401919721","1401919718","1401919723"],"photo_ids_order":["1401919718","1401919719","1401919721","1401919723","1401919726","1401919753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4d35f9868e486c712d47ec2cd00dc43.jpg","text":"TemporaryFile(/tmp/multipartBody7674816384885788666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203003350,"filename":"image_31122025_18_26_23_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d148793abb501f1d8b4739b406c6de8.jpg","text":"TemporaryFile(/tmp/multipartBody7091176878999392759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203003350,"filename":"image_31122025_18_26_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d012b5883316701fffb27a52b3864cb.jpg","text":"TemporaryFile(/tmp/multipartBody4930802506624433583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203003350,"filename":"image_31122025_18_25_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d11755160599c87e0f17b5f42de5321.jpg","text":"TemporaryFile(/tmp/multipartBody3204454099451647319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203003350,"filename":"image_31122025_18_25_53_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/140949009f49242f52b78bcdea8442b5.jpg","text":"TemporaryFile(/tmp/multipartBody3450058949825024995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203003350,"filename":"image_31122025_18_25_34_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad0a36cca969533724cb0fbd4a424281.jpg","text":"TemporaryFile(/tmp/multipartBody6020126926821105548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203003350,"filename":"image_31122025_18_26_04_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919721","file1":"1401919719","file0":"1401919718","file4":"1401919726","file5":"1401919753","file3":"1401919723"},"map_files_photo_id_array":[{"photo_id":"1401919753","filename":"file5"},{"photo_id":"1401919721","filename":"file2"},{"photo_id":"1401919726","filename":"file4"},{"photo_id":"1401919719","filename":"file1"},{"photo_id":"1401919718","filename":"file0"},{"photo_id":"1401919723","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919753":["hashtag1","hashtag2"]},{"1401919726":["hashtag1","hashtag2"]},{"1401919719":["hashtag1","hashtag2"]},{"1401919721":["hashtag1","hashtag2"]},{"1401919718":["hashtag1","hashtag2"]},{"1401919723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919753, 1401919726, 1401919719, 1401919721, 1401919718, 1401919723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12718725204468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:43:02.920266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_34_10610.jpg', '/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_44_9576.jpg', '/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_53_9619.jpg', '/home/pi/Desktop/images/31122025/18/26/image_31122025_18_27_04_10613.jpg', '/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_13_9690.jpg', '/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_23_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_34_10610.jpg
/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_44_9576.jpg
/home/pi/Desktop/images/31122025/18/26/image_31122025_18_26_53_9619.jpg
/home/pi/Desktop/images/31122025/18/26/image_31122025_18_27_04_10613.jpg
/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_13_9690.jpg
/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_23_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401919770","1401919773","1401919775","1401919772","1401919769","1401919771"],"photo_ids_order":["1401919769","1401919770","1401919771","1401919772","1401919773","1401919775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65c047cb913a3ad8c03b7daa95d835b4.jpg","text":"TemporaryFile(/tmp/multipartBody5608918057816346270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203043571,"filename":"image_31122025_18_26_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55099fab58866a525a8bc76767b05eef.jpg","text":"TemporaryFile(/tmp/multipartBody6493038350159371023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203043571,"filename":"image_31122025_18_27_13_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9aec23771eddfe571caf2551d1ef0ce7.jpg","text":"TemporaryFile(/tmp/multipartBody2998021044129698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203043571,"filename":"image_31122025_18_27_23_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/354ddc01957ab44317b45397e62dd832.jpg","text":"TemporaryFile(/tmp/multipartBody7661389725777704231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203043571,"filename":"image_31122025_18_27_04_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ddace6a7dbd13d9ebc64e9bca71f1fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3902326978162001319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203043571,"filename":"image_31122025_18_26_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6115f1be6e9b37ab4c4543b2f756495e.jpg","text":"TemporaryFile(/tmp/multipartBody4779382561352943223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203043571,"filename":"image_31122025_18_26_53_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919771","file1":"1401919770","file0":"1401919769","file4":"1401919773","file5":"1401919775","file3":"1401919772"},"map_files_photo_id_array":[{"photo_id":"1401919775","filename":"file5"},{"photo_id":"1401919771","filename":"file2"},{"photo_id":"1401919773","filename":"file4"},{"photo_id":"1401919770","filename":"file1"},{"photo_id":"1401919769","filename":"file0"},{"photo_id":"1401919772","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401919770":["hashtag1","hashtag2"]},{"1401919773":["hashtag1","hashtag2"]},{"1401919775":["hashtag1","hashtag2"]},{"1401919772":["hashtag1","hashtag2"]},{"1401919769":["hashtag1","hashtag2"]},{"1401919771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401919770, 1401919773, 1401919775, 1401919772, 1401919769, 1401919771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60924172401428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:43:42.285420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_43_1666.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_45_1784.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_46_1690.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_48_1703.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_51_2715.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_54_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_43_1666.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_45_1784.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_46_1690.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_48_1703.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_51_2715.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_54_3710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920092","1401920003","1401919930","1401919803","1401920052","1401919856"],"photo_ids_order":["1401919803","1401919856","1401919930","1401920003","1401920052","1401920092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/267ad290a85d62e2000a2a67f74cd4e3.jpg","text":"TemporaryFile(/tmp/multipartBody3958140094006435899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203084005,"filename":"image_03112025_19_42_54_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dccc548eb87db078ceca4380a601694.jpg","text":"TemporaryFile(/tmp/multipartBody1128618532271453983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203084005,"filename":"image_03112025_19_42_48_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a92ce0f4bc0e81deabc8c46d58628da.jpg","text":"TemporaryFile(/tmp/multipartBody8673806055496759463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203084005,"filename":"image_03112025_19_42_46_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75a022562a306729fd7f8af664308fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7003505888194062462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203084005,"filename":"image_03112025_19_42_43_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71aacf662569fc97b131857f9175019b.jpg","text":"TemporaryFile(/tmp/multipartBody7426282896216063539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203084005,"filename":"image_03112025_19_42_51_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b9083c612a10e54b02d44b9b75f738e.jpg","text":"TemporaryFile(/tmp/multipartBody8170156979549962315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203084005,"filename":"image_03112025_19_42_45_1784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401919930","file1":"1401919856","file0":"1401919803","file4":"1401920052","file5":"1401920092","file3":"1401920003"},"map_files_photo_id_array":[{"photo_id":"1401920092","filename":"file5"},{"photo_id":"1401919930","filename":"file2"},{"photo_id":"1401920052","filename":"file4"},{"photo_id":"1401919856","filename":"file1"},{"photo_id":"1401919803","filename":"file0"},{"photo_id":"1401920003","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401920092":["hashtag1","hashtag2"]},{"1401920003":["hashtag1","hashtag2"]},{"1401919930":["hashtag1","hashtag2"]},{"1401919803":["hashtag1","hashtag2"]},{"1401920052":["hashtag1","hashtag2"]},{"1401919856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401920092, 1401920003, 1401919930, 1401919803, 1401920052, 1401919856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17529797554016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:44:22.551990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_34_10619.jpg', '/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_43_9595.jpg', '/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_54_10588.jpg', '/home/pi/Desktop/images/31122025/18/27/image_31122025_18_28_04_9575.jpg', '/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_13_9603.jpg', '/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_24_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_34_10619.jpg
/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_43_9595.jpg
/home/pi/Desktop/images/31122025/18/27/image_31122025_18_27_54_10588.jpg
/home/pi/Desktop/images/31122025/18/27/image_31122025_18_28_04_9575.jpg
/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_13_9603.jpg
/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_24_10692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920134","1401920128","1401920125","1401920130","1401920147","1401920132"],"photo_ids_order":["1401920125","1401920128","1401920130","1401920132","1401920134","1401920147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/680c609397bf073d6927b150791191d5.jpg","text":"TemporaryFile(/tmp/multipartBody620807109612555598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203123124,"filename":"image_31122025_18_28_13_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5e7815abb0b89632a4173ca71e6f1e8.jpg","text":"TemporaryFile(/tmp/multipartBody6575601421144989087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203123124,"filename":"image_31122025_18_27_43_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc8522711cb2b83659342e954c45848a.jpg","text":"TemporaryFile(/tmp/multipartBody1466993356169137349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203123124,"filename":"image_31122025_18_27_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12a9fbc3d3a1ddd311a3eceb74fbd366.jpg","text":"TemporaryFile(/tmp/multipartBody1446143080623437264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203123124,"filename":"image_31122025_18_27_54_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/448c9b247451d80cafbee19a0dfcfa13.jpg","text":"TemporaryFile(/tmp/multipartBody1723297395311797621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203123124,"filename":"image_31122025_18_28_24_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc4b9451ae1101dde35ba9f6a2faba72.jpg","text":"TemporaryFile(/tmp/multipartBody7762854540343209090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203123124,"filename":"image_31122025_18_28_04_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920130","file1":"1401920128","file0":"1401920125","file4":"1401920134","file5":"1401920147","file3":"1401920132"},"map_files_photo_id_array":[{"photo_id":"1401920147","filename":"file5"},{"photo_id":"1401920130","filename":"file2"},{"photo_id":"1401920134","filename":"file4"},{"photo_id":"1401920128","filename":"file1"},{"photo_id":"1401920125","filename":"file0"},{"photo_id":"1401920132","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401920134":["hashtag1","hashtag2"]},{"1401920128":["hashtag1","hashtag2"]},{"1401920125":["hashtag1","hashtag2"]},{"1401920130":["hashtag1","hashtag2"]},{"1401920147":["hashtag1","hashtag2"]},{"1401920132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401920134, 1401920128, 1401920125, 1401920130, 1401920147, 1401920132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.682154417037964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:45:03.340394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_34_9661.jpg', '/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_43_9746.jpg', '/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_54_10664.jpg', '/home/pi/Desktop/images/31122025/18/28/image_31122025_18_29_04_9658.jpg', '/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_13_9636.jpg', '/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_23_9909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_34_9661.jpg
/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_43_9746.jpg
/home/pi/Desktop/images/31122025/18/28/image_31122025_18_28_54_10664.jpg
/home/pi/Desktop/images/31122025/18/28/image_31122025_18_29_04_9658.jpg
/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_13_9636.jpg
/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_23_9909.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920290","1401920293","1401920260","1401920238","1401920291","1401920237"],"photo_ids_order":["1401920237","1401920238","1401920260","1401920290","1401920291","1401920293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/592286869b5fda3a35eb4108dece3d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4418443010408016725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203163981,"filename":"image_31122025_18_29_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3b0ee022a0682cc3dab47ccfa6dff0d.jpg","text":"TemporaryFile(/tmp/multipartBody667266465623384344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203163981,"filename":"image_31122025_18_29_23_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d90bfabeca9fbed48c07d6198c9a5775.jpg","text":"TemporaryFile(/tmp/multipartBody125159415604359887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203163981,"filename":"image_31122025_18_28_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfc7b06fea78126aa52acd4ace5e9540.jpg","text":"TemporaryFile(/tmp/multipartBody2382841966734285850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203163981,"filename":"image_31122025_18_28_43_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e88fccedefbe12d68e170c5d7eb0c65b.jpg","text":"TemporaryFile(/tmp/multipartBody6970654834665100119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203163981,"filename":"image_31122025_18_29_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0da3d4137c1c65dc97445c044778357.jpg","text":"TemporaryFile(/tmp/multipartBody432248480967049791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203163981,"filename":"image_31122025_18_28_34_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920260","file1":"1401920238","file0":"1401920237","file4":"1401920291","file5":"1401920293","file3":"1401920290"},"map_files_photo_id_array":[{"photo_id":"1401920293","filename":"file5"},{"photo_id":"1401920260","filename":"file2"},{"photo_id":"1401920291","filename":"file4"},{"photo_id":"1401920238","filename":"file1"},{"photo_id":"1401920237","filename":"file0"},{"photo_id":"1401920290","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401920290":["hashtag1","hashtag2"]},{"1401920293":["hashtag1","hashtag2"]},{"1401920260":["hashtag1","hashtag2"]},{"1401920238":["hashtag1","hashtag2"]},{"1401920291":["hashtag1","hashtag2"]},{"1401920237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401920290, 1401920293, 1401920260, 1401920238, 1401920291, 1401920237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.653250217437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:45:42.682916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_57_2570.jpg', '/home/pi/Desktop/images/03112025/19/42/image_03112025_19_43_00_2634.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_03_3740.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_06_2528.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_09_2657.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_12_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_42_57_2570.jpg
/home/pi/Desktop/images/03112025/19/42/image_03112025_19_43_00_2634.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_03_3740.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_06_2528.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_09_2657.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_12_3756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920300","1401920356","1401920302","1401920319","1401920304","1401920303"],"photo_ids_order":["1401920300","1401920302","1401920303","1401920304","1401920319","1401920356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd574dc9d7c99360ffd0f944e01a79cd.jpg","text":"TemporaryFile(/tmp/multipartBody544058844615302571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203204541,"filename":"image_03112025_19_42_57_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc3db5f1acf2fecda8fc8ad0af5e1034.jpg","text":"TemporaryFile(/tmp/multipartBody2836825843090208599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203204541,"filename":"image_03112025_19_43_12_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d0a0d8d82d0284f2eba1e6e3c2f5402.jpg","text":"TemporaryFile(/tmp/multipartBody4553021574385819832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203204541,"filename":"image_03112025_19_43_00_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3a9a4435cc25975d90a7e9eb225b178.jpg","text":"TemporaryFile(/tmp/multipartBody7704911327043182843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203204541,"filename":"image_03112025_19_43_09_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/330690f85476ec829c5d8a304b5c4bb0.jpg","text":"TemporaryFile(/tmp/multipartBody3232417913475505545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203204541,"filename":"image_03112025_19_43_06_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/deaf85707a1cd070eb8975c23ac57ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2610911311831432500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203204541,"filename":"image_03112025_19_43_03_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920303","file1":"1401920302","file0":"1401920300","file4":"1401920319","file5":"1401920356","file3":"1401920304"},"map_files_photo_id_array":[{"photo_id":"1401920356","filename":"file5"},{"photo_id":"1401920303","filename":"file2"},{"photo_id":"1401920319","filename":"file4"},{"photo_id":"1401920302","filename":"file1"},{"photo_id":"1401920300","filename":"file0"},{"photo_id":"1401920304","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401920300":["hashtag1","hashtag2"]},{"1401920356":["hashtag1","hashtag2"]},{"1401920302":["hashtag1","hashtag2"]},{"1401920319":["hashtag1","hashtag2"]},{"1401920304":["hashtag1","hashtag2"]},{"1401920303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401920300, 1401920356, 1401920302, 1401920319, 1401920304, 1401920303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.439789056777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:46:21.853479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_34_10617.jpg', '/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_43_9675.jpg', '/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_53_9592.jpg', '/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_14_10049.jpg', '/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_24_10417.jpg', '/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_34_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_34_10617.jpg
/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_43_9675.jpg
/home/pi/Desktop/images/31122025/18/29/image_31122025_18_29_53_9592.jpg
/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_14_10049.jpg
/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_24_10417.jpg
/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_34_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920458","1401920460","1401920454","1401920465","1401920462","1401920456"],"photo_ids_order":["1401920454","1401920456","1401920458","1401920460","1401920462","1401920465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/673669fface2b8baca559565bf01eeea.jpg","text":"TemporaryFile(/tmp/multipartBody6782352628903641482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203242484,"filename":"image_31122025_18_29_53_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8efaa7c5dbebd815358f48bb0ca5cd82.jpg","text":"TemporaryFile(/tmp/multipartBody1434746946024807527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203242484,"filename":"image_31122025_18_31_14_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d68da351e7282133d24ea8df8b0c7b9.jpg","text":"TemporaryFile(/tmp/multipartBody6305563460138343823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203242484,"filename":"image_31122025_18_29_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adfd6dbba90dc47a350d2f0d05789096.jpg","text":"TemporaryFile(/tmp/multipartBody6607302850389016829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203242484,"filename":"image_31122025_18_31_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70c7f5c662c6c40dfa8bc76e1ac725e4.jpg","text":"TemporaryFile(/tmp/multipartBody4281848724656441920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203242484,"filename":"image_31122025_18_31_24_10417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fbe057daf2914f4a04ac7da01cc8565.jpg","text":"TemporaryFile(/tmp/multipartBody4288493032492841245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203242484,"filename":"image_31122025_18_29_43_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920458","file1":"1401920456","file0":"1401920454","file4":"1401920462","file5":"1401920465","file3":"1401920460"},"map_files_photo_id_array":[{"photo_id":"1401920465","filename":"file5"},{"photo_id":"1401920458","filename":"file2"},{"photo_id":"1401920462","filename":"file4"},{"photo_id":"1401920456","filename":"file1"},{"photo_id":"1401920454","filename":"file0"},{"photo_id":"1401920460","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401920458":["hashtag1","hashtag2"]},{"1401920460":["hashtag1","hashtag2"]},{"1401920454":["hashtag1","hashtag2"]},{"1401920465":["hashtag1","hashtag2"]},{"1401920462":["hashtag1","hashtag2"]},{"1401920456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401920458, 1401920460, 1401920454, 1401920465, 1401920462, 1401920456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27548956871033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:47:02.833645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_45_10611.jpg', '/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_54_9723.jpg', '/home/pi/Desktop/images/31122025/18/31/image_31122025_18_32_04_9663.jpg', '/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_15_10615.jpg', '/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_25_10147.jpg', '/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_34_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_45_10611.jpg
/home/pi/Desktop/images/31122025/18/31/image_31122025_18_31_54_9723.jpg
/home/pi/Desktop/images/31122025/18/31/image_31122025_18_32_04_9663.jpg
/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_15_10615.jpg
/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_25_10147.jpg
/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920482","1401920473","1401920467","1401920469","1401920471","1401920468"],"photo_ids_order":["1401920467","1401920468","1401920469","1401920471","1401920473","1401920482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d48d119262d2092209295464e6f34a2.jpg","text":"TemporaryFile(/tmp/multipartBody4275388902350314674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203283574,"filename":"image_31122025_18_32_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecdcfa24a13340480eeea78cc29c1c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3059142172063711684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203283574,"filename":"image_31122025_18_32_25_10147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a315c505ecbd35e95b662e9ec5a8f48.jpg","text":"TemporaryFile(/tmp/multipartBody5443877406930300340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203283574,"filename":"image_31122025_18_31_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edfeeada26aded4eb851994ce6160510.jpg","text":"TemporaryFile(/tmp/multipartBody6471997775745548022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203283574,"filename":"image_31122025_18_32_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c18ea3e2725f3d9f5645018cefc58f8.jpg","text":"TemporaryFile(/tmp/multipartBody5802997208799809954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203283574,"filename":"image_31122025_18_32_15_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf1fa68ae28fb16b65d09a8fde613031.jpg","text":"TemporaryFile(/tmp/multipartBody6542050016810363626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203283574,"filename":"image_31122025_18_31_54_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920469","file1":"1401920468","file0":"1401920467","file4":"1401920473","file5":"1401920482","file3":"1401920471"},"map_files_photo_id_array":[{"photo_id":"1401920482","filename":"file5"},{"photo_id":"1401920469","filename":"file2"},{"photo_id":"1401920473","filename":"file4"},{"photo_id":"1401920468","filename":"file1"},{"photo_id":"1401920467","filename":"file0"},{"photo_id":"1401920471","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401920482":["hashtag1","hashtag2"]},{"1401920473":["hashtag1","hashtag2"]},{"1401920467":["hashtag1","hashtag2"]},{"1401920469":["hashtag1","hashtag2"]},{"1401920471":["hashtag1","hashtag2"]},{"1401920468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401920482, 1401920473, 1401920467, 1401920469, 1401920471, 1401920468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566713094711304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:47:42.137085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_15_2584.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_37_22386.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_39_1727.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_41_1655.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_43_2615.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_45_1705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_15_2584.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_37_22386.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_39_1727.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_41_1655.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_43_2615.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_45_1705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920539","1401920535","1401920538","1401920495","1401920540","1401920537"],"photo_ids_order":["1401920495","1401920535","1401920537","1401920538","1401920539","1401920540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c537ef5fd783d7451f54f6c38cca9d4.jpg","text":"TemporaryFile(/tmp/multipartBody199626668798931918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203323958,"filename":"image_03112025_19_43_43_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46c0b4f603115cd48fa132587e804eab.jpg","text":"TemporaryFile(/tmp/multipartBody2626160464980161644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203323958,"filename":"image_03112025_19_43_37_22386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02dbafb30ba039ca7940f30d1d7eab3f.jpg","text":"TemporaryFile(/tmp/multipartBody4256252551407860699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203323958,"filename":"image_03112025_19_43_41_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e71b8d9a596e16580013de61e5e51d88.jpg","text":"TemporaryFile(/tmp/multipartBody6755185089770290152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203323958,"filename":"image_03112025_19_43_15_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66f3dbe70cb54b3efcacca9881067e7e.jpg","text":"TemporaryFile(/tmp/multipartBody6565144887463711098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203323958,"filename":"image_03112025_19_43_45_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/979a5071e14305534a07fb630af8606b.jpg","text":"TemporaryFile(/tmp/multipartBody4661118929020784512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203323958,"filename":"image_03112025_19_43_39_1727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920537","file1":"1401920535","file0":"1401920495","file4":"1401920539","file5":"1401920540","file3":"1401920538"},"map_files_photo_id_array":[{"photo_id":"1401920540","filename":"file5"},{"photo_id":"1401920537","filename":"file2"},{"photo_id":"1401920539","filename":"file4"},{"photo_id":"1401920535","filename":"file1"},{"photo_id":"1401920495","filename":"file0"},{"photo_id":"1401920538","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401920539":["hashtag1","hashtag2"]},{"1401920535":["hashtag1","hashtag2"]},{"1401920538":["hashtag1","hashtag2"]},{"1401920495":["hashtag1","hashtag2"]},{"1401920540":["hashtag1","hashtag2"]},{"1401920537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401920539, 1401920535, 1401920538, 1401920495, 1401920540, 1401920537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27485752105713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:48:22.311764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_44_9749.jpg', '/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_54_9730.jpg', '/home/pi/Desktop/images/31122025/18/32/image_31122025_18_33_04_10632.jpg', '/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_14_9693.jpg', '/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_25_10666.jpg', '/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_35_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_44_9749.jpg
/home/pi/Desktop/images/31122025/18/32/image_31122025_18_32_54_9730.jpg
/home/pi/Desktop/images/31122025/18/32/image_31122025_18_33_04_10632.jpg
/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_14_9693.jpg
/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_25_10666.jpg
/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_35_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920548","1401920550","1401920544","1401920552","1401920546","1401920543"],"photo_ids_order":["1401920543","1401920544","1401920546","1401920548","1401920550","1401920552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ea3de45bfb1470a910b7fdf62cf7bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5032496733412794107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203362963,"filename":"image_31122025_18_33_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/579bc1053030e2afc02e6b0bcef2effa.jpg","text":"TemporaryFile(/tmp/multipartBody8842978384908629740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203362963,"filename":"image_31122025_18_33_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b53dba23d91bd1a83a5c0b53222abd5d.jpg","text":"TemporaryFile(/tmp/multipartBody8481828640795546514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203362963,"filename":"image_31122025_18_32_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fedd195d88eeaefa8801e6daaf188a7.jpg","text":"TemporaryFile(/tmp/multipartBody3117990579115129262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203362963,"filename":"image_31122025_18_33_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36ba03703f4f65e63c8c65cdb0c445fb.jpg","text":"TemporaryFile(/tmp/multipartBody1037368349284473235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203362963,"filename":"image_31122025_18_33_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0fa446201fc1b0985ef07e2f5482244.jpg","text":"TemporaryFile(/tmp/multipartBody5431505836024708223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203362963,"filename":"image_31122025_18_32_44_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920546","file1":"1401920544","file0":"1401920543","file4":"1401920550","file5":"1401920552","file3":"1401920548"},"map_files_photo_id_array":[{"photo_id":"1401920552","filename":"file5"},{"photo_id":"1401920546","filename":"file2"},{"photo_id":"1401920550","filename":"file4"},{"photo_id":"1401920544","filename":"file1"},{"photo_id":"1401920543","filename":"file0"},{"photo_id":"1401920548","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401920548":["hashtag1","hashtag2"]},{"1401920550":["hashtag1","hashtag2"]},{"1401920544":["hashtag1","hashtag2"]},{"1401920552":["hashtag1","hashtag2"]},{"1401920546":["hashtag1","hashtag2"]},{"1401920543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401920548, 1401920550, 1401920544, 1401920552, 1401920546, 1401920543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.842061281204224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:49:03.288167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_44_9803.jpg', '/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_54_9838.jpg', '/home/pi/Desktop/images/31122025/18/33/image_31122025_18_34_04_10303.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_14_9578.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_24_9891.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_35_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_44_9803.jpg
/home/pi/Desktop/images/31122025/18/33/image_31122025_18_33_54_9838.jpg
/home/pi/Desktop/images/31122025/18/33/image_31122025_18_34_04_10303.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_14_9578.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_24_9891.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_35_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920563","1401920554","1401920565","1401920553","1401920567","1401920555"],"photo_ids_order":["1401920553","1401920554","1401920555","1401920563","1401920565","1401920567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15ac04e854a8a73f21310a6ff0b77f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6411433682373033632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203404143,"filename":"image_31122025_18_34_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3410b5bba5f6a70264fd9c92b94dc4d2.jpg","text":"TemporaryFile(/tmp/multipartBody9157451770043558276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203404143,"filename":"image_31122025_18_33_54_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b29c0a2f6a931109ff6211259cea01a.jpg","text":"TemporaryFile(/tmp/multipartBody2545878090143192433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203404143,"filename":"image_31122025_18_34_24_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ef665ed48a8c4237b14fb136a10528c.jpg","text":"TemporaryFile(/tmp/multipartBody3885339350695048237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203404143,"filename":"image_31122025_18_33_44_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f57aeb72aa2f5bb36b7514c47bc00115.jpg","text":"TemporaryFile(/tmp/multipartBody7710902631801299881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203404143,"filename":"image_31122025_18_34_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2140f301e4783d29281bce77949a4f1.jpg","text":"TemporaryFile(/tmp/multipartBody8420023705845384082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203404143,"filename":"image_31122025_18_34_04_10303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920555","file1":"1401920554","file0":"1401920553","file4":"1401920565","file5":"1401920567","file3":"1401920563"},"map_files_photo_id_array":[{"photo_id":"1401920567","filename":"file5"},{"photo_id":"1401920555","filename":"file2"},{"photo_id":"1401920565","filename":"file4"},{"photo_id":"1401920554","filename":"file1"},{"photo_id":"1401920553","filename":"file0"},{"photo_id":"1401920563","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401920563":["hashtag1","hashtag2"]},{"1401920554":["hashtag1","hashtag2"]},{"1401920565":["hashtag1","hashtag2"]},{"1401920553":["hashtag1","hashtag2"]},{"1401920567":["hashtag1","hashtag2"]},{"1401920555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401920563, 1401920554, 1401920565, 1401920553, 1401920567, 1401920555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98139476776123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:49:42.565556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_47_1652.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_48_1629.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_50_1636.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_52_1682.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_53_1557.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_55_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_47_1652.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_48_1629.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_50_1636.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_52_1682.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_53_1557.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_55_1627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920581","1401920575","1401920578","1401920577","1401920576","1401920573"],"photo_ids_order":["1401920573","1401920575","1401920576","1401920577","1401920578","1401920581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad838e87d5383b0625a26ec0464315c8.jpg","text":"TemporaryFile(/tmp/multipartBody3243591147464596843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203444400,"filename":"image_03112025_19_43_55_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fe7a70d07afdcd0c76e9fd466d13892.jpg","text":"TemporaryFile(/tmp/multipartBody5445538558112647454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203444400,"filename":"image_03112025_19_43_48_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d0e9a7c7a5609d32f8d492f3d4087f9.jpg","text":"TemporaryFile(/tmp/multipartBody4738090632543062201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203444400,"filename":"image_03112025_19_43_53_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/881ca5d7ae7be22789a68791f9754fd3.jpg","text":"TemporaryFile(/tmp/multipartBody219934703941298168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203444400,"filename":"image_03112025_19_43_52_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6ff9fd95e7dc4836f7263f7710bad8a.jpg","text":"TemporaryFile(/tmp/multipartBody3677783730186115220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203444400,"filename":"image_03112025_19_43_50_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8d0a8b19084e4ff6ac32c413d0809a8.jpg","text":"TemporaryFile(/tmp/multipartBody828498383542123376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203444400,"filename":"image_03112025_19_43_47_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920576","file1":"1401920575","file0":"1401920573","file4":"1401920578","file5":"1401920581","file3":"1401920577"},"map_files_photo_id_array":[{"photo_id":"1401920581","filename":"file5"},{"photo_id":"1401920576","filename":"file2"},{"photo_id":"1401920578","filename":"file4"},{"photo_id":"1401920575","filename":"file1"},{"photo_id":"1401920573","filename":"file0"},{"photo_id":"1401920577","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401920581":["hashtag1","hashtag2"]},{"1401920575":["hashtag1","hashtag2"]},{"1401920578":["hashtag1","hashtag2"]},{"1401920577":["hashtag1","hashtag2"]},{"1401920576":["hashtag1","hashtag2"]},{"1401920573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401920581, 1401920575, 1401920578, 1401920577, 1401920576, 1401920573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.716062784194946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:50:22.736860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_44_9791.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_54_9771.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_35_04_9844.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_14_9778.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_25_10978.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_35_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_44_9791.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_54_9771.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_35_04_9844.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_14_9778.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_25_10978.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_35_9710.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5600063800811768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:50:32.743734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_57_1968.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_58_1561.jpg', '/home/pi/Desktop/images/03112025/19/43/image_03112025_19_44_00_1535.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_01_1600.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_03_1605.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_06_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_57_1968.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_43_58_1561.jpg
/home/pi/Desktop/images/03112025/19/43/image_03112025_19_44_00_1535.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_01_1600.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_03_1605.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_06_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920596","1401920590","1401920605","1401920586","1401920588","1401920600"],"photo_ids_order":["1401920586","1401920588","1401920590","1401920596","1401920600","1401920605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5645e38b7378ebe2532674482539e2ee.jpg","text":"TemporaryFile(/tmp/multipartBody5931562582475829976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203494575,"filename":"image_03112025_19_44_01_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc9e13ca6f4e29b2b14430e52dc50f3d.jpg","text":"TemporaryFile(/tmp/multipartBody435490306379946732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203494575,"filename":"image_03112025_19_44_00_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4235f2dfabc2e4d031735d63cac56910.jpg","text":"TemporaryFile(/tmp/multipartBody5699830318885634401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203494575,"filename":"image_03112025_19_44_06_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dcc860b11f7852c83b07a615154fed25.jpg","text":"TemporaryFile(/tmp/multipartBody6919388855455313435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203494575,"filename":"image_03112025_19_43_57_1968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d3baf770216c0885d0ac8d67abcce39.jpg","text":"TemporaryFile(/tmp/multipartBody710299547221676956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203494575,"filename":"image_03112025_19_43_58_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6c17df619684678b5ca0596964f3f7b.jpg","text":"TemporaryFile(/tmp/multipartBody4391069512329064488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203494575,"filename":"image_03112025_19_44_03_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920590","file1":"1401920588","file0":"1401920586","file4":"1401920600","file5":"1401920605","file3":"1401920596"},"map_files_photo_id_array":[{"photo_id":"1401920605","filename":"file5"},{"photo_id":"1401920590","filename":"file2"},{"photo_id":"1401920600","filename":"file4"},{"photo_id":"1401920588","filename":"file1"},{"photo_id":"1401920586","filename":"file0"},{"photo_id":"1401920596","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401920596":["hashtag1","hashtag2"]},{"1401920590":["hashtag1","hashtag2"]},{"1401920605":["hashtag1","hashtag2"]},{"1401920586":["hashtag1","hashtag2"]},{"1401920588":["hashtag1","hashtag2"]},{"1401920600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401920596, 1401920590, 1401920605, 1401920586, 1401920588, 1401920600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.059680461883545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:51:11.943570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_09_3642.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_12_2632.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_15_2655.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_19_4827.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_21_1691.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_25_4198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_09_3642.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_12_2632.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_15_2655.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_19_4827.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_21_1691.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_25_4198.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401920677","1401920644","1401920763","1401920715","1401920616","1401920615"],"photo_ids_order":["1401920615","1401920616","1401920644","1401920677","1401920715","1401920763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c403d8afeff27ff1551098d63b748ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1283039282899620597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203533666,"filename":"image_03112025_19_44_19_4827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/517783d7e08503a48f7410191ff0b384.jpg","text":"TemporaryFile(/tmp/multipartBody2002046703763701314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203533666,"filename":"image_03112025_19_44_15_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/521848b43647cea3ff0e04a661dc7977.jpg","text":"TemporaryFile(/tmp/multipartBody5192757059497203782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203533666,"filename":"image_03112025_19_44_25_4198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b38c284ccb21b3079a54a84b435b24c6.jpg","text":"TemporaryFile(/tmp/multipartBody5253291401634939857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203533666,"filename":"image_03112025_19_44_21_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7463ab2fb82575e4a9aa2e59c26abe23.jpg","text":"TemporaryFile(/tmp/multipartBody688469794709996650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203533666,"filename":"image_03112025_19_44_12_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b757e6c0987f36d1386719523067bf69.jpg","text":"TemporaryFile(/tmp/multipartBody8321127987676979484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203533666,"filename":"image_03112025_19_44_09_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401920644","file1":"1401920616","file0":"1401920615","file4":"1401920715","file5":"1401920763","file3":"1401920677"},"map_files_photo_id_array":[{"photo_id":"1401920763","filename":"file5"},{"photo_id":"1401920644","filename":"file2"},{"photo_id":"1401920715","filename":"file4"},{"photo_id":"1401920616","filename":"file1"},{"photo_id":"1401920615","filename":"file0"},{"photo_id":"1401920677","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401920677":["hashtag1","hashtag2"]},{"1401920644":["hashtag1","hashtag2"]},{"1401920763":["hashtag1","hashtag2"]},{"1401920715":["hashtag1","hashtag2"]},{"1401920616":["hashtag1","hashtag2"]},{"1401920615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401920677, 1401920644, 1401920763, 1401920715, 1401920616, 1401920615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69881558418274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:52:02.572724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_44_9791.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_54_9771.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_35_04_9844.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_14_9778.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_25_10978.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_35_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_44_9791.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_54_9771.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_35_04_9844.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_14_9778.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_25_10978.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_35_9710.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5925624370574951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:52:12.089471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_27_1791.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_31_4052.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_33_1564.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_37_4284.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_39_1742.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_41_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_27_1791.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_31_4052.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_33_1564.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_37_4284.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_39_1742.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_41_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921214","1401921162","1401921182","1401921194","1401921184","1401921172"],"photo_ids_order":["1401921162","1401921172","1401921182","1401921184","1401921194","1401921214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d29bd1f1e1bf42d2f42fa44e6eabe92b.jpg","text":"TemporaryFile(/tmp/multipartBody8488305024113498322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203593844,"filename":"image_03112025_19_44_41_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20346da676e3cea6f44ae202c8209bb2.jpg","text":"TemporaryFile(/tmp/multipartBody4886479598928097648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203593844,"filename":"image_03112025_19_44_27_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65173ea5f7501256df982bf5d10a3f18.jpg","text":"TemporaryFile(/tmp/multipartBody8903224941329686837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203593844,"filename":"image_03112025_19_44_33_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bbb544a2224ac4e1ae128e2f28355f6.jpg","text":"TemporaryFile(/tmp/multipartBody8424830296220962664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203593844,"filename":"image_03112025_19_44_39_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9ebcdb62cfe7cf286ff4b6c089c40e2.jpg","text":"TemporaryFile(/tmp/multipartBody534715137221051385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203593844,"filename":"image_03112025_19_44_37_4284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/406dfd64247f798b3cc2a7914acfeb2e.jpg","text":"TemporaryFile(/tmp/multipartBody2169582343762573746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203593844,"filename":"image_03112025_19_44_31_4052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921182","file1":"1401921172","file0":"1401921162","file4":"1401921194","file5":"1401921214","file3":"1401921184"},"map_files_photo_id_array":[{"photo_id":"1401921214","filename":"file5"},{"photo_id":"1401921182","filename":"file2"},{"photo_id":"1401921194","filename":"file4"},{"photo_id":"1401921172","filename":"file1"},{"photo_id":"1401921162","filename":"file0"},{"photo_id":"1401921184","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401921214":["hashtag1","hashtag2"]},{"1401921162":["hashtag1","hashtag2"]},{"1401921182":["hashtag1","hashtag2"]},{"1401921194":["hashtag1","hashtag2"]},{"1401921184":["hashtag1","hashtag2"]},{"1401921172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401921214, 1401921162, 1401921182, 1401921194, 1401921184, 1401921172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60264611244202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:53:02.843864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_44_9791.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_54_9771.jpg', '/home/pi/Desktop/images/31122025/18/34/image_31122025_18_35_04_9844.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_14_9778.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_25_10978.jpg', '/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_35_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_44_9791.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_34_54_9771.jpg
/home/pi/Desktop/images/31122025/18/34/image_31122025_18_35_04_9844.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_14_9778.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_25_10978.jpg
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_35_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921226","1401921220","1401921223","1401921219","1401921221","1401921224"],"photo_ids_order":["1401921219","1401921220","1401921221","1401921223","1401921224","1401921226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6895684dfe0524356a8fbf10f3bfc824.jpg","text":"TemporaryFile(/tmp/multipartBody805302772256763093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203643638,"filename":"image_31122025_18_35_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf1f68e87b43e361744d4d74912d13a3.jpg","text":"TemporaryFile(/tmp/multipartBody3205990661807770928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203643638,"filename":"image_31122025_18_34_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e76664b42b9f3f059e2cab884fff6b65.jpg","text":"TemporaryFile(/tmp/multipartBody1134414719691053359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203643638,"filename":"image_31122025_18_35_14_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22d00bf01d4861211ff256ec9869ef97.jpg","text":"TemporaryFile(/tmp/multipartBody5733426707193710678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203643638,"filename":"image_31122025_18_34_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b53880d4db4111a89527eea7529c4c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3647154956402344319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203643638,"filename":"image_31122025_18_35_04_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/177ee0bd6788ab8849b90478f1024c6d.jpg","text":"TemporaryFile(/tmp/multipartBody9197035787603488325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203643638,"filename":"image_31122025_18_35_25_10978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921221","file1":"1401921220","file0":"1401921219","file4":"1401921224","file5":"1401921226","file3":"1401921223"},"map_files_photo_id_array":[{"photo_id":"1401921226","filename":"file5"},{"photo_id":"1401921221","filename":"file2"},{"photo_id":"1401921224","filename":"file4"},{"photo_id":"1401921220","filename":"file1"},{"photo_id":"1401921219","filename":"file0"},{"photo_id":"1401921223","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401921226":["hashtag1","hashtag2"]},{"1401921220":["hashtag1","hashtag2"]},{"1401921223":["hashtag1","hashtag2"]},{"1401921219":["hashtag1","hashtag2"]},{"1401921221":["hashtag1","hashtag2"]},{"1401921224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401921226, 1401921220, 1401921223, 1401921219, 1401921221, 1401921224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4295597076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:53:42.542648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_45_3581.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_54_9592.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_56_1647.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_58_1560.jpg', '/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_59_1638.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_01_1664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_45_3581.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_54_9592.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_56_1647.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_58_1560.jpg
/home/pi/Desktop/images/03112025/19/44/image_03112025_19_44_59_1638.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_01_1664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921241","1401921240","1401921237","1401921233","1401921239","1401921238"],"photo_ids_order":["1401921233","1401921237","1401921238","1401921239","1401921240","1401921241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5da97a2b456f5c8561bdb272f02f4a3.jpg","text":"TemporaryFile(/tmp/multipartBody2459962941878917600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203684386,"filename":"image_03112025_19_45_01_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b2c2f95860e6e4d82f1ddfbf140a981.jpg","text":"TemporaryFile(/tmp/multipartBody5746630639900937174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203684386,"filename":"image_03112025_19_44_59_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76d14e565359717523950c4daf4c7a04.jpg","text":"TemporaryFile(/tmp/multipartBody4181300407376143667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203684386,"filename":"image_03112025_19_44_54_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e3a6bac6dfcdaa8934ddfdeb5b0fec2.jpg","text":"TemporaryFile(/tmp/multipartBody7265921511273441186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203684386,"filename":"image_03112025_19_44_45_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f82ba979e871c4b25dd81f43ddca36d.jpg","text":"TemporaryFile(/tmp/multipartBody7880738591232764371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203684386,"filename":"image_03112025_19_44_58_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da5709fbdfbfa749dacd3a7bf39ecec8.jpg","text":"TemporaryFile(/tmp/multipartBody1484560172587577048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203684386,"filename":"image_03112025_19_44_56_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921238","file1":"1401921237","file0":"1401921233","file4":"1401921240","file5":"1401921241","file3":"1401921239"},"map_files_photo_id_array":[{"photo_id":"1401921241","filename":"file5"},{"photo_id":"1401921238","filename":"file2"},{"photo_id":"1401921240","filename":"file4"},{"photo_id":"1401921237","filename":"file1"},{"photo_id":"1401921233","filename":"file0"},{"photo_id":"1401921239","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401921241":["hashtag1","hashtag2"]},{"1401921240":["hashtag1","hashtag2"]},{"1401921237":["hashtag1","hashtag2"]},{"1401921233":["hashtag1","hashtag2"]},{"1401921239":["hashtag1","hashtag2"]},{"1401921238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401921241, 1401921240, 1401921237, 1401921233, 1401921239, 1401921238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70450735092163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:54:22.860181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_44_9613.jpg', '/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_10_16606.jpg', '/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_14_3578.jpg', '/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_25_10759.jpg', '/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_34_9683.jpg', '/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/35/image_31122025_18_35_44_9613.jpg
/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_10_16606.jpg
/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_14_3578.jpg
/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_25_10759.jpg
/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_34_9683.jpg
/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_44_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921253","1401921247","1401921249","1401921243","1401921251","1401921245"],"photo_ids_order":["1401921243","1401921245","1401921247","1401921249","1401921251","1401921253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1492cf337bc1c8f2a01d706929e5277a.jpg","text":"TemporaryFile(/tmp/multipartBody7820514520741108645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203723528,"filename":"image_31122025_18_36_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b89b2f60f306fd2b65c29766c82c9d9.jpg","text":"TemporaryFile(/tmp/multipartBody4519435420814862268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203723528,"filename":"image_31122025_18_36_14_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8af0cf658c3b2b416ae9884a7ccd168.jpg","text":"TemporaryFile(/tmp/multipartBody5800072640319989907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203723528,"filename":"image_31122025_18_36_25_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d681605f33717867f1d31d30972bd49.jpg","text":"TemporaryFile(/tmp/multipartBody6202537631283923996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203723528,"filename":"image_31122025_18_35_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfb8e6366aaaba1bbadffcb437b4e715.jpg","text":"TemporaryFile(/tmp/multipartBody1536621861319617477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203723528,"filename":"image_31122025_18_36_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/151fabbc8fb2b99346f6639fadfd129c.jpg","text":"TemporaryFile(/tmp/multipartBody8643322868727956991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203723528,"filename":"image_31122025_18_36_10_16606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921247","file1":"1401921245","file0":"1401921243","file4":"1401921251","file5":"1401921253","file3":"1401921249"},"map_files_photo_id_array":[{"photo_id":"1401921253","filename":"file5"},{"photo_id":"1401921247","filename":"file2"},{"photo_id":"1401921251","filename":"file4"},{"photo_id":"1401921245","filename":"file1"},{"photo_id":"1401921243","filename":"file0"},{"photo_id":"1401921249","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401921253":["hashtag1","hashtag2"]},{"1401921247":["hashtag1","hashtag2"]},{"1401921249":["hashtag1","hashtag2"]},{"1401921243":["hashtag1","hashtag2"]},{"1401921251":["hashtag1","hashtag2"]},{"1401921245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401921253, 1401921247, 1401921249, 1401921243, 1401921251, 1401921245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7541139125824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:55:02.585265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_54_9853.jpg', '/home/pi/Desktop/images/31122025/18/36/image_31122025_18_37_05_10626.jpg', '/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_14_9690.jpg', '/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_24_9720.jpg', '/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_34_9796.jpg', '/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_44_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/36/image_31122025_18_36_54_9853.jpg
/home/pi/Desktop/images/31122025/18/36/image_31122025_18_37_05_10626.jpg
/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_14_9690.jpg
/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_24_9720.jpg
/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_34_9796.jpg
/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_44_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921255","1401921258","1401921260","1401921254","1401921257","1401921256"],"photo_ids_order":["1401921254","1401921255","1401921256","1401921257","1401921258","1401921260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/19b1c17baed5d597bc88b4478b6ddbcb.jpg","text":"TemporaryFile(/tmp/multipartBody1999111948010613063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203763337,"filename":"image_31122025_18_37_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4b0ff1a3d64e30efdcb6c977cf3be65.jpg","text":"TemporaryFile(/tmp/multipartBody7824560490074032278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203763337,"filename":"image_31122025_18_37_34_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/261218b678222a2695dfc005fd98ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody2018988019957425513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203763337,"filename":"image_31122025_18_37_44_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28d8bff1df567ec5a2a885dcf5a9a403.jpg","text":"TemporaryFile(/tmp/multipartBody1936344642624249301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203763337,"filename":"image_31122025_18_36_54_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ceba1eeb20be77268860ea92582c88d.jpg","text":"TemporaryFile(/tmp/multipartBody6782668115223105436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203763337,"filename":"image_31122025_18_37_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7660a38fdf670f451495526b23640f43.jpg","text":"TemporaryFile(/tmp/multipartBody3764418224621403450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203763337,"filename":"image_31122025_18_37_14_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921256","file1":"1401921255","file0":"1401921254","file4":"1401921258","file5":"1401921260","file3":"1401921257"},"map_files_photo_id_array":[{"photo_id":"1401921260","filename":"file5"},{"photo_id":"1401921256","filename":"file2"},{"photo_id":"1401921258","filename":"file4"},{"photo_id":"1401921255","filename":"file1"},{"photo_id":"1401921254","filename":"file0"},{"photo_id":"1401921257","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401921255":["hashtag1","hashtag2"]},{"1401921258":["hashtag1","hashtag2"]},{"1401921260":["hashtag1","hashtag2"]},{"1401921254":["hashtag1","hashtag2"]},{"1401921257":["hashtag1","hashtag2"]},{"1401921256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401921255, 1401921258, 1401921260, 1401921254, 1401921257, 1401921256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.286264181137085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:55:41.971443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_03_1810.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_06_2795.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_08_2692.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_12_4032.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_15_2739.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_21_6178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_03_1810.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_06_2795.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_08_2692.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_12_4032.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_15_2739.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_21_6178.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921270","1401921273","1401921272","1401921266","1401921269","1401921271"],"photo_ids_order":["1401921266","1401921269","1401921270","1401921271","1401921272","1401921273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d6e23229d69b600389ff91dfe3df7b9.jpg","text":"TemporaryFile(/tmp/multipartBody7588373161685423562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203803790,"filename":"image_03112025_19_45_08_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/538131f4ddd917db8c087685a6192012.jpg","text":"TemporaryFile(/tmp/multipartBody4389573106990472286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203803790,"filename":"image_03112025_19_45_21_6178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4f0d9fccaea49b27ec668bcf40d34ff.jpg","text":"TemporaryFile(/tmp/multipartBody2341300890746950956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203803790,"filename":"image_03112025_19_45_15_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0edcfe7e8aa24187da2abdace94027f5.jpg","text":"TemporaryFile(/tmp/multipartBody4975295716520185930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203803790,"filename":"image_03112025_19_45_03_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58add2b0269fd9e4b90b5c2cfb31adda.jpg","text":"TemporaryFile(/tmp/multipartBody8642739810744107841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203803790,"filename":"image_03112025_19_45_06_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b5981f5404ab506fdff12f4971e8417.jpg","text":"TemporaryFile(/tmp/multipartBody304772868741866506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203803790,"filename":"image_03112025_19_45_12_4032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921270","file1":"1401921269","file0":"1401921266","file4":"1401921272","file5":"1401921273","file3":"1401921271"},"map_files_photo_id_array":[{"photo_id":"1401921273","filename":"file5"},{"photo_id":"1401921270","filename":"file2"},{"photo_id":"1401921272","filename":"file4"},{"photo_id":"1401921269","filename":"file1"},{"photo_id":"1401921266","filename":"file0"},{"photo_id":"1401921271","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401921270":["hashtag1","hashtag2"]},{"1401921273":["hashtag1","hashtag2"]},{"1401921272":["hashtag1","hashtag2"]},{"1401921266":["hashtag1","hashtag2"]},{"1401921269":["hashtag1","hashtag2"]},{"1401921271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401921270, 1401921273, 1401921272, 1401921266, 1401921269, 1401921271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52725315093994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 18:56:22.149376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_54_9715.jpg', '/home/pi/Desktop/images/31122025/18/37/image_31122025_18_38_04_9659.jpg', '/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_15_10681.jpg', '/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_24_9784.jpg', '/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_34_9653.jpg', '/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_45_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/37/image_31122025_18_37_54_9715.jpg
/home/pi/Desktop/images/31122025/18/37/image_31122025_18_38_04_9659.jpg
/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_15_10681.jpg
/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_24_9784.jpg
/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_34_9653.jpg
/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_45_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921279","1401921281","1401921275","1401921286","1401921274","1401921277"],"photo_ids_order":["1401921274","1401921275","1401921277","1401921279","1401921281","1401921286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3291cc328d1d5d65b4eaad68ed1139e5.jpg","text":"TemporaryFile(/tmp/multipartBody1305381773036424142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203842857,"filename":"image_31122025_18_38_24_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/508b8ce588ac5bc5ab3371e23aa586d2.jpg","text":"TemporaryFile(/tmp/multipartBody664958451578210753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203842857,"filename":"image_31122025_18_38_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1c1bbf37037a9781c0a50b8ba3e512b.jpg","text":"TemporaryFile(/tmp/multipartBody4439009270390132984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203842857,"filename":"image_31122025_18_38_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30dee824a549f455823045198a92e0b4.jpg","text":"TemporaryFile(/tmp/multipartBody2074869663226756958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203842857,"filename":"image_31122025_18_38_45_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8df3aada9ff638101400439ddc24dc7f.jpg","text":"TemporaryFile(/tmp/multipartBody685464439494901320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203842857,"filename":"image_31122025_18_37_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/962fc7a9ab1aed7f882c844484e2c4f0.jpg","text":"TemporaryFile(/tmp/multipartBody6506533222130898949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203842857,"filename":"image_31122025_18_38_15_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921277","file1":"1401921275","file0":"1401921274","file4":"1401921281","file5":"1401921286","file3":"1401921279"},"map_files_photo_id_array":[{"photo_id":"1401921286","filename":"file5"},{"photo_id":"1401921277","filename":"file2"},{"photo_id":"1401921281","filename":"file4"},{"photo_id":"1401921275","filename":"file1"},{"photo_id":"1401921274","filename":"file0"},{"photo_id":"1401921279","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401921279":["hashtag1","hashtag2"]},{"1401921281":["hashtag1","hashtag2"]},{"1401921275":["hashtag1","hashtag2"]},{"1401921286":["hashtag1","hashtag2"]},{"1401921274":["hashtag1","hashtag2"]},{"1401921277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401921279, 1401921281, 1401921275, 1401921286, 1401921274, 1401921277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75083565711975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:57:03.052934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_54_9733.jpg', '/home/pi/Desktop/images/31122025/18/38/image_31122025_18_39_04_9682.jpg', '/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_14_9824.jpg', '/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_25_10662.jpg', '/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_34_9724.jpg', '/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_44_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/38/image_31122025_18_38_54_9733.jpg
/home/pi/Desktop/images/31122025/18/38/image_31122025_18_39_04_9682.jpg
/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_14_9824.jpg
/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_25_10662.jpg
/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_34_9724.jpg
/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_44_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921301","1401921296","1401921300","1401921293","1401921292","1401921298"],"photo_ids_order":["1401921292","1401921293","1401921296","1401921298","1401921300","1401921301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/462a3b2359afb54fff5f12a246a9d4ad.jpg","text":"TemporaryFile(/tmp/multipartBody8747811124519940962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203883809,"filename":"image_31122025_18_39_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a30c58f91a8be91952e7ac7daf980f3a.jpg","text":"TemporaryFile(/tmp/multipartBody3749812905566700765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203883809,"filename":"image_31122025_18_39_14_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a148fa26a0ce48c6576f21268f2d3ca4.jpg","text":"TemporaryFile(/tmp/multipartBody674594670286865724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203883809,"filename":"image_31122025_18_39_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b478a905f741546ae85df0d2c4ca3fcb.jpg","text":"TemporaryFile(/tmp/multipartBody7491816273223246739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203883809,"filename":"image_31122025_18_39_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82b7f44b13531eabe6aebccb9b10ab14.jpg","text":"TemporaryFile(/tmp/multipartBody6927048216372920037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203883809,"filename":"image_31122025_18_38_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/529c34453c20952e78b76bb82fb0baf1.jpg","text":"TemporaryFile(/tmp/multipartBody3527879774811988115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203883809,"filename":"image_31122025_18_39_25_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921296","file1":"1401921293","file0":"1401921292","file4":"1401921300","file5":"1401921301","file3":"1401921298"},"map_files_photo_id_array":[{"photo_id":"1401921301","filename":"file5"},{"photo_id":"1401921296","filename":"file2"},{"photo_id":"1401921300","filename":"file4"},{"photo_id":"1401921293","filename":"file1"},{"photo_id":"1401921292","filename":"file0"},{"photo_id":"1401921298","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401921301":["hashtag1","hashtag2"]},{"1401921296":["hashtag1","hashtag2"]},{"1401921300":["hashtag1","hashtag2"]},{"1401921293":["hashtag1","hashtag2"]},{"1401921292":["hashtag1","hashtag2"]},{"1401921298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401921301, 1401921296, 1401921300, 1401921293, 1401921292, 1401921298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.604480504989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:57:42.350297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_23_1693.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_25_1667.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_27_2584.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_30_2512.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_33_3477.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_36_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_23_1693.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_25_1667.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_27_2584.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_30_2512.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_33_3477.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_36_2612.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921384","1401921420","1401921537","1401921345","1401921497","1401921457"],"photo_ids_order":["1401921345","1401921384","1401921420","1401921457","1401921497","1401921537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72ffd0fc9ac742ee74a4ed96b820126c.jpg","text":"TemporaryFile(/tmp/multipartBody8268251647387785604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203924216,"filename":"image_03112025_19_45_25_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cead29c7ccf82464d185aeb7a5cfc778.jpg","text":"TemporaryFile(/tmp/multipartBody4790514734960736003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203924216,"filename":"image_03112025_19_45_27_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4002edeed1acb81b44a295bbc55eeddf.jpg","text":"TemporaryFile(/tmp/multipartBody5834105899372071122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203924216,"filename":"image_03112025_19_45_36_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f35504bb66a54f65137dd6796f70e67.jpg","text":"TemporaryFile(/tmp/multipartBody6511520493703615248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203924216,"filename":"image_03112025_19_45_23_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a702d72fb06da579b787d5d90edec94.jpg","text":"TemporaryFile(/tmp/multipartBody4988043415254175445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203924216,"filename":"image_03112025_19_45_33_3477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5fc9d73ddd447b858c26ccc71c65cba.jpg","text":"TemporaryFile(/tmp/multipartBody994055089293779878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767203924216,"filename":"image_03112025_19_45_30_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401921420","file1":"1401921384","file0":"1401921345","file4":"1401921497","file5":"1401921537","file3":"1401921457"},"map_files_photo_id_array":[{"photo_id":"1401921537","filename":"file5"},{"photo_id":"1401921420","filename":"file2"},{"photo_id":"1401921497","filename":"file4"},{"photo_id":"1401921384","filename":"file1"},{"photo_id":"1401921345","filename":"file0"},{"photo_id":"1401921457","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401921384":["hashtag1","hashtag2"]},{"1401921420":["hashtag1","hashtag2"]},{"1401921537":["hashtag1","hashtag2"]},{"1401921345":["hashtag1","hashtag2"]},{"1401921497":["hashtag1","hashtag2"]},{"1401921457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401921384, 1401921420, 1401921537, 1401921345, 1401921497, 1401921457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.335437536239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 18:59:03.639531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_55_10702.jpg', '/home/pi/Desktop/images/31122025/18/39/image_31122025_18_40_04_9594.jpg', '/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_14_9719.jpg', '/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_24_10631.jpg', '/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_34_9858.jpg', '/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_44_9543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/39/image_31122025_18_39_55_10702.jpg
/home/pi/Desktop/images/31122025/18/39/image_31122025_18_40_04_9594.jpg
/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_14_9719.jpg
/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_24_10631.jpg
/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_34_9858.jpg
/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_44_9543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401921907","1401922139","1401921983","1401922247","1401922205","1401922063"],"photo_ids_order":["1401921907","1401921983","1401922063","1401922139","1401922205","1401922247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29d6606177f2ff2383ade712948a1728.jpg","text":"TemporaryFile(/tmp/multipartBody4243105433804146603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204004431,"filename":"image_31122025_18_39_55_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3375b9f33326e876241ae85d5007887a.jpg","text":"TemporaryFile(/tmp/multipartBody4508003949575869791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204004431,"filename":"image_31122025_18_40_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8b287be1ea1741a72b6c2cd3e253367.jpg","text":"TemporaryFile(/tmp/multipartBody8113939567145381235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204004431,"filename":"image_31122025_18_40_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c6153559b986a6e799207a85244d362.jpg","text":"TemporaryFile(/tmp/multipartBody3323168996012539054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204004431,"filename":"image_31122025_18_40_44_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c70f3d46c4bf5ac513af1f85f76dc3ea.jpg","text":"TemporaryFile(/tmp/multipartBody4165757021711805339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204004431,"filename":"image_31122025_18_40_34_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6077896ae42545b9cfcb9aa4553a07c8.jpg","text":"TemporaryFile(/tmp/multipartBody6560624421044426052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204004431,"filename":"image_31122025_18_40_14_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401922063","file1":"1401921983","file0":"1401921907","file4":"1401922205","file5":"1401922247","file3":"1401922139"},"map_files_photo_id_array":[{"photo_id":"1401922247","filename":"file5"},{"photo_id":"1401922063","filename":"file2"},{"photo_id":"1401922205","filename":"file4"},{"photo_id":"1401921983","filename":"file1"},{"photo_id":"1401921907","filename":"file0"},{"photo_id":"1401922139","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401921907":["hashtag1","hashtag2"]},{"1401922139":["hashtag1","hashtag2"]},{"1401921983":["hashtag1","hashtag2"]},{"1401922247":["hashtag1","hashtag2"]},{"1401922205":["hashtag1","hashtag2"]},{"1401922063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401921907, 1401922139, 1401921983, 1401922247, 1401922205, 1401922063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85670709609985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 18:59:42.790872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_38_2561.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_43_4662.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_52_8563.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_53_1686.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_55_1707.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_57_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_38_2561.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_43_4662.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_52_8563.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_53_1686.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_55_1707.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_57_1679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401922458","1401922326","1401922434","1401922373","1401922475","1401922429"],"photo_ids_order":["1401922326","1401922373","1401922429","1401922434","1401922458","1401922475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62ae583cb4cf495bb52cc4b2781e9e22.jpg","text":"TemporaryFile(/tmp/multipartBody7785335360602764510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204044623,"filename":"image_03112025_19_45_55_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e8ab858efbe1e792a9b1cdebac4e6fe2.jpg","text":"TemporaryFile(/tmp/multipartBody7061897735809906229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204044623,"filename":"image_03112025_19_45_38_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edbde2f4c9bc5573723431d8aaaaa011.jpg","text":"TemporaryFile(/tmp/multipartBody7200352296320051926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204044623,"filename":"image_03112025_19_45_53_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c43bcb48ae9fe52c104ef9f805f01c4.jpg","text":"TemporaryFile(/tmp/multipartBody4352905448657572259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204044623,"filename":"image_03112025_19_45_43_4662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de429fcdc4988eb04a065cc1371a6dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8996630068814673368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204044623,"filename":"image_03112025_19_45_57_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39143b776eb4e9f40ec5922f3f563d55.jpg","text":"TemporaryFile(/tmp/multipartBody9100858894268560566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204044623,"filename":"image_03112025_19_45_52_8563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401922429","file1":"1401922373","file0":"1401922326","file4":"1401922458","file5":"1401922475","file3":"1401922434"},"map_files_photo_id_array":[{"photo_id":"1401922475","filename":"file5"},{"photo_id":"1401922429","filename":"file2"},{"photo_id":"1401922458","filename":"file4"},{"photo_id":"1401922373","filename":"file1"},{"photo_id":"1401922326","filename":"file0"},{"photo_id":"1401922434","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401922458":["hashtag1","hashtag2"]},{"1401922326":["hashtag1","hashtag2"]},{"1401922434":["hashtag1","hashtag2"]},{"1401922373":["hashtag1","hashtag2"]},{"1401922475":["hashtag1","hashtag2"]},{"1401922429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401922458, 1401922326, 1401922434, 1401922373, 1401922475, 1401922429)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.54096055030823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:00:31.966248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_58_1763.jpg', '/home/pi/Desktop/images/03112025/19/45/image_03112025_19_46_00_1519.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_03_2711.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_07_4709.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_10_3144.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_12_1534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_45_58_1763.jpg
/home/pi/Desktop/images/03112025/19/45/image_03112025_19_46_00_1519.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_03_2711.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_07_4709.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_10_3144.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_12_1534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401922665","1401922629","1401922700","1401922517","1401922555","1401922593"],"photo_ids_order":["1401922517","1401922555","1401922593","1401922629","1401922665","1401922700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5a9405cf8c4253f4b2854558ec6d779.jpg","text":"TemporaryFile(/tmp/multipartBody8498044895114189868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204096885,"filename":"image_03112025_19_46_10_3144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a6c058c4c9f9795d74e60800658f09c.jpg","text":"TemporaryFile(/tmp/multipartBody2671377424657662425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204096885,"filename":"image_03112025_19_46_07_4709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c6d94bb7cfbc553086203b7578b72f6.jpg","text":"TemporaryFile(/tmp/multipartBody4335961240711389185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204096885,"filename":"image_03112025_19_46_12_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0846f7af9e4441245602ac7b5b64527.jpg","text":"TemporaryFile(/tmp/multipartBody347041495699782376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204096885,"filename":"image_03112025_19_45_58_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9837f2cc088d11c7e681d37461c61c15.jpg","text":"TemporaryFile(/tmp/multipartBody1458172462485963444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204096885,"filename":"image_03112025_19_46_00_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b04ca16fdd06fca3bbc80c99a1c7fa5f.jpg","text":"TemporaryFile(/tmp/multipartBody3912625808777431075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204096885,"filename":"image_03112025_19_46_03_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401922593","file1":"1401922555","file0":"1401922517","file4":"1401922665","file5":"1401922700","file3":"1401922629"},"map_files_photo_id_array":[{"photo_id":"1401922700","filename":"file5"},{"photo_id":"1401922593","filename":"file2"},{"photo_id":"1401922665","filename":"file4"},{"photo_id":"1401922555","filename":"file1"},{"photo_id":"1401922517","filename":"file0"},{"photo_id":"1401922629","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401922665":["hashtag1","hashtag2"]},{"1401922629":["hashtag1","hashtag2"]},{"1401922700":["hashtag1","hashtag2"]},{"1401922517":["hashtag1","hashtag2"]},{"1401922555":["hashtag1","hashtag2"]},{"1401922593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401922665, 1401922629, 1401922700, 1401922517, 1401922555, 1401922593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00632357597351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:01:22.123678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_55_10667.jpg', '/home/pi/Desktop/images/31122025/18/40/image_31122025_18_41_04_9579.jpg', '/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_15_10683.jpg', '/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_25_9790.jpg', '/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_34_9843.jpg', '/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_44_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/40/image_31122025_18_40_55_10667.jpg
/home/pi/Desktop/images/31122025/18/40/image_31122025_18_41_04_9579.jpg
/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_15_10683.jpg
/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_25_9790.jpg
/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_34_9843.jpg
/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_44_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401922992","1401922881","1401922920","1401923030","1401923065","1401922957"],"photo_ids_order":["1401922881","1401922920","1401922957","1401922992","1401923030","1401923065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ede11cfa2e6a53fa8f8d55004588de5.jpg","text":"TemporaryFile(/tmp/multipartBody2201824788994957849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204142783,"filename":"image_31122025_18_41_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1ecb1238f31a19a7846f7196b66569a.jpg","text":"TemporaryFile(/tmp/multipartBody201663371318448139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204142783,"filename":"image_31122025_18_40_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bab6d4d508c441ced3ffc4fee0903cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6896001077343777059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204142783,"filename":"image_31122025_18_41_04_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58d27c93ba0701dc61c533e46c884654.jpg","text":"TemporaryFile(/tmp/multipartBody4838218475546474163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204142783,"filename":"image_31122025_18_41_34_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3953e93d020df346f6ab50a647e9e756.jpg","text":"TemporaryFile(/tmp/multipartBody3154707573008656302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204142783,"filename":"image_31122025_18_41_44_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c94c2bd0eff4d71ab401144600f4b524.jpg","text":"TemporaryFile(/tmp/multipartBody7388252469913327082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204142783,"filename":"image_31122025_18_41_15_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401922957","file1":"1401922920","file0":"1401922881","file4":"1401923030","file5":"1401923065","file3":"1401922992"},"map_files_photo_id_array":[{"photo_id":"1401923065","filename":"file5"},{"photo_id":"1401922957","filename":"file2"},{"photo_id":"1401923030","filename":"file4"},{"photo_id":"1401922920","filename":"file1"},{"photo_id":"1401922881","filename":"file0"},{"photo_id":"1401922992","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401922992":["hashtag1","hashtag2"]},{"1401922881":["hashtag1","hashtag2"]},{"1401922920":["hashtag1","hashtag2"]},{"1401923030":["hashtag1","hashtag2"]},{"1401923065":["hashtag1","hashtag2"]},{"1401922957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401922992, 1401922881, 1401922920, 1401923030, 1401923065, 1401922957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93195176124573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:02:02.833501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_54_9661.jpg', '/home/pi/Desktop/images/31122025/18/41/image_31122025_18_42_05_10709.jpg', '/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_14_9617.jpg', '/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_24_9709.jpg', '/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_35_10718.jpg', '/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_44_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/41/image_31122025_18_41_54_9661.jpg
/home/pi/Desktop/images/31122025/18/41/image_31122025_18_42_05_10709.jpg
/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_14_9617.jpg
/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_24_9709.jpg
/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_35_10718.jpg
/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_44_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923297","1401923261","1401923335","1401923224","1401923388","1401923373"],"photo_ids_order":["1401923224","1401923261","1401923297","1401923335","1401923373","1401923388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d8b4a6197cfaa84cc5325e2abb514b16.jpg","text":"TemporaryFile(/tmp/multipartBody1154692959536754176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204186017,"filename":"image_31122025_18_42_14_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1915b43628c36a49c396db25927e9adf.jpg","text":"TemporaryFile(/tmp/multipartBody6486077914957295675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204186017,"filename":"image_31122025_18_42_05_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5035e1b20d150bc0be5d6f25a06944b5.jpg","text":"TemporaryFile(/tmp/multipartBody345875889959353553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204186017,"filename":"image_31122025_18_42_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/687e1e6dd32a9c92f7ead9e1d7fe71b6.jpg","text":"TemporaryFile(/tmp/multipartBody1211005166591830961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204186017,"filename":"image_31122025_18_41_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d17206849c6d0c5a5df49aeb81de74c.jpg","text":"TemporaryFile(/tmp/multipartBody4519337736589739235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204186017,"filename":"image_31122025_18_42_44_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b465d844940ac4979301dea0f79c5b49.jpg","text":"TemporaryFile(/tmp/multipartBody7324938681151934039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204186017,"filename":"image_31122025_18_42_35_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923297","file1":"1401923261","file0":"1401923224","file4":"1401923373","file5":"1401923388","file3":"1401923335"},"map_files_photo_id_array":[{"photo_id":"1401923388","filename":"file5"},{"photo_id":"1401923297","filename":"file2"},{"photo_id":"1401923373","filename":"file4"},{"photo_id":"1401923261","filename":"file1"},{"photo_id":"1401923224","filename":"file0"},{"photo_id":"1401923335","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401923297":["hashtag1","hashtag2"]},{"1401923261":["hashtag1","hashtag2"]},{"1401923335":["hashtag1","hashtag2"]},{"1401923224":["hashtag1","hashtag2"]},{"1401923388":["hashtag1","hashtag2"]},{"1401923373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401923297, 1401923261, 1401923335, 1401923224, 1401923388, 1401923373)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.00075578689575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:03:03.234267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_54_9676.jpg', '/home/pi/Desktop/images/31122025/18/42/image_31122025_18_43_05_10636.jpg', '/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_15_9725.jpg', '/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_24_9744.jpg', '/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_34_9739.jpg', '/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_45_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/42/image_31122025_18_42_54_9676.jpg
/home/pi/Desktop/images/31122025/18/42/image_31122025_18_43_05_10636.jpg
/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_15_9725.jpg
/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_24_9744.jpg
/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_34_9739.jpg
/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_45_10577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923418","1401923526","1401923400","1401923453","1401923488","1401923401"],"photo_ids_order":["1401923400","1401923401","1401923418","1401923453","1401923488","1401923526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c94fe94d15d0e29b57b92cbd7d8949a.jpg","text":"TemporaryFile(/tmp/multipartBody9102930474582890095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204243969,"filename":"image_31122025_18_43_15_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d5faf0e1c7ba47c9b996be343e08ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6479210602225808326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204243969,"filename":"image_31122025_18_43_45_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d44a4e60d1c48f3abb4e4aeed8d6d86.jpg","text":"TemporaryFile(/tmp/multipartBody6641269960340120537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204243969,"filename":"image_31122025_18_42_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc0e20c80b6e4e8309df95be0b94227a.jpg","text":"TemporaryFile(/tmp/multipartBody3842951525040640149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204243969,"filename":"image_31122025_18_43_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ab6c8eb5ce4946c6c351d69c3e20f54.jpg","text":"TemporaryFile(/tmp/multipartBody7367321758240074866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204243969,"filename":"image_31122025_18_43_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1b43acc9ffb48420784c15273ae6f21.jpg","text":"TemporaryFile(/tmp/multipartBody8826749408243871525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204243969,"filename":"image_31122025_18_43_05_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923418","file1":"1401923401","file0":"1401923400","file4":"1401923488","file5":"1401923526","file3":"1401923453"},"map_files_photo_id_array":[{"photo_id":"1401923526","filename":"file5"},{"photo_id":"1401923418","filename":"file2"},{"photo_id":"1401923488","filename":"file4"},{"photo_id":"1401923401","filename":"file1"},{"photo_id":"1401923400","filename":"file0"},{"photo_id":"1401923453","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401923418":["hashtag1","hashtag2"]},{"1401923526":["hashtag1","hashtag2"]},{"1401923400":["hashtag1","hashtag2"]},{"1401923453":["hashtag1","hashtag2"]},{"1401923488":["hashtag1","hashtag2"]},{"1401923401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401923418, 1401923526, 1401923400, 1401923453, 1401923488, 1401923401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.411184310913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:03:42.721194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_15_2746.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_17_2714.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_20_2689.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_24_3901.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_27_2688.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_29_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_15_2746.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_17_2714.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_20_2689.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_24_3901.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_27_2688.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_29_2571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923706","1401923705","1401923648","1401923677","1401923650","1401923649"],"photo_ids_order":["1401923648","1401923649","1401923650","1401923677","1401923705","1401923706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70fe9e73d58e15ce82c2c2d59f898679.jpg","text":"TemporaryFile(/tmp/multipartBody1401062179856479353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204284556,"filename":"image_03112025_19_46_29_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/095633c8f64707091e09becb733a408c.jpg","text":"TemporaryFile(/tmp/multipartBody7829270955257533653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204284556,"filename":"image_03112025_19_46_27_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99f5029fd7f58bf87cad665b933ae685.jpg","text":"TemporaryFile(/tmp/multipartBody5249989911008939602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204284556,"filename":"image_03112025_19_46_15_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c09d3a780073fdba5d10d9ce45594bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6922518350481198075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204284556,"filename":"image_03112025_19_46_24_3901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4aa56441d4eeddefc6cc8eb40c263708.jpg","text":"TemporaryFile(/tmp/multipartBody3790117170533002066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204284556,"filename":"image_03112025_19_46_20_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffd04cecc33d62d08a767fdb33426a0b.jpg","text":"TemporaryFile(/tmp/multipartBody5633459798177781723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204284556,"filename":"image_03112025_19_46_17_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923650","file1":"1401923649","file0":"1401923648","file4":"1401923705","file5":"1401923706","file3":"1401923677"},"map_files_photo_id_array":[{"photo_id":"1401923706","filename":"file5"},{"photo_id":"1401923650","filename":"file2"},{"photo_id":"1401923705","filename":"file4"},{"photo_id":"1401923649","filename":"file1"},{"photo_id":"1401923648","filename":"file0"},{"photo_id":"1401923677","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401923706":["hashtag1","hashtag2"]},{"1401923705":["hashtag1","hashtag2"]},{"1401923648":["hashtag1","hashtag2"]},{"1401923677":["hashtag1","hashtag2"]},{"1401923650":["hashtag1","hashtag2"]},{"1401923649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401923706, 1401923705, 1401923648, 1401923677, 1401923650, 1401923649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.136197566986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:04:21.915175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_57_12209.jpg', '/home/pi/Desktop/images/31122025/18/43/image_31122025_18_44_05_7721.jpg', '/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_14_9569.jpg', '/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_24_10311.jpg', '/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_34_9854.jpg', '/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_44_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/43/image_31122025_18_43_57_12209.jpg
/home/pi/Desktop/images/31122025/18/43/image_31122025_18_44_05_7721.jpg
/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_14_9569.jpg
/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_24_10311.jpg
/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_34_9854.jpg
/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_44_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923756","1401923753","1401923747","1401923749","1401923751","1401923745"],"photo_ids_order":["1401923745","1401923747","1401923749","1401923751","1401923753","1401923756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/744168664c5d299c05992d5e51c9c907.jpg","text":"TemporaryFile(/tmp/multipartBody1877343908367679547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204322523,"filename":"image_31122025_18_44_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a23fa9e87ad69eb23a50f5b45e72446.jpg","text":"TemporaryFile(/tmp/multipartBody8366985342971103017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204322523,"filename":"image_31122025_18_44_34_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e50dbc77a13c25cb079b0cab91c167db.jpg","text":"TemporaryFile(/tmp/multipartBody4644155203474419883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204322523,"filename":"image_31122025_18_44_05_7721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00a402bdb20e26459d74433ca7d8e75b.jpg","text":"TemporaryFile(/tmp/multipartBody813962964465711355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204322523,"filename":"image_31122025_18_44_14_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a560e482d01be656f6b84cdd644774cb.jpg","text":"TemporaryFile(/tmp/multipartBody5828270348897917669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204322523,"filename":"image_31122025_18_44_24_10311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04241f18bcfe474802d22c2e38fe3c95.jpg","text":"TemporaryFile(/tmp/multipartBody2702006923778152386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204322523,"filename":"image_31122025_18_43_57_12209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923749","file1":"1401923747","file0":"1401923745","file4":"1401923753","file5":"1401923756","file3":"1401923751"},"map_files_photo_id_array":[{"photo_id":"1401923756","filename":"file5"},{"photo_id":"1401923749","filename":"file2"},{"photo_id":"1401923753","filename":"file4"},{"photo_id":"1401923747","filename":"file1"},{"photo_id":"1401923745","filename":"file0"},{"photo_id":"1401923751","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401923756":["hashtag1","hashtag2"]},{"1401923753":["hashtag1","hashtag2"]},{"1401923747":["hashtag1","hashtag2"]},{"1401923749":["hashtag1","hashtag2"]},{"1401923751":["hashtag1","hashtag2"]},{"1401923745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401923756, 1401923753, 1401923747, 1401923749, 1401923751, 1401923745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30622887611389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:05:02.761983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_55_10592.jpg', '/home/pi/Desktop/images/31122025/18/44/image_31122025_18_45_04_9645.jpg', '/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_14_9823.jpg', '/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_25_10637.jpg', '/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_34_9649.jpg', '/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_44_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/44/image_31122025_18_44_55_10592.jpg
/home/pi/Desktop/images/31122025/18/44/image_31122025_18_45_04_9645.jpg
/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_14_9823.jpg
/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_25_10637.jpg
/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_34_9649.jpg
/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_44_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923762","1401923759","1401923764","1401923761","1401923758","1401923760"],"photo_ids_order":["1401923758","1401923759","1401923760","1401923761","1401923762","1401923764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd52de69f7857c17bb929cfcd0d7e5a2.jpg","text":"TemporaryFile(/tmp/multipartBody8257596171274311226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204363443,"filename":"image_31122025_18_45_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac16ac8aac7eebd3b0ea2f14f871109b.jpg","text":"TemporaryFile(/tmp/multipartBody964777922929079532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204363443,"filename":"image_31122025_18_45_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72284246d39880f3e6045ad28a504ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5635462579181214549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204363443,"filename":"image_31122025_18_45_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aefa70586b57b33f491b9462c83fd5bb.jpg","text":"TemporaryFile(/tmp/multipartBody4644331669651868515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204363443,"filename":"image_31122025_18_45_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5a43cf28706ca2a139977aa0a6a93d5.jpg","text":"TemporaryFile(/tmp/multipartBody657693098869021340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204363443,"filename":"image_31122025_18_44_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e96490125d771285466a0235c590a43.jpg","text":"TemporaryFile(/tmp/multipartBody165276475813565869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204363443,"filename":"image_31122025_18_45_14_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923760","file1":"1401923759","file0":"1401923758","file4":"1401923762","file5":"1401923764","file3":"1401923761"},"map_files_photo_id_array":[{"photo_id":"1401923764","filename":"file5"},{"photo_id":"1401923760","filename":"file2"},{"photo_id":"1401923762","filename":"file4"},{"photo_id":"1401923759","filename":"file1"},{"photo_id":"1401923758","filename":"file0"},{"photo_id":"1401923761","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401923762":["hashtag1","hashtag2"]},{"1401923759":["hashtag1","hashtag2"]},{"1401923764":["hashtag1","hashtag2"]},{"1401923761":["hashtag1","hashtag2"]},{"1401923758":["hashtag1","hashtag2"]},{"1401923760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401923762, 1401923759, 1401923764, 1401923761, 1401923758, 1401923760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86878323554993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:05:42.153531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_33_3730.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_36_3287.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_39_3024.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_42_2644.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_44_2459.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_47_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_33_3730.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_36_3287.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_39_3024.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_42_2644.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_44_2459.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_47_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923774","1401923777","1401923776","1401923775","1401923778","1401923772"],"photo_ids_order":["1401923772","1401923774","1401923775","1401923776","1401923777","1401923778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a995bea087122e7c7de03b4d4a27abf7.jpg","text":"TemporaryFile(/tmp/multipartBody6037056465554360824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204403986,"filename":"image_03112025_19_46_36_3287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fc0cfae2efd241dfa0c7a3be719515e.jpg","text":"TemporaryFile(/tmp/multipartBody7308377202997265941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204403986,"filename":"image_03112025_19_46_44_2459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c9ad2bfad1d0b685d87d2ef42f43842.jpg","text":"TemporaryFile(/tmp/multipartBody2133027811675728354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204403986,"filename":"image_03112025_19_46_42_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72c4459059adaf8c7bdee61edb660054.jpg","text":"TemporaryFile(/tmp/multipartBody4615283372239093858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204403986,"filename":"image_03112025_19_46_39_3024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b960c9ad67222e0d244455d79cc475c.jpg","text":"TemporaryFile(/tmp/multipartBody4571876067371731180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204403986,"filename":"image_03112025_19_46_47_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1d0199dc2a7b2a61a1ed1eadbe5ae2b.jpg","text":"TemporaryFile(/tmp/multipartBody5462818422969726678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204403986,"filename":"image_03112025_19_46_33_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923775","file1":"1401923774","file0":"1401923772","file4":"1401923777","file5":"1401923778","file3":"1401923776"},"map_files_photo_id_array":[{"photo_id":"1401923778","filename":"file5"},{"photo_id":"1401923775","filename":"file2"},{"photo_id":"1401923777","filename":"file4"},{"photo_id":"1401923774","filename":"file1"},{"photo_id":"1401923772","filename":"file0"},{"photo_id":"1401923776","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401923774":["hashtag1","hashtag2"]},{"1401923777":["hashtag1","hashtag2"]},{"1401923776":["hashtag1","hashtag2"]},{"1401923775":["hashtag1","hashtag2"]},{"1401923778":["hashtag1","hashtag2"]},{"1401923772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401923774, 1401923777, 1401923776, 1401923775, 1401923778, 1401923772)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.16056489944458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:06:32.328267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_51_3426.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_53_2730.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_57_3575.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_47_00_2597.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_05_5799.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_07_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_51_3426.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_53_2730.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_57_3575.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_47_00_2597.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_05_5799.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_07_1650.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8059642314910889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:06:42.324802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_51_3426.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_53_2730.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_57_3575.jpg', '/home/pi/Desktop/images/03112025/19/46/image_03112025_19_47_00_2597.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_05_5799.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_07_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_51_3426.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_53_2730.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_46_57_3575.jpg
/home/pi/Desktop/images/03112025/19/46/image_03112025_19_47_00_2597.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_05_5799.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_07_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923795","1401923791","1401923794","1401923788","1401923793","1401923796"],"photo_ids_order":["1401923788","1401923791","1401923793","1401923794","1401923795","1401923796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e017f7b731c3786c232b735b95849498.jpg","text":"TemporaryFile(/tmp/multipartBody2459206540558638195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204464042,"filename":"image_03112025_19_47_05_5799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29b7301d567cdb22c89689c3b9eb261a.jpg","text":"TemporaryFile(/tmp/multipartBody7801696590768279250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204464042,"filename":"image_03112025_19_46_53_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5db81d721008e87543cb78b5726cfafd.jpg","text":"TemporaryFile(/tmp/multipartBody7851487885090253996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204464042,"filename":"image_03112025_19_47_00_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85e6af2fc89f5ce050b5f7a0dfaecf3a.jpg","text":"TemporaryFile(/tmp/multipartBody4392215441889540125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204464042,"filename":"image_03112025_19_46_51_3426.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/409eb8057df323ad3ce544b1fc6880b3.jpg","text":"TemporaryFile(/tmp/multipartBody3668842102128143796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204464042,"filename":"image_03112025_19_46_57_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f32b5f022281e1fce11752713c79826.jpg","text":"TemporaryFile(/tmp/multipartBody3308307154165483952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204464042,"filename":"image_03112025_19_47_07_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923793","file1":"1401923791","file0":"1401923788","file4":"1401923795","file5":"1401923796","file3":"1401923794"},"map_files_photo_id_array":[{"photo_id":"1401923796","filename":"file5"},{"photo_id":"1401923793","filename":"file2"},{"photo_id":"1401923795","filename":"file4"},{"photo_id":"1401923791","filename":"file1"},{"photo_id":"1401923788","filename":"file0"},{"photo_id":"1401923794","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401923795":["hashtag1","hashtag2"]},{"1401923791":["hashtag1","hashtag2"]},{"1401923794":["hashtag1","hashtag2"]},{"1401923788":["hashtag1","hashtag2"]},{"1401923793":["hashtag1","hashtag2"]},{"1401923796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401923795, 1401923791, 1401923794, 1401923788, 1401923793, 1401923796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1327908039093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:07:25.262480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_55_10749.jpg', '/home/pi/Desktop/images/31122025/18/45/image_31122025_18_46_04_9610.jpg', '/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_14_9668.jpg', '/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_25_10543.jpg', '/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_34_9672.jpg', '/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_45_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/45/image_31122025_18_45_55_10749.jpg
/home/pi/Desktop/images/31122025/18/45/image_31122025_18_46_04_9610.jpg
/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_14_9668.jpg
/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_25_10543.jpg
/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_34_9672.jpg
/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_45_10543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401923798","1401923881","1401923900","1401923908","1401923902","1401923905"],"photo_ids_order":["1401923798","1401923881","1401923900","1401923902","1401923905","1401923908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0be62df01780397c6cd7f5bd8be9cfe0.jpg","text":"TemporaryFile(/tmp/multipartBody2396748130630989965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204505817,"filename":"image_31122025_18_45_55_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e9460bca6ee0fdcce2daef410d996ec.jpg","text":"TemporaryFile(/tmp/multipartBody8711775907602651131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204505817,"filename":"image_31122025_18_46_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c331eb8bca3631fef71066aedc5157ff.jpg","text":"TemporaryFile(/tmp/multipartBody5537608285062940075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204505817,"filename":"image_31122025_18_46_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfb1e98b336daf095d75ffde3eabf6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3644239631186799089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204505817,"filename":"image_31122025_18_46_45_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d36b6b928a155b3ea0d2e6f526faf946.jpg","text":"TemporaryFile(/tmp/multipartBody4600344265764495244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204505817,"filename":"image_31122025_18_46_25_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24d30156f4d77fd23c6d3b099081d159.jpg","text":"TemporaryFile(/tmp/multipartBody2095425820526830108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204505817,"filename":"image_31122025_18_46_34_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923900","file1":"1401923881","file0":"1401923798","file4":"1401923905","file5":"1401923908","file3":"1401923902"},"map_files_photo_id_array":[{"photo_id":"1401923908","filename":"file5"},{"photo_id":"1401923900","filename":"file2"},{"photo_id":"1401923905","filename":"file4"},{"photo_id":"1401923881","filename":"file1"},{"photo_id":"1401923798","filename":"file0"},{"photo_id":"1401923902","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401923798":["hashtag1","hashtag2"]},{"1401923881":["hashtag1","hashtag2"]},{"1401923900":["hashtag1","hashtag2"]},{"1401923908":["hashtag1","hashtag2"]},{"1401923902":["hashtag1","hashtag2"]},{"1401923905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401923798, 1401923881, 1401923900, 1401923908, 1401923902, 1401923905)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401923900 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_14_9668.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.24417114257812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:08:32.336977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_09_1674.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_11_2666.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_15_3571.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_18_2685.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_20_2629.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_24_3337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_09_1674.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_11_2666.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_15_3571.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_18_2685.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_20_2629.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_24_3337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923913","1401923918","1401923927","1401923915","1401923926","1401923925"],"photo_ids_order":["1401923913","1401923915","1401923918","1401923925","1401923926","1401923927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afc3ef169acd32632e12655f9f96ba4c.jpg","text":"TemporaryFile(/tmp/multipartBody7215653238857835360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204574052,"filename":"image_03112025_19_47_09_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5889093f806cdcd35a0a9a403a94fab.jpg","text":"TemporaryFile(/tmp/multipartBody5803990603257393767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204574052,"filename":"image_03112025_19_47_15_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/541ab318e5d5b11c12988b0f7c20f0e3.jpg","text":"TemporaryFile(/tmp/multipartBody4063226097261103774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204574052,"filename":"image_03112025_19_47_24_3337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a72ca0a7b2a7e1c1a7fb4c772201f408.jpg","text":"TemporaryFile(/tmp/multipartBody4631816819821192972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204574052,"filename":"image_03112025_19_47_11_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d62959cfac3b9a7d6bc18f3b3988a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6081331937801795196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204574052,"filename":"image_03112025_19_47_20_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9688eb66c909e6ecf70a4c9732e3801e.jpg","text":"TemporaryFile(/tmp/multipartBody1677189700885681125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204574052,"filename":"image_03112025_19_47_18_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923918","file1":"1401923915","file0":"1401923913","file4":"1401923926","file5":"1401923927","file3":"1401923925"},"map_files_photo_id_array":[{"photo_id":"1401923927","filename":"file5"},{"photo_id":"1401923918","filename":"file2"},{"photo_id":"1401923926","filename":"file4"},{"photo_id":"1401923915","filename":"file1"},{"photo_id":"1401923913","filename":"file0"},{"photo_id":"1401923925","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401923913":["hashtag1","hashtag2"]},{"1401923918":["hashtag1","hashtag2"]},{"1401923927":["hashtag1","hashtag2"]},{"1401923915":["hashtag1","hashtag2"]},{"1401923926":["hashtag1","hashtag2"]},{"1401923925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401923913, 1401923918, 1401923927, 1401923915, 1401923926, 1401923925)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1401923918 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_15_3571.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.33290433883667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:09:32.439766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_26_2589.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_30_3685.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_32_2510.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_35_2840.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_39_3639.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_42_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_26_2589.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_30_3685.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_32_2510.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_35_2840.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_39_3639.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_42_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923940","1401923936","1401923939","1401923933","1401923941","1401923931"],"photo_ids_order":["1401923931","1401923933","1401923936","1401923939","1401923940","1401923941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b35f8af24e31e5a0a5c9ee77ca53c118.jpg","text":"TemporaryFile(/tmp/multipartBody2184610817435122386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204634190,"filename":"image_03112025_19_47_39_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/722734c51da3eac8c317acf976025ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2969383536264778360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204634190,"filename":"image_03112025_19_47_32_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c75e95d03e067a4714d751b65a136c3d.jpg","text":"TemporaryFile(/tmp/multipartBody5045310351850291861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204634190,"filename":"image_03112025_19_47_35_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a162851d4d83d54e38daf3e5100ad29.jpg","text":"TemporaryFile(/tmp/multipartBody1461327110539931385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204634190,"filename":"image_03112025_19_47_30_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60b8a144084ddc40c1cb403d278f2bee.jpg","text":"TemporaryFile(/tmp/multipartBody2963393756642893782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204634190,"filename":"image_03112025_19_47_42_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e27b288d2f630d61d673da2e75f0fbb3.jpg","text":"TemporaryFile(/tmp/multipartBody2261975112808551376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204634190,"filename":"image_03112025_19_47_26_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923936","file1":"1401923933","file0":"1401923931","file4":"1401923940","file5":"1401923941","file3":"1401923939"},"map_files_photo_id_array":[{"photo_id":"1401923941","filename":"file5"},{"photo_id":"1401923936","filename":"file2"},{"photo_id":"1401923940","filename":"file4"},{"photo_id":"1401923933","filename":"file1"},{"photo_id":"1401923931","filename":"file0"},{"photo_id":"1401923939","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401923940":["hashtag1","hashtag2"]},{"1401923936":["hashtag1","hashtag2"]},{"1401923939":["hashtag1","hashtag2"]},{"1401923933":["hashtag1","hashtag2"]},{"1401923941":["hashtag1","hashtag2"]},{"1401923931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401923940, 1401923936, 1401923939, 1401923933, 1401923941, 1401923931)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.83084845542908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:10:22.686979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_55_9709.jpg', '/home/pi/Desktop/images/31122025/18/47/image_31122025_18_47_24_10591.jpg', '/home/pi/Desktop/images/31122025/18/47/image_31122025_18_47_34_9670.jpg', '/home/pi/Desktop/images/31122025/18/47/image_31122025_18_47_54_9771.jpg', '/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_14_9740.jpg', '/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_24_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/46/image_31122025_18_46_55_9709.jpg
/home/pi/Desktop/images/31122025/18/47/image_31122025_18_47_24_10591.jpg
/home/pi/Desktop/images/31122025/18/47/image_31122025_18_47_34_9670.jpg
/home/pi/Desktop/images/31122025/18/47/image_31122025_18_47_54_9771.jpg
/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_14_9740.jpg
/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_24_9928.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923949","1401923954","1401923951","1401923945","1401923947","1401923943"],"photo_ids_order":["1401923943","1401923945","1401923947","1401923949","1401923951","1401923954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71b4d783c5cb9f09962a478c0b46733f.jpg","text":"TemporaryFile(/tmp/multipartBody5750091332407856610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204683316,"filename":"image_31122025_18_47_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45c3a854de57fa5d284f2b03819fddd8.jpg","text":"TemporaryFile(/tmp/multipartBody4493034066515274951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204683316,"filename":"image_31122025_18_48_24_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f3dfea70010c580596b1eea6feb5a7b.jpg","text":"TemporaryFile(/tmp/multipartBody2848006595188444031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204683316,"filename":"image_31122025_18_48_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91c0d8a5cddd93040a01fb019093364f.jpg","text":"TemporaryFile(/tmp/multipartBody5849217288843059950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204683316,"filename":"image_31122025_18_47_24_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9221cb5f45cae14ce36ee69559e746fc.jpg","text":"TemporaryFile(/tmp/multipartBody2494619971097459571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204683316,"filename":"image_31122025_18_47_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d296f53d4c80cd4bae9db86594aba8c5.jpg","text":"TemporaryFile(/tmp/multipartBody428592436928682622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204683316,"filename":"image_31122025_18_46_55_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923947","file1":"1401923945","file0":"1401923943","file4":"1401923951","file5":"1401923954","file3":"1401923949"},"map_files_photo_id_array":[{"photo_id":"1401923954","filename":"file5"},{"photo_id":"1401923947","filename":"file2"},{"photo_id":"1401923951","filename":"file4"},{"photo_id":"1401923945","filename":"file1"},{"photo_id":"1401923943","filename":"file0"},{"photo_id":"1401923949","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401923949":["hashtag1","hashtag2"]},{"1401923954":["hashtag1","hashtag2"]},{"1401923951":["hashtag1","hashtag2"]},{"1401923945":["hashtag1","hashtag2"]},{"1401923947":["hashtag1","hashtag2"]},{"1401923943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401923949, 1401923954, 1401923951, 1401923945, 1401923947, 1401923943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.402649879455566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:11:03.484967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_34_9842.jpg', '/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_45_10685.jpg', '/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_55_9777.jpg', '/home/pi/Desktop/images/31122025/18/48/image_31122025_18_49_04_9664.jpg', '/home/pi/Desktop/images/31122025/18/49/image_31122025_18_49_14_9795.jpg', '/home/pi/Desktop/images/31122025/18/49/image_31122025_18_49_25_10799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_34_9842.jpg
/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_45_10685.jpg
/home/pi/Desktop/images/31122025/18/48/image_31122025_18_48_55_9777.jpg
/home/pi/Desktop/images/31122025/18/48/image_31122025_18_49_04_9664.jpg
/home/pi/Desktop/images/31122025/18/49/image_31122025_18_49_14_9795.jpg
/home/pi/Desktop/images/31122025/18/49/image_31122025_18_49_25_10799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923963","1401923957","1401923959","1401923956","1401923961","1401923955"],"photo_ids_order":["1401923955","1401923956","1401923957","1401923959","1401923961","1401923963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7f3c1b688eb6aaca19668b37ec712be.jpg","text":"TemporaryFile(/tmp/multipartBody131671338600210002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204726441,"filename":"image_31122025_18_49_25_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc0a1b861d7248ac28b484d56133e913.jpg","text":"TemporaryFile(/tmp/multipartBody4472094855813651619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204726441,"filename":"image_31122025_18_48_55_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/244cd1ef0dfd4962fbdff606b9f094f3.jpg","text":"TemporaryFile(/tmp/multipartBody6481114759451493133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204726441,"filename":"image_31122025_18_49_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c3b932d142965c7f23ad4b2584cbc71.jpg","text":"TemporaryFile(/tmp/multipartBody9119789514065446060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204726441,"filename":"image_31122025_18_48_45_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/017f17284df86d67f61cc2888de09931.jpg","text":"TemporaryFile(/tmp/multipartBody195970456731710301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204726441,"filename":"image_31122025_18_49_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae6e0132c5c299ca0083a0ade0a8bfce.jpg","text":"TemporaryFile(/tmp/multipartBody1179610161839897805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204726441,"filename":"image_31122025_18_48_34_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923957","file1":"1401923956","file0":"1401923955","file4":"1401923961","file5":"1401923963","file3":"1401923959"},"map_files_photo_id_array":[{"photo_id":"1401923963","filename":"file5"},{"photo_id":"1401923957","filename":"file2"},{"photo_id":"1401923961","filename":"file4"},{"photo_id":"1401923956","filename":"file1"},{"photo_id":"1401923955","filename":"file0"},{"photo_id":"1401923959","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401923963":["hashtag1","hashtag2"]},{"1401923957":["hashtag1","hashtag2"]},{"1401923959":["hashtag1","hashtag2"]},{"1401923956":["hashtag1","hashtag2"]},{"1401923961":["hashtag1","hashtag2"]},{"1401923955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401923963, 1401923957, 1401923959, 1401923956, 1401923961, 1401923955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24948310852051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:12:02.845144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/49/image_31122025_18_49_34_9704.jpg', '/home/pi/Desktop/images/31122025/18/49/image_31122025_18_49_54_9625.jpg', '/home/pi/Desktop/images/31122025/18/49/image_31122025_18_50_05_10759.jpg', '/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_14_9720.jpg', '/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_24_9848.jpg', '/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_34_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/49/image_31122025_18_49_34_9704.jpg
/home/pi/Desktop/images/31122025/18/49/image_31122025_18_49_54_9625.jpg
/home/pi/Desktop/images/31122025/18/49/image_31122025_18_50_05_10759.jpg
/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_14_9720.jpg
/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_24_9848.jpg
/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_34_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923972","1401923975","1401923971","1401923974","1401923973","1401923970"],"photo_ids_order":["1401923970","1401923971","1401923972","1401923973","1401923974","1401923975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee48a235b1ff8076cea1b735fa1ae241.jpg","text":"TemporaryFile(/tmp/multipartBody4934491697944090156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204785235,"filename":"image_31122025_18_50_05_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00545aa305121382914c7509bad5810b.jpg","text":"TemporaryFile(/tmp/multipartBody5165508684585656871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204785235,"filename":"image_31122025_18_50_34_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88d92f6af2f64bab6df71d4f33fa022b.jpg","text":"TemporaryFile(/tmp/multipartBody7641233946653140029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204785235,"filename":"image_31122025_18_49_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b488ef142e51154455b60570d3751b78.jpg","text":"TemporaryFile(/tmp/multipartBody6336781448840786552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204785235,"filename":"image_31122025_18_50_24_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14e801bb63edef70d5483067cceba061.jpg","text":"TemporaryFile(/tmp/multipartBody923181362242016626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204785235,"filename":"image_31122025_18_50_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42c10f71d5ad9954df9d14c00a10c9eb.jpg","text":"TemporaryFile(/tmp/multipartBody7429705911214737146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204785235,"filename":"image_31122025_18_49_34_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923972","file1":"1401923971","file0":"1401923970","file4":"1401923974","file5":"1401923975","file3":"1401923973"},"map_files_photo_id_array":[{"photo_id":"1401923975","filename":"file5"},{"photo_id":"1401923972","filename":"file2"},{"photo_id":"1401923974","filename":"file4"},{"photo_id":"1401923971","filename":"file1"},{"photo_id":"1401923970","filename":"file0"},{"photo_id":"1401923973","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401923972":["hashtag1","hashtag2"]},{"1401923975":["hashtag1","hashtag2"]},{"1401923971":["hashtag1","hashtag2"]},{"1401923974":["hashtag1","hashtag2"]},{"1401923973":["hashtag1","hashtag2"]},{"1401923970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401923972, 1401923975, 1401923971, 1401923974, 1401923973, 1401923970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.074339389801025 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:13:03.386364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:13:12.768290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_44_2639.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_48_3544.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_50_2604.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_54_3571.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_56_2626.jpg', '/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_59_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_44_2639.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_48_3544.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_50_2604.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_54_3571.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_56_2626.jpg
/home/pi/Desktop/images/03112025/19/47/image_03112025_19_47_59_2796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401923993","1401923995","1401923989","1401923998","1401923991","1401923988"],"photo_ids_order":["1401923988","1401923989","1401923991","1401923993","1401923995","1401923998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/821bf16479357ad946fdc31605c8be52.jpg","text":"TemporaryFile(/tmp/multipartBody7833360895808339938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204854637,"filename":"image_03112025_19_47_54_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cfdb26216f64753acef26b8910468fe.jpg","text":"TemporaryFile(/tmp/multipartBody6187015951396102398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204854637,"filename":"image_03112025_19_47_56_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0dfd72b2505ca302f5509caf0d85f5e0.jpg","text":"TemporaryFile(/tmp/multipartBody7155168223327147054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204854637,"filename":"image_03112025_19_47_48_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2ed6fb7a754b8a3c6b887ccc183756b.jpg","text":"TemporaryFile(/tmp/multipartBody6776305333829061150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204854637,"filename":"image_03112025_19_47_59_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c45b077d5dd45c01ecad1288fb0e0310.jpg","text":"TemporaryFile(/tmp/multipartBody8386380880014088974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204854637,"filename":"image_03112025_19_47_50_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb6e9e3f2944f7b6722c8466c7fd8891.jpg","text":"TemporaryFile(/tmp/multipartBody9084666487120386399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204854637,"filename":"image_03112025_19_47_44_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401923991","file1":"1401923989","file0":"1401923988","file4":"1401923995","file5":"1401923998","file3":"1401923993"},"map_files_photo_id_array":[{"photo_id":"1401923998","filename":"file5"},{"photo_id":"1401923991","filename":"file2"},{"photo_id":"1401923995","filename":"file4"},{"photo_id":"1401923989","filename":"file1"},{"photo_id":"1401923988","filename":"file0"},{"photo_id":"1401923993","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401923993":["hashtag1","hashtag2"]},{"1401923995":["hashtag1","hashtag2"]},{"1401923989":["hashtag1","hashtag2"]},{"1401923998":["hashtag1","hashtag2"]},{"1401923991":["hashtag1","hashtag2"]},{"1401923988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401923993, 1401923995, 1401923989, 1401923998, 1401923991, 1401923988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56502842903137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:14:02.508751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_45_10700.jpg', '/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_54_9561.jpg', '/home/pi/Desktop/images/31122025/18/50/image_31122025_18_51_04_9678.jpg', '/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_15_10679.jpg', '/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_24_9587.jpg', '/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_34_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_45_10700.jpg
/home/pi/Desktop/images/31122025/18/50/image_31122025_18_50_54_9561.jpg
/home/pi/Desktop/images/31122025/18/50/image_31122025_18_51_04_9678.jpg
/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_15_10679.jpg
/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_24_9587.jpg
/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_34_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924011","1401924005","1401924008","1401924013","1401924007","1401924009"],"photo_ids_order":["1401924005","1401924007","1401924008","1401924009","1401924011","1401924013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69de081f21467a58ac2dbb91f516fd34.jpg","text":"TemporaryFile(/tmp/multipartBody5916014867372137740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204903304,"filename":"image_31122025_18_51_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5aafa98d8fd1b0ac930352892db0c44.jpg","text":"TemporaryFile(/tmp/multipartBody7279816276089856554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204903304,"filename":"image_31122025_18_50_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f29aed9ac942a92c858ec6ebf14de5a.jpg","text":"TemporaryFile(/tmp/multipartBody3380932982330208967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204903304,"filename":"image_31122025_18_51_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a414d3328668a22ffd3610791dd4108c.jpg","text":"TemporaryFile(/tmp/multipartBody3804643538256739224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204903304,"filename":"image_31122025_18_51_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/731fbe58307c04eabd05b31a21c2ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody5593672638142057685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204903304,"filename":"image_31122025_18_50_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3366220fa0184f4566e0231f54e11eba.jpg","text":"TemporaryFile(/tmp/multipartBody9170202038160192837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204903304,"filename":"image_31122025_18_51_15_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924008","file1":"1401924007","file0":"1401924005","file4":"1401924011","file5":"1401924013","file3":"1401924009"},"map_files_photo_id_array":[{"photo_id":"1401924013","filename":"file5"},{"photo_id":"1401924008","filename":"file2"},{"photo_id":"1401924011","filename":"file4"},{"photo_id":"1401924007","filename":"file1"},{"photo_id":"1401924005","filename":"file0"},{"photo_id":"1401924009","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924011":["hashtag1","hashtag2"]},{"1401924005":["hashtag1","hashtag2"]},{"1401924008":["hashtag1","hashtag2"]},{"1401924013":["hashtag1","hashtag2"]},{"1401924007":["hashtag1","hashtag2"]},{"1401924009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924011, 1401924005, 1401924008, 1401924013, 1401924007, 1401924009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2807412147522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:14:41.874675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_03_3616.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_06_3012.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_11_5375.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_14_2965.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_18_1580.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_20_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_03_3616.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_06_3012.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_11_5375.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_14_2965.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_18_1580.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_20_2697.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.6040470600128174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:15:02.910541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_45_10668.jpg', '/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_54_9565.jpg', '/home/pi/Desktop/images/31122025/18/51/image_31122025_18_52_04_9625.jpg', '/home/pi/Desktop/images/31122025/18/52/image_31122025_18_52_15_10839.jpg', '/home/pi/Desktop/images/31122025/18/52/image_31122025_18_52_24_9693.jpg', '/home/pi/Desktop/images/31122025/18/52/image_31122025_18_52_34_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_45_10668.jpg
/home/pi/Desktop/images/31122025/18/51/image_31122025_18_51_54_9565.jpg
/home/pi/Desktop/images/31122025/18/51/image_31122025_18_52_04_9625.jpg
/home/pi/Desktop/images/31122025/18/52/image_31122025_18_52_15_10839.jpg
/home/pi/Desktop/images/31122025/18/52/image_31122025_18_52_24_9693.jpg
/home/pi/Desktop/images/31122025/18/52/image_31122025_18_52_34_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924029","1401924026","1401924031","1401924025","1401924028","1401924027"],"photo_ids_order":["1401924025","1401924026","1401924027","1401924028","1401924029","1401924031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c45db015c7b7bf5f871274b1d1b560a.jpg","text":"TemporaryFile(/tmp/multipartBody1598675523820224409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204963572,"filename":"image_31122025_18_52_24_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f73faeb370a836b4c5841649a786cc60.jpg","text":"TemporaryFile(/tmp/multipartBody1372026318760883000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204963572,"filename":"image_31122025_18_51_54_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb2d82749bb87fd98eff27582ac03486.jpg","text":"TemporaryFile(/tmp/multipartBody6628710517301273425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204963572,"filename":"image_31122025_18_52_34_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/080b61103b5065dcd0ff486cd00575bf.jpg","text":"TemporaryFile(/tmp/multipartBody7611440797021995911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204963572,"filename":"image_31122025_18_51_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66d3f66ead8f68645f5005eb2ffe9fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8472066627702207698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204963572,"filename":"image_31122025_18_52_15_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae61951af8118329d79fbf9821ae91c8.jpg","text":"TemporaryFile(/tmp/multipartBody7157017204663941642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767204963572,"filename":"image_31122025_18_52_04_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924027","file1":"1401924026","file0":"1401924025","file4":"1401924029","file5":"1401924031","file3":"1401924028"},"map_files_photo_id_array":[{"photo_id":"1401924031","filename":"file5"},{"photo_id":"1401924027","filename":"file2"},{"photo_id":"1401924029","filename":"file4"},{"photo_id":"1401924026","filename":"file1"},{"photo_id":"1401924025","filename":"file0"},{"photo_id":"1401924028","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924029":["hashtag1","hashtag2"]},{"1401924026":["hashtag1","hashtag2"]},{"1401924031":["hashtag1","hashtag2"]},{"1401924025":["hashtag1","hashtag2"]},{"1401924028":["hashtag1","hashtag2"]},{"1401924027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924029, 1401924026, 1401924031, 1401924025, 1401924028, 1401924027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07006645202637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:15:42.134350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_03_3616.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_06_3012.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_11_5375.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_14_2965.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_18_1580.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_20_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_03_3616.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_06_3012.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_11_5375.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_14_2965.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_18_1580.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_20_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924041","1401924044","1401924043","1401924040","1401924037","1401924042"],"photo_ids_order":["1401924037","1401924040","1401924041","1401924042","1401924043","1401924044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a268a9a104ff41a83cc952481bea22f6.jpg","text":"TemporaryFile(/tmp/multipartBody8568835281372094279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205003846,"filename":"image_03112025_19_48_11_5375.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3c92e9e9cae686d890d4bcca8dfaaf5.jpg","text":"TemporaryFile(/tmp/multipartBody8597099698907350670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205003846,"filename":"image_03112025_19_48_20_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffe44ec383f57fd55231ea14296ebb88.jpg","text":"TemporaryFile(/tmp/multipartBody1639886581590327342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205003846,"filename":"image_03112025_19_48_18_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee5efcc9ed0e7ac698f33c3c9dd89cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7055124733380375695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205003846,"filename":"image_03112025_19_48_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b1374a899ddac244e10a7d19d4f751f.jpg","text":"TemporaryFile(/tmp/multipartBody8848218352073248919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205003846,"filename":"image_03112025_19_48_03_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/659f497138920d0944bb2f811b960fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2737697625999380993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205003846,"filename":"image_03112025_19_48_14_2965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924041","file1":"1401924040","file0":"1401924037","file4":"1401924043","file5":"1401924044","file3":"1401924042"},"map_files_photo_id_array":[{"photo_id":"1401924044","filename":"file5"},{"photo_id":"1401924041","filename":"file2"},{"photo_id":"1401924043","filename":"file4"},{"photo_id":"1401924040","filename":"file1"},{"photo_id":"1401924037","filename":"file0"},{"photo_id":"1401924042","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924041":["hashtag1","hashtag2"]},{"1401924044":["hashtag1","hashtag2"]},{"1401924043":["hashtag1","hashtag2"]},{"1401924040":["hashtag1","hashtag2"]},{"1401924037":["hashtag1","hashtag2"]},{"1401924042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924041, 1401924044, 1401924043, 1401924040, 1401924037, 1401924042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93934988975525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:16:22.301315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/52/image_31122025_18_52_45_10597.jpg', '/home/pi/Desktop/images/31122025/18/52/image_31122025_18_53_05_10553.jpg', '/home/pi/Desktop/images/31122025/18/53/image_31122025_18_53_14_9559.jpg', '/home/pi/Desktop/images/31122025/18/53/image_31122025_18_53_24_9936.jpg', '/home/pi/Desktop/images/31122025/18/53/image_31122025_18_53_34_9644.jpg', '/home/pi/Desktop/images/31122025/18/53/image_31122025_18_53_44_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/52/image_31122025_18_52_45_10597.jpg
/home/pi/Desktop/images/31122025/18/52/image_31122025_18_53_05_10553.jpg
/home/pi/Desktop/images/31122025/18/53/image_31122025_18_53_14_9559.jpg
/home/pi/Desktop/images/31122025/18/53/image_31122025_18_53_24_9936.jpg
/home/pi/Desktop/images/31122025/18/53/image_31122025_18_53_34_9644.jpg
/home/pi/Desktop/images/31122025/18/53/image_31122025_18_53_44_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924056","1401924050","1401924052","1401924046","1401924054","1401924048"],"photo_ids_order":["1401924046","1401924048","1401924050","1401924052","1401924054","1401924056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b296a7cb045aff218994f87863cabd7.jpg","text":"TemporaryFile(/tmp/multipartBody786950635663615762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205042933,"filename":"image_31122025_18_53_44_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/decc0ace7c8e743df6d65e24a06c3f42.jpg","text":"TemporaryFile(/tmp/multipartBody5088179920244221306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205042933,"filename":"image_31122025_18_53_14_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/348d87363ac7ef0de9ad898e09e287aa.jpg","text":"TemporaryFile(/tmp/multipartBody7083955005906162241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205042933,"filename":"image_31122025_18_53_24_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/762d6a67eecd8b42cfe3c987dbb8d4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3242732413252008652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205042933,"filename":"image_31122025_18_52_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f30d34b81c085bbcc10b8c847f862300.jpg","text":"TemporaryFile(/tmp/multipartBody2920232988313504711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205042933,"filename":"image_31122025_18_53_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4451041dc4f8d6bc316adebd2338624d.jpg","text":"TemporaryFile(/tmp/multipartBody1795776381555513921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205042933,"filename":"image_31122025_18_53_05_10553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924050","file1":"1401924048","file0":"1401924046","file4":"1401924054","file5":"1401924056","file3":"1401924052"},"map_files_photo_id_array":[{"photo_id":"1401924056","filename":"file5"},{"photo_id":"1401924050","filename":"file2"},{"photo_id":"1401924054","filename":"file4"},{"photo_id":"1401924048","filename":"file1"},{"photo_id":"1401924046","filename":"file0"},{"photo_id":"1401924052","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924056":["hashtag1","hashtag2"]},{"1401924050":["hashtag1","hashtag2"]},{"1401924052":["hashtag1","hashtag2"]},{"1401924046":["hashtag1","hashtag2"]},{"1401924054":["hashtag1","hashtag2"]},{"1401924048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924056, 1401924050, 1401924052, 1401924046, 1401924054, 1401924048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.254531145095825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:17:03.275552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/53/image_31122025_18_54_04_9741.jpg', '/home/pi/Desktop/images/31122025/18/54/image_31122025_18_54_15_10658.jpg', '/home/pi/Desktop/images/31122025/18/54/image_31122025_18_54_34_9731.jpg', '/home/pi/Desktop/images/31122025/18/54/image_31122025_18_54_44_9649.jpg', '/home/pi/Desktop/images/31122025/18/54/image_31122025_18_54_55_10745.jpg', '/home/pi/Desktop/images/31122025/18/54/image_31122025_18_55_04_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/53/image_31122025_18_54_04_9741.jpg
/home/pi/Desktop/images/31122025/18/54/image_31122025_18_54_15_10658.jpg
/home/pi/Desktop/images/31122025/18/54/image_31122025_18_54_34_9731.jpg
/home/pi/Desktop/images/31122025/18/54/image_31122025_18_54_44_9649.jpg
/home/pi/Desktop/images/31122025/18/54/image_31122025_18_54_55_10745.jpg
/home/pi/Desktop/images/31122025/18/54/image_31122025_18_55_04_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924065","1401924059","1401924062","1401924058","1401924060","1401924063"],"photo_ids_order":["1401924058","1401924059","1401924060","1401924062","1401924063","1401924065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/521e07786f6987fc2cc7d01c60d5d1b6.jpg","text":"TemporaryFile(/tmp/multipartBody9173797680640728560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205083948,"filename":"image_31122025_18_55_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/397f7c9ab253fb3cdc24c44e95e1f0cb.jpg","text":"TemporaryFile(/tmp/multipartBody7786620467587128429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205083948,"filename":"image_31122025_18_54_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6e7f96a6cd629098b4b70023da2ab9c.jpg","text":"TemporaryFile(/tmp/multipartBody7239994304484910381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205083948,"filename":"image_31122025_18_54_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/234d7ef6433eb4433c59df3299c97a74.jpg","text":"TemporaryFile(/tmp/multipartBody3599780137031171170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205083948,"filename":"image_31122025_18_54_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e16cca40c0bf4e3accf718d4b1f8ec1b.jpg","text":"TemporaryFile(/tmp/multipartBody8481199984289693038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205083948,"filename":"image_31122025_18_54_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edf65c00ce02f5ab1bfa4a60a10987cb.jpg","text":"TemporaryFile(/tmp/multipartBody3499638076261338898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205083948,"filename":"image_31122025_18_54_55_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924060","file1":"1401924059","file0":"1401924058","file4":"1401924063","file5":"1401924065","file3":"1401924062"},"map_files_photo_id_array":[{"photo_id":"1401924065","filename":"file5"},{"photo_id":"1401924060","filename":"file2"},{"photo_id":"1401924063","filename":"file4"},{"photo_id":"1401924059","filename":"file1"},{"photo_id":"1401924058","filename":"file0"},{"photo_id":"1401924062","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924065":["hashtag1","hashtag2"]},{"1401924059":["hashtag1","hashtag2"]},{"1401924062":["hashtag1","hashtag2"]},{"1401924058":["hashtag1","hashtag2"]},{"1401924060":["hashtag1","hashtag2"]},{"1401924063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924065, 1401924059, 1401924062, 1401924058, 1401924060, 1401924063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.710914611816406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:17:42.599835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_23_3006.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_27_3623.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_29_2607.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_32_2661.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_36_3644.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_38_2531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_23_3006.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_27_3623.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_29_2607.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_32_2661.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_36_3644.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_38_2531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924071","1401924074","1401924076","1401924075","1401924078","1401924077"],"photo_ids_order":["1401924071","1401924074","1401924075","1401924076","1401924077","1401924078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7cb4d83bee1fc33c21ae26ea9dcca74.jpg","text":"TemporaryFile(/tmp/multipartBody4621533019075112001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205124492,"filename":"image_03112025_19_48_23_3006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a4026cb0d4dabb2bcb7e90b48047d03.jpg","text":"TemporaryFile(/tmp/multipartBody4106784962059990187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205124492,"filename":"image_03112025_19_48_27_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dc87725c2c677301b91f11c971bc6d8.jpg","text":"TemporaryFile(/tmp/multipartBody5391079228206420168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205124492,"filename":"image_03112025_19_48_32_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/feee5f29cb79ce79f2efbec8ef13f026.jpg","text":"TemporaryFile(/tmp/multipartBody5649201747793164901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205124492,"filename":"image_03112025_19_48_29_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d92db223f978ef173308e793e1e9a2ca.jpg","text":"TemporaryFile(/tmp/multipartBody1023821000755444498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205124492,"filename":"image_03112025_19_48_38_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/015c65582af4fb5a91eaadcd96efc01e.jpg","text":"TemporaryFile(/tmp/multipartBody4944097647017154714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205124492,"filename":"image_03112025_19_48_36_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924075","file1":"1401924074","file0":"1401924071","file4":"1401924077","file5":"1401924078","file3":"1401924076"},"map_files_photo_id_array":[{"photo_id":"1401924078","filename":"file5"},{"photo_id":"1401924075","filename":"file2"},{"photo_id":"1401924077","filename":"file4"},{"photo_id":"1401924074","filename":"file1"},{"photo_id":"1401924071","filename":"file0"},{"photo_id":"1401924076","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924071":["hashtag1","hashtag2"]},{"1401924074":["hashtag1","hashtag2"]},{"1401924076":["hashtag1","hashtag2"]},{"1401924075":["hashtag1","hashtag2"]},{"1401924078":["hashtag1","hashtag2"]},{"1401924077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924071, 1401924074, 1401924076, 1401924075, 1401924078, 1401924077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.852471590042114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:18:22.757274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_14_9878.jpg', '/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_24_9705.jpg', '/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_35_10832.jpg', '/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_44_9543.jpg', '/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_54_9701.jpg', '/home/pi/Desktop/images/31122025/18/55/image_31122025_18_56_05_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_14_9878.jpg
/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_24_9705.jpg
/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_35_10832.jpg
/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_44_9543.jpg
/home/pi/Desktop/images/31122025/18/55/image_31122025_18_55_54_9701.jpg
/home/pi/Desktop/images/31122025/18/55/image_31122025_18_56_05_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924086","1401924080","1401924088","1401924091","1401924081","1401924084"],"photo_ids_order":["1401924080","1401924081","1401924084","1401924086","1401924088","1401924091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07478449326f30c9f526929413052950.jpg","text":"TemporaryFile(/tmp/multipartBody6111778260992521741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205163358,"filename":"image_31122025_18_55_44_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e99137468d7342eed1e77618c652c47.jpg","text":"TemporaryFile(/tmp/multipartBody4686877106332482931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205163358,"filename":"image_31122025_18_55_14_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06731a61d24817408692a5d1f5f33a48.jpg","text":"TemporaryFile(/tmp/multipartBody4743437301842644217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205163358,"filename":"image_31122025_18_55_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15e0320e6f4a88961e72e96ff6317534.jpg","text":"TemporaryFile(/tmp/multipartBody4518561893007851750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205163358,"filename":"image_31122025_18_56_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ade9ecbe2492022842fcb827bbecf8b.jpg","text":"TemporaryFile(/tmp/multipartBody2159209928887792322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205163358,"filename":"image_31122025_18_55_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/466a35784a22506d4f94dd4e5d5dda12.jpg","text":"TemporaryFile(/tmp/multipartBody6974053787807699266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205163358,"filename":"image_31122025_18_55_35_10832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924084","file1":"1401924081","file0":"1401924080","file4":"1401924088","file5":"1401924091","file3":"1401924086"},"map_files_photo_id_array":[{"photo_id":"1401924091","filename":"file5"},{"photo_id":"1401924084","filename":"file2"},{"photo_id":"1401924088","filename":"file4"},{"photo_id":"1401924081","filename":"file1"},{"photo_id":"1401924080","filename":"file0"},{"photo_id":"1401924086","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924086":["hashtag1","hashtag2"]},{"1401924080":["hashtag1","hashtag2"]},{"1401924088":["hashtag1","hashtag2"]},{"1401924091":["hashtag1","hashtag2"]},{"1401924081":["hashtag1","hashtag2"]},{"1401924084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924086, 1401924080, 1401924088, 1401924091, 1401924081, 1401924084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24893236160278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:19:02.967521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/56/image_31122025_18_56_14_9798.jpg', '/home/pi/Desktop/images/31122025/18/56/image_31122025_18_56_24_9800.jpg', '/home/pi/Desktop/images/31122025/18/56/image_31122025_18_56_34_9619.jpg', '/home/pi/Desktop/images/31122025/18/56/image_31122025_18_56_54_9821.jpg', '/home/pi/Desktop/images/31122025/18/56/image_31122025_18_57_04_9692.jpg', '/home/pi/Desktop/images/31122025/18/57/image_31122025_18_57_15_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/56/image_31122025_18_56_14_9798.jpg
/home/pi/Desktop/images/31122025/18/56/image_31122025_18_56_24_9800.jpg
/home/pi/Desktop/images/31122025/18/56/image_31122025_18_56_34_9619.jpg
/home/pi/Desktop/images/31122025/18/56/image_31122025_18_56_54_9821.jpg
/home/pi/Desktop/images/31122025/18/56/image_31122025_18_57_04_9692.jpg
/home/pi/Desktop/images/31122025/18/57/image_31122025_18_57_15_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924092","1401924094","1401924093","1401924096","1401924095","1401924098"],"photo_ids_order":["1401924092","1401924093","1401924094","1401924095","1401924096","1401924098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f79eda26ff223540fab90e4a6e434bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3118173638313090258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205203712,"filename":"image_31122025_18_56_14_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b05d76ef93d64b8001e30cfa66c5a66f.jpg","text":"TemporaryFile(/tmp/multipartBody6248516226253064705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205203712,"filename":"image_31122025_18_56_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc57f886832957e84650773db0956690.jpg","text":"TemporaryFile(/tmp/multipartBody7462875791543320163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205203712,"filename":"image_31122025_18_56_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69d567cebedfe1fd03acff6992d321ba.jpg","text":"TemporaryFile(/tmp/multipartBody9018371270091985142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205203712,"filename":"image_31122025_18_57_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b72a1ebcbcea055d6fa7a968af589d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2772382264420474689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205203712,"filename":"image_31122025_18_56_54_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/475ffe57fc452042e7a652c32ca31e74.jpg","text":"TemporaryFile(/tmp/multipartBody5903860229368139242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205203712,"filename":"image_31122025_18_57_15_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924094","file1":"1401924093","file0":"1401924092","file4":"1401924096","file5":"1401924098","file3":"1401924095"},"map_files_photo_id_array":[{"photo_id":"1401924098","filename":"file5"},{"photo_id":"1401924094","filename":"file2"},{"photo_id":"1401924096","filename":"file4"},{"photo_id":"1401924093","filename":"file1"},{"photo_id":"1401924092","filename":"file0"},{"photo_id":"1401924095","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924092":["hashtag1","hashtag2"]},{"1401924094":["hashtag1","hashtag2"]},{"1401924093":["hashtag1","hashtag2"]},{"1401924096":["hashtag1","hashtag2"]},{"1401924095":["hashtag1","hashtag2"]},{"1401924098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924092, 1401924094, 1401924093, 1401924096, 1401924095, 1401924098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91160011291504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:19:41.890277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_41_2696.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_45_3836.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_47_2540.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_51_3877.jpg', '/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_54_2610.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_03_3176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_41_2696.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_45_3836.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_47_2540.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_51_3877.jpg
/home/pi/Desktop/images/03112025/19/48/image_03112025_19_48_54_2610.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_03_3176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924110","1401924112","1401924109","1401924111","1401924105","1401924108"],"photo_ids_order":["1401924105","1401924108","1401924109","1401924110","1401924111","1401924112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59ba74bb2944bb5cbdb6ab7821dc6c0e.jpg","text":"TemporaryFile(/tmp/multipartBody1214957509681578508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205243739,"filename":"image_03112025_19_48_51_3877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f0842a6cd8ed40a240ff917fe701c6e.jpg","text":"TemporaryFile(/tmp/multipartBody4943890103067276236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205243739,"filename":"image_03112025_19_49_03_3176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e254710c28f59527df722cec0db56104.jpg","text":"TemporaryFile(/tmp/multipartBody7215369199093319751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205243739,"filename":"image_03112025_19_48_47_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a465ad57f26c6841990c8315009770b8.jpg","text":"TemporaryFile(/tmp/multipartBody7294641922554337805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205243739,"filename":"image_03112025_19_48_54_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e2715c11bf8835df7a479577d01fa23.jpg","text":"TemporaryFile(/tmp/multipartBody4693870116660533363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205243739,"filename":"image_03112025_19_48_41_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b5df958742340e3e659ae59af790df7.jpg","text":"TemporaryFile(/tmp/multipartBody1942523820951496480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205243739,"filename":"image_03112025_19_48_45_3836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924109","file1":"1401924108","file0":"1401924105","file4":"1401924111","file5":"1401924112","file3":"1401924110"},"map_files_photo_id_array":[{"photo_id":"1401924112","filename":"file5"},{"photo_id":"1401924109","filename":"file2"},{"photo_id":"1401924111","filename":"file4"},{"photo_id":"1401924108","filename":"file1"},{"photo_id":"1401924105","filename":"file0"},{"photo_id":"1401924110","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924110":["hashtag1","hashtag2"]},{"1401924112":["hashtag1","hashtag2"]},{"1401924109":["hashtag1","hashtag2"]},{"1401924111":["hashtag1","hashtag2"]},{"1401924105":["hashtag1","hashtag2"]},{"1401924108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924110, 1401924112, 1401924109, 1401924111, 1401924105, 1401924108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.651912212371826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:20:22.068453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/57/image_31122025_18_57_34_9881.jpg', '/home/pi/Desktop/images/31122025/18/57/image_31122025_18_57_45_10557.jpg', '/home/pi/Desktop/images/31122025/18/57/image_31122025_18_57_54_9689.jpg', '/home/pi/Desktop/images/31122025/18/57/image_31122025_18_58_04_9776.jpg', '/home/pi/Desktop/images/31122025/18/58/image_31122025_18_58_14_9702.jpg', '/home/pi/Desktop/images/31122025/18/58/image_31122025_18_58_25_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/57/image_31122025_18_57_34_9881.jpg
/home/pi/Desktop/images/31122025/18/57/image_31122025_18_57_45_10557.jpg
/home/pi/Desktop/images/31122025/18/57/image_31122025_18_57_54_9689.jpg
/home/pi/Desktop/images/31122025/18/57/image_31122025_18_58_04_9776.jpg
/home/pi/Desktop/images/31122025/18/58/image_31122025_18_58_14_9702.jpg
/home/pi/Desktop/images/31122025/18/58/image_31122025_18_58_25_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924119","1401924121","1401924123","1401924117","1401924126","1401924114"],"photo_ids_order":["1401924114","1401924117","1401924119","1401924121","1401924123","1401924126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73f0082c22a1e3bab539d9490ed973f8.jpg","text":"TemporaryFile(/tmp/multipartBody2746314670623244193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205282677,"filename":"image_31122025_18_57_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fa8e4f0a05a16db58df7d049f272a92.jpg","text":"TemporaryFile(/tmp/multipartBody3856994384589695323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205282677,"filename":"image_31122025_18_58_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f01025139b7f125ded3af14859039d6.jpg","text":"TemporaryFile(/tmp/multipartBody5932722784317623449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205282677,"filename":"image_31122025_18_58_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c57bc6045ec8ecb52911b34155184c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7487099008451424870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205282677,"filename":"image_31122025_18_57_45_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3a52641376aa07d865b0c4218b16b58.jpg","text":"TemporaryFile(/tmp/multipartBody6751673918349952046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205282677,"filename":"image_31122025_18_58_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1c897c74447d9887665a6650a0c9d96.jpg","text":"TemporaryFile(/tmp/multipartBody7562752321998541311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205282677,"filename":"image_31122025_18_57_34_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924119","file1":"1401924117","file0":"1401924114","file4":"1401924123","file5":"1401924126","file3":"1401924121"},"map_files_photo_id_array":[{"photo_id":"1401924126","filename":"file5"},{"photo_id":"1401924119","filename":"file2"},{"photo_id":"1401924123","filename":"file4"},{"photo_id":"1401924117","filename":"file1"},{"photo_id":"1401924114","filename":"file0"},{"photo_id":"1401924121","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924119":["hashtag1","hashtag2"]},{"1401924121":["hashtag1","hashtag2"]},{"1401924123":["hashtag1","hashtag2"]},{"1401924117":["hashtag1","hashtag2"]},{"1401924126":["hashtag1","hashtag2"]},{"1401924114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924119, 1401924121, 1401924123, 1401924117, 1401924126, 1401924114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.173986196517944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:21:03.025655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/58/image_31122025_18_58_34_9856.jpg', '/home/pi/Desktop/images/31122025/18/58/image_31122025_18_58_44_9738.jpg', '/home/pi/Desktop/images/31122025/18/58/image_31122025_18_59_05_10714.jpg', '/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_14_9650.jpg', '/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_25_10572.jpg', '/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/58/image_31122025_18_58_34_9856.jpg
/home/pi/Desktop/images/31122025/18/58/image_31122025_18_58_44_9738.jpg
/home/pi/Desktop/images/31122025/18/58/image_31122025_18_59_05_10714.jpg
/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_14_9650.jpg
/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_25_10572.jpg
/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_34_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924128","1401924131","1401924130","1401924133","1401924127","1401924129"],"photo_ids_order":["1401924127","1401924128","1401924129","1401924130","1401924131","1401924133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed93c1db8c7bcf64f394e4ae942c7de2.jpg","text":"TemporaryFile(/tmp/multipartBody4546306548167645880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205323719,"filename":"image_31122025_18_58_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c25062b5cfce8d23ee185882be14791.jpg","text":"TemporaryFile(/tmp/multipartBody4982871158880197004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205323719,"filename":"image_31122025_18_59_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c5485edb40133993fea049f9105e458.jpg","text":"TemporaryFile(/tmp/multipartBody2017486490315041807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205323719,"filename":"image_31122025_18_59_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0299981e641f329a80ad33694774bbda.jpg","text":"TemporaryFile(/tmp/multipartBody5764297791742182490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205323719,"filename":"image_31122025_18_59_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c17188bb8144be34d025921da8712c6b.jpg","text":"TemporaryFile(/tmp/multipartBody6740933150471523816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205323719,"filename":"image_31122025_18_58_34_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37bd7c7c7d524420995e2622d467e4fb.jpg","text":"TemporaryFile(/tmp/multipartBody8195092138776594733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205323719,"filename":"image_31122025_18_59_05_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924129","file1":"1401924128","file0":"1401924127","file4":"1401924131","file5":"1401924133","file3":"1401924130"},"map_files_photo_id_array":[{"photo_id":"1401924133","filename":"file5"},{"photo_id":"1401924129","filename":"file2"},{"photo_id":"1401924131","filename":"file4"},{"photo_id":"1401924128","filename":"file1"},{"photo_id":"1401924127","filename":"file0"},{"photo_id":"1401924130","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924128":["hashtag1","hashtag2"]},{"1401924131":["hashtag1","hashtag2"]},{"1401924130":["hashtag1","hashtag2"]},{"1401924133":["hashtag1","hashtag2"]},{"1401924127":["hashtag1","hashtag2"]},{"1401924129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924128, 1401924131, 1401924130, 1401924133, 1401924127, 1401924129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3997118473053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:21:42.375903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_12_6258.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_13_1601.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_15_1535.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_20_2697.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_24_3617.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_29_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_12_6258.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_13_1601.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_15_1535.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_20_2697.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_24_3617.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_29_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924146","1401924143","1401924142","1401924145","1401924139","1401924144"],"photo_ids_order":["1401924139","1401924142","1401924143","1401924144","1401924145","1401924146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e1c2a543f2ec2769e37ecadd2af14ca.jpg","text":"TemporaryFile(/tmp/multipartBody5317028843505346407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205364212,"filename":"image_03112025_19_49_29_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e90ec4ea87234a1ee9bc3f4c603d6e64.jpg","text":"TemporaryFile(/tmp/multipartBody8632002650949663408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205364212,"filename":"image_03112025_19_49_15_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9ad0dd55ebc6a696d8fe0bdf4496e39.jpg","text":"TemporaryFile(/tmp/multipartBody7296798902435851293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205364212,"filename":"image_03112025_19_49_13_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ec366d8945844c4fa28df876f8e4222.jpg","text":"TemporaryFile(/tmp/multipartBody536875545032820476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205364212,"filename":"image_03112025_19_49_24_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75cf8c83056a92200f21773bcaf5ca16.jpg","text":"TemporaryFile(/tmp/multipartBody2905679595550146112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205364212,"filename":"image_03112025_19_49_12_6258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf49a60bc04258eeb9cb8089df54a8d4.jpg","text":"TemporaryFile(/tmp/multipartBody6629281235969921098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205364212,"filename":"image_03112025_19_49_20_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924143","file1":"1401924142","file0":"1401924139","file4":"1401924145","file5":"1401924146","file3":"1401924144"},"map_files_photo_id_array":[{"photo_id":"1401924146","filename":"file5"},{"photo_id":"1401924143","filename":"file2"},{"photo_id":"1401924145","filename":"file4"},{"photo_id":"1401924142","filename":"file1"},{"photo_id":"1401924139","filename":"file0"},{"photo_id":"1401924144","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924146":["hashtag1","hashtag2"]},{"1401924143":["hashtag1","hashtag2"]},{"1401924142":["hashtag1","hashtag2"]},{"1401924145":["hashtag1","hashtag2"]},{"1401924139":["hashtag1","hashtag2"]},{"1401924144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924146, 1401924143, 1401924142, 1401924145, 1401924139, 1401924144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6854453086853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:22:22.638875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_44_9732.jpg', '/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_55_10661.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_15_10157.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_26_10604.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_35_9632.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_46_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_44_9732.jpg
/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_55_10661.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_15_10157.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_26_10604.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_35_9632.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_46_10582.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5265696048736572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:22:32.522679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_32_2763.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_35_3509.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_38_2953.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_43_5084.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_48_1744.jpg', '/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_54_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_32_2763.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_35_3509.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_38_2953.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_43_5084.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_48_1744.jpg
/home/pi/Desktop/images/03112025/19/49/image_03112025_19_49_54_3621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924164","1401924160","1401924163","1401924153","1401924162","1401924156"],"photo_ids_order":["1401924153","1401924156","1401924160","1401924162","1401924163","1401924164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a83a9ba66e68747f95757dcd58151a4.jpg","text":"TemporaryFile(/tmp/multipartBody8163473784945035964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205414368,"filename":"image_03112025_19_49_54_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75831f0f94b9d632e03cc888a6db265b.jpg","text":"TemporaryFile(/tmp/multipartBody8339011413220938655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205414368,"filename":"image_03112025_19_49_38_2953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2bcaef72aaf5ca0326bc4bd217c8bd9.jpg","text":"TemporaryFile(/tmp/multipartBody5013745080171524129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205414368,"filename":"image_03112025_19_49_48_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/806ddbdf8d22888a0a1e37eea30e6f96.jpg","text":"TemporaryFile(/tmp/multipartBody6005178499872340697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205414368,"filename":"image_03112025_19_49_32_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7cf5eae56555d3b6422064c76628f24.jpg","text":"TemporaryFile(/tmp/multipartBody3972765172119800000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205414368,"filename":"image_03112025_19_49_43_5084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90c4d41c87e7941e4cc4637dfef7f0c1.jpg","text":"TemporaryFile(/tmp/multipartBody6567530157994360404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205414368,"filename":"image_03112025_19_49_35_3509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924160","file1":"1401924156","file0":"1401924153","file4":"1401924163","file5":"1401924164","file3":"1401924162"},"map_files_photo_id_array":[{"photo_id":"1401924164","filename":"file5"},{"photo_id":"1401924160","filename":"file2"},{"photo_id":"1401924163","filename":"file4"},{"photo_id":"1401924156","filename":"file1"},{"photo_id":"1401924153","filename":"file0"},{"photo_id":"1401924162","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924164":["hashtag1","hashtag2"]},{"1401924160":["hashtag1","hashtag2"]},{"1401924163":["hashtag1","hashtag2"]},{"1401924153":["hashtag1","hashtag2"]},{"1401924162":["hashtag1","hashtag2"]},{"1401924156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924164, 1401924160, 1401924163, 1401924153, 1401924162, 1401924156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08295130729675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:23:12.699485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_08_6059.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_14_5733.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_16_1728.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_20_1708.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_26_2700.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_30_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_08_6059.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_14_5733.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_16_1728.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_20_1708.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_26_2700.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_30_3755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924170","1401924167","1401924169","1401924172","1401924166","1401924174"],"photo_ids_order":["1401924166","1401924167","1401924169","1401924170","1401924172","1401924174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9985e14ac87214f4943c2e2df352774a.jpg","text":"TemporaryFile(/tmp/multipartBody324395627090411676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205454411,"filename":"image_03112025_19_50_20_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee70f7848305f262d39025f37e695801.jpg","text":"TemporaryFile(/tmp/multipartBody2262900667935619772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205454411,"filename":"image_03112025_19_50_14_5733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/775c2d9045bc98e4c2d1d98bfcec113d.jpg","text":"TemporaryFile(/tmp/multipartBody1515172316748570808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205454411,"filename":"image_03112025_19_50_16_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5c158929dcf507d382222acae3e4ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2237178402015007434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205454411,"filename":"image_03112025_19_50_26_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17e6907b8ce5692c68ac1f973f776cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1496848860433761714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205454411,"filename":"image_03112025_19_50_08_6059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/046f9e04c09c49fa240edd795633c453.jpg","text":"TemporaryFile(/tmp/multipartBody8054840779025748125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205454411,"filename":"image_03112025_19_50_30_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924169","file1":"1401924167","file0":"1401924166","file4":"1401924172","file5":"1401924174","file3":"1401924170"},"map_files_photo_id_array":[{"photo_id":"1401924174","filename":"file5"},{"photo_id":"1401924169","filename":"file2"},{"photo_id":"1401924172","filename":"file4"},{"photo_id":"1401924167","filename":"file1"},{"photo_id":"1401924166","filename":"file0"},{"photo_id":"1401924170","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924170":["hashtag1","hashtag2"]},{"1401924167":["hashtag1","hashtag2"]},{"1401924169":["hashtag1","hashtag2"]},{"1401924172":["hashtag1","hashtag2"]},{"1401924166":["hashtag1","hashtag2"]},{"1401924174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924170, 1401924167, 1401924169, 1401924172, 1401924166, 1401924174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0475800037384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:24:02.645489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_44_9732.jpg', '/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_55_10661.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_15_10157.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_26_10604.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_35_9632.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_46_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_44_9732.jpg
/home/pi/Desktop/images/31122025/18/59/image_31122025_18_59_55_10661.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_15_10157.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_26_10604.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_35_9632.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_46_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924181","1401924184","1401924178","1401924186","1401924180","1401924183"],"photo_ids_order":["1401924178","1401924180","1401924181","1401924183","1401924184","1401924186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5be0dce990feae44d26ab7dfb59e39fd.jpg","text":"TemporaryFile(/tmp/multipartBody7368966161067794138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205503355,"filename":"image_31122025_19_00_15_10157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2c7263311b41f23a54d4ce3f3cf9ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7480261655284101452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205503355,"filename":"image_31122025_19_00_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5b1929bb672648670780a003310cdc4.jpg","text":"TemporaryFile(/tmp/multipartBody1829736944606827023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205503355,"filename":"image_31122025_18_59_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5688e8f0216eaee11ed14e2633a6e977.jpg","text":"TemporaryFile(/tmp/multipartBody8309981639354515745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205503355,"filename":"image_31122025_19_00_46_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61c4799d438e0bfe3429b87c6e0bf887.jpg","text":"TemporaryFile(/tmp/multipartBody5982928557131543615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205503355,"filename":"image_31122025_18_59_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73e098f9fba5e7d3590d5b59554f02d7.jpg","text":"TemporaryFile(/tmp/multipartBody7448894816038514960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205503355,"filename":"image_31122025_19_00_26_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924181","file1":"1401924180","file0":"1401924178","file4":"1401924184","file5":"1401924186","file3":"1401924183"},"map_files_photo_id_array":[{"photo_id":"1401924186","filename":"file5"},{"photo_id":"1401924181","filename":"file2"},{"photo_id":"1401924184","filename":"file4"},{"photo_id":"1401924180","filename":"file1"},{"photo_id":"1401924178","filename":"file0"},{"photo_id":"1401924183","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924181":["hashtag1","hashtag2"]},{"1401924184":["hashtag1","hashtag2"]},{"1401924178":["hashtag1","hashtag2"]},{"1401924186":["hashtag1","hashtag2"]},{"1401924180":["hashtag1","hashtag2"]},{"1401924183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924181, 1401924184, 1401924178, 1401924186, 1401924180, 1401924183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89226818084717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:24:41.990193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_38_5277.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_41_1681.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_44_3583.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_47_2657.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_02_6120.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_20_17367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_38_5277.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_41_1681.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_44_3583.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_47_2657.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_02_6120.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_20_17367.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.748706340789795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:25:02.772906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_55_9618.jpg', '/home/pi/Desktop/images/31122025/19/00/image_31122025_19_01_05_9600.jpg', '/home/pi/Desktop/images/31122025/19/01/image_31122025_19_01_16_10779.jpg', '/home/pi/Desktop/images/31122025/19/01/image_31122025_19_01_45_9854.jpg', '/home/pi/Desktop/images/31122025/19/01/image_31122025_19_01_55_10722.jpg', '/home/pi/Desktop/images/31122025/19/02/image_31122025_19_02_25_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_00_55_9618.jpg
/home/pi/Desktop/images/31122025/19/00/image_31122025_19_01_05_9600.jpg
/home/pi/Desktop/images/31122025/19/01/image_31122025_19_01_16_10779.jpg
/home/pi/Desktop/images/31122025/19/01/image_31122025_19_01_45_9854.jpg
/home/pi/Desktop/images/31122025/19/01/image_31122025_19_01_55_10722.jpg
/home/pi/Desktop/images/31122025/19/02/image_31122025_19_02_25_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924201","1401924200","1401924199","1401924198","1401924202","1401924204"],"photo_ids_order":["1401924198","1401924199","1401924200","1401924201","1401924202","1401924204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c14dc455e1a07162c4f37b4907b780a0.jpg","text":"TemporaryFile(/tmp/multipartBody1109349096472838939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205563419,"filename":"image_31122025_19_01_45_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1cc7eb08a821b3a1ec987b4cc494a14e.jpg","text":"TemporaryFile(/tmp/multipartBody6418035309611230692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205563419,"filename":"image_31122025_19_01_16_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c41dba6aab68459433539d9dbf89a68f.jpg","text":"TemporaryFile(/tmp/multipartBody9014009064010719344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205563419,"filename":"image_31122025_19_01_05_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94672728ea5d14c477fb16d527695fb7.jpg","text":"TemporaryFile(/tmp/multipartBody576597117010929397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205563419,"filename":"image_31122025_19_00_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/328db07e5145f7c7a6eab4ffa8e512d1.jpg","text":"TemporaryFile(/tmp/multipartBody4415348945706581526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205563419,"filename":"image_31122025_19_01_55_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59a1d9fe0ff7924d05401a6ec3e65c93.jpg","text":"TemporaryFile(/tmp/multipartBody4032273513133354308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205563419,"filename":"image_31122025_19_02_25_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924200","file1":"1401924199","file0":"1401924198","file4":"1401924202","file5":"1401924204","file3":"1401924201"},"map_files_photo_id_array":[{"photo_id":"1401924204","filename":"file5"},{"photo_id":"1401924200","filename":"file2"},{"photo_id":"1401924202","filename":"file4"},{"photo_id":"1401924199","filename":"file1"},{"photo_id":"1401924198","filename":"file0"},{"photo_id":"1401924201","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924201":["hashtag1","hashtag2"]},{"1401924200":["hashtag1","hashtag2"]},{"1401924199":["hashtag1","hashtag2"]},{"1401924198":["hashtag1","hashtag2"]},{"1401924202":["hashtag1","hashtag2"]},{"1401924204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924201, 1401924200, 1401924199, 1401924198, 1401924202, 1401924204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70718550682068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:25:42.205207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_38_5277.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_41_1681.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_44_3583.jpg', '/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_47_2657.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_02_6120.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_20_17367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_38_5277.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_41_1681.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_44_3583.jpg
/home/pi/Desktop/images/03112025/19/50/image_03112025_19_50_47_2657.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_02_6120.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_20_17367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924212","1401924215","1401924214","1401924216","1401924210","1401924213"],"photo_ids_order":["1401924210","1401924212","1401924213","1401924214","1401924215","1401924216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c0b54e17a4db54c0cec8e66b732ec20.jpg","text":"TemporaryFile(/tmp/multipartBody7266142177664351992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205603972,"filename":"image_03112025_19_50_41_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f87b890184d68ea0ff3df8408429fe66.jpg","text":"TemporaryFile(/tmp/multipartBody7121529309845202690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205603972,"filename":"image_03112025_19_51_02_6120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5418549a53d925776bea215aafa7c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1770360147199421249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205603972,"filename":"image_03112025_19_50_47_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9523ff37f1506522ceedac11807d113.jpg","text":"TemporaryFile(/tmp/multipartBody8608651793621680290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205603972,"filename":"image_03112025_19_51_20_17367.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2800f374e0f1eec8a6a5c925b63d7341.jpg","text":"TemporaryFile(/tmp/multipartBody7318996803938795929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205603972,"filename":"image_03112025_19_50_38_5277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0e0ce5a5cc5657eed18c521e2ca60ce.jpg","text":"TemporaryFile(/tmp/multipartBody3292402123043826427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205603972,"filename":"image_03112025_19_50_44_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924213","file1":"1401924212","file0":"1401924210","file4":"1401924215","file5":"1401924216","file3":"1401924214"},"map_files_photo_id_array":[{"photo_id":"1401924216","filename":"file5"},{"photo_id":"1401924213","filename":"file2"},{"photo_id":"1401924215","filename":"file4"},{"photo_id":"1401924212","filename":"file1"},{"photo_id":"1401924210","filename":"file0"},{"photo_id":"1401924214","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924212":["hashtag1","hashtag2"]},{"1401924215":["hashtag1","hashtag2"]},{"1401924214":["hashtag1","hashtag2"]},{"1401924216":["hashtag1","hashtag2"]},{"1401924210":["hashtag1","hashtag2"]},{"1401924213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924212, 1401924215, 1401924214, 1401924216, 1401924210, 1401924213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96910881996155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:26:22.347230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/02/image_31122025_19_02_35_10648.jpg', '/home/pi/Desktop/images/31122025/19/02/image_31122025_19_02_45_9561.jpg', '/home/pi/Desktop/images/31122025/19/02/image_31122025_19_03_06_10745.jpg', '/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_15_9851.jpg', '/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_25_9652.jpg', '/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_35_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/02/image_31122025_19_02_35_10648.jpg
/home/pi/Desktop/images/31122025/19/02/image_31122025_19_02_45_9561.jpg
/home/pi/Desktop/images/31122025/19/02/image_31122025_19_03_06_10745.jpg
/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_15_9851.jpg
/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_25_9652.jpg
/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_35_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924224","1401924218","1401924220","1401924222","1401924225","1401924228"],"photo_ids_order":["1401924218","1401924220","1401924222","1401924224","1401924225","1401924228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5ebe549058ab665f28e5595ca80ee08.jpg","text":"TemporaryFile(/tmp/multipartBody536217818941845374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205642942,"filename":"image_31122025_19_03_15_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f21326c26a66373eb7c94b24ed2e2889.jpg","text":"TemporaryFile(/tmp/multipartBody3413994805985347309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205642942,"filename":"image_31122025_19_02_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6409648aecceee6cca92b6d9f52c3e1a.jpg","text":"TemporaryFile(/tmp/multipartBody9219760457715168531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205642942,"filename":"image_31122025_19_02_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d94628a183089fe87858c1d809c33be9.jpg","text":"TemporaryFile(/tmp/multipartBody6255357504818013813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205642942,"filename":"image_31122025_19_03_06_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3f65c9041825f259aa3cb2db93ace7a.jpg","text":"TemporaryFile(/tmp/multipartBody6098216079824508038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205642942,"filename":"image_31122025_19_03_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/deef6c2d827e514cfd4a291215fa99cf.jpg","text":"TemporaryFile(/tmp/multipartBody5056834361519777477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205642942,"filename":"image_31122025_19_03_35_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924222","file1":"1401924220","file0":"1401924218","file4":"1401924225","file5":"1401924228","file3":"1401924224"},"map_files_photo_id_array":[{"photo_id":"1401924228","filename":"file5"},{"photo_id":"1401924222","filename":"file2"},{"photo_id":"1401924225","filename":"file4"},{"photo_id":"1401924220","filename":"file1"},{"photo_id":"1401924218","filename":"file0"},{"photo_id":"1401924224","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924224":["hashtag1","hashtag2"]},{"1401924218":["hashtag1","hashtag2"]},{"1401924220":["hashtag1","hashtag2"]},{"1401924222":["hashtag1","hashtag2"]},{"1401924225":["hashtag1","hashtag2"]},{"1401924228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924224, 1401924218, 1401924220, 1401924222, 1401924225, 1401924228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54725003242493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:27:03.234440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_45_10582.jpg', '/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_55_9613.jpg', '/home/pi/Desktop/images/31122025/19/03/image_31122025_19_04_06_10662.jpg', '/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_15_9756.jpg', '/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_25_9763.jpg', '/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_35_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_45_10582.jpg
/home/pi/Desktop/images/31122025/19/03/image_31122025_19_03_55_9613.jpg
/home/pi/Desktop/images/31122025/19/03/image_31122025_19_04_06_10662.jpg
/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_15_9756.jpg
/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_25_9763.jpg
/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_35_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924230","1401924233","1401924232","1401924235","1401924229","1401924231"],"photo_ids_order":["1401924229","1401924230","1401924231","1401924232","1401924233","1401924235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d902274f15f4f612ee28f553e6df8d23.jpg","text":"TemporaryFile(/tmp/multipartBody2272315164622377233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205683897,"filename":"image_31122025_19_03_55_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94b98958e09f56345f9e7f4ff592b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody9077672420027392738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205683897,"filename":"image_31122025_19_04_25_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef626ec900d69409b2468398c06cb577.jpg","text":"TemporaryFile(/tmp/multipartBody3061475009679059166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205683897,"filename":"image_31122025_19_04_15_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/297c1ae5ad04e3c3f60a91f3ff2ea29a.jpg","text":"TemporaryFile(/tmp/multipartBody323918452752386100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205683897,"filename":"image_31122025_19_04_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e77031354709f8b4e7626815e22381e.jpg","text":"TemporaryFile(/tmp/multipartBody2605327691878740003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205683897,"filename":"image_31122025_19_03_45_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de66801683630fe71490275494ef13a2.jpg","text":"TemporaryFile(/tmp/multipartBody1025513730237386071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205683897,"filename":"image_31122025_19_04_06_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924231","file1":"1401924230","file0":"1401924229","file4":"1401924233","file5":"1401924235","file3":"1401924232"},"map_files_photo_id_array":[{"photo_id":"1401924235","filename":"file5"},{"photo_id":"1401924231","filename":"file2"},{"photo_id":"1401924233","filename":"file4"},{"photo_id":"1401924230","filename":"file1"},{"photo_id":"1401924229","filename":"file0"},{"photo_id":"1401924232","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924230":["hashtag1","hashtag2"]},{"1401924233":["hashtag1","hashtag2"]},{"1401924232":["hashtag1","hashtag2"]},{"1401924235":["hashtag1","hashtag2"]},{"1401924229":["hashtag1","hashtag2"]},{"1401924231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924230, 1401924233, 1401924232, 1401924235, 1401924229, 1401924231)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.185946464538574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:28:02.619154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_46_10659.jpg', '/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_55_9694.jpg', '/home/pi/Desktop/images/31122025/19/04/image_31122025_19_05_05_9700.jpg', '/home/pi/Desktop/images/31122025/19/05/image_31122025_19_05_16_10632.jpg', '/home/pi/Desktop/images/31122025/19/05/image_31122025_19_05_35_9534.jpg', '/home/pi/Desktop/images/31122025/19/05/image_31122025_19_05_45_10523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_46_10659.jpg
/home/pi/Desktop/images/31122025/19/04/image_31122025_19_04_55_9694.jpg
/home/pi/Desktop/images/31122025/19/04/image_31122025_19_05_05_9700.jpg
/home/pi/Desktop/images/31122025/19/05/image_31122025_19_05_16_10632.jpg
/home/pi/Desktop/images/31122025/19/05/image_31122025_19_05_35_9534.jpg
/home/pi/Desktop/images/31122025/19/05/image_31122025_19_05_45_10523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924245","1401924242","1401924244","1401924247","1401924249","1401924243"],"photo_ids_order":["1401924242","1401924243","1401924244","1401924245","1401924247","1401924249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51713c771f56c34efbb660852f0b8c78.jpg","text":"TemporaryFile(/tmp/multipartBody451876947579045450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205745969,"filename":"image_31122025_19_05_16_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5cd90cc97a4ba3b6374600a4ba3d857.jpg","text":"TemporaryFile(/tmp/multipartBody8547824403159200916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205745969,"filename":"image_31122025_19_04_46_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8459bc2096098b6d81b1afdd18b7b8c0.jpg","text":"TemporaryFile(/tmp/multipartBody6349657551432909239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205745969,"filename":"image_31122025_19_05_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aff5ecc9b7ebf96b8c446e40340057a.jpg","text":"TemporaryFile(/tmp/multipartBody7170740952051754787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205745969,"filename":"image_31122025_19_05_35_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2873fca99e1156df6dfced821f9e01f3.jpg","text":"TemporaryFile(/tmp/multipartBody6430248294943042557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205745969,"filename":"image_31122025_19_05_45_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8197934f4b1c671162ab1f189effec66.jpg","text":"TemporaryFile(/tmp/multipartBody4516864523569914343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205745969,"filename":"image_31122025_19_04_55_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924244","file1":"1401924243","file0":"1401924242","file4":"1401924247","file5":"1401924249","file3":"1401924245"},"map_files_photo_id_array":[{"photo_id":"1401924249","filename":"file5"},{"photo_id":"1401924244","filename":"file2"},{"photo_id":"1401924247","filename":"file4"},{"photo_id":"1401924243","filename":"file1"},{"photo_id":"1401924242","filename":"file0"},{"photo_id":"1401924245","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924245":["hashtag1","hashtag2"]},{"1401924242":["hashtag1","hashtag2"]},{"1401924244":["hashtag1","hashtag2"]},{"1401924247":["hashtag1","hashtag2"]},{"1401924249":["hashtag1","hashtag2"]},{"1401924243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924245, 1401924242, 1401924244, 1401924247, 1401924249, 1401924243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.499013900756836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:28:42.229847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_21_1662.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_23_1528.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_25_1730.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_26_1621.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_28_1804.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_30_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_21_1662.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_23_1528.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_25_1730.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_26_1621.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_28_1804.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_30_1597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924257","1401924260","1401924254","1401924256","1401924259","1401924258"],"photo_ids_order":["1401924254","1401924256","1401924257","1401924258","1401924259","1401924260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/912af775a2415748198a770cd3d1c91b.jpg","text":"TemporaryFile(/tmp/multipartBody1391909690327102920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205783954,"filename":"image_03112025_19_51_25_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bc93d71ba021ee574d75d3a3f8a650d.jpg","text":"TemporaryFile(/tmp/multipartBody8985929659378367466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205783954,"filename":"image_03112025_19_51_30_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e1e9294792c9e9324f0d3da3c33cd05.jpg","text":"TemporaryFile(/tmp/multipartBody4189307807741053226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205783954,"filename":"image_03112025_19_51_21_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fb3e67a949e0654dd709fddeb67d164.jpg","text":"TemporaryFile(/tmp/multipartBody5345211570938786314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205783954,"filename":"image_03112025_19_51_23_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0c34c24d4e46efd8ba30b07836d1ab6.jpg","text":"TemporaryFile(/tmp/multipartBody9008410890233724258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205783954,"filename":"image_03112025_19_51_28_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/187c96e736520d2e3271d033ce1726b2.jpg","text":"TemporaryFile(/tmp/multipartBody7660270964637366553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205783954,"filename":"image_03112025_19_51_26_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924257","file1":"1401924256","file0":"1401924254","file4":"1401924259","file5":"1401924260","file3":"1401924258"},"map_files_photo_id_array":[{"photo_id":"1401924260","filename":"file5"},{"photo_id":"1401924257","filename":"file2"},{"photo_id":"1401924259","filename":"file4"},{"photo_id":"1401924256","filename":"file1"},{"photo_id":"1401924254","filename":"file0"},{"photo_id":"1401924258","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924257":["hashtag1","hashtag2"]},{"1401924260":["hashtag1","hashtag2"]},{"1401924254":["hashtag1","hashtag2"]},{"1401924256":["hashtag1","hashtag2"]},{"1401924259":["hashtag1","hashtag2"]},{"1401924258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924257, 1401924260, 1401924254, 1401924256, 1401924259, 1401924258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.677090883255005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:29:23.543595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/05/image_31122025_19_05_55_9625.jpg', '/home/pi/Desktop/images/31122025/19/05/image_31122025_19_06_06_10586.jpg', '/home/pi/Desktop/images/31122025/19/06/image_31122025_19_06_15_9591.jpg', '/home/pi/Desktop/images/31122025/19/06/image_31122025_19_06_35_10571.jpg', '/home/pi/Desktop/images/31122025/19/06/image_31122025_19_06_45_9688.jpg', '/home/pi/Desktop/images/31122025/19/06/image_31122025_19_06_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/05/image_31122025_19_05_55_9625.jpg
/home/pi/Desktop/images/31122025/19/05/image_31122025_19_06_06_10586.jpg
/home/pi/Desktop/images/31122025/19/06/image_31122025_19_06_15_9591.jpg
/home/pi/Desktop/images/31122025/19/06/image_31122025_19_06_35_10571.jpg
/home/pi/Desktop/images/31122025/19/06/image_31122025_19_06_45_9688.jpg
/home/pi/Desktop/images/31122025/19/06/image_31122025_19_06_55_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924269","1401924274","1401924271","1401924264","1401924267","1401924276"],"photo_ids_order":["1401924264","1401924267","1401924269","1401924271","1401924274","1401924276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f6f8dc470e558b9404adc637006d0cd.jpg","text":"TemporaryFile(/tmp/multipartBody1397728083885637689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205824105,"filename":"image_31122025_19_06_15_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79c3c8b353d4842588e76310b53ad741.jpg","text":"TemporaryFile(/tmp/multipartBody8083982113302075296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205824105,"filename":"image_31122025_19_06_45_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1dcde4e6a5189504acf0261feb22b76.jpg","text":"TemporaryFile(/tmp/multipartBody107311150318727887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205824105,"filename":"image_31122025_19_06_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5327eb8a579351ffdc67e00712655a8.jpg","text":"TemporaryFile(/tmp/multipartBody8114078408557843666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205824105,"filename":"image_31122025_19_05_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/898c5fa8ca0c8e7ec6147fa542ce881b.jpg","text":"TemporaryFile(/tmp/multipartBody3160762400715998730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205824105,"filename":"image_31122025_19_06_06_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/850b19291775b485638c10b0f9d04c91.jpg","text":"TemporaryFile(/tmp/multipartBody593851104118238723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205824105,"filename":"image_31122025_19_06_55_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924269","file1":"1401924267","file0":"1401924264","file4":"1401924274","file5":"1401924276","file3":"1401924271"},"map_files_photo_id_array":[{"photo_id":"1401924276","filename":"file5"},{"photo_id":"1401924269","filename":"file2"},{"photo_id":"1401924274","filename":"file4"},{"photo_id":"1401924267","filename":"file1"},{"photo_id":"1401924264","filename":"file0"},{"photo_id":"1401924271","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924269":["hashtag1","hashtag2"]},{"1401924274":["hashtag1","hashtag2"]},{"1401924271":["hashtag1","hashtag2"]},{"1401924264":["hashtag1","hashtag2"]},{"1401924267":["hashtag1","hashtag2"]},{"1401924276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924269, 1401924274, 1401924271, 1401924264, 1401924267, 1401924276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27093243598938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:30:02.435384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/06/image_31122025_19_07_06_10790.jpg', '/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_15_9617.jpg', '/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_25_9673.jpg', '/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_35_9978.jpg', '/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_46_10690.jpg', '/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_55_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/06/image_31122025_19_07_06_10790.jpg
/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_15_9617.jpg
/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_25_9673.jpg
/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_35_9978.jpg
/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_46_10690.jpg
/home/pi/Desktop/images/31122025/19/07/image_31122025_19_07_55_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924278","1401924283","1401924277","1401924282","1401924279","1401924281"],"photo_ids_order":["1401924277","1401924278","1401924279","1401924281","1401924282","1401924283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d22667ff9e1380319046265ac5a2a162.jpg","text":"TemporaryFile(/tmp/multipartBody6974192117198529015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205864256,"filename":"image_31122025_19_07_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af7984a39b317a975b6bffdcf6bb915a.jpg","text":"TemporaryFile(/tmp/multipartBody7604102930575438926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205864256,"filename":"image_31122025_19_07_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47deb7729ae3d0702a96662185618bce.jpg","text":"TemporaryFile(/tmp/multipartBody6219655541628582936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205864256,"filename":"image_31122025_19_07_06_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c4c2cc4338fbc1979bc24bbfc968339.jpg","text":"TemporaryFile(/tmp/multipartBody5185132847470640395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205864256,"filename":"image_31122025_19_07_46_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/773ef09c4d1dcb8b96630fd660f73578.jpg","text":"TemporaryFile(/tmp/multipartBody508971683398603650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205864256,"filename":"image_31122025_19_07_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41f7cde5f2765b9e3ef3f24206380625.jpg","text":"TemporaryFile(/tmp/multipartBody3116922654470361006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205864256,"filename":"image_31122025_19_07_35_9978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924279","file1":"1401924278","file0":"1401924277","file4":"1401924282","file5":"1401924283","file3":"1401924281"},"map_files_photo_id_array":[{"photo_id":"1401924283","filename":"file5"},{"photo_id":"1401924279","filename":"file2"},{"photo_id":"1401924282","filename":"file4"},{"photo_id":"1401924278","filename":"file1"},{"photo_id":"1401924277","filename":"file0"},{"photo_id":"1401924281","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924278":["hashtag1","hashtag2"]},{"1401924283":["hashtag1","hashtag2"]},{"1401924277":["hashtag1","hashtag2"]},{"1401924282":["hashtag1","hashtag2"]},{"1401924279":["hashtag1","hashtag2"]},{"1401924281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924278, 1401924283, 1401924277, 1401924282, 1401924279, 1401924281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23551940917969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:30:42.079747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_39_1609.jpg', '/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_53_2680.jpg', '/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_14_3524.jpg', '/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_20_2651.jpg', '/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_24_4367.jpg', '/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_35_2972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_39_1609.jpg
/home/pi/Desktop/images/03112025/19/51/image_03112025_19_51_53_2680.jpg
/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_14_3524.jpg
/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_20_2651.jpg
/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_24_4367.jpg
/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_35_2972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924290","1401924287","1401924286","1401924289","1401924285","1401924288"],"photo_ids_order":["1401924285","1401924286","1401924287","1401924288","1401924289","1401924290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcf4fa09598aaceb83abb1722eea25ea.jpg","text":"TemporaryFile(/tmp/multipartBody40423344820115461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205903790,"filename":"image_03112025_19_52_35_2972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b109d1fc727ccdb180bdf5a84d6171b5.jpg","text":"TemporaryFile(/tmp/multipartBody5807483477512207384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205903790,"filename":"image_03112025_19_52_14_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ee9374c6c8948791945a71dd3edac75.jpg","text":"TemporaryFile(/tmp/multipartBody6793317018257801497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205903790,"filename":"image_03112025_19_51_53_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/424301d98fd758fe6822bb2b9f902daa.jpg","text":"TemporaryFile(/tmp/multipartBody18177433651552547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205903790,"filename":"image_03112025_19_52_24_4367.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b235b7869acf323c11338f76e4171a55.jpg","text":"TemporaryFile(/tmp/multipartBody4858466516889683874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205903790,"filename":"image_03112025_19_51_39_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f4f676ff062fe64521484462282c496.jpg","text":"TemporaryFile(/tmp/multipartBody2722514879027436083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205903790,"filename":"image_03112025_19_52_20_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924287","file1":"1401924286","file0":"1401924285","file4":"1401924289","file5":"1401924290","file3":"1401924288"},"map_files_photo_id_array":[{"photo_id":"1401924290","filename":"file5"},{"photo_id":"1401924287","filename":"file2"},{"photo_id":"1401924289","filename":"file4"},{"photo_id":"1401924286","filename":"file1"},{"photo_id":"1401924285","filename":"file0"},{"photo_id":"1401924288","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924290":["hashtag1","hashtag2"]},{"1401924287":["hashtag1","hashtag2"]},{"1401924286":["hashtag1","hashtag2"]},{"1401924289":["hashtag1","hashtag2"]},{"1401924285":["hashtag1","hashtag2"]},{"1401924288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924290, 1401924287, 1401924286, 1401924289, 1401924285, 1401924288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59223437309265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:31:22.377216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/07/image_31122025_19_08_06_10559.jpg', '/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_16_9804.jpg', '/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_25_9640.jpg', '/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_35_10071.jpg', '/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_45_9743.jpg', '/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_56_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/07/image_31122025_19_08_06_10559.jpg
/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_16_9804.jpg
/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_25_9640.jpg
/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_35_10071.jpg
/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_45_9743.jpg
/home/pi/Desktop/images/31122025/19/08/image_31122025_19_08_56_10734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924299","1401924302","1401924298","1401924291","1401924293","1401924296"],"photo_ids_order":["1401924291","1401924293","1401924296","1401924298","1401924299","1401924302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29bd66795d18f909d102491d572a7eb6.jpg","text":"TemporaryFile(/tmp/multipartBody8884048055491492041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205942976,"filename":"image_31122025_19_08_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a569131e3a968af5b5b98484f7d9f4a.jpg","text":"TemporaryFile(/tmp/multipartBody3442582797678387580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205942976,"filename":"image_31122025_19_08_56_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f15ec06ae72d001cc77c39984a0ccdb1.jpg","text":"TemporaryFile(/tmp/multipartBody3413447543897621249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205942976,"filename":"image_31122025_19_08_35_10071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6056f27753725f96cae622da89574df.jpg","text":"TemporaryFile(/tmp/multipartBody4200329080713969505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205942976,"filename":"image_31122025_19_08_06_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6d407697319dd66283908679bd7358b.jpg","text":"TemporaryFile(/tmp/multipartBody3676806499533866278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205942976,"filename":"image_31122025_19_08_16_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f77610b1e2ebee4487aeecd151cd0d5e.jpg","text":"TemporaryFile(/tmp/multipartBody7510816516322492900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205942976,"filename":"image_31122025_19_08_25_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924296","file1":"1401924293","file0":"1401924291","file4":"1401924299","file5":"1401924302","file3":"1401924298"},"map_files_photo_id_array":[{"photo_id":"1401924302","filename":"file5"},{"photo_id":"1401924296","filename":"file2"},{"photo_id":"1401924299","filename":"file4"},{"photo_id":"1401924293","filename":"file1"},{"photo_id":"1401924291","filename":"file0"},{"photo_id":"1401924298","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924299":["hashtag1","hashtag2"]},{"1401924302":["hashtag1","hashtag2"]},{"1401924298":["hashtag1","hashtag2"]},{"1401924291":["hashtag1","hashtag2"]},{"1401924293":["hashtag1","hashtag2"]},{"1401924296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924299, 1401924302, 1401924298, 1401924291, 1401924293, 1401924296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88809776306152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:32:03.009116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/08/image_31122025_19_09_05_9587.jpg', '/home/pi/Desktop/images/31122025/19/09/image_31122025_19_09_15_9922.jpg', '/home/pi/Desktop/images/31122025/19/09/image_31122025_19_09_35_10559.jpg', '/home/pi/Desktop/images/31122025/19/09/image_31122025_19_09_45_9780.jpg', '/home/pi/Desktop/images/31122025/19/09/image_31122025_19_09_55_10259.jpg', '/home/pi/Desktop/images/31122025/19/09/image_31122025_19_10_05_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/08/image_31122025_19_09_05_9587.jpg
/home/pi/Desktop/images/31122025/19/09/image_31122025_19_09_15_9922.jpg
/home/pi/Desktop/images/31122025/19/09/image_31122025_19_09_35_10559.jpg
/home/pi/Desktop/images/31122025/19/09/image_31122025_19_09_45_9780.jpg
/home/pi/Desktop/images/31122025/19/09/image_31122025_19_09_55_10259.jpg
/home/pi/Desktop/images/31122025/19/09/image_31122025_19_10_05_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924314","1401924308","1401924310","1401924316","1401924312","1401924306"],"photo_ids_order":["1401924306","1401924308","1401924310","1401924312","1401924314","1401924316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afe8f756497481f27f986f99c0ea19dc.jpg","text":"TemporaryFile(/tmp/multipartBody8849966409194214957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205983633,"filename":"image_31122025_19_09_55_10259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e64a65bcee3a131dd513d3818dfbb90f.jpg","text":"TemporaryFile(/tmp/multipartBody9087353007483360380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205983633,"filename":"image_31122025_19_09_15_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c5f54cd32aea2790305ef3c30e53562.jpg","text":"TemporaryFile(/tmp/multipartBody5447999525188369825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205983633,"filename":"image_31122025_19_09_35_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1d6b40818a9b290dded6d5af0cebf71.jpg","text":"TemporaryFile(/tmp/multipartBody1944534052910004967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205983633,"filename":"image_31122025_19_10_05_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40b33dc00fe71d6beef289a150554495.jpg","text":"TemporaryFile(/tmp/multipartBody3474828292382339470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205983633,"filename":"image_31122025_19_09_45_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ef5e08084d0a02c3befc4d560eb20fe.jpg","text":"TemporaryFile(/tmp/multipartBody6159435369361390780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767205983633,"filename":"image_31122025_19_09_05_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924310","file1":"1401924308","file0":"1401924306","file4":"1401924314","file5":"1401924316","file3":"1401924312"},"map_files_photo_id_array":[{"photo_id":"1401924316","filename":"file5"},{"photo_id":"1401924310","filename":"file2"},{"photo_id":"1401924314","filename":"file4"},{"photo_id":"1401924308","filename":"file1"},{"photo_id":"1401924306","filename":"file0"},{"photo_id":"1401924312","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924314":["hashtag1","hashtag2"]},{"1401924308":["hashtag1","hashtag2"]},{"1401924310":["hashtag1","hashtag2"]},{"1401924316":["hashtag1","hashtag2"]},{"1401924312":["hashtag1","hashtag2"]},{"1401924306":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924314, 1401924308, 1401924310, 1401924316, 1401924312, 1401924306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75442552566528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:32:42.594206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_41_4230.jpg', '/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_47_2662.jpg', '/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_54_1519.jpg', '/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_02_2788.jpg', '/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_05_2876.jpg', '/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_08_3854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_41_4230.jpg
/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_47_2662.jpg
/home/pi/Desktop/images/03112025/19/52/image_03112025_19_52_54_1519.jpg
/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_02_2788.jpg
/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_05_2876.jpg
/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_08_3854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924329","1401924323","1401924325","1401924319","1401924327","1401924321"],"photo_ids_order":["1401924319","1401924321","1401924323","1401924325","1401924327","1401924329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06d1eb24eb053626e7dddd9fa536bf70.jpg","text":"TemporaryFile(/tmp/multipartBody2634356979239660397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206024425,"filename":"image_03112025_19_53_08_3854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ef6e257eb4448d306e830278d2ecd11.jpg","text":"TemporaryFile(/tmp/multipartBody1881646545872014793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206024425,"filename":"image_03112025_19_52_54_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5040018976523043e1d643ee6ec6539.jpg","text":"TemporaryFile(/tmp/multipartBody4123393221454749404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206024425,"filename":"image_03112025_19_53_02_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d61756e3c663d90c1c30e2993f1a638.jpg","text":"TemporaryFile(/tmp/multipartBody9195466341934412880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206024425,"filename":"image_03112025_19_52_41_4230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f83f87a3be4f8acdc156826b0b623006.jpg","text":"TemporaryFile(/tmp/multipartBody3045234353417461442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206024425,"filename":"image_03112025_19_53_05_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97bbccc1acbd340af89f19431c3af934.jpg","text":"TemporaryFile(/tmp/multipartBody5337548816813033883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206024425,"filename":"image_03112025_19_52_47_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924323","file1":"1401924321","file0":"1401924319","file4":"1401924327","file5":"1401924329","file3":"1401924325"},"map_files_photo_id_array":[{"photo_id":"1401924329","filename":"file5"},{"photo_id":"1401924323","filename":"file2"},{"photo_id":"1401924327","filename":"file4"},{"photo_id":"1401924321","filename":"file1"},{"photo_id":"1401924319","filename":"file0"},{"photo_id":"1401924325","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924329":["hashtag1","hashtag2"]},{"1401924323":["hashtag1","hashtag2"]},{"1401924325":["hashtag1","hashtag2"]},{"1401924319":["hashtag1","hashtag2"]},{"1401924327":["hashtag1","hashtag2"]},{"1401924321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924329, 1401924323, 1401924325, 1401924319, 1401924327, 1401924321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24473023414612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:33:22.829610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_16_10712.jpg', '/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_25_9568.jpg', '/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_35_9662.jpg', '/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_46_10663.jpg', '/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_55_9666.jpg', '/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_16_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_16_10712.jpg
/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_25_9568.jpg
/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_35_9662.jpg
/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_46_10663.jpg
/home/pi/Desktop/images/31122025/19/10/image_31122025_19_10_55_9666.jpg
/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_16_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924344","1401924338","1401924332","1401924341","1401924334","1401924336"],"photo_ids_order":["1401924332","1401924334","1401924336","1401924338","1401924341","1401924344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfaaa64457a9280c56c8695fea6a9d36.jpg","text":"TemporaryFile(/tmp/multipartBody587948633364450762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206063454,"filename":"image_31122025_19_11_16_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2590224fa6f2f50ea252d369fcc4b69d.jpg","text":"TemporaryFile(/tmp/multipartBody8841929015315819047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206063454,"filename":"image_31122025_19_10_46_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c0b291c4c33ea530c8307cc87407fc4.jpg","text":"TemporaryFile(/tmp/multipartBody3353326382476561939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206063454,"filename":"image_31122025_19_10_16_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44ffe842b3e33a93688c6127301fd715.jpg","text":"TemporaryFile(/tmp/multipartBody4682817224691656159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206063454,"filename":"image_31122025_19_10_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0e3e495a4ad692f895eea9b497526f4.jpg","text":"TemporaryFile(/tmp/multipartBody730007349239841732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206063454,"filename":"image_31122025_19_10_25_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a31703fb5bde7e19db45421c4a2a1be.jpg","text":"TemporaryFile(/tmp/multipartBody3584449280345212387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206063454,"filename":"image_31122025_19_10_35_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924336","file1":"1401924334","file0":"1401924332","file4":"1401924341","file5":"1401924344","file3":"1401924338"},"map_files_photo_id_array":[{"photo_id":"1401924344","filename":"file5"},{"photo_id":"1401924336","filename":"file2"},{"photo_id":"1401924341","filename":"file4"},{"photo_id":"1401924334","filename":"file1"},{"photo_id":"1401924332","filename":"file0"},{"photo_id":"1401924338","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924344":["hashtag1","hashtag2"]},{"1401924338":["hashtag1","hashtag2"]},{"1401924332":["hashtag1","hashtag2"]},{"1401924341":["hashtag1","hashtag2"]},{"1401924334":["hashtag1","hashtag2"]},{"1401924336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924344, 1401924338, 1401924332, 1401924341, 1401924334, 1401924336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.521116733551025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:34:02.678692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_25_9675.jpg', '/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_35_9694.jpg', '/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_45_10205.jpg', '/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_55_9586.jpg', '/home/pi/Desktop/images/31122025/19/11/image_31122025_19_12_06_10666.jpg', '/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_15_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_25_9675.jpg
/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_35_9694.jpg
/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_45_10205.jpg
/home/pi/Desktop/images/31122025/19/11/image_31122025_19_11_55_9586.jpg
/home/pi/Desktop/images/31122025/19/11/image_31122025_19_12_06_10666.jpg
/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_15_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924347","1401924349","1401924346","1401924351","1401924345","1401924348"],"photo_ids_order":["1401924345","1401924346","1401924347","1401924348","1401924349","1401924351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66c22c32538cb5e9dde43ca5771b0ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7560579522949622284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206103367,"filename":"image_31122025_19_11_45_10205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e9da0cdceda308410f24819cc7a9ea5.jpg","text":"TemporaryFile(/tmp/multipartBody642878366354970470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206103367,"filename":"image_31122025_19_12_06_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/678202d8c8fe27899d0da8efc264a65c.jpg","text":"TemporaryFile(/tmp/multipartBody7045881625856529735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206103367,"filename":"image_31122025_19_11_35_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1d1501b105248795588bb40e644ed7c.jpg","text":"TemporaryFile(/tmp/multipartBody3689068084332460620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206103367,"filename":"image_31122025_19_12_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/583be3e405757912bf273f07ddb3a89d.jpg","text":"TemporaryFile(/tmp/multipartBody2925172091266036580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206103367,"filename":"image_31122025_19_11_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9940c3838437cdb256201a0d2611b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1631635314674131839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206103367,"filename":"image_31122025_19_11_55_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924347","file1":"1401924346","file0":"1401924345","file4":"1401924349","file5":"1401924351","file3":"1401924348"},"map_files_photo_id_array":[{"photo_id":"1401924351","filename":"file5"},{"photo_id":"1401924347","filename":"file2"},{"photo_id":"1401924349","filename":"file4"},{"photo_id":"1401924346","filename":"file1"},{"photo_id":"1401924345","filename":"file0"},{"photo_id":"1401924348","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924347":["hashtag1","hashtag2"]},{"1401924349":["hashtag1","hashtag2"]},{"1401924346":["hashtag1","hashtag2"]},{"1401924351":["hashtag1","hashtag2"]},{"1401924345":["hashtag1","hashtag2"]},{"1401924348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924347, 1401924349, 1401924346, 1401924351, 1401924345, 1401924348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.949047803878784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:34:42.041706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_44_3037.jpg', '/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_59_2891.jpg', '/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_05_3654.jpg', '/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_14_1716.jpg', '/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_20_2580.jpg', '/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_22_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_44_3037.jpg
/home/pi/Desktop/images/03112025/19/53/image_03112025_19_53_59_2891.jpg
/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_05_3654.jpg
/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_14_1716.jpg
/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_20_2580.jpg
/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_22_2742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924362","1401924356","1401924359","1401924361","1401924358","1401924360"],"photo_ids_order":["1401924356","1401924358","1401924359","1401924360","1401924361","1401924362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a16b6d42b2af13b960d4603e9f8b81a8.jpg","text":"TemporaryFile(/tmp/multipartBody1815232296021370740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206143881,"filename":"image_03112025_19_54_22_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7173dc5b59f1f0d993d9129e3d46d366.jpg","text":"TemporaryFile(/tmp/multipartBody1025609395118322652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206143881,"filename":"image_03112025_19_53_44_3037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e97d779988ae6ca8a3a17fef8966fe7d.jpg","text":"TemporaryFile(/tmp/multipartBody5832447768478462410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206143881,"filename":"image_03112025_19_54_05_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c11e7e65f4fb591aa4da9146a554a88a.jpg","text":"TemporaryFile(/tmp/multipartBody2016590614496931433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206143881,"filename":"image_03112025_19_54_20_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7703ff93fef7c61490c7c6ea44e9e46f.jpg","text":"TemporaryFile(/tmp/multipartBody9152106877754774352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206143881,"filename":"image_03112025_19_53_59_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/beb7e62e20d249cff78a9feec5bbfa01.jpg","text":"TemporaryFile(/tmp/multipartBody911729496836838216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206143881,"filename":"image_03112025_19_54_14_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924359","file1":"1401924358","file0":"1401924356","file4":"1401924361","file5":"1401924362","file3":"1401924360"},"map_files_photo_id_array":[{"photo_id":"1401924362","filename":"file5"},{"photo_id":"1401924359","filename":"file2"},{"photo_id":"1401924361","filename":"file4"},{"photo_id":"1401924358","filename":"file1"},{"photo_id":"1401924356","filename":"file0"},{"photo_id":"1401924360","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924362":["hashtag1","hashtag2"]},{"1401924356":["hashtag1","hashtag2"]},{"1401924359":["hashtag1","hashtag2"]},{"1401924361":["hashtag1","hashtag2"]},{"1401924358":["hashtag1","hashtag2"]},{"1401924360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924362, 1401924356, 1401924359, 1401924361, 1401924358, 1401924360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.330469369888306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:35:22.172730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_25_9843.jpg', '/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_36_10612.jpg', '/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_46_9742.jpg', '/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_55_9648.jpg', '/home/pi/Desktop/images/31122025/19/12/image_31122025_19_13_05_10162.jpg', '/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_15_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_25_9843.jpg
/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_36_10612.jpg
/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_46_9742.jpg
/home/pi/Desktop/images/31122025/19/12/image_31122025_19_12_55_9648.jpg
/home/pi/Desktop/images/31122025/19/12/image_31122025_19_13_05_10162.jpg
/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_15_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924371","1401924365","1401924373","1401924367","1401924364","1401924369"],"photo_ids_order":["1401924364","1401924365","1401924367","1401924369","1401924371","1401924373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c15615cb45389e4578b334969bd397a0.jpg","text":"TemporaryFile(/tmp/multipartBody3560903531833112905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206182798,"filename":"image_31122025_19_13_05_10162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/083b0f942617efc188f5c3ab0d7fb87e.jpg","text":"TemporaryFile(/tmp/multipartBody4227053090885234788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206182798,"filename":"image_31122025_19_12_36_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16781f91038d539bcf7949ac3ff65ad8.jpg","text":"TemporaryFile(/tmp/multipartBody6723575197049219231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206182798,"filename":"image_31122025_19_13_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2916df159fe903fb951b48c41fa5367.jpg","text":"TemporaryFile(/tmp/multipartBody2248083193538770467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206182798,"filename":"image_31122025_19_12_46_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f9a04b235bdb8f4c693ccf08df1263b.jpg","text":"TemporaryFile(/tmp/multipartBody133813923326558842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206182798,"filename":"image_31122025_19_12_25_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04aa569a591f48d5f61b385bcd3519e2.jpg","text":"TemporaryFile(/tmp/multipartBody2268222088001875349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206182798,"filename":"image_31122025_19_12_55_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924367","file1":"1401924365","file0":"1401924364","file4":"1401924371","file5":"1401924373","file3":"1401924369"},"map_files_photo_id_array":[{"photo_id":"1401924373","filename":"file5"},{"photo_id":"1401924367","filename":"file2"},{"photo_id":"1401924371","filename":"file4"},{"photo_id":"1401924365","filename":"file1"},{"photo_id":"1401924364","filename":"file0"},{"photo_id":"1401924369","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924371":["hashtag1","hashtag2"]},{"1401924365":["hashtag1","hashtag2"]},{"1401924373":["hashtag1","hashtag2"]},{"1401924367":["hashtag1","hashtag2"]},{"1401924364":["hashtag1","hashtag2"]},{"1401924369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924371, 1401924365, 1401924373, 1401924367, 1401924364, 1401924369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.568761348724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:36:02.842701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_26_10663.jpg', '/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_35_9720.jpg', '/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_45_9818.jpg', '/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_55_9648.jpg', '/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_15_9714.jpg', '/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_25_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_26_10663.jpg
/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_35_9720.jpg
/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_45_9818.jpg
/home/pi/Desktop/images/31122025/19/13/image_31122025_19_13_55_9648.jpg
/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_15_9714.jpg
/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_25_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924377","1401924379","1401924376","1401924381","1401924378","1401924375"],"photo_ids_order":["1401924375","1401924376","1401924377","1401924378","1401924379","1401924381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87319b5035851c5c175190685a4e627b.jpg","text":"TemporaryFile(/tmp/multipartBody4039776519046541547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206223454,"filename":"image_31122025_19_13_45_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91a6cc2dea49a2fe73381d1c5e65c4ce.jpg","text":"TemporaryFile(/tmp/multipartBody1304223574095341972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206223454,"filename":"image_31122025_19_14_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d47cec0b4283108f00fbff6efc535880.jpg","text":"TemporaryFile(/tmp/multipartBody3654974158687080662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206223454,"filename":"image_31122025_19_13_35_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce4f654e7387891b909e5c3041e8748c.jpg","text":"TemporaryFile(/tmp/multipartBody6104848898242344073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206223454,"filename":"image_31122025_19_14_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5850d620c033e3fbf19a612f455f5dd.jpg","text":"TemporaryFile(/tmp/multipartBody609552869300286247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206223454,"filename":"image_31122025_19_13_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7f2e9b4e3239f0268e25cddf379f890.jpg","text":"TemporaryFile(/tmp/multipartBody6822126588439124718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206223454,"filename":"image_31122025_19_13_26_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924377","file1":"1401924376","file0":"1401924375","file4":"1401924379","file5":"1401924381","file3":"1401924378"},"map_files_photo_id_array":[{"photo_id":"1401924381","filename":"file5"},{"photo_id":"1401924377","filename":"file2"},{"photo_id":"1401924379","filename":"file4"},{"photo_id":"1401924376","filename":"file1"},{"photo_id":"1401924375","filename":"file0"},{"photo_id":"1401924378","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924377":["hashtag1","hashtag2"]},{"1401924379":["hashtag1","hashtag2"]},{"1401924376":["hashtag1","hashtag2"]},{"1401924381":["hashtag1","hashtag2"]},{"1401924378":["hashtag1","hashtag2"]},{"1401924375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924377, 1401924379, 1401924376, 1401924381, 1401924378, 1401924375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11932992935181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:36:42.540626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_31_2491.jpg', '/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_50_2760.jpg', '/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_56_3230.jpg', '/home/pi/Desktop/images/03112025/19/55/image_03112025_19_55_17_1639.jpg', '/home/pi/Desktop/images/03112025/19/55/image_03112025_19_55_20_3585.jpg', '/home/pi/Desktop/images/03112025/19/55/image_03112025_19_55_25_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_31_2491.jpg
/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_50_2760.jpg
/home/pi/Desktop/images/03112025/19/54/image_03112025_19_54_56_3230.jpg
/home/pi/Desktop/images/03112025/19/55/image_03112025_19_55_17_1639.jpg
/home/pi/Desktop/images/03112025/19/55/image_03112025_19_55_20_3585.jpg
/home/pi/Desktop/images/03112025/19/55/image_03112025_19_55_25_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924410","1401924413","1401924412","1401924415","1401924414","1401924417"],"photo_ids_order":["1401924410","1401924412","1401924413","1401924414","1401924415","1401924417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9657c7fb9e784423221f45359c5075a7.jpg","text":"TemporaryFile(/tmp/multipartBody6733633447932387791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206264395,"filename":"image_03112025_19_54_31_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91b8589502f7b42b8d8d247640f50da3.jpg","text":"TemporaryFile(/tmp/multipartBody3615171458749223185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206264395,"filename":"image_03112025_19_54_56_3230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b72e4b6fdb64fb65225b06b96abbe820.jpg","text":"TemporaryFile(/tmp/multipartBody922965409068287073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206264395,"filename":"image_03112025_19_54_50_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab395ab03acd0358e95937c13118ef3a.jpg","text":"TemporaryFile(/tmp/multipartBody5395034850635023414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206264395,"filename":"image_03112025_19_55_20_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63d8af446d3bee45ea2d95d4cd08bee1.jpg","text":"TemporaryFile(/tmp/multipartBody1016439666308207356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206264395,"filename":"image_03112025_19_55_17_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29b194f4fbd26fec83aca2baf62f1713.jpg","text":"TemporaryFile(/tmp/multipartBody6811200828864450036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206264395,"filename":"image_03112025_19_55_25_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924413","file1":"1401924412","file0":"1401924410","file4":"1401924415","file5":"1401924417","file3":"1401924414"},"map_files_photo_id_array":[{"photo_id":"1401924417","filename":"file5"},{"photo_id":"1401924413","filename":"file2"},{"photo_id":"1401924415","filename":"file4"},{"photo_id":"1401924412","filename":"file1"},{"photo_id":"1401924410","filename":"file0"},{"photo_id":"1401924414","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924410":["hashtag1","hashtag2"]},{"1401924413":["hashtag1","hashtag2"]},{"1401924412":["hashtag1","hashtag2"]},{"1401924415":["hashtag1","hashtag2"]},{"1401924414":["hashtag1","hashtag2"]},{"1401924417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924410, 1401924413, 1401924412, 1401924415, 1401924414, 1401924417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.173365354537964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:37:22.722885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_36_10715.jpg', '/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_45_9625.jpg', '/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_55_9413.jpg', '/home/pi/Desktop/images/31122025/19/14/image_31122025_19_15_05_10670.jpg', '/home/pi/Desktop/images/31122025/19/15/image_31122025_19_15_26_10624.jpg', '/home/pi/Desktop/images/31122025/19/15/image_31122025_19_15_45_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_36_10715.jpg
/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_45_9625.jpg
/home/pi/Desktop/images/31122025/19/14/image_31122025_19_14_55_9413.jpg
/home/pi/Desktop/images/31122025/19/14/image_31122025_19_15_05_10670.jpg
/home/pi/Desktop/images/31122025/19/15/image_31122025_19_15_26_10624.jpg
/home/pi/Desktop/images/31122025/19/15/image_31122025_19_15_45_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924425","1401924419","1401924421","1401924430","1401924427","1401924423"],"photo_ids_order":["1401924419","1401924421","1401924423","1401924425","1401924427","1401924430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/146f973dee64f84abc58adfd475c4d33.jpg","text":"TemporaryFile(/tmp/multipartBody4482223289129595143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206303317,"filename":"image_31122025_19_15_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aafa1d4da908673ae86d4206afdda78d.jpg","text":"TemporaryFile(/tmp/multipartBody6565851643068883372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206303317,"filename":"image_31122025_19_14_36_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f282053529b2b361fc848f9c83ab31f4.jpg","text":"TemporaryFile(/tmp/multipartBody8489382979459083450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206303317,"filename":"image_31122025_19_14_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0438a55e37b1a8c57080aa0c65c12cae.jpg","text":"TemporaryFile(/tmp/multipartBody5249385285071567738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206303317,"filename":"image_31122025_19_15_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f01ee60c9e569f4f9581f4fe6866f57.jpg","text":"TemporaryFile(/tmp/multipartBody8533996487550964337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206303317,"filename":"image_31122025_19_15_26_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/feec44fdccfa0d4c489d69c68bb499fa.jpg","text":"TemporaryFile(/tmp/multipartBody7800289570899955306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206303317,"filename":"image_31122025_19_14_55_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924423","file1":"1401924421","file0":"1401924419","file4":"1401924427","file5":"1401924430","file3":"1401924425"},"map_files_photo_id_array":[{"photo_id":"1401924430","filename":"file5"},{"photo_id":"1401924423","filename":"file2"},{"photo_id":"1401924427","filename":"file4"},{"photo_id":"1401924421","filename":"file1"},{"photo_id":"1401924419","filename":"file0"},{"photo_id":"1401924425","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924425":["hashtag1","hashtag2"]},{"1401924419":["hashtag1","hashtag2"]},{"1401924421":["hashtag1","hashtag2"]},{"1401924430":["hashtag1","hashtag2"]},{"1401924427":["hashtag1","hashtag2"]},{"1401924423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924425, 1401924419, 1401924421, 1401924430, 1401924427, 1401924423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.081907510757446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:38:02.175162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/15/image_31122025_19_15_55_9733.jpg', '/home/pi/Desktop/images/31122025/19/15/image_31122025_19_16_06_10770.jpg', '/home/pi/Desktop/images/31122025/19/16/image_31122025_19_16_15_9655.jpg', '/home/pi/Desktop/images/31122025/19/16/image_31122025_19_16_25_9608.jpg', '/home/pi/Desktop/images/31122025/19/16/image_31122025_19_16_36_10795.jpg', '/home/pi/Desktop/images/31122025/19/16/image_31122025_19_17_05_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/15/image_31122025_19_15_55_9733.jpg
/home/pi/Desktop/images/31122025/19/15/image_31122025_19_16_06_10770.jpg
/home/pi/Desktop/images/31122025/19/16/image_31122025_19_16_15_9655.jpg
/home/pi/Desktop/images/31122025/19/16/image_31122025_19_16_25_9608.jpg
/home/pi/Desktop/images/31122025/19/16/image_31122025_19_16_36_10795.jpg
/home/pi/Desktop/images/31122025/19/16/image_31122025_19_17_05_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924437","1401924431","1401924434","1401924433","1401924432","1401924435"],"photo_ids_order":["1401924431","1401924432","1401924433","1401924434","1401924435","1401924437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4cc548968e926a87ee136446a5bde640.jpg","text":"TemporaryFile(/tmp/multipartBody6205090034844342779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206342835,"filename":"image_31122025_19_17_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c2f5664635b7279fdd456e85d5ba863.jpg","text":"TemporaryFile(/tmp/multipartBody317395741633589699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206342835,"filename":"image_31122025_19_15_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c12967582ce72d3292e8469e4282b3f9.jpg","text":"TemporaryFile(/tmp/multipartBody5564424523671370528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206342835,"filename":"image_31122025_19_16_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bdfb1a5970a9947215c9e46d0dbfb31.jpg","text":"TemporaryFile(/tmp/multipartBody7357032096012455805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206342835,"filename":"image_31122025_19_16_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96882684dd70449ccf5c7d76f824c6a7.jpg","text":"TemporaryFile(/tmp/multipartBody5659686146358833128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206342835,"filename":"image_31122025_19_16_06_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d383cb3316f622a031cfad8c77c129c0.jpg","text":"TemporaryFile(/tmp/multipartBody5556477504863827169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206342835,"filename":"image_31122025_19_16_36_10795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924433","file1":"1401924432","file0":"1401924431","file4":"1401924435","file5":"1401924437","file3":"1401924434"},"map_files_photo_id_array":[{"photo_id":"1401924437","filename":"file5"},{"photo_id":"1401924433","filename":"file2"},{"photo_id":"1401924435","filename":"file4"},{"photo_id":"1401924432","filename":"file1"},{"photo_id":"1401924431","filename":"file0"},{"photo_id":"1401924434","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924437":["hashtag1","hashtag2"]},{"1401924431":["hashtag1","hashtag2"]},{"1401924434":["hashtag1","hashtag2"]},{"1401924433":["hashtag1","hashtag2"]},{"1401924432":["hashtag1","hashtag2"]},{"1401924435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924437, 1401924431, 1401924434, 1401924433, 1401924432, 1401924435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.859097480773926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:38:41.852250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/55/image_03112025_19_55_29_3823.jpg', '/home/pi/Desktop/images/03112025/19/56/image_03112025_19_56_31_2580.jpg', '/home/pi/Desktop/images/03112025/19/56/image_03112025_19_56_37_2614.jpg', '/home/pi/Desktop/images/03112025/19/56/image_03112025_19_56_40_2652.jpg', '/home/pi/Desktop/images/03112025/19/56/image_03112025_19_56_59_2915.jpg', '/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_02_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/55/image_03112025_19_55_29_3823.jpg
/home/pi/Desktop/images/03112025/19/56/image_03112025_19_56_31_2580.jpg
/home/pi/Desktop/images/03112025/19/56/image_03112025_19_56_37_2614.jpg
/home/pi/Desktop/images/03112025/19/56/image_03112025_19_56_40_2652.jpg
/home/pi/Desktop/images/03112025/19/56/image_03112025_19_56_59_2915.jpg
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_02_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924443","1401924446","1401924475","1401924445","1401924480","1401924465"],"photo_ids_order":["1401924443","1401924445","1401924446","1401924465","1401924475","1401924480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9dcb590f06b6ca3042d17688e29185d.jpg","text":"TemporaryFile(/tmp/multipartBody4530658059897156152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206383905,"filename":"image_03112025_19_55_29_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68a01520e8dead47a702695d309ca88c.jpg","text":"TemporaryFile(/tmp/multipartBody6953207724957792914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206383905,"filename":"image_03112025_19_56_37_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0aaba6288b7b0eba5b67791f7e88e62.jpg","text":"TemporaryFile(/tmp/multipartBody3030768352048006435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206383905,"filename":"image_03112025_19_56_59_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00a640e95592752ab82f06ecc4fba4c5.jpg","text":"TemporaryFile(/tmp/multipartBody430312829621448216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206383905,"filename":"image_03112025_19_56_31_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7562bf92d540723e0ed6174a64c51ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3255595004158307098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206383905,"filename":"image_03112025_19_57_02_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/066deefcbdce3c95ba57bf2060ee3fde.jpg","text":"TemporaryFile(/tmp/multipartBody2654130484636071110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206383905,"filename":"image_03112025_19_56_40_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924446","file1":"1401924445","file0":"1401924443","file4":"1401924475","file5":"1401924480","file3":"1401924465"},"map_files_photo_id_array":[{"photo_id":"1401924480","filename":"file5"},{"photo_id":"1401924446","filename":"file2"},{"photo_id":"1401924475","filename":"file4"},{"photo_id":"1401924445","filename":"file1"},{"photo_id":"1401924443","filename":"file0"},{"photo_id":"1401924465","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924443":["hashtag1","hashtag2"]},{"1401924446":["hashtag1","hashtag2"]},{"1401924475":["hashtag1","hashtag2"]},{"1401924445":["hashtag1","hashtag2"]},{"1401924480":["hashtag1","hashtag2"]},{"1401924465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924443, 1401924446, 1401924475, 1401924445, 1401924480, 1401924465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20051383972168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:39:22.031287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_15_10609.jpg', '/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_25_9782.jpg', '/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_35_9618.jpg', '/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_46_10868.jpg', '/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_55_9657.jpg', '/home/pi/Desktop/images/31122025/19/17/image_31122025_19_18_05_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_15_10609.jpg
/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_25_9782.jpg
/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_35_9618.jpg
/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_46_10868.jpg
/home/pi/Desktop/images/31122025/19/17/image_31122025_19_17_55_9657.jpg
/home/pi/Desktop/images/31122025/19/17/image_31122025_19_18_05_9898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924539","1401924533","1401924487","1401924535","1401924529","1401924531"],"photo_ids_order":["1401924487","1401924529","1401924531","1401924533","1401924535","1401924539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a2e70153a2f1ecb88d1ca1ffdc6a42a.jpg","text":"TemporaryFile(/tmp/multipartBody533257986484220815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206422674,"filename":"image_31122025_19_18_05_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4de81316136a8c30314c9399e6f9220.jpg","text":"TemporaryFile(/tmp/multipartBody4396727069990489149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206422674,"filename":"image_31122025_19_17_46_10868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94e2145499bb5e222111ee36a9e5be4d.jpg","text":"TemporaryFile(/tmp/multipartBody2531022205458754504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206422674,"filename":"image_31122025_19_17_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1225aed3d690751dba70910942a246f.jpg","text":"TemporaryFile(/tmp/multipartBody2521804103301214888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206422674,"filename":"image_31122025_19_17_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ef02101fa2399b4407b51d72b4edca5.jpg","text":"TemporaryFile(/tmp/multipartBody2993203774049469016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206422674,"filename":"image_31122025_19_17_25_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38ba147e045f4eed4e47741a6dab384b.jpg","text":"TemporaryFile(/tmp/multipartBody3419968874432352418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206422674,"filename":"image_31122025_19_17_35_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924531","file1":"1401924529","file0":"1401924487","file4":"1401924535","file5":"1401924539","file3":"1401924533"},"map_files_photo_id_array":[{"photo_id":"1401924539","filename":"file5"},{"photo_id":"1401924531","filename":"file2"},{"photo_id":"1401924535","filename":"file4"},{"photo_id":"1401924529","filename":"file1"},{"photo_id":"1401924487","filename":"file0"},{"photo_id":"1401924533","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924539":["hashtag1","hashtag2"]},{"1401924533":["hashtag1","hashtag2"]},{"1401924487":["hashtag1","hashtag2"]},{"1401924535":["hashtag1","hashtag2"]},{"1401924529":["hashtag1","hashtag2"]},{"1401924531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924539, 1401924533, 1401924487, 1401924535, 1401924529, 1401924531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.968093156814575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:40:02.846726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_15_9804.jpg', '/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_26_10717.jpg', '/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_35_9510.jpg', '/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_45_9614.jpg', '/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_55_10639.jpg', '/home/pi/Desktop/images/31122025/19/18/image_31122025_19_19_05_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_15_9804.jpg
/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_26_10717.jpg
/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_35_9510.jpg
/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_45_9614.jpg
/home/pi/Desktop/images/31122025/19/18/image_31122025_19_18_55_10639.jpg
/home/pi/Desktop/images/31122025/19/18/image_31122025_19_19_05_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924542","1401924541","1401924544","1401924543","1401924546","1401924540"],"photo_ids_order":["1401924540","1401924541","1401924542","1401924543","1401924544","1401924546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86d0a6755993a619f7b07ceebfb06a79.jpg","text":"TemporaryFile(/tmp/multipartBody7977045433136270645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206463470,"filename":"image_31122025_19_18_35_9510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f284b7e1b3cd4b886b81142d5e31ccb.jpg","text":"TemporaryFile(/tmp/multipartBody3529986603486463767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206463470,"filename":"image_31122025_19_18_26_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07a9bb72b47cb676a470483975841830.jpg","text":"TemporaryFile(/tmp/multipartBody4255439981762259345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206463470,"filename":"image_31122025_19_18_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90501501677831dba5e22f75a771f993.jpg","text":"TemporaryFile(/tmp/multipartBody7362502206368687820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206463470,"filename":"image_31122025_19_18_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f1e706cf8b07f903a5aabbcc60c8364.jpg","text":"TemporaryFile(/tmp/multipartBody6730630831363401102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206463470,"filename":"image_31122025_19_19_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c924300ce478e9af0d76a8ec52fa3a0.jpg","text":"TemporaryFile(/tmp/multipartBody7525960926079533650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206463470,"filename":"image_31122025_19_18_15_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924542","file1":"1401924541","file0":"1401924540","file4":"1401924544","file5":"1401924546","file3":"1401924543"},"map_files_photo_id_array":[{"photo_id":"1401924546","filename":"file5"},{"photo_id":"1401924542","filename":"file2"},{"photo_id":"1401924544","filename":"file4"},{"photo_id":"1401924541","filename":"file1"},{"photo_id":"1401924540","filename":"file0"},{"photo_id":"1401924543","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924542":["hashtag1","hashtag2"]},{"1401924541":["hashtag1","hashtag2"]},{"1401924544":["hashtag1","hashtag2"]},{"1401924543":["hashtag1","hashtag2"]},{"1401924546":["hashtag1","hashtag2"]},{"1401924540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924542, 1401924541, 1401924544, 1401924543, 1401924546, 1401924540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66097164154053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:40:42.298088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_16_8936.jpg', '/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_18_1607.jpg', '/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_19_1662.jpg', '/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_23_1644.jpg', '/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_37_1646.jpg', '/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_45_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_16_8936.jpg
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_18_1607.jpg
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_19_1662.jpg
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_23_1644.jpg
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_37_1646.jpg
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_45_1661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924554","1401924557","1401924556","1401924558","1401924552","1401924555"],"photo_ids_order":["1401924552","1401924554","1401924555","1401924556","1401924557","1401924558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/852c08b3b77c5669045562c1a5b71c80.jpg","text":"TemporaryFile(/tmp/multipartBody4941586621031869302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206504268,"filename":"image_03112025_19_57_18_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a8eef6691eaf08a790a26b99255059c.jpg","text":"TemporaryFile(/tmp/multipartBody5444158400557626563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206504268,"filename":"image_03112025_19_57_37_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e22cd73c44d99f6f60cc2f79bed0446.jpg","text":"TemporaryFile(/tmp/multipartBody703129729837783816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206504268,"filename":"image_03112025_19_57_23_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e65cf8d4c294db833187fee0d6bfeb90.jpg","text":"TemporaryFile(/tmp/multipartBody1474366492486426404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206504268,"filename":"image_03112025_19_57_45_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72d0f2a058ebdf53680bcd5b8823a46f.jpg","text":"TemporaryFile(/tmp/multipartBody2949555677280295645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206504268,"filename":"image_03112025_19_57_16_8936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12598acf81f0a712a54a643c4b8c5ddc.jpg","text":"TemporaryFile(/tmp/multipartBody4372545407875777999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206504268,"filename":"image_03112025_19_57_19_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924555","file1":"1401924554","file0":"1401924552","file4":"1401924557","file5":"1401924558","file3":"1401924556"},"map_files_photo_id_array":[{"photo_id":"1401924558","filename":"file5"},{"photo_id":"1401924555","filename":"file2"},{"photo_id":"1401924557","filename":"file4"},{"photo_id":"1401924554","filename":"file1"},{"photo_id":"1401924552","filename":"file0"},{"photo_id":"1401924556","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924554":["hashtag1","hashtag2"]},{"1401924557":["hashtag1","hashtag2"]},{"1401924556":["hashtag1","hashtag2"]},{"1401924558":["hashtag1","hashtag2"]},{"1401924552":["hashtag1","hashtag2"]},{"1401924555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924554, 1401924557, 1401924556, 1401924558, 1401924552, 1401924555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62525916099548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:41:22.427423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_15_9674.jpg', '/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_26_10652.jpg', '/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_35_9662.jpg', '/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_45_9690.jpg', '/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_56_10662.jpg', '/home/pi/Desktop/images/31122025/19/19/image_31122025_19_20_05_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_15_9674.jpg
/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_26_10652.jpg
/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_35_9662.jpg
/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_45_9690.jpg
/home/pi/Desktop/images/31122025/19/19/image_31122025_19_19_56_10662.jpg
/home/pi/Desktop/images/31122025/19/19/image_31122025_19_20_05_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924560","1401924566","1401924565","1401924568","1401924562","1401924572"],"photo_ids_order":["1401924560","1401924562","1401924565","1401924566","1401924568","1401924572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f894153680150e20c5d32385c2caa1a4.jpg","text":"TemporaryFile(/tmp/multipartBody1407134267256409973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206543025,"filename":"image_31122025_19_19_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9720959f193428b5aebe671d03799e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4889197618927038594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206543025,"filename":"image_31122025_19_19_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/505849e4185a60c340cba8bd3423d64d.jpg","text":"TemporaryFile(/tmp/multipartBody4337584687662163004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206543025,"filename":"image_31122025_19_19_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2b91e236c06be8ce85447eb611917f7.jpg","text":"TemporaryFile(/tmp/multipartBody4608815151159569120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206543025,"filename":"image_31122025_19_19_56_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b59382d79a5f97fb5523fb39f7ba4d8.jpg","text":"TemporaryFile(/tmp/multipartBody7621348217849765202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206543025,"filename":"image_31122025_19_19_26_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7357a2ee0e49baca09679865aaba0206.jpg","text":"TemporaryFile(/tmp/multipartBody2312104588954731368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206543025,"filename":"image_31122025_19_20_05_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924565","file1":"1401924562","file0":"1401924560","file4":"1401924568","file5":"1401924572","file3":"1401924566"},"map_files_photo_id_array":[{"photo_id":"1401924572","filename":"file5"},{"photo_id":"1401924565","filename":"file2"},{"photo_id":"1401924568","filename":"file4"},{"photo_id":"1401924562","filename":"file1"},{"photo_id":"1401924560","filename":"file0"},{"photo_id":"1401924566","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924560":["hashtag1","hashtag2"]},{"1401924566":["hashtag1","hashtag2"]},{"1401924565":["hashtag1","hashtag2"]},{"1401924568":["hashtag1","hashtag2"]},{"1401924562":["hashtag1","hashtag2"]},{"1401924572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924560, 1401924566, 1401924565, 1401924568, 1401924562, 1401924572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.325501918792725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:42:02.981964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_15_9828.jpg', '/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_26_10578.jpg', '/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_35_9619.jpg', '/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_45_9559.jpg', '/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_56_10793.jpg', '/home/pi/Desktop/images/31122025/19/20/image_31122025_19_21_05_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_15_9828.jpg
/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_26_10578.jpg
/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_35_9619.jpg
/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_45_9559.jpg
/home/pi/Desktop/images/31122025/19/20/image_31122025_19_20_56_10793.jpg
/home/pi/Desktop/images/31122025/19/20/image_31122025_19_21_05_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924575","1401924578","1401924577","1401924574","1401924576","1401924600"],"photo_ids_order":["1401924574","1401924575","1401924576","1401924577","1401924578","1401924600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7403a3d79d90e8e86ef4377d8b08a68b.jpg","text":"TemporaryFile(/tmp/multipartBody6434732661457945823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206583609,"filename":"image_31122025_19_20_26_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63737ecdaf8b36a182d31716ff290a9c.jpg","text":"TemporaryFile(/tmp/multipartBody8865660199214363262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206583609,"filename":"image_31122025_19_20_56_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e710cd87ad79282e475677f6d8e94ffc.jpg","text":"TemporaryFile(/tmp/multipartBody7665688332305803936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206583609,"filename":"image_31122025_19_20_45_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5c9f0b1c687cd81046264b0533cd396.jpg","text":"TemporaryFile(/tmp/multipartBody6401156007129531590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206583609,"filename":"image_31122025_19_20_15_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13f81547b53b1ab5a9ace8d8517fbbbd.jpg","text":"TemporaryFile(/tmp/multipartBody8357756994987481132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206583609,"filename":"image_31122025_19_20_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/761771711cb367aea6941d80eb4dedf2.jpg","text":"TemporaryFile(/tmp/multipartBody2785257092564961384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206583609,"filename":"image_31122025_19_21_05_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924576","file1":"1401924575","file0":"1401924574","file4":"1401924578","file5":"1401924600","file3":"1401924577"},"map_files_photo_id_array":[{"photo_id":"1401924600","filename":"file5"},{"photo_id":"1401924576","filename":"file2"},{"photo_id":"1401924578","filename":"file4"},{"photo_id":"1401924575","filename":"file1"},{"photo_id":"1401924574","filename":"file0"},{"photo_id":"1401924577","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924575":["hashtag1","hashtag2"]},{"1401924578":["hashtag1","hashtag2"]},{"1401924577":["hashtag1","hashtag2"]},{"1401924574":["hashtag1","hashtag2"]},{"1401924576":["hashtag1","hashtag2"]},{"1401924600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924575, 1401924578, 1401924577, 1401924574, 1401924576, 1401924600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.515947341918945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:42:42.537944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_50_2530.jpg', '/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_52_2659.jpg', '/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_56_3558.jpg', '/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_07_3039.jpg', '/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_11_3489.jpg', '/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_19_2075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_50_2530.jpg
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_52_2659.jpg
/home/pi/Desktop/images/03112025/19/57/image_03112025_19_57_56_3558.jpg
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_07_3039.jpg
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_11_3489.jpg
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_19_2075.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924629","1401924631","1401924628","1401924625","1401924630","1401924627"],"photo_ids_order":["1401924625","1401924627","1401924628","1401924629","1401924630","1401924631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18e77d32a1bc4f5bc829614cb0014232.jpg","text":"TemporaryFile(/tmp/multipartBody350665180702770649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206624436,"filename":"image_03112025_19_58_07_3039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8002aa68e5a3ca52bca8df9bf65b52c3.jpg","text":"TemporaryFile(/tmp/multipartBody9144802631291311787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206624436,"filename":"image_03112025_19_58_19_2075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/299a1639de8fc06f10f2496281c0cee9.jpg","text":"TemporaryFile(/tmp/multipartBody3469692259752963333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206624436,"filename":"image_03112025_19_57_56_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58613f2483755d801aad5f038018f692.jpg","text":"TemporaryFile(/tmp/multipartBody1213286482136893384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206624436,"filename":"image_03112025_19_57_50_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b78940ff1413b8b94799a09297b547a.jpg","text":"TemporaryFile(/tmp/multipartBody4538743186159621060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206624436,"filename":"image_03112025_19_58_11_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7823ae9468d01cd3208f9b47e4bad1c.jpg","text":"TemporaryFile(/tmp/multipartBody7037525485360502618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206624436,"filename":"image_03112025_19_57_52_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924628","file1":"1401924627","file0":"1401924625","file4":"1401924630","file5":"1401924631","file3":"1401924629"},"map_files_photo_id_array":[{"photo_id":"1401924631","filename":"file5"},{"photo_id":"1401924628","filename":"file2"},{"photo_id":"1401924630","filename":"file4"},{"photo_id":"1401924627","filename":"file1"},{"photo_id":"1401924625","filename":"file0"},{"photo_id":"1401924629","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924629":["hashtag1","hashtag2"]},{"1401924631":["hashtag1","hashtag2"]},{"1401924628":["hashtag1","hashtag2"]},{"1401924625":["hashtag1","hashtag2"]},{"1401924630":["hashtag1","hashtag2"]},{"1401924627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924629, 1401924631, 1401924628, 1401924625, 1401924630, 1401924627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23762893676758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:43:22.710585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_15_9659.jpg', '/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_26_10700.jpg', '/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_36_9814.jpg', '/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_45_9755.jpg', '/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_55_9681.jpg', '/home/pi/Desktop/images/31122025/19/22/image_31122025_19_22_25_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_15_9659.jpg
/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_26_10700.jpg
/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_36_9814.jpg
/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_45_9755.jpg
/home/pi/Desktop/images/31122025/19/21/image_31122025_19_21_55_9681.jpg
/home/pi/Desktop/images/31122025/19/22/image_31122025_19_22_25_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924656","1401924635","1401924691","1401924766","1401924633","1401924729"],"photo_ids_order":["1401924633","1401924635","1401924656","1401924691","1401924729","1401924766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c5d2518e379b3d3bdd0c6aa4524bcca.jpg","text":"TemporaryFile(/tmp/multipartBody645286230365894147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206663332,"filename":"image_31122025_19_21_36_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b91e127452e8617d92daac31fccdeb90.jpg","text":"TemporaryFile(/tmp/multipartBody3513720346956190696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206663332,"filename":"image_31122025_19_21_26_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a02974990180b2f6de48c84f7765a17b.jpg","text":"TemporaryFile(/tmp/multipartBody7879084233974597727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206663332,"filename":"image_31122025_19_21_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/460d0042646932633f44935b8dc5e340.jpg","text":"TemporaryFile(/tmp/multipartBody5981270950265206131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206663332,"filename":"image_31122025_19_22_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/289d5c80bad52e2c8edb77f3f2db5e78.jpg","text":"TemporaryFile(/tmp/multipartBody4330122501146351455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206663332,"filename":"image_31122025_19_21_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47321c3a5fcc1a56430851e09018506e.jpg","text":"TemporaryFile(/tmp/multipartBody7921794546438517565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206663332,"filename":"image_31122025_19_21_55_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924656","file1":"1401924635","file0":"1401924633","file4":"1401924729","file5":"1401924766","file3":"1401924691"},"map_files_photo_id_array":[{"photo_id":"1401924766","filename":"file5"},{"photo_id":"1401924656","filename":"file2"},{"photo_id":"1401924729","filename":"file4"},{"photo_id":"1401924635","filename":"file1"},{"photo_id":"1401924633","filename":"file0"},{"photo_id":"1401924691","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924656":["hashtag1","hashtag2"]},{"1401924635":["hashtag1","hashtag2"]},{"1401924691":["hashtag1","hashtag2"]},{"1401924766":["hashtag1","hashtag2"]},{"1401924633":["hashtag1","hashtag2"]},{"1401924729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924656, 1401924635, 1401924691, 1401924766, 1401924633, 1401924729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75368642807007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:44:02.568370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/22/image_31122025_19_22_35_9606.jpg', '/home/pi/Desktop/images/31122025/19/22/image_31122025_19_22_46_10568.jpg', '/home/pi/Desktop/images/31122025/19/22/image_31122025_19_23_05_9638.jpg', '/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_16_10704.jpg', '/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_25_9679.jpg', '/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_35_9528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/22/image_31122025_19_22_35_9606.jpg
/home/pi/Desktop/images/31122025/19/22/image_31122025_19_22_46_10568.jpg
/home/pi/Desktop/images/31122025/19/22/image_31122025_19_23_05_9638.jpg
/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_16_10704.jpg
/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_25_9679.jpg
/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_35_9528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924875","1401924854","1401924835","1401924876","1401924834","1401924878"],"photo_ids_order":["1401924834","1401924835","1401924854","1401924875","1401924876","1401924878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bf3d983bfd7c947b80a3ca035c2871c.jpg","text":"TemporaryFile(/tmp/multipartBody4474614262412808165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206703293,"filename":"image_31122025_19_23_16_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f22cb745d32de04f7e97b4fee11e7db1.jpg","text":"TemporaryFile(/tmp/multipartBody4361867790100475265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206703293,"filename":"image_31122025_19_23_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00467b74f5620f5c2f54fd3a77c3017f.jpg","text":"TemporaryFile(/tmp/multipartBody671250358255556644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206703293,"filename":"image_31122025_19_22_46_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28225a1a5e52f7ff57a1c1aea6f08087.jpg","text":"TemporaryFile(/tmp/multipartBody5656549524138515779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206703293,"filename":"image_31122025_19_23_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9532ed198a0f0c2d24c456d5cca501c4.jpg","text":"TemporaryFile(/tmp/multipartBody8345976275798127648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206703293,"filename":"image_31122025_19_22_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c2e6eab60eea737a1938c98826425601.jpg","text":"TemporaryFile(/tmp/multipartBody2618503089516245773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206703293,"filename":"image_31122025_19_23_35_9528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924854","file1":"1401924835","file0":"1401924834","file4":"1401924876","file5":"1401924878","file3":"1401924875"},"map_files_photo_id_array":[{"photo_id":"1401924878","filename":"file5"},{"photo_id":"1401924854","filename":"file2"},{"photo_id":"1401924876","filename":"file4"},{"photo_id":"1401924835","filename":"file1"},{"photo_id":"1401924834","filename":"file0"},{"photo_id":"1401924875","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401924875":["hashtag1","hashtag2"]},{"1401924854":["hashtag1","hashtag2"]},{"1401924835":["hashtag1","hashtag2"]},{"1401924876":["hashtag1","hashtag2"]},{"1401924834":["hashtag1","hashtag2"]},{"1401924878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401924875, 1401924854, 1401924835, 1401924876, 1401924834, 1401924878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.993571043014526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:44:41.894877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_25_2696.jpg', '/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_32_3780.jpg', '/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_37_2615.jpg', '/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_44_2666.jpg', '/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_55_2649.jpg', '/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_59_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_25_2696.jpg
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_32_3780.jpg
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_37_2615.jpg
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_44_2666.jpg
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_55_2649.jpg
/home/pi/Desktop/images/03112025/19/58/image_03112025_19_58_59_3534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401924944","1401924935","1401924938","1401924940","1401924942","1401924977"],"photo_ids_order":["1401924935","1401924938","1401924940","1401924942","1401924944","1401924977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d604c04357e64de087ac6506362c0c28.jpg","text":"TemporaryFile(/tmp/multipartBody6374367780456222036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206743831,"filename":"image_03112025_19_58_55_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15bc358fa6821f55b55001a8f81d068a.jpg","text":"TemporaryFile(/tmp/multipartBody2732267868606179605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206743831,"filename":"image_03112025_19_58_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/894ae57ca753143b258afa8d02520eca.jpg","text":"TemporaryFile(/tmp/multipartBody8982804427261091108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206743831,"filename":"image_03112025_19_58_32_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/550485c445de9fd43fac613e6695f324.jpg","text":"TemporaryFile(/tmp/multipartBody1944215022299787248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206743831,"filename":"image_03112025_19_58_37_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b2937473045129de09a6c57609b2fa4.jpg","text":"TemporaryFile(/tmp/multipartBody7124966346720363248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206743831,"filename":"image_03112025_19_58_44_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c2d67e5815d9f086a1cb0e8b2f06aca.jpg","text":"TemporaryFile(/tmp/multipartBody5607829047058509161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206743831,"filename":"image_03112025_19_58_59_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401924940","file1":"1401924938","file0":"1401924935","file4":"1401924944","file5":"1401924977","file3":"1401924942"},"map_files_photo_id_array":[{"photo_id":"1401924977","filename":"file5"},{"photo_id":"1401924940","filename":"file2"},{"photo_id":"1401924944","filename":"file4"},{"photo_id":"1401924938","filename":"file1"},{"photo_id":"1401924935","filename":"file0"},{"photo_id":"1401924942","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401924944":["hashtag1","hashtag2"]},{"1401924935":["hashtag1","hashtag2"]},{"1401924938":["hashtag1","hashtag2"]},{"1401924940":["hashtag1","hashtag2"]},{"1401924942":["hashtag1","hashtag2"]},{"1401924977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401924944, 1401924935, 1401924938, 1401924940, 1401924942, 1401924977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.988205432891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:45:22.088752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_55_9641.jpg', '/home/pi/Desktop/images/31122025/19/23/image_31122025_19_24_05_9595.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_16_10670.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_25_9626.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_35_9601.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_45_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_55_9641.jpg
/home/pi/Desktop/images/31122025/19/23/image_31122025_19_24_05_9595.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_16_10670.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_25_9626.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_35_9601.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_45_10650.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.49242520332336426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:45:32.158346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_07_2574.jpg', '/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_16_2638.jpg', '/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_20_4347.jpg', '/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_22_1595.jpg', '/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_26_4214.jpg', '/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_32_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_07_2574.jpg
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_16_2638.jpg
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_20_4347.jpg
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_22_1595.jpg
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_26_4214.jpg
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_32_3723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925042","1401925036","1401925039","1401925048","1401925047","1401925046"],"photo_ids_order":["1401925036","1401925039","1401925042","1401925046","1401925047","1401925048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc5058b7781a6904a86f1797bb5f76c5.jpg","text":"TemporaryFile(/tmp/multipartBody5006602075488184913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206794008,"filename":"image_03112025_19_59_20_4347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44658d85eb955761d36343c03b0200f7.jpg","text":"TemporaryFile(/tmp/multipartBody543329610637849204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206794008,"filename":"image_03112025_19_59_07_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01bd629c1c256aeda4f55eb98496b85a.jpg","text":"TemporaryFile(/tmp/multipartBody7267924938885265790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206794008,"filename":"image_03112025_19_59_16_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a043068e9bc0018be5fb71538514dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8373710249660662390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206794008,"filename":"image_03112025_19_59_32_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7482ce8bd431d2032b39a5f602af84d4.jpg","text":"TemporaryFile(/tmp/multipartBody8704906982121602778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206794008,"filename":"image_03112025_19_59_26_4214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/962ab1259796138a632d2f755fdf1ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8346016727805440474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206794008,"filename":"image_03112025_19_59_22_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925042","file1":"1401925039","file0":"1401925036","file4":"1401925047","file5":"1401925048","file3":"1401925046"},"map_files_photo_id_array":[{"photo_id":"1401925048","filename":"file5"},{"photo_id":"1401925042","filename":"file2"},{"photo_id":"1401925047","filename":"file4"},{"photo_id":"1401925039","filename":"file1"},{"photo_id":"1401925036","filename":"file0"},{"photo_id":"1401925046","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925042":["hashtag1","hashtag2"]},{"1401925036":["hashtag1","hashtag2"]},{"1401925039":["hashtag1","hashtag2"]},{"1401925048":["hashtag1","hashtag2"]},{"1401925047":["hashtag1","hashtag2"]},{"1401925046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925042, 1401925036, 1401925039, 1401925048, 1401925047, 1401925046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89803981781006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:46:12.307097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_37_2433.jpg', '/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_52_2754.jpg', '/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_56_3622.jpg', '/home/pi/Desktop/images/03112025/19/59/image_03112025_20_00_01_2691.jpg', '/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_04_3207.jpg', '/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_13_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_37_2433.jpg
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_52_2754.jpg
/home/pi/Desktop/images/03112025/19/59/image_03112025_19_59_56_3622.jpg
/home/pi/Desktop/images/03112025/19/59/image_03112025_20_00_01_2691.jpg
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_04_3207.jpg
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_13_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925049","1401925054","1401925051","1401925050","1401925056","1401925058"],"photo_ids_order":["1401925049","1401925050","1401925051","1401925054","1401925056","1401925058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ed52ae3b9a1a0e33386ec14e743c106.jpg","text":"TemporaryFile(/tmp/multipartBody3361544911608780039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206834031,"filename":"image_03112025_19_59_37_2433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e25e20ba369c64fb0bc61e61822ce035.jpg","text":"TemporaryFile(/tmp/multipartBody5530367061875822434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206834031,"filename":"image_03112025_20_00_01_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf83effeac0cbe29cfe7b64c4cf0fd27.jpg","text":"TemporaryFile(/tmp/multipartBody4211548439145428072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206834031,"filename":"image_03112025_19_59_56_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c93a6d33d8e9f152e2b4c1ec48b2a94.jpg","text":"TemporaryFile(/tmp/multipartBody4490359782290449907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206834031,"filename":"image_03112025_19_59_52_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/911b928082af05efcffd21f3f6a0bae2.jpg","text":"TemporaryFile(/tmp/multipartBody8160439593057309039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206834031,"filename":"image_03112025_20_00_04_3207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d5016f7daecac072aaecff6abce537f.jpg","text":"TemporaryFile(/tmp/multipartBody6346515330843210889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206834031,"filename":"image_03112025_20_00_13_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925051","file1":"1401925050","file0":"1401925049","file4":"1401925056","file5":"1401925058","file3":"1401925054"},"map_files_photo_id_array":[{"photo_id":"1401925058","filename":"file5"},{"photo_id":"1401925051","filename":"file2"},{"photo_id":"1401925056","filename":"file4"},{"photo_id":"1401925050","filename":"file1"},{"photo_id":"1401925049","filename":"file0"},{"photo_id":"1401925054","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925049":["hashtag1","hashtag2"]},{"1401925054":["hashtag1","hashtag2"]},{"1401925051":["hashtag1","hashtag2"]},{"1401925050":["hashtag1","hashtag2"]},{"1401925056":["hashtag1","hashtag2"]},{"1401925058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925049, 1401925054, 1401925051, 1401925050, 1401925056, 1401925058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.674747467041016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:47:03.275000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_55_9641.jpg', '/home/pi/Desktop/images/31122025/19/23/image_31122025_19_24_05_9595.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_16_10670.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_25_9626.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_35_9601.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_45_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/23/image_31122025_19_23_55_9641.jpg
/home/pi/Desktop/images/31122025/19/23/image_31122025_19_24_05_9595.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_16_10670.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_25_9626.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_35_9601.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_45_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925063","1401925066","1401925065","1401925068","1401925061","1401925064"],"photo_ids_order":["1401925061","1401925063","1401925064","1401925065","1401925066","1401925068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bab709a6d03b21b601f22c2e483a9cb4.jpg","text":"TemporaryFile(/tmp/multipartBody8331702651078975081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206883916,"filename":"image_31122025_19_24_05_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cbc7ff5bb6d26aa892a2b4a43ed7277.jpg","text":"TemporaryFile(/tmp/multipartBody8667670248137664496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206883916,"filename":"image_31122025_19_24_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e0405254f2a4e94b431dab8489e4b37.jpg","text":"TemporaryFile(/tmp/multipartBody3635213370403090160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206883916,"filename":"image_31122025_19_24_25_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f1afb7dad15037598995d32b84ea3ee.jpg","text":"TemporaryFile(/tmp/multipartBody7896127777468647289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206883916,"filename":"image_31122025_19_24_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a8e1a0c94b21fc024b392621d053cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2095586156389436143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206883916,"filename":"image_31122025_19_23_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b5b779a8382c7b1b05f1aaa9a06db97.jpg","text":"TemporaryFile(/tmp/multipartBody8489621747515286130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206883916,"filename":"image_31122025_19_24_16_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925064","file1":"1401925063","file0":"1401925061","file4":"1401925066","file5":"1401925068","file3":"1401925065"},"map_files_photo_id_array":[{"photo_id":"1401925068","filename":"file5"},{"photo_id":"1401925064","filename":"file2"},{"photo_id":"1401925066","filename":"file4"},{"photo_id":"1401925063","filename":"file1"},{"photo_id":"1401925061","filename":"file0"},{"photo_id":"1401925065","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925063":["hashtag1","hashtag2"]},{"1401925066":["hashtag1","hashtag2"]},{"1401925065":["hashtag1","hashtag2"]},{"1401925068":["hashtag1","hashtag2"]},{"1401925061":["hashtag1","hashtag2"]},{"1401925064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925063, 1401925066, 1401925065, 1401925068, 1401925061, 1401925064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20768165588379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:47:42.683368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_16_2754.jpg', '/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_19_2765.jpg', '/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_22_3035.jpg', '/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_25_2732.jpg', '/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_34_5241.jpg', '/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_45_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_16_2754.jpg
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_19_2765.jpg
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_22_3035.jpg
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_25_2732.jpg
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_34_5241.jpg
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_45_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925078","1401925077","1401925074","1401925076","1401925085","1401925079"],"photo_ids_order":["1401925074","1401925076","1401925077","1401925078","1401925079","1401925085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e423ba47bbb458a3ed4611fc5aed5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4156285964560154567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206924522,"filename":"image_03112025_20_00_25_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f12a1c479c7a9b91ec93f30d4c9ad21.jpg","text":"TemporaryFile(/tmp/multipartBody8639944637352268242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206924522,"filename":"image_03112025_20_00_22_3035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1ea84cba43d0d9e42f85fdf24d24f0aa.jpg","text":"TemporaryFile(/tmp/multipartBody8762245966412053321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206924522,"filename":"image_03112025_20_00_16_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/643b66a7175c0e6b8a1655f6495be4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3754480564167595260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206924522,"filename":"image_03112025_20_00_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cbf21381a7b09f61d22cb880a6b62a5.jpg","text":"TemporaryFile(/tmp/multipartBody1428150516027384648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206924522,"filename":"image_03112025_20_00_45_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ee42bff01322da86a54c9a14d521f98.jpg","text":"TemporaryFile(/tmp/multipartBody6592432698491956909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206924522,"filename":"image_03112025_20_00_34_5241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925077","file1":"1401925076","file0":"1401925074","file4":"1401925079","file5":"1401925085","file3":"1401925078"},"map_files_photo_id_array":[{"photo_id":"1401925085","filename":"file5"},{"photo_id":"1401925077","filename":"file2"},{"photo_id":"1401925079","filename":"file4"},{"photo_id":"1401925076","filename":"file1"},{"photo_id":"1401925074","filename":"file0"},{"photo_id":"1401925078","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925078":["hashtag1","hashtag2"]},{"1401925077":["hashtag1","hashtag2"]},{"1401925074":["hashtag1","hashtag2"]},{"1401925076":["hashtag1","hashtag2"]},{"1401925085":["hashtag1","hashtag2"]},{"1401925079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925078, 1401925077, 1401925074, 1401925076, 1401925085, 1401925079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.648879528045654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:48:21.850394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_55_9846.jpg', '/home/pi/Desktop/images/31122025/19/24/image_31122025_19_25_05_9598.jpg', '/home/pi/Desktop/images/31122025/19/25/image_31122025_19_25_16_10833.jpg', '/home/pi/Desktop/images/31122025/19/25/image_31122025_19_25_26_9871.jpg', '/home/pi/Desktop/images/31122025/19/25/image_31122025_19_25_35_9686.jpg', '/home/pi/Desktop/images/31122025/19/25/image_31122025_19_25_55_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_24_55_9846.jpg
/home/pi/Desktop/images/31122025/19/24/image_31122025_19_25_05_9598.jpg
/home/pi/Desktop/images/31122025/19/25/image_31122025_19_25_16_10833.jpg
/home/pi/Desktop/images/31122025/19/25/image_31122025_19_25_26_9871.jpg
/home/pi/Desktop/images/31122025/19/25/image_31122025_19_25_35_9686.jpg
/home/pi/Desktop/images/31122025/19/25/image_31122025_19_25_55_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925148","1401925118","1401925147","1401925144","1401925128","1401925142"],"photo_ids_order":["1401925118","1401925128","1401925142","1401925144","1401925147","1401925148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5bd55bd4dd16066f8d326a8a5d77ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3984858254851516043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206962448,"filename":"image_31122025_19_25_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1dfa943e1a2cf72d273c2308b3c7328a.jpg","text":"TemporaryFile(/tmp/multipartBody6306748253044498168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206962448,"filename":"image_31122025_19_24_55_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01e766c0fee77189b386070fafc0d8b0.jpg","text":"TemporaryFile(/tmp/multipartBody2046121146575777373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206962448,"filename":"image_31122025_19_25_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf178a1cfd7951c6fb8f62e6bbf01bad.jpg","text":"TemporaryFile(/tmp/multipartBody7549365012048308127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206962448,"filename":"image_31122025_19_25_26_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76bbe69c3fdee979363c14b01bc427d0.jpg","text":"TemporaryFile(/tmp/multipartBody797895723617319792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206962448,"filename":"image_31122025_19_25_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c9f4f91f935e26d5c4defb880425f75.jpg","text":"TemporaryFile(/tmp/multipartBody2407823507119498111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767206962448,"filename":"image_31122025_19_25_16_10833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925142","file1":"1401925128","file0":"1401925118","file4":"1401925147","file5":"1401925148","file3":"1401925144"},"map_files_photo_id_array":[{"photo_id":"1401925148","filename":"file5"},{"photo_id":"1401925142","filename":"file2"},{"photo_id":"1401925147","filename":"file4"},{"photo_id":"1401925128","filename":"file1"},{"photo_id":"1401925118","filename":"file0"},{"photo_id":"1401925144","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925148":["hashtag1","hashtag2"]},{"1401925118":["hashtag1","hashtag2"]},{"1401925147":["hashtag1","hashtag2"]},{"1401925144":["hashtag1","hashtag2"]},{"1401925128":["hashtag1","hashtag2"]},{"1401925142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925148, 1401925118, 1401925147, 1401925144, 1401925128, 1401925142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45134949684143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:49:03.032083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/25/image_31122025_19_26_05_10602.jpg', '/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_15_9864.jpg', '/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_25_9684.jpg', '/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_36_10688.jpg', '/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_45_9731.jpg', '/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_55_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/25/image_31122025_19_26_05_10602.jpg
/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_15_9864.jpg
/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_25_9684.jpg
/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_36_10688.jpg
/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_45_9731.jpg
/home/pi/Desktop/images/31122025/19/26/image_31122025_19_26_55_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925154","1401925156","1401925158","1401925152","1401925155","1401925149"],"photo_ids_order":["1401925149","1401925152","1401925154","1401925155","1401925156","1401925158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cbb65be9a26a4f6b650c244b86499e8.jpg","text":"TemporaryFile(/tmp/multipartBody6106204094246364755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207003813,"filename":"image_31122025_19_26_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f9a9514550fb88a2bd1976bbf0fe7ef.jpg","text":"TemporaryFile(/tmp/multipartBody9052374327129391138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207003813,"filename":"image_31122025_19_26_45_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd3d5304f7828b19389864851968e3a7.jpg","text":"TemporaryFile(/tmp/multipartBody6580545788433000684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207003813,"filename":"image_31122025_19_26_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05243d2458fbd2a6d128285891fe2874.jpg","text":"TemporaryFile(/tmp/multipartBody2805578069932190249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207003813,"filename":"image_31122025_19_26_15_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4113a8ec2c9c0c7d752636fc99ae4e8.jpg","text":"TemporaryFile(/tmp/multipartBody5663449965564461246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207003813,"filename":"image_31122025_19_26_36_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/341e2e509bf0edb230d45cc7a9d363e8.jpg","text":"TemporaryFile(/tmp/multipartBody3017197064599710799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207003813,"filename":"image_31122025_19_26_05_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925154","file1":"1401925152","file0":"1401925149","file4":"1401925156","file5":"1401925158","file3":"1401925155"},"map_files_photo_id_array":[{"photo_id":"1401925158","filename":"file5"},{"photo_id":"1401925154","filename":"file2"},{"photo_id":"1401925156","filename":"file4"},{"photo_id":"1401925152","filename":"file1"},{"photo_id":"1401925149","filename":"file0"},{"photo_id":"1401925155","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925154":["hashtag1","hashtag2"]},{"1401925156":["hashtag1","hashtag2"]},{"1401925158":["hashtag1","hashtag2"]},{"1401925152":["hashtag1","hashtag2"]},{"1401925155":["hashtag1","hashtag2"]},{"1401925149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925154, 1401925156, 1401925158, 1401925152, 1401925155, 1401925149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42598748207092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:49:41.986351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_52_3567.jpg', '/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_01_6377.jpg', '/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_05_1780.jpg', '/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_11_3705.jpg', '/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_13_2569.jpg', '/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_19_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/00/image_03112025_20_00_52_3567.jpg
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_01_6377.jpg
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_05_1780.jpg
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_11_3705.jpg
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_13_2569.jpg
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_19_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925165","1401925164","1401925167","1401925169","1401925163","1401925166"],"photo_ids_order":["1401925163","1401925164","1401925165","1401925166","1401925167","1401925169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df60231e99112bf94e7d6a09b1c71a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6200068105471039755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207043827,"filename":"image_03112025_20_01_05_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d64c84879e09a185adf67308a090f80d.jpg","text":"TemporaryFile(/tmp/multipartBody3664632608324362346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207043827,"filename":"image_03112025_20_01_01_6377.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff65e477277432e98cfb6f9f3c72dc3c.jpg","text":"TemporaryFile(/tmp/multipartBody9115155299969312261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207043827,"filename":"image_03112025_20_01_13_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82e0a372fd80f0f7556d0b1ec69ec35e.jpg","text":"TemporaryFile(/tmp/multipartBody6152244836612578271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207043827,"filename":"image_03112025_20_01_19_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a53535d548c5d67537e134b8cd4c0eaf.jpg","text":"TemporaryFile(/tmp/multipartBody3414127847293261650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207043827,"filename":"image_03112025_20_00_52_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01108cb12214f4218e2b9fa54c598c77.jpg","text":"TemporaryFile(/tmp/multipartBody7321521686105472422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207043827,"filename":"image_03112025_20_01_11_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925165","file1":"1401925164","file0":"1401925163","file4":"1401925167","file5":"1401925169","file3":"1401925166"},"map_files_photo_id_array":[{"photo_id":"1401925169","filename":"file5"},{"photo_id":"1401925165","filename":"file2"},{"photo_id":"1401925167","filename":"file4"},{"photo_id":"1401925164","filename":"file1"},{"photo_id":"1401925163","filename":"file0"},{"photo_id":"1401925166","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925165":["hashtag1","hashtag2"]},{"1401925164":["hashtag1","hashtag2"]},{"1401925167":["hashtag1","hashtag2"]},{"1401925169":["hashtag1","hashtag2"]},{"1401925163":["hashtag1","hashtag2"]},{"1401925166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925165, 1401925164, 1401925167, 1401925169, 1401925163, 1401925166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06086301803589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:50:22.312178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/26/image_31122025_19_27_05_9630.jpg', '/home/pi/Desktop/images/31122025/19/27/image_31122025_19_27_15_10672.jpg', '/home/pi/Desktop/images/31122025/19/27/image_31122025_19_27_25_9586.jpg', '/home/pi/Desktop/images/31122025/19/27/image_31122025_19_27_35_9874.jpg', '/home/pi/Desktop/images/31122025/19/27/image_31122025_19_27_46_10753.jpg', '/home/pi/Desktop/images/31122025/19/27/image_31122025_19_28_05_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/26/image_31122025_19_27_05_9630.jpg
/home/pi/Desktop/images/31122025/19/27/image_31122025_19_27_15_10672.jpg
/home/pi/Desktop/images/31122025/19/27/image_31122025_19_27_25_9586.jpg
/home/pi/Desktop/images/31122025/19/27/image_31122025_19_27_35_9874.jpg
/home/pi/Desktop/images/31122025/19/27/image_31122025_19_27_46_10753.jpg
/home/pi/Desktop/images/31122025/19/27/image_31122025_19_28_05_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925174","1401925176","1401925170","1401925181","1401925178","1401925172"],"photo_ids_order":["1401925170","1401925172","1401925174","1401925176","1401925178","1401925181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/836f19c1e2d56500da418832fe0a5396.jpg","text":"TemporaryFile(/tmp/multipartBody6634419434656504561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207082911,"filename":"image_31122025_19_27_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8eea24f31f9047cad1edb84cbedc223.jpg","text":"TemporaryFile(/tmp/multipartBody8240948125988025042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207082911,"filename":"image_31122025_19_27_35_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c830df1cc368dff093a63aac34b07fa9.jpg","text":"TemporaryFile(/tmp/multipartBody7505687868117777405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207082911,"filename":"image_31122025_19_27_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70f2271c043f394c050653da78b4e53f.jpg","text":"TemporaryFile(/tmp/multipartBody4903146038056871417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207082911,"filename":"image_31122025_19_28_05_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4526273809b1e53ce9c5fcad72dc511.jpg","text":"TemporaryFile(/tmp/multipartBody5224862233317687698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207082911,"filename":"image_31122025_19_27_46_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a776e92afa89643c052155290762308.jpg","text":"TemporaryFile(/tmp/multipartBody6929100454878444610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207082911,"filename":"image_31122025_19_27_15_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925174","file1":"1401925172","file0":"1401925170","file4":"1401925178","file5":"1401925181","file3":"1401925176"},"map_files_photo_id_array":[{"photo_id":"1401925181","filename":"file5"},{"photo_id":"1401925174","filename":"file2"},{"photo_id":"1401925178","filename":"file4"},{"photo_id":"1401925172","filename":"file1"},{"photo_id":"1401925170","filename":"file0"},{"photo_id":"1401925176","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925174":["hashtag1","hashtag2"]},{"1401925176":["hashtag1","hashtag2"]},{"1401925170":["hashtag1","hashtag2"]},{"1401925181":["hashtag1","hashtag2"]},{"1401925178":["hashtag1","hashtag2"]},{"1401925172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925174, 1401925176, 1401925170, 1401925181, 1401925178, 1401925172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70623159408569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:51:03.268884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_15_10573.jpg', '/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_25_9629.jpg', '/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_35_10068.jpg', '/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_46_10586.jpg', '/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_56_9897.jpg', '/home/pi/Desktop/images/31122025/19/28/image_31122025_19_29_05_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_15_10573.jpg
/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_25_9629.jpg
/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_35_10068.jpg
/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_46_10586.jpg
/home/pi/Desktop/images/31122025/19/28/image_31122025_19_28_56_9897.jpg
/home/pi/Desktop/images/31122025/19/28/image_31122025_19_29_05_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925183","1401925186","1401925185","1401925188","1401925190","1401925184"],"photo_ids_order":["1401925183","1401925184","1401925185","1401925186","1401925188","1401925190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc920570db306ad4be88c50d4dc4b5de.jpg","text":"TemporaryFile(/tmp/multipartBody7076205935220281752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207123962,"filename":"image_31122025_19_28_15_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/636cb5c78fc595bce199c790088a2aa3.jpg","text":"TemporaryFile(/tmp/multipartBody2951064156607404870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207123962,"filename":"image_31122025_19_28_46_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a47a1c2b15e01bdf7cb34cbf8e82dc99.jpg","text":"TemporaryFile(/tmp/multipartBody5308430042340895571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207123962,"filename":"image_31122025_19_28_35_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9763c45127b626d02bede3c372248702.jpg","text":"TemporaryFile(/tmp/multipartBody4528452964651135488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207123962,"filename":"image_31122025_19_28_56_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fe9e987d6ee66568de402e82b5f2b52.jpg","text":"TemporaryFile(/tmp/multipartBody8778949928496493954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207123962,"filename":"image_31122025_19_29_05_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2b4685bb247d18e70a2d47ded74ddbb.jpg","text":"TemporaryFile(/tmp/multipartBody2339624083126069631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207123962,"filename":"image_31122025_19_28_25_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925185","file1":"1401925184","file0":"1401925183","file4":"1401925188","file5":"1401925190","file3":"1401925186"},"map_files_photo_id_array":[{"photo_id":"1401925190","filename":"file5"},{"photo_id":"1401925185","filename":"file2"},{"photo_id":"1401925188","filename":"file4"},{"photo_id":"1401925184","filename":"file1"},{"photo_id":"1401925183","filename":"file0"},{"photo_id":"1401925186","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925183":["hashtag1","hashtag2"]},{"1401925186":["hashtag1","hashtag2"]},{"1401925185":["hashtag1","hashtag2"]},{"1401925188":["hashtag1","hashtag2"]},{"1401925190":["hashtag1","hashtag2"]},{"1401925184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925183, 1401925186, 1401925185, 1401925188, 1401925190, 1401925184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.056495904922485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:51:42.514928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_22_3740.jpg', '/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_46_2798.jpg', '/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_49_3573.jpg', '/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_59_3849.jpg', '/home/pi/Desktop/images/03112025/20/02/image_03112025_20_02_07_3733.jpg', '/home/pi/Desktop/images/03112025/20/02/image_03112025_20_02_55_1848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_22_3740.jpg
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_46_2798.jpg
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_49_3573.jpg
/home/pi/Desktop/images/03112025/20/01/image_03112025_20_01_59_3849.jpg
/home/pi/Desktop/images/03112025/20/02/image_03112025_20_02_07_3733.jpg
/home/pi/Desktop/images/03112025/20/02/image_03112025_20_02_55_1848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925198","1401925202","1401925195","1401925201","1401925200","1401925199"],"photo_ids_order":["1401925195","1401925198","1401925199","1401925200","1401925201","1401925202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30c2e91fa75344238069ea0d589d923a.jpg","text":"TemporaryFile(/tmp/multipartBody7189293305053031400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207164362,"filename":"image_03112025_20_01_46_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61a837502ae8baec1ee3e4b55cdbaedd.jpg","text":"TemporaryFile(/tmp/multipartBody9191359959519470068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207164362,"filename":"image_03112025_20_02_55_1848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7713df7ea3ec1b3dde2c85bcb37e787b.jpg","text":"TemporaryFile(/tmp/multipartBody2005801876306257598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207164362,"filename":"image_03112025_20_01_22_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a92bf9e4c2ef78ffa467383a00ba494d.jpg","text":"TemporaryFile(/tmp/multipartBody152922955215756011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207164362,"filename":"image_03112025_20_02_07_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7072dab7d46865f08a1da9dfecf321fa.jpg","text":"TemporaryFile(/tmp/multipartBody8196436794950271932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207164362,"filename":"image_03112025_20_01_59_3849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8bb9dc68da33d8feaf32701c787c123a.jpg","text":"TemporaryFile(/tmp/multipartBody4688646558919119552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207164362,"filename":"image_03112025_20_01_49_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925199","file1":"1401925198","file0":"1401925195","file4":"1401925201","file5":"1401925202","file3":"1401925200"},"map_files_photo_id_array":[{"photo_id":"1401925202","filename":"file5"},{"photo_id":"1401925199","filename":"file2"},{"photo_id":"1401925201","filename":"file4"},{"photo_id":"1401925198","filename":"file1"},{"photo_id":"1401925195","filename":"file0"},{"photo_id":"1401925200","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925198":["hashtag1","hashtag2"]},{"1401925202":["hashtag1","hashtag2"]},{"1401925195":["hashtag1","hashtag2"]},{"1401925201":["hashtag1","hashtag2"]},{"1401925200":["hashtag1","hashtag2"]},{"1401925199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925198, 1401925202, 1401925195, 1401925201, 1401925200, 1401925199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3252170085907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:52:22.758228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_15_9607.jpg', '/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_25_9766.jpg', '/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_35_10269.jpg', '/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_45_9878.jpg', '/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_56_10742.jpg', '/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_15_10071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_15_9607.jpg
/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_25_9766.jpg
/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_35_10269.jpg
/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_45_9878.jpg
/home/pi/Desktop/images/31122025/19/29/image_31122025_19_29_56_10742.jpg
/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_15_10071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925208","1401925210","1401925204","1401925212","1401925215","1401925206"],"photo_ids_order":["1401925204","1401925206","1401925208","1401925210","1401925212","1401925215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f64eca3297659462dfd321654e7cf57e.jpg","text":"TemporaryFile(/tmp/multipartBody795883264862751187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207203353,"filename":"image_31122025_19_29_35_10269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c46fdff3ab6669c124fcea1170fe8a8.jpg","text":"TemporaryFile(/tmp/multipartBody7543711319091410183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207203353,"filename":"image_31122025_19_29_45_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/383da8b405a41c8f0af50fcec3906f9e.jpg","text":"TemporaryFile(/tmp/multipartBody5613003290770247781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207203353,"filename":"image_31122025_19_29_15_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/503371231f507df13487f4266cc15cd7.jpg","text":"TemporaryFile(/tmp/multipartBody4226661460798957011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207203353,"filename":"image_31122025_19_29_56_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/700557b17a2766c69f3e3d103f231f8c.jpg","text":"TemporaryFile(/tmp/multipartBody1614375798848423481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207203353,"filename":"image_31122025_19_30_15_10071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02774cdedf0d968f114ec1a492e0e790.jpg","text":"TemporaryFile(/tmp/multipartBody8955149191894274310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207203353,"filename":"image_31122025_19_29_25_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925208","file1":"1401925206","file0":"1401925204","file4":"1401925212","file5":"1401925215","file3":"1401925210"},"map_files_photo_id_array":[{"photo_id":"1401925215","filename":"file5"},{"photo_id":"1401925208","filename":"file2"},{"photo_id":"1401925212","filename":"file4"},{"photo_id":"1401925206","filename":"file1"},{"photo_id":"1401925204","filename":"file0"},{"photo_id":"1401925210","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925208":["hashtag1","hashtag2"]},{"1401925210":["hashtag1","hashtag2"]},{"1401925204":["hashtag1","hashtag2"]},{"1401925212":["hashtag1","hashtag2"]},{"1401925215":["hashtag1","hashtag2"]},{"1401925206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925208, 1401925210, 1401925204, 1401925212, 1401925215, 1401925206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65469455718994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:53:03.537916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_26_10872.jpg', '/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_36_9683.jpg', '/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_52_15894.jpg', '/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_55_3655.jpg', '/home/pi/Desktop/images/31122025/19/30/image_31122025_19_31_06_10768.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_16_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_26_10872.jpg
/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_36_9683.jpg
/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_52_15894.jpg
/home/pi/Desktop/images/31122025/19/30/image_31122025_19_30_55_3655.jpg
/home/pi/Desktop/images/31122025/19/30/image_31122025_19_31_06_10768.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_16_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925220","1401925217","1401925216","1401925219","1401925218","1401925223"],"photo_ids_order":["1401925216","1401925217","1401925218","1401925219","1401925220","1401925223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59574679270404bc3de32a93e8f34aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4636393953787202239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207244187,"filename":"image_31122025_19_31_06_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c32157f6bbd4db6b9fc839d36afe7b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2292717303234147274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207244187,"filename":"image_31122025_19_30_36_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98e195fe02faf0ce29eaea0e0f7b631b.jpg","text":"TemporaryFile(/tmp/multipartBody3385489062003431081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207244187,"filename":"image_31122025_19_30_26_10872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c850ac67273e7b9062a415f4e114cd7b.jpg","text":"TemporaryFile(/tmp/multipartBody8226441263079226043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207244187,"filename":"image_31122025_19_30_55_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27f3d670de963b45ea263e0319e0ee45.jpg","text":"TemporaryFile(/tmp/multipartBody8269710884009373904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207244187,"filename":"image_31122025_19_30_52_15894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5414039abc99ca99a53948235fc7f9fa.jpg","text":"TemporaryFile(/tmp/multipartBody7601209279306849654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207244187,"filename":"image_31122025_19_31_16_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925218","file1":"1401925217","file0":"1401925216","file4":"1401925220","file5":"1401925223","file3":"1401925219"},"map_files_photo_id_array":[{"photo_id":"1401925223","filename":"file5"},{"photo_id":"1401925218","filename":"file2"},{"photo_id":"1401925220","filename":"file4"},{"photo_id":"1401925217","filename":"file1"},{"photo_id":"1401925216","filename":"file0"},{"photo_id":"1401925219","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925220":["hashtag1","hashtag2"]},{"1401925217":["hashtag1","hashtag2"]},{"1401925216":["hashtag1","hashtag2"]},{"1401925219":["hashtag1","hashtag2"]},{"1401925218":["hashtag1","hashtag2"]},{"1401925223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925220, 1401925217, 1401925216, 1401925219, 1401925218, 1401925223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40710091590881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:53:42.843440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/02/image_03112025_20_02_57_1757.jpg', '/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_08_6424.jpg', '/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_22_1957.jpg', '/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_25_1533.jpg', '/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_28_1776.jpg', '/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_30_1582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/02/image_03112025_20_02_57_1757.jpg
/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_08_6424.jpg
/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_22_1957.jpg
/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_25_1533.jpg
/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_28_1776.jpg
/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_30_1582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925232","1401925235","1401925234","1401925228","1401925231","1401925233"],"photo_ids_order":["1401925228","1401925231","1401925232","1401925233","1401925234","1401925235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abd4ec2e208a54bb539604b41519eeee.jpg","text":"TemporaryFile(/tmp/multipartBody2304839308384621521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207284690,"filename":"image_03112025_20_03_22_1957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8248464a7ece844c23bb1f48d26c170.jpg","text":"TemporaryFile(/tmp/multipartBody2763560435371315655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207284690,"filename":"image_03112025_20_03_30_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2266249581caa9044cb3980984fbe64d.jpg","text":"TemporaryFile(/tmp/multipartBody1060022337785696005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207284690,"filename":"image_03112025_20_03_28_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db59ecbede6976aa1487134375557183.jpg","text":"TemporaryFile(/tmp/multipartBody6174301811839307896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207284690,"filename":"image_03112025_20_02_57_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbcc48b43da4baa947eb1d4b1ee1dde1.jpg","text":"TemporaryFile(/tmp/multipartBody95501740211860065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207284690,"filename":"image_03112025_20_03_08_6424.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0df96164fb190df3c0cd07fe9b5a7e34.jpg","text":"TemporaryFile(/tmp/multipartBody490551409559910425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207284690,"filename":"image_03112025_20_03_25_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925232","file1":"1401925231","file0":"1401925228","file4":"1401925234","file5":"1401925235","file3":"1401925233"},"map_files_photo_id_array":[{"photo_id":"1401925235","filename":"file5"},{"photo_id":"1401925232","filename":"file2"},{"photo_id":"1401925234","filename":"file4"},{"photo_id":"1401925231","filename":"file1"},{"photo_id":"1401925228","filename":"file0"},{"photo_id":"1401925233","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925232":["hashtag1","hashtag2"]},{"1401925235":["hashtag1","hashtag2"]},{"1401925234":["hashtag1","hashtag2"]},{"1401925228":["hashtag1","hashtag2"]},{"1401925231":["hashtag1","hashtag2"]},{"1401925233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925232, 1401925235, 1401925234, 1401925228, 1401925231, 1401925233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.326375007629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:54:21.927649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_26_9865.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_35_9652.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_46_10554.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_56_9680.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_32_06_9812.jpg', '/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_16_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_26_9865.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_35_9652.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_46_10554.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_56_9680.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_32_06_9812.jpg
/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_16_10644.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.48691606521606445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:54:32.048810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_35_1573.jpg', '/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_40_2588.jpg', '/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_47_3511.jpg', '/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_07_18615.jpg', '/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_28_20494.jpg', '/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_35_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_35_1573.jpg
/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_40_2588.jpg
/home/pi/Desktop/images/03112025/20/03/image_03112025_20_03_47_3511.jpg
/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_07_18615.jpg
/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_28_20494.jpg
/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_35_1694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925249","1401925251","1401925245","1401925248","1401925242","1401925250"],"photo_ids_order":["1401925242","1401925245","1401925248","1401925249","1401925250","1401925251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3b117789b3d8d18dc88ccc118f5eaa5.jpg","text":"TemporaryFile(/tmp/multipartBody4301152452681068422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207333766,"filename":"image_03112025_20_04_07_18615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32c786be0b4cb8227c2afdbf89e06e21.jpg","text":"TemporaryFile(/tmp/multipartBody6971301103238515829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207333766,"filename":"image_03112025_20_04_35_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e150fba58da424e7bf4031abba5f7a2.jpg","text":"TemporaryFile(/tmp/multipartBody9107011146689261608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207333766,"filename":"image_03112025_20_03_40_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/882bb1f4a6ed3e5240b8ff8bc797376c.jpg","text":"TemporaryFile(/tmp/multipartBody1469178725666557671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207333766,"filename":"image_03112025_20_03_47_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0b92a883e567091c126c67c98c82c49.jpg","text":"TemporaryFile(/tmp/multipartBody1318423178978966714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207333766,"filename":"image_03112025_20_03_35_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/823bf0c7ac30229086137463dec6c687.jpg","text":"TemporaryFile(/tmp/multipartBody826927748397523602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207333766,"filename":"image_03112025_20_04_28_20494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925248","file1":"1401925245","file0":"1401925242","file4":"1401925250","file5":"1401925251","file3":"1401925249"},"map_files_photo_id_array":[{"photo_id":"1401925251","filename":"file5"},{"photo_id":"1401925248","filename":"file2"},{"photo_id":"1401925250","filename":"file4"},{"photo_id":"1401925245","filename":"file1"},{"photo_id":"1401925242","filename":"file0"},{"photo_id":"1401925249","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925249":["hashtag1","hashtag2"]},{"1401925251":["hashtag1","hashtag2"]},{"1401925245":["hashtag1","hashtag2"]},{"1401925248":["hashtag1","hashtag2"]},{"1401925242":["hashtag1","hashtag2"]},{"1401925250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925249, 1401925251, 1401925245, 1401925248, 1401925242, 1401925250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.764466762542725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:55:12.234538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_37_1622.jpg', '/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_44_7370.jpg', '/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_53_7050.jpg', '/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_56_2902.jpg', '/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_57_1525.jpg', '/home/pi/Desktop/images/03112025/20/05/image_03112025_20_05_04_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_37_1622.jpg
/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_44_7370.jpg
/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_53_7050.jpg
/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_56_2902.jpg
/home/pi/Desktop/images/03112025/20/04/image_03112025_20_04_57_1525.jpg
/home/pi/Desktop/images/03112025/20/05/image_03112025_20_05_04_1572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925253","1401925252","1401925258","1401925260","1401925254","1401925256"],"photo_ids_order":["1401925252","1401925253","1401925254","1401925256","1401925258","1401925260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eae3d68f8378cb94543ef1611410326e.jpg","text":"TemporaryFile(/tmp/multipartBody5920801834879584856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207373936,"filename":"image_03112025_20_04_44_7370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fa282f8b8046ea84720928068dc6980.jpg","text":"TemporaryFile(/tmp/multipartBody8360085924109765377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207373936,"filename":"image_03112025_20_04_37_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43a64bf7f41e443a83b51e6351ca1adc.jpg","text":"TemporaryFile(/tmp/multipartBody3261626509361330413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207373936,"filename":"image_03112025_20_04_57_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1e12cc8a9e2c276ef522d69622dfb2b.jpg","text":"TemporaryFile(/tmp/multipartBody467219285724256057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207373936,"filename":"image_03112025_20_05_04_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1294da20b2efa613eff530ce23e53d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3328672310358657168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207373936,"filename":"image_03112025_20_04_53_7050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10cc42747e6822bb646a6b97668f1166.jpg","text":"TemporaryFile(/tmp/multipartBody1924528555943517749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207373936,"filename":"image_03112025_20_04_56_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925254","file1":"1401925253","file0":"1401925252","file4":"1401925258","file5":"1401925260","file3":"1401925256"},"map_files_photo_id_array":[{"photo_id":"1401925260","filename":"file5"},{"photo_id":"1401925254","filename":"file2"},{"photo_id":"1401925258","filename":"file4"},{"photo_id":"1401925253","filename":"file1"},{"photo_id":"1401925252","filename":"file0"},{"photo_id":"1401925256","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925253":["hashtag1","hashtag2"]},{"1401925252":["hashtag1","hashtag2"]},{"1401925258":["hashtag1","hashtag2"]},{"1401925260":["hashtag1","hashtag2"]},{"1401925254":["hashtag1","hashtag2"]},{"1401925256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925253, 1401925252, 1401925258, 1401925260, 1401925254, 1401925256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90405511856079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:56:06.162959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_26_9865.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_35_9652.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_46_10554.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_56_9680.jpg', '/home/pi/Desktop/images/31122025/19/31/image_31122025_19_32_06_9812.jpg', '/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_16_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_26_9865.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_35_9652.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_46_10554.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_31_56_9680.jpg
/home/pi/Desktop/images/31122025/19/31/image_31122025_19_32_06_9812.jpg
/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_16_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925270","1401925272","1401925266","1401925269","1401925274","1401925268"],"photo_ids_order":["1401925266","1401925268","1401925269","1401925270","1401925272","1401925274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb219e363694e78f117ab83bd548f387.jpg","text":"TemporaryFile(/tmp/multipartBody7160820289034396628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207426757,"filename":"image_31122025_19_31_56_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cafa18d38da1dc983192e1e98382dab3.jpg","text":"TemporaryFile(/tmp/multipartBody8065271509500486599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207426757,"filename":"image_31122025_19_32_06_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c847428a505463ef7e7d77775e1b7b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3278073535953461316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207426757,"filename":"image_31122025_19_31_26_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cdc036dc08e7089c40b6b0e2bc47a5c9.jpg","text":"TemporaryFile(/tmp/multipartBody1398018730136548437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207426757,"filename":"image_31122025_19_31_46_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d52e31541a0a502a38f9bdc57bd6a673.jpg","text":"TemporaryFile(/tmp/multipartBody4784210475722417926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207426757,"filename":"image_31122025_19_32_16_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0076032067a8cbf6b55f3c5a17238fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4655006391279336908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207426757,"filename":"image_31122025_19_31_35_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925269","file1":"1401925268","file0":"1401925266","file4":"1401925272","file5":"1401925274","file3":"1401925270"},"map_files_photo_id_array":[{"photo_id":"1401925274","filename":"file5"},{"photo_id":"1401925269","filename":"file2"},{"photo_id":"1401925272","filename":"file4"},{"photo_id":"1401925268","filename":"file1"},{"photo_id":"1401925266","filename":"file0"},{"photo_id":"1401925270","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925270":["hashtag1","hashtag2"]},{"1401925272":["hashtag1","hashtag2"]},{"1401925266":["hashtag1","hashtag2"]},{"1401925269":["hashtag1","hashtag2"]},{"1401925274":["hashtag1","hashtag2"]},{"1401925268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925270, 1401925272, 1401925266, 1401925269, 1401925274, 1401925268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61071467399597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 19:56:43.211855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_15_2568.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_18_3505.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_21_2954.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_27_3497.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_36_2612.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_42_2959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_15_2568.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_18_3505.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_21_2954.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_27_3497.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_36_2612.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_42_2959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925297","1401925282","1401925281","1401925278","1401925289","1401925280"],"photo_ids_order":["1401925278","1401925280","1401925281","1401925282","1401925289","1401925297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4ff3c4abff4e913a26f4b57f0ebf9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5596115709184765332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207464929,"filename":"image_03112025_20_06_42_2959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b4cbf9b2a74e0745eac93905781ca76.jpg","text":"TemporaryFile(/tmp/multipartBody4652978647207391644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207464929,"filename":"image_03112025_20_06_27_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea14ca03b2aa51c3528ed6b416b5918f.jpg","text":"TemporaryFile(/tmp/multipartBody1271169680808122825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207464929,"filename":"image_03112025_20_06_21_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c318f533438dda1c0f2406c0c25f51f.jpg","text":"TemporaryFile(/tmp/multipartBody8926064495368301570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207464929,"filename":"image_03112025_20_06_15_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34a64a879d787464f0f350b9d82a96bb.jpg","text":"TemporaryFile(/tmp/multipartBody6956160038735899465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207464929,"filename":"image_03112025_20_06_36_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ca5da67d41a465171359be26ac2df91.jpg","text":"TemporaryFile(/tmp/multipartBody5717580807028993731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207464929,"filename":"image_03112025_20_06_18_3505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925281","file1":"1401925280","file0":"1401925278","file4":"1401925289","file5":"1401925297","file3":"1401925282"},"map_files_photo_id_array":[{"photo_id":"1401925297","filename":"file5"},{"photo_id":"1401925281","filename":"file2"},{"photo_id":"1401925289","filename":"file4"},{"photo_id":"1401925280","filename":"file1"},{"photo_id":"1401925278","filename":"file0"},{"photo_id":"1401925282","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401925297":["hashtag1","hashtag2"]},{"1401925282":["hashtag1","hashtag2"]},{"1401925281":["hashtag1","hashtag2"]},{"1401925278":["hashtag1","hashtag2"]},{"1401925289":["hashtag1","hashtag2"]},{"1401925280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401925297, 1401925282, 1401925281, 1401925278, 1401925289, 1401925280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24748730659485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 19:57:22.471101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_26_9749.jpg', '/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_36_9709.jpg', '/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_45_9653.jpg', '/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_56_10649.jpg', '/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_15_9699.jpg', '/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_26_10764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_26_9749.jpg
/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_36_9709.jpg
/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_45_9653.jpg
/home/pi/Desktop/images/31122025/19/32/image_31122025_19_32_56_10649.jpg
/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_15_9699.jpg
/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_26_10764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401925331","1401925333","1401925338","1401925335","1401925329","1401925317"],"photo_ids_order":["1401925317","1401925329","1401925331","1401925333","1401925335","1401925338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/711fd88a382c88c644a4badc7d7d35d6.jpg","text":"TemporaryFile(/tmp/multipartBody4617164836149140059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207503069,"filename":"image_31122025_19_32_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b26d0d50b89c0b954e2ff98b68fc07d7.jpg","text":"TemporaryFile(/tmp/multipartBody8969029044706303819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207503069,"filename":"image_31122025_19_32_56_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42a263cbf4787d399cba154ffd5ba069.jpg","text":"TemporaryFile(/tmp/multipartBody6522905878730885051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207503069,"filename":"image_31122025_19_33_26_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bb2be63fa3cd99bf9d31329f737639a.jpg","text":"TemporaryFile(/tmp/multipartBody4604970398877187342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207503069,"filename":"image_31122025_19_33_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee3a66c8fef8f1096d6a651c3d3bc270.jpg","text":"TemporaryFile(/tmp/multipartBody1939047906857331953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207503069,"filename":"image_31122025_19_32_36_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ee1a9dcf5fed6d643e9eb7fc6bf91d3.jpg","text":"TemporaryFile(/tmp/multipartBody9173108606021777909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207503069,"filename":"image_31122025_19_32_26_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925331","file1":"1401925329","file0":"1401925317","file4":"1401925335","file5":"1401925338","file3":"1401925333"},"map_files_photo_id_array":[{"photo_id":"1401925338","filename":"file5"},{"photo_id":"1401925331","filename":"file2"},{"photo_id":"1401925335","filename":"file4"},{"photo_id":"1401925329","filename":"file1"},{"photo_id":"1401925317","filename":"file0"},{"photo_id":"1401925333","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401925331":["hashtag1","hashtag2"]},{"1401925333":["hashtag1","hashtag2"]},{"1401925338":["hashtag1","hashtag2"]},{"1401925335":["hashtag1","hashtag2"]},{"1401925329":["hashtag1","hashtag2"]},{"1401925317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401925331, 1401925333, 1401925338, 1401925335, 1401925329, 1401925317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61103439331055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 19:59:02.904176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_36_9665.jpg', '/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_45_9654.jpg', '/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_55_9784.jpg', '/home/pi/Desktop/images/31122025/19/33/image_31122025_19_34_06_10675.jpg', '/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_16_9742.jpg', '/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_25_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_36_9665.jpg
/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_45_9654.jpg
/home/pi/Desktop/images/31122025/19/33/image_31122025_19_33_55_9784.jpg
/home/pi/Desktop/images/31122025/19/33/image_31122025_19_34_06_10675.jpg
/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_16_9742.jpg
/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_25_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401926149","1401925867","1401925789","1401926057","1401926237","1401925979"],"photo_ids_order":["1401925789","1401925867","1401925979","1401926057","1401926149","1401926237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf56390889df3d978292e8309185624e.jpg","text":"TemporaryFile(/tmp/multipartBody3057294433730590653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207603729,"filename":"image_31122025_19_34_16_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c219ec3312833bf1dc54449de81737e1.jpg","text":"TemporaryFile(/tmp/multipartBody3011100019457013879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207603729,"filename":"image_31122025_19_33_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a5be944ce527709ceb542915e1a4793.jpg","text":"TemporaryFile(/tmp/multipartBody7232512680611502480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207603729,"filename":"image_31122025_19_33_36_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b301486df04646cff95166b93d979d2.jpg","text":"TemporaryFile(/tmp/multipartBody4709322480098511839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207603729,"filename":"image_31122025_19_34_06_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbde777492f3cabfc9ec635ca8841e03.jpg","text":"TemporaryFile(/tmp/multipartBody924233988819843684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207603729,"filename":"image_31122025_19_34_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe5e7a7141b0c2d9fe90b76f0a641505.jpg","text":"TemporaryFile(/tmp/multipartBody8581012531817165856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207603729,"filename":"image_31122025_19_33_55_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401925979","file1":"1401925867","file0":"1401925789","file4":"1401926149","file5":"1401926237","file3":"1401926057"},"map_files_photo_id_array":[{"photo_id":"1401926237","filename":"file5"},{"photo_id":"1401925979","filename":"file2"},{"photo_id":"1401926149","filename":"file4"},{"photo_id":"1401925867","filename":"file1"},{"photo_id":"1401925789","filename":"file0"},{"photo_id":"1401926057","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401926149":["hashtag1","hashtag2"]},{"1401925867":["hashtag1","hashtag2"]},{"1401925789":["hashtag1","hashtag2"]},{"1401926057":["hashtag1","hashtag2"]},{"1401926237":["hashtag1","hashtag2"]},{"1401925979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401926149, 1401925867, 1401925789, 1401926057, 1401926237, 1401925979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.583019495010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:00:02.685669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_36_10688.jpg', '/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_46_9621.jpg', '/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_56_10574.jpg', '/home/pi/Desktop/images/31122025/19/34/image_31122025_19_35_06_9673.jpg', '/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_16_9845.jpg', '/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_25_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_36_10688.jpg
/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_46_9621.jpg
/home/pi/Desktop/images/31122025/19/34/image_31122025_19_34_56_10574.jpg
/home/pi/Desktop/images/31122025/19/34/image_31122025_19_35_06_9673.jpg
/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_16_9845.jpg
/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_25_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401927246","1401927159","1401926940","1401927023","1401927073","1401927118"],"photo_ids_order":["1401926940","1401927023","1401927073","1401927118","1401927159","1401927246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46f0d4590ec7688c9884d1a2e40f778a.jpg","text":"TemporaryFile(/tmp/multipartBody7802630180036710693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207663299,"filename":"image_31122025_19_35_25_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbbc5359c04c75b08c878c2f759769d4.jpg","text":"TemporaryFile(/tmp/multipartBody5360190953754845958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207663299,"filename":"image_31122025_19_35_16_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0552857cc8acdbc2c8f40b0a27c9deea.jpg","text":"TemporaryFile(/tmp/multipartBody3162774497297189271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207663299,"filename":"image_31122025_19_34_36_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/313987abd334e1845560de53d6fd763b.jpg","text":"TemporaryFile(/tmp/multipartBody6240847432515810497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207663299,"filename":"image_31122025_19_34_46_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66a5ea914ae656a652218b1b253737f5.jpg","text":"TemporaryFile(/tmp/multipartBody7506997332425019110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207663299,"filename":"image_31122025_19_34_56_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/feaecff97065c8486d1c6bad65cecbe1.jpg","text":"TemporaryFile(/tmp/multipartBody1319380131530132380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207663299,"filename":"image_31122025_19_35_06_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401927073","file1":"1401927023","file0":"1401926940","file4":"1401927159","file5":"1401927246","file3":"1401927118"},"map_files_photo_id_array":[{"photo_id":"1401927246","filename":"file5"},{"photo_id":"1401927073","filename":"file2"},{"photo_id":"1401927159","filename":"file4"},{"photo_id":"1401927023","filename":"file1"},{"photo_id":"1401926940","filename":"file0"},{"photo_id":"1401927118","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401927246":["hashtag1","hashtag2"]},{"1401927159":["hashtag1","hashtag2"]},{"1401926940":["hashtag1","hashtag2"]},{"1401927023":["hashtag1","hashtag2"]},{"1401927073":["hashtag1","hashtag2"]},{"1401927118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401927246, 1401927159, 1401926940, 1401927023, 1401927073, 1401927118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06956219673157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:00:42.184270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_45_3645.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_48_2558.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_51_2523.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_54_3724.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_57_2613.jpg', '/home/pi/Desktop/images/03112025/20/06/image_03112025_20_07_00_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_45_3645.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_48_2558.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_51_2523.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_54_3724.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_06_57_2613.jpg
/home/pi/Desktop/images/03112025/20/06/image_03112025_20_07_00_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401927498","1401927671","1401927595","1401927434","1401927559","1401927634"],"photo_ids_order":["1401927434","1401927498","1401927559","1401927595","1401927634","1401927671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f949aa46f0939d51d732a2260692921.jpg","text":"TemporaryFile(/tmp/multipartBody6631108489229897033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207703997,"filename":"image_03112025_20_06_48_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8cee109a6a9bc6ce8760ea83e4bae63f.jpg","text":"TemporaryFile(/tmp/multipartBody2095812221711358093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207703997,"filename":"image_03112025_20_07_00_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64617cdf00383fb79da146121cf96f35.jpg","text":"TemporaryFile(/tmp/multipartBody7292520599002924481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207703997,"filename":"image_03112025_20_06_54_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9c4fd53ac540e7797d57d2943c4ad00.jpg","text":"TemporaryFile(/tmp/multipartBody3506962201540674176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207703997,"filename":"image_03112025_20_06_45_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60a2ac5129ae78cb1797d2279eb06d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8510640635938196140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207703997,"filename":"image_03112025_20_06_51_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad5e4b8a707314e27c338215ae922cb3.jpg","text":"TemporaryFile(/tmp/multipartBody4515512981595582581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207703997,"filename":"image_03112025_20_06_57_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401927559","file1":"1401927498","file0":"1401927434","file4":"1401927634","file5":"1401927671","file3":"1401927595"},"map_files_photo_id_array":[{"photo_id":"1401927671","filename":"file5"},{"photo_id":"1401927559","filename":"file2"},{"photo_id":"1401927634","filename":"file4"},{"photo_id":"1401927498","filename":"file1"},{"photo_id":"1401927434","filename":"file0"},{"photo_id":"1401927595","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401927498":["hashtag1","hashtag2"]},{"1401927671":["hashtag1","hashtag2"]},{"1401927595":["hashtag1","hashtag2"]},{"1401927434":["hashtag1","hashtag2"]},{"1401927559":["hashtag1","hashtag2"]},{"1401927634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401927498, 1401927671, 1401927595, 1401927434, 1401927559, 1401927634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26319217681885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:01:22.384996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_36_10562.jpg', '/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_46_9648.jpg', '/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_55_9805.jpg', '/home/pi/Desktop/images/31122025/19/35/image_31122025_19_36_06_10656.jpg', '/home/pi/Desktop/images/31122025/19/36/image_31122025_19_36_16_9776.jpg', '/home/pi/Desktop/images/31122025/19/36/image_31122025_19_36_25_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_36_10562.jpg
/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_46_9648.jpg
/home/pi/Desktop/images/31122025/19/35/image_31122025_19_35_55_9805.jpg
/home/pi/Desktop/images/31122025/19/35/image_31122025_19_36_06_10656.jpg
/home/pi/Desktop/images/31122025/19/36/image_31122025_19_36_16_9776.jpg
/home/pi/Desktop/images/31122025/19/36/image_31122025_19_36_25_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401927873","1401927780","1401927834","1401927912","1401927748","1401927706"],"photo_ids_order":["1401927706","1401927748","1401927780","1401927834","1401927873","1401927912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1588b9021d806e0ab32195c86639de9f.jpg","text":"TemporaryFile(/tmp/multipartBody4867128292648226683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207742978,"filename":"image_31122025_19_36_16_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c33030e50c94f948d9f56cc396d98d3.jpg","text":"TemporaryFile(/tmp/multipartBody6147081761123828460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207742978,"filename":"image_31122025_19_35_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3d6fc85dce9369a8ddaa41ad075d31f.jpg","text":"TemporaryFile(/tmp/multipartBody4375520846036118314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207742978,"filename":"image_31122025_19_36_06_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/321eebe4f276f8293c0fea2437ba0707.jpg","text":"TemporaryFile(/tmp/multipartBody692945230768146311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207742978,"filename":"image_31122025_19_36_25_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3e6aa324754e9407b75f084db180c64.jpg","text":"TemporaryFile(/tmp/multipartBody6919103997317747811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207742978,"filename":"image_31122025_19_35_46_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/076439acec8909827d982990ba42384f.jpg","text":"TemporaryFile(/tmp/multipartBody5793478666834521761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207742978,"filename":"image_31122025_19_35_36_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401927780","file1":"1401927748","file0":"1401927706","file4":"1401927873","file5":"1401927912","file3":"1401927834"},"map_files_photo_id_array":[{"photo_id":"1401927912","filename":"file5"},{"photo_id":"1401927780","filename":"file2"},{"photo_id":"1401927873","filename":"file4"},{"photo_id":"1401927748","filename":"file1"},{"photo_id":"1401927706","filename":"file0"},{"photo_id":"1401927834","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401927873":["hashtag1","hashtag2"]},{"1401927780":["hashtag1","hashtag2"]},{"1401927834":["hashtag1","hashtag2"]},{"1401927912":["hashtag1","hashtag2"]},{"1401927748":["hashtag1","hashtag2"]},{"1401927706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401927873, 1401927780, 1401927834, 1401927912, 1401927748, 1401927706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.765397787094116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:02:03.022806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/36/image_31122025_19_36_36_10707.jpg', '/home/pi/Desktop/images/31122025/19/36/image_31122025_19_36_56_9622.jpg', '/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_16_9695.jpg', '/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_25_9601.jpg', '/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_36_10534.jpg', '/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_46_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/36/image_31122025_19_36_36_10707.jpg
/home/pi/Desktop/images/31122025/19/36/image_31122025_19_36_56_9622.jpg
/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_16_9695.jpg
/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_25_9601.jpg
/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_36_10534.jpg
/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_46_9843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401927996","1401927993","1401927995","1401928045","1401927997","1401928009"],"photo_ids_order":["1401927993","1401927995","1401927996","1401927997","1401928009","1401928045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/463d043f3f040d4d113365b88ff29298.jpg","text":"TemporaryFile(/tmp/multipartBody2297640945746196021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207783633,"filename":"image_31122025_19_37_16_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/565b1dfb02a25210322cb62f725198c1.jpg","text":"TemporaryFile(/tmp/multipartBody8553586547079749303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207783633,"filename":"image_31122025_19_36_36_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c051e54e30b081b14b28f6a98967e332.jpg","text":"TemporaryFile(/tmp/multipartBody2507391583172540047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207783633,"filename":"image_31122025_19_36_56_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59321ee87ff6fd917ec3f488bdf8a426.jpg","text":"TemporaryFile(/tmp/multipartBody4538340193501699253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207783633,"filename":"image_31122025_19_37_46_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4b584c51197951cefb9f64ce97151f9.jpg","text":"TemporaryFile(/tmp/multipartBody466591974647532114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207783633,"filename":"image_31122025_19_37_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edd7378a559e3b4197f45f85e14282c0.jpg","text":"TemporaryFile(/tmp/multipartBody8237769006837302725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207783633,"filename":"image_31122025_19_37_36_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401927996","file1":"1401927995","file0":"1401927993","file4":"1401928009","file5":"1401928045","file3":"1401927997"},"map_files_photo_id_array":[{"photo_id":"1401928045","filename":"file5"},{"photo_id":"1401927996","filename":"file2"},{"photo_id":"1401928009","filename":"file4"},{"photo_id":"1401927995","filename":"file1"},{"photo_id":"1401927993","filename":"file0"},{"photo_id":"1401927997","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401927996":["hashtag1","hashtag2"]},{"1401927993":["hashtag1","hashtag2"]},{"1401927995":["hashtag1","hashtag2"]},{"1401928045":["hashtag1","hashtag2"]},{"1401927997":["hashtag1","hashtag2"]},{"1401928009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401927996, 1401927993, 1401927995, 1401928045, 1401927997, 1401928009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77512836456299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:02:42.659927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_03_3698.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_09_2702.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_15_5880.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_32_11616.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_37_1697.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_40_3285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_03_3698.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_09_2702.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_15_5880.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_32_11616.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_37_1697.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_40_3285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928170","1401928169","1401928157","1401928121","1401928171","1401928168"],"photo_ids_order":["1401928121","1401928157","1401928168","1401928169","1401928170","1401928171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca60c2163a48d61600cb89fb73c40472.jpg","text":"TemporaryFile(/tmp/multipartBody8969444563604628701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207824478,"filename":"image_03112025_20_07_37_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56ae754d9d811b93716cdf92c8e91674.jpg","text":"TemporaryFile(/tmp/multipartBody5046899072031632090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207824478,"filename":"image_03112025_20_07_32_11616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f758370ffc0611a9aa3e324d37f0614.jpg","text":"TemporaryFile(/tmp/multipartBody7422968515806978248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207824478,"filename":"image_03112025_20_07_09_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29b4f472b3c10b3f3966e56a2dada513.jpg","text":"TemporaryFile(/tmp/multipartBody180524743460921309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207824478,"filename":"image_03112025_20_07_03_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b63479f5ed1660a1b773a299c9ae33e.jpg","text":"TemporaryFile(/tmp/multipartBody5900621228470429945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207824478,"filename":"image_03112025_20_07_40_3285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25a1d008c26cc191e01e77709fee4f76.jpg","text":"TemporaryFile(/tmp/multipartBody5181681018626471555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207824478,"filename":"image_03112025_20_07_15_5880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928168","file1":"1401928157","file0":"1401928121","file4":"1401928170","file5":"1401928171","file3":"1401928169"},"map_files_photo_id_array":[{"photo_id":"1401928171","filename":"file5"},{"photo_id":"1401928168","filename":"file2"},{"photo_id":"1401928170","filename":"file4"},{"photo_id":"1401928157","filename":"file1"},{"photo_id":"1401928121","filename":"file0"},{"photo_id":"1401928169","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928170":["hashtag1","hashtag2"]},{"1401928169":["hashtag1","hashtag2"]},{"1401928157":["hashtag1","hashtag2"]},{"1401928121":["hashtag1","hashtag2"]},{"1401928171":["hashtag1","hashtag2"]},{"1401928168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928170, 1401928169, 1401928157, 1401928121, 1401928171, 1401928168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.933682441711426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:03:22.825299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_56_9711.jpg', '/home/pi/Desktop/images/31122025/19/37/image_31122025_19_38_05_9785.jpg', '/home/pi/Desktop/images/31122025/19/38/image_31122025_19_38_16_10735.jpg', '/home/pi/Desktop/images/31122025/19/38/image_31122025_19_38_46_10567.jpg', '/home/pi/Desktop/images/31122025/19/38/image_31122025_19_38_56_9789.jpg', '/home/pi/Desktop/images/31122025/19/38/image_31122025_19_39_05_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/37/image_31122025_19_37_56_9711.jpg
/home/pi/Desktop/images/31122025/19/37/image_31122025_19_38_05_9785.jpg
/home/pi/Desktop/images/31122025/19/38/image_31122025_19_38_16_10735.jpg
/home/pi/Desktop/images/31122025/19/38/image_31122025_19_38_46_10567.jpg
/home/pi/Desktop/images/31122025/19/38/image_31122025_19_38_56_9789.jpg
/home/pi/Desktop/images/31122025/19/38/image_31122025_19_39_05_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928185","1401928179","1401928173","1401928181","1401928177","1401928176"],"photo_ids_order":["1401928173","1401928176","1401928177","1401928179","1401928181","1401928185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6fdedd57ec32edd9167e9d3b16ee2fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8757681734436197037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207863418,"filename":"image_31122025_19_39_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b2f363bd7bd4c30a2fe368261bb206f.jpg","text":"TemporaryFile(/tmp/multipartBody2254527595548770327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207863418,"filename":"image_31122025_19_38_46_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/323e280640afcd435550fd06c588c113.jpg","text":"TemporaryFile(/tmp/multipartBody3671524494042763806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207863418,"filename":"image_31122025_19_37_56_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c47f20a550c0034bcb868b949323e80.jpg","text":"TemporaryFile(/tmp/multipartBody6418304540335215771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207863418,"filename":"image_31122025_19_38_56_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cff891bb364cea7d7643b2bcc12ee18d.jpg","text":"TemporaryFile(/tmp/multipartBody3469779882819203287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207863418,"filename":"image_31122025_19_38_16_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62c2285a4943250c90ad11b02d19f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody1627501656260338534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207863418,"filename":"image_31122025_19_38_05_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928177","file1":"1401928176","file0":"1401928173","file4":"1401928181","file5":"1401928185","file3":"1401928179"},"map_files_photo_id_array":[{"photo_id":"1401928185","filename":"file5"},{"photo_id":"1401928177","filename":"file2"},{"photo_id":"1401928181","filename":"file4"},{"photo_id":"1401928176","filename":"file1"},{"photo_id":"1401928173","filename":"file0"},{"photo_id":"1401928179","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928185":["hashtag1","hashtag2"]},{"1401928179":["hashtag1","hashtag2"]},{"1401928173":["hashtag1","hashtag2"]},{"1401928181":["hashtag1","hashtag2"]},{"1401928177":["hashtag1","hashtag2"]},{"1401928176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928185, 1401928179, 1401928173, 1401928181, 1401928177, 1401928176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95842361450195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:04:02.733902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_16_10710.jpg', '/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_26_9719.jpg', '/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_36_9643.jpg', '/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_46_10609.jpg', '/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_56_9738.jpg', '/home/pi/Desktop/images/31122025/19/39/image_31122025_19_40_06_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_16_10710.jpg
/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_26_9719.jpg
/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_36_9643.jpg
/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_46_10609.jpg
/home/pi/Desktop/images/31122025/19/39/image_31122025_19_39_56_9738.jpg
/home/pi/Desktop/images/31122025/19/39/image_31122025_19_40_06_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928191","1401928190","1401928193","1401928187","1401928189","1401928188"],"photo_ids_order":["1401928187","1401928188","1401928189","1401928190","1401928191","1401928193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d51aea440e68c2666bcbc442ffe57a9.jpg","text":"TemporaryFile(/tmp/multipartBody818099825638829490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207903432,"filename":"image_31122025_19_39_56_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33e51d1840ec9f9d77d381744b98c7c0.jpg","text":"TemporaryFile(/tmp/multipartBody5334577500009491742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207903432,"filename":"image_31122025_19_39_46_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d64aa4a3fecebf87f1a7009e7d69debe.jpg","text":"TemporaryFile(/tmp/multipartBody3498869074911129843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207903432,"filename":"image_31122025_19_40_06_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86ae6f2c99c276cf879761954dd69e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2205091271543406692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207903432,"filename":"image_31122025_19_39_16_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d80f0f3d50b734f559640db3ee294923.jpg","text":"TemporaryFile(/tmp/multipartBody2647605872759396221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207903432,"filename":"image_31122025_19_39_36_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a51f019f5792cb38f6b11b42510428a9.jpg","text":"TemporaryFile(/tmp/multipartBody4694903234713064732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207903432,"filename":"image_31122025_19_39_26_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928189","file1":"1401928188","file0":"1401928187","file4":"1401928191","file5":"1401928193","file3":"1401928190"},"map_files_photo_id_array":[{"photo_id":"1401928193","filename":"file5"},{"photo_id":"1401928189","filename":"file2"},{"photo_id":"1401928191","filename":"file4"},{"photo_id":"1401928188","filename":"file1"},{"photo_id":"1401928187","filename":"file0"},{"photo_id":"1401928190","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928191":["hashtag1","hashtag2"]},{"1401928190":["hashtag1","hashtag2"]},{"1401928193":["hashtag1","hashtag2"]},{"1401928187":["hashtag1","hashtag2"]},{"1401928189":["hashtag1","hashtag2"]},{"1401928188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928191, 1401928190, 1401928193, 1401928187, 1401928189, 1401928188)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.31480288505554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:05:02.982631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_15_9651.jpg', '/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_26_10657.jpg', '/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_36_9608.jpg', '/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_46_10579.jpg', '/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_56_9933.jpg', '/home/pi/Desktop/images/31122025/19/40/image_31122025_19_41_06_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_15_9651.jpg
/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_26_10657.jpg
/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_36_9608.jpg
/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_46_10579.jpg
/home/pi/Desktop/images/31122025/19/40/image_31122025_19_40_56_9933.jpg
/home/pi/Desktop/images/31122025/19/40/image_31122025_19_41_06_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928206","1401928200","1401928203","1401928202","1401928201","1401928204"],"photo_ids_order":["1401928200","1401928201","1401928202","1401928203","1401928204","1401928206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05fcaceffcbb2b93c4f8b7a78074ba7c.jpg","text":"TemporaryFile(/tmp/multipartBody3776097792614323874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207963640,"filename":"image_31122025_19_41_06_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/923d1a28c5e5f27bbc513c9fb88cdb17.jpg","text":"TemporaryFile(/tmp/multipartBody1861541056595506106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207963640,"filename":"image_31122025_19_40_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d795d0513cc78462e0e55741c929e67.jpg","text":"TemporaryFile(/tmp/multipartBody2938030546712902337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207963640,"filename":"image_31122025_19_40_46_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7acf3743e07b48d971d2a40cfd724b26.jpg","text":"TemporaryFile(/tmp/multipartBody3505427049559727699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207963640,"filename":"image_31122025_19_40_36_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b202d95dff1795df806671cdba85836b.jpg","text":"TemporaryFile(/tmp/multipartBody1070964292485900829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207963640,"filename":"image_31122025_19_40_26_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a23a1812a3c2c215b5568d850dfe79f.jpg","text":"TemporaryFile(/tmp/multipartBody8426697684069782210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767207963640,"filename":"image_31122025_19_40_56_9933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928202","file1":"1401928201","file0":"1401928200","file4":"1401928204","file5":"1401928206","file3":"1401928203"},"map_files_photo_id_array":[{"photo_id":"1401928206","filename":"file5"},{"photo_id":"1401928202","filename":"file2"},{"photo_id":"1401928204","filename":"file4"},{"photo_id":"1401928201","filename":"file1"},{"photo_id":"1401928200","filename":"file0"},{"photo_id":"1401928203","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928206":["hashtag1","hashtag2"]},{"1401928200":["hashtag1","hashtag2"]},{"1401928203":["hashtag1","hashtag2"]},{"1401928202":["hashtag1","hashtag2"]},{"1401928201":["hashtag1","hashtag2"]},{"1401928204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928206, 1401928200, 1401928203, 1401928202, 1401928201, 1401928204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23383951187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:05:42.206461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_42_1623.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_44_1805.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_45_1647.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_51_1789.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_52_1789.jpg', '/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_54_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_42_1623.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_44_1805.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_45_1647.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_51_1789.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_52_1789.jpg
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_07_54_1613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928212","1401928215","1401928218","1401928217","1401928214","1401928216"],"photo_ids_order":["1401928212","1401928214","1401928215","1401928216","1401928217","1401928218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d24e538d9207822ee6f24e6d0ad78588.jpg","text":"TemporaryFile(/tmp/multipartBody1635630019196687090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208004319,"filename":"image_03112025_20_07_42_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/947228f3591f57755091dfb50a3f0532.jpg","text":"TemporaryFile(/tmp/multipartBody6944286891981672010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208004319,"filename":"image_03112025_20_07_45_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9383870fe8c4872d48348bb15b095fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4751040637419470475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208004319,"filename":"image_03112025_20_07_54_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fede0fefb57a8b0d6298b88ca2d3975.jpg","text":"TemporaryFile(/tmp/multipartBody4673707207189000873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208004319,"filename":"image_03112025_20_07_52_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3db0db08d3f90ecec36ee20bccaf1824.jpg","text":"TemporaryFile(/tmp/multipartBody6085097195313171993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208004319,"filename":"image_03112025_20_07_44_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a19f5dd7f53f1e88acc5a9c6cdb87d8.jpg","text":"TemporaryFile(/tmp/multipartBody2335119327677643593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208004319,"filename":"image_03112025_20_07_51_1789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928215","file1":"1401928214","file0":"1401928212","file4":"1401928217","file5":"1401928218","file3":"1401928216"},"map_files_photo_id_array":[{"photo_id":"1401928218","filename":"file5"},{"photo_id":"1401928215","filename":"file2"},{"photo_id":"1401928217","filename":"file4"},{"photo_id":"1401928214","filename":"file1"},{"photo_id":"1401928212","filename":"file0"},{"photo_id":"1401928216","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928212":["hashtag1","hashtag2"]},{"1401928215":["hashtag1","hashtag2"]},{"1401928218":["hashtag1","hashtag2"]},{"1401928217":["hashtag1","hashtag2"]},{"1401928214":["hashtag1","hashtag2"]},{"1401928216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928212, 1401928215, 1401928218, 1401928217, 1401928214, 1401928216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.840035915374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:06:22.484236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_15_9765.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_26_10739.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_36_9676.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_45_9603.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_56_10702.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_42_06_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_15_9765.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_26_10739.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_36_9676.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_45_9603.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_56_10702.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_42_06_9656.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4925723075866699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:06:32.558623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/07/image_03112025_20_08_00_2559.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_03_3663.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_06_2592.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_09_2554.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_24_2601.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_28_4518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/07/image_03112025_20_08_00_2559.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_03_3663.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_06_2592.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_09_2554.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_24_2601.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_28_4518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928272","1401928292","1401928295","1401928241","1401928238","1401928285"],"photo_ids_order":["1401928238","1401928241","1401928272","1401928285","1401928292","1401928295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ceed025ad5fe88e2ae43fc898341b1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8043391887630058610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208054371,"filename":"image_03112025_20_08_06_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2f0b722671aba3b27b1e660a9fb3775.jpg","text":"TemporaryFile(/tmp/multipartBody8930765817970377015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208054371,"filename":"image_03112025_20_08_24_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b8b3823e32193ec1664fb2f0f981d2d.jpg","text":"TemporaryFile(/tmp/multipartBody3588091091555681696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208054371,"filename":"image_03112025_20_08_28_4518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bbee21d69a6ca86ab3c2c07f83e1fef.jpg","text":"TemporaryFile(/tmp/multipartBody1073342493988174314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208054371,"filename":"image_03112025_20_08_03_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42f9f1ec0e1ee88048fb4dcd46d5ec17.jpg","text":"TemporaryFile(/tmp/multipartBody7809841405943418482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208054371,"filename":"image_03112025_20_08_00_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae0deba5ee7042e7f767bef496ed8903.jpg","text":"TemporaryFile(/tmp/multipartBody4740563913430547733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208054371,"filename":"image_03112025_20_08_09_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928272","file1":"1401928241","file0":"1401928238","file4":"1401928292","file5":"1401928295","file3":"1401928285"},"map_files_photo_id_array":[{"photo_id":"1401928295","filename":"file5"},{"photo_id":"1401928272","filename":"file2"},{"photo_id":"1401928292","filename":"file4"},{"photo_id":"1401928241","filename":"file1"},{"photo_id":"1401928238","filename":"file0"},{"photo_id":"1401928285","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928272":["hashtag1","hashtag2"]},{"1401928292":["hashtag1","hashtag2"]},{"1401928295":["hashtag1","hashtag2"]},{"1401928241":["hashtag1","hashtag2"]},{"1401928238":["hashtag1","hashtag2"]},{"1401928285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928272, 1401928292, 1401928295, 1401928241, 1401928238, 1401928285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.661938190460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:07:12.745228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_30_1535.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_46_16174.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_51_1562.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_54_2973.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_56_1608.jpg', '/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_57_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_30_1535.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_46_16174.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_51_1562.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_54_2973.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_56_1608.jpg
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_57_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928320","1401928316","1401928313","1401928315","1401928318","1401928312"],"photo_ids_order":["1401928312","1401928313","1401928315","1401928316","1401928318","1401928320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccd5666bd0da23f11f78606e040e5066.jpg","text":"TemporaryFile(/tmp/multipartBody3231018564290713611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208094441,"filename":"image_03112025_20_08_57_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d06072279372bd3c02d652548a56fa94.jpg","text":"TemporaryFile(/tmp/multipartBody9156334966269855219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208094441,"filename":"image_03112025_20_08_54_2973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/82156840fb0a43cb8598e698dfcf0114.jpg","text":"TemporaryFile(/tmp/multipartBody2253709653122977209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208094441,"filename":"image_03112025_20_08_46_16174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/671f803dc5ac83da0152f25a8a15ce66.jpg","text":"TemporaryFile(/tmp/multipartBody8165607527311150127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208094441,"filename":"image_03112025_20_08_51_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ecf278bd9172a4930d600191ec7804db.jpg","text":"TemporaryFile(/tmp/multipartBody3793673661007241762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208094441,"filename":"image_03112025_20_08_56_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7a69b5c2afbbfcd0ba44c18d5d446e5.jpg","text":"TemporaryFile(/tmp/multipartBody1390534120787600498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208094441,"filename":"image_03112025_20_08_30_1535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928315","file1":"1401928313","file0":"1401928312","file4":"1401928318","file5":"1401928320","file3":"1401928316"},"map_files_photo_id_array":[{"photo_id":"1401928320","filename":"file5"},{"photo_id":"1401928315","filename":"file2"},{"photo_id":"1401928318","filename":"file4"},{"photo_id":"1401928313","filename":"file1"},{"photo_id":"1401928312","filename":"file0"},{"photo_id":"1401928316","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928320":["hashtag1","hashtag2"]},{"1401928316":["hashtag1","hashtag2"]},{"1401928313":["hashtag1","hashtag2"]},{"1401928315":["hashtag1","hashtag2"]},{"1401928318":["hashtag1","hashtag2"]},{"1401928312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928320, 1401928316, 1401928313, 1401928315, 1401928318, 1401928312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33638906478882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:08:02.541356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_15_9765.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_26_10739.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_36_9676.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_45_9603.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_56_10702.jpg', '/home/pi/Desktop/images/31122025/19/41/image_31122025_19_42_06_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_15_9765.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_26_10739.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_36_9676.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_45_9603.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_41_56_10702.jpg
/home/pi/Desktop/images/31122025/19/41/image_31122025_19_42_06_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928326","1401928331","1401928328","1401928333","1401928327","1401928330"],"photo_ids_order":["1401928326","1401928327","1401928328","1401928330","1401928331","1401928333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b95b7e14091615ec3b0acc6e37b7f52c.jpg","text":"TemporaryFile(/tmp/multipartBody2428232589049872118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208143159,"filename":"image_31122025_19_41_15_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0d3bd61f18e1ec1864845912174b4c0.jpg","text":"TemporaryFile(/tmp/multipartBody5782750184643803285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208143159,"filename":"image_31122025_19_41_56_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b66e2f199e8f1ddcc1006e7007dee89.jpg","text":"TemporaryFile(/tmp/multipartBody953256549309658602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208143159,"filename":"image_31122025_19_41_36_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05dfacda7f476f49998531c1b4e76498.jpg","text":"TemporaryFile(/tmp/multipartBody2129484285202151370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208143159,"filename":"image_31122025_19_42_06_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f58ea985eb8e5d3573ce8e57329a064.jpg","text":"TemporaryFile(/tmp/multipartBody6362688219398786373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208143159,"filename":"image_31122025_19_41_26_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/945aaa3912c4d1684f77634b7f759a23.jpg","text":"TemporaryFile(/tmp/multipartBody8750914037012771320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208143159,"filename":"image_31122025_19_41_45_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928328","file1":"1401928327","file0":"1401928326","file4":"1401928331","file5":"1401928333","file3":"1401928330"},"map_files_photo_id_array":[{"photo_id":"1401928333","filename":"file5"},{"photo_id":"1401928328","filename":"file2"},{"photo_id":"1401928331","filename":"file4"},{"photo_id":"1401928327","filename":"file1"},{"photo_id":"1401928326","filename":"file0"},{"photo_id":"1401928330","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928326":["hashtag1","hashtag2"]},{"1401928331":["hashtag1","hashtag2"]},{"1401928328":["hashtag1","hashtag2"]},{"1401928333":["hashtag1","hashtag2"]},{"1401928327":["hashtag1","hashtag2"]},{"1401928330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928326, 1401928331, 1401928328, 1401928333, 1401928327, 1401928330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05935335159302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:08:42.115068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_59_1760.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_01_1534.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_02_1647.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_06_1545.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_15_3809.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_18_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/08/image_03112025_20_08_59_1760.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_01_1534.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_02_1647.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_06_1545.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_15_3809.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_18_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928341","1401928344","1401928343","1401928345","1401928339","1401928342"],"photo_ids_order":["1401928339","1401928341","1401928342","1401928343","1401928344","1401928345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4df8148f17c4db47266a275f32b65e25.jpg","text":"TemporaryFile(/tmp/multipartBody7353818384984923208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208183950,"filename":"image_03112025_20_09_01_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44245469a097149d77b8c85e27f7b000.jpg","text":"TemporaryFile(/tmp/multipartBody6804867586509115580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208183950,"filename":"image_03112025_20_09_15_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a1da32877b70ead5784b45df7f0b57b.jpg","text":"TemporaryFile(/tmp/multipartBody2582872156893886085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208183950,"filename":"image_03112025_20_09_06_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a82c35ec34c2190a9d123b8958b8ab0e.jpg","text":"TemporaryFile(/tmp/multipartBody3168771546550306997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208183950,"filename":"image_03112025_20_09_18_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/395d00624db8e00f93f739c32603e50a.jpg","text":"TemporaryFile(/tmp/multipartBody827557347805898653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208183950,"filename":"image_03112025_20_08_59_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b64050a751174db60ace05804632a46.jpg","text":"TemporaryFile(/tmp/multipartBody4009053539471271860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208183950,"filename":"image_03112025_20_09_02_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928342","file1":"1401928341","file0":"1401928339","file4":"1401928344","file5":"1401928345","file3":"1401928343"},"map_files_photo_id_array":[{"photo_id":"1401928345","filename":"file5"},{"photo_id":"1401928342","filename":"file2"},{"photo_id":"1401928344","filename":"file4"},{"photo_id":"1401928341","filename":"file1"},{"photo_id":"1401928339","filename":"file0"},{"photo_id":"1401928343","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928341":["hashtag1","hashtag2"]},{"1401928344":["hashtag1","hashtag2"]},{"1401928343":["hashtag1","hashtag2"]},{"1401928345":["hashtag1","hashtag2"]},{"1401928339":["hashtag1","hashtag2"]},{"1401928342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928341, 1401928344, 1401928343, 1401928345, 1401928339, 1401928342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.446712017059326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:09:22.303103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/42/image_31122025_19_42_16_9761.jpg', '/home/pi/Desktop/images/31122025/19/42/image_31122025_19_42_25_9689.jpg', '/home/pi/Desktop/images/31122025/19/42/image_31122025_19_42_36_10827.jpg', '/home/pi/Desktop/images/31122025/19/42/image_31122025_19_42_55_9635.jpg', '/home/pi/Desktop/images/31122025/19/42/image_31122025_19_43_06_10785.jpg', '/home/pi/Desktop/images/31122025/19/43/image_31122025_19_43_16_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/42/image_31122025_19_42_16_9761.jpg
/home/pi/Desktop/images/31122025/19/42/image_31122025_19_42_25_9689.jpg
/home/pi/Desktop/images/31122025/19/42/image_31122025_19_42_36_10827.jpg
/home/pi/Desktop/images/31122025/19/42/image_31122025_19_42_55_9635.jpg
/home/pi/Desktop/images/31122025/19/42/image_31122025_19_43_06_10785.jpg
/home/pi/Desktop/images/31122025/19/43/image_31122025_19_43_16_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928350","1401928352","1401928346","1401928357","1401928354","1401928348"],"photo_ids_order":["1401928346","1401928348","1401928350","1401928352","1401928354","1401928357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec2be9327523e2fe732a6a332f630e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3755503783155446752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208222902,"filename":"image_31122025_19_42_36_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48c4c2f79531ffbe1a3c71e307d7ffb8.jpg","text":"TemporaryFile(/tmp/multipartBody3100026204591293917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208222902,"filename":"image_31122025_19_42_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f4e670d1f437efbef2332e38615b405.jpg","text":"TemporaryFile(/tmp/multipartBody4877317057257937099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208222902,"filename":"image_31122025_19_42_16_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/277efb912189b330adfbebf7d56f0f45.jpg","text":"TemporaryFile(/tmp/multipartBody8945090143864771803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208222902,"filename":"image_31122025_19_43_16_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44a8c02c8b3d21e63a86bbb38c25d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody2827829382334560753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208222902,"filename":"image_31122025_19_43_06_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0b71af230bc44ddf113ab94b6c394ac.jpg","text":"TemporaryFile(/tmp/multipartBody6547061308942893586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208222902,"filename":"image_31122025_19_42_25_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928350","file1":"1401928348","file0":"1401928346","file4":"1401928354","file5":"1401928357","file3":"1401928352"},"map_files_photo_id_array":[{"photo_id":"1401928357","filename":"file5"},{"photo_id":"1401928350","filename":"file2"},{"photo_id":"1401928354","filename":"file4"},{"photo_id":"1401928348","filename":"file1"},{"photo_id":"1401928346","filename":"file0"},{"photo_id":"1401928352","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928350":["hashtag1","hashtag2"]},{"1401928352":["hashtag1","hashtag2"]},{"1401928346":["hashtag1","hashtag2"]},{"1401928357":["hashtag1","hashtag2"]},{"1401928354":["hashtag1","hashtag2"]},{"1401928348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928350, 1401928352, 1401928346, 1401928357, 1401928354, 1401928348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.362964391708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:10:02.939034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/43/image_31122025_19_43_26_9887.jpg', '/home/pi/Desktop/images/31122025/19/43/image_31122025_19_43_36_9780.jpg', '/home/pi/Desktop/images/31122025/19/43/image_31122025_19_43_45_9785.jpg', '/home/pi/Desktop/images/31122025/19/43/image_31122025_19_44_05_9558.jpg', '/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_16_10586.jpg', '/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_26_9894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/43/image_31122025_19_43_26_9887.jpg
/home/pi/Desktop/images/31122025/19/43/image_31122025_19_43_36_9780.jpg
/home/pi/Desktop/images/31122025/19/43/image_31122025_19_43_45_9785.jpg
/home/pi/Desktop/images/31122025/19/43/image_31122025_19_44_05_9558.jpg
/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_16_10586.jpg
/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_26_9894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928362","1401928365","1401928367","1401928361","1401928364","1401928360"],"photo_ids_order":["1401928360","1401928361","1401928362","1401928364","1401928365","1401928367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc8575d7506764afc46320428c5f8458.jpg","text":"TemporaryFile(/tmp/multipartBody9202918582294327810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208263569,"filename":"image_31122025_19_43_45_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2138a312d78c2fff3c762ada7846c2ee.jpg","text":"TemporaryFile(/tmp/multipartBody4463808971760008211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208263569,"filename":"image_31122025_19_44_16_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/172d7bf4193918b9595b748e47395a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2283306237141651392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208263569,"filename":"image_31122025_19_44_26_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c8be2c883f8edc4ae57e1da04964ad9.jpg","text":"TemporaryFile(/tmp/multipartBody8763733568460026048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208263569,"filename":"image_31122025_19_43_36_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbdb504b4299a92de5ebbfd310f9ecb9.jpg","text":"TemporaryFile(/tmp/multipartBody1634964855851583946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208263569,"filename":"image_31122025_19_44_05_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a9cb74780cbb8c9c8e13f9f13877193.jpg","text":"TemporaryFile(/tmp/multipartBody7327572040596254230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208263569,"filename":"image_31122025_19_43_26_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928362","file1":"1401928361","file0":"1401928360","file4":"1401928365","file5":"1401928367","file3":"1401928364"},"map_files_photo_id_array":[{"photo_id":"1401928367","filename":"file5"},{"photo_id":"1401928362","filename":"file2"},{"photo_id":"1401928365","filename":"file4"},{"photo_id":"1401928361","filename":"file1"},{"photo_id":"1401928360","filename":"file0"},{"photo_id":"1401928364","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928362":["hashtag1","hashtag2"]},{"1401928365":["hashtag1","hashtag2"]},{"1401928367":["hashtag1","hashtag2"]},{"1401928361":["hashtag1","hashtag2"]},{"1401928364":["hashtag1","hashtag2"]},{"1401928360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928362, 1401928365, 1401928367, 1401928361, 1401928364, 1401928360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47937488555908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:10:42.620515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_20_2602.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_23_2836.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_27_3644.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_36_3799.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_43_7013.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_45_1785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_20_2602.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_23_2836.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_27_3644.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_36_3799.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_43_7013.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_45_1785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928377","1401928379","1401928376","1401928375","1401928372","1401928374"],"photo_ids_order":["1401928372","1401928374","1401928375","1401928376","1401928377","1401928379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/132b1f1a67bd261ca65b5f95cbc769a2.jpg","text":"TemporaryFile(/tmp/multipartBody2278850462694920393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208304455,"filename":"image_03112025_20_09_43_7013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/04982388ae25080c9f4677f845ecaafa.jpg","text":"TemporaryFile(/tmp/multipartBody4930950198839923298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208304455,"filename":"image_03112025_20_09_45_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9c6b8e410f97c81185f3a73bf62909f.jpg","text":"TemporaryFile(/tmp/multipartBody6604483751531073712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208304455,"filename":"image_03112025_20_09_36_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d6a6b206c18d61fc458ef490ffb313a.jpg","text":"TemporaryFile(/tmp/multipartBody3210510659305781945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208304455,"filename":"image_03112025_20_09_27_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27e1c87f9fa96093fcd770124ee6f776.jpg","text":"TemporaryFile(/tmp/multipartBody1574759795007189883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208304455,"filename":"image_03112025_20_09_20_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f3ffd8ab0d20bedaf8bc2b98774a98f.jpg","text":"TemporaryFile(/tmp/multipartBody7259958421399431050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208304455,"filename":"image_03112025_20_09_23_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928375","file1":"1401928374","file0":"1401928372","file4":"1401928377","file5":"1401928379","file3":"1401928376"},"map_files_photo_id_array":[{"photo_id":"1401928379","filename":"file5"},{"photo_id":"1401928375","filename":"file2"},{"photo_id":"1401928377","filename":"file4"},{"photo_id":"1401928374","filename":"file1"},{"photo_id":"1401928372","filename":"file0"},{"photo_id":"1401928376","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928377":["hashtag1","hashtag2"]},{"1401928379":["hashtag1","hashtag2"]},{"1401928376":["hashtag1","hashtag2"]},{"1401928375":["hashtag1","hashtag2"]},{"1401928372":["hashtag1","hashtag2"]},{"1401928374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928377, 1401928379, 1401928376, 1401928375, 1401928372, 1401928374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43806052207947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:11:22.825458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_36_9587.jpg', '/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_45_9677.jpg', '/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_56_10634.jpg', '/home/pi/Desktop/images/31122025/19/44/image_31122025_19_45_06_9707.jpg', '/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_16_10539.jpg', '/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_26_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_36_9587.jpg
/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_45_9677.jpg
/home/pi/Desktop/images/31122025/19/44/image_31122025_19_44_56_10634.jpg
/home/pi/Desktop/images/31122025/19/44/image_31122025_19_45_06_9707.jpg
/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_16_10539.jpg
/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_26_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928383","1401928391","1401928385","1401928388","1401928393","1401928386"],"photo_ids_order":["1401928383","1401928385","1401928386","1401928388","1401928391","1401928393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/faadd24478199d3864d31232b5b85d37.jpg","text":"TemporaryFile(/tmp/multipartBody5686840718922746810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208343427,"filename":"image_31122025_19_44_36_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/219883dad389e9bac28d829ed2add979.jpg","text":"TemporaryFile(/tmp/multipartBody8987646969546981871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208343427,"filename":"image_31122025_19_45_16_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6b0e018ce20992d4348e15ae2f7515f.jpg","text":"TemporaryFile(/tmp/multipartBody4002407149718337323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208343427,"filename":"image_31122025_19_44_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5c796acc2838119440ac9b7185d924b7.jpg","text":"TemporaryFile(/tmp/multipartBody4742194262744225697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208343427,"filename":"image_31122025_19_45_06_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc70ce630a9661b4aa1c1f31ea121590.jpg","text":"TemporaryFile(/tmp/multipartBody8657112957185906157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208343427,"filename":"image_31122025_19_45_26_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37a76b0a068de864b65845d7453c8248.jpg","text":"TemporaryFile(/tmp/multipartBody5405829550351094829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208343427,"filename":"image_31122025_19_44_56_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928386","file1":"1401928385","file0":"1401928383","file4":"1401928391","file5":"1401928393","file3":"1401928388"},"map_files_photo_id_array":[{"photo_id":"1401928393","filename":"file5"},{"photo_id":"1401928386","filename":"file2"},{"photo_id":"1401928391","filename":"file4"},{"photo_id":"1401928385","filename":"file1"},{"photo_id":"1401928383","filename":"file0"},{"photo_id":"1401928388","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928383":["hashtag1","hashtag2"]},{"1401928391":["hashtag1","hashtag2"]},{"1401928385":["hashtag1","hashtag2"]},{"1401928388":["hashtag1","hashtag2"]},{"1401928393":["hashtag1","hashtag2"]},{"1401928386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928383, 1401928391, 1401928385, 1401928388, 1401928393, 1401928386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08550953865051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:12:02.589863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_35_9551.jpg', '/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_46_10646.jpg', '/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_56_9639.jpg', '/home/pi/Desktop/images/31122025/19/45/image_31122025_19_46_05_9584.jpg', '/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_16_10744.jpg', '/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_26_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_35_9551.jpg
/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_46_10646.jpg
/home/pi/Desktop/images/31122025/19/45/image_31122025_19_45_56_9639.jpg
/home/pi/Desktop/images/31122025/19/45/image_31122025_19_46_05_9584.jpg
/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_16_10744.jpg
/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_26_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928398","1401928397","1401928401","1401928394","1401928399","1401928395"],"photo_ids_order":["1401928394","1401928395","1401928397","1401928398","1401928399","1401928401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4208e460b646c175bf0fae19cb7faf56.jpg","text":"TemporaryFile(/tmp/multipartBody516489229972582468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208383210,"filename":"image_31122025_19_46_05_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29254e63eb529fd6992036ad91a7b2bf.jpg","text":"TemporaryFile(/tmp/multipartBody935797421508872764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208383210,"filename":"image_31122025_19_45_56_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/664d9eb488c39e19a9ecda81f62df72f.jpg","text":"TemporaryFile(/tmp/multipartBody6692844567549450537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208383210,"filename":"image_31122025_19_46_26_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/996515e8ca84a5e894942713f299a27b.jpg","text":"TemporaryFile(/tmp/multipartBody6508226106153982519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208383210,"filename":"image_31122025_19_45_35_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d86c8ee2defa3c65787d0b74584d0990.jpg","text":"TemporaryFile(/tmp/multipartBody8850852682561258437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208383210,"filename":"image_31122025_19_46_16_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/229e6c21b08a1a9a33f545daf40f1a46.jpg","text":"TemporaryFile(/tmp/multipartBody3374935528258248205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208383210,"filename":"image_31122025_19_45_46_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928397","file1":"1401928395","file0":"1401928394","file4":"1401928399","file5":"1401928401","file3":"1401928398"},"map_files_photo_id_array":[{"photo_id":"1401928401","filename":"file5"},{"photo_id":"1401928397","filename":"file2"},{"photo_id":"1401928399","filename":"file4"},{"photo_id":"1401928395","filename":"file1"},{"photo_id":"1401928394","filename":"file0"},{"photo_id":"1401928398","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928398":["hashtag1","hashtag2"]},{"1401928397":["hashtag1","hashtag2"]},{"1401928401":["hashtag1","hashtag2"]},{"1401928394":["hashtag1","hashtag2"]},{"1401928399":["hashtag1","hashtag2"]},{"1401928395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928398, 1401928397, 1401928401, 1401928394, 1401928399, 1401928395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24832367897034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:12:42.071145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_47_1580.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_48_1681.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_57_3655.jpg', '/home/pi/Desktop/images/03112025/20/09/image_03112025_20_10_00_2580.jpg', '/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_03_2878.jpg', '/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_06_3261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_47_1580.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_48_1681.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_09_57_3655.jpg
/home/pi/Desktop/images/03112025/20/09/image_03112025_20_10_00_2580.jpg
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_03_2878.jpg
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_06_3261.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928410","1401928413","1401928407","1401928412","1401928409","1401928411"],"photo_ids_order":["1401928407","1401928409","1401928410","1401928411","1401928412","1401928413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9b65271a4b4923d4451553a15a40cbd.jpg","text":"TemporaryFile(/tmp/multipartBody773878742945124153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208423931,"filename":"image_03112025_20_09_57_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70e5a69502e61fe0013df1ac76cb3d5c.jpg","text":"TemporaryFile(/tmp/multipartBody7892286878221312969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208423931,"filename":"image_03112025_20_10_06_3261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cec88ec10667c49503f05ee5ada344d6.jpg","text":"TemporaryFile(/tmp/multipartBody5760126747680208375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208423931,"filename":"image_03112025_20_09_47_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/157388a8599a09d8bb8adcc5c9ab74eb.jpg","text":"TemporaryFile(/tmp/multipartBody1092679264803666521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208423931,"filename":"image_03112025_20_10_03_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/454b2458be2ba6e7760f7fab3ce71866.jpg","text":"TemporaryFile(/tmp/multipartBody7734612806027022067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208423931,"filename":"image_03112025_20_09_48_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cfb204875b02b8c5b7e135fac8c210e.jpg","text":"TemporaryFile(/tmp/multipartBody8315833688577554393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208423931,"filename":"image_03112025_20_10_00_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928410","file1":"1401928409","file0":"1401928407","file4":"1401928412","file5":"1401928413","file3":"1401928411"},"map_files_photo_id_array":[{"photo_id":"1401928413","filename":"file5"},{"photo_id":"1401928410","filename":"file2"},{"photo_id":"1401928412","filename":"file4"},{"photo_id":"1401928409","filename":"file1"},{"photo_id":"1401928407","filename":"file0"},{"photo_id":"1401928411","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928410":["hashtag1","hashtag2"]},{"1401928413":["hashtag1","hashtag2"]},{"1401928407":["hashtag1","hashtag2"]},{"1401928412":["hashtag1","hashtag2"]},{"1401928409":["hashtag1","hashtag2"]},{"1401928411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928410, 1401928413, 1401928407, 1401928412, 1401928409, 1401928411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.933640480041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:13:22.234441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_36_9887.jpg', '/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_45_9566.jpg', '/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_56_10715.jpg', '/home/pi/Desktop/images/31122025/19/46/image_31122025_19_47_06_9639.jpg', '/home/pi/Desktop/images/31122025/19/47/image_31122025_19_47_26_10691.jpg', '/home/pi/Desktop/images/31122025/19/47/image_31122025_19_47_36_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_36_9887.jpg
/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_45_9566.jpg
/home/pi/Desktop/images/31122025/19/46/image_31122025_19_46_56_10715.jpg
/home/pi/Desktop/images/31122025/19/46/image_31122025_19_47_06_9639.jpg
/home/pi/Desktop/images/31122025/19/47/image_31122025_19_47_26_10691.jpg
/home/pi/Desktop/images/31122025/19/47/image_31122025_19_47_36_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928422","1401928415","1401928426","1401928420","1401928423","1401928417"],"photo_ids_order":["1401928415","1401928417","1401928420","1401928422","1401928423","1401928426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/affee16c0599cc491df97e07427ac28d.jpg","text":"TemporaryFile(/tmp/multipartBody1324561281566421416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208462860,"filename":"image_31122025_19_47_06_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d10543e2d6e0b1ce21195c5391c2ed83.jpg","text":"TemporaryFile(/tmp/multipartBody7380484971070958879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208462860,"filename":"image_31122025_19_46_36_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/531611c5b3c295b392e21081000ab31a.jpg","text":"TemporaryFile(/tmp/multipartBody4864310025967056815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208462860,"filename":"image_31122025_19_47_36_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74ce286211190c93ff687ec039f43ca0.jpg","text":"TemporaryFile(/tmp/multipartBody5743056020911284269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208462860,"filename":"image_31122025_19_46_56_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc56c34d757cc61a07f297cb69dec2e8.jpg","text":"TemporaryFile(/tmp/multipartBody243601609885833377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208462860,"filename":"image_31122025_19_47_26_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d59285139c7304b23ae8cc474594cb1.jpg","text":"TemporaryFile(/tmp/multipartBody54120661727440521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208462860,"filename":"image_31122025_19_46_45_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928420","file1":"1401928417","file0":"1401928415","file4":"1401928423","file5":"1401928426","file3":"1401928422"},"map_files_photo_id_array":[{"photo_id":"1401928426","filename":"file5"},{"photo_id":"1401928420","filename":"file2"},{"photo_id":"1401928423","filename":"file4"},{"photo_id":"1401928417","filename":"file1"},{"photo_id":"1401928415","filename":"file0"},{"photo_id":"1401928422","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928422":["hashtag1","hashtag2"]},{"1401928415":["hashtag1","hashtag2"]},{"1401928426":["hashtag1","hashtag2"]},{"1401928420":["hashtag1","hashtag2"]},{"1401928423":["hashtag1","hashtag2"]},{"1401928417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928422, 1401928415, 1401928426, 1401928420, 1401928423, 1401928417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76809501647949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:14:03.075523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_16_9793.jpg', '/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_25_9771.jpg', '/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_36_10614.jpg', '/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_46_9752.jpg', '/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_55_9623.jpg', '/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_26_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_16_9793.jpg
/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_25_9771.jpg
/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_36_10614.jpg
/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_46_9752.jpg
/home/pi/Desktop/images/31122025/19/48/image_31122025_19_48_55_9623.jpg
/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_26_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928431","1401928434","1401928428","1401928433","1401928432","1401928429"],"photo_ids_order":["1401928428","1401928429","1401928431","1401928432","1401928433","1401928434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9638d0762d35a2f3306473341711164.jpg","text":"TemporaryFile(/tmp/multipartBody6565275276375393748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208503768,"filename":"image_31122025_19_48_36_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da2d04b3ee5c9a42ce41a49c2b929838.jpg","text":"TemporaryFile(/tmp/multipartBody5763587517833466549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208503768,"filename":"image_31122025_19_49_26_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8228af48fbf50940f790e512a195e433.jpg","text":"TemporaryFile(/tmp/multipartBody6010410429086608121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208503768,"filename":"image_31122025_19_48_16_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4557e7a2713e3252564d4dfe3dfeca36.jpg","text":"TemporaryFile(/tmp/multipartBody6951485606012130384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208503768,"filename":"image_31122025_19_48_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c2403c346980ea4bee1547c0c14aaaf.jpg","text":"TemporaryFile(/tmp/multipartBody3124859073796298123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208503768,"filename":"image_31122025_19_48_46_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d97ac777ae749ba5ff0449518628eb6.jpg","text":"TemporaryFile(/tmp/multipartBody7772310115159494423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208503768,"filename":"image_31122025_19_48_25_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928431","file1":"1401928429","file0":"1401928428","file4":"1401928433","file5":"1401928434","file3":"1401928432"},"map_files_photo_id_array":[{"photo_id":"1401928434","filename":"file5"},{"photo_id":"1401928431","filename":"file2"},{"photo_id":"1401928433","filename":"file4"},{"photo_id":"1401928429","filename":"file1"},{"photo_id":"1401928428","filename":"file0"},{"photo_id":"1401928432","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928431":["hashtag1","hashtag2"]},{"1401928434":["hashtag1","hashtag2"]},{"1401928428":["hashtag1","hashtag2"]},{"1401928433":["hashtag1","hashtag2"]},{"1401928432":["hashtag1","hashtag2"]},{"1401928429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928431, 1401928434, 1401928428, 1401928433, 1401928432, 1401928429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49262046813965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:14:42.463794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_09_2851.jpg', '/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_32_12858.jpg', '/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_43_11783.jpg', '/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_45_1579.jpg', '/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_48_1582.jpg', '/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_50_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_09_2851.jpg
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_32_12858.jpg
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_43_11783.jpg
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_45_1579.jpg
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_48_1582.jpg
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_50_1578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928449","1401928443","1401928452","1401928451","1401928445","1401928447"],"photo_ids_order":["1401928443","1401928445","1401928447","1401928449","1401928451","1401928452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1960c1352c5ca7b884bca76458652484.jpg","text":"TemporaryFile(/tmp/multipartBody4441762755973779149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208544307,"filename":"image_03112025_20_10_45_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66e61d6d0e72f37548050792d339503a.jpg","text":"TemporaryFile(/tmp/multipartBody3235309903630360576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208544307,"filename":"image_03112025_20_10_09_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2abceb9bb505535ae26a2bbda150825.jpg","text":"TemporaryFile(/tmp/multipartBody3138168006060604839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208544307,"filename":"image_03112025_20_10_50_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9432451527087cb609065a5bf9130788.jpg","text":"TemporaryFile(/tmp/multipartBody3186120987466800911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208544307,"filename":"image_03112025_20_10_48_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01bc78c351a249e7ccfa5f3b21f1b442.jpg","text":"TemporaryFile(/tmp/multipartBody8585113345771878610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208544307,"filename":"image_03112025_20_10_32_12858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/930dd5be4f48645e49f945c92cd0732a.jpg","text":"TemporaryFile(/tmp/multipartBody4027820615634129233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208544307,"filename":"image_03112025_20_10_43_11783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928447","file1":"1401928445","file0":"1401928443","file4":"1401928451","file5":"1401928452","file3":"1401928449"},"map_files_photo_id_array":[{"photo_id":"1401928452","filename":"file5"},{"photo_id":"1401928447","filename":"file2"},{"photo_id":"1401928451","filename":"file4"},{"photo_id":"1401928445","filename":"file1"},{"photo_id":"1401928443","filename":"file0"},{"photo_id":"1401928449","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928449":["hashtag1","hashtag2"]},{"1401928443":["hashtag1","hashtag2"]},{"1401928452":["hashtag1","hashtag2"]},{"1401928451":["hashtag1","hashtag2"]},{"1401928445":["hashtag1","hashtag2"]},{"1401928447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928449, 1401928443, 1401928452, 1401928451, 1401928445, 1401928447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35251998901367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:15:22.530454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_36_9673.jpg', '/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_46_9852.jpg', '/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_55_9653.jpg', '/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_16_9703.jpg', '/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_25_9723.jpg', '/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_46_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_36_9673.jpg
/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_46_9852.jpg
/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_55_9653.jpg
/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_16_9703.jpg
/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_25_9723.jpg
/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_46_9572.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4852299690246582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:15:32.984527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_51_1582.jpg', '/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_56_1653.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_08_11693.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_10_1721.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_11_1603.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_13_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_51_1582.jpg
/home/pi/Desktop/images/03112025/20/10/image_03112025_20_10_56_1653.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_08_11693.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_10_1721.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_11_1603.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_13_1583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928466","1401928469","1401928462","1401928459","1401928468","1401928467"],"photo_ids_order":["1401928459","1401928462","1401928466","1401928467","1401928468","1401928469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d1edffee22bec57fa2bb7205c026d9c.jpg","text":"TemporaryFile(/tmp/multipartBody824664688854046507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208594818,"filename":"image_03112025_20_11_08_11693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/699e0b0b4310ab1761ab4cd940f39db1.jpg","text":"TemporaryFile(/tmp/multipartBody3208592490707329601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208594818,"filename":"image_03112025_20_11_13_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6a9cf394336a63d4d24ed10a40bcd6a.jpg","text":"TemporaryFile(/tmp/multipartBody2945010464218156027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208594818,"filename":"image_03112025_20_10_56_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d551291696a30cf571448e5a8bae76f.jpg","text":"TemporaryFile(/tmp/multipartBody8324548684691371566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208594818,"filename":"image_03112025_20_10_51_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b18e44a361b86c729ff0e5632888285f.jpg","text":"TemporaryFile(/tmp/multipartBody2091812473670077142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208594818,"filename":"image_03112025_20_11_11_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cf0a6793295a0451ade7ebd4a2accd8.jpg","text":"TemporaryFile(/tmp/multipartBody4870615462282899738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208594818,"filename":"image_03112025_20_11_10_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928466","file1":"1401928462","file0":"1401928459","file4":"1401928468","file5":"1401928469","file3":"1401928467"},"map_files_photo_id_array":[{"photo_id":"1401928469","filename":"file5"},{"photo_id":"1401928466","filename":"file2"},{"photo_id":"1401928468","filename":"file4"},{"photo_id":"1401928462","filename":"file1"},{"photo_id":"1401928459","filename":"file0"},{"photo_id":"1401928467","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928466":["hashtag1","hashtag2"]},{"1401928469":["hashtag1","hashtag2"]},{"1401928462":["hashtag1","hashtag2"]},{"1401928459":["hashtag1","hashtag2"]},{"1401928468":["hashtag1","hashtag2"]},{"1401928467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928466, 1401928469, 1401928462, 1401928459, 1401928468, 1401928467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21250653266907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:16:11.850194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_14_1646.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_23_1683.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_25_1594.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_26_1591.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_28_1722.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_30_1560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_14_1646.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_23_1683.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_25_1594.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_26_1591.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_28_1722.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_30_1560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928476","1401928470","1401928478","1401928472","1401928474","1401928471"],"photo_ids_order":["1401928470","1401928471","1401928472","1401928474","1401928476","1401928478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80b547102830b670edf0912a36f9f28f.jpg","text":"TemporaryFile(/tmp/multipartBody2005669883660677393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208633559,"filename":"image_03112025_20_11_28_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27188b482eb1116104e8c258cdca5af8.jpg","text":"TemporaryFile(/tmp/multipartBody1136403036600426282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208633559,"filename":"image_03112025_20_11_14_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f5e8585e889aa00c1e860110e52090a.jpg","text":"TemporaryFile(/tmp/multipartBody1070911584329735088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208633559,"filename":"image_03112025_20_11_30_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62acf9ed071302f19505c49743445f38.jpg","text":"TemporaryFile(/tmp/multipartBody848018342884195101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208633559,"filename":"image_03112025_20_11_25_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b6011e2cd50078f1b80d193dbf884ed.jpg","text":"TemporaryFile(/tmp/multipartBody2909567393568759569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208633559,"filename":"image_03112025_20_11_26_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbec12f6d2c4e93375d32d8d642a84db.jpg","text":"TemporaryFile(/tmp/multipartBody6350673658609486293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208633559,"filename":"image_03112025_20_11_23_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928472","file1":"1401928471","file0":"1401928470","file4":"1401928476","file5":"1401928478","file3":"1401928474"},"map_files_photo_id_array":[{"photo_id":"1401928478","filename":"file5"},{"photo_id":"1401928472","filename":"file2"},{"photo_id":"1401928476","filename":"file4"},{"photo_id":"1401928471","filename":"file1"},{"photo_id":"1401928470","filename":"file0"},{"photo_id":"1401928474","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928476":["hashtag1","hashtag2"]},{"1401928470":["hashtag1","hashtag2"]},{"1401928478":["hashtag1","hashtag2"]},{"1401928472":["hashtag1","hashtag2"]},{"1401928474":["hashtag1","hashtag2"]},{"1401928471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928476, 1401928470, 1401928478, 1401928472, 1401928474, 1401928471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63872933387756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:17:02.851528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_36_9673.jpg', '/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_46_9852.jpg', '/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_55_9653.jpg', '/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_16_9703.jpg', '/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_25_9723.jpg', '/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_46_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_36_9673.jpg
/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_46_9852.jpg
/home/pi/Desktop/images/31122025/19/49/image_31122025_19_49_55_9653.jpg
/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_16_9703.jpg
/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_25_9723.jpg
/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_46_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928482","1401928484","1401928483","1401928486","1401928485","1401928488"],"photo_ids_order":["1401928482","1401928483","1401928484","1401928485","1401928486","1401928488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f26c74f132f320c82edc23194288f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2523553458457143475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208683505,"filename":"image_31122025_19_49_36_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/623e935b9e3bc45261c21fc3e846ef19.jpg","text":"TemporaryFile(/tmp/multipartBody6469193652435319465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208683505,"filename":"image_31122025_19_49_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7111025234afadebe58079117b27ecd9.jpg","text":"TemporaryFile(/tmp/multipartBody2089760351423024762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208683505,"filename":"image_31122025_19_49_46_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6df32a8aa3aa0432289600a4e13c2c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5936191366812783231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208683505,"filename":"image_31122025_19_50_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77da5ae2fd4a1ebb75fe828b9958d897.jpg","text":"TemporaryFile(/tmp/multipartBody1634356056017280150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208683505,"filename":"image_31122025_19_50_16_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1eac59ac481c5716c8ba53b97fd82b69.jpg","text":"TemporaryFile(/tmp/multipartBody7350227923692858797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208683505,"filename":"image_31122025_19_50_46_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928484","file1":"1401928483","file0":"1401928482","file4":"1401928486","file5":"1401928488","file3":"1401928485"},"map_files_photo_id_array":[{"photo_id":"1401928488","filename":"file5"},{"photo_id":"1401928484","filename":"file2"},{"photo_id":"1401928486","filename":"file4"},{"photo_id":"1401928483","filename":"file1"},{"photo_id":"1401928482","filename":"file0"},{"photo_id":"1401928485","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928482":["hashtag1","hashtag2"]},{"1401928484":["hashtag1","hashtag2"]},{"1401928483":["hashtag1","hashtag2"]},{"1401928486":["hashtag1","hashtag2"]},{"1401928485":["hashtag1","hashtag2"]},{"1401928488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928482, 1401928484, 1401928483, 1401928486, 1401928485, 1401928488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.430485248565674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:17:42.115383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_33_1538.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_36_2799.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_38_2714.jpg', '/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_42_3648.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_25_30213.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_27_1544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_33_1538.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_36_2799.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_38_2714.jpg
/home/pi/Desktop/images/03112025/20/11/image_03112025_20_11_42_3648.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_25_30213.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_27_1544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928497","1401928496","1401928500","1401928493","1401928495","1401928498"],"photo_ids_order":["1401928493","1401928495","1401928496","1401928497","1401928498","1401928500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d00a1e84795bd3eb55e086cc772baf5.jpg","text":"TemporaryFile(/tmp/multipartBody941597955209040550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208723976,"filename":"image_03112025_20_11_42_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa56e7efaa313fed6327134a45ac7a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6290634530520144052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208723976,"filename":"image_03112025_20_11_38_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/596df86c3aff7e7e4c9d2c948302f8cb.jpg","text":"TemporaryFile(/tmp/multipartBody1523212944025147449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208723976,"filename":"image_03112025_20_12_27_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33dcded68ba75141b934f1b8ebf6ca5e.jpg","text":"TemporaryFile(/tmp/multipartBody1953406009433463670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208723976,"filename":"image_03112025_20_11_33_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/da7a63319f389b830b9058a903f259fc.jpg","text":"TemporaryFile(/tmp/multipartBody191601539389014232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208723976,"filename":"image_03112025_20_11_36_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ebecad5bc71dfaff1fdcdecd1801763.jpg","text":"TemporaryFile(/tmp/multipartBody7863820752588591806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208723976,"filename":"image_03112025_20_12_25_30213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928496","file1":"1401928495","file0":"1401928493","file4":"1401928498","file5":"1401928500","file3":"1401928497"},"map_files_photo_id_array":[{"photo_id":"1401928500","filename":"file5"},{"photo_id":"1401928496","filename":"file2"},{"photo_id":"1401928498","filename":"file4"},{"photo_id":"1401928495","filename":"file1"},{"photo_id":"1401928493","filename":"file0"},{"photo_id":"1401928497","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928497":["hashtag1","hashtag2"]},{"1401928496":["hashtag1","hashtag2"]},{"1401928500":["hashtag1","hashtag2"]},{"1401928493":["hashtag1","hashtag2"]},{"1401928495":["hashtag1","hashtag2"]},{"1401928498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928497, 1401928496, 1401928500, 1401928493, 1401928495, 1401928498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.063719272613525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:18:22.310885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_55_9815.jpg', '/home/pi/Desktop/images/31122025/19/50/image_31122025_19_51_06_10566.jpg', '/home/pi/Desktop/images/31122025/19/51/image_31122025_19_51_25_9645.jpg', '/home/pi/Desktop/images/31122025/19/51/image_31122025_19_51_36_10682.jpg', '/home/pi/Desktop/images/31122025/19/51/image_31122025_19_51_46_9759.jpg', '/home/pi/Desktop/images/31122025/19/51/image_31122025_19_51_55_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/50/image_31122025_19_50_55_9815.jpg
/home/pi/Desktop/images/31122025/19/50/image_31122025_19_51_06_10566.jpg
/home/pi/Desktop/images/31122025/19/51/image_31122025_19_51_25_9645.jpg
/home/pi/Desktop/images/31122025/19/51/image_31122025_19_51_36_10682.jpg
/home/pi/Desktop/images/31122025/19/51/image_31122025_19_51_46_9759.jpg
/home/pi/Desktop/images/31122025/19/51/image_31122025_19_51_55_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928509","1401928511","1401928505","1401928507","1401928501","1401928504"],"photo_ids_order":["1401928501","1401928504","1401928505","1401928507","1401928509","1401928511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fedf60e9a460e4d23cdf612d1c00a87.jpg","text":"TemporaryFile(/tmp/multipartBody5116929399483596047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208762903,"filename":"image_31122025_19_51_46_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7f0ac7bde04021a0a8f216f58a5211c.jpg","text":"TemporaryFile(/tmp/multipartBody5202028126258720824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208762903,"filename":"image_31122025_19_51_55_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/517d5d318208eba6e3a9c3050d4f4597.jpg","text":"TemporaryFile(/tmp/multipartBody6738407599132262833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208762903,"filename":"image_31122025_19_51_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/746f493615c7e0523d8f2b4d878eb1a3.jpg","text":"TemporaryFile(/tmp/multipartBody1411804252492221300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208762903,"filename":"image_31122025_19_51_36_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3721012f8ffc2171db22b707fe2925c.jpg","text":"TemporaryFile(/tmp/multipartBody1019886089362498447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208762903,"filename":"image_31122025_19_50_55_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83f6f694023ffaee232b91647a6eb239.jpg","text":"TemporaryFile(/tmp/multipartBody7669923985915021176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208762903,"filename":"image_31122025_19_51_06_10566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928505","file1":"1401928504","file0":"1401928501","file4":"1401928509","file5":"1401928511","file3":"1401928507"},"map_files_photo_id_array":[{"photo_id":"1401928511","filename":"file5"},{"photo_id":"1401928505","filename":"file2"},{"photo_id":"1401928509","filename":"file4"},{"photo_id":"1401928504","filename":"file1"},{"photo_id":"1401928501","filename":"file0"},{"photo_id":"1401928507","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928509":["hashtag1","hashtag2"]},{"1401928511":["hashtag1","hashtag2"]},{"1401928505":["hashtag1","hashtag2"]},{"1401928507":["hashtag1","hashtag2"]},{"1401928501":["hashtag1","hashtag2"]},{"1401928504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928509, 1401928511, 1401928505, 1401928507, 1401928501, 1401928504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3538281917572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:19:03.393621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_16_9884.jpg', '/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_26_9742.jpg', '/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_35_9567.jpg', '/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_46_10774.jpg', '/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_56_9816.jpg', '/home/pi/Desktop/images/31122025/19/52/image_31122025_19_53_05_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_16_9884.jpg
/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_26_9742.jpg
/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_35_9567.jpg
/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_46_10774.jpg
/home/pi/Desktop/images/31122025/19/52/image_31122025_19_52_56_9816.jpg
/home/pi/Desktop/images/31122025/19/52/image_31122025_19_53_05_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928512","1401928514","1401928517","1401928519","1401928513","1401928516"],"photo_ids_order":["1401928512","1401928513","1401928514","1401928516","1401928517","1401928519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/548a474fa2616095b7c54e2e2e60d3a1.jpg","text":"TemporaryFile(/tmp/multipartBody9047057232089436818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208804184,"filename":"image_31122025_19_52_16_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46db2c13c9a6368c4b1cb43d64d83401.jpg","text":"TemporaryFile(/tmp/multipartBody1764523419565033506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208804184,"filename":"image_31122025_19_52_35_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/542b441fbd2e501199246ee057b2efe1.jpg","text":"TemporaryFile(/tmp/multipartBody8069595809032559070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208804184,"filename":"image_31122025_19_52_56_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/634a7eac4e3f28acde03aed591426e55.jpg","text":"TemporaryFile(/tmp/multipartBody2208055419481487040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208804184,"filename":"image_31122025_19_53_05_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e28a9a232da2895e4fc6f6d71e6ef08c.jpg","text":"TemporaryFile(/tmp/multipartBody4667853654456082372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208804184,"filename":"image_31122025_19_52_26_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7053b720bf9b5a4cb36cec5dc2edd2a0.jpg","text":"TemporaryFile(/tmp/multipartBody6839194341343488766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208804184,"filename":"image_31122025_19_52_46_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928514","file1":"1401928513","file0":"1401928512","file4":"1401928517","file5":"1401928519","file3":"1401928516"},"map_files_photo_id_array":[{"photo_id":"1401928519","filename":"file5"},{"photo_id":"1401928514","filename":"file2"},{"photo_id":"1401928517","filename":"file4"},{"photo_id":"1401928513","filename":"file1"},{"photo_id":"1401928512","filename":"file0"},{"photo_id":"1401928516","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928512":["hashtag1","hashtag2"]},{"1401928514":["hashtag1","hashtag2"]},{"1401928517":["hashtag1","hashtag2"]},{"1401928519":["hashtag1","hashtag2"]},{"1401928513":["hashtag1","hashtag2"]},{"1401928516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928512, 1401928514, 1401928517, 1401928519, 1401928513, 1401928516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36872482299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:19:42.402428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_28_1750.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_32_1712.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_33_1599.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_39_1587.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_40_1649.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_43_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_28_1750.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_32_1712.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_33_1599.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_39_1587.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_40_1649.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_43_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928530","1401928527","1401928529","1401928531","1401928525","1401928528"],"photo_ids_order":["1401928525","1401928527","1401928528","1401928529","1401928530","1401928531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50bccc5c7efbe84caf6bd50143642a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5098302439738411987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208844241,"filename":"image_03112025_20_12_40_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44e4fe0917d3dd3ea022782ebd6f90f9.jpg","text":"TemporaryFile(/tmp/multipartBody5459196237476131158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208844241,"filename":"image_03112025_20_12_32_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95d48f52692aa6f4631a6f7ff5675a75.jpg","text":"TemporaryFile(/tmp/multipartBody7006938112499449440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208844241,"filename":"image_03112025_20_12_39_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6b3c47c7f227052f571d599cffd3e34.jpg","text":"TemporaryFile(/tmp/multipartBody8587628877789211834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208844241,"filename":"image_03112025_20_12_43_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5e3da43ff50f8acf470d4cd6aec7870.jpg","text":"TemporaryFile(/tmp/multipartBody4943999371850201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208844241,"filename":"image_03112025_20_12_28_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17939186ea6b0be7c5a7f9ef3c4bc2a5.jpg","text":"TemporaryFile(/tmp/multipartBody5557764744399512020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208844241,"filename":"image_03112025_20_12_33_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928528","file1":"1401928527","file0":"1401928525","file4":"1401928530","file5":"1401928531","file3":"1401928529"},"map_files_photo_id_array":[{"photo_id":"1401928531","filename":"file5"},{"photo_id":"1401928528","filename":"file2"},{"photo_id":"1401928530","filename":"file4"},{"photo_id":"1401928527","filename":"file1"},{"photo_id":"1401928525","filename":"file0"},{"photo_id":"1401928529","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928530":["hashtag1","hashtag2"]},{"1401928527":["hashtag1","hashtag2"]},{"1401928529":["hashtag1","hashtag2"]},{"1401928531":["hashtag1","hashtag2"]},{"1401928525":["hashtag1","hashtag2"]},{"1401928528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928530, 1401928527, 1401928529, 1401928531, 1401928525, 1401928528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22630977630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:20:22.541490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/53/image_31122025_19_53_15_9788.jpg', '/home/pi/Desktop/images/31122025/19/53/image_31122025_19_53_26_10665.jpg', '/home/pi/Desktop/images/31122025/19/53/image_31122025_19_53_36_9753.jpg', '/home/pi/Desktop/images/31122025/19/53/image_31122025_19_53_56_9721.jpg', '/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_16_9897.jpg', '/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_25_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/53/image_31122025_19_53_15_9788.jpg
/home/pi/Desktop/images/31122025/19/53/image_31122025_19_53_26_10665.jpg
/home/pi/Desktop/images/31122025/19/53/image_31122025_19_53_36_9753.jpg
/home/pi/Desktop/images/31122025/19/53/image_31122025_19_53_56_9721.jpg
/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_16_9897.jpg
/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_25_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928539","1401928533","1401928544","1401928541","1401928535","1401928537"],"photo_ids_order":["1401928533","1401928535","1401928537","1401928539","1401928541","1401928544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26b0f91972e91f3ea5331dad821f4798.jpg","text":"TemporaryFile(/tmp/multipartBody2996549645651600144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208883135,"filename":"image_31122025_19_53_56_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/551b40ce9d2778126beb1249c73d68fd.jpg","text":"TemporaryFile(/tmp/multipartBody3701844143160417378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208883135,"filename":"image_31122025_19_53_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab426c7ebedad5569e3e542499c0689e.jpg","text":"TemporaryFile(/tmp/multipartBody6948427927262918336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208883135,"filename":"image_31122025_19_54_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b765ccde89c988074fdddb1f90525e19.jpg","text":"TemporaryFile(/tmp/multipartBody77930639449947848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208883135,"filename":"image_31122025_19_54_16_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a6e6e0b2b48c3dbe8d3b8faaa3f68a2.jpg","text":"TemporaryFile(/tmp/multipartBody6826433044305768324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208883135,"filename":"image_31122025_19_53_26_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38c100984ef00c8fe36f43792fad37d1.jpg","text":"TemporaryFile(/tmp/multipartBody1826475535838777939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208883135,"filename":"image_31122025_19_53_36_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928537","file1":"1401928535","file0":"1401928533","file4":"1401928541","file5":"1401928544","file3":"1401928539"},"map_files_photo_id_array":[{"photo_id":"1401928544","filename":"file5"},{"photo_id":"1401928537","filename":"file2"},{"photo_id":"1401928541","filename":"file4"},{"photo_id":"1401928535","filename":"file1"},{"photo_id":"1401928533","filename":"file0"},{"photo_id":"1401928539","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928539":["hashtag1","hashtag2"]},{"1401928533":["hashtag1","hashtag2"]},{"1401928544":["hashtag1","hashtag2"]},{"1401928541":["hashtag1","hashtag2"]},{"1401928535":["hashtag1","hashtag2"]},{"1401928537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928539, 1401928533, 1401928544, 1401928541, 1401928535, 1401928537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74900245666504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:21:03.449802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_36_10647.jpg', '/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_46_9820.jpg', '/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_55_9658.jpg', '/home/pi/Desktop/images/31122025/19/54/image_31122025_19_55_06_10835.jpg', '/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_16_9750.jpg', '/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_26_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_36_10647.jpg
/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_46_9820.jpg
/home/pi/Desktop/images/31122025/19/54/image_31122025_19_54_55_9658.jpg
/home/pi/Desktop/images/31122025/19/54/image_31122025_19_55_06_10835.jpg
/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_16_9750.jpg
/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_26_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928551","1401928550","1401928553","1401928547","1401928546","1401928549"],"photo_ids_order":["1401928546","1401928547","1401928549","1401928550","1401928551","1401928553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6636ed04de47860fe18df08497e39b93.jpg","text":"TemporaryFile(/tmp/multipartBody7136897027430566206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208924096,"filename":"image_31122025_19_55_16_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4048e7b4bcbb8efa1228e187f34f982.jpg","text":"TemporaryFile(/tmp/multipartBody6402002671870842118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208924096,"filename":"image_31122025_19_55_06_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51f68d7b91fcfac1f1b7fe5bf1c61e31.jpg","text":"TemporaryFile(/tmp/multipartBody178313137628468494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208924096,"filename":"image_31122025_19_55_26_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d7eb06c35e83cbf50d1a3fec022e77a.jpg","text":"TemporaryFile(/tmp/multipartBody173413899887099981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208924096,"filename":"image_31122025_19_54_46_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6740aa73ee78388fa6d8f647cff46662.jpg","text":"TemporaryFile(/tmp/multipartBody5273054405481403034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208924096,"filename":"image_31122025_19_54_36_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b8e575d5195f326f8acd07b2aea6c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1707122572157099734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208924096,"filename":"image_31122025_19_54_55_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928549","file1":"1401928547","file0":"1401928546","file4":"1401928551","file5":"1401928553","file3":"1401928550"},"map_files_photo_id_array":[{"photo_id":"1401928553","filename":"file5"},{"photo_id":"1401928549","filename":"file2"},{"photo_id":"1401928551","filename":"file4"},{"photo_id":"1401928547","filename":"file1"},{"photo_id":"1401928546","filename":"file0"},{"photo_id":"1401928550","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928551":["hashtag1","hashtag2"]},{"1401928550":["hashtag1","hashtag2"]},{"1401928553":["hashtag1","hashtag2"]},{"1401928547":["hashtag1","hashtag2"]},{"1401928546":["hashtag1","hashtag2"]},{"1401928549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928551, 1401928550, 1401928553, 1401928547, 1401928546, 1401928549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89803147315979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:21:42.825387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_48_1500.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_50_1658.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_53_1620.jpg', '/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_55_1660.jpg', '/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_11_16238.jpg', '/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_16_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_48_1500.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_50_1658.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_53_1620.jpg
/home/pi/Desktop/images/03112025/20/12/image_03112025_20_12_55_1660.jpg
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_11_16238.jpg
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_16_1660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928560","1401928563","1401928565","1401928564","1401928567","1401928566"],"photo_ids_order":["1401928560","1401928563","1401928564","1401928565","1401928566","1401928567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b7979950c320e41b6ab4c3df5f5182a.jpg","text":"TemporaryFile(/tmp/multipartBody7417125862448833582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208964648,"filename":"image_03112025_20_12_48_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08d0a0709380cd77f409c56e49d7d920.jpg","text":"TemporaryFile(/tmp/multipartBody5756845489066857899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208964648,"filename":"image_03112025_20_12_50_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/373471ecbed823109d204420e0b931fd.jpg","text":"TemporaryFile(/tmp/multipartBody7545800743502377567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208964648,"filename":"image_03112025_20_12_55_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ea40f785a1ea15288bca0e2306fbf35.jpg","text":"TemporaryFile(/tmp/multipartBody1911694279851530651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208964648,"filename":"image_03112025_20_12_53_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f32e61ca5e169f8d41c4993eff65084.jpg","text":"TemporaryFile(/tmp/multipartBody5836675932638357064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208964648,"filename":"image_03112025_20_13_16_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6cb693c090c642c63093a757d0ab7e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2839253541857390617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767208964648,"filename":"image_03112025_20_13_11_16238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928564","file1":"1401928563","file0":"1401928560","file4":"1401928566","file5":"1401928567","file3":"1401928565"},"map_files_photo_id_array":[{"photo_id":"1401928567","filename":"file5"},{"photo_id":"1401928564","filename":"file2"},{"photo_id":"1401928566","filename":"file4"},{"photo_id":"1401928563","filename":"file1"},{"photo_id":"1401928560","filename":"file0"},{"photo_id":"1401928565","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928560":["hashtag1","hashtag2"]},{"1401928563":["hashtag1","hashtag2"]},{"1401928565":["hashtag1","hashtag2"]},{"1401928564":["hashtag1","hashtag2"]},{"1401928567":["hashtag1","hashtag2"]},{"1401928566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928560, 1401928563, 1401928565, 1401928564, 1401928567, 1401928566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36665606498718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:22:21.983154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_35_9635.jpg', '/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_46_10674.jpg', '/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_56_9756.jpg', '/home/pi/Desktop/images/31122025/19/55/image_31122025_19_56_05_9694.jpg', '/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_16_10821.jpg', '/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_26_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_35_9635.jpg
/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_46_10674.jpg
/home/pi/Desktop/images/31122025/19/55/image_31122025_19_55_56_9756.jpg
/home/pi/Desktop/images/31122025/19/55/image_31122025_19_56_05_9694.jpg
/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_16_10821.jpg
/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_26_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928581","1401928571","1401928574","1401928576","1401928578","1401928572"],"photo_ids_order":["1401928571","1401928572","1401928574","1401928576","1401928578","1401928581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6592fc43866de81cfaa456c631c5b902.jpg","text":"TemporaryFile(/tmp/multipartBody5450975917381007172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209002576,"filename":"image_31122025_19_56_26_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e47ac989d356514c029708b1e74007d.jpg","text":"TemporaryFile(/tmp/multipartBody5916060672186173653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209002576,"filename":"image_31122025_19_55_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4456572c8f4fcf57ddbb9adc91aecb0.jpg","text":"TemporaryFile(/tmp/multipartBody8675671011708813133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209002576,"filename":"image_31122025_19_55_56_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c287244072ab0dc5b0f54a3900e336b5.jpg","text":"TemporaryFile(/tmp/multipartBody5998622751784973138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209002576,"filename":"image_31122025_19_56_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7c7d60658f2ba07aa9badcd38a410f7.jpg","text":"TemporaryFile(/tmp/multipartBody2477848362669793649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209002576,"filename":"image_31122025_19_56_16_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4d7dee95bfff1a5b0cb13c4ece061c3.jpg","text":"TemporaryFile(/tmp/multipartBody7237673844910399453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209002576,"filename":"image_31122025_19_55_46_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928574","file1":"1401928572","file0":"1401928571","file4":"1401928578","file5":"1401928581","file3":"1401928576"},"map_files_photo_id_array":[{"photo_id":"1401928581","filename":"file5"},{"photo_id":"1401928574","filename":"file2"},{"photo_id":"1401928578","filename":"file4"},{"photo_id":"1401928572","filename":"file1"},{"photo_id":"1401928571","filename":"file0"},{"photo_id":"1401928576","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928581":["hashtag1","hashtag2"]},{"1401928571":["hashtag1","hashtag2"]},{"1401928574":["hashtag1","hashtag2"]},{"1401928576":["hashtag1","hashtag2"]},{"1401928578":["hashtag1","hashtag2"]},{"1401928572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928581, 1401928571, 1401928574, 1401928576, 1401928578, 1401928572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.503502368927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:23:02.953104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_36_9650.jpg', '/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_46_10518.jpg', '/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_56_9677.jpg', '/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_15_9630.jpg', '/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_26_10676.jpg', '/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_35_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_36_9650.jpg
/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_46_10518.jpg
/home/pi/Desktop/images/31122025/19/56/image_31122025_19_56_56_9677.jpg
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_15_9630.jpg
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_26_10676.jpg
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_35_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928583","1401928586","1401928591","1401928588","1401928585","1401928584"],"photo_ids_order":["1401928583","1401928584","1401928585","1401928586","1401928588","1401928591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b886603958bb80bb74c93f043f51c873.jpg","text":"TemporaryFile(/tmp/multipartBody4768853027516039895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209043612,"filename":"image_31122025_19_56_36_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7096b4039b71b19bd1ba7ac2ef4587e0.jpg","text":"TemporaryFile(/tmp/multipartBody3196718161573067882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209043612,"filename":"image_31122025_19_57_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/553684204957bc4125e2b47851ba0647.jpg","text":"TemporaryFile(/tmp/multipartBody8494891367754723068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209043612,"filename":"image_31122025_19_57_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6e987b90cb0d735ccca53617f9caa7f.jpg","text":"TemporaryFile(/tmp/multipartBody2326382597547137164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209043612,"filename":"image_31122025_19_57_26_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6019d09be0b17898117ec52714de177.jpg","text":"TemporaryFile(/tmp/multipartBody1835851625906366567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209043612,"filename":"image_31122025_19_56_56_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ac2782cb82e402f322a2e8a922daa88.jpg","text":"TemporaryFile(/tmp/multipartBody9219287430257609946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209043612,"filename":"image_31122025_19_56_46_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928585","file1":"1401928584","file0":"1401928583","file4":"1401928588","file5":"1401928591","file3":"1401928586"},"map_files_photo_id_array":[{"photo_id":"1401928591","filename":"file5"},{"photo_id":"1401928585","filename":"file2"},{"photo_id":"1401928588","filename":"file4"},{"photo_id":"1401928584","filename":"file1"},{"photo_id":"1401928583","filename":"file0"},{"photo_id":"1401928586","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928583":["hashtag1","hashtag2"]},{"1401928586":["hashtag1","hashtag2"]},{"1401928591":["hashtag1","hashtag2"]},{"1401928588":["hashtag1","hashtag2"]},{"1401928585":["hashtag1","hashtag2"]},{"1401928584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928583, 1401928586, 1401928591, 1401928588, 1401928585, 1401928584)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.57944178581238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:24:06.128615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_46_10695.jpg', '/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_56_9910.jpg', '/home/pi/Desktop/images/31122025/19/57/image_31122025_19_58_06_9866.jpg', '/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_36_9591.jpg', '/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_45_9784.jpg', '/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_56_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_46_10695.jpg
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_56_9910.jpg
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_58_06_9866.jpg
/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_36_9591.jpg
/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_45_9784.jpg
/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_56_10549.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.49189329147338867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:24:13.180511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_35_18485.jpg', '/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_39_1593.jpg', '/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_41_1616.jpg', '/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_44_1597.jpg', '/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_48_1659.jpg', '/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_49_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_35_18485.jpg
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_39_1593.jpg
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_41_1616.jpg
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_44_1597.jpg
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_48_1659.jpg
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_49_1615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928614","1401928607","1401928601","1401928610","1401928604","1401928612"],"photo_ids_order":["1401928601","1401928604","1401928607","1401928610","1401928612","1401928614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83c60496a4b8193a4616adaac7ef363f.jpg","text":"TemporaryFile(/tmp/multipartBody3655849608512423715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209114890,"filename":"image_03112025_20_13_49_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3eeaf2878ac5d7acd6f875454a2b3fba.jpg","text":"TemporaryFile(/tmp/multipartBody712739446975444827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209114890,"filename":"image_03112025_20_13_41_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/450bb1b18e4d167cb848156c30b10b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3381765862233620253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209114890,"filename":"image_03112025_20_13_35_18485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/200e7da6189f4c5458ddba4b522a28a3.jpg","text":"TemporaryFile(/tmp/multipartBody2442837317632107041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209114890,"filename":"image_03112025_20_13_44_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/24df72df50e75091479e6ea4d4f69a25.jpg","text":"TemporaryFile(/tmp/multipartBody726099647985951774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209114890,"filename":"image_03112025_20_13_39_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8516eb2e65746bba4cb674353bd8bccb.jpg","text":"TemporaryFile(/tmp/multipartBody6860044051727128608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209114890,"filename":"image_03112025_20_13_48_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928607","file1":"1401928604","file0":"1401928601","file4":"1401928612","file5":"1401928614","file3":"1401928610"},"map_files_photo_id_array":[{"photo_id":"1401928614","filename":"file5"},{"photo_id":"1401928607","filename":"file2"},{"photo_id":"1401928612","filename":"file4"},{"photo_id":"1401928604","filename":"file1"},{"photo_id":"1401928601","filename":"file0"},{"photo_id":"1401928610","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928614":["hashtag1","hashtag2"]},{"1401928607":["hashtag1","hashtag2"]},{"1401928601":["hashtag1","hashtag2"]},{"1401928610":["hashtag1","hashtag2"]},{"1401928604":["hashtag1","hashtag2"]},{"1401928612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928614, 1401928607, 1401928601, 1401928610, 1401928604, 1401928612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84994029998779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:25:02.890227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_46_10695.jpg', '/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_56_9910.jpg', '/home/pi/Desktop/images/31122025/19/57/image_31122025_19_58_06_9866.jpg', '/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_36_9591.jpg', '/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_45_9784.jpg', '/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_56_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_46_10695.jpg
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_57_56_9910.jpg
/home/pi/Desktop/images/31122025/19/57/image_31122025_19_58_06_9866.jpg
/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_36_9591.jpg
/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_45_9784.jpg
/home/pi/Desktop/images/31122025/19/58/image_31122025_19_58_56_10549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928620","1401928625","1401928622","1401928619","1401928618","1401928627"],"photo_ids_order":["1401928618","1401928619","1401928620","1401928622","1401928625","1401928627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1010e714badd22ff4a62001c98d46e08.jpg","text":"TemporaryFile(/tmp/multipartBody7634544038474303841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209163541,"filename":"image_31122025_19_58_06_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60142ee9acd0c70a0c99534854d5fb30.jpg","text":"TemporaryFile(/tmp/multipartBody7035186068581218894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209163541,"filename":"image_31122025_19_58_45_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d844336b20e6d2a4ed2ebf9a28773b34.jpg","text":"TemporaryFile(/tmp/multipartBody936076784959596273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209163541,"filename":"image_31122025_19_58_36_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c6b14c4744dc697888f532d96cbab92.jpg","text":"TemporaryFile(/tmp/multipartBody5994819611947829681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209163541,"filename":"image_31122025_19_57_56_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/940a49155571bc03131cdb201cd774fc.jpg","text":"TemporaryFile(/tmp/multipartBody7152867601920814720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209163541,"filename":"image_31122025_19_57_46_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/253194495a61233931306f8434189dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1143067692462652739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209163541,"filename":"image_31122025_19_58_56_10549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928620","file1":"1401928619","file0":"1401928618","file4":"1401928625","file5":"1401928627","file3":"1401928622"},"map_files_photo_id_array":[{"photo_id":"1401928627","filename":"file5"},{"photo_id":"1401928620","filename":"file2"},{"photo_id":"1401928625","filename":"file4"},{"photo_id":"1401928619","filename":"file1"},{"photo_id":"1401928618","filename":"file0"},{"photo_id":"1401928622","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928620":["hashtag1","hashtag2"]},{"1401928625":["hashtag1","hashtag2"]},{"1401928622":["hashtag1","hashtag2"]},{"1401928619":["hashtag1","hashtag2"]},{"1401928618":["hashtag1","hashtag2"]},{"1401928627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928620, 1401928625, 1401928622, 1401928619, 1401928618, 1401928627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21686410903931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:26:02.893264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/19/58/image_31122025_19_59_06_9806.jpg', '/home/pi/Desktop/images/31122025/19/59/image_31122025_19_59_15_9577.jpg', '/home/pi/Desktop/images/31122025/19/59/image_31122025_19_59_26_10642.jpg', '/home/pi/Desktop/images/31122025/19/59/image_31122025_19_59_36_9761.jpg', '/home/pi/Desktop/images/31122025/19/59/image_31122025_19_59_55_9786.jpg', '/home/pi/Desktop/images/31122025/19/59/image_31122025_20_00_06_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/19/58/image_31122025_19_59_06_9806.jpg
/home/pi/Desktop/images/31122025/19/59/image_31122025_19_59_15_9577.jpg
/home/pi/Desktop/images/31122025/19/59/image_31122025_19_59_26_10642.jpg
/home/pi/Desktop/images/31122025/19/59/image_31122025_19_59_36_9761.jpg
/home/pi/Desktop/images/31122025/19/59/image_31122025_19_59_55_9786.jpg
/home/pi/Desktop/images/31122025/19/59/image_31122025_20_00_06_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928641","1401928635","1401928638","1401928640","1401928634","1401928636"],"photo_ids_order":["1401928634","1401928635","1401928636","1401928638","1401928640","1401928641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5aa5d2c0d614f606146ae7477d0bfe3d.jpg","text":"TemporaryFile(/tmp/multipartBody5445831799720110116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209223520,"filename":"image_31122025_20_00_06_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2df95c49171abf117f8fc2c497ff7d43.jpg","text":"TemporaryFile(/tmp/multipartBody6410297347632464469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209223520,"filename":"image_31122025_19_59_15_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2707923165aa216a14dc90e8e1947288.jpg","text":"TemporaryFile(/tmp/multipartBody1525600096518440834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209223520,"filename":"image_31122025_19_59_36_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42f93f86d1482d85ed751da2337d42d4.jpg","text":"TemporaryFile(/tmp/multipartBody4905601749386607943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209223520,"filename":"image_31122025_19_59_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b1e7d5c7cd30286b9433ef81945d200.jpg","text":"TemporaryFile(/tmp/multipartBody7463316905544945645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209223520,"filename":"image_31122025_19_59_06_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18e7c64a0729c30d4efec3295a9da353.jpg","text":"TemporaryFile(/tmp/multipartBody2587172720771496248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209223520,"filename":"image_31122025_19_59_26_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928636","file1":"1401928635","file0":"1401928634","file4":"1401928640","file5":"1401928641","file3":"1401928638"},"map_files_photo_id_array":[{"photo_id":"1401928641","filename":"file5"},{"photo_id":"1401928636","filename":"file2"},{"photo_id":"1401928640","filename":"file4"},{"photo_id":"1401928635","filename":"file1"},{"photo_id":"1401928634","filename":"file0"},{"photo_id":"1401928638","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928641":["hashtag1","hashtag2"]},{"1401928635":["hashtag1","hashtag2"]},{"1401928638":["hashtag1","hashtag2"]},{"1401928640":["hashtag1","hashtag2"]},{"1401928634":["hashtag1","hashtag2"]},{"1401928636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928641, 1401928635, 1401928638, 1401928640, 1401928634, 1401928636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93559789657593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:26:42.511981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_51_1654.jpg', '/home/pi/Desktop/images/03112025/20/14/image_03112025_20_14_13_5127.jpg', '/home/pi/Desktop/images/03112025/20/14/image_03112025_20_14_14_1569.jpg', '/home/pi/Desktop/images/03112025/20/14/image_03112025_20_14_24_10108.jpg', '/home/pi/Desktop/images/03112025/20/14/image_03112025_20_14_48_23285.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_02_13271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/13/image_03112025_20_13_51_1654.jpg
/home/pi/Desktop/images/03112025/20/14/image_03112025_20_14_13_5127.jpg
/home/pi/Desktop/images/03112025/20/14/image_03112025_20_14_14_1569.jpg
/home/pi/Desktop/images/03112025/20/14/image_03112025_20_14_24_10108.jpg
/home/pi/Desktop/images/03112025/20/14/image_03112025_20_14_48_23285.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_02_13271.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928656","1401928650","1401928652","1401928654","1401928657","1401928648"],"photo_ids_order":["1401928648","1401928650","1401928652","1401928654","1401928656","1401928657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ec107a81d44f33647cf69e4d1bf37bd.jpg","text":"TemporaryFile(/tmp/multipartBody516994885441503653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209264365,"filename":"image_03112025_20_14_48_23285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15da47b58154f48b9433fc515bf9a53b.jpg","text":"TemporaryFile(/tmp/multipartBody7497899591923637680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209264365,"filename":"image_03112025_20_14_13_5127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1110fa946e93ec3c9ea002a7be3d977c.jpg","text":"TemporaryFile(/tmp/multipartBody999251587749880980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209264365,"filename":"image_03112025_20_14_14_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/171c9c21e8b886be8ac46e6829f38578.jpg","text":"TemporaryFile(/tmp/multipartBody4943782781216714091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209264365,"filename":"image_03112025_20_14_24_10108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd30584230daf53fc7c026f7f9865718.jpg","text":"TemporaryFile(/tmp/multipartBody7401145233070939913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209264365,"filename":"image_03112025_20_15_02_13271.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70a524b13ae5bdf6961cbaafb579cc2f.jpg","text":"TemporaryFile(/tmp/multipartBody9064010433168908790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209264365,"filename":"image_03112025_20_13_51_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928652","file1":"1401928650","file0":"1401928648","file4":"1401928656","file5":"1401928657","file3":"1401928654"},"map_files_photo_id_array":[{"photo_id":"1401928657","filename":"file5"},{"photo_id":"1401928652","filename":"file2"},{"photo_id":"1401928656","filename":"file4"},{"photo_id":"1401928650","filename":"file1"},{"photo_id":"1401928648","filename":"file0"},{"photo_id":"1401928654","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928656":["hashtag1","hashtag2"]},{"1401928650":["hashtag1","hashtag2"]},{"1401928652":["hashtag1","hashtag2"]},{"1401928654":["hashtag1","hashtag2"]},{"1401928657":["hashtag1","hashtag2"]},{"1401928648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928656, 1401928650, 1401928652, 1401928654, 1401928657, 1401928648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19585371017456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:27:22.804695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_16_9673.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_25_9872.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_35_9732.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_46_10625.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_56_9694.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_01_06_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_16_9673.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_25_9872.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_35_9732.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_46_10625.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_56_9694.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_01_06_10636.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4803121089935303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:27:32.740379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_06_1710.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_13_1637.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_16_1595.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_21_1636.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_22_1557.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_28_6073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_06_1710.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_13_1637.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_16_1595.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_21_1636.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_22_1557.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_28_6073.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928674","1401928676","1401928664","1401928667","1401928675","1401928671"],"photo_ids_order":["1401928664","1401928667","1401928671","1401928674","1401928675","1401928676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed2002aad37f23ec99426dab59a3cdd8.jpg","text":"TemporaryFile(/tmp/multipartBody3694729010862888346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209314595,"filename":"image_03112025_20_15_21_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60b021b0203f842f902677be7c9f5b7c.jpg","text":"TemporaryFile(/tmp/multipartBody3500025683031475581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209314595,"filename":"image_03112025_20_15_28_6073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/525feeb3dcf2bf353b022854ec6ff9aa.jpg","text":"TemporaryFile(/tmp/multipartBody6727953883114692548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209314595,"filename":"image_03112025_20_15_06_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a1f056228e7f14a24ca7c6ea0bc36a7.jpg","text":"TemporaryFile(/tmp/multipartBody4752718362716914965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209314595,"filename":"image_03112025_20_15_13_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cfafbaaf0c1ce4d0c5082abf6e00736c.jpg","text":"TemporaryFile(/tmp/multipartBody6886360243055552733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209314595,"filename":"image_03112025_20_15_22_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df397f4e162e07de15196a0742d2fea5.jpg","text":"TemporaryFile(/tmp/multipartBody2246504770501127621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209314595,"filename":"image_03112025_20_15_16_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928671","file1":"1401928667","file0":"1401928664","file4":"1401928675","file5":"1401928676","file3":"1401928674"},"map_files_photo_id_array":[{"photo_id":"1401928676","filename":"file5"},{"photo_id":"1401928671","filename":"file2"},{"photo_id":"1401928675","filename":"file4"},{"photo_id":"1401928667","filename":"file1"},{"photo_id":"1401928664","filename":"file0"},{"photo_id":"1401928674","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928674":["hashtag1","hashtag2"]},{"1401928676":["hashtag1","hashtag2"]},{"1401928664":["hashtag1","hashtag2"]},{"1401928667":["hashtag1","hashtag2"]},{"1401928675":["hashtag1","hashtag2"]},{"1401928671":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928674, 1401928676, 1401928664, 1401928667, 1401928675, 1401928671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48572278022766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:28:11.924353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_30_1690.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_32_1672.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_33_1783.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_39_1774.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_46_6000.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_48_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_30_1690.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_32_1672.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_33_1783.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_39_1774.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_46_6000.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_48_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928685","1401928679","1401928681","1401928678","1401928683","1401928677"],"photo_ids_order":["1401928677","1401928678","1401928679","1401928681","1401928683","1401928685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d492a656ab1eb148d5437f0404a6230.jpg","text":"TemporaryFile(/tmp/multipartBody8700317155693178845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209353627,"filename":"image_03112025_20_15_48_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fffecfb86ce16f9f4c510af5493ad487.jpg","text":"TemporaryFile(/tmp/multipartBody6988249591928268575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209353627,"filename":"image_03112025_20_15_33_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d7c9df9c8b2ae08100578c5ee767879.jpg","text":"TemporaryFile(/tmp/multipartBody6614618978963681006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209353627,"filename":"image_03112025_20_15_39_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d168f2593356634fd3ab38a1a86e362.jpg","text":"TemporaryFile(/tmp/multipartBody2742829815499267407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209353627,"filename":"image_03112025_20_15_32_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0b2a212c59004beabfb639eedaa479b.jpg","text":"TemporaryFile(/tmp/multipartBody9104450918058273650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209353627,"filename":"image_03112025_20_15_46_6000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7584db3ba4b683297c66dfcf4195fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3992887050203392137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209353627,"filename":"image_03112025_20_15_30_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928679","file1":"1401928678","file0":"1401928677","file4":"1401928683","file5":"1401928685","file3":"1401928681"},"map_files_photo_id_array":[{"photo_id":"1401928685","filename":"file5"},{"photo_id":"1401928679","filename":"file2"},{"photo_id":"1401928683","filename":"file4"},{"photo_id":"1401928678","filename":"file1"},{"photo_id":"1401928677","filename":"file0"},{"photo_id":"1401928681","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928685":["hashtag1","hashtag2"]},{"1401928679":["hashtag1","hashtag2"]},{"1401928681":["hashtag1","hashtag2"]},{"1401928678":["hashtag1","hashtag2"]},{"1401928683":["hashtag1","hashtag2"]},{"1401928677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928685, 1401928679, 1401928681, 1401928678, 1401928683, 1401928677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.758710861206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:29:03.047894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_16_9673.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_25_9872.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_35_9732.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_46_10625.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_56_9694.jpg', '/home/pi/Desktop/images/31122025/20/00/image_31122025_20_01_06_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_16_9673.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_25_9872.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_35_9732.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_46_10625.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_00_56_9694.jpg
/home/pi/Desktop/images/31122025/20/00/image_31122025_20_01_06_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928689","1401928691","1401928690","1401928693","1401928695","1401928698"],"photo_ids_order":["1401928689","1401928690","1401928691","1401928693","1401928695","1401928698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a4bb37f5df279575a526073abb2de172.jpg","text":"TemporaryFile(/tmp/multipartBody5879546436842380601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209403779,"filename":"image_31122025_20_00_16_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70c9d4c249b6a8cc91d8cbc348fcd398.jpg","text":"TemporaryFile(/tmp/multipartBody4921113835897109312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209403779,"filename":"image_31122025_20_00_35_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5a6bd665752d51f7bf183aaf61ff96c.jpg","text":"TemporaryFile(/tmp/multipartBody2972722266218773289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209403779,"filename":"image_31122025_20_00_25_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbf56d665154a9e46d0ea2167ab4b7c3.jpg","text":"TemporaryFile(/tmp/multipartBody6000374987138374196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209403779,"filename":"image_31122025_20_00_46_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b56da2cc5c46301020a6c818b97a5025.jpg","text":"TemporaryFile(/tmp/multipartBody2952250923479815972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209403779,"filename":"image_31122025_20_00_56_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca59b7d74fbdd210db69026d350267f1.jpg","text":"TemporaryFile(/tmp/multipartBody8529520618820424798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209403779,"filename":"image_31122025_20_01_06_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928691","file1":"1401928690","file0":"1401928689","file4":"1401928695","file5":"1401928698","file3":"1401928693"},"map_files_photo_id_array":[{"photo_id":"1401928698","filename":"file5"},{"photo_id":"1401928691","filename":"file2"},{"photo_id":"1401928695","filename":"file4"},{"photo_id":"1401928690","filename":"file1"},{"photo_id":"1401928689","filename":"file0"},{"photo_id":"1401928693","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928689":["hashtag1","hashtag2"]},{"1401928691":["hashtag1","hashtag2"]},{"1401928690":["hashtag1","hashtag2"]},{"1401928693":["hashtag1","hashtag2"]},{"1401928695":["hashtag1","hashtag2"]},{"1401928698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928689, 1401928691, 1401928690, 1401928693, 1401928695, 1401928698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.136011838912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:29:42.228869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_51_1649.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_54_1690.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_56_1693.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_58_1665.jpg', '/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_59_1607.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_01_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_51_1649.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_54_1690.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_56_1693.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_58_1665.jpg
/home/pi/Desktop/images/03112025/20/15/image_03112025_20_15_59_1607.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_01_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928719","1401928710","1401928706","1401928715","1401928709","1401928717"],"photo_ids_order":["1401928706","1401928709","1401928710","1401928715","1401928717","1401928719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/109518a9984f7bd252fad259d5acd73d.jpg","text":"TemporaryFile(/tmp/multipartBody6325521099378662437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209444051,"filename":"image_03112025_20_16_01_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85ea7ab338e24a293a75df5229060aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4388763836898752009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209444051,"filename":"image_03112025_20_15_56_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b686f37fc6c00e123cc8935eee6155fa.jpg","text":"TemporaryFile(/tmp/multipartBody4430290409440430646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209444051,"filename":"image_03112025_20_15_51_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60422f15b03456babdd50ef981661c13.jpg","text":"TemporaryFile(/tmp/multipartBody6381353811275804844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209444051,"filename":"image_03112025_20_15_58_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a58ee4ace701f1b2a0b2bdff4a049af3.jpg","text":"TemporaryFile(/tmp/multipartBody6319908046537661276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209444051,"filename":"image_03112025_20_15_54_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/30d540029b21807e4a3bd214cbc3f7af.jpg","text":"TemporaryFile(/tmp/multipartBody1986079471905891411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209444051,"filename":"image_03112025_20_15_59_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928710","file1":"1401928709","file0":"1401928706","file4":"1401928717","file5":"1401928719","file3":"1401928715"},"map_files_photo_id_array":[{"photo_id":"1401928719","filename":"file5"},{"photo_id":"1401928710","filename":"file2"},{"photo_id":"1401928717","filename":"file4"},{"photo_id":"1401928709","filename":"file1"},{"photo_id":"1401928706","filename":"file0"},{"photo_id":"1401928715","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928719":["hashtag1","hashtag2"]},{"1401928710":["hashtag1","hashtag2"]},{"1401928706":["hashtag1","hashtag2"]},{"1401928715":["hashtag1","hashtag2"]},{"1401928709":["hashtag1","hashtag2"]},{"1401928717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928719, 1401928710, 1401928706, 1401928715, 1401928709, 1401928717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.26005673408508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:31:03.322484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_16_9577.jpg', '/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_26_9781.jpg', '/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_35_9723.jpg', '/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_46_10696.jpg', '/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_55_9528.jpg', '/home/pi/Desktop/images/31122025/20/01/image_31122025_20_02_06_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_16_9577.jpg
/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_26_9781.jpg
/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_35_9723.jpg
/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_46_10696.jpg
/home/pi/Desktop/images/31122025/20/01/image_31122025_20_01_55_9528.jpg
/home/pi/Desktop/images/31122025/20/01/image_31122025_20_02_06_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928731","1401928725","1401928724","1401928727","1401928726","1401928729"],"photo_ids_order":["1401928724","1401928725","1401928726","1401928727","1401928729","1401928731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9ccd0efaba636aa96e099941493ff78.jpg","text":"TemporaryFile(/tmp/multipartBody3859644526745301775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209524005,"filename":"image_31122025_20_02_06_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea5eaa4e3b57054e5b18e867d60d0e3d.jpg","text":"TemporaryFile(/tmp/multipartBody3199580797399143421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209524005,"filename":"image_31122025_20_01_26_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bedc383080ec0fe971c0e0d218139da.jpg","text":"TemporaryFile(/tmp/multipartBody9116516180503399682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209524005,"filename":"image_31122025_20_01_16_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67b7966b455a662bdc79f7cdca300fe0.jpg","text":"TemporaryFile(/tmp/multipartBody6445623399627108566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209524005,"filename":"image_31122025_20_01_46_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bbd28069a1d1618cf8eb67623f0e876.jpg","text":"TemporaryFile(/tmp/multipartBody3135846768079006228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209524005,"filename":"image_31122025_20_01_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/375abeabd037c302597330e888f4b045.jpg","text":"TemporaryFile(/tmp/multipartBody7214918355701786266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209524005,"filename":"image_31122025_20_01_55_9528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928726","file1":"1401928725","file0":"1401928724","file4":"1401928729","file5":"1401928731","file3":"1401928727"},"map_files_photo_id_array":[{"photo_id":"1401928731","filename":"file5"},{"photo_id":"1401928726","filename":"file2"},{"photo_id":"1401928729","filename":"file4"},{"photo_id":"1401928725","filename":"file1"},{"photo_id":"1401928724","filename":"file0"},{"photo_id":"1401928727","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928731":["hashtag1","hashtag2"]},{"1401928725":["hashtag1","hashtag2"]},{"1401928724":["hashtag1","hashtag2"]},{"1401928727":["hashtag1","hashtag2"]},{"1401928726":["hashtag1","hashtag2"]},{"1401928729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928731, 1401928725, 1401928724, 1401928727, 1401928726, 1401928729)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.54952549934387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:32:03.167759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/02/image_31122025_20_02_16_9652.jpg', '/home/pi/Desktop/images/31122025/20/02/image_31122025_20_02_25_9544.jpg', '/home/pi/Desktop/images/31122025/20/02/image_31122025_20_02_45_9579.jpg', '/home/pi/Desktop/images/31122025/20/02/image_31122025_20_02_56_10703.jpg', '/home/pi/Desktop/images/31122025/20/02/image_31122025_20_03_06_9775.jpg', '/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_16_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/02/image_31122025_20_02_16_9652.jpg
/home/pi/Desktop/images/31122025/20/02/image_31122025_20_02_25_9544.jpg
/home/pi/Desktop/images/31122025/20/02/image_31122025_20_02_45_9579.jpg
/home/pi/Desktop/images/31122025/20/02/image_31122025_20_02_56_10703.jpg
/home/pi/Desktop/images/31122025/20/02/image_31122025_20_03_06_9775.jpg
/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_16_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928740","1401928743","1401928737","1401928739","1401928741","1401928738"],"photo_ids_order":["1401928737","1401928738","1401928739","1401928740","1401928741","1401928743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a449997b32c05cea15206c5a7cf1d304.jpg","text":"TemporaryFile(/tmp/multipartBody1831292114504819473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209583844,"filename":"image_31122025_20_02_56_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2632640ed08df2b0db67e9ce5db07cff.jpg","text":"TemporaryFile(/tmp/multipartBody6940049504308154970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209583844,"filename":"image_31122025_20_03_16_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef994d3d4b95828d3ea85d08468db82f.jpg","text":"TemporaryFile(/tmp/multipartBody8085770640854959432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209583844,"filename":"image_31122025_20_02_16_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e28b3f3b6f2c26a5c962587131e0f95a.jpg","text":"TemporaryFile(/tmp/multipartBody7241852261512485716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209583844,"filename":"image_31122025_20_02_45_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/476815c368370338bf1be21016d5c28a.jpg","text":"TemporaryFile(/tmp/multipartBody3011994010204896601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209583844,"filename":"image_31122025_20_03_06_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd1e817bee062421b0e1b18fa81cd269.jpg","text":"TemporaryFile(/tmp/multipartBody3447432553989207641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209583844,"filename":"image_31122025_20_02_25_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928739","file1":"1401928738","file0":"1401928737","file4":"1401928741","file5":"1401928743","file3":"1401928740"},"map_files_photo_id_array":[{"photo_id":"1401928743","filename":"file5"},{"photo_id":"1401928739","filename":"file2"},{"photo_id":"1401928741","filename":"file4"},{"photo_id":"1401928738","filename":"file1"},{"photo_id":"1401928737","filename":"file0"},{"photo_id":"1401928740","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928740":["hashtag1","hashtag2"]},{"1401928743":["hashtag1","hashtag2"]},{"1401928737":["hashtag1","hashtag2"]},{"1401928739":["hashtag1","hashtag2"]},{"1401928741":["hashtag1","hashtag2"]},{"1401928738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928740, 1401928743, 1401928737, 1401928739, 1401928741, 1401928738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88258337974548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:32:42.625424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_04_1599.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_08_1494.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_16_1586.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_26_9850.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_40_14567.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_50_9246.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_04_1599.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_08_1494.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_16_1586.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_26_9850.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_40_14567.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_50_9246.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928752","1401928755","1401928749","1401928751","1401928754","1401928753"],"photo_ids_order":["1401928749","1401928751","1401928752","1401928753","1401928754","1401928755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84e9780af9c8746f285c3543f2a3447c.jpg","text":"TemporaryFile(/tmp/multipartBody354102373566074912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209624373,"filename":"image_03112025_20_16_16_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/daefce02b539f4e48a01e7af25c71034.jpg","text":"TemporaryFile(/tmp/multipartBody4458181373559855647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209624373,"filename":"image_03112025_20_16_50_9246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96ae67ca8c31f0e894788ae7999f618f.jpg","text":"TemporaryFile(/tmp/multipartBody1688928122052687842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209624373,"filename":"image_03112025_20_16_04_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/690476d513097e9ab32674df9339b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2577775374743308597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209624373,"filename":"image_03112025_20_16_08_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4bdeff92c5e70a95ff7c850091080b9.jpg","text":"TemporaryFile(/tmp/multipartBody6423355342641747712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209624373,"filename":"image_03112025_20_16_40_14567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3928bff1968371602d8aa8ff99d90d3.jpg","text":"TemporaryFile(/tmp/multipartBody6910296868511027389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209624373,"filename":"image_03112025_20_16_26_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928752","file1":"1401928751","file0":"1401928749","file4":"1401928754","file5":"1401928755","file3":"1401928753"},"map_files_photo_id_array":[{"photo_id":"1401928755","filename":"file5"},{"photo_id":"1401928752","filename":"file2"},{"photo_id":"1401928754","filename":"file4"},{"photo_id":"1401928751","filename":"file1"},{"photo_id":"1401928749","filename":"file0"},{"photo_id":"1401928753","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928752":["hashtag1","hashtag2"]},{"1401928755":["hashtag1","hashtag2"]},{"1401928749":["hashtag1","hashtag2"]},{"1401928751":["hashtag1","hashtag2"]},{"1401928754":["hashtag1","hashtag2"]},{"1401928753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928752, 1401928755, 1401928749, 1401928751, 1401928754, 1401928753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04050874710083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:33:21.814701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_25_9703.jpg', '/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_36_10548.jpg', '/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_46_9688.jpg', '/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_55_9599.jpg', '/home/pi/Desktop/images/31122025/20/03/image_31122025_20_04_06_10566.jpg', '/home/pi/Desktop/images/31122025/20/04/image_31122025_20_04_15_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_25_9703.jpg
/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_36_10548.jpg
/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_46_9688.jpg
/home/pi/Desktop/images/31122025/20/03/image_31122025_20_03_55_9599.jpg
/home/pi/Desktop/images/31122025/20/03/image_31122025_20_04_06_10566.jpg
/home/pi/Desktop/images/31122025/20/04/image_31122025_20_04_15_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928761","1401928763","1401928768","1401928756","1401928765","1401928759"],"photo_ids_order":["1401928756","1401928759","1401928761","1401928763","1401928765","1401928768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d40259f99cad2289292b27f4798a67a5.jpg","text":"TemporaryFile(/tmp/multipartBody342998037738967956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209662407,"filename":"image_31122025_20_03_46_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b4a38fd95218e57ba96f46e356d2bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2591227209701250644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209662407,"filename":"image_31122025_20_03_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cd5ea93ee142ac8cad79d4f70983c0e.jpg","text":"TemporaryFile(/tmp/multipartBody7439334399310265615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209662407,"filename":"image_31122025_20_04_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2213794e014355af978a00fe6518ca20.jpg","text":"TemporaryFile(/tmp/multipartBody8101521476181672793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209662407,"filename":"image_31122025_20_03_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31591a0aac08d9fa21cef3139dd3c885.jpg","text":"TemporaryFile(/tmp/multipartBody2380329777928251566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209662407,"filename":"image_31122025_20_04_06_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f3ad8fdad3b4e3c3586b8367d2ab0c6.jpg","text":"TemporaryFile(/tmp/multipartBody6222517422894860385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209662407,"filename":"image_31122025_20_03_36_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928761","file1":"1401928759","file0":"1401928756","file4":"1401928765","file5":"1401928768","file3":"1401928763"},"map_files_photo_id_array":[{"photo_id":"1401928768","filename":"file5"},{"photo_id":"1401928761","filename":"file2"},{"photo_id":"1401928765","filename":"file4"},{"photo_id":"1401928759","filename":"file1"},{"photo_id":"1401928756","filename":"file0"},{"photo_id":"1401928763","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928761":["hashtag1","hashtag2"]},{"1401928763":["hashtag1","hashtag2"]},{"1401928768":["hashtag1","hashtag2"]},{"1401928756":["hashtag1","hashtag2"]},{"1401928765":["hashtag1","hashtag2"]},{"1401928759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928761, 1401928763, 1401928768, 1401928756, 1401928765, 1401928759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90417218208313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:34:02.824701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/04/image_31122025_20_04_26_10590.jpg', '/home/pi/Desktop/images/31122025/20/04/image_31122025_20_04_36_9702.jpg', '/home/pi/Desktop/images/31122025/20/04/image_31122025_20_04_56_10676.jpg', '/home/pi/Desktop/images/31122025/20/04/image_31122025_20_05_06_9773.jpg', '/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_16_9712.jpg', '/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_25_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/04/image_31122025_20_04_26_10590.jpg
/home/pi/Desktop/images/31122025/20/04/image_31122025_20_04_36_9702.jpg
/home/pi/Desktop/images/31122025/20/04/image_31122025_20_04_56_10676.jpg
/home/pi/Desktop/images/31122025/20/04/image_31122025_20_05_06_9773.jpg
/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_16_9712.jpg
/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_25_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928773","1401928775","1401928769","1401928772","1401928771","1401928770"],"photo_ids_order":["1401928769","1401928770","1401928771","1401928772","1401928773","1401928775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e50c71cda15d906b359f2b77ddc5ae3.jpg","text":"TemporaryFile(/tmp/multipartBody3425506271832540734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209703489,"filename":"image_31122025_20_05_16_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b229bf87a0cf197a00385374071dc0e9.jpg","text":"TemporaryFile(/tmp/multipartBody9017198031489732381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209703489,"filename":"image_31122025_20_05_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5fdecfd414eba49166ecfce217efba66.jpg","text":"TemporaryFile(/tmp/multipartBody4385342583544985102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209703489,"filename":"image_31122025_20_04_26_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db93d8bcf6ce2bf74f8d017baa811d39.jpg","text":"TemporaryFile(/tmp/multipartBody7803588164777195308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209703489,"filename":"image_31122025_20_05_06_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/071dffaf05ec025b80f8b7e3573181d6.jpg","text":"TemporaryFile(/tmp/multipartBody8714327712393239108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209703489,"filename":"image_31122025_20_04_56_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6d1524e03298fe5cb431f37a9fe3500.jpg","text":"TemporaryFile(/tmp/multipartBody3198845220196391485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209703489,"filename":"image_31122025_20_04_36_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928771","file1":"1401928770","file0":"1401928769","file4":"1401928773","file5":"1401928775","file3":"1401928772"},"map_files_photo_id_array":[{"photo_id":"1401928775","filename":"file5"},{"photo_id":"1401928771","filename":"file2"},{"photo_id":"1401928773","filename":"file4"},{"photo_id":"1401928770","filename":"file1"},{"photo_id":"1401928769","filename":"file0"},{"photo_id":"1401928772","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928773":["hashtag1","hashtag2"]},{"1401928775":["hashtag1","hashtag2"]},{"1401928769":["hashtag1","hashtag2"]},{"1401928772":["hashtag1","hashtag2"]},{"1401928771":["hashtag1","hashtag2"]},{"1401928770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928773, 1401928775, 1401928769, 1401928772, 1401928771, 1401928770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.599777698516846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:34:42.246991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_51_1721.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_53_1550.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_54_1612.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_56_1619.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_58_1558.jpg', '/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_59_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_51_1721.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_53_1550.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_54_1612.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_56_1619.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_58_1558.jpg
/home/pi/Desktop/images/03112025/20/16/image_03112025_20_16_59_1683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928781","1401928784","1401928786","1401928783","1401928782","1401928785"],"photo_ids_order":["1401928781","1401928782","1401928783","1401928784","1401928785","1401928786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8700cb906693151f3837ba80df353f69.jpg","text":"TemporaryFile(/tmp/multipartBody6372449540839330869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209744073,"filename":"image_03112025_20_16_51_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1264221e74eb02191aa9f89e1abea8bb.jpg","text":"TemporaryFile(/tmp/multipartBody8997142657340257828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209744073,"filename":"image_03112025_20_16_56_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5016c1ebc10ce0de761cebd20dee71e2.jpg","text":"TemporaryFile(/tmp/multipartBody6390238879560633588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209744073,"filename":"image_03112025_20_16_59_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32fc164b1518c200be01e459d8efeb28.jpg","text":"TemporaryFile(/tmp/multipartBody5146020068469212169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209744073,"filename":"image_03112025_20_16_54_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08d048ae0d5eade983d2fe4a1293e78e.jpg","text":"TemporaryFile(/tmp/multipartBody8522951150876083485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209744073,"filename":"image_03112025_20_16_53_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97500c8f136ef5c02f4022b84b5236e1.jpg","text":"TemporaryFile(/tmp/multipartBody5051262509416052409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209744073,"filename":"image_03112025_20_16_58_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928783","file1":"1401928782","file0":"1401928781","file4":"1401928785","file5":"1401928786","file3":"1401928784"},"map_files_photo_id_array":[{"photo_id":"1401928786","filename":"file5"},{"photo_id":"1401928783","filename":"file2"},{"photo_id":"1401928785","filename":"file4"},{"photo_id":"1401928782","filename":"file1"},{"photo_id":"1401928781","filename":"file0"},{"photo_id":"1401928784","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928781":["hashtag1","hashtag2"]},{"1401928784":["hashtag1","hashtag2"]},{"1401928786":["hashtag1","hashtag2"]},{"1401928783":["hashtag1","hashtag2"]},{"1401928782":["hashtag1","hashtag2"]},{"1401928785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928781, 1401928784, 1401928786, 1401928783, 1401928782, 1401928785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.303717613220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:35:22.369769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_36_10649.jpg', '/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_46_9778.jpg', '/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_56_9696.jpg', '/home/pi/Desktop/images/31122025/20/05/image_31122025_20_06_06_10590.jpg', '/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_16_9566.jpg', '/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_25_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_36_10649.jpg
/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_46_9778.jpg
/home/pi/Desktop/images/31122025/20/05/image_31122025_20_05_56_9696.jpg
/home/pi/Desktop/images/31122025/20/05/image_31122025_20_06_06_10590.jpg
/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_16_9566.jpg
/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_25_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928788","1401928793","1401928795","1401928789","1401928797","1401928791"],"photo_ids_order":["1401928788","1401928789","1401928791","1401928793","1401928795","1401928797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05af1228512af9a9af8353ad0e94d09d.jpg","text":"TemporaryFile(/tmp/multipartBody5047564217419070570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209782952,"filename":"image_31122025_20_05_36_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ce37a9fb5518d2ca4549e2ae5eec047.jpg","text":"TemporaryFile(/tmp/multipartBody1417999860267493534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209782952,"filename":"image_31122025_20_06_06_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de45e64e99e51f43478a71ceb005ce75.jpg","text":"TemporaryFile(/tmp/multipartBody1103320678852220127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209782952,"filename":"image_31122025_20_06_16_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5e9a8ea557a781d719880299f07029a.jpg","text":"TemporaryFile(/tmp/multipartBody3297229491088714942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209782952,"filename":"image_31122025_20_05_46_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87ae1c528f0ab8c1eb7ccc9d6549ffd3.jpg","text":"TemporaryFile(/tmp/multipartBody3253084411280867624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209782952,"filename":"image_31122025_20_06_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e07141583ae4daa7c10c13dec016a88.jpg","text":"TemporaryFile(/tmp/multipartBody332570074251991211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209782952,"filename":"image_31122025_20_05_56_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928791","file1":"1401928789","file0":"1401928788","file4":"1401928795","file5":"1401928797","file3":"1401928793"},"map_files_photo_id_array":[{"photo_id":"1401928797","filename":"file5"},{"photo_id":"1401928791","filename":"file2"},{"photo_id":"1401928795","filename":"file4"},{"photo_id":"1401928789","filename":"file1"},{"photo_id":"1401928788","filename":"file0"},{"photo_id":"1401928793","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928788":["hashtag1","hashtag2"]},{"1401928793":["hashtag1","hashtag2"]},{"1401928795":["hashtag1","hashtag2"]},{"1401928789":["hashtag1","hashtag2"]},{"1401928797":["hashtag1","hashtag2"]},{"1401928791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928788, 1401928793, 1401928795, 1401928789, 1401928797, 1401928791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94902062416077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:36:03.163854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_36_10764.jpg', '/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_46_9665.jpg', '/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_56_9802.jpg', '/home/pi/Desktop/images/31122025/20/06/image_31122025_20_07_06_9842.jpg', '/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_15_9726.jpg', '/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_36_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_36_10764.jpg
/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_46_9665.jpg
/home/pi/Desktop/images/31122025/20/06/image_31122025_20_06_56_9802.jpg
/home/pi/Desktop/images/31122025/20/06/image_31122025_20_07_06_9842.jpg
/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_15_9726.jpg
/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_36_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928800","1401928803","1401928799","1401928802","1401928804","1401928801"],"photo_ids_order":["1401928799","1401928800","1401928801","1401928802","1401928803","1401928804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd28a05966ae6613f3bb780e3e30456d.jpg","text":"TemporaryFile(/tmp/multipartBody6387681501726729726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209823790,"filename":"image_31122025_20_06_46_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60cc2fbf115ca33caeb3a003f7c624ca.jpg","text":"TemporaryFile(/tmp/multipartBody1012804647333365446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209823790,"filename":"image_31122025_20_07_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d159b5a66dab01de18e10e23b207a8af.jpg","text":"TemporaryFile(/tmp/multipartBody6945560797351122540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209823790,"filename":"image_31122025_20_06_36_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/341eb4f1a1aa7fe9e8a2ab7e6c95d476.jpg","text":"TemporaryFile(/tmp/multipartBody4415873765174774498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209823790,"filename":"image_31122025_20_07_06_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b81bf14eb2d7bd43c5f9fa18e0e1923.jpg","text":"TemporaryFile(/tmp/multipartBody6898862973122098565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209823790,"filename":"image_31122025_20_07_36_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2bb0b4a1b364e079ae8fd5dee6f80a87.jpg","text":"TemporaryFile(/tmp/multipartBody129832862017275418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209823790,"filename":"image_31122025_20_06_56_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928801","file1":"1401928800","file0":"1401928799","file4":"1401928803","file5":"1401928804","file3":"1401928802"},"map_files_photo_id_array":[{"photo_id":"1401928804","filename":"file5"},{"photo_id":"1401928801","filename":"file2"},{"photo_id":"1401928803","filename":"file4"},{"photo_id":"1401928800","filename":"file1"},{"photo_id":"1401928799","filename":"file0"},{"photo_id":"1401928802","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928800":["hashtag1","hashtag2"]},{"1401928803":["hashtag1","hashtag2"]},{"1401928799":["hashtag1","hashtag2"]},{"1401928802":["hashtag1","hashtag2"]},{"1401928804":["hashtag1","hashtag2"]},{"1401928801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928800, 1401928803, 1401928799, 1401928802, 1401928804, 1401928801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94364023208618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:36:42.558150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_03_1601.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_07_4194.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_08_1629.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_10_1841.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_17_1704.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_18_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_03_1601.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_07_4194.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_08_1629.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_10_1841.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_17_1704.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_18_1572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928815","1401928811","1401928820","1401928817","1401928819","1401928813"],"photo_ids_order":["1401928811","1401928813","1401928815","1401928817","1401928819","1401928820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bfe7355565dc562950f5de5ac4d6018.jpg","text":"TemporaryFile(/tmp/multipartBody4094901650660011470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209864318,"filename":"image_03112025_20_17_08_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e00cb30df4f3d1b2b15552a9ef07ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8557128788701663921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209864318,"filename":"image_03112025_20_17_03_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1155def85fcccec90da682fd90700a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7816439236951146738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209864318,"filename":"image_03112025_20_17_18_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92d0b0bc7d1a5f88b9e2ab38e444f66f.jpg","text":"TemporaryFile(/tmp/multipartBody9068853430737884844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209864318,"filename":"image_03112025_20_17_10_1841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44c91b4b31963f32e9cf1bb75201ada5.jpg","text":"TemporaryFile(/tmp/multipartBody501007945188591938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209864318,"filename":"image_03112025_20_17_17_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caad45631e36ef02de5538a2abcea69f.jpg","text":"TemporaryFile(/tmp/multipartBody979587762664807055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209864318,"filename":"image_03112025_20_17_07_4194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928815","file1":"1401928813","file0":"1401928811","file4":"1401928819","file5":"1401928820","file3":"1401928817"},"map_files_photo_id_array":[{"photo_id":"1401928820","filename":"file5"},{"photo_id":"1401928815","filename":"file2"},{"photo_id":"1401928819","filename":"file4"},{"photo_id":"1401928813","filename":"file1"},{"photo_id":"1401928811","filename":"file0"},{"photo_id":"1401928817","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928815":["hashtag1","hashtag2"]},{"1401928811":["hashtag1","hashtag2"]},{"1401928820":["hashtag1","hashtag2"]},{"1401928817":["hashtag1","hashtag2"]},{"1401928819":["hashtag1","hashtag2"]},{"1401928813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928815, 1401928811, 1401928820, 1401928817, 1401928819, 1401928813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.831568241119385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:37:22.763207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_45_9563.jpg', '/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_56_10718.jpg', '/home/pi/Desktop/images/31122025/20/07/image_31122025_20_08_06_9577.jpg', '/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_15_9636.jpg', '/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_26_10737.jpg', '/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_36_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_45_9563.jpg
/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_56_10718.jpg
/home/pi/Desktop/images/31122025/20/07/image_31122025_20_08_06_9577.jpg
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_15_9636.jpg
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_26_10737.jpg
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_36_9618.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4851267337799072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:37:32.780716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_20_1523.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_21_1518.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_23_1653.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_25_1553.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_28_1672.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_32_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_20_1523.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_21_1518.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_23_1653.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_25_1553.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_28_1672.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_32_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928839","1401928830","1401928827","1401928838","1401928834","1401928837"],"photo_ids_order":["1401928827","1401928830","1401928834","1401928837","1401928838","1401928839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8525591eb6701cf3cfae4fe441654a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4383235543743204069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209914616,"filename":"image_03112025_20_17_32_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3202fb675739d830333384e8fbe18433.jpg","text":"TemporaryFile(/tmp/multipartBody8683875071822430736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209914616,"filename":"image_03112025_20_17_21_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baba638c3364219153be3a606c4ebd57.jpg","text":"TemporaryFile(/tmp/multipartBody9016850685862151481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209914616,"filename":"image_03112025_20_17_20_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6873afd72f417338340afce8675e0f7.jpg","text":"TemporaryFile(/tmp/multipartBody4439047540918048822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209914616,"filename":"image_03112025_20_17_28_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46d0454910bff93b62308cc9e98b80d5.jpg","text":"TemporaryFile(/tmp/multipartBody7314664907547058027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209914616,"filename":"image_03112025_20_17_23_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99f87f474781109d7790ac6827841965.jpg","text":"TemporaryFile(/tmp/multipartBody9189608962510115838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209914616,"filename":"image_03112025_20_17_25_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928834","file1":"1401928830","file0":"1401928827","file4":"1401928838","file5":"1401928839","file3":"1401928837"},"map_files_photo_id_array":[{"photo_id":"1401928839","filename":"file5"},{"photo_id":"1401928834","filename":"file2"},{"photo_id":"1401928838","filename":"file4"},{"photo_id":"1401928830","filename":"file1"},{"photo_id":"1401928827","filename":"file0"},{"photo_id":"1401928837","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928839":["hashtag1","hashtag2"]},{"1401928830":["hashtag1","hashtag2"]},{"1401928827":["hashtag1","hashtag2"]},{"1401928838":["hashtag1","hashtag2"]},{"1401928834":["hashtag1","hashtag2"]},{"1401928837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928839, 1401928830, 1401928827, 1401928838, 1401928834, 1401928837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25453281402588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:38:11.936229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_35_2577.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_39_4450.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_41_1652.jpg', '/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_58_16832.jpg', '/home/pi/Desktop/images/03112025/20/18/image_03112025_20_18_12_14409.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_35_2577.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_39_4450.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_41_1652.jpg
/home/pi/Desktop/images/03112025/20/17/image_03112025_20_17_58_16832.jpg
/home/pi/Desktop/images/03112025/20/18/image_03112025_20_18_12_14409.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928845","1401928842","1401928841","1401928847","1401928849","1401928840"],"photo_ids_order":["1401928840","1401928841","1401928842","1401928845","1401928847","1401928849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a11e306c575efc8dc1a654509c8c750.jpg","text":"TemporaryFile(/tmp/multipartBody4928778670451320923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209953663,"filename":"image_03112025_20_17_58_16832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae886efc61c1daa729d7911507e97543.jpg","text":"TemporaryFile(/tmp/multipartBody2377223842067187790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209953663,"filename":"image_03112025_20_17_41_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/692a7f54001c5fa59f810fdd981a6db6.jpg","text":"TemporaryFile(/tmp/multipartBody4568518652903665122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209953663,"filename":"image_03112025_20_17_39_4450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/055781b5f5967fd1a40dbbaa9268b542.jpg","text":"TemporaryFile(/tmp/multipartBody3813227008844168844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209953663,"filename":"image_03112025_20_18_12_14409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68594557fdb89bbc3015189dec9c6fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7676097236655691718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209953663,"filename":"image_03112025_20_19_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccafb22b257725a9bea88a81076d904d.jpg","text":"TemporaryFile(/tmp/multipartBody1192757417756171161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767209953663,"filename":"image_03112025_20_17_35_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928842","file1":"1401928841","file0":"1401928840","file4":"1401928847","file5":"1401928849","file3":"1401928845"},"map_files_photo_id_array":[{"photo_id":"1401928849","filename":"file5"},{"photo_id":"1401928842","filename":"file2"},{"photo_id":"1401928847","filename":"file4"},{"photo_id":"1401928841","filename":"file1"},{"photo_id":"1401928840","filename":"file0"},{"photo_id":"1401928845","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928845":["hashtag1","hashtag2"]},{"1401928842":["hashtag1","hashtag2"]},{"1401928841":["hashtag1","hashtag2"]},{"1401928847":["hashtag1","hashtag2"]},{"1401928849":["hashtag1","hashtag2"]},{"1401928840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928845, 1401928842, 1401928841, 1401928847, 1401928849, 1401928840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.828922271728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:39:03.068465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_45_9563.jpg', '/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_56_10718.jpg', '/home/pi/Desktop/images/31122025/20/07/image_31122025_20_08_06_9577.jpg', '/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_15_9636.jpg', '/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_26_10737.jpg', '/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_36_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_45_9563.jpg
/home/pi/Desktop/images/31122025/20/07/image_31122025_20_07_56_10718.jpg
/home/pi/Desktop/images/31122025/20/07/image_31122025_20_08_06_9577.jpg
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_15_9636.jpg
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_26_10737.jpg
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_36_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928856","1401928859","1401928852","1401928861","1401928855","1401928857"],"photo_ids_order":["1401928852","1401928855","1401928856","1401928857","1401928859","1401928861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/925a7eefa4ac96ef83b688e531b50254.jpg","text":"TemporaryFile(/tmp/multipartBody275946384842715779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210003794,"filename":"image_31122025_20_08_06_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b89660882127e21b801179a67e19ed0f.jpg","text":"TemporaryFile(/tmp/multipartBody3703363989407197410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210003794,"filename":"image_31122025_20_08_26_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/093add39b2919509d1ab7a7658c22444.jpg","text":"TemporaryFile(/tmp/multipartBody8645072656451427067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210003794,"filename":"image_31122025_20_07_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54231a93dc39ac9ff381955a32b5870e.jpg","text":"TemporaryFile(/tmp/multipartBody4591474181006258643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210003794,"filename":"image_31122025_20_08_36_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/85410ca4b933506a5dbd3c8f01ccfda6.jpg","text":"TemporaryFile(/tmp/multipartBody2850161213919829221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210003794,"filename":"image_31122025_20_07_56_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e3fb46e47f6f0c9ede0cecf0013b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody4779559858751731428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210003794,"filename":"image_31122025_20_08_15_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928856","file1":"1401928855","file0":"1401928852","file4":"1401928859","file5":"1401928861","file3":"1401928857"},"map_files_photo_id_array":[{"photo_id":"1401928861","filename":"file5"},{"photo_id":"1401928856","filename":"file2"},{"photo_id":"1401928859","filename":"file4"},{"photo_id":"1401928855","filename":"file1"},{"photo_id":"1401928852","filename":"file0"},{"photo_id":"1401928857","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928856":["hashtag1","hashtag2"]},{"1401928859":["hashtag1","hashtag2"]},{"1401928852":["hashtag1","hashtag2"]},{"1401928861":["hashtag1","hashtag2"]},{"1401928855":["hashtag1","hashtag2"]},{"1401928857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928856, 1401928859, 1401928852, 1401928861, 1401928855, 1401928857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308823585510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:39:42.088805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_10_3594.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_13_2717.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_16_2744.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_19_3390.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_22_2535.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_25_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_10_3594.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_13_2717.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_16_2744.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_19_3390.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_22_2535.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_25_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928872","1401928869","1401928871","1401928870","1401928873","1401928867"],"photo_ids_order":["1401928867","1401928869","1401928870","1401928871","1401928872","1401928873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ffb4181e72bbeff52b543ad131fc422.jpg","text":"TemporaryFile(/tmp/multipartBody1843024467425467217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210043911,"filename":"image_03112025_20_19_22_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac4d765855cd44c8a5829be0eafc99e8.jpg","text":"TemporaryFile(/tmp/multipartBody523095951971693531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210043911,"filename":"image_03112025_20_19_13_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a9e5bfe8eb47962a0c30a06b81d4538.jpg","text":"TemporaryFile(/tmp/multipartBody3992865462144271223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210043911,"filename":"image_03112025_20_19_19_3390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/357cb267228992bf10cf8aceb5e6c81c.jpg","text":"TemporaryFile(/tmp/multipartBody6875328154465856134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210043911,"filename":"image_03112025_20_19_16_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fd20f1ee790224b57baaa10d17a6dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2377659269236294726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210043911,"filename":"image_03112025_20_19_25_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89b6f2e15d1437f05e24793987e55975.jpg","text":"TemporaryFile(/tmp/multipartBody814911524292488063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210043911,"filename":"image_03112025_20_19_10_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928870","file1":"1401928869","file0":"1401928867","file4":"1401928872","file5":"1401928873","file3":"1401928871"},"map_files_photo_id_array":[{"photo_id":"1401928873","filename":"file5"},{"photo_id":"1401928870","filename":"file2"},{"photo_id":"1401928872","filename":"file4"},{"photo_id":"1401928869","filename":"file1"},{"photo_id":"1401928867","filename":"file0"},{"photo_id":"1401928871","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928872":["hashtag1","hashtag2"]},{"1401928869":["hashtag1","hashtag2"]},{"1401928871":["hashtag1","hashtag2"]},{"1401928870":["hashtag1","hashtag2"]},{"1401928873":["hashtag1","hashtag2"]},{"1401928867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928872, 1401928869, 1401928871, 1401928870, 1401928873, 1401928867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17559266090393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:40:22.214400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_45_9613.jpg', '/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_56_10735.jpg', '/home/pi/Desktop/images/31122025/20/08/image_31122025_20_09_06_9601.jpg', '/home/pi/Desktop/images/31122025/20/09/image_31122025_20_09_15_9644.jpg', '/home/pi/Desktop/images/31122025/20/09/image_31122025_20_09_26_10664.jpg', '/home/pi/Desktop/images/31122025/20/09/image_31122025_20_09_36_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_45_9613.jpg
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_08_56_10735.jpg
/home/pi/Desktop/images/31122025/20/08/image_31122025_20_09_06_9601.jpg
/home/pi/Desktop/images/31122025/20/09/image_31122025_20_09_15_9644.jpg
/home/pi/Desktop/images/31122025/20/09/image_31122025_20_09_26_10664.jpg
/home/pi/Desktop/images/31122025/20/09/image_31122025_20_09_36_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928880","1401928882","1401928885","1401928876","1401928884","1401928878"],"photo_ids_order":["1401928876","1401928878","1401928880","1401928882","1401928884","1401928885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07765f7b37c54c654b90035be058cc92.jpg","text":"TemporaryFile(/tmp/multipartBody6758725242640680067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210082816,"filename":"image_31122025_20_09_06_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58f72b8021eb122cfff9ab29a14a68cc.jpg","text":"TemporaryFile(/tmp/multipartBody5509240941319197342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210082816,"filename":"image_31122025_20_09_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/527684d6acfc313811a1f44f968b0887.jpg","text":"TemporaryFile(/tmp/multipartBody8932647459948013695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210082816,"filename":"image_31122025_20_09_36_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d9e6eb30b11853ed307b9f398a6b378.jpg","text":"TemporaryFile(/tmp/multipartBody6102552470159986327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210082816,"filename":"image_31122025_20_08_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86dc638251e6bc954033186a7a0b5c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5026455498770148369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210082816,"filename":"image_31122025_20_09_26_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f0ba998218b8cb3013667645c5aa670.jpg","text":"TemporaryFile(/tmp/multipartBody8681615856564684382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210082816,"filename":"image_31122025_20_08_56_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928880","file1":"1401928878","file0":"1401928876","file4":"1401928884","file5":"1401928885","file3":"1401928882"},"map_files_photo_id_array":[{"photo_id":"1401928885","filename":"file5"},{"photo_id":"1401928880","filename":"file2"},{"photo_id":"1401928884","filename":"file4"},{"photo_id":"1401928878","filename":"file1"},{"photo_id":"1401928876","filename":"file0"},{"photo_id":"1401928882","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928880":["hashtag1","hashtag2"]},{"1401928882":["hashtag1","hashtag2"]},{"1401928885":["hashtag1","hashtag2"]},{"1401928876":["hashtag1","hashtag2"]},{"1401928884":["hashtag1","hashtag2"]},{"1401928878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928880, 1401928882, 1401928885, 1401928876, 1401928884, 1401928878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.201897859573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:41:03.098514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/09/image_31122025_20_09_56_10775.jpg', '/home/pi/Desktop/images/31122025/20/09/image_31122025_20_10_06_9557.jpg', '/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_15_9824.jpg', '/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_26_10647.jpg', '/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_36_9713.jpg', '/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_46_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/09/image_31122025_20_09_56_10775.jpg
/home/pi/Desktop/images/31122025/20/09/image_31122025_20_10_06_9557.jpg
/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_15_9824.jpg
/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_26_10647.jpg
/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_36_9713.jpg
/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_46_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928887","1401928892","1401928886","1401928889","1401928888","1401928890"],"photo_ids_order":["1401928886","1401928887","1401928888","1401928889","1401928890","1401928892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29911c3e4dadf5582512b90e1384c510.jpg","text":"TemporaryFile(/tmp/multipartBody1939258700411933487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210123734,"filename":"image_31122025_20_10_06_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/faaed1b2b11ad06e29a718775c93d38a.jpg","text":"TemporaryFile(/tmp/multipartBody8215395046863005567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210123734,"filename":"image_31122025_20_10_46_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9512aa2e013d899b7969fa9d307981b9.jpg","text":"TemporaryFile(/tmp/multipartBody4833096498251834995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210123734,"filename":"image_31122025_20_09_56_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1106d3945735364a6dbae4221f03bde0.jpg","text":"TemporaryFile(/tmp/multipartBody3250855963907890856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210123734,"filename":"image_31122025_20_10_26_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60e3c4af5cc977f621ab3ce84a6894aa.jpg","text":"TemporaryFile(/tmp/multipartBody615650201331478432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210123734,"filename":"image_31122025_20_10_15_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3cf801a9c2c88a38e7810ada54051250.jpg","text":"TemporaryFile(/tmp/multipartBody182059362279968198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210123734,"filename":"image_31122025_20_10_36_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928888","file1":"1401928887","file0":"1401928886","file4":"1401928890","file5":"1401928892","file3":"1401928889"},"map_files_photo_id_array":[{"photo_id":"1401928892","filename":"file5"},{"photo_id":"1401928888","filename":"file2"},{"photo_id":"1401928890","filename":"file4"},{"photo_id":"1401928887","filename":"file1"},{"photo_id":"1401928886","filename":"file0"},{"photo_id":"1401928889","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928887":["hashtag1","hashtag2"]},{"1401928892":["hashtag1","hashtag2"]},{"1401928886":["hashtag1","hashtag2"]},{"1401928889":["hashtag1","hashtag2"]},{"1401928888":["hashtag1","hashtag2"]},{"1401928890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928887, 1401928892, 1401928886, 1401928889, 1401928888, 1401928890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14238953590393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:41:42.438553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_28_2746.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_31_2774.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_34_3560.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_37_2755.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_40_2686.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_43_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_28_2746.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_31_2774.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_34_3560.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_37_2755.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_40_2686.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_43_3536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928902","1401928904","1401928901","1401928903","1401928900","1401928899"],"photo_ids_order":["1401928899","1401928900","1401928901","1401928902","1401928903","1401928904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66d162a1325579478883ca53f7381a32.jpg","text":"TemporaryFile(/tmp/multipartBody3898249819022686447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210166139,"filename":"image_03112025_20_19_37_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0434849453c91ad3390e11c3de5b413d.jpg","text":"TemporaryFile(/tmp/multipartBody1537539852991533896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210166139,"filename":"image_03112025_20_19_43_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fb753004554292ca44b4582bd336cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5948548473008240266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210166139,"filename":"image_03112025_20_19_34_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e82430105b6a60eaf55fee9d18481b86.jpg","text":"TemporaryFile(/tmp/multipartBody8274794061129471689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210166139,"filename":"image_03112025_20_19_40_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28be0b4e84408d471a2125ea1fc1e4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1265781435208939222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210166139,"filename":"image_03112025_20_19_31_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec7e23cc7d7c9c8054c68010e8dda1df.jpg","text":"TemporaryFile(/tmp/multipartBody4992887124957488163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210166139,"filename":"image_03112025_20_19_28_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928901","file1":"1401928900","file0":"1401928899","file4":"1401928903","file5":"1401928904","file3":"1401928902"},"map_files_photo_id_array":[{"photo_id":"1401928904","filename":"file5"},{"photo_id":"1401928901","filename":"file2"},{"photo_id":"1401928903","filename":"file4"},{"photo_id":"1401928900","filename":"file1"},{"photo_id":"1401928899","filename":"file0"},{"photo_id":"1401928902","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928902":["hashtag1","hashtag2"]},{"1401928904":["hashtag1","hashtag2"]},{"1401928901":["hashtag1","hashtag2"]},{"1401928903":["hashtag1","hashtag2"]},{"1401928900":["hashtag1","hashtag2"]},{"1401928899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928902, 1401928904, 1401928901, 1401928903, 1401928900, 1401928899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01395297050476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:42:22.494987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_56_10057.jpg', '/home/pi/Desktop/images/31122025/20/10/image_31122025_20_11_06_10574.jpg', '/home/pi/Desktop/images/31122025/20/11/image_31122025_20_11_16_9661.jpg', '/home/pi/Desktop/images/31122025/20/11/image_31122025_20_11_26_9695.jpg', '/home/pi/Desktop/images/31122025/20/11/image_31122025_20_11_46_10619.jpg', '/home/pi/Desktop/images/31122025/20/11/image_31122025_20_11_56_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/10/image_31122025_20_10_56_10057.jpg
/home/pi/Desktop/images/31122025/20/10/image_31122025_20_11_06_10574.jpg
/home/pi/Desktop/images/31122025/20/11/image_31122025_20_11_16_9661.jpg
/home/pi/Desktop/images/31122025/20/11/image_31122025_20_11_26_9695.jpg
/home/pi/Desktop/images/31122025/20/11/image_31122025_20_11_46_10619.jpg
/home/pi/Desktop/images/31122025/20/11/image_31122025_20_11_56_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928911","1401928908","1401928910","1401928913","1401928915","1401928906"],"photo_ids_order":["1401928906","1401928908","1401928910","1401928911","1401928913","1401928915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e15f504f7408cfff2b46af91906e307.jpg","text":"TemporaryFile(/tmp/multipartBody3132325523355346595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210203086,"filename":"image_31122025_20_11_26_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99644803041f2402f18128b3c1018cb4.jpg","text":"TemporaryFile(/tmp/multipartBody115249800080234081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210203086,"filename":"image_31122025_20_11_06_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6060da3bb960c7488e9b89f3a926374e.jpg","text":"TemporaryFile(/tmp/multipartBody91872168618849223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210203086,"filename":"image_31122025_20_11_16_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/992a63677cf0d984df2a13db66b0f5d5.jpg","text":"TemporaryFile(/tmp/multipartBody5802255299045092942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210203086,"filename":"image_31122025_20_11_46_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a576c5003ef6a476deb6afca10e25a66.jpg","text":"TemporaryFile(/tmp/multipartBody4357644913861083304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210203086,"filename":"image_31122025_20_11_56_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbe8d44e54a40f570b2b6b3e0dc30b43.jpg","text":"TemporaryFile(/tmp/multipartBody4379230774648522420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210203086,"filename":"image_31122025_20_10_56_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928910","file1":"1401928908","file0":"1401928906","file4":"1401928913","file5":"1401928915","file3":"1401928911"},"map_files_photo_id_array":[{"photo_id":"1401928915","filename":"file5"},{"photo_id":"1401928910","filename":"file2"},{"photo_id":"1401928913","filename":"file4"},{"photo_id":"1401928908","filename":"file1"},{"photo_id":"1401928906","filename":"file0"},{"photo_id":"1401928911","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928911":["hashtag1","hashtag2"]},{"1401928908":["hashtag1","hashtag2"]},{"1401928910":["hashtag1","hashtag2"]},{"1401928913":["hashtag1","hashtag2"]},{"1401928915":["hashtag1","hashtag2"]},{"1401928906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928911, 1401928908, 1401928910, 1401928913, 1401928915, 1401928906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41770911216736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:43:03.247345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/11/image_31122025_20_12_05_9743.jpg', '/home/pi/Desktop/images/31122025/20/12/image_31122025_20_12_16_10792.jpg', '/home/pi/Desktop/images/31122025/20/12/image_31122025_20_12_26_9665.jpg', '/home/pi/Desktop/images/31122025/20/12/image_31122025_20_12_56_9739.jpg', '/home/pi/Desktop/images/31122025/20/12/image_31122025_20_13_06_9643.jpg', '/home/pi/Desktop/images/31122025/20/13/image_31122025_20_13_26_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/11/image_31122025_20_12_05_9743.jpg
/home/pi/Desktop/images/31122025/20/12/image_31122025_20_12_16_10792.jpg
/home/pi/Desktop/images/31122025/20/12/image_31122025_20_12_26_9665.jpg
/home/pi/Desktop/images/31122025/20/12/image_31122025_20_12_56_9739.jpg
/home/pi/Desktop/images/31122025/20/12/image_31122025_20_13_06_9643.jpg
/home/pi/Desktop/images/31122025/20/13/image_31122025_20_13_26_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928920","1401928923","1401928917","1401928919","1401928921","1401928918"],"photo_ids_order":["1401928917","1401928918","1401928919","1401928920","1401928921","1401928923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b66abdfdd4091bbf96f37375e8470d35.jpg","text":"TemporaryFile(/tmp/multipartBody8654787404731466012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210243884,"filename":"image_31122025_20_12_56_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3da413d97f1b6e7e2610b3aae9dd25cf.jpg","text":"TemporaryFile(/tmp/multipartBody7181833369793020636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210243884,"filename":"image_31122025_20_13_26_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d718eb9f6ded0f22b1ce2b24f177e7c0.jpg","text":"TemporaryFile(/tmp/multipartBody3595227912641833369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210243884,"filename":"image_31122025_20_12_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe6234e224f201b3deb7267f95a9ed31.jpg","text":"TemporaryFile(/tmp/multipartBody6389115443200495005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210243884,"filename":"image_31122025_20_12_26_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b40a50f87def581bbb00e4755790e828.jpg","text":"TemporaryFile(/tmp/multipartBody8809496881809098970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210243884,"filename":"image_31122025_20_13_06_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6b049df1bb49c87a70056f18e66d03f.jpg","text":"TemporaryFile(/tmp/multipartBody7815811090040595228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210243884,"filename":"image_31122025_20_12_16_10792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928919","file1":"1401928918","file0":"1401928917","file4":"1401928921","file5":"1401928923","file3":"1401928920"},"map_files_photo_id_array":[{"photo_id":"1401928923","filename":"file5"},{"photo_id":"1401928919","filename":"file2"},{"photo_id":"1401928921","filename":"file4"},{"photo_id":"1401928918","filename":"file1"},{"photo_id":"1401928917","filename":"file0"},{"photo_id":"1401928920","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928920":["hashtag1","hashtag2"]},{"1401928923":["hashtag1","hashtag2"]},{"1401928917":["hashtag1","hashtag2"]},{"1401928919":["hashtag1","hashtag2"]},{"1401928921":["hashtag1","hashtag2"]},{"1401928918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928920, 1401928923, 1401928917, 1401928919, 1401928921, 1401928918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56498670578003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:43:42.675760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_47_3860.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_49_1672.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_52_3541.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_55_2824.jpg', '/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_58_2605.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_04_5982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_47_3860.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_49_1672.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_52_3541.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_55_2824.jpg
/home/pi/Desktop/images/03112025/20/19/image_03112025_20_19_58_2605.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_04_5982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928932","1401928935","1401928929","1401928931","1401928934","1401928933"],"photo_ids_order":["1401928929","1401928931","1401928932","1401928933","1401928934","1401928935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/312039018c4753b1bd14a1d3a0002f43.jpg","text":"TemporaryFile(/tmp/multipartBody344362315093752820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210284500,"filename":"image_03112025_20_19_52_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9e192077fb4557b8ef9fe5ee31cef37.jpg","text":"TemporaryFile(/tmp/multipartBody6329867945496888572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210284500,"filename":"image_03112025_20_20_04_5982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2172575f61c50449816b8d57e512e1dc.jpg","text":"TemporaryFile(/tmp/multipartBody7184738793552423712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210284500,"filename":"image_03112025_20_19_47_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd5fe5f05c5144f3515ff71428c8b233.jpg","text":"TemporaryFile(/tmp/multipartBody7374491168107308304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210284500,"filename":"image_03112025_20_19_49_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eca40d5f79484b3de415d0bb195f0e8a.jpg","text":"TemporaryFile(/tmp/multipartBody6124190094098293298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210284500,"filename":"image_03112025_20_19_58_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6341371414c07d3f48cedbada333b423.jpg","text":"TemporaryFile(/tmp/multipartBody89222240385249252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210284500,"filename":"image_03112025_20_19_55_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928932","file1":"1401928931","file0":"1401928929","file4":"1401928934","file5":"1401928935","file3":"1401928933"},"map_files_photo_id_array":[{"photo_id":"1401928935","filename":"file5"},{"photo_id":"1401928932","filename":"file2"},{"photo_id":"1401928934","filename":"file4"},{"photo_id":"1401928931","filename":"file1"},{"photo_id":"1401928929","filename":"file0"},{"photo_id":"1401928933","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928932":["hashtag1","hashtag2"]},{"1401928935":["hashtag1","hashtag2"]},{"1401928929":["hashtag1","hashtag2"]},{"1401928931":["hashtag1","hashtag2"]},{"1401928934":["hashtag1","hashtag2"]},{"1401928933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928932, 1401928935, 1401928929, 1401928931, 1401928934, 1401928933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61548113822937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:44:21.857855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/13/image_31122025_20_13_35_9583.jpg', '/home/pi/Desktop/images/31122025/20/13/image_31122025_20_13_46_10697.jpg', '/home/pi/Desktop/images/31122025/20/13/image_31122025_20_13_56_9705.jpg', '/home/pi/Desktop/images/31122025/20/13/image_31122025_20_14_05_9557.jpg', '/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_16_10747.jpg', '/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_26_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/13/image_31122025_20_13_35_9583.jpg
/home/pi/Desktop/images/31122025/20/13/image_31122025_20_13_46_10697.jpg
/home/pi/Desktop/images/31122025/20/13/image_31122025_20_13_56_9705.jpg
/home/pi/Desktop/images/31122025/20/13/image_31122025_20_14_05_9557.jpg
/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_16_10747.jpg
/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_26_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928941","1401928949","1401928943","1401928937","1401928945","1401928939"],"photo_ids_order":["1401928937","1401928939","1401928941","1401928943","1401928945","1401928949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57bd62034b3d0dddcb0b491df54218a6.jpg","text":"TemporaryFile(/tmp/multipartBody3652146114753780840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210322465,"filename":"image_31122025_20_13_56_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c33b4d8dc93f6ae15b84e5dd131165f2.jpg","text":"TemporaryFile(/tmp/multipartBody2476855691229789599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210322465,"filename":"image_31122025_20_14_26_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5aa805c951c535cc28040a0ab46e4b66.jpg","text":"TemporaryFile(/tmp/multipartBody1725980651670713203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210322465,"filename":"image_31122025_20_14_05_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a18ce68361e4bb0e09e2c9a24c36e607.jpg","text":"TemporaryFile(/tmp/multipartBody1248774816715535897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210322465,"filename":"image_31122025_20_13_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c51a34eaa5b86906ccf70667e614d02.jpg","text":"TemporaryFile(/tmp/multipartBody1483852897011842724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210322465,"filename":"image_31122025_20_14_16_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ce551a4ed5704ec325a118d8090a5d2.jpg","text":"TemporaryFile(/tmp/multipartBody7220284456811219932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210322465,"filename":"image_31122025_20_13_46_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928941","file1":"1401928939","file0":"1401928937","file4":"1401928945","file5":"1401928949","file3":"1401928943"},"map_files_photo_id_array":[{"photo_id":"1401928949","filename":"file5"},{"photo_id":"1401928941","filename":"file2"},{"photo_id":"1401928945","filename":"file4"},{"photo_id":"1401928939","filename":"file1"},{"photo_id":"1401928937","filename":"file0"},{"photo_id":"1401928943","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928941":["hashtag1","hashtag2"]},{"1401928949":["hashtag1","hashtag2"]},{"1401928943":["hashtag1","hashtag2"]},{"1401928937":["hashtag1","hashtag2"]},{"1401928945":["hashtag1","hashtag2"]},{"1401928939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928941, 1401928949, 1401928943, 1401928937, 1401928945, 1401928939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25430464744568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:45:02.579808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_35_9690.jpg', '/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_46_10672.jpg', '/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_56_9628.jpg', '/home/pi/Desktop/images/31122025/20/14/image_31122025_20_15_05_9605.jpg', '/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_16_10672.jpg', '/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_26_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_35_9690.jpg
/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_46_10672.jpg
/home/pi/Desktop/images/31122025/20/14/image_31122025_20_14_56_9628.jpg
/home/pi/Desktop/images/31122025/20/14/image_31122025_20_15_05_9605.jpg
/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_16_10672.jpg
/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_26_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928959","1401928955","1401928958","1401928960","1401928957","1401928962"],"photo_ids_order":["1401928955","1401928957","1401928958","1401928959","1401928960","1401928962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cc00e913a26d87c1562abbbd5860b11.jpg","text":"TemporaryFile(/tmp/multipartBody593444423468294651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210363273,"filename":"image_31122025_20_15_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33fdea867b0286df3734b5465c252da7.jpg","text":"TemporaryFile(/tmp/multipartBody7662282285189956452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210363273,"filename":"image_31122025_20_14_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f7e4eff277121e804fa7a6c3fec2cce.jpg","text":"TemporaryFile(/tmp/multipartBody4374882904645379337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210363273,"filename":"image_31122025_20_14_56_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f7490a2b263eadb9c0201e067159eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4205549032984971737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210363273,"filename":"image_31122025_20_15_16_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36412d5ae5382c5f8f878725b4b4289d.jpg","text":"TemporaryFile(/tmp/multipartBody1074495700415857961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210363273,"filename":"image_31122025_20_14_46_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13be21acce44fccbcfb62b2f5bd316af.jpg","text":"TemporaryFile(/tmp/multipartBody7258657797038279891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210363273,"filename":"image_31122025_20_15_26_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928958","file1":"1401928957","file0":"1401928955","file4":"1401928960","file5":"1401928962","file3":"1401928959"},"map_files_photo_id_array":[{"photo_id":"1401928962","filename":"file5"},{"photo_id":"1401928958","filename":"file2"},{"photo_id":"1401928960","filename":"file4"},{"photo_id":"1401928957","filename":"file1"},{"photo_id":"1401928955","filename":"file0"},{"photo_id":"1401928959","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928959":["hashtag1","hashtag2"]},{"1401928955":["hashtag1","hashtag2"]},{"1401928958":["hashtag1","hashtag2"]},{"1401928960":["hashtag1","hashtag2"]},{"1401928957":["hashtag1","hashtag2"]},{"1401928962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928959, 1401928955, 1401928958, 1401928960, 1401928957, 1401928962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.053561210632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:45:42.008680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_05_1602.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_07_2026.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_10_2663.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_13_2601.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_16_3651.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_20_3916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_05_1602.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_07_2026.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_10_2663.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_13_2601.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_16_3651.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_20_3916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928971","1401928973","1401928967","1401928972","1401928975","1401928969"],"photo_ids_order":["1401928967","1401928969","1401928971","1401928972","1401928973","1401928975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3f732876e3280b7ce1c6cc47380e1f7.jpg","text":"TemporaryFile(/tmp/multipartBody3340308013480780338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210403826,"filename":"image_03112025_20_20_10_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb974e8525bff0a4f5f7568c8122bc78.jpg","text":"TemporaryFile(/tmp/multipartBody4349662317298141482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210403826,"filename":"image_03112025_20_20_16_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a32b5120fb3b42582ae5ecb69be58d5.jpg","text":"TemporaryFile(/tmp/multipartBody6108010068238836560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210403826,"filename":"image_03112025_20_20_05_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/779d27eb04d9d7bcb14b6c82a2827fc5.jpg","text":"TemporaryFile(/tmp/multipartBody925330768461223072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210403826,"filename":"image_03112025_20_20_13_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92024ac7af106a494d4ab752e2aaa52d.jpg","text":"TemporaryFile(/tmp/multipartBody566232608982667433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210403826,"filename":"image_03112025_20_20_20_3916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d56d1ed76d431a33ea47f7f569e3f54f.jpg","text":"TemporaryFile(/tmp/multipartBody1255791763270491927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210403826,"filename":"image_03112025_20_20_07_2026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928971","file1":"1401928969","file0":"1401928967","file4":"1401928973","file5":"1401928975","file3":"1401928972"},"map_files_photo_id_array":[{"photo_id":"1401928975","filename":"file5"},{"photo_id":"1401928971","filename":"file2"},{"photo_id":"1401928973","filename":"file4"},{"photo_id":"1401928969","filename":"file1"},{"photo_id":"1401928967","filename":"file0"},{"photo_id":"1401928972","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401928971":["hashtag1","hashtag2"]},{"1401928973":["hashtag1","hashtag2"]},{"1401928967":["hashtag1","hashtag2"]},{"1401928972":["hashtag1","hashtag2"]},{"1401928975":["hashtag1","hashtag2"]},{"1401928969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401928971, 1401928973, 1401928967, 1401928972, 1401928975, 1401928969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.680789947509766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:46:22.263855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_35_9707.jpg', '/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_46_10684.jpg', '/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_56_9634.jpg', '/home/pi/Desktop/images/31122025/20/16/image_31122025_20_16_16_10764.jpg', '/home/pi/Desktop/images/31122025/20/16/image_31122025_20_16_26_9589.jpg', '/home/pi/Desktop/images/31122025/20/16/image_31122025_20_16_36_10208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_35_9707.jpg
/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_46_10684.jpg
/home/pi/Desktop/images/31122025/20/15/image_31122025_20_15_56_9634.jpg
/home/pi/Desktop/images/31122025/20/16/image_31122025_20_16_16_10764.jpg
/home/pi/Desktop/images/31122025/20/16/image_31122025_20_16_26_9589.jpg
/home/pi/Desktop/images/31122025/20/16/image_31122025_20_16_36_10208.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928986","1401928979","1401928988","1401928982","1401928984","1401928977"],"photo_ids_order":["1401928977","1401928979","1401928982","1401928984","1401928986","1401928988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5645a9d0100e9075ed412d917b05bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8738867079193536869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210442860,"filename":"image_31122025_20_16_26_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8fdb8d9ce290be47687b14259f022190.jpg","text":"TemporaryFile(/tmp/multipartBody7348216295318364865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210442860,"filename":"image_31122025_20_15_46_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a7b1f7dab9e1a1b1b4f305cc3a74b92.jpg","text":"TemporaryFile(/tmp/multipartBody4019917123330267791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210442860,"filename":"image_31122025_20_16_36_10208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89ec47ec63884bd86cfc67fe31577a7f.jpg","text":"TemporaryFile(/tmp/multipartBody1698641145236684028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210442860,"filename":"image_31122025_20_15_56_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e4f3fa77cb818ee79fa162b939f2e60.jpg","text":"TemporaryFile(/tmp/multipartBody667901720079951855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210442860,"filename":"image_31122025_20_16_16_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae9f72cd76ee75b26d187f3c800a787c.jpg","text":"TemporaryFile(/tmp/multipartBody1057567903596867584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210442860,"filename":"image_31122025_20_15_35_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928982","file1":"1401928979","file0":"1401928977","file4":"1401928986","file5":"1401928988","file3":"1401928984"},"map_files_photo_id_array":[{"photo_id":"1401928988","filename":"file5"},{"photo_id":"1401928982","filename":"file2"},{"photo_id":"1401928986","filename":"file4"},{"photo_id":"1401928979","filename":"file1"},{"photo_id":"1401928977","filename":"file0"},{"photo_id":"1401928984","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928986":["hashtag1","hashtag2"]},{"1401928979":["hashtag1","hashtag2"]},{"1401928988":["hashtag1","hashtag2"]},{"1401928982":["hashtag1","hashtag2"]},{"1401928984":["hashtag1","hashtag2"]},{"1401928977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928986, 1401928979, 1401928988, 1401928982, 1401928984, 1401928977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53203463554382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:47:03.018108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/16/image_31122025_20_16_46_9676.jpg', '/home/pi/Desktop/images/31122025/20/16/image_31122025_20_17_06_9642.jpg', '/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_16_9785.jpg', '/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_25_9684.jpg', '/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_36_10731.jpg', '/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_46_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/16/image_31122025_20_16_46_9676.jpg
/home/pi/Desktop/images/31122025/20/16/image_31122025_20_17_06_9642.jpg
/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_16_9785.jpg
/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_25_9684.jpg
/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_36_10731.jpg
/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_46_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401928991","1401928994","1401928996","1401928990","1401928993","1401928992"],"photo_ids_order":["1401928990","1401928991","1401928992","1401928993","1401928994","1401928996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2983bc2798406d11994cc97c7d735ed.jpg","text":"TemporaryFile(/tmp/multipartBody5675617602297281911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210483646,"filename":"image_31122025_20_17_06_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d598bebde50cc681dbb472da202e6d4.jpg","text":"TemporaryFile(/tmp/multipartBody7797427875611567500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210483646,"filename":"image_31122025_20_17_36_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7782d93e05ba577d0e47392a0e861dd.jpg","text":"TemporaryFile(/tmp/multipartBody7173435130351910190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210483646,"filename":"image_31122025_20_17_46_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d3decce71d5360e9ad4a4097b7cb0f7.jpg","text":"TemporaryFile(/tmp/multipartBody8085665457811511249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210483646,"filename":"image_31122025_20_16_46_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d844883c529775081a0149e35795c0df.jpg","text":"TemporaryFile(/tmp/multipartBody3189054403912409227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210483646,"filename":"image_31122025_20_17_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39933003cb6bc1c3e9d448479a4f8f29.jpg","text":"TemporaryFile(/tmp/multipartBody2148563220518378967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210483646,"filename":"image_31122025_20_17_16_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401928992","file1":"1401928991","file0":"1401928990","file4":"1401928994","file5":"1401928996","file3":"1401928993"},"map_files_photo_id_array":[{"photo_id":"1401928996","filename":"file5"},{"photo_id":"1401928992","filename":"file2"},{"photo_id":"1401928994","filename":"file4"},{"photo_id":"1401928991","filename":"file1"},{"photo_id":"1401928990","filename":"file0"},{"photo_id":"1401928993","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401928991":["hashtag1","hashtag2"]},{"1401928994":["hashtag1","hashtag2"]},{"1401928996":["hashtag1","hashtag2"]},{"1401928990":["hashtag1","hashtag2"]},{"1401928993":["hashtag1","hashtag2"]},{"1401928992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401928991, 1401928994, 1401928996, 1401928990, 1401928993, 1401928992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.025656938552856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:47:42.382728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_22_1573.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_25_3565.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_28_2611.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_31_2581.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_34_3736.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_37_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_22_1573.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_25_3565.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_28_2611.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_31_2581.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_34_3736.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_37_2517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929007","1401929006","1401929009","1401929008","1401929002","1401929005"],"photo_ids_order":["1401929002","1401929005","1401929006","1401929007","1401929008","1401929009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56c51cf1efef803d18bbb1faa87e7e43.jpg","text":"TemporaryFile(/tmp/multipartBody8215376163934502988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210524124,"filename":"image_03112025_20_20_31_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/883e8ca2bb0a8d9b770fc9d165a750c8.jpg","text":"TemporaryFile(/tmp/multipartBody2126093262833629155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210524124,"filename":"image_03112025_20_20_28_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96b35e206d4f4804efd39d29e028f0f1.jpg","text":"TemporaryFile(/tmp/multipartBody6534507212756295843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210524124,"filename":"image_03112025_20_20_37_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a73c32f17196aa01a49172c673ab7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5848598433277147351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210524124,"filename":"image_03112025_20_20_34_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbdbb88cb831190fed6d0c7f6ff67daf.jpg","text":"TemporaryFile(/tmp/multipartBody6760025434049975271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210524124,"filename":"image_03112025_20_20_22_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/212da02236149e3cb49e1618eb47fa3e.jpg","text":"TemporaryFile(/tmp/multipartBody1398117324145945275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210524124,"filename":"image_03112025_20_20_25_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929006","file1":"1401929005","file0":"1401929002","file4":"1401929008","file5":"1401929009","file3":"1401929007"},"map_files_photo_id_array":[{"photo_id":"1401929009","filename":"file5"},{"photo_id":"1401929006","filename":"file2"},{"photo_id":"1401929008","filename":"file4"},{"photo_id":"1401929005","filename":"file1"},{"photo_id":"1401929002","filename":"file0"},{"photo_id":"1401929007","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929007":["hashtag1","hashtag2"]},{"1401929006":["hashtag1","hashtag2"]},{"1401929009":["hashtag1","hashtag2"]},{"1401929008":["hashtag1","hashtag2"]},{"1401929002":["hashtag1","hashtag2"]},{"1401929005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929007, 1401929006, 1401929009, 1401929008, 1401929002, 1401929005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62799048423767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:48:22.471816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_55_9546.jpg', '/home/pi/Desktop/images/31122025/20/18/image_31122025_20_18_16_9728.jpg', '/home/pi/Desktop/images/31122025/20/18/image_31122025_20_18_25_9453.jpg', '/home/pi/Desktop/images/31122025/20/18/image_31122025_20_18_36_10672.jpg', '/home/pi/Desktop/images/31122025/20/18/image_31122025_20_18_46_9656.jpg', '/home/pi/Desktop/images/31122025/20/18/image_31122025_20_19_06_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/17/image_31122025_20_17_55_9546.jpg
/home/pi/Desktop/images/31122025/20/18/image_31122025_20_18_16_9728.jpg
/home/pi/Desktop/images/31122025/20/18/image_31122025_20_18_25_9453.jpg
/home/pi/Desktop/images/31122025/20/18/image_31122025_20_18_36_10672.jpg
/home/pi/Desktop/images/31122025/20/18/image_31122025_20_18_46_9656.jpg
/home/pi/Desktop/images/31122025/20/18/image_31122025_20_19_06_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929016","1401929021","1401929018","1401929012","1401929014","1401929010"],"photo_ids_order":["1401929010","1401929012","1401929014","1401929016","1401929018","1401929021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b845b59228bfdd94ba8f65657aca5efa.jpg","text":"TemporaryFile(/tmp/multipartBody5595788315070166037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210563029,"filename":"image_31122025_20_18_36_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b386674d36112b22bf906f1c925a805.jpg","text":"TemporaryFile(/tmp/multipartBody8535429689337171619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210563029,"filename":"image_31122025_20_19_06_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47a399977408bea859a89d4ba12a2caa.jpg","text":"TemporaryFile(/tmp/multipartBody2551712956239372506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210563029,"filename":"image_31122025_20_18_46_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa3b607816056e29615fb45d60e1cb70.jpg","text":"TemporaryFile(/tmp/multipartBody6920883334671125551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210563029,"filename":"image_31122025_20_18_16_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78968a7a368a64b3185a851fb9370e79.jpg","text":"TemporaryFile(/tmp/multipartBody3135506916598132689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210563029,"filename":"image_31122025_20_18_25_9453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d781d96da84130f8b44ce9eba8131a99.jpg","text":"TemporaryFile(/tmp/multipartBody6012665695893346478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210563029,"filename":"image_31122025_20_17_55_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929014","file1":"1401929012","file0":"1401929010","file4":"1401929018","file5":"1401929021","file3":"1401929016"},"map_files_photo_id_array":[{"photo_id":"1401929021","filename":"file5"},{"photo_id":"1401929014","filename":"file2"},{"photo_id":"1401929018","filename":"file4"},{"photo_id":"1401929012","filename":"file1"},{"photo_id":"1401929010","filename":"file0"},{"photo_id":"1401929016","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929016":["hashtag1","hashtag2"]},{"1401929021":["hashtag1","hashtag2"]},{"1401929018":["hashtag1","hashtag2"]},{"1401929012":["hashtag1","hashtag2"]},{"1401929014":["hashtag1","hashtag2"]},{"1401929010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929016, 1401929021, 1401929018, 1401929012, 1401929014, 1401929010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55043435096741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:49:03.871696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/19/image_31122025_20_19_16_9705.jpg', '/home/pi/Desktop/images/31122025/20/19/image_31122025_20_19_25_9640.jpg', '/home/pi/Desktop/images/31122025/20/19/image_31122025_20_19_45_9558.jpg', '/home/pi/Desktop/images/31122025/20/19/image_31122025_20_19_56_10755.jpg', '/home/pi/Desktop/images/31122025/20/19/image_31122025_20_20_06_9650.jpg', '/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_15_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/19/image_31122025_20_19_16_9705.jpg
/home/pi/Desktop/images/31122025/20/19/image_31122025_20_19_25_9640.jpg
/home/pi/Desktop/images/31122025/20/19/image_31122025_20_19_45_9558.jpg
/home/pi/Desktop/images/31122025/20/19/image_31122025_20_19_56_10755.jpg
/home/pi/Desktop/images/31122025/20/19/image_31122025_20_20_06_9650.jpg
/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_15_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929030","1401929024","1401929027","1401929026","1401929023","1401929025"],"photo_ids_order":["1401929023","1401929024","1401929025","1401929026","1401929027","1401929030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a3c29dd6e5f5f44cb42e7ffa675d2ab.jpg","text":"TemporaryFile(/tmp/multipartBody4485393484621372405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210604621,"filename":"image_31122025_20_20_15_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/220d41e535458705f5310b0651f43a72.jpg","text":"TemporaryFile(/tmp/multipartBody1928724621873348980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210604621,"filename":"image_31122025_20_19_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74e62c79dd2eb7c46add4001ac81ad20.jpg","text":"TemporaryFile(/tmp/multipartBody8427329105954919186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210604621,"filename":"image_31122025_20_20_06_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cd79b9fa134e3262fb2d5d240d59c8b.jpg","text":"TemporaryFile(/tmp/multipartBody1402058496768278141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210604621,"filename":"image_31122025_20_19_56_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c0dc2fa99e996371a4e84580542d35b.jpg","text":"TemporaryFile(/tmp/multipartBody4387043025369630626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210604621,"filename":"image_31122025_20_19_16_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b87ac82fc608cc8c139ff40470e7e927.jpg","text":"TemporaryFile(/tmp/multipartBody8752588521184554102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210604621,"filename":"image_31122025_20_19_45_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929025","file1":"1401929024","file0":"1401929023","file4":"1401929027","file5":"1401929030","file3":"1401929026"},"map_files_photo_id_array":[{"photo_id":"1401929030","filename":"file5"},{"photo_id":"1401929025","filename":"file2"},{"photo_id":"1401929027","filename":"file4"},{"photo_id":"1401929024","filename":"file1"},{"photo_id":"1401929023","filename":"file0"},{"photo_id":"1401929026","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929030":["hashtag1","hashtag2"]},{"1401929024":["hashtag1","hashtag2"]},{"1401929027":["hashtag1","hashtag2"]},{"1401929026":["hashtag1","hashtag2"]},{"1401929023":["hashtag1","hashtag2"]},{"1401929025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929030, 1401929024, 1401929027, 1401929026, 1401929023, 1401929025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.487420082092285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:49:42.934167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_39_2577.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_43_3783.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_46_2567.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_48_2633.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_52_3687.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_55_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_39_2577.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_43_3783.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_46_2567.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_48_2633.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_52_3687.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_55_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929040","1401929039","1401929041","1401929035","1401929038","1401929037"],"photo_ids_order":["1401929035","1401929037","1401929038","1401929039","1401929040","1401929041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74573cb515dd1adcc36729f7f9a83a43.jpg","text":"TemporaryFile(/tmp/multipartBody6256504572133217582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210644761,"filename":"image_03112025_20_20_52_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a259be8e781281fe86a5314d6131886.jpg","text":"TemporaryFile(/tmp/multipartBody6315204128785714605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210644761,"filename":"image_03112025_20_20_48_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f31bfdeb64fd374e2325c913936034a.jpg","text":"TemporaryFile(/tmp/multipartBody7628328294467661010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210644761,"filename":"image_03112025_20_20_55_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fe1e581c1fa068f94701112b72d6eab.jpg","text":"TemporaryFile(/tmp/multipartBody1226303148092238728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210644761,"filename":"image_03112025_20_20_39_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb127c31dc6b49566b176e6b92330143.jpg","text":"TemporaryFile(/tmp/multipartBody5089995575722483619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210644761,"filename":"image_03112025_20_20_46_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7c9386b7bc39ad7a215feaf8a35a580.jpg","text":"TemporaryFile(/tmp/multipartBody7446329355455047624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210644761,"filename":"image_03112025_20_20_43_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929038","file1":"1401929037","file0":"1401929035","file4":"1401929040","file5":"1401929041","file3":"1401929039"},"map_files_photo_id_array":[{"photo_id":"1401929041","filename":"file5"},{"photo_id":"1401929038","filename":"file2"},{"photo_id":"1401929040","filename":"file4"},{"photo_id":"1401929037","filename":"file1"},{"photo_id":"1401929035","filename":"file0"},{"photo_id":"1401929039","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929040":["hashtag1","hashtag2"]},{"1401929039":["hashtag1","hashtag2"]},{"1401929041":["hashtag1","hashtag2"]},{"1401929035":["hashtag1","hashtag2"]},{"1401929038":["hashtag1","hashtag2"]},{"1401929037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929040, 1401929039, 1401929041, 1401929035, 1401929038, 1401929037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14160394668579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:50:22.105187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_26_10653.jpg', '/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_36_9590.jpg', '/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_45_9690.jpg', '/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_56_10719.jpg', '/home/pi/Desktop/images/31122025/20/20/image_31122025_20_21_06_9671.jpg', '/home/pi/Desktop/images/31122025/20/21/image_31122025_20_21_15_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_26_10653.jpg
/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_36_9590.jpg
/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_45_9690.jpg
/home/pi/Desktop/images/31122025/20/20/image_31122025_20_20_56_10719.jpg
/home/pi/Desktop/images/31122025/20/20/image_31122025_20_21_06_9671.jpg
/home/pi/Desktop/images/31122025/20/21/image_31122025_20_21_15_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929049","1401929042","1401929045","1401929053","1401929047","1401929043"],"photo_ids_order":["1401929042","1401929043","1401929045","1401929047","1401929049","1401929053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/222a3f59bd45a5cbc616d5bb2e9f1c80.jpg","text":"TemporaryFile(/tmp/multipartBody3764861911016738344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210682731,"filename":"image_31122025_20_21_06_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84bf026c5e49ce6e5daa511a34768197.jpg","text":"TemporaryFile(/tmp/multipartBody8161031297104353863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210682731,"filename":"image_31122025_20_20_26_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9f4987185e5243db2b9f59e3e3f9a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3161109920703033145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210682731,"filename":"image_31122025_20_20_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0aabe04c08191ed6367d7f08683323de.jpg","text":"TemporaryFile(/tmp/multipartBody6403687423543968820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210682731,"filename":"image_31122025_20_21_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d0448ceced3e041a9a20fbf19f25e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4781133986812429938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210682731,"filename":"image_31122025_20_20_56_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8a1a4300e817fe70c6993bddaac6e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8486067462503534433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210682731,"filename":"image_31122025_20_20_36_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929045","file1":"1401929043","file0":"1401929042","file4":"1401929049","file5":"1401929053","file3":"1401929047"},"map_files_photo_id_array":[{"photo_id":"1401929053","filename":"file5"},{"photo_id":"1401929045","filename":"file2"},{"photo_id":"1401929049","filename":"file4"},{"photo_id":"1401929043","filename":"file1"},{"photo_id":"1401929042","filename":"file0"},{"photo_id":"1401929047","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929049":["hashtag1","hashtag2"]},{"1401929042":["hashtag1","hashtag2"]},{"1401929045":["hashtag1","hashtag2"]},{"1401929053":["hashtag1","hashtag2"]},{"1401929047":["hashtag1","hashtag2"]},{"1401929043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929049, 1401929042, 1401929045, 1401929053, 1401929047, 1401929043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91418743133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:51:03.064566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/21/image_31122025_20_21_36_9632.jpg', '/home/pi/Desktop/images/31122025/20/21/image_31122025_20_21_45_9607.jpg', '/home/pi/Desktop/images/31122025/20/21/image_31122025_20_21_56_10722.jpg', '/home/pi/Desktop/images/31122025/20/21/image_31122025_20_22_06_9814.jpg', '/home/pi/Desktop/images/31122025/20/22/image_31122025_20_22_25_9631.jpg', '/home/pi/Desktop/images/31122025/20/22/image_31122025_20_22_36_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/21/image_31122025_20_21_36_9632.jpg
/home/pi/Desktop/images/31122025/20/21/image_31122025_20_21_45_9607.jpg
/home/pi/Desktop/images/31122025/20/21/image_31122025_20_21_56_10722.jpg
/home/pi/Desktop/images/31122025/20/21/image_31122025_20_22_06_9814.jpg
/home/pi/Desktop/images/31122025/20/22/image_31122025_20_22_25_9631.jpg
/home/pi/Desktop/images/31122025/20/22/image_31122025_20_22_36_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929060","1401929062","1401929059","1401929061","1401929064","1401929058"],"photo_ids_order":["1401929058","1401929059","1401929060","1401929061","1401929062","1401929064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e53444bf8f56b045da4236a0af487ed8.jpg","text":"TemporaryFile(/tmp/multipartBody3820813309289947105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210723741,"filename":"image_31122025_20_21_56_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/205309aa16a2139e5bd087ddfed023e5.jpg","text":"TemporaryFile(/tmp/multipartBody7756433244674048123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210723741,"filename":"image_31122025_20_22_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d351f5280258af2a38e8385132e3b011.jpg","text":"TemporaryFile(/tmp/multipartBody4034992102753502737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210723741,"filename":"image_31122025_20_21_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d538d78122c8c9bea1a360d8663ff8b.jpg","text":"TemporaryFile(/tmp/multipartBody166051183278561749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210723741,"filename":"image_31122025_20_22_06_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d3725b609f4f29b79e6d3af379264c1.jpg","text":"TemporaryFile(/tmp/multipartBody4644393742604016014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210723741,"filename":"image_31122025_20_22_36_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a021fb62807fdb5b1d49e6e0e36cbb6.jpg","text":"TemporaryFile(/tmp/multipartBody8474233668070878290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210723741,"filename":"image_31122025_20_21_36_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929060","file1":"1401929059","file0":"1401929058","file4":"1401929062","file5":"1401929064","file3":"1401929061"},"map_files_photo_id_array":[{"photo_id":"1401929064","filename":"file5"},{"photo_id":"1401929060","filename":"file2"},{"photo_id":"1401929062","filename":"file4"},{"photo_id":"1401929059","filename":"file1"},{"photo_id":"1401929058","filename":"file0"},{"photo_id":"1401929061","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929060":["hashtag1","hashtag2"]},{"1401929062":["hashtag1","hashtag2"]},{"1401929059":["hashtag1","hashtag2"]},{"1401929061":["hashtag1","hashtag2"]},{"1401929064":["hashtag1","hashtag2"]},{"1401929058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929060, 1401929062, 1401929059, 1401929061, 1401929064, 1401929058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.994513273239136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:51:42.399059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_58_2827.jpg', '/home/pi/Desktop/images/03112025/20/20/image_03112025_20_21_01_3727.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_04_2649.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_07_2583.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_10_3686.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_14_3980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_20_58_2827.jpg
/home/pi/Desktop/images/03112025/20/20/image_03112025_20_21_01_3727.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_04_2649.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_07_2583.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_10_3686.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_14_3980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929072","1401929075","1401929069","1401929077","1401929074","1401929073"],"photo_ids_order":["1401929069","1401929072","1401929073","1401929074","1401929075","1401929077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8051b10b0535ea7f47e7e19e8b55f1db.jpg","text":"TemporaryFile(/tmp/multipartBody1542837853278064318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210764232,"filename":"image_03112025_20_21_01_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/637d6cb2d5ac7f0e87c31a58ebe925e0.jpg","text":"TemporaryFile(/tmp/multipartBody7767811270597045362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210764232,"filename":"image_03112025_20_21_10_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4e288745ea0779d12c36ff4a9c515ee.jpg","text":"TemporaryFile(/tmp/multipartBody7334558104087271698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210764232,"filename":"image_03112025_20_20_58_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dff5856caa36f55517933bc6c6d8f4ac.jpg","text":"TemporaryFile(/tmp/multipartBody5754918803302467586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210764232,"filename":"image_03112025_20_21_14_3980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dec5f2f1522576715284a72378b8a68c.jpg","text":"TemporaryFile(/tmp/multipartBody2580461442515538626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210764232,"filename":"image_03112025_20_21_07_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6065350901cca09611d4e80f3092fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8588396839575092421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210764232,"filename":"image_03112025_20_21_04_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929073","file1":"1401929072","file0":"1401929069","file4":"1401929075","file5":"1401929077","file3":"1401929074"},"map_files_photo_id_array":[{"photo_id":"1401929077","filename":"file5"},{"photo_id":"1401929073","filename":"file2"},{"photo_id":"1401929075","filename":"file4"},{"photo_id":"1401929072","filename":"file1"},{"photo_id":"1401929069","filename":"file0"},{"photo_id":"1401929074","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929072":["hashtag1","hashtag2"]},{"1401929075":["hashtag1","hashtag2"]},{"1401929069":["hashtag1","hashtag2"]},{"1401929077":["hashtag1","hashtag2"]},{"1401929074":["hashtag1","hashtag2"]},{"1401929073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929072, 1401929075, 1401929069, 1401929077, 1401929074, 1401929073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34050130844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:52:24.477831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/22/image_31122025_20_22_46_9992.jpg', '/home/pi/Desktop/images/31122025/20/22/image_31122025_20_22_56_9660.jpg', '/home/pi/Desktop/images/31122025/20/22/image_31122025_20_23_06_9819.jpg', '/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_15_9810.jpg', '/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_26_10653.jpg', '/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_36_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/22/image_31122025_20_22_46_9992.jpg
/home/pi/Desktop/images/31122025/20/22/image_31122025_20_22_56_9660.jpg
/home/pi/Desktop/images/31122025/20/22/image_31122025_20_23_06_9819.jpg
/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_15_9810.jpg
/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_26_10653.jpg
/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_36_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929084","1401929080","1401929086","1401929091","1401929088","1401929082"],"photo_ids_order":["1401929080","1401929082","1401929084","1401929086","1401929088","1401929091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2eb270e98f3696054f3cb5967b2ccad8.jpg","text":"TemporaryFile(/tmp/multipartBody6385083453482636383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210805038,"filename":"image_31122025_20_23_06_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc156ac1f206da2bcf7a443bbf7195c4.jpg","text":"TemporaryFile(/tmp/multipartBody5868645499590346373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210805038,"filename":"image_31122025_20_22_46_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1783e8eebd7678dc3874adfd10cc49e1.jpg","text":"TemporaryFile(/tmp/multipartBody3452009419611388064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210805038,"filename":"image_31122025_20_23_15_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba2abf5c5286638ddeec10da0b396500.jpg","text":"TemporaryFile(/tmp/multipartBody1794299490736142765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210805038,"filename":"image_31122025_20_23_36_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64c13ad30f7b5d0dcc9ca3800a651fdc.jpg","text":"TemporaryFile(/tmp/multipartBody938235615754320838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210805038,"filename":"image_31122025_20_23_26_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1b5e280bf7d0d87f8c235e6522c489f.jpg","text":"TemporaryFile(/tmp/multipartBody1490549060702476458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210805038,"filename":"image_31122025_20_22_56_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929084","file1":"1401929082","file0":"1401929080","file4":"1401929088","file5":"1401929091","file3":"1401929086"},"map_files_photo_id_array":[{"photo_id":"1401929091","filename":"file5"},{"photo_id":"1401929084","filename":"file2"},{"photo_id":"1401929088","filename":"file4"},{"photo_id":"1401929082","filename":"file1"},{"photo_id":"1401929080","filename":"file0"},{"photo_id":"1401929086","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929084":["hashtag1","hashtag2"]},{"1401929080":["hashtag1","hashtag2"]},{"1401929086":["hashtag1","hashtag2"]},{"1401929091":["hashtag1","hashtag2"]},{"1401929088":["hashtag1","hashtag2"]},{"1401929082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929084, 1401929080, 1401929086, 1401929091, 1401929088, 1401929082)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.34501504898071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:53:12.734991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_16_1804.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_19_2593.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_22_3723.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_25_2584.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_28_2654.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_31_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_16_1804.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_19_2593.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_22_3723.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_25_2584.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_28_2654.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_31_3703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929099","1401929093","1401929095","1401929092","1401929101","1401929097"],"photo_ids_order":["1401929092","1401929093","1401929095","1401929097","1401929099","1401929101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d92a9b8b28f366346bbc34820e267a33.jpg","text":"TemporaryFile(/tmp/multipartBody3396578483275526791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210854578,"filename":"image_03112025_20_21_28_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d487edf0a1cca899da4b3d36f695d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6900469175147009721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210854578,"filename":"image_03112025_20_21_19_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba95bdf60ceb702e64c18925e4077bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8474089263403101098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210854578,"filename":"image_03112025_20_21_22_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a8d6f709144143ea2107e7ce79f8bb7.jpg","text":"TemporaryFile(/tmp/multipartBody1861823429563119730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210854578,"filename":"image_03112025_20_21_16_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/88105f236238cb567759cc73015926a1.jpg","text":"TemporaryFile(/tmp/multipartBody8868087589288210888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210854578,"filename":"image_03112025_20_21_31_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39e8e722476b93d8d97f5803e6815d98.jpg","text":"TemporaryFile(/tmp/multipartBody1538086113584837561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210854578,"filename":"image_03112025_20_21_25_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929095","file1":"1401929093","file0":"1401929092","file4":"1401929099","file5":"1401929101","file3":"1401929097"},"map_files_photo_id_array":[{"photo_id":"1401929101","filename":"file5"},{"photo_id":"1401929095","filename":"file2"},{"photo_id":"1401929099","filename":"file4"},{"photo_id":"1401929093","filename":"file1"},{"photo_id":"1401929092","filename":"file0"},{"photo_id":"1401929097","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929099":["hashtag1","hashtag2"]},{"1401929093":["hashtag1","hashtag2"]},{"1401929095":["hashtag1","hashtag2"]},{"1401929092":["hashtag1","hashtag2"]},{"1401929101":["hashtag1","hashtag2"]},{"1401929097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929099, 1401929093, 1401929095, 1401929092, 1401929101, 1401929097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23438835144043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:54:05.105581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_45_9638.jpg', '/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_56_10585.jpg', '/home/pi/Desktop/images/31122025/20/23/image_31122025_20_24_06_9705.jpg', '/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_16_10153.jpg', '/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_26_9834.jpg', '/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_36_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_45_9638.jpg
/home/pi/Desktop/images/31122025/20/23/image_31122025_20_23_56_10585.jpg
/home/pi/Desktop/images/31122025/20/23/image_31122025_20_24_06_9705.jpg
/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_16_10153.jpg
/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_26_9834.jpg
/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_36_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929106","1401929115","1401929109","1401929111","1401929113","1401929107"],"photo_ids_order":["1401929106","1401929107","1401929109","1401929111","1401929113","1401929115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92b97be6b08f2e96f660baf96b2ebbdd.jpg","text":"TemporaryFile(/tmp/multipartBody4443094879159564864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210908066,"filename":"image_31122025_20_23_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0464071e19410dbc20dd1172bb3a0698.jpg","text":"TemporaryFile(/tmp/multipartBody3988919908757693713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210908066,"filename":"image_31122025_20_24_36_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e69e1f67a999e4a4de20b282c20baf87.jpg","text":"TemporaryFile(/tmp/multipartBody6448951645873772077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210908066,"filename":"image_31122025_20_24_06_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a675e2a35b0231ea5aa16d8908e2ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody5136338340879685233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210908066,"filename":"image_31122025_20_24_16_10153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b149e5b266719b57fad4b59d995ce6b.jpg","text":"TemporaryFile(/tmp/multipartBody6554180375758928329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210908066,"filename":"image_31122025_20_24_26_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3baa4499b2e266276f0ac10780caace.jpg","text":"TemporaryFile(/tmp/multipartBody5445125472648770124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210908066,"filename":"image_31122025_20_23_56_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929109","file1":"1401929107","file0":"1401929106","file4":"1401929113","file5":"1401929115","file3":"1401929111"},"map_files_photo_id_array":[{"photo_id":"1401929115","filename":"file5"},{"photo_id":"1401929109","filename":"file2"},{"photo_id":"1401929113","filename":"file4"},{"photo_id":"1401929107","filename":"file1"},{"photo_id":"1401929106","filename":"file0"},{"photo_id":"1401929111","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929106":["hashtag1","hashtag2"]},{"1401929115":["hashtag1","hashtag2"]},{"1401929109":["hashtag1","hashtag2"]},{"1401929111":["hashtag1","hashtag2"]},{"1401929113":["hashtag1","hashtag2"]},{"1401929107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929106, 1401929115, 1401929109, 1401929111, 1401929113, 1401929107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67184638977051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:55:02.906094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_45_9725.jpg', '/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_56_10646.jpg', '/home/pi/Desktop/images/31122025/20/24/image_31122025_20_25_06_9729.jpg', '/home/pi/Desktop/images/31122025/20/25/image_31122025_20_25_26_10760.jpg', '/home/pi/Desktop/images/31122025/20/25/image_31122025_20_25_56_10711.jpg', '/home/pi/Desktop/images/31122025/20/25/image_31122025_20_26_06_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_45_9725.jpg
/home/pi/Desktop/images/31122025/20/24/image_31122025_20_24_56_10646.jpg
/home/pi/Desktop/images/31122025/20/24/image_31122025_20_25_06_9729.jpg
/home/pi/Desktop/images/31122025/20/25/image_31122025_20_25_26_10760.jpg
/home/pi/Desktop/images/31122025/20/25/image_31122025_20_25_56_10711.jpg
/home/pi/Desktop/images/31122025/20/25/image_31122025_20_26_06_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929121","1401929120","1401929126","1401929122","1401929119","1401929124"],"photo_ids_order":["1401929119","1401929120","1401929121","1401929122","1401929124","1401929126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7b83d17ce254c8b18b44f91204a6cc2.jpg","text":"TemporaryFile(/tmp/multipartBody706631621353317389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210966237,"filename":"image_31122025_20_25_06_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51e943d541c70642e1516e98bf60bc7e.jpg","text":"TemporaryFile(/tmp/multipartBody2009055682701430745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210966237,"filename":"image_31122025_20_24_56_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b0012492aedf9f0448d4c374ce7644b.jpg","text":"TemporaryFile(/tmp/multipartBody2345739927284237908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210966237,"filename":"image_31122025_20_26_06_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7feaedb2b5590d075abd5e2fa28bf3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5297740948792079193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210966237,"filename":"image_31122025_20_25_26_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccae5e2815b95701ff0aec0fb3f678eb.jpg","text":"TemporaryFile(/tmp/multipartBody4646663536824887751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210966237,"filename":"image_31122025_20_24_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6585069f363d99ddffd1fb79ba2e0ed2.jpg","text":"TemporaryFile(/tmp/multipartBody6575163985789494214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767210966237,"filename":"image_31122025_20_25_56_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929121","file1":"1401929120","file0":"1401929119","file4":"1401929124","file5":"1401929126","file3":"1401929122"},"map_files_photo_id_array":[{"photo_id":"1401929126","filename":"file5"},{"photo_id":"1401929121","filename":"file2"},{"photo_id":"1401929124","filename":"file4"},{"photo_id":"1401929120","filename":"file1"},{"photo_id":"1401929119","filename":"file0"},{"photo_id":"1401929122","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929121":["hashtag1","hashtag2"]},{"1401929120":["hashtag1","hashtag2"]},{"1401929126":["hashtag1","hashtag2"]},{"1401929122":["hashtag1","hashtag2"]},{"1401929119":["hashtag1","hashtag2"]},{"1401929124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929121, 1401929120, 1401929126, 1401929122, 1401929119, 1401929124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.742679834365845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:55:42.358376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_34_3154.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_37_3021.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_40_2562.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_42_2421.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_46_3654.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_49_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_34_3154.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_37_3021.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_40_2562.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_42_2421.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_46_3654.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_49_2589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929133","1401929135","1401929131","1401929134","1401929137","1401929136"],"photo_ids_order":["1401929131","1401929133","1401929134","1401929135","1401929136","1401929137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/367435d3d6f12ddc757ef78068e93da9.jpg","text":"TemporaryFile(/tmp/multipartBody5127166312135846705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211004058,"filename":"image_03112025_20_21_37_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1c8e405c01e7eee0dd68ad2ff343776.jpg","text":"TemporaryFile(/tmp/multipartBody8122115095201537301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211004058,"filename":"image_03112025_20_21_42_2421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20769de569fd2b037beb58d7be7ce1cb.jpg","text":"TemporaryFile(/tmp/multipartBody3817080704627656182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211004058,"filename":"image_03112025_20_21_34_3154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/16d44256f929716416c11d4c4ca61784.jpg","text":"TemporaryFile(/tmp/multipartBody6907352336612543911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211004058,"filename":"image_03112025_20_21_40_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c83c1d3bff389dd4ecd9db7c2527428.jpg","text":"TemporaryFile(/tmp/multipartBody5635607644954799006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211004058,"filename":"image_03112025_20_21_49_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be930e1b9148b7ce1d2e46973aa1e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody4624572692934696779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211004058,"filename":"image_03112025_20_21_46_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929134","file1":"1401929133","file0":"1401929131","file4":"1401929136","file5":"1401929137","file3":"1401929135"},"map_files_photo_id_array":[{"photo_id":"1401929137","filename":"file5"},{"photo_id":"1401929134","filename":"file2"},{"photo_id":"1401929136","filename":"file4"},{"photo_id":"1401929133","filename":"file1"},{"photo_id":"1401929131","filename":"file0"},{"photo_id":"1401929135","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929133":["hashtag1","hashtag2"]},{"1401929135":["hashtag1","hashtag2"]},{"1401929131":["hashtag1","hashtag2"]},{"1401929134":["hashtag1","hashtag2"]},{"1401929137":["hashtag1","hashtag2"]},{"1401929136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929133, 1401929135, 1401929131, 1401929134, 1401929137, 1401929136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84803581237793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:56:22.603900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_16_9661.jpg', '/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_25_9744.jpg', '/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_36_10725.jpg', '/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_56_9854.jpg', '/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_16_10690.jpg', '/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_26_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_16_9661.jpg
/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_25_9744.jpg
/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_36_10725.jpg
/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_56_9854.jpg
/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_16_10690.jpg
/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_26_9663.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4876382350921631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:56:32.609684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_52_2867.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_55_3641.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_58_2707.jpg', '/home/pi/Desktop/images/03112025/20/21/image_03112025_20_22_00_2622.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_04_3700.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_07_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_52_2867.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_55_3641.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_21_58_2707.jpg
/home/pi/Desktop/images/03112025/20/21/image_03112025_20_22_00_2622.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_04_3700.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_07_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929153","1401929152","1401929146","1401929149","1401929154","1401929151"],"photo_ids_order":["1401929146","1401929149","1401929151","1401929152","1401929153","1401929154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5019a8eaec95ab114738346100efc438.jpg","text":"TemporaryFile(/tmp/multipartBody7610585217768316420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211059709,"filename":"image_03112025_20_22_04_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ad7b0319b7834d3174a5120b3445020.jpg","text":"TemporaryFile(/tmp/multipartBody7143006787766844486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211059709,"filename":"image_03112025_20_22_00_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4213baac7355f4e3a4276abc185a88e4.jpg","text":"TemporaryFile(/tmp/multipartBody7925789888391225109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211059709,"filename":"image_03112025_20_21_52_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e1d96a7e522952364173daddac0890e.jpg","text":"TemporaryFile(/tmp/multipartBody6227955656177966790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211059709,"filename":"image_03112025_20_21_55_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6954302002e74ba1d0e6553bf81ed43.jpg","text":"TemporaryFile(/tmp/multipartBody3037395254019497430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211059709,"filename":"image_03112025_20_22_07_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/582d65c7356d8d25111a0b901ad6d254.jpg","text":"TemporaryFile(/tmp/multipartBody4323768295454875906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211059709,"filename":"image_03112025_20_21_58_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929151","file1":"1401929149","file0":"1401929146","file4":"1401929153","file5":"1401929154","file3":"1401929152"},"map_files_photo_id_array":[{"photo_id":"1401929154","filename":"file5"},{"photo_id":"1401929151","filename":"file2"},{"photo_id":"1401929153","filename":"file4"},{"photo_id":"1401929149","filename":"file1"},{"photo_id":"1401929146","filename":"file0"},{"photo_id":"1401929152","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929153":["hashtag1","hashtag2"]},{"1401929152":["hashtag1","hashtag2"]},{"1401929146":["hashtag1","hashtag2"]},{"1401929149":["hashtag1","hashtag2"]},{"1401929154":["hashtag1","hashtag2"]},{"1401929151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929153, 1401929152, 1401929146, 1401929149, 1401929154, 1401929151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25315713882446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 20:57:22.825666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_16_9661.jpg', '/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_25_9744.jpg', '/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_36_10725.jpg', '/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_56_9854.jpg', '/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_16_10690.jpg', '/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_26_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_16_9661.jpg
/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_25_9744.jpg
/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_36_10725.jpg
/home/pi/Desktop/images/31122025/20/26/image_31122025_20_26_56_9854.jpg
/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_16_10690.jpg
/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_26_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929162","1401929164","1401929158","1401929167","1401929160","1401929166"],"photo_ids_order":["1401929158","1401929160","1401929162","1401929164","1401929166","1401929167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea7da6cfd1cc7975fb63614f69f54c72.jpg","text":"TemporaryFile(/tmp/multipartBody1738568067888610171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211103416,"filename":"image_31122025_20_26_36_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2df8725c08ec2fcc7a65ee2f7205921.jpg","text":"TemporaryFile(/tmp/multipartBody8506981613165849123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211103416,"filename":"image_31122025_20_26_56_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0595e0f046096fd6c9edb6e6082a041b.jpg","text":"TemporaryFile(/tmp/multipartBody535255088509876605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211103416,"filename":"image_31122025_20_26_16_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6adcaf4e2ea87865f81e9e0f78603816.jpg","text":"TemporaryFile(/tmp/multipartBody8867191002427078461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211103416,"filename":"image_31122025_20_27_26_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/246d092a18fc737e83457d54355d47d2.jpg","text":"TemporaryFile(/tmp/multipartBody5337224407588492278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211103416,"filename":"image_31122025_20_26_25_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6badf91e64e85df621d70ba00295efdc.jpg","text":"TemporaryFile(/tmp/multipartBody5404268324717096749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211103416,"filename":"image_31122025_20_27_16_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929162","file1":"1401929160","file0":"1401929158","file4":"1401929166","file5":"1401929167","file3":"1401929164"},"map_files_photo_id_array":[{"photo_id":"1401929167","filename":"file5"},{"photo_id":"1401929162","filename":"file2"},{"photo_id":"1401929166","filename":"file4"},{"photo_id":"1401929160","filename":"file1"},{"photo_id":"1401929158","filename":"file0"},{"photo_id":"1401929164","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929162":["hashtag1","hashtag2"]},{"1401929164":["hashtag1","hashtag2"]},{"1401929158":["hashtag1","hashtag2"]},{"1401929167":["hashtag1","hashtag2"]},{"1401929160":["hashtag1","hashtag2"]},{"1401929166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929162, 1401929164, 1401929158, 1401929167, 1401929160, 1401929166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33664321899414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 20:59:03.079059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_35_9646.jpg', '/home/pi/Desktop/images/31122025/20/27/image_31122025_20_28_06_9649.jpg', '/home/pi/Desktop/images/31122025/20/28/image_31122025_20_28_26_10692.jpg', '/home/pi/Desktop/images/31122025/20/28/image_31122025_20_28_36_9586.jpg', '/home/pi/Desktop/images/31122025/20/28/image_31122025_20_28_46_10664.jpg', '/home/pi/Desktop/images/31122025/20/28/image_31122025_20_28_56_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/27/image_31122025_20_27_35_9646.jpg
/home/pi/Desktop/images/31122025/20/27/image_31122025_20_28_06_9649.jpg
/home/pi/Desktop/images/31122025/20/28/image_31122025_20_28_26_10692.jpg
/home/pi/Desktop/images/31122025/20/28/image_31122025_20_28_36_9586.jpg
/home/pi/Desktop/images/31122025/20/28/image_31122025_20_28_46_10664.jpg
/home/pi/Desktop/images/31122025/20/28/image_31122025_20_28_56_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929177","1401929180","1401929168","1401929170","1401929173","1401929175"],"photo_ids_order":["1401929168","1401929170","1401929173","1401929175","1401929177","1401929180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1415abc5329f0201b86ab5fc884cee40.jpg","text":"TemporaryFile(/tmp/multipartBody8242322292303537458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211203827,"filename":"image_31122025_20_28_46_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87d1e482cb6f0d021ef8aa4973dd71fc.jpg","text":"TemporaryFile(/tmp/multipartBody363727219910811613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211203827,"filename":"image_31122025_20_28_56_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d663d77ff59f98a8e06c2a485a17cbc7.jpg","text":"TemporaryFile(/tmp/multipartBody8675381497242966361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211203827,"filename":"image_31122025_20_27_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01915cd6be7b27705fc236715c4d2292.jpg","text":"TemporaryFile(/tmp/multipartBody4154230552843673233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211203827,"filename":"image_31122025_20_28_06_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e77f0a35bcccce27d0a54894e8ba0d8f.jpg","text":"TemporaryFile(/tmp/multipartBody7638769222529986159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211203827,"filename":"image_31122025_20_28_26_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/89a152d0b72488ee8646739038cc9b90.jpg","text":"TemporaryFile(/tmp/multipartBody1418892197194705946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211203827,"filename":"image_31122025_20_28_36_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929173","file1":"1401929170","file0":"1401929168","file4":"1401929177","file5":"1401929180","file3":"1401929175"},"map_files_photo_id_array":[{"photo_id":"1401929180","filename":"file5"},{"photo_id":"1401929173","filename":"file2"},{"photo_id":"1401929177","filename":"file4"},{"photo_id":"1401929170","filename":"file1"},{"photo_id":"1401929168","filename":"file0"},{"photo_id":"1401929175","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929177":["hashtag1","hashtag2"]},{"1401929180":["hashtag1","hashtag2"]},{"1401929168":["hashtag1","hashtag2"]},{"1401929170":["hashtag1","hashtag2"]},{"1401929173":["hashtag1","hashtag2"]},{"1401929175":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929177, 1401929180, 1401929168, 1401929170, 1401929173, 1401929175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.004751443862915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 20:59:42.030891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_10_2779.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_12_2599.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_16_3842.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_19_2692.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_22_2836.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_24_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_10_2779.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_12_2599.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_16_3842.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_19_2692.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_22_2836.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_24_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929195","1401929189","1401929190","1401929193","1401929187","1401929184"],"photo_ids_order":["1401929184","1401929187","1401929189","1401929190","1401929193","1401929195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a5a3f5352d2772686b7cb6e36949080.jpg","text":"TemporaryFile(/tmp/multipartBody8659247773243813880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211243875,"filename":"image_03112025_20_22_24_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0add0c3e4bf81dcaeefc82074a3c282.jpg","text":"TemporaryFile(/tmp/multipartBody8709390565960558587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211243875,"filename":"image_03112025_20_22_16_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9f504db61a1aeddd991b58a23e5ef76.jpg","text":"TemporaryFile(/tmp/multipartBody8757525887027925283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211243875,"filename":"image_03112025_20_22_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/073c48b85155ac62e765566c7c62620f.jpg","text":"TemporaryFile(/tmp/multipartBody3144351057338718240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211243875,"filename":"image_03112025_20_22_22_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce55f72a00aafa94a27b2fce824334f6.jpg","text":"TemporaryFile(/tmp/multipartBody6019459835026896332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211243875,"filename":"image_03112025_20_22_12_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4869682be21e437c24607e1cd1b0e739.jpg","text":"TemporaryFile(/tmp/multipartBody8817685930929969384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211243875,"filename":"image_03112025_20_22_10_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929189","file1":"1401929187","file0":"1401929184","file4":"1401929193","file5":"1401929195","file3":"1401929190"},"map_files_photo_id_array":[{"photo_id":"1401929195","filename":"file5"},{"photo_id":"1401929189","filename":"file2"},{"photo_id":"1401929193","filename":"file4"},{"photo_id":"1401929187","filename":"file1"},{"photo_id":"1401929184","filename":"file0"},{"photo_id":"1401929190","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929195":["hashtag1","hashtag2"]},{"1401929189":["hashtag1","hashtag2"]},{"1401929190":["hashtag1","hashtag2"]},{"1401929193":["hashtag1","hashtag2"]},{"1401929187":["hashtag1","hashtag2"]},{"1401929184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929195, 1401929189, 1401929190, 1401929193, 1401929187, 1401929184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.282429933547974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:00:22.243301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_16_9856.jpg', '/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_25_9878.jpg', '/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_36_10691.jpg', '/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_46_9619.jpg', '/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_55_9604.jpg', '/home/pi/Desktop/images/31122025/20/29/image_31122025_20_30_06_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_16_9856.jpg
/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_25_9878.jpg
/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_36_10691.jpg
/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_46_9619.jpg
/home/pi/Desktop/images/31122025/20/29/image_31122025_20_29_55_9604.jpg
/home/pi/Desktop/images/31122025/20/29/image_31122025_20_30_06_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929198","1401929202","1401929204","1401929207","1401929200","1401929196"],"photo_ids_order":["1401929196","1401929198","1401929200","1401929202","1401929204","1401929207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/135382ae279f4cfcc53ec3d0fb8caff9.jpg","text":"TemporaryFile(/tmp/multipartBody8874951746490625729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211282844,"filename":"image_31122025_20_29_25_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2078d2731a54653b1e6bb4c11e3f9959.jpg","text":"TemporaryFile(/tmp/multipartBody5981781103244869902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211282844,"filename":"image_31122025_20_29_46_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/492db4e747b3f2f1d4a9089b77d680c5.jpg","text":"TemporaryFile(/tmp/multipartBody6704155871464210634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211282844,"filename":"image_31122025_20_29_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05d6c3fb739f1c26ad42b962f1fe3318.jpg","text":"TemporaryFile(/tmp/multipartBody7249301324085817124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211282844,"filename":"image_31122025_20_30_06_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0cd1313dd421f6264f17b7b901acdcc.jpg","text":"TemporaryFile(/tmp/multipartBody6954427793148659329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211282844,"filename":"image_31122025_20_29_36_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de24269023641b59b909e48919daf243.jpg","text":"TemporaryFile(/tmp/multipartBody6277790099646622697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211282844,"filename":"image_31122025_20_29_16_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929200","file1":"1401929198","file0":"1401929196","file4":"1401929204","file5":"1401929207","file3":"1401929202"},"map_files_photo_id_array":[{"photo_id":"1401929207","filename":"file5"},{"photo_id":"1401929200","filename":"file2"},{"photo_id":"1401929204","filename":"file4"},{"photo_id":"1401929198","filename":"file1"},{"photo_id":"1401929196","filename":"file0"},{"photo_id":"1401929202","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929198":["hashtag1","hashtag2"]},{"1401929202":["hashtag1","hashtag2"]},{"1401929204":["hashtag1","hashtag2"]},{"1401929207":["hashtag1","hashtag2"]},{"1401929200":["hashtag1","hashtag2"]},{"1401929196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929198, 1401929202, 1401929204, 1401929207, 1401929200, 1401929196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.910274267196655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:01:03.131654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_16_9632.jpg', '/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_25_9604.jpg', '/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_36_10606.jpg', '/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_45_9612.jpg', '/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_55_9758.jpg', '/home/pi/Desktop/images/31122025/20/30/image_31122025_20_31_06_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_16_9632.jpg
/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_25_9604.jpg
/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_36_10606.jpg
/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_45_9612.jpg
/home/pi/Desktop/images/31122025/20/30/image_31122025_20_30_55_9758.jpg
/home/pi/Desktop/images/31122025/20/30/image_31122025_20_31_06_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929211","1401929213","1401929210","1401929212","1401929215","1401929209"],"photo_ids_order":["1401929209","1401929210","1401929211","1401929212","1401929213","1401929215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/514a6e091c434dc240533003f3e4621d.jpg","text":"TemporaryFile(/tmp/multipartBody465064804069829383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211323807,"filename":"image_31122025_20_30_36_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5aec5e2658a813338e1e4e6eeebf667.jpg","text":"TemporaryFile(/tmp/multipartBody5121260499781362228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211323807,"filename":"image_31122025_20_30_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca84a6cf55047c44a0abf557f9214d6a.jpg","text":"TemporaryFile(/tmp/multipartBody464579730398914630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211323807,"filename":"image_31122025_20_30_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4131191742b77350544762bbab8dfb3c.jpg","text":"TemporaryFile(/tmp/multipartBody4629903104496187586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211323807,"filename":"image_31122025_20_30_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f5156b2efab84f3b04bbbd253142a00.jpg","text":"TemporaryFile(/tmp/multipartBody1391362973146774983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211323807,"filename":"image_31122025_20_31_06_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af4f150db7c9fd8c9e97e53561cf38c1.jpg","text":"TemporaryFile(/tmp/multipartBody4337150423568729770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211323807,"filename":"image_31122025_20_30_16_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929211","file1":"1401929210","file0":"1401929209","file4":"1401929213","file5":"1401929215","file3":"1401929212"},"map_files_photo_id_array":[{"photo_id":"1401929215","filename":"file5"},{"photo_id":"1401929211","filename":"file2"},{"photo_id":"1401929213","filename":"file4"},{"photo_id":"1401929210","filename":"file1"},{"photo_id":"1401929209","filename":"file0"},{"photo_id":"1401929212","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929211":["hashtag1","hashtag2"]},{"1401929213":["hashtag1","hashtag2"]},{"1401929210":["hashtag1","hashtag2"]},{"1401929212":["hashtag1","hashtag2"]},{"1401929215":["hashtag1","hashtag2"]},{"1401929209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929211, 1401929213, 1401929210, 1401929212, 1401929215, 1401929209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06624245643616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:01:42.529442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_28_3650.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_30_2594.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_34_3677.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_37_2806.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_40_2746.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_42_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_28_3650.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_30_2594.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_34_3677.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_37_2806.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_40_2746.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_42_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929226","1401929220","1401929222","1401929225","1401929224","1401929223"],"photo_ids_order":["1401929220","1401929222","1401929223","1401929224","1401929225","1401929226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91c3a9fff407774d025caca38b881f32.jpg","text":"TemporaryFile(/tmp/multipartBody735513781999132644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211364411,"filename":"image_03112025_20_22_42_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbdbf88a4f12ebc9632d451f3206c968.jpg","text":"TemporaryFile(/tmp/multipartBody7141906959313645335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211364411,"filename":"image_03112025_20_22_28_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa4501a8521226d10f4e8561374e435f.jpg","text":"TemporaryFile(/tmp/multipartBody4118322101415062643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211364411,"filename":"image_03112025_20_22_30_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf0ad92f41665d022b1dc03b691f52d0.jpg","text":"TemporaryFile(/tmp/multipartBody7747162125071550194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211364411,"filename":"image_03112025_20_22_40_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9a0249b63a95b43f7ab237cd890bb254.jpg","text":"TemporaryFile(/tmp/multipartBody3613272626279323209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211364411,"filename":"image_03112025_20_22_37_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2cb8b58c542cd91c8c0a156dc1ec130.jpg","text":"TemporaryFile(/tmp/multipartBody5510216486425174534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211364411,"filename":"image_03112025_20_22_34_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929223","file1":"1401929222","file0":"1401929220","file4":"1401929225","file5":"1401929226","file3":"1401929224"},"map_files_photo_id_array":[{"photo_id":"1401929226","filename":"file5"},{"photo_id":"1401929223","filename":"file2"},{"photo_id":"1401929225","filename":"file4"},{"photo_id":"1401929222","filename":"file1"},{"photo_id":"1401929220","filename":"file0"},{"photo_id":"1401929224","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929226":["hashtag1","hashtag2"]},{"1401929220":["hashtag1","hashtag2"]},{"1401929222":["hashtag1","hashtag2"]},{"1401929225":["hashtag1","hashtag2"]},{"1401929224":["hashtag1","hashtag2"]},{"1401929223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929226, 1401929220, 1401929222, 1401929225, 1401929224, 1401929223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68666982650757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:02:22.774984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/31/image_31122025_20_31_16_9670.jpg', '/home/pi/Desktop/images/31122025/20/31/image_31122025_20_31_36_10674.jpg', '/home/pi/Desktop/images/31122025/20/31/image_31122025_20_31_46_9747.jpg', '/home/pi/Desktop/images/31122025/20/31/image_31122025_20_31_55_9548.jpg', '/home/pi/Desktop/images/31122025/20/31/image_31122025_20_32_06_10643.jpg', '/home/pi/Desktop/images/31122025/20/32/image_31122025_20_32_15_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/31/image_31122025_20_31_16_9670.jpg
/home/pi/Desktop/images/31122025/20/31/image_31122025_20_31_36_10674.jpg
/home/pi/Desktop/images/31122025/20/31/image_31122025_20_31_46_9747.jpg
/home/pi/Desktop/images/31122025/20/31/image_31122025_20_31_55_9548.jpg
/home/pi/Desktop/images/31122025/20/31/image_31122025_20_32_06_10643.jpg
/home/pi/Desktop/images/31122025/20/32/image_31122025_20_32_15_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929232","1401929240","1401929234","1401929228","1401929230","1401929236"],"photo_ids_order":["1401929228","1401929230","1401929232","1401929234","1401929236","1401929240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22250e7493a87d755d09d987f2ff78b9.jpg","text":"TemporaryFile(/tmp/multipartBody2716436291325226942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211403366,"filename":"image_31122025_20_31_46_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8ba0e13ee6b8deb3ddd496d0b3f36376.jpg","text":"TemporaryFile(/tmp/multipartBody1029556425608300257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211403366,"filename":"image_31122025_20_32_15_9442.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e420051cee382213af63b575df770b2.jpg","text":"TemporaryFile(/tmp/multipartBody5722514952948169073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211403366,"filename":"image_31122025_20_31_55_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ad8c486a9b00aa7df711f7f2c02d752.jpg","text":"TemporaryFile(/tmp/multipartBody4947240317976692317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211403366,"filename":"image_31122025_20_31_16_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed0155b907aa1649cf39d8242022206a.jpg","text":"TemporaryFile(/tmp/multipartBody1355658139746271393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211403366,"filename":"image_31122025_20_31_36_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10f17f8cd8f9a28bbe6505b3e2c9ac27.jpg","text":"TemporaryFile(/tmp/multipartBody6741329009303405117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211403366,"filename":"image_31122025_20_32_06_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929232","file1":"1401929230","file0":"1401929228","file4":"1401929236","file5":"1401929240","file3":"1401929234"},"map_files_photo_id_array":[{"photo_id":"1401929240","filename":"file5"},{"photo_id":"1401929232","filename":"file2"},{"photo_id":"1401929236","filename":"file4"},{"photo_id":"1401929230","filename":"file1"},{"photo_id":"1401929228","filename":"file0"},{"photo_id":"1401929234","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929232":["hashtag1","hashtag2"]},{"1401929240":["hashtag1","hashtag2"]},{"1401929234":["hashtag1","hashtag2"]},{"1401929228":["hashtag1","hashtag2"]},{"1401929230":["hashtag1","hashtag2"]},{"1401929236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929232, 1401929240, 1401929234, 1401929228, 1401929230, 1401929236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54962873458862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:03:02.605352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/32/image_31122025_20_32_26_10627.jpg', '/home/pi/Desktop/images/31122025/20/32/image_31122025_20_32_36_9568.jpg', '/home/pi/Desktop/images/31122025/20/32/image_31122025_20_33_06_9824.jpg', '/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_16_9901.jpg', '/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_25_9626.jpg', '/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_36_10840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/32/image_31122025_20_32_26_10627.jpg
/home/pi/Desktop/images/31122025/20/32/image_31122025_20_32_36_9568.jpg
/home/pi/Desktop/images/31122025/20/32/image_31122025_20_33_06_9824.jpg
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_16_9901.jpg
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_25_9626.jpg
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_36_10840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929246","1401929249","1401929243","1401929242","1401929245","1401929244"],"photo_ids_order":["1401929242","1401929243","1401929244","1401929245","1401929246","1401929249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0816747fc792c1aa90c0b1abc6ad45be.jpg","text":"TemporaryFile(/tmp/multipartBody4864063416904325517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211443244,"filename":"image_31122025_20_33_25_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cc4b2dfbe35031cc05f5cb726cbaf53.jpg","text":"TemporaryFile(/tmp/multipartBody77631839590122165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211443244,"filename":"image_31122025_20_33_36_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c855178b7d15dfc32b4950c7fd9d89b7.jpg","text":"TemporaryFile(/tmp/multipartBody1935880998483045075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211443244,"filename":"image_31122025_20_32_36_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d7d387fd72909ff9176d9927ca36d1c.jpg","text":"TemporaryFile(/tmp/multipartBody8170397291017955785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211443244,"filename":"image_31122025_20_32_26_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0dbf4ed0d72dd5a5a2d6e5ea1d107133.jpg","text":"TemporaryFile(/tmp/multipartBody275831317008789245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211443244,"filename":"image_31122025_20_33_16_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e9818904726b91014cc6d68254e1520.jpg","text":"TemporaryFile(/tmp/multipartBody4874244924537351019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211443244,"filename":"image_31122025_20_33_06_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929244","file1":"1401929243","file0":"1401929242","file4":"1401929246","file5":"1401929249","file3":"1401929245"},"map_files_photo_id_array":[{"photo_id":"1401929249","filename":"file5"},{"photo_id":"1401929244","filename":"file2"},{"photo_id":"1401929246","filename":"file4"},{"photo_id":"1401929243","filename":"file1"},{"photo_id":"1401929242","filename":"file0"},{"photo_id":"1401929245","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929246":["hashtag1","hashtag2"]},{"1401929249":["hashtag1","hashtag2"]},{"1401929243":["hashtag1","hashtag2"]},{"1401929242":["hashtag1","hashtag2"]},{"1401929245":["hashtag1","hashtag2"]},{"1401929244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929246, 1401929249, 1401929243, 1401929242, 1401929245, 1401929244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86270880699158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:03:41.832485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_46_3608.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_49_2911.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_52_2791.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_54_2815.jpg', '/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_57_2814.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_16_18566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_46_3608.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_49_2911.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_52_2791.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_54_2815.jpg
/home/pi/Desktop/images/03112025/20/22/image_03112025_20_22_57_2814.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_16_18566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929258","1401929261","1401929257","1401929254","1401929256","1401929259"],"photo_ids_order":["1401929254","1401929256","1401929257","1401929258","1401929259","1401929261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf2b71f2ed4364c8e0c16cb8f913d836.jpg","text":"TemporaryFile(/tmp/multipartBody2487472772127079471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211483688,"filename":"image_03112025_20_22_54_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b5b9f22226ced33891cfdb2a1d04302.jpg","text":"TemporaryFile(/tmp/multipartBody7971306349294709934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211483688,"filename":"image_03112025_20_23_16_18566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbdb111692d60a3a5ba9ff0f5e282562.jpg","text":"TemporaryFile(/tmp/multipartBody430345383479708197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211483688,"filename":"image_03112025_20_22_52_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32af3ccd3e0c1cb881150aac5fe6a980.jpg","text":"TemporaryFile(/tmp/multipartBody4240825899201615039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211483688,"filename":"image_03112025_20_22_46_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72899831d32dde3738ce38717785fade.jpg","text":"TemporaryFile(/tmp/multipartBody3150535025665394910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211483688,"filename":"image_03112025_20_22_49_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5b84a0f7cf43b7bb528ca31b34ef917.jpg","text":"TemporaryFile(/tmp/multipartBody3507944015233374936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211483688,"filename":"image_03112025_20_22_57_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929257","file1":"1401929256","file0":"1401929254","file4":"1401929259","file5":"1401929261","file3":"1401929258"},"map_files_photo_id_array":[{"photo_id":"1401929261","filename":"file5"},{"photo_id":"1401929257","filename":"file2"},{"photo_id":"1401929259","filename":"file4"},{"photo_id":"1401929256","filename":"file1"},{"photo_id":"1401929254","filename":"file0"},{"photo_id":"1401929258","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929258":["hashtag1","hashtag2"]},{"1401929261":["hashtag1","hashtag2"]},{"1401929257":["hashtag1","hashtag2"]},{"1401929254":["hashtag1","hashtag2"]},{"1401929256":["hashtag1","hashtag2"]},{"1401929259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929258, 1401929261, 1401929257, 1401929254, 1401929256, 1401929259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87316060066223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:04:21.954960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_46_9722.jpg', '/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_56_9934.jpg', '/home/pi/Desktop/images/31122025/20/33/image_31122025_20_34_05_9577.jpg', '/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_16_10258.jpg', '/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_36_10742.jpg', '/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_46_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_46_9722.jpg
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_56_9934.jpg
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_34_05_9577.jpg
/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_16_10258.jpg
/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_36_10742.jpg
/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_46_9887.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.48729991912841797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:04:31.994728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_18_1724.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_22_4284.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_24_1680.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_25_1531.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_27_1592.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_28_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_18_1724.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_22_4284.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_24_1680.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_25_1531.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_27_1592.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_28_1554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929276","1401929279","1401929278","1401929271","1401929274","1401929268"],"photo_ids_order":["1401929268","1401929271","1401929274","1401929276","1401929278","1401929279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d95c2a25dd887a8386088b6acf44e09.jpg","text":"TemporaryFile(/tmp/multipartBody9004566255025629156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211534067,"filename":"image_03112025_20_23_25_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/624f8455dbd9e4c6fbf2c5fb4617896a.jpg","text":"TemporaryFile(/tmp/multipartBody7716738341436083247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211534067,"filename":"image_03112025_20_23_28_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc4d499d9573dbc2b30778d30e8438f4.jpg","text":"TemporaryFile(/tmp/multipartBody3412350802460737642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211534067,"filename":"image_03112025_20_23_27_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8a1bbe95cb3d3dcd95501fc07907cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2576695493781888506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211534067,"filename":"image_03112025_20_23_22_4284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b893a23570852b2d1a1bd40de059802.jpg","text":"TemporaryFile(/tmp/multipartBody6519512723800250761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211534067,"filename":"image_03112025_20_23_24_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d723d7146425f4dcb20a40ac3ff3ef7.jpg","text":"TemporaryFile(/tmp/multipartBody5606507235877758423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211534067,"filename":"image_03112025_20_23_18_1724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929274","file1":"1401929271","file0":"1401929268","file4":"1401929278","file5":"1401929279","file3":"1401929276"},"map_files_photo_id_array":[{"photo_id":"1401929279","filename":"file5"},{"photo_id":"1401929274","filename":"file2"},{"photo_id":"1401929278","filename":"file4"},{"photo_id":"1401929271","filename":"file1"},{"photo_id":"1401929268","filename":"file0"},{"photo_id":"1401929276","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929276":["hashtag1","hashtag2"]},{"1401929279":["hashtag1","hashtag2"]},{"1401929278":["hashtag1","hashtag2"]},{"1401929271":["hashtag1","hashtag2"]},{"1401929274":["hashtag1","hashtag2"]},{"1401929268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929276, 1401929279, 1401929278, 1401929271, 1401929274, 1401929268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.461020946502686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:05:12.253511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_30_1636.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_31_1659.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_33_1761.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_35_1544.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_36_1588.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_38_1707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_30_1636.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_31_1659.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_33_1761.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_35_1544.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_36_1588.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_38_1707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929285","1401929287","1401929281","1401929289","1401929280","1401929283"],"photo_ids_order":["1401929280","1401929281","1401929283","1401929285","1401929287","1401929289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/079c51611880c22862ed1ca9297bfe4c.jpg","text":"TemporaryFile(/tmp/multipartBody5057514040736265347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211573986,"filename":"image_03112025_20_23_35_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aeb100b789e47336ad054aa27dd32b75.jpg","text":"TemporaryFile(/tmp/multipartBody3699798141121178333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211573986,"filename":"image_03112025_20_23_36_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/370a1d140b76e0321794480b6c545ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8533477699540680432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211573986,"filename":"image_03112025_20_23_31_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25271fd14df944ede6c69c2f8581c31f.jpg","text":"TemporaryFile(/tmp/multipartBody8528560183369030943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211573986,"filename":"image_03112025_20_23_38_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6867987c40c7fc1fd7d81e0ea3a6dad.jpg","text":"TemporaryFile(/tmp/multipartBody5566939235453784575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211573986,"filename":"image_03112025_20_23_30_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6c508939c35becd51bd7d5a97cb5ab3.jpg","text":"TemporaryFile(/tmp/multipartBody8822898911431243793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211573986,"filename":"image_03112025_20_23_33_1761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929283","file1":"1401929281","file0":"1401929280","file4":"1401929287","file5":"1401929289","file3":"1401929285"},"map_files_photo_id_array":[{"photo_id":"1401929289","filename":"file5"},{"photo_id":"1401929283","filename":"file2"},{"photo_id":"1401929287","filename":"file4"},{"photo_id":"1401929281","filename":"file1"},{"photo_id":"1401929280","filename":"file0"},{"photo_id":"1401929285","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929285":["hashtag1","hashtag2"]},{"1401929287":["hashtag1","hashtag2"]},{"1401929281":["hashtag1","hashtag2"]},{"1401929289":["hashtag1","hashtag2"]},{"1401929280":["hashtag1","hashtag2"]},{"1401929283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929285, 1401929287, 1401929281, 1401929289, 1401929280, 1401929283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.981157302856445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:06:04.603121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:06:12.906894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_40_1930.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_43_2677.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_45_2565.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_49_3672.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_52_2747.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_54_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_40_1930.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_43_2677.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_45_2565.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_49_3672.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_52_2747.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_54_2820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929297","1401929301","1401929293","1401929299","1401929292","1401929295"],"photo_ids_order":["1401929292","1401929293","1401929295","1401929297","1401929299","1401929301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf8509dc8a5cd76892ad3b3ef8b75997.jpg","text":"TemporaryFile(/tmp/multipartBody7470372138251215890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211637581,"filename":"image_03112025_20_23_49_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a386fb68d3f67b7c6b70086a0f771dd0.jpg","text":"TemporaryFile(/tmp/multipartBody3738838899349588943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211637581,"filename":"image_03112025_20_23_54_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7eb64cc75d8ea63ea0e33cc1d25807c.jpg","text":"TemporaryFile(/tmp/multipartBody4550247761721037899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211637581,"filename":"image_03112025_20_23_43_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97b1f11eb8d5658c9a40b63958739b44.jpg","text":"TemporaryFile(/tmp/multipartBody3887216711064267046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211637581,"filename":"image_03112025_20_23_52_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a73c6b2e1d76d9dbb23a57fc55a6f92.jpg","text":"TemporaryFile(/tmp/multipartBody7556532958141315398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211637581,"filename":"image_03112025_20_23_40_1930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be20ae743723b9690a9cf10aef68fa71.jpg","text":"TemporaryFile(/tmp/multipartBody171135854863766450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211637581,"filename":"image_03112025_20_23_45_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929295","file1":"1401929293","file0":"1401929292","file4":"1401929299","file5":"1401929301","file3":"1401929297"},"map_files_photo_id_array":[{"photo_id":"1401929301","filename":"file5"},{"photo_id":"1401929295","filename":"file2"},{"photo_id":"1401929299","filename":"file4"},{"photo_id":"1401929293","filename":"file1"},{"photo_id":"1401929292","filename":"file0"},{"photo_id":"1401929297","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929297":["hashtag1","hashtag2"]},{"1401929301":["hashtag1","hashtag2"]},{"1401929293":["hashtag1","hashtag2"]},{"1401929299":["hashtag1","hashtag2"]},{"1401929292":["hashtag1","hashtag2"]},{"1401929295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929297, 1401929301, 1401929293, 1401929299, 1401929292, 1401929295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68644618988037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:07:02.716987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_46_9722.jpg', '/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_56_9934.jpg', '/home/pi/Desktop/images/31122025/20/33/image_31122025_20_34_05_9577.jpg', '/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_16_10258.jpg', '/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_36_10742.jpg', '/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_46_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_46_9722.jpg
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_33_56_9934.jpg
/home/pi/Desktop/images/31122025/20/33/image_31122025_20_34_05_9577.jpg
/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_16_10258.jpg
/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_36_10742.jpg
/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_46_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929310","1401929313","1401929307","1401929309","1401929311","1401929308"],"photo_ids_order":["1401929307","1401929308","1401929309","1401929310","1401929311","1401929313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/80709b21bd1d92e2670e799b88946089.jpg","text":"TemporaryFile(/tmp/multipartBody6365999072964426866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211683375,"filename":"image_31122025_20_34_16_10258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26bc8980ae1845d7cf7deaf00d023dda.jpg","text":"TemporaryFile(/tmp/multipartBody867576655492399307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211683375,"filename":"image_31122025_20_34_46_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdc076c8d3458f8b823a7c1069d1df1a.jpg","text":"TemporaryFile(/tmp/multipartBody2695737384493901562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211683375,"filename":"image_31122025_20_33_46_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f5d88d60dd8642a8bd99bc339d923b4.jpg","text":"TemporaryFile(/tmp/multipartBody3190489580174062278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211683375,"filename":"image_31122025_20_34_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ed18568085bf9c74cb6bf691604f3b0.jpg","text":"TemporaryFile(/tmp/multipartBody8334002216461952487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211683375,"filename":"image_31122025_20_34_36_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/69c14687bd487d5f2bac3658cf8e50f8.jpg","text":"TemporaryFile(/tmp/multipartBody7400138583617582301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211683375,"filename":"image_31122025_20_33_56_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929309","file1":"1401929308","file0":"1401929307","file4":"1401929311","file5":"1401929313","file3":"1401929310"},"map_files_photo_id_array":[{"photo_id":"1401929313","filename":"file5"},{"photo_id":"1401929309","filename":"file2"},{"photo_id":"1401929311","filename":"file4"},{"photo_id":"1401929308","filename":"file1"},{"photo_id":"1401929307","filename":"file0"},{"photo_id":"1401929310","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929310":["hashtag1","hashtag2"]},{"1401929313":["hashtag1","hashtag2"]},{"1401929307":["hashtag1","hashtag2"]},{"1401929309":["hashtag1","hashtag2"]},{"1401929311":["hashtag1","hashtag2"]},{"1401929308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929310, 1401929313, 1401929307, 1401929309, 1401929311, 1401929308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.039878368377686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:07:42.145610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_57_2755.jpg', '/home/pi/Desktop/images/03112025/20/23/image_03112025_20_24_01_3723.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_06_4625.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_17_11495.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_19_1804.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_25_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_23_57_2755.jpg
/home/pi/Desktop/images/03112025/20/23/image_03112025_20_24_01_3723.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_06_4625.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_17_11495.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_19_1804.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_25_1739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929325","1401929319","1401929321","1401929324","1401929323","1401929322"],"photo_ids_order":["1401929319","1401929321","1401929322","1401929323","1401929324","1401929325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/385679d8f018bdd0b51ef44d417609c6.jpg","text":"TemporaryFile(/tmp/multipartBody4367980661567133118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211723960,"filename":"image_03112025_20_24_25_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/415b1c812b94ef97a82513ce6acf654a.jpg","text":"TemporaryFile(/tmp/multipartBody9120603963323641564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211723960,"filename":"image_03112025_20_23_57_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/243858c9e2276b8e4d342eb1cf1b2068.jpg","text":"TemporaryFile(/tmp/multipartBody4177336222416021789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211723960,"filename":"image_03112025_20_24_01_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07a366fb24947d5397690e91bb71f952.jpg","text":"TemporaryFile(/tmp/multipartBody247007459410505317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211723960,"filename":"image_03112025_20_24_19_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6ec52a01f01b2afa0ce2e30bdedf729.jpg","text":"TemporaryFile(/tmp/multipartBody8646736179317603940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211723960,"filename":"image_03112025_20_24_17_11495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/99b1e13962800bdfc6a2e2f76b2071b3.jpg","text":"TemporaryFile(/tmp/multipartBody7002222246644629178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211723960,"filename":"image_03112025_20_24_06_4625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929322","file1":"1401929321","file0":"1401929319","file4":"1401929324","file5":"1401929325","file3":"1401929323"},"map_files_photo_id_array":[{"photo_id":"1401929325","filename":"file5"},{"photo_id":"1401929322","filename":"file2"},{"photo_id":"1401929324","filename":"file4"},{"photo_id":"1401929321","filename":"file1"},{"photo_id":"1401929319","filename":"file0"},{"photo_id":"1401929323","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929325":["hashtag1","hashtag2"]},{"1401929319":["hashtag1","hashtag2"]},{"1401929321":["hashtag1","hashtag2"]},{"1401929324":["hashtag1","hashtag2"]},{"1401929323":["hashtag1","hashtag2"]},{"1401929322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929325, 1401929319, 1401929321, 1401929324, 1401929323, 1401929322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.572514295578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:08:22.489022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_56_9645.jpg', '/home/pi/Desktop/images/31122025/20/34/image_31122025_20_35_05_9624.jpg', '/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_16_10541.jpg', '/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_25_9610.jpg', '/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_36_10531.jpg', '/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_46_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/34/image_31122025_20_34_56_9645.jpg
/home/pi/Desktop/images/31122025/20/34/image_31122025_20_35_05_9624.jpg
/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_16_10541.jpg
/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_25_9610.jpg
/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_36_10531.jpg
/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_46_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929330","1401929332","1401929326","1401929334","1401929328","1401929337"],"photo_ids_order":["1401929326","1401929328","1401929330","1401929332","1401929334","1401929337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90eaaabd9917651a505613934b16ac50.jpg","text":"TemporaryFile(/tmp/multipartBody3279675580877270673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211763079,"filename":"image_31122025_20_35_16_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bb338b492f11ed959e8f5dfd8694e48.jpg","text":"TemporaryFile(/tmp/multipartBody1132954975986539294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211763079,"filename":"image_31122025_20_35_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1f525cb78f72e287c9fa95c33d6d4ad.jpg","text":"TemporaryFile(/tmp/multipartBody1011246813255614722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211763079,"filename":"image_31122025_20_34_56_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6184ce683712c8f93f833d0d5c76d94a.jpg","text":"TemporaryFile(/tmp/multipartBody7945867253585654173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211763079,"filename":"image_31122025_20_35_36_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7f4b3094a087c95985b99a729da4669.jpg","text":"TemporaryFile(/tmp/multipartBody8337563555217505363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211763079,"filename":"image_31122025_20_35_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/000f99a24182c5a8a873a655e5186375.jpg","text":"TemporaryFile(/tmp/multipartBody969383767672202514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211763079,"filename":"image_31122025_20_35_46_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929330","file1":"1401929328","file0":"1401929326","file4":"1401929334","file5":"1401929337","file3":"1401929332"},"map_files_photo_id_array":[{"photo_id":"1401929337","filename":"file5"},{"photo_id":"1401929330","filename":"file2"},{"photo_id":"1401929334","filename":"file4"},{"photo_id":"1401929328","filename":"file1"},{"photo_id":"1401929326","filename":"file0"},{"photo_id":"1401929332","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929330":["hashtag1","hashtag2"]},{"1401929332":["hashtag1","hashtag2"]},{"1401929326":["hashtag1","hashtag2"]},{"1401929334":["hashtag1","hashtag2"]},{"1401929328":["hashtag1","hashtag2"]},{"1401929337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929330, 1401929332, 1401929326, 1401929334, 1401929328, 1401929337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.564311265945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:09:03.641765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_56_10607.jpg', '/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_16_10004.jpg', '/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_26_10163.jpg', '/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_36_9560.jpg', '/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_45_9828.jpg', '/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_56_10538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/35/image_31122025_20_35_56_10607.jpg
/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_16_10004.jpg
/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_26_10163.jpg
/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_36_9560.jpg
/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_45_9828.jpg
/home/pi/Desktop/images/31122025/20/36/image_31122025_20_36_56_10538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929342","1401929344","1401929347","1401929346","1401929340","1401929343"],"photo_ids_order":["1401929340","1401929342","1401929343","1401929344","1401929346","1401929347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e6cab79ea1c3a52405703b758e86dc9.jpg","text":"TemporaryFile(/tmp/multipartBody8838141762696028137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211804430,"filename":"image_31122025_20_36_16_10004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4069d65a346c4e95aae884946600f0f7.jpg","text":"TemporaryFile(/tmp/multipartBody4629312604311298009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211804430,"filename":"image_31122025_20_36_36_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40c76eb8b82d8c2bd5afd1d2c5830259.jpg","text":"TemporaryFile(/tmp/multipartBody1732424184543555242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211804430,"filename":"image_31122025_20_36_56_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4cee51c4bd7eba7313b3ae0ee16e84c2.jpg","text":"TemporaryFile(/tmp/multipartBody2432023945767139225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211804430,"filename":"image_31122025_20_36_45_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b1a05fd5b935476c819f1df582ce569.jpg","text":"TemporaryFile(/tmp/multipartBody6650217570546819688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211804430,"filename":"image_31122025_20_35_56_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d774e6ec7d41cc7f2de944522b8b2a3f.jpg","text":"TemporaryFile(/tmp/multipartBody328836454272675637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211804430,"filename":"image_31122025_20_36_26_10163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929343","file1":"1401929342","file0":"1401929340","file4":"1401929346","file5":"1401929347","file3":"1401929344"},"map_files_photo_id_array":[{"photo_id":"1401929347","filename":"file5"},{"photo_id":"1401929343","filename":"file2"},{"photo_id":"1401929346","filename":"file4"},{"photo_id":"1401929342","filename":"file1"},{"photo_id":"1401929340","filename":"file0"},{"photo_id":"1401929344","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929342":["hashtag1","hashtag2"]},{"1401929344":["hashtag1","hashtag2"]},{"1401929347":["hashtag1","hashtag2"]},{"1401929346":["hashtag1","hashtag2"]},{"1401929340":["hashtag1","hashtag2"]},{"1401929343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929342, 1401929344, 1401929347, 1401929346, 1401929340, 1401929343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.714983224868774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:09:42.626134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_27_1750.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_28_1598.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_30_1543.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_33_1703.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_35_1623.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_39_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_27_1750.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_28_1598.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_30_1543.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_33_1703.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_35_1623.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_39_2824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929357","1401929354","1401929356","1401929352","1401929355","1401929358"],"photo_ids_order":["1401929352","1401929354","1401929355","1401929356","1401929357","1401929358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52d30befe2bbbaa8b02ea2b01569f4de.jpg","text":"TemporaryFile(/tmp/multipartBody2863180624767876328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211844514,"filename":"image_03112025_20_24_35_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62a3384505b0dc128de7707adbe7f7dc.jpg","text":"TemporaryFile(/tmp/multipartBody1901508469119346373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211844514,"filename":"image_03112025_20_24_28_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d23dba479980a7c0fff8ff6c3747a55.jpg","text":"TemporaryFile(/tmp/multipartBody8878292472293314082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211844514,"filename":"image_03112025_20_24_33_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a739fe985a25faf45680c90cb864ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8147415069623512772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211844514,"filename":"image_03112025_20_24_27_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/219bd57b77b47a4581d38742fc513138.jpg","text":"TemporaryFile(/tmp/multipartBody1555211309757003150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211844514,"filename":"image_03112025_20_24_30_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b11f91672c0ed2b34410fe78abb73984.jpg","text":"TemporaryFile(/tmp/multipartBody3372481188375244822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211844514,"filename":"image_03112025_20_24_39_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929355","file1":"1401929354","file0":"1401929352","file4":"1401929357","file5":"1401929358","file3":"1401929356"},"map_files_photo_id_array":[{"photo_id":"1401929358","filename":"file5"},{"photo_id":"1401929355","filename":"file2"},{"photo_id":"1401929357","filename":"file4"},{"photo_id":"1401929354","filename":"file1"},{"photo_id":"1401929352","filename":"file0"},{"photo_id":"1401929356","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929357":["hashtag1","hashtag2"]},{"1401929354":["hashtag1","hashtag2"]},{"1401929356":["hashtag1","hashtag2"]},{"1401929352":["hashtag1","hashtag2"]},{"1401929355":["hashtag1","hashtag2"]},{"1401929358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929357, 1401929354, 1401929356, 1401929352, 1401929355, 1401929358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21679472923279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:10:22.830099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/36/image_31122025_20_37_06_9691.jpg', '/home/pi/Desktop/images/31122025/20/37/image_31122025_20_37_15_9630.jpg', '/home/pi/Desktop/images/31122025/20/37/image_31122025_20_37_26_10708.jpg', '/home/pi/Desktop/images/31122025/20/37/image_31122025_20_37_36_9781.jpg', '/home/pi/Desktop/images/31122025/20/37/image_31122025_20_37_56_10641.jpg', '/home/pi/Desktop/images/31122025/20/37/image_31122025_20_38_06_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/36/image_31122025_20_37_06_9691.jpg
/home/pi/Desktop/images/31122025/20/37/image_31122025_20_37_15_9630.jpg
/home/pi/Desktop/images/31122025/20/37/image_31122025_20_37_26_10708.jpg
/home/pi/Desktop/images/31122025/20/37/image_31122025_20_37_36_9781.jpg
/home/pi/Desktop/images/31122025/20/37/image_31122025_20_37_56_10641.jpg
/home/pi/Desktop/images/31122025/20/37/image_31122025_20_38_06_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929363","1401929366","1401929359","1401929370","1401929364","1401929361"],"photo_ids_order":["1401929359","1401929361","1401929363","1401929364","1401929366","1401929370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ec990e5684d5705b9c51cca7eb72f95.jpg","text":"TemporaryFile(/tmp/multipartBody4472099994918958607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211883417,"filename":"image_31122025_20_37_26_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/335731a7dcb44563c0ebe1a0fffa9734.jpg","text":"TemporaryFile(/tmp/multipartBody4608454290857315529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211883417,"filename":"image_31122025_20_37_56_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d938c29c78cde53aa777016ce2b308f.jpg","text":"TemporaryFile(/tmp/multipartBody1674119989439344645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211883417,"filename":"image_31122025_20_37_06_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b28cc62e6be50dcd18dc242aad6d88c.jpg","text":"TemporaryFile(/tmp/multipartBody7743413964318799747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211883417,"filename":"image_31122025_20_38_06_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03341b47093c3bcee9afe9a9371fce9d.jpg","text":"TemporaryFile(/tmp/multipartBody4068442428151415034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211883417,"filename":"image_31122025_20_37_36_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94fff4bff0b2588430b795eccd0d3aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5133499559515971667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211883417,"filename":"image_31122025_20_37_15_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929363","file1":"1401929361","file0":"1401929359","file4":"1401929366","file5":"1401929370","file3":"1401929364"},"map_files_photo_id_array":[{"photo_id":"1401929370","filename":"file5"},{"photo_id":"1401929363","filename":"file2"},{"photo_id":"1401929366","filename":"file4"},{"photo_id":"1401929361","filename":"file1"},{"photo_id":"1401929359","filename":"file0"},{"photo_id":"1401929364","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929363":["hashtag1","hashtag2"]},{"1401929366":["hashtag1","hashtag2"]},{"1401929359":["hashtag1","hashtag2"]},{"1401929370":["hashtag1","hashtag2"]},{"1401929364":["hashtag1","hashtag2"]},{"1401929361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929363, 1401929366, 1401929359, 1401929370, 1401929364, 1401929361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27218556404114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:11:02.590546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_16_9683.jpg', '/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_25_9710.jpg', '/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_36_10545.jpg', '/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_46_10008.jpg', '/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_56_9742.jpg', '/home/pi/Desktop/images/31122025/20/38/image_31122025_20_39_06_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_16_9683.jpg
/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_25_9710.jpg
/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_36_10545.jpg
/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_46_10008.jpg
/home/pi/Desktop/images/31122025/20/38/image_31122025_20_38_56_9742.jpg
/home/pi/Desktop/images/31122025/20/38/image_31122025_20_39_06_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929381","1401929384","1401929380","1401929377","1401929382","1401929379"],"photo_ids_order":["1401929377","1401929379","1401929380","1401929381","1401929382","1401929384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33f2f14f9d24ab794ebbf6e442b05683.jpg","text":"TemporaryFile(/tmp/multipartBody7467309036173665403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211923261,"filename":"image_31122025_20_38_46_10008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7b22b1263055ed9b449365ecc12418b.jpg","text":"TemporaryFile(/tmp/multipartBody4452625673775899037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211923261,"filename":"image_31122025_20_39_06_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8521876134dcbb7d5cd7c49db85b0dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4350970178480690668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211923261,"filename":"image_31122025_20_38_36_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01f5ab89ea7a90e53f8d13d1565e8ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3630575282580780555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211923261,"filename":"image_31122025_20_38_16_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17a49c9fa26e702ba1a9218f78abfe18.jpg","text":"TemporaryFile(/tmp/multipartBody7976860052643821506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211923261,"filename":"image_31122025_20_38_56_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0802e70acaff0a3a0f61208eff4d0065.jpg","text":"TemporaryFile(/tmp/multipartBody5612195346883302539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211923261,"filename":"image_31122025_20_38_25_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929380","file1":"1401929379","file0":"1401929377","file4":"1401929382","file5":"1401929384","file3":"1401929381"},"map_files_photo_id_array":[{"photo_id":"1401929384","filename":"file5"},{"photo_id":"1401929380","filename":"file2"},{"photo_id":"1401929382","filename":"file4"},{"photo_id":"1401929379","filename":"file1"},{"photo_id":"1401929377","filename":"file0"},{"photo_id":"1401929381","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929381":["hashtag1","hashtag2"]},{"1401929384":["hashtag1","hashtag2"]},{"1401929380":["hashtag1","hashtag2"]},{"1401929377":["hashtag1","hashtag2"]},{"1401929382":["hashtag1","hashtag2"]},{"1401929379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929381, 1401929384, 1401929380, 1401929377, 1401929382, 1401929379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41330647468567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:11:42.062228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_42_2550.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_46_3701.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_51_2667.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_55_3551.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_25_01_3655.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_04_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_42_2550.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_46_3701.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_51_2667.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_55_3551.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_25_01_3655.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_04_2775.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7652747631072998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:12:02.636382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_16_9716.jpg', '/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_26_9820.jpg', '/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_35_9666.jpg', '/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_46_10843.jpg', '/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_56_9645.jpg', '/home/pi/Desktop/images/31122025/20/39/image_31122025_20_40_05_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_16_9716.jpg
/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_26_9820.jpg
/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_35_9666.jpg
/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_46_10843.jpg
/home/pi/Desktop/images/31122025/20/39/image_31122025_20_39_56_9645.jpg
/home/pi/Desktop/images/31122025/20/39/image_31122025_20_40_05_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929396","1401929400","1401929399","1401929402","1401929398","1401929397"],"photo_ids_order":["1401929396","1401929397","1401929398","1401929399","1401929400","1401929402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a8bfdd6e82a2ebe8706d671d89df989.jpg","text":"TemporaryFile(/tmp/multipartBody2183024026870497643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211983262,"filename":"image_31122025_20_39_16_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/121aeffbc997b8aee99e4a737f635cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5354262134014520290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211983262,"filename":"image_31122025_20_39_56_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d08b94d88f629178afd076d482461fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3148388766576158577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211983262,"filename":"image_31122025_20_39_46_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f6bfbe86078a3b09bc9e8504fe80cb7b.jpg","text":"TemporaryFile(/tmp/multipartBody7334505607920094741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211983262,"filename":"image_31122025_20_40_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03b317ef85a691283fb6004d2303e9e7.jpg","text":"TemporaryFile(/tmp/multipartBody6423928919886383749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211983262,"filename":"image_31122025_20_39_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97cadc079a6b7897616fa8e6f3bac85d.jpg","text":"TemporaryFile(/tmp/multipartBody862038656005189229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767211983262,"filename":"image_31122025_20_39_26_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929398","file1":"1401929397","file0":"1401929396","file4":"1401929400","file5":"1401929402","file3":"1401929399"},"map_files_photo_id_array":[{"photo_id":"1401929402","filename":"file5"},{"photo_id":"1401929398","filename":"file2"},{"photo_id":"1401929400","filename":"file4"},{"photo_id":"1401929397","filename":"file1"},{"photo_id":"1401929396","filename":"file0"},{"photo_id":"1401929399","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929396":["hashtag1","hashtag2"]},{"1401929400":["hashtag1","hashtag2"]},{"1401929399":["hashtag1","hashtag2"]},{"1401929402":["hashtag1","hashtag2"]},{"1401929398":["hashtag1","hashtag2"]},{"1401929397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929396, 1401929400, 1401929399, 1401929402, 1401929398, 1401929397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.742112159729004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:12:42.249117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_42_2550.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_46_3701.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_51_2667.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_55_3551.jpg', '/home/pi/Desktop/images/03112025/20/24/image_03112025_20_25_01_3655.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_04_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_42_2550.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_46_3701.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_51_2667.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_24_55_3551.jpg
/home/pi/Desktop/images/03112025/20/24/image_03112025_20_25_01_3655.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_04_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929412","1401929411","1401929414","1401929408","1401929413","1401929415"],"photo_ids_order":["1401929408","1401929411","1401929412","1401929413","1401929414","1401929415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f332e5cfe71c3008985e029d886f8f0.jpg","text":"TemporaryFile(/tmp/multipartBody3689445795253240812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212024045,"filename":"image_03112025_20_24_51_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a807743e2565decaa93dff3cdfb2325.jpg","text":"TemporaryFile(/tmp/multipartBody3893300022794651289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212024045,"filename":"image_03112025_20_24_46_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/26daaa0761ddea72d98330b6fc3ebb1a.jpg","text":"TemporaryFile(/tmp/multipartBody911465987190695248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212024045,"filename":"image_03112025_20_25_01_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c850dc06931186c57dfb8c69eed30f52.jpg","text":"TemporaryFile(/tmp/multipartBody4556661013712521970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212024045,"filename":"image_03112025_20_24_42_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f91c1a09d6c6537f356a40e37f45f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5030446093659210706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212024045,"filename":"image_03112025_20_24_55_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/767602d9715288d11963f3428b2047c8.jpg","text":"TemporaryFile(/tmp/multipartBody6161520304164641545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212024045,"filename":"image_03112025_20_25_04_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929412","file1":"1401929411","file0":"1401929408","file4":"1401929414","file5":"1401929415","file3":"1401929413"},"map_files_photo_id_array":[{"photo_id":"1401929415","filename":"file5"},{"photo_id":"1401929412","filename":"file2"},{"photo_id":"1401929414","filename":"file4"},{"photo_id":"1401929411","filename":"file1"},{"photo_id":"1401929408","filename":"file0"},{"photo_id":"1401929413","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929412":["hashtag1","hashtag2"]},{"1401929411":["hashtag1","hashtag2"]},{"1401929414":["hashtag1","hashtag2"]},{"1401929408":["hashtag1","hashtag2"]},{"1401929413":["hashtag1","hashtag2"]},{"1401929415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929412, 1401929411, 1401929414, 1401929408, 1401929413, 1401929415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.712512254714966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:13:22.451429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/40/image_31122025_20_40_16_10738.jpg', '/home/pi/Desktop/images/31122025/20/40/image_31122025_20_40_26_9727.jpg', '/home/pi/Desktop/images/31122025/20/40/image_31122025_20_40_46_9890.jpg', '/home/pi/Desktop/images/31122025/20/40/image_31122025_20_41_06_9682.jpg', '/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_16_10007.jpg', '/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_26_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/40/image_31122025_20_40_16_10738.jpg
/home/pi/Desktop/images/31122025/20/40/image_31122025_20_40_26_9727.jpg
/home/pi/Desktop/images/31122025/20/40/image_31122025_20_40_46_9890.jpg
/home/pi/Desktop/images/31122025/20/40/image_31122025_20_41_06_9682.jpg
/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_16_10007.jpg
/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_26_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929423","1401929417","1401929425","1401929419","1401929427","1401929421"],"photo_ids_order":["1401929417","1401929419","1401929421","1401929423","1401929425","1401929427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37f26c86fbd32c277a375bef1cb3545a.jpg","text":"TemporaryFile(/tmp/multipartBody1960548352611486531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212063045,"filename":"image_31122025_20_41_06_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f4c6ba939964efeebba6ca9a4a82c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1416164329874578735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212063045,"filename":"image_31122025_20_40_16_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/94bba90f6bd9033339301a7c5b994bce.jpg","text":"TemporaryFile(/tmp/multipartBody1402901370991343739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212063045,"filename":"image_31122025_20_41_16_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/875c1a2e1f278bf5b5ac2d6e081d6df8.jpg","text":"TemporaryFile(/tmp/multipartBody7190575547475810611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212063045,"filename":"image_31122025_20_40_26_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/834d52269640737b82349d9f0fa9deaf.jpg","text":"TemporaryFile(/tmp/multipartBody130750357032068037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212063045,"filename":"image_31122025_20_41_26_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/672b13c0bcf3969f6e6b651fe280d420.jpg","text":"TemporaryFile(/tmp/multipartBody2426847499256802913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212063045,"filename":"image_31122025_20_40_46_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929421","file1":"1401929419","file0":"1401929417","file4":"1401929425","file5":"1401929427","file3":"1401929423"},"map_files_photo_id_array":[{"photo_id":"1401929427","filename":"file5"},{"photo_id":"1401929421","filename":"file2"},{"photo_id":"1401929425","filename":"file4"},{"photo_id":"1401929419","filename":"file1"},{"photo_id":"1401929417","filename":"file0"},{"photo_id":"1401929423","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929423":["hashtag1","hashtag2"]},{"1401929417":["hashtag1","hashtag2"]},{"1401929425":["hashtag1","hashtag2"]},{"1401929419":["hashtag1","hashtag2"]},{"1401929427":["hashtag1","hashtag2"]},{"1401929421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929423, 1401929417, 1401929425, 1401929419, 1401929427, 1401929421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.293986082077026 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:14:15.470996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_06_2877.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_09_2671.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_13_3751.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_16_2785.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_18_2692.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_21_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_06_2877.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_09_2671.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_13_3751.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_16_2785.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_18_2692.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_21_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929430","1401929438","1401929440","1401929431","1401929434","1401929436"],"photo_ids_order":["1401929430","1401929431","1401929434","1401929436","1401929438","1401929440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f824060aa967574e5682a741f7e6cc50.jpg","text":"TemporaryFile(/tmp/multipartBody8881728126449759873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212117236,"filename":"image_03112025_20_25_06_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84dd39d4bb8bfe6989e82b0999c472c1.jpg","text":"TemporaryFile(/tmp/multipartBody1590378045606644696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212117236,"filename":"image_03112025_20_25_18_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce3f255581623f8522ef8298d5ed3661.jpg","text":"TemporaryFile(/tmp/multipartBody4230460649320863747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212117236,"filename":"image_03112025_20_25_21_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db66f152d63501b0d32eeb22f6a73152.jpg","text":"TemporaryFile(/tmp/multipartBody1244021267846115872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212117236,"filename":"image_03112025_20_25_09_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b89dfd4d03f4b8bb416501d6383f1e88.jpg","text":"TemporaryFile(/tmp/multipartBody5192503139304875836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212117236,"filename":"image_03112025_20_25_13_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4ec7739ea68671e8c1727e6dbc6b832b.jpg","text":"TemporaryFile(/tmp/multipartBody6261524896717117325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212117236,"filename":"image_03112025_20_25_16_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929434","file1":"1401929431","file0":"1401929430","file4":"1401929438","file5":"1401929440","file3":"1401929436"},"map_files_photo_id_array":[{"photo_id":"1401929440","filename":"file5"},{"photo_id":"1401929434","filename":"file2"},{"photo_id":"1401929438","filename":"file4"},{"photo_id":"1401929431","filename":"file1"},{"photo_id":"1401929430","filename":"file0"},{"photo_id":"1401929436","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929430":["hashtag1","hashtag2"]},{"1401929438":["hashtag1","hashtag2"]},{"1401929440":["hashtag1","hashtag2"]},{"1401929431":["hashtag1","hashtag2"]},{"1401929434":["hashtag1","hashtag2"]},{"1401929436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929430, 1401929438, 1401929440, 1401929431, 1401929434, 1401929436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86112189292908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:15:03.228347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_35_9718.jpg', '/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_46_10590.jpg', '/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_56_9678.jpg', '/home/pi/Desktop/images/31122025/20/41/image_31122025_20_42_05_9811.jpg', '/home/pi/Desktop/images/31122025/20/42/image_31122025_20_42_16_10695.jpg', '/home/pi/Desktop/images/31122025/20/42/image_31122025_20_42_25_9159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_35_9718.jpg
/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_46_10590.jpg
/home/pi/Desktop/images/31122025/20/41/image_31122025_20_41_56_9678.jpg
/home/pi/Desktop/images/31122025/20/41/image_31122025_20_42_05_9811.jpg
/home/pi/Desktop/images/31122025/20/42/image_31122025_20_42_16_10695.jpg
/home/pi/Desktop/images/31122025/20/42/image_31122025_20_42_25_9159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929450","1401929444","1401929447","1401929446","1401929445","1401929448"],"photo_ids_order":["1401929444","1401929445","1401929446","1401929447","1401929448","1401929450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b12b258d4545d7bd257c88959eb15a11.jpg","text":"TemporaryFile(/tmp/multipartBody8387962843820138570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212163906,"filename":"image_31122025_20_42_25_9159.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e18337237ccdfd287285e853b2839d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3192635287596958396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212163906,"filename":"image_31122025_20_41_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5abd25b7cc689c4809962b8bab8e7e04.jpg","text":"TemporaryFile(/tmp/multipartBody4644190469982037917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212163906,"filename":"image_31122025_20_42_05_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b0e1b7b169af8aee3ee91a3a31f2283.jpg","text":"TemporaryFile(/tmp/multipartBody228920993845760520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212163906,"filename":"image_31122025_20_41_56_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b5cef5e61d1b49ea852b5b0f5299457d.jpg","text":"TemporaryFile(/tmp/multipartBody1144814008138804354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212163906,"filename":"image_31122025_20_41_46_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b411211ed0608d9145bacb422c0a88d9.jpg","text":"TemporaryFile(/tmp/multipartBody7945046444298650428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212163906,"filename":"image_31122025_20_42_16_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929446","file1":"1401929445","file0":"1401929444","file4":"1401929448","file5":"1401929450","file3":"1401929447"},"map_files_photo_id_array":[{"photo_id":"1401929450","filename":"file5"},{"photo_id":"1401929446","filename":"file2"},{"photo_id":"1401929448","filename":"file4"},{"photo_id":"1401929445","filename":"file1"},{"photo_id":"1401929444","filename":"file0"},{"photo_id":"1401929447","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929450":["hashtag1","hashtag2"]},{"1401929444":["hashtag1","hashtag2"]},{"1401929447":["hashtag1","hashtag2"]},{"1401929446":["hashtag1","hashtag2"]},{"1401929445":["hashtag1","hashtag2"]},{"1401929448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929450, 1401929444, 1401929447, 1401929446, 1401929445, 1401929448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.222837686538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:15:42.675557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_25_3593.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_27_2698.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_30_2675.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_39_2571.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_43_3799.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_46_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_25_3593.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_27_2698.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_30_2675.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_39_2571.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_43_3799.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_46_2805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929462","1401929459","1401929455","1401929458","1401929460","1401929457"],"photo_ids_order":["1401929455","1401929457","1401929458","1401929459","1401929460","1401929462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b1521dc8db5ab7f8763a2c822783377.jpg","text":"TemporaryFile(/tmp/multipartBody5321695630287505788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212204598,"filename":"image_03112025_20_25_46_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e8ca0b2385546419b596d446da36c61.jpg","text":"TemporaryFile(/tmp/multipartBody3489455219040353034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212204598,"filename":"image_03112025_20_25_39_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8471b7fdfba374ec14260627fd6c16fe.jpg","text":"TemporaryFile(/tmp/multipartBody6903649028079741010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212204598,"filename":"image_03112025_20_25_25_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/987277499231752a64fa4f45f0a915c8.jpg","text":"TemporaryFile(/tmp/multipartBody8077215258430887671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212204598,"filename":"image_03112025_20_25_30_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98a97c4bf5a921228280366ff5a8547f.jpg","text":"TemporaryFile(/tmp/multipartBody3844088842156353855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212204598,"filename":"image_03112025_20_25_43_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/faf7342389020ad5516edfdc70cba993.jpg","text":"TemporaryFile(/tmp/multipartBody4657066161943856699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212204598,"filename":"image_03112025_20_25_27_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929458","file1":"1401929457","file0":"1401929455","file4":"1401929460","file5":"1401929462","file3":"1401929459"},"map_files_photo_id_array":[{"photo_id":"1401929462","filename":"file5"},{"photo_id":"1401929458","filename":"file2"},{"photo_id":"1401929460","filename":"file4"},{"photo_id":"1401929457","filename":"file1"},{"photo_id":"1401929455","filename":"file0"},{"photo_id":"1401929459","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929462":["hashtag1","hashtag2"]},{"1401929459":["hashtag1","hashtag2"]},{"1401929455":["hashtag1","hashtag2"]},{"1401929458":["hashtag1","hashtag2"]},{"1401929460":["hashtag1","hashtag2"]},{"1401929457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929462, 1401929459, 1401929455, 1401929458, 1401929460, 1401929457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69693470001221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:16:21.858773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/42/image_31122025_20_42_36_10650.jpg', '/home/pi/Desktop/images/31122025/20/42/image_31122025_20_42_55_9710.jpg', '/home/pi/Desktop/images/31122025/20/43/image_31122025_20_43_25_9681.jpg', '/home/pi/Desktop/images/31122025/20/43/image_31122025_20_43_35_9858.jpg', '/home/pi/Desktop/images/31122025/20/43/image_31122025_20_43_46_10706.jpg', '/home/pi/Desktop/images/31122025/20/43/image_31122025_20_43_56_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/42/image_31122025_20_42_36_10650.jpg
/home/pi/Desktop/images/31122025/20/42/image_31122025_20_42_55_9710.jpg
/home/pi/Desktop/images/31122025/20/43/image_31122025_20_43_25_9681.jpg
/home/pi/Desktop/images/31122025/20/43/image_31122025_20_43_35_9858.jpg
/home/pi/Desktop/images/31122025/20/43/image_31122025_20_43_46_10706.jpg
/home/pi/Desktop/images/31122025/20/43/image_31122025_20_43_56_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929474","1401929471","1401929465","1401929467","1401929463","1401929469"],"photo_ids_order":["1401929463","1401929465","1401929467","1401929469","1401929471","1401929474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d11e50d62e0dee8ef885dbbc085e60af.jpg","text":"TemporaryFile(/tmp/multipartBody7954240552836359115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212242418,"filename":"image_31122025_20_43_56_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7557b25ff8846a14b1dec5f258b72577.jpg","text":"TemporaryFile(/tmp/multipartBody726277819928667089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212242418,"filename":"image_31122025_20_43_46_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02a269f0a6005be58a14cde69947a4fd.jpg","text":"TemporaryFile(/tmp/multipartBody3961820502226368850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212242418,"filename":"image_31122025_20_42_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62db06faff352e4e7fd674c23e1a09ba.jpg","text":"TemporaryFile(/tmp/multipartBody7412886097452070581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212242418,"filename":"image_31122025_20_43_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b647919885c9a6504bb8a97e9c4e8eb.jpg","text":"TemporaryFile(/tmp/multipartBody6861199690132410490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212242418,"filename":"image_31122025_20_42_36_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a78b55312fa0039050a74f919fad01b.jpg","text":"TemporaryFile(/tmp/multipartBody2325097707612728386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212242418,"filename":"image_31122025_20_43_35_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929467","file1":"1401929465","file0":"1401929463","file4":"1401929471","file5":"1401929474","file3":"1401929469"},"map_files_photo_id_array":[{"photo_id":"1401929474","filename":"file5"},{"photo_id":"1401929467","filename":"file2"},{"photo_id":"1401929471","filename":"file4"},{"photo_id":"1401929465","filename":"file1"},{"photo_id":"1401929463","filename":"file0"},{"photo_id":"1401929469","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929474":["hashtag1","hashtag2"]},{"1401929471":["hashtag1","hashtag2"]},{"1401929465":["hashtag1","hashtag2"]},{"1401929467":["hashtag1","hashtag2"]},{"1401929463":["hashtag1","hashtag2"]},{"1401929469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929474, 1401929471, 1401929465, 1401929467, 1401929463, 1401929469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81159973144531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:17:02.494358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/43/image_31122025_20_44_06_10592.jpg', '/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_15_9099.jpg', '/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_26_10618.jpg', '/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_36_9829.jpg', '/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_46_9906.jpg', '/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/43/image_31122025_20_44_06_10592.jpg
/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_15_9099.jpg
/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_26_10618.jpg
/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_36_9829.jpg
/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_46_9906.jpg
/home/pi/Desktop/images/31122025/20/44/image_31122025_20_44_55_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929480","1401929477","1401929479","1401929482","1401929476","1401929478"],"photo_ids_order":["1401929476","1401929477","1401929478","1401929479","1401929480","1401929482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0b7c9988d8a15657d0c47bebe0382ca.jpg","text":"TemporaryFile(/tmp/multipartBody1855561242035574539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212283165,"filename":"image_31122025_20_44_46_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fabc683a124f89fd280520b8fae471da.jpg","text":"TemporaryFile(/tmp/multipartBody710418324965673225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212283165,"filename":"image_31122025_20_44_15_9099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/997b8f82ab90aac00f0af9b4669bb29d.jpg","text":"TemporaryFile(/tmp/multipartBody8280433400883899714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212283165,"filename":"image_31122025_20_44_36_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a166cd6e205339575aac903969e0effe.jpg","text":"TemporaryFile(/tmp/multipartBody8355823876475600636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212283165,"filename":"image_31122025_20_44_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54edf252c281f76d3696b9e719edc7a7.jpg","text":"TemporaryFile(/tmp/multipartBody5346806953630869024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212283165,"filename":"image_31122025_20_44_06_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/200f25b72f658183d06152ff0a1622ae.jpg","text":"TemporaryFile(/tmp/multipartBody2425510068782512325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212283165,"filename":"image_31122025_20_44_26_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929478","file1":"1401929477","file0":"1401929476","file4":"1401929480","file5":"1401929482","file3":"1401929479"},"map_files_photo_id_array":[{"photo_id":"1401929482","filename":"file5"},{"photo_id":"1401929478","filename":"file2"},{"photo_id":"1401929480","filename":"file4"},{"photo_id":"1401929477","filename":"file1"},{"photo_id":"1401929476","filename":"file0"},{"photo_id":"1401929479","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929480":["hashtag1","hashtag2"]},{"1401929477":["hashtag1","hashtag2"]},{"1401929479":["hashtag1","hashtag2"]},{"1401929482":["hashtag1","hashtag2"]},{"1401929476":["hashtag1","hashtag2"]},{"1401929478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929480, 1401929477, 1401929479, 1401929482, 1401929476, 1401929478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.964040994644165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:17:41.828875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_48_2691.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_52_3526.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_57_2564.jpg', '/home/pi/Desktop/images/03112025/20/25/image_03112025_20_26_01_3533.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_03_2686.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_06_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_48_2691.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_52_3526.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_25_57_2564.jpg
/home/pi/Desktop/images/03112025/20/25/image_03112025_20_26_01_3533.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_03_2686.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_06_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929492","1401929491","1401929494","1401929488","1401929490","1401929493"],"photo_ids_order":["1401929488","1401929490","1401929491","1401929492","1401929493","1401929494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a6d657e4ef6ca637146e987175c5abf.jpg","text":"TemporaryFile(/tmp/multipartBody5686672723726573167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212323747,"filename":"image_03112025_20_26_01_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cb04e41e4a4df8596889cef4ea49e12.jpg","text":"TemporaryFile(/tmp/multipartBody8883233968159683806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212323747,"filename":"image_03112025_20_25_57_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4967012b226fd86c34e182be62831ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2565034907053830737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212323747,"filename":"image_03112025_20_26_06_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18a86379c62e846852d69d4842cd6958.jpg","text":"TemporaryFile(/tmp/multipartBody2752599518717264837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212323747,"filename":"image_03112025_20_25_48_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/944884985897f9b3ded86916f51eeb9a.jpg","text":"TemporaryFile(/tmp/multipartBody3994408999943771329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212323747,"filename":"image_03112025_20_25_52_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/697ad2367c98659307154befdad82775.jpg","text":"TemporaryFile(/tmp/multipartBody7222441273239562305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212323747,"filename":"image_03112025_20_26_03_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929491","file1":"1401929490","file0":"1401929488","file4":"1401929493","file5":"1401929494","file3":"1401929492"},"map_files_photo_id_array":[{"photo_id":"1401929494","filename":"file5"},{"photo_id":"1401929491","filename":"file2"},{"photo_id":"1401929493","filename":"file4"},{"photo_id":"1401929490","filename":"file1"},{"photo_id":"1401929488","filename":"file0"},{"photo_id":"1401929492","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929492":["hashtag1","hashtag2"]},{"1401929491":["hashtag1","hashtag2"]},{"1401929494":["hashtag1","hashtag2"]},{"1401929488":["hashtag1","hashtag2"]},{"1401929490":["hashtag1","hashtag2"]},{"1401929493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929492, 1401929491, 1401929494, 1401929488, 1401929490, 1401929493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60983228683472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:18:22.010915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/45/image_31122025_20_45_16_9703.jpg', '/home/pi/Desktop/images/31122025/20/45/image_31122025_20_45_26_9734.jpg', '/home/pi/Desktop/images/31122025/20/45/image_31122025_20_45_36_10632.jpg', '/home/pi/Desktop/images/31122025/20/45/image_31122025_20_45_46_9526.jpg', '/home/pi/Desktop/images/31122025/20/45/image_31122025_20_46_06_10597.jpg', '/home/pi/Desktop/images/31122025/20/46/image_31122025_20_46_26_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/45/image_31122025_20_45_16_9703.jpg
/home/pi/Desktop/images/31122025/20/45/image_31122025_20_45_26_9734.jpg
/home/pi/Desktop/images/31122025/20/45/image_31122025_20_45_36_10632.jpg
/home/pi/Desktop/images/31122025/20/45/image_31122025_20_45_46_9526.jpg
/home/pi/Desktop/images/31122025/20/45/image_31122025_20_46_06_10597.jpg
/home/pi/Desktop/images/31122025/20/46/image_31122025_20_46_26_9889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929495","1401929498","1401929501","1401929503","1401929506","1401929496"],"photo_ids_order":["1401929495","1401929496","1401929498","1401929501","1401929503","1401929506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e49423fb542326b3b438c9dafec7914e.jpg","text":"TemporaryFile(/tmp/multipartBody891624269925104040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212362645,"filename":"image_31122025_20_45_16_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6365fedd43156e508b9d5d7f1e65052.jpg","text":"TemporaryFile(/tmp/multipartBody6976938225483515014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212362645,"filename":"image_31122025_20_45_36_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a9a1c21d276754b2c2ec02cfde6421d.jpg","text":"TemporaryFile(/tmp/multipartBody3264056389826764213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212362645,"filename":"image_31122025_20_45_46_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/807e61f5232508082e12a1efb9e77303.jpg","text":"TemporaryFile(/tmp/multipartBody7003719822520425921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212362645,"filename":"image_31122025_20_46_06_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/866d622d8077bfc5cefda56ece72fb9e.jpg","text":"TemporaryFile(/tmp/multipartBody7836269779702422051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212362645,"filename":"image_31122025_20_46_26_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a22caace386c627940ed73a6cc60cfe5.jpg","text":"TemporaryFile(/tmp/multipartBody8124730216227376112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212362645,"filename":"image_31122025_20_45_26_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929498","file1":"1401929496","file0":"1401929495","file4":"1401929503","file5":"1401929506","file3":"1401929501"},"map_files_photo_id_array":[{"photo_id":"1401929506","filename":"file5"},{"photo_id":"1401929498","filename":"file2"},{"photo_id":"1401929503","filename":"file4"},{"photo_id":"1401929496","filename":"file1"},{"photo_id":"1401929495","filename":"file0"},{"photo_id":"1401929501","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929495":["hashtag1","hashtag2"]},{"1401929498":["hashtag1","hashtag2"]},{"1401929501":["hashtag1","hashtag2"]},{"1401929503":["hashtag1","hashtag2"]},{"1401929506":["hashtag1","hashtag2"]},{"1401929496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929495, 1401929498, 1401929501, 1401929503, 1401929506, 1401929496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49375128746033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:19:03.175241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/46/image_31122025_20_46_35_9629.jpg', '/home/pi/Desktop/images/31122025/20/46/image_31122025_20_46_46_10743.jpg', '/home/pi/Desktop/images/31122025/20/46/image_31122025_20_46_56_9788.jpg', '/home/pi/Desktop/images/31122025/20/46/image_31122025_20_47_05_9556.jpg', '/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_16_10666.jpg', '/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_26_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/46/image_31122025_20_46_35_9629.jpg
/home/pi/Desktop/images/31122025/20/46/image_31122025_20_46_46_10743.jpg
/home/pi/Desktop/images/31122025/20/46/image_31122025_20_46_56_9788.jpg
/home/pi/Desktop/images/31122025/20/46/image_31122025_20_47_05_9556.jpg
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_16_10666.jpg
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_26_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929513","1401929516","1401929518","1401929512","1401929515","1401929514"],"photo_ids_order":["1401929512","1401929513","1401929514","1401929515","1401929516","1401929518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b5347ea05f88b1932a43137eec114b7.jpg","text":"TemporaryFile(/tmp/multipartBody6207876880932052273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212403914,"filename":"image_31122025_20_46_46_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf9ad784a808d15f28999f84d7a1d49d.jpg","text":"TemporaryFile(/tmp/multipartBody1144414651330843108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212403914,"filename":"image_31122025_20_47_16_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/186ba4ea6e710902adb21f3bd348d170.jpg","text":"TemporaryFile(/tmp/multipartBody2181975450505978269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212403914,"filename":"image_31122025_20_47_26_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a606c2d140abec649d37bcf655e5f508.jpg","text":"TemporaryFile(/tmp/multipartBody9043775260273895328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212403914,"filename":"image_31122025_20_46_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/caa959bb8077bf16c57eaed479b2206e.jpg","text":"TemporaryFile(/tmp/multipartBody3681032564261325921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212403914,"filename":"image_31122025_20_47_05_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5acd24580f105a57704f8b7353d59203.jpg","text":"TemporaryFile(/tmp/multipartBody1368283722160932850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212403914,"filename":"image_31122025_20_46_56_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929514","file1":"1401929513","file0":"1401929512","file4":"1401929516","file5":"1401929518","file3":"1401929515"},"map_files_photo_id_array":[{"photo_id":"1401929518","filename":"file5"},{"photo_id":"1401929514","filename":"file2"},{"photo_id":"1401929516","filename":"file4"},{"photo_id":"1401929513","filename":"file1"},{"photo_id":"1401929512","filename":"file0"},{"photo_id":"1401929515","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929513":["hashtag1","hashtag2"]},{"1401929516":["hashtag1","hashtag2"]},{"1401929518":["hashtag1","hashtag2"]},{"1401929512":["hashtag1","hashtag2"]},{"1401929515":["hashtag1","hashtag2"]},{"1401929514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929513, 1401929516, 1401929518, 1401929512, 1401929515, 1401929514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.344162702560425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:19:42.224744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_10_3621.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_12_2664.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_16_3514.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_18_2551.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_21_2808.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_24_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_10_3621.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_12_2664.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_16_3514.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_18_2551.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_21_2808.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_24_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929525","1401929530","1401929524","1401929527","1401929526","1401929529"],"photo_ids_order":["1401929524","1401929525","1401929526","1401929527","1401929529","1401929530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3fc323ac405d7ef3d2513a216c5ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody4537498176450986427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212446806,"filename":"image_03112025_20_26_12_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a665e82a44c52e8e3e05f820f1d2e66c.jpg","text":"TemporaryFile(/tmp/multipartBody3539090239147528807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212446806,"filename":"image_03112025_20_26_24_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b900f9ad1a87ca2dc9d2c6854c0c8378.jpg","text":"TemporaryFile(/tmp/multipartBody2183740689688384573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212446806,"filename":"image_03112025_20_26_10_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b09dfcf4d0521731160feda8b6b3d82.jpg","text":"TemporaryFile(/tmp/multipartBody1888998472428847864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212446806,"filename":"image_03112025_20_26_18_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36465c0d8d23095e1074a412cb5eab80.jpg","text":"TemporaryFile(/tmp/multipartBody1170684165964566935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212446806,"filename":"image_03112025_20_26_16_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de5d63dd718abbae28711dda1d75f576.jpg","text":"TemporaryFile(/tmp/multipartBody3974419503534404173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212446806,"filename":"image_03112025_20_26_21_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929526","file1":"1401929525","file0":"1401929524","file4":"1401929529","file5":"1401929530","file3":"1401929527"},"map_files_photo_id_array":[{"photo_id":"1401929530","filename":"file5"},{"photo_id":"1401929526","filename":"file2"},{"photo_id":"1401929529","filename":"file4"},{"photo_id":"1401929525","filename":"file1"},{"photo_id":"1401929524","filename":"file0"},{"photo_id":"1401929527","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929525":["hashtag1","hashtag2"]},{"1401929530":["hashtag1","hashtag2"]},{"1401929524":["hashtag1","hashtag2"]},{"1401929527":["hashtag1","hashtag2"]},{"1401929526":["hashtag1","hashtag2"]},{"1401929529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929525, 1401929530, 1401929524, 1401929527, 1401929526, 1401929529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56315636634827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:20:32.034097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_28_3669.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_30_2735.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_33_2689.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_37_3721.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_39_2641.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_42_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_28_3669.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_30_2735.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_33_2689.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_37_3721.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_39_2641.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_42_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929543","1401929534","1401929542","1401929536","1401929539","1401929544"],"photo_ids_order":["1401929534","1401929536","1401929539","1401929542","1401929543","1401929544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b87ff56673599fe94bff2982b2ec9219.jpg","text":"TemporaryFile(/tmp/multipartBody2715250680419317453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212493778,"filename":"image_03112025_20_26_39_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb3ed1389efa2a01908ad6e071fad4b1.jpg","text":"TemporaryFile(/tmp/multipartBody6926961421976278375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212493778,"filename":"image_03112025_20_26_28_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/369fffab8a21072319b6020831e13822.jpg","text":"TemporaryFile(/tmp/multipartBody1548103943521476621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212493778,"filename":"image_03112025_20_26_37_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/825381a5aacf7d84972a44d0f0fd9ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8463986142981658211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212493778,"filename":"image_03112025_20_26_30_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c48c31250c34663c149e416d8499c3c0.jpg","text":"TemporaryFile(/tmp/multipartBody2471073096970556391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212493778,"filename":"image_03112025_20_26_33_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e524f18e9f4c474e06a2c506159794c.jpg","text":"TemporaryFile(/tmp/multipartBody478342892980058047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212493778,"filename":"image_03112025_20_26_42_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929539","file1":"1401929536","file0":"1401929534","file4":"1401929543","file5":"1401929544","file3":"1401929542"},"map_files_photo_id_array":[{"photo_id":"1401929544","filename":"file5"},{"photo_id":"1401929539","filename":"file2"},{"photo_id":"1401929543","filename":"file4"},{"photo_id":"1401929536","filename":"file1"},{"photo_id":"1401929534","filename":"file0"},{"photo_id":"1401929542","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929543":["hashtag1","hashtag2"]},{"1401929534":["hashtag1","hashtag2"]},{"1401929542":["hashtag1","hashtag2"]},{"1401929536":["hashtag1","hashtag2"]},{"1401929539":["hashtag1","hashtag2"]},{"1401929544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929543, 1401929534, 1401929542, 1401929536, 1401929539, 1401929544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22677683830261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:21:12.259632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_46_3662.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_48_2652.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_51_2660.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_57_2870.jpg', '/home/pi/Desktop/images/03112025/20/26/image_03112025_20_27_00_2679.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_03_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_46_3662.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_48_2652.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_51_2660.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_26_57_2870.jpg
/home/pi/Desktop/images/03112025/20/26/image_03112025_20_27_00_2679.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_03_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929552","1401929546","1401929549","1401929554","1401929551","1401929547"],"photo_ids_order":["1401929546","1401929547","1401929549","1401929551","1401929552","1401929554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4f7e1e9d354d77acc18e28511acd640.jpg","text":"TemporaryFile(/tmp/multipartBody950022094366390956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212534004,"filename":"image_03112025_20_27_00_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0271b89f518e74f1b7a7e6a201f3e42.jpg","text":"TemporaryFile(/tmp/multipartBody6114986833265092752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212534004,"filename":"image_03112025_20_26_46_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee748b30753d846ca07dec0569782d42.jpg","text":"TemporaryFile(/tmp/multipartBody6945069210451032215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212534004,"filename":"image_03112025_20_26_51_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd4e53f4366f4cfcfdf3b3de3694187c.jpg","text":"TemporaryFile(/tmp/multipartBody36415461461191700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212534004,"filename":"image_03112025_20_27_03_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/642ff3bfb345a5434ac445ae5f05c175.jpg","text":"TemporaryFile(/tmp/multipartBody3397759460594256714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212534004,"filename":"image_03112025_20_26_57_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0586e20be7f4add4c8c13f07b4f53a02.jpg","text":"TemporaryFile(/tmp/multipartBody245567641821330109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212534004,"filename":"image_03112025_20_26_48_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929549","file1":"1401929547","file0":"1401929546","file4":"1401929552","file5":"1401929554","file3":"1401929551"},"map_files_photo_id_array":[{"photo_id":"1401929554","filename":"file5"},{"photo_id":"1401929549","filename":"file2"},{"photo_id":"1401929552","filename":"file4"},{"photo_id":"1401929547","filename":"file1"},{"photo_id":"1401929546","filename":"file0"},{"photo_id":"1401929551","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929552":["hashtag1","hashtag2"]},{"1401929546":["hashtag1","hashtag2"]},{"1401929549":["hashtag1","hashtag2"]},{"1401929554":["hashtag1","hashtag2"]},{"1401929551":["hashtag1","hashtag2"]},{"1401929547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929552, 1401929546, 1401929549, 1401929554, 1401929551, 1401929547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38471031188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:22:02.934324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_35_9605.jpg', '/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_46_10626.jpg', '/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_56_9809.jpg', '/home/pi/Desktop/images/31122025/20/47/image_31122025_20_48_06_9658.jpg', '/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_15_9737.jpg', '/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_26_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_35_9605.jpg
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_46_10626.jpg
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_56_9809.jpg
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_48_06_9658.jpg
/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_15_9737.jpg
/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_26_10785.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5166072845458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:22:12.556992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_07_3825.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_09_2652.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_16_3798.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_18_2675.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_21_2592.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_25_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_07_3825.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_09_2652.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_16_3798.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_18_2675.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_21_2592.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_25_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929561","1401929570","1401929572","1401929566","1401929563","1401929568"],"photo_ids_order":["1401929561","1401929563","1401929566","1401929568","1401929570","1401929572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1db22549753175d88f2e93f74a05cddf.jpg","text":"TemporaryFile(/tmp/multipartBody2307994652078552901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212594449,"filename":"image_03112025_20_27_07_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/830209c93df8ef0a3defd688499fbac8.jpg","text":"TemporaryFile(/tmp/multipartBody1561755363716562707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212594449,"filename":"image_03112025_20_27_21_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9240ac5bca89ab5de46be9e01f2fd25.jpg","text":"TemporaryFile(/tmp/multipartBody5250838309911370557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212594449,"filename":"image_03112025_20_27_25_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1fc2b3d0e0db75fd8113ce981232677.jpg","text":"TemporaryFile(/tmp/multipartBody4893008528179410970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212594449,"filename":"image_03112025_20_27_16_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a386e0d64bd6adb39fe928d9c2eccc7.jpg","text":"TemporaryFile(/tmp/multipartBody727014169159975793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212594449,"filename":"image_03112025_20_27_09_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ace68b3ae81f4005df5c902fa8d22945.jpg","text":"TemporaryFile(/tmp/multipartBody2124562069384603523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212594449,"filename":"image_03112025_20_27_18_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929566","file1":"1401929563","file0":"1401929561","file4":"1401929570","file5":"1401929572","file3":"1401929568"},"map_files_photo_id_array":[{"photo_id":"1401929572","filename":"file5"},{"photo_id":"1401929566","filename":"file2"},{"photo_id":"1401929570","filename":"file4"},{"photo_id":"1401929563","filename":"file1"},{"photo_id":"1401929561","filename":"file0"},{"photo_id":"1401929568","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929561":["hashtag1","hashtag2"]},{"1401929570":["hashtag1","hashtag2"]},{"1401929572":["hashtag1","hashtag2"]},{"1401929566":["hashtag1","hashtag2"]},{"1401929563":["hashtag1","hashtag2"]},{"1401929568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929561, 1401929570, 1401929572, 1401929566, 1401929563, 1401929568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.549397706985474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:23:03.320579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_35_9605.jpg', '/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_46_10626.jpg', '/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_56_9809.jpg', '/home/pi/Desktop/images/31122025/20/47/image_31122025_20_48_06_9658.jpg', '/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_15_9737.jpg', '/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_26_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_35_9605.jpg
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_46_10626.jpg
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_47_56_9809.jpg
/home/pi/Desktop/images/31122025/20/47/image_31122025_20_48_06_9658.jpg
/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_15_9737.jpg
/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_26_10785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929579","1401929578","1401929581","1401929580","1401929583","1401929577"],"photo_ids_order":["1401929577","1401929578","1401929579","1401929580","1401929581","1401929583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8069fafb7c78576021d29d441fcef7eb.jpg","text":"TemporaryFile(/tmp/multipartBody8326460761319076316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212643974,"filename":"image_31122025_20_47_56_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e73ebd15040297ceaee9eff58a977a69.jpg","text":"TemporaryFile(/tmp/multipartBody7972794595468761691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212643974,"filename":"image_31122025_20_47_46_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a50f7618303bd2c2cbd995bdbefb9af.jpg","text":"TemporaryFile(/tmp/multipartBody8479297325313644022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212643974,"filename":"image_31122025_20_48_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7c9368b1887bb211a5c0028f6ae427c.jpg","text":"TemporaryFile(/tmp/multipartBody4709722133229205529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212643974,"filename":"image_31122025_20_48_06_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9370755c16d53d5d75f0de5adecc9257.jpg","text":"TemporaryFile(/tmp/multipartBody4493402926308027215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212643974,"filename":"image_31122025_20_48_26_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e0c1bf60e2060ccb1a4cfcfa94fbfc4.jpg","text":"TemporaryFile(/tmp/multipartBody4668382722725944862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212643974,"filename":"image_31122025_20_47_35_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929579","file1":"1401929578","file0":"1401929577","file4":"1401929581","file5":"1401929583","file3":"1401929580"},"map_files_photo_id_array":[{"photo_id":"1401929583","filename":"file5"},{"photo_id":"1401929579","filename":"file2"},{"photo_id":"1401929581","filename":"file4"},{"photo_id":"1401929578","filename":"file1"},{"photo_id":"1401929577","filename":"file0"},{"photo_id":"1401929580","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929579":["hashtag1","hashtag2"]},{"1401929578":["hashtag1","hashtag2"]},{"1401929581":["hashtag1","hashtag2"]},{"1401929580":["hashtag1","hashtag2"]},{"1401929583":["hashtag1","hashtag2"]},{"1401929577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929579, 1401929578, 1401929581, 1401929580, 1401929583, 1401929577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4263482093811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:23:42.661601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_27_2678.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_30_2537.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_33_3580.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_36_2682.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_39_2687.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_43_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_27_2678.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_30_2537.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_33_3580.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_36_2682.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_39_2687.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_43_3735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929591","1401929594","1401929593","1401929595","1401929589","1401929592"],"photo_ids_order":["1401929589","1401929591","1401929592","1401929593","1401929594","1401929595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4b04c4f925190391556d25f5f28f742.jpg","text":"TemporaryFile(/tmp/multipartBody8469801763832020737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212684537,"filename":"image_03112025_20_27_30_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/783854766b38d81abbdfecebfd0c7733.jpg","text":"TemporaryFile(/tmp/multipartBody5797094805065010349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212684537,"filename":"image_03112025_20_27_39_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d944b7d5223ccaa7cb47371f90fbd985.jpg","text":"TemporaryFile(/tmp/multipartBody6934596361202168643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212684537,"filename":"image_03112025_20_27_36_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1f15ec9bb433d27452baba5e0cefdaa.jpg","text":"TemporaryFile(/tmp/multipartBody8890867780324906556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212684537,"filename":"image_03112025_20_27_43_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc45da01ebf776936635988b657fe4f7.jpg","text":"TemporaryFile(/tmp/multipartBody508806626421151009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212684537,"filename":"image_03112025_20_27_27_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bf08eff215c3ddab8e91c10182aff96.jpg","text":"TemporaryFile(/tmp/multipartBody2055672326175068620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212684537,"filename":"image_03112025_20_27_33_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929592","file1":"1401929591","file0":"1401929589","file4":"1401929594","file5":"1401929595","file3":"1401929593"},"map_files_photo_id_array":[{"photo_id":"1401929595","filename":"file5"},{"photo_id":"1401929592","filename":"file2"},{"photo_id":"1401929594","filename":"file4"},{"photo_id":"1401929591","filename":"file1"},{"photo_id":"1401929589","filename":"file0"},{"photo_id":"1401929593","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929591":["hashtag1","hashtag2"]},{"1401929594":["hashtag1","hashtag2"]},{"1401929593":["hashtag1","hashtag2"]},{"1401929595":["hashtag1","hashtag2"]},{"1401929589":["hashtag1","hashtag2"]},{"1401929592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929591, 1401929594, 1401929593, 1401929595, 1401929589, 1401929592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10698914527893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:24:22.832450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_36_9603.jpg', '/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_45_9586.jpg', '/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_56_10677.jpg', '/home/pi/Desktop/images/31122025/20/48/image_31122025_20_49_06_9814.jpg', '/home/pi/Desktop/images/31122025/20/49/image_31122025_20_49_35_9661.jpg', '/home/pi/Desktop/images/31122025/20/49/image_31122025_20_49_46_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_36_9603.jpg
/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_45_9586.jpg
/home/pi/Desktop/images/31122025/20/48/image_31122025_20_48_56_10677.jpg
/home/pi/Desktop/images/31122025/20/48/image_31122025_20_49_06_9814.jpg
/home/pi/Desktop/images/31122025/20/49/image_31122025_20_49_35_9661.jpg
/home/pi/Desktop/images/31122025/20/49/image_31122025_20_49_46_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929604","1401929597","1401929600","1401929602","1401929598","1401929607"],"photo_ids_order":["1401929597","1401929598","1401929600","1401929602","1401929604","1401929607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d17217b07806d5762c132e5c7c75eb1.jpg","text":"TemporaryFile(/tmp/multipartBody2578256577527774903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212723424,"filename":"image_31122025_20_49_35_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9034a5084f094b50d78f17e7bc2e8074.jpg","text":"TemporaryFile(/tmp/multipartBody1005330990611490057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212723424,"filename":"image_31122025_20_48_36_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/857a5133235858370973e7a051a21c21.jpg","text":"TemporaryFile(/tmp/multipartBody6452998130134223979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212723424,"filename":"image_31122025_20_48_56_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b463ba3a0fadfaa693c62e3a092f40b.jpg","text":"TemporaryFile(/tmp/multipartBody1115852462132731787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212723424,"filename":"image_31122025_20_49_06_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a69ca16f41baa05367f74205ddfaa69.jpg","text":"TemporaryFile(/tmp/multipartBody8307719256849300832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212723424,"filename":"image_31122025_20_48_45_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a12a9e0901559d6aeb574c377235423e.jpg","text":"TemporaryFile(/tmp/multipartBody1593804832649183520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212723424,"filename":"image_31122025_20_49_46_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929600","file1":"1401929598","file0":"1401929597","file4":"1401929604","file5":"1401929607","file3":"1401929602"},"map_files_photo_id_array":[{"photo_id":"1401929607","filename":"file5"},{"photo_id":"1401929600","filename":"file2"},{"photo_id":"1401929604","filename":"file4"},{"photo_id":"1401929598","filename":"file1"},{"photo_id":"1401929597","filename":"file0"},{"photo_id":"1401929602","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929604":["hashtag1","hashtag2"]},{"1401929597":["hashtag1","hashtag2"]},{"1401929600":["hashtag1","hashtag2"]},{"1401929602":["hashtag1","hashtag2"]},{"1401929598":["hashtag1","hashtag2"]},{"1401929607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929604, 1401929597, 1401929600, 1401929602, 1401929598, 1401929607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94008421897888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:25:02.601145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/49/image_31122025_20_49_56_9677.jpg', '/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_16_10818.jpg', '/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_26_9837.jpg', '/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_36_9760.jpg', '/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_45_9638.jpg', '/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_56_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/49/image_31122025_20_49_56_9677.jpg
/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_16_10818.jpg
/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_26_9837.jpg
/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_36_9760.jpg
/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_45_9638.jpg
/home/pi/Desktop/images/31122025/20/50/image_31122025_20_50_56_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929616","1401929610","1401929612","1401929614","1401929611","1401929613"],"photo_ids_order":["1401929610","1401929611","1401929612","1401929613","1401929614","1401929616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8618452698997efb5abd62458be07caa.jpg","text":"TemporaryFile(/tmp/multipartBody2057526840727483704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212763233,"filename":"image_31122025_20_50_56_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84b9d09064dec8f75604b0a49ee814a5.jpg","text":"TemporaryFile(/tmp/multipartBody7229694027378297307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212763233,"filename":"image_31122025_20_49_56_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fb36ecd8954c722be5d8f630c37989d.jpg","text":"TemporaryFile(/tmp/multipartBody4489569104701661200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212763233,"filename":"image_31122025_20_50_26_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c931f4b682e675cf947e72c2f016886.jpg","text":"TemporaryFile(/tmp/multipartBody9062358322842724069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212763233,"filename":"image_31122025_20_50_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9b267943cc8a9fc228b4b58f5852278.jpg","text":"TemporaryFile(/tmp/multipartBody3722126525225847500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212763233,"filename":"image_31122025_20_50_16_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9a373132e49fc12b2496707aeae6b70.jpg","text":"TemporaryFile(/tmp/multipartBody6422052047569201934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212763233,"filename":"image_31122025_20_50_36_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929612","file1":"1401929611","file0":"1401929610","file4":"1401929614","file5":"1401929616","file3":"1401929613"},"map_files_photo_id_array":[{"photo_id":"1401929616","filename":"file5"},{"photo_id":"1401929612","filename":"file2"},{"photo_id":"1401929614","filename":"file4"},{"photo_id":"1401929611","filename":"file1"},{"photo_id":"1401929610","filename":"file0"},{"photo_id":"1401929613","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929616":["hashtag1","hashtag2"]},{"1401929610":["hashtag1","hashtag2"]},{"1401929612":["hashtag1","hashtag2"]},{"1401929614":["hashtag1","hashtag2"]},{"1401929611":["hashtag1","hashtag2"]},{"1401929613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929616, 1401929610, 1401929612, 1401929614, 1401929611, 1401929613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.512794733047485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:25:41.985751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_45_2780.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_48_2581.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_52_3715.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_54_2625.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_57_2702.jpg', '/home/pi/Desktop/images/03112025/20/27/image_03112025_20_28_01_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_45_2780.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_48_2581.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_52_3715.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_54_2625.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_27_57_2702.jpg
/home/pi/Desktop/images/03112025/20/27/image_03112025_20_28_01_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929622","1401929624","1401929627","1401929626","1401929625","1401929628"],"photo_ids_order":["1401929622","1401929624","1401929625","1401929626","1401929627","1401929628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36c03748fbbd086d7a0885d7c7f1b55d.jpg","text":"TemporaryFile(/tmp/multipartBody2564969548847671105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212803872,"filename":"image_03112025_20_27_45_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1d0aa56f7460586f549acdd9c61e6645.jpg","text":"TemporaryFile(/tmp/multipartBody7632731707994301796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212803872,"filename":"image_03112025_20_27_48_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b713dfdb28642d882832bccb5211da27.jpg","text":"TemporaryFile(/tmp/multipartBody1757583355380936574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212803872,"filename":"image_03112025_20_27_57_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcceba2dff2948ab9e2c49cf0a693845.jpg","text":"TemporaryFile(/tmp/multipartBody4266637427874607439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212803872,"filename":"image_03112025_20_27_54_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81391e2f2c06e68689e536deb3ac7df5.jpg","text":"TemporaryFile(/tmp/multipartBody3782387289292723348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212803872,"filename":"image_03112025_20_27_52_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93624a45b6655debd34c160bbd442138.jpg","text":"TemporaryFile(/tmp/multipartBody2111973139116811279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212803872,"filename":"image_03112025_20_28_01_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929625","file1":"1401929624","file0":"1401929622","file4":"1401929627","file5":"1401929628","file3":"1401929626"},"map_files_photo_id_array":[{"photo_id":"1401929628","filename":"file5"},{"photo_id":"1401929625","filename":"file2"},{"photo_id":"1401929627","filename":"file4"},{"photo_id":"1401929624","filename":"file1"},{"photo_id":"1401929622","filename":"file0"},{"photo_id":"1401929626","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929622":["hashtag1","hashtag2"]},{"1401929624":["hashtag1","hashtag2"]},{"1401929627":["hashtag1","hashtag2"]},{"1401929626":["hashtag1","hashtag2"]},{"1401929625":["hashtag1","hashtag2"]},{"1401929628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929622, 1401929624, 1401929627, 1401929626, 1401929625, 1401929628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45712900161743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:26:22.195596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_15_9770.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_25_9892.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_36_10651.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_46_9752.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_55_9732.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_52_05_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_15_9770.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_25_9892.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_36_10651.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_46_9752.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_55_9732.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_52_05_9898.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.523634672164917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:26:32.260014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_06_2582.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_10_3697.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_12_2638.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_15_2549.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_19_3699.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_21_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_06_2582.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_10_3697.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_12_2638.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_15_2549.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_19_3699.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_21_2834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929642","1401929645","1401929647","1401929635","1401929638","1401929646"],"photo_ids_order":["1401929635","1401929638","1401929642","1401929645","1401929646","1401929647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8abc398c3147db713c56a37bef8dfe8f.jpg","text":"TemporaryFile(/tmp/multipartBody3881150418536403577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212854141,"filename":"image_03112025_20_28_12_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e334d7ed473684b190534ede4b735a66.jpg","text":"TemporaryFile(/tmp/multipartBody3782423146999770492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212854141,"filename":"image_03112025_20_28_15_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31187d49f2ad7f2873126bd10e56f17b.jpg","text":"TemporaryFile(/tmp/multipartBody6791591060782960547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212854141,"filename":"image_03112025_20_28_21_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccc9b905082e5b38e74f3bc6ca0ff7c0.jpg","text":"TemporaryFile(/tmp/multipartBody8744091759562032423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212854141,"filename":"image_03112025_20_28_06_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7d79bc0cb241d98b450f975d1a67241.jpg","text":"TemporaryFile(/tmp/multipartBody5785539297303445889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212854141,"filename":"image_03112025_20_28_10_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d776878c5cfa20c2b3c71f5c6c0d074a.jpg","text":"TemporaryFile(/tmp/multipartBody3293472103808392894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212854141,"filename":"image_03112025_20_28_19_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929642","file1":"1401929638","file0":"1401929635","file4":"1401929646","file5":"1401929647","file3":"1401929645"},"map_files_photo_id_array":[{"photo_id":"1401929647","filename":"file5"},{"photo_id":"1401929642","filename":"file2"},{"photo_id":"1401929646","filename":"file4"},{"photo_id":"1401929638","filename":"file1"},{"photo_id":"1401929635","filename":"file0"},{"photo_id":"1401929645","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929642":["hashtag1","hashtag2"]},{"1401929645":["hashtag1","hashtag2"]},{"1401929647":["hashtag1","hashtag2"]},{"1401929635":["hashtag1","hashtag2"]},{"1401929638":["hashtag1","hashtag2"]},{"1401929646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929642, 1401929645, 1401929647, 1401929635, 1401929638, 1401929646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.356542110443115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:27:12.288457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_24_2611.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_28_3635.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_30_2622.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_33_2833.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_36_2778.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_39_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_24_2611.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_28_3635.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_30_2622.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_33_2833.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_36_2778.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_39_2858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929654","1401929657","1401929650","1401929656","1401929652","1401929649"],"photo_ids_order":["1401929649","1401929650","1401929652","1401929654","1401929656","1401929657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5ef8e7237c6a3693b490d4149051161.jpg","text":"TemporaryFile(/tmp/multipartBody1159096824177600495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212894038,"filename":"image_03112025_20_28_33_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fd61baebd918d49fc02f4df51d81a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7465360919841198775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212894038,"filename":"image_03112025_20_28_39_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b6cd0335ba7b6e5e39dd28392c1227f.jpg","text":"TemporaryFile(/tmp/multipartBody2987576151015237869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212894038,"filename":"image_03112025_20_28_28_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22518c62c8f4441c0a7723b38830ee83.jpg","text":"TemporaryFile(/tmp/multipartBody2752986572381309826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212894038,"filename":"image_03112025_20_28_36_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/738b2a5a51dd0fa1d67b3d44890b3f8f.jpg","text":"TemporaryFile(/tmp/multipartBody7551929792830559614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212894038,"filename":"image_03112025_20_28_30_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af443dfa413ef4a12468cc2b9018db57.jpg","text":"TemporaryFile(/tmp/multipartBody8847523230142717461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212894038,"filename":"image_03112025_20_28_24_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929652","file1":"1401929650","file0":"1401929649","file4":"1401929656","file5":"1401929657","file3":"1401929654"},"map_files_photo_id_array":[{"photo_id":"1401929657","filename":"file5"},{"photo_id":"1401929652","filename":"file2"},{"photo_id":"1401929656","filename":"file4"},{"photo_id":"1401929650","filename":"file1"},{"photo_id":"1401929649","filename":"file0"},{"photo_id":"1401929654","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929654":["hashtag1","hashtag2"]},{"1401929657":["hashtag1","hashtag2"]},{"1401929650":["hashtag1","hashtag2"]},{"1401929656":["hashtag1","hashtag2"]},{"1401929652":["hashtag1","hashtag2"]},{"1401929649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929654, 1401929657, 1401929650, 1401929656, 1401929652, 1401929649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63429379463196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:28:02.842477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_15_9770.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_25_9892.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_36_10651.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_46_9752.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_55_9732.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_52_05_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_15_9770.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_25_9892.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_36_10651.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_46_9752.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_55_9732.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_52_05_9898.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.652458667755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:28:12.468907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_44_5301.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_46_1734.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_48_2537.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_51_2838.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_54_2650.jpg', '/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_57_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_44_5301.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_46_1734.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_48_2537.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_51_2838.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_54_2650.jpg
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_28_57_3697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929666","1401929675","1401929669","1401929671","1401929664","1401929673"],"photo_ids_order":["1401929664","1401929666","1401929669","1401929671","1401929673","1401929675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4cdfbb7931131676013fa9d120e1b93.jpg","text":"TemporaryFile(/tmp/multipartBody3586719214517006927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212954163,"filename":"image_03112025_20_28_46_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c30c1b4ef39abdd6a6073461aa92511e.jpg","text":"TemporaryFile(/tmp/multipartBody4996964050216810730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212954163,"filename":"image_03112025_20_28_57_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/af6c042361869c1c048c5177a63c25e9.jpg","text":"TemporaryFile(/tmp/multipartBody5562582095217665480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212954163,"filename":"image_03112025_20_28_48_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b85e4f518a4ea042538fa48002057829.jpg","text":"TemporaryFile(/tmp/multipartBody5051296128247807387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212954163,"filename":"image_03112025_20_28_51_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/630c58afab08b2cb967eba6397083f48.jpg","text":"TemporaryFile(/tmp/multipartBody6717743003795548314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212954163,"filename":"image_03112025_20_28_44_5301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46002e6d94738747aef2861b798386f4.jpg","text":"TemporaryFile(/tmp/multipartBody6764515190995422054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767212954163,"filename":"image_03112025_20_28_54_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929669","file1":"1401929666","file0":"1401929664","file4":"1401929673","file5":"1401929675","file3":"1401929671"},"map_files_photo_id_array":[{"photo_id":"1401929675","filename":"file5"},{"photo_id":"1401929669","filename":"file2"},{"photo_id":"1401929673","filename":"file4"},{"photo_id":"1401929666","filename":"file1"},{"photo_id":"1401929664","filename":"file0"},{"photo_id":"1401929671","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929666":["hashtag1","hashtag2"]},{"1401929675":["hashtag1","hashtag2"]},{"1401929669":["hashtag1","hashtag2"]},{"1401929671":["hashtag1","hashtag2"]},{"1401929664":["hashtag1","hashtag2"]},{"1401929673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929666, 1401929675, 1401929669, 1401929671, 1401929664, 1401929673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.799689054489136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:29:03.778477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_15_9770.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_25_9892.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_36_10651.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_46_9752.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_55_9732.jpg', '/home/pi/Desktop/images/31122025/20/51/image_31122025_20_52_05_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_15_9770.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_25_9892.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_36_10651.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_46_9752.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_51_55_9732.jpg
/home/pi/Desktop/images/31122025/20/51/image_31122025_20_52_05_9898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929681","1401929683","1401929688","1401929682","1401929685","1401929679"],"photo_ids_order":["1401929679","1401929681","1401929682","1401929683","1401929685","1401929688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cca71acf619d6f8798a2b7901fc18537.jpg","text":"TemporaryFile(/tmp/multipartBody1019786821000789965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213004522,"filename":"image_31122025_20_51_25_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f3e2c878205ac84ef92802fca3c7e56.jpg","text":"TemporaryFile(/tmp/multipartBody4935696861744341670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213004522,"filename":"image_31122025_20_51_46_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3988c4e4c0ce1a900b39209255d830a9.jpg","text":"TemporaryFile(/tmp/multipartBody6709969943970185304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213004522,"filename":"image_31122025_20_52_05_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df9925b36fbd6cf61eb4855804b90ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3581949303335407379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213004522,"filename":"image_31122025_20_51_36_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7e5aec68062aba52d6f1f0cfd61ec1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4825143302159419743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213004522,"filename":"image_31122025_20_51_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f0331d9e25ed3e7eec34d30112fa421.jpg","text":"TemporaryFile(/tmp/multipartBody7772142106032384767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213004522,"filename":"image_31122025_20_51_15_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929682","file1":"1401929681","file0":"1401929679","file4":"1401929685","file5":"1401929688","file3":"1401929683"},"map_files_photo_id_array":[{"photo_id":"1401929688","filename":"file5"},{"photo_id":"1401929682","filename":"file2"},{"photo_id":"1401929685","filename":"file4"},{"photo_id":"1401929681","filename":"file1"},{"photo_id":"1401929679","filename":"file0"},{"photo_id":"1401929683","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929681":["hashtag1","hashtag2"]},{"1401929683":["hashtag1","hashtag2"]},{"1401929688":["hashtag1","hashtag2"]},{"1401929682":["hashtag1","hashtag2"]},{"1401929685":["hashtag1","hashtag2"]},{"1401929679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929681, 1401929683, 1401929688, 1401929682, 1401929685, 1401929679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39396858215332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:29:42.699975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/28/image_03112025_20_29_00_2617.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_03_2721.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_06_3594.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_09_2704.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_12_2510.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_15_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/28/image_03112025_20_29_00_2617.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_03_2721.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_06_3594.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_09_2704.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_12_2510.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_15_3790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929699","1401929703","1401929693","1401929705","1401929695","1401929701"],"photo_ids_order":["1401929693","1401929695","1401929699","1401929701","1401929703","1401929705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a0f86fa1bfd811eb79c27885754653c.jpg","text":"TemporaryFile(/tmp/multipartBody8634935079172577190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213044544,"filename":"image_03112025_20_29_06_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97f029deca50595601cb644435276127.jpg","text":"TemporaryFile(/tmp/multipartBody8512674939011495080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213044544,"filename":"image_03112025_20_29_12_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f17dcf115147cc63d5e3a115fcecb00.jpg","text":"TemporaryFile(/tmp/multipartBody4546046386267864548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213044544,"filename":"image_03112025_20_29_00_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6aa03962f66b0e66e2297dcd1d5e22f8.jpg","text":"TemporaryFile(/tmp/multipartBody198133969696974760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213044544,"filename":"image_03112025_20_29_15_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51192a3f88d23abf7368bc9e9bb63259.jpg","text":"TemporaryFile(/tmp/multipartBody2608645829241940766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213044544,"filename":"image_03112025_20_29_03_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70de8103ddb239f590f75ee561815347.jpg","text":"TemporaryFile(/tmp/multipartBody195187186069663881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213044544,"filename":"image_03112025_20_29_09_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929699","file1":"1401929695","file0":"1401929693","file4":"1401929703","file5":"1401929705","file3":"1401929701"},"map_files_photo_id_array":[{"photo_id":"1401929705","filename":"file5"},{"photo_id":"1401929699","filename":"file2"},{"photo_id":"1401929703","filename":"file4"},{"photo_id":"1401929695","filename":"file1"},{"photo_id":"1401929693","filename":"file0"},{"photo_id":"1401929701","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929699":["hashtag1","hashtag2"]},{"1401929703":["hashtag1","hashtag2"]},{"1401929693":["hashtag1","hashtag2"]},{"1401929705":["hashtag1","hashtag2"]},{"1401929695":["hashtag1","hashtag2"]},{"1401929701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929699, 1401929703, 1401929693, 1401929705, 1401929695, 1401929701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.11683869361877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:31:02.856063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/52/image_31122025_20_52_16_10752.jpg', '/home/pi/Desktop/images/31122025/20/52/image_31122025_20_52_26_9652.jpg', '/home/pi/Desktop/images/31122025/20/52/image_31122025_20_52_36_9721.jpg', '/home/pi/Desktop/images/31122025/20/52/image_31122025_20_52_56_10685.jpg', '/home/pi/Desktop/images/31122025/20/52/image_31122025_20_53_06_9600.jpg', '/home/pi/Desktop/images/31122025/20/53/image_31122025_20_53_15_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/52/image_31122025_20_52_16_10752.jpg
/home/pi/Desktop/images/31122025/20/52/image_31122025_20_52_26_9652.jpg
/home/pi/Desktop/images/31122025/20/52/image_31122025_20_52_36_9721.jpg
/home/pi/Desktop/images/31122025/20/52/image_31122025_20_52_56_10685.jpg
/home/pi/Desktop/images/31122025/20/52/image_31122025_20_53_06_9600.jpg
/home/pi/Desktop/images/31122025/20/53/image_31122025_20_53_15_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929715","1401929718","1401929713","1401929716","1401929710","1401929712"],"photo_ids_order":["1401929710","1401929712","1401929713","1401929715","1401929716","1401929718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f75e033691a908f77e119f8ac7675fb.jpg","text":"TemporaryFile(/tmp/multipartBody3627119234917879730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213123534,"filename":"image_31122025_20_52_56_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09f35e1cc0576356d2a16a8c35071171.jpg","text":"TemporaryFile(/tmp/multipartBody8348099383446754080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213123534,"filename":"image_31122025_20_53_15_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c2df703ce958146d48796a043a8c0c9.jpg","text":"TemporaryFile(/tmp/multipartBody6627546056412053820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213123534,"filename":"image_31122025_20_52_36_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03e54ff709e1c884361d73802520f4f8.jpg","text":"TemporaryFile(/tmp/multipartBody3078514973943567858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213123534,"filename":"image_31122025_20_53_06_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4a31d5744fecdb49cf4c25a799502a4a.jpg","text":"TemporaryFile(/tmp/multipartBody448291278827414691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213123534,"filename":"image_31122025_20_52_16_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e898082b7812c071a2c77ee693733af.jpg","text":"TemporaryFile(/tmp/multipartBody1883840702132730366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213123534,"filename":"image_31122025_20_52_26_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929713","file1":"1401929712","file0":"1401929710","file4":"1401929716","file5":"1401929718","file3":"1401929715"},"map_files_photo_id_array":[{"photo_id":"1401929718","filename":"file5"},{"photo_id":"1401929713","filename":"file2"},{"photo_id":"1401929716","filename":"file4"},{"photo_id":"1401929712","filename":"file1"},{"photo_id":"1401929710","filename":"file0"},{"photo_id":"1401929715","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929715":["hashtag1","hashtag2"]},{"1401929718":["hashtag1","hashtag2"]},{"1401929713":["hashtag1","hashtag2"]},{"1401929716":["hashtag1","hashtag2"]},{"1401929710":["hashtag1","hashtag2"]},{"1401929712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929715, 1401929718, 1401929713, 1401929716, 1401929710, 1401929712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46175813674927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:31:42.113838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_18_2677.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_21_2590.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_24_3828.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_27_2705.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_30_2561.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_33_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_18_2677.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_21_2590.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_24_3828.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_27_2705.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_30_2561.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_33_3565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929729","1401929726","1401929728","1401929725","1401929724","1401929727"],"photo_ids_order":["1401929724","1401929725","1401929726","1401929727","1401929728","1401929729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0022694afbdb7cdc37a8b15087a941dd.jpg","text":"TemporaryFile(/tmp/multipartBody8113925807314184120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213163937,"filename":"image_03112025_20_29_33_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7bf801a6f5776360878350d42ceb9259.jpg","text":"TemporaryFile(/tmp/multipartBody3462914868639572363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213163937,"filename":"image_03112025_20_29_24_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/338a621eb4a8959e828e12647d1bd42b.jpg","text":"TemporaryFile(/tmp/multipartBody3357572751790763577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213163937,"filename":"image_03112025_20_29_30_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0206175648959f1b974ccb1d54c8e4f0.jpg","text":"TemporaryFile(/tmp/multipartBody3816638928452800838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213163937,"filename":"image_03112025_20_29_21_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3a7f8676385a5a131b35e3ac0256acb.jpg","text":"TemporaryFile(/tmp/multipartBody6392984423683395785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213163937,"filename":"image_03112025_20_29_18_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17d6d78b6840734dcac9aa25d25a0165.jpg","text":"TemporaryFile(/tmp/multipartBody7956057857615612522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213163937,"filename":"image_03112025_20_29_27_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929726","file1":"1401929725","file0":"1401929724","file4":"1401929728","file5":"1401929729","file3":"1401929727"},"map_files_photo_id_array":[{"photo_id":"1401929729","filename":"file5"},{"photo_id":"1401929726","filename":"file2"},{"photo_id":"1401929728","filename":"file4"},{"photo_id":"1401929725","filename":"file1"},{"photo_id":"1401929724","filename":"file0"},{"photo_id":"1401929727","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929729":["hashtag1","hashtag2"]},{"1401929726":["hashtag1","hashtag2"]},{"1401929728":["hashtag1","hashtag2"]},{"1401929725":["hashtag1","hashtag2"]},{"1401929724":["hashtag1","hashtag2"]},{"1401929727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929729, 1401929726, 1401929728, 1401929725, 1401929724, 1401929727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.218345403671265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:32:27.589191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/53/image_31122025_20_53_26_10689.jpg', '/home/pi/Desktop/images/31122025/20/54/image_31122025_20_54_25_9633.jpg', '/home/pi/Desktop/images/31122025/20/54/image_31122025_20_54_35_9860.jpg', '/home/pi/Desktop/images/31122025/20/54/image_31122025_20_54_55_9833.jpg', '/home/pi/Desktop/images/31122025/20/55/image_31122025_20_55_06_10688.jpg', '/home/pi/Desktop/images/31122025/20/55/image_31122025_20_55_16_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/53/image_31122025_20_53_26_10689.jpg
/home/pi/Desktop/images/31122025/20/54/image_31122025_20_54_25_9633.jpg
/home/pi/Desktop/images/31122025/20/54/image_31122025_20_54_35_9860.jpg
/home/pi/Desktop/images/31122025/20/54/image_31122025_20_54_55_9833.jpg
/home/pi/Desktop/images/31122025/20/55/image_31122025_20_55_06_10688.jpg
/home/pi/Desktop/images/31122025/20/55/image_31122025_20_55_16_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929736","1401929738","1401929732","1401929740","1401929734","1401929742"],"photo_ids_order":["1401929732","1401929734","1401929736","1401929738","1401929740","1401929742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e84751ebb0bc1a0df2080e6ee352535.jpg","text":"TemporaryFile(/tmp/multipartBody5842852748642066492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213208187,"filename":"image_31122025_20_54_35_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df33459d996f81fc1e8d52de52fcb4c2.jpg","text":"TemporaryFile(/tmp/multipartBody7300571814081970212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213208187,"filename":"image_31122025_20_54_55_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3f7c8e4c6c4705f8242da1072addaa3.jpg","text":"TemporaryFile(/tmp/multipartBody2937498467961856550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213208187,"filename":"image_31122025_20_53_26_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed0ae68cd34d6c349c758bc3789dee03.jpg","text":"TemporaryFile(/tmp/multipartBody4344624353755569461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213208187,"filename":"image_31122025_20_55_06_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2fb8a8bedbb9d517898522d969b83f0c.jpg","text":"TemporaryFile(/tmp/multipartBody522559993156513445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213208187,"filename":"image_31122025_20_54_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a70477f797de100542867651dc8b0437.jpg","text":"TemporaryFile(/tmp/multipartBody7727189020224319210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213208187,"filename":"image_31122025_20_55_16_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929736","file1":"1401929734","file0":"1401929732","file4":"1401929740","file5":"1401929742","file3":"1401929738"},"map_files_photo_id_array":[{"photo_id":"1401929742","filename":"file5"},{"photo_id":"1401929736","filename":"file2"},{"photo_id":"1401929740","filename":"file4"},{"photo_id":"1401929734","filename":"file1"},{"photo_id":"1401929732","filename":"file0"},{"photo_id":"1401929738","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929736":["hashtag1","hashtag2"]},{"1401929738":["hashtag1","hashtag2"]},{"1401929732":["hashtag1","hashtag2"]},{"1401929740":["hashtag1","hashtag2"]},{"1401929734":["hashtag1","hashtag2"]},{"1401929742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929736, 1401929738, 1401929732, 1401929740, 1401929734, 1401929742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.845906496047974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:33:12.846771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_36_2534.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_39_3542.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_42_2705.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_45_2707.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_48_3520.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_51_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_36_2534.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_39_3542.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_42_2705.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_45_2707.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_48_3520.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_51_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929753","1401929744","1401929746","1401929743","1401929751","1401929748"],"photo_ids_order":["1401929743","1401929744","1401929746","1401929748","1401929751","1401929753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/becda11c91e4858eaaff7c3c7002abd1.jpg","text":"TemporaryFile(/tmp/multipartBody7601567115062773872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213255799,"filename":"image_03112025_20_29_51_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38c4bf2af955f90dd52af5cfaf592e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6324562808794679573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213255799,"filename":"image_03112025_20_29_39_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54849591f03c6f9b31c542d721fbbcab.jpg","text":"TemporaryFile(/tmp/multipartBody9205709505690539462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213255799,"filename":"image_03112025_20_29_42_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6019b2a06c5f4c3fa6d7dcc3a43fff0.jpg","text":"TemporaryFile(/tmp/multipartBody9176833916762520047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213255799,"filename":"image_03112025_20_29_36_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b49a3a12a2ac87d73c80352f932d5970.jpg","text":"TemporaryFile(/tmp/multipartBody5705044845559902475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213255799,"filename":"image_03112025_20_29_48_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65151030a4eec6b954e621908174f322.jpg","text":"TemporaryFile(/tmp/multipartBody2428240455040100727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213255799,"filename":"image_03112025_20_29_45_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929746","file1":"1401929744","file0":"1401929743","file4":"1401929751","file5":"1401929753","file3":"1401929748"},"map_files_photo_id_array":[{"photo_id":"1401929753","filename":"file5"},{"photo_id":"1401929746","filename":"file2"},{"photo_id":"1401929751","filename":"file4"},{"photo_id":"1401929744","filename":"file1"},{"photo_id":"1401929743","filename":"file0"},{"photo_id":"1401929748","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929753":["hashtag1","hashtag2"]},{"1401929744":["hashtag1","hashtag2"]},{"1401929746":["hashtag1","hashtag2"]},{"1401929743":["hashtag1","hashtag2"]},{"1401929751":["hashtag1","hashtag2"]},{"1401929748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929753, 1401929744, 1401929746, 1401929743, 1401929751, 1401929748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.547919034957886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:34:02.525575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/55/image_31122025_20_55_45_9338.jpg', '/home/pi/Desktop/images/31122025/20/55/image_31122025_20_55_56_10698.jpg', '/home/pi/Desktop/images/31122025/20/55/image_31122025_20_56_06_9655.jpg', '/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_15_9703.jpg', '/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_26_10647.jpg', '/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_36_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/55/image_31122025_20_55_45_9338.jpg
/home/pi/Desktop/images/31122025/20/55/image_31122025_20_55_56_10698.jpg
/home/pi/Desktop/images/31122025/20/55/image_31122025_20_56_06_9655.jpg
/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_15_9703.jpg
/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_26_10647.jpg
/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_36_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929762","1401929759","1401929764","1401929758","1401929760","1401929757"],"photo_ids_order":["1401929757","1401929758","1401929759","1401929760","1401929762","1401929764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e888ea1d4fc2ebd45cef2682e2a00fe.jpg","text":"TemporaryFile(/tmp/multipartBody304219631731566829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213303240,"filename":"image_31122025_20_56_26_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c146cf629034869d4f8f6f265753ef0a.jpg","text":"TemporaryFile(/tmp/multipartBody2672001317115419004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213303240,"filename":"image_31122025_20_56_06_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5b37867da02462ae1209c7b8f5462ef.jpg","text":"TemporaryFile(/tmp/multipartBody3956174546359498078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213303240,"filename":"image_31122025_20_56_36_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e908593fcbc224cc9657768a99c0ba52.jpg","text":"TemporaryFile(/tmp/multipartBody7202330883607775231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213303240,"filename":"image_31122025_20_55_56_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c3730ebbdc16e6ec3caa88d744503bd3.jpg","text":"TemporaryFile(/tmp/multipartBody9120107014820980232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213303240,"filename":"image_31122025_20_56_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea5206490116fd2ecdc311330060071d.jpg","text":"TemporaryFile(/tmp/multipartBody4027764333819373749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213303240,"filename":"image_31122025_20_55_45_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929759","file1":"1401929758","file0":"1401929757","file4":"1401929762","file5":"1401929764","file3":"1401929760"},"map_files_photo_id_array":[{"photo_id":"1401929764","filename":"file5"},{"photo_id":"1401929759","filename":"file2"},{"photo_id":"1401929762","filename":"file4"},{"photo_id":"1401929758","filename":"file1"},{"photo_id":"1401929757","filename":"file0"},{"photo_id":"1401929760","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929762":["hashtag1","hashtag2"]},{"1401929759":["hashtag1","hashtag2"]},{"1401929764":["hashtag1","hashtag2"]},{"1401929758":["hashtag1","hashtag2"]},{"1401929760":["hashtag1","hashtag2"]},{"1401929757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929762, 1401929759, 1401929764, 1401929758, 1401929760, 1401929757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17546081542969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:34:41.964416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_54_2808.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_56_2708.jpg', '/home/pi/Desktop/images/03112025/20/29/image_03112025_20_30_00_3681.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_03_2545.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_09_5949.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_26_17384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_54_2808.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_29_56_2708.jpg
/home/pi/Desktop/images/03112025/20/29/image_03112025_20_30_00_3681.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_03_2545.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_09_5949.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_26_17384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929774","1401929777","1401929776","1401929770","1401929773","1401929775"],"photo_ids_order":["1401929770","1401929773","1401929774","1401929775","1401929776","1401929777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cdb9d71701065d5fd2765841e7a79f0.jpg","text":"TemporaryFile(/tmp/multipartBody8295244343326654261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213343803,"filename":"image_03112025_20_30_00_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c42316fef8e95b4761a9f199b2b1d2bf.jpg","text":"TemporaryFile(/tmp/multipartBody7691096085206830333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213343803,"filename":"image_03112025_20_30_26_17384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5dae273190533c53b737d41fcb8f5982.jpg","text":"TemporaryFile(/tmp/multipartBody3669667327117077242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213343803,"filename":"image_03112025_20_30_09_5949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d74182dca3e2ab5ab7922e870fb8777.jpg","text":"TemporaryFile(/tmp/multipartBody6470590270741321419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213343803,"filename":"image_03112025_20_29_54_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a22e27b6765076fdea3b75b7fd153eb.jpg","text":"TemporaryFile(/tmp/multipartBody160812215959308905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213343803,"filename":"image_03112025_20_29_56_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5eaaa78d5100e2dfbbdca03aaed33c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5302258125528219985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213343803,"filename":"image_03112025_20_30_03_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929774","file1":"1401929773","file0":"1401929770","file4":"1401929776","file5":"1401929777","file3":"1401929775"},"map_files_photo_id_array":[{"photo_id":"1401929777","filename":"file5"},{"photo_id":"1401929774","filename":"file2"},{"photo_id":"1401929776","filename":"file4"},{"photo_id":"1401929773","filename":"file1"},{"photo_id":"1401929770","filename":"file0"},{"photo_id":"1401929775","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929774":["hashtag1","hashtag2"]},{"1401929777":["hashtag1","hashtag2"]},{"1401929776":["hashtag1","hashtag2"]},{"1401929770":["hashtag1","hashtag2"]},{"1401929773":["hashtag1","hashtag2"]},{"1401929775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929774, 1401929777, 1401929776, 1401929770, 1401929773, 1401929775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24069833755493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:35:22.157274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_46_9977.jpg', '/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_56_10181.jpg', '/home/pi/Desktop/images/31122025/20/56/image_31122025_20_57_06_9635.jpg', '/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_15_9730.jpg', '/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_25_9869.jpg', '/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_35_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_46_9977.jpg
/home/pi/Desktop/images/31122025/20/56/image_31122025_20_56_56_10181.jpg
/home/pi/Desktop/images/31122025/20/56/image_31122025_20_57_06_9635.jpg
/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_15_9730.jpg
/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_25_9869.jpg
/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_35_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929786","1401929789","1401929780","1401929782","1401929784","1401929778"],"photo_ids_order":["1401929778","1401929780","1401929782","1401929784","1401929786","1401929789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/09e514bbb800730e5b309e95e445c465.jpg","text":"TemporaryFile(/tmp/multipartBody5065587020704191383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213382747,"filename":"image_31122025_20_57_25_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a887c0539865d62c196d2a3d0fb7860c.jpg","text":"TemporaryFile(/tmp/multipartBody1876391648845842170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213382747,"filename":"image_31122025_20_57_35_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1124c50cdba442f1ad01b7356cab3049.jpg","text":"TemporaryFile(/tmp/multipartBody3230153819224240259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213382747,"filename":"image_31122025_20_56_56_10181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3695601f25c8236f573a61b34485030d.jpg","text":"TemporaryFile(/tmp/multipartBody5737402230212518756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213382747,"filename":"image_31122025_20_57_06_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1673396342142619566b400801aa11c0.jpg","text":"TemporaryFile(/tmp/multipartBody6258549798107460131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213382747,"filename":"image_31122025_20_57_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c752a3e588680b517deb3c93a768168a.jpg","text":"TemporaryFile(/tmp/multipartBody3173680095288458721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213382747,"filename":"image_31122025_20_56_46_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929782","file1":"1401929780","file0":"1401929778","file4":"1401929786","file5":"1401929789","file3":"1401929784"},"map_files_photo_id_array":[{"photo_id":"1401929789","filename":"file5"},{"photo_id":"1401929782","filename":"file2"},{"photo_id":"1401929786","filename":"file4"},{"photo_id":"1401929780","filename":"file1"},{"photo_id":"1401929778","filename":"file0"},{"photo_id":"1401929784","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929786":["hashtag1","hashtag2"]},{"1401929789":["hashtag1","hashtag2"]},{"1401929780":["hashtag1","hashtag2"]},{"1401929782":["hashtag1","hashtag2"]},{"1401929784":["hashtag1","hashtag2"]},{"1401929778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929786, 1401929789, 1401929780, 1401929782, 1401929784, 1401929778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23650503158569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:36:02.772044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_46_10762.jpg', '/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_56_9774.jpg', '/home/pi/Desktop/images/31122025/20/58/image_31122025_20_58_16_10666.jpg', '/home/pi/Desktop/images/31122025/20/58/image_31122025_20_58_26_9702.jpg', '/home/pi/Desktop/images/31122025/20/58/image_31122025_20_58_35_9615.jpg', '/home/pi/Desktop/images/31122025/20/58/image_31122025_20_58_46_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_46_10762.jpg
/home/pi/Desktop/images/31122025/20/57/image_31122025_20_57_56_9774.jpg
/home/pi/Desktop/images/31122025/20/58/image_31122025_20_58_16_10666.jpg
/home/pi/Desktop/images/31122025/20/58/image_31122025_20_58_26_9702.jpg
/home/pi/Desktop/images/31122025/20/58/image_31122025_20_58_35_9615.jpg
/home/pi/Desktop/images/31122025/20/58/image_31122025_20_58_46_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929792","1401929795","1401929794","1401929797","1401929791","1401929793"],"photo_ids_order":["1401929791","1401929792","1401929793","1401929794","1401929795","1401929797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4bbd6e98c1cbf56a3fa5787b243cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody1015957369402595002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213423443,"filename":"image_31122025_20_57_56_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/069da17cf40a623c5550b1eb228de808.jpg","text":"TemporaryFile(/tmp/multipartBody5372002824106388516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213423443,"filename":"image_31122025_20_58_35_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b0f14487d15b46b5e0e697574a2cfee.jpg","text":"TemporaryFile(/tmp/multipartBody3366848056461085183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213423443,"filename":"image_31122025_20_58_26_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3c13e47a651458c9c8b631dc07736f82.jpg","text":"TemporaryFile(/tmp/multipartBody54504286014351945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213423443,"filename":"image_31122025_20_58_46_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b56dea1cf2f4b0f2d2639962e8b9959.jpg","text":"TemporaryFile(/tmp/multipartBody7945030361394931343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213423443,"filename":"image_31122025_20_57_46_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb340c3d693e11d609aead7b31ab5025.jpg","text":"TemporaryFile(/tmp/multipartBody2155660857588815519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213423443,"filename":"image_31122025_20_58_16_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929793","file1":"1401929792","file0":"1401929791","file4":"1401929795","file5":"1401929797","file3":"1401929794"},"map_files_photo_id_array":[{"photo_id":"1401929797","filename":"file5"},{"photo_id":"1401929793","filename":"file2"},{"photo_id":"1401929795","filename":"file4"},{"photo_id":"1401929792","filename":"file1"},{"photo_id":"1401929791","filename":"file0"},{"photo_id":"1401929794","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929792":["hashtag1","hashtag2"]},{"1401929795":["hashtag1","hashtag2"]},{"1401929794":["hashtag1","hashtag2"]},{"1401929797":["hashtag1","hashtag2"]},{"1401929791":["hashtag1","hashtag2"]},{"1401929793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929792, 1401929795, 1401929794, 1401929797, 1401929791, 1401929793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90529203414917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:36:42.303047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_29_3077.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_31_1526.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_44_13005.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_47_3154.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_49_1705.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_50_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_29_3077.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_31_1526.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_44_13005.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_47_3154.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_49_1705.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_50_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929808","1401929802","1401929810","1401929807","1401929806","1401929805"],"photo_ids_order":["1401929802","1401929805","1401929806","1401929807","1401929808","1401929810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d82578f6486ac8b214af40ceee4d0b14.jpg","text":"TemporaryFile(/tmp/multipartBody8056544233807543403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213464187,"filename":"image_03112025_20_30_49_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3281ef2d964aea80f5a0e3518b32784e.jpg","text":"TemporaryFile(/tmp/multipartBody1659143609507276882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213464187,"filename":"image_03112025_20_30_29_3077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f429a3fd2cc7554c0f84bae03751c8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3517448788269598953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213464187,"filename":"image_03112025_20_30_50_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/893f6ccf5fe682b36acab3dc3f52af6d.jpg","text":"TemporaryFile(/tmp/multipartBody5467548458098138557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213464187,"filename":"image_03112025_20_30_47_3154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54489dca2352c47dda78db7922104f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7603161151376081300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213464187,"filename":"image_03112025_20_30_44_13005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97873be399175feaa6cc854932405df6.jpg","text":"TemporaryFile(/tmp/multipartBody4320827994057956263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213464187,"filename":"image_03112025_20_30_31_1526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929806","file1":"1401929805","file0":"1401929802","file4":"1401929808","file5":"1401929810","file3":"1401929807"},"map_files_photo_id_array":[{"photo_id":"1401929810","filename":"file5"},{"photo_id":"1401929806","filename":"file2"},{"photo_id":"1401929808","filename":"file4"},{"photo_id":"1401929805","filename":"file1"},{"photo_id":"1401929802","filename":"file0"},{"photo_id":"1401929807","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929808":["hashtag1","hashtag2"]},{"1401929802":["hashtag1","hashtag2"]},{"1401929810":["hashtag1","hashtag2"]},{"1401929807":["hashtag1","hashtag2"]},{"1401929806":["hashtag1","hashtag2"]},{"1401929805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929808, 1401929802, 1401929810, 1401929807, 1401929806, 1401929805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72035312652588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:37:22.524702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_14_10053.jpg', '/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_25_10794.jpg', '/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_35_9635.jpg', '/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_44_9685.jpg', '/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_55_10666.jpg', '/home/pi/Desktop/images/31122025/21/00/image_31122025_21_01_05_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_14_10053.jpg
/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_25_10794.jpg
/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_35_9635.jpg
/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_44_9685.jpg
/home/pi/Desktop/images/31122025/21/00/image_31122025_21_00_55_10666.jpg
/home/pi/Desktop/images/31122025/21/00/image_31122025_21_01_05_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929817","1401929819","1401929813","1401929821","1401929815","1401929824"],"photo_ids_order":["1401929813","1401929815","1401929817","1401929819","1401929821","1401929824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8f6118065cf0342cfd3e751aa6e0896.jpg","text":"TemporaryFile(/tmp/multipartBody8201093613772062432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213503112,"filename":"image_31122025_21_00_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f43dff9b5cda747d11b71fc62cf604b.jpg","text":"TemporaryFile(/tmp/multipartBody6484874216996918958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213503112,"filename":"image_31122025_21_00_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/437036613ed244daf3198667b47c5fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2830691439626825080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213503112,"filename":"image_31122025_21_00_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/259c11ac1959cd1440756cbe0ce8a305.jpg","text":"TemporaryFile(/tmp/multipartBody3624928103518380992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213503112,"filename":"image_31122025_21_00_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/289be668dd863af3ffffb25a1a2d98c4.jpg","text":"TemporaryFile(/tmp/multipartBody1970576608223963170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213503112,"filename":"image_31122025_21_00_25_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ef1cb245ce11dfcb20bfdac9f6d42c7.jpg","text":"TemporaryFile(/tmp/multipartBody2383390843141148456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213503112,"filename":"image_31122025_21_01_05_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929817","file1":"1401929815","file0":"1401929813","file4":"1401929821","file5":"1401929824","file3":"1401929819"},"map_files_photo_id_array":[{"photo_id":"1401929824","filename":"file5"},{"photo_id":"1401929817","filename":"file2"},{"photo_id":"1401929821","filename":"file4"},{"photo_id":"1401929815","filename":"file1"},{"photo_id":"1401929813","filename":"file0"},{"photo_id":"1401929819","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929817":["hashtag1","hashtag2"]},{"1401929819":["hashtag1","hashtag2"]},{"1401929813":["hashtag1","hashtag2"]},{"1401929821":["hashtag1","hashtag2"]},{"1401929815":["hashtag1","hashtag2"]},{"1401929824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929817, 1401929819, 1401929813, 1401929821, 1401929815, 1401929824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88400053977966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:38:03.210747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/01/image_31122025_21_01_24_9842.jpg', '/home/pi/Desktop/images/31122025/21/01/image_31122025_21_01_34_9845.jpg', '/home/pi/Desktop/images/31122025/21/01/image_31122025_21_01_45_10563.jpg', '/home/pi/Desktop/images/31122025/21/01/image_31122025_21_01_54_9680.jpg', '/home/pi/Desktop/images/31122025/21/01/image_31122025_21_02_05_10602.jpg', '/home/pi/Desktop/images/31122025/21/02/image_31122025_21_02_25_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/01/image_31122025_21_01_24_9842.jpg
/home/pi/Desktop/images/31122025/21/01/image_31122025_21_01_34_9845.jpg
/home/pi/Desktop/images/31122025/21/01/image_31122025_21_01_45_10563.jpg
/home/pi/Desktop/images/31122025/21/01/image_31122025_21_01_54_9680.jpg
/home/pi/Desktop/images/31122025/21/01/image_31122025_21_02_05_10602.jpg
/home/pi/Desktop/images/31122025/21/02/image_31122025_21_02_25_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929829","1401929828","1401929831","1401929825","1401929827","1401929826"],"photo_ids_order":["1401929825","1401929826","1401929827","1401929828","1401929829","1401929831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/410e0bdff7c50fe8e503fb3eae8da23f.jpg","text":"TemporaryFile(/tmp/multipartBody2086972525316636133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213543827,"filename":"image_31122025_21_02_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d88c73a7c1a0adc6904c850201e9edd3.jpg","text":"TemporaryFile(/tmp/multipartBody4542563000286226593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213543827,"filename":"image_31122025_21_01_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36ac8a050c4c1020a919b8a413f06643.jpg","text":"TemporaryFile(/tmp/multipartBody2930111993001923527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213543827,"filename":"image_31122025_21_02_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6e974dfe421a8d68830a4f8daec9fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3484811789291001031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213543827,"filename":"image_31122025_21_01_24_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96a9fd3921dd454b8b10da459f7e11fc.jpg","text":"TemporaryFile(/tmp/multipartBody7050776425322646428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213543827,"filename":"image_31122025_21_01_45_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3db4caa85a875151207a4f75d8b1facf.jpg","text":"TemporaryFile(/tmp/multipartBody7079183908999965761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213543827,"filename":"image_31122025_21_01_34_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929827","file1":"1401929826","file0":"1401929825","file4":"1401929829","file5":"1401929831","file3":"1401929828"},"map_files_photo_id_array":[{"photo_id":"1401929831","filename":"file5"},{"photo_id":"1401929827","filename":"file2"},{"photo_id":"1401929829","filename":"file4"},{"photo_id":"1401929826","filename":"file1"},{"photo_id":"1401929825","filename":"file0"},{"photo_id":"1401929828","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929829":["hashtag1","hashtag2"]},{"1401929828":["hashtag1","hashtag2"]},{"1401929831":["hashtag1","hashtag2"]},{"1401929825":["hashtag1","hashtag2"]},{"1401929827":["hashtag1","hashtag2"]},{"1401929826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929829, 1401929828, 1401929831, 1401929825, 1401929827, 1401929826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51185703277588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:38:42.853243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_52_1808.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_54_1717.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_55_1712.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_57_1575.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_59_1630.jpg', '/home/pi/Desktop/images/03112025/20/30/image_03112025_20_31_00_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_52_1808.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_54_1717.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_55_1712.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_57_1575.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_30_59_1630.jpg
/home/pi/Desktop/images/03112025/20/30/image_03112025_20_31_00_1688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929840","1401929843","1401929837","1401929845","1401929842","1401929841"],"photo_ids_order":["1401929837","1401929840","1401929841","1401929842","1401929843","1401929845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6846a25b15f2da36ada883b9feda8d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4171909165914555183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213584736,"filename":"image_03112025_20_30_54_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02676dbace2169c49b93bef8e54087f9.jpg","text":"TemporaryFile(/tmp/multipartBody5446181880450800423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213584736,"filename":"image_03112025_20_30_59_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06e1d063136771abcf1c4d1a89dec7ac.jpg","text":"TemporaryFile(/tmp/multipartBody8459212383445467722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213584736,"filename":"image_03112025_20_30_52_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dbaf5042b8685434588779e9927f6017.jpg","text":"TemporaryFile(/tmp/multipartBody4579897705948925622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213584736,"filename":"image_03112025_20_31_00_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/548ac3d3bacf8cd508b97fc7fb741377.jpg","text":"TemporaryFile(/tmp/multipartBody5503574240005200045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213584736,"filename":"image_03112025_20_30_57_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1e30ad84efdd395bd46bd2e95b29785.jpg","text":"TemporaryFile(/tmp/multipartBody3298983695125835978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213584736,"filename":"image_03112025_20_30_55_1712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929841","file1":"1401929840","file0":"1401929837","file4":"1401929843","file5":"1401929845","file3":"1401929842"},"map_files_photo_id_array":[{"photo_id":"1401929845","filename":"file5"},{"photo_id":"1401929841","filename":"file2"},{"photo_id":"1401929843","filename":"file4"},{"photo_id":"1401929840","filename":"file1"},{"photo_id":"1401929837","filename":"file0"},{"photo_id":"1401929842","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929840":["hashtag1","hashtag2"]},{"1401929843":["hashtag1","hashtag2"]},{"1401929837":["hashtag1","hashtag2"]},{"1401929845":["hashtag1","hashtag2"]},{"1401929842":["hashtag1","hashtag2"]},{"1401929841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929840, 1401929843, 1401929837, 1401929845, 1401929842, 1401929841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.305887937545776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:39:22.018962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/02/image_31122025_21_02_34_9703.jpg', '/home/pi/Desktop/images/31122025/21/02/image_31122025_21_02_45_10817.jpg', '/home/pi/Desktop/images/31122025/21/02/image_31122025_21_02_55_9638.jpg', '/home/pi/Desktop/images/31122025/21/02/image_31122025_21_03_04_9690.jpg', '/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_15_10747.jpg', '/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_25_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/02/image_31122025_21_02_34_9703.jpg
/home/pi/Desktop/images/31122025/21/02/image_31122025_21_02_45_10817.jpg
/home/pi/Desktop/images/31122025/21/02/image_31122025_21_02_55_9638.jpg
/home/pi/Desktop/images/31122025/21/02/image_31122025_21_03_04_9690.jpg
/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_15_10747.jpg
/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_25_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929852","1401929846","1401929857","1401929854","1401929848","1401929850"],"photo_ids_order":["1401929846","1401929848","1401929850","1401929852","1401929854","1401929857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0e714719a9dcc40b99f7331f9b6afa5.jpg","text":"TemporaryFile(/tmp/multipartBody1710753126357518917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213622644,"filename":"image_31122025_21_03_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81413a2b58867d80932568db6160b43f.jpg","text":"TemporaryFile(/tmp/multipartBody1639834791353057645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213622644,"filename":"image_31122025_21_02_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74ae722b00790360a70e9c50a90ccfea.jpg","text":"TemporaryFile(/tmp/multipartBody6264513285207203554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213622644,"filename":"image_31122025_21_03_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00c9bc01211a8983d31f6cf007b71ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1979231436766877985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213622644,"filename":"image_31122025_21_03_15_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/106138b6711f060f397052873cfac41c.jpg","text":"TemporaryFile(/tmp/multipartBody1421080841644669346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213622644,"filename":"image_31122025_21_02_45_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c9bd298d96ba1883f995fc3d4570316.jpg","text":"TemporaryFile(/tmp/multipartBody3690201936205663890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213622644,"filename":"image_31122025_21_02_55_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929850","file1":"1401929848","file0":"1401929846","file4":"1401929854","file5":"1401929857","file3":"1401929852"},"map_files_photo_id_array":[{"photo_id":"1401929857","filename":"file5"},{"photo_id":"1401929850","filename":"file2"},{"photo_id":"1401929854","filename":"file4"},{"photo_id":"1401929848","filename":"file1"},{"photo_id":"1401929846","filename":"file0"},{"photo_id":"1401929852","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929852":["hashtag1","hashtag2"]},{"1401929846":["hashtag1","hashtag2"]},{"1401929857":["hashtag1","hashtag2"]},{"1401929854":["hashtag1","hashtag2"]},{"1401929848":["hashtag1","hashtag2"]},{"1401929850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929852, 1401929846, 1401929857, 1401929854, 1401929848, 1401929850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95727491378784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:40:02.746174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_34_9639.jpg', '/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_45_10639.jpg', '/home/pi/Desktop/images/31122025/21/03/image_31122025_21_04_04_9694.jpg', '/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_15_10674.jpg', '/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_25_9717.jpg', '/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_55_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_34_9639.jpg
/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_45_10639.jpg
/home/pi/Desktop/images/31122025/21/03/image_31122025_21_04_04_9694.jpg
/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_15_10674.jpg
/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_25_9717.jpg
/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_55_9559.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5113587379455566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:40:12.190527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_02_1689.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_06_3795.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_07_1758.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_13_1720.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_15_1762.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_19_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_02_1689.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_06_3795.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_07_1758.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_13_1720.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_15_1762.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_19_3729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929864","1401929867","1401929872","1401929869","1401929862","1401929871"],"photo_ids_order":["1401929862","1401929864","1401929867","1401929869","1401929871","1401929872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd7695a873f23712542a11dd51ee9573.jpg","text":"TemporaryFile(/tmp/multipartBody8271484318924682155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213674045,"filename":"image_03112025_20_31_06_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/22033d99cb61d7ac9162aac6225fecf1.jpg","text":"TemporaryFile(/tmp/multipartBody9140450379042188724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213674045,"filename":"image_03112025_20_31_07_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33981587e6a76c6b4cb1fba73d1ad5ac.jpg","text":"TemporaryFile(/tmp/multipartBody6868254097795803528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213674045,"filename":"image_03112025_20_31_19_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b44ee514c8659cadd01e4f20f00c84e8.jpg","text":"TemporaryFile(/tmp/multipartBody7775358657990574265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213674045,"filename":"image_03112025_20_31_13_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc08b8f094dc0f19ef0727aeedc4de25.jpg","text":"TemporaryFile(/tmp/multipartBody5324350578975219960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213674045,"filename":"image_03112025_20_31_02_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c88c3c8579ee63b3b035ceb32f14dab.jpg","text":"TemporaryFile(/tmp/multipartBody3465822118292605145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213674045,"filename":"image_03112025_20_31_15_1762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929867","file1":"1401929864","file0":"1401929862","file4":"1401929871","file5":"1401929872","file3":"1401929869"},"map_files_photo_id_array":[{"photo_id":"1401929872","filename":"file5"},{"photo_id":"1401929867","filename":"file2"},{"photo_id":"1401929871","filename":"file4"},{"photo_id":"1401929864","filename":"file1"},{"photo_id":"1401929862","filename":"file0"},{"photo_id":"1401929869","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929864":["hashtag1","hashtag2"]},{"1401929867":["hashtag1","hashtag2"]},{"1401929872":["hashtag1","hashtag2"]},{"1401929869":["hashtag1","hashtag2"]},{"1401929862":["hashtag1","hashtag2"]},{"1401929871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929864, 1401929867, 1401929872, 1401929869, 1401929862, 1401929871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77876281738281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:41:03.113740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_34_9639.jpg', '/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_45_10639.jpg', '/home/pi/Desktop/images/31122025/21/03/image_31122025_21_04_04_9694.jpg', '/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_15_10674.jpg', '/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_25_9717.jpg', '/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_55_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_34_9639.jpg
/home/pi/Desktop/images/31122025/21/03/image_31122025_21_03_45_10639.jpg
/home/pi/Desktop/images/31122025/21/03/image_31122025_21_04_04_9694.jpg
/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_15_10674.jpg
/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_25_9717.jpg
/home/pi/Desktop/images/31122025/21/04/image_31122025_21_04_55_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929879","1401929876","1401929881","1401929878","1401929880","1401929883"],"photo_ids_order":["1401929876","1401929878","1401929879","1401929880","1401929881","1401929883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/187da65333b29fec63144c13b8fa6392.jpg","text":"TemporaryFile(/tmp/multipartBody5791104005706507532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213723768,"filename":"image_31122025_21_04_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/455ff043f72c0b4852c39fd4c58018ab.jpg","text":"TemporaryFile(/tmp/multipartBody8719487074756015061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213723768,"filename":"image_31122025_21_03_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a35e9e653bfa736140587fa59fa73a23.jpg","text":"TemporaryFile(/tmp/multipartBody5756152021073688086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213723768,"filename":"image_31122025_21_04_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c13cff96a985203d201c47b82204d707.jpg","text":"TemporaryFile(/tmp/multipartBody236903402099250163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213723768,"filename":"image_31122025_21_03_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/263efbed35458f3ec60f07977b735de1.jpg","text":"TemporaryFile(/tmp/multipartBody6074322279169090273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213723768,"filename":"image_31122025_21_04_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95c614fc75e5b8928b7dcf504ac7a26b.jpg","text":"TemporaryFile(/tmp/multipartBody5991172661478715889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213723768,"filename":"image_31122025_21_04_55_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929879","file1":"1401929878","file0":"1401929876","file4":"1401929881","file5":"1401929883","file3":"1401929880"},"map_files_photo_id_array":[{"photo_id":"1401929883","filename":"file5"},{"photo_id":"1401929879","filename":"file2"},{"photo_id":"1401929881","filename":"file4"},{"photo_id":"1401929878","filename":"file1"},{"photo_id":"1401929876","filename":"file0"},{"photo_id":"1401929880","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929879":["hashtag1","hashtag2"]},{"1401929876":["hashtag1","hashtag2"]},{"1401929881":["hashtag1","hashtag2"]},{"1401929878":["hashtag1","hashtag2"]},{"1401929880":["hashtag1","hashtag2"]},{"1401929883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929879, 1401929876, 1401929881, 1401929878, 1401929880, 1401929883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.058531522750854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:41:42.386058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_20_1503.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_22_1779.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_24_1676.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_27_2895.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_28_1720.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_30_1783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_20_1503.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_22_1779.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_24_1676.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_27_2895.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_28_1720.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_30_1783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929891","1401929894","1401929888","1401929893","1401929890","1401929892"],"photo_ids_order":["1401929888","1401929890","1401929891","1401929892","1401929893","1401929894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef8e53902ece70623dbc1998a6043cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8856959099019877484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213764155,"filename":"image_03112025_20_31_24_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ea2d48204be64795baee23a167a9cef.jpg","text":"TemporaryFile(/tmp/multipartBody4098019204708135096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213764155,"filename":"image_03112025_20_31_30_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac06d51e8b5d0c65c481da1ea8bef98a.jpg","text":"TemporaryFile(/tmp/multipartBody6277612808196255487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213764155,"filename":"image_03112025_20_31_20_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6207413ba7a14b85f4de18ef5b452e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3856480601059122944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213764155,"filename":"image_03112025_20_31_28_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/34bc8d7d8f23c7356b32644042bbd42d.jpg","text":"TemporaryFile(/tmp/multipartBody3253581648482001379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213764155,"filename":"image_03112025_20_31_22_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e549565d59602939c72fe5cf99f6552.jpg","text":"TemporaryFile(/tmp/multipartBody8061676908105693580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213764155,"filename":"image_03112025_20_31_27_2895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929891","file1":"1401929890","file0":"1401929888","file4":"1401929893","file5":"1401929894","file3":"1401929892"},"map_files_photo_id_array":[{"photo_id":"1401929894","filename":"file5"},{"photo_id":"1401929891","filename":"file2"},{"photo_id":"1401929893","filename":"file4"},{"photo_id":"1401929890","filename":"file1"},{"photo_id":"1401929888","filename":"file0"},{"photo_id":"1401929892","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929891":["hashtag1","hashtag2"]},{"1401929894":["hashtag1","hashtag2"]},{"1401929888":["hashtag1","hashtag2"]},{"1401929893":["hashtag1","hashtag2"]},{"1401929890":["hashtag1","hashtag2"]},{"1401929892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929891, 1401929894, 1401929888, 1401929893, 1401929890, 1401929892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.862305641174316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:42:22.626652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/04/image_31122025_21_05_04_9663.jpg', '/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_15_10608.jpg', '/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_24_9594.jpg', '/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_35_10696.jpg', '/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_45_9667.jpg', '/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_55_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/04/image_31122025_21_05_04_9663.jpg
/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_15_10608.jpg
/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_24_9594.jpg
/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_35_10696.jpg
/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_45_9667.jpg
/home/pi/Desktop/images/31122025/21/05/image_31122025_21_05_55_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929897","1401929901","1401929903","1401929906","1401929899","1401929895"],"photo_ids_order":["1401929895","1401929897","1401929899","1401929901","1401929903","1401929906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bb302453d57e69efb9241ee3729d1cf.jpg","text":"TemporaryFile(/tmp/multipartBody2175324294369426395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213803225,"filename":"image_31122025_21_05_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8565e3518be4cd9ca555ed01fa3d3837.jpg","text":"TemporaryFile(/tmp/multipartBody4823388075740957605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213803225,"filename":"image_31122025_21_05_35_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dc616fe204a35effa8d06803ccbfc65.jpg","text":"TemporaryFile(/tmp/multipartBody95584282586153510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213803225,"filename":"image_31122025_21_05_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4966fcd4b1e96de12507f87ca4f93b42.jpg","text":"TemporaryFile(/tmp/multipartBody3947467701312377890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213803225,"filename":"image_31122025_21_05_55_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c02cca255436742c4670078cfe7eabc2.jpg","text":"TemporaryFile(/tmp/multipartBody6991011210799923557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213803225,"filename":"image_31122025_21_05_24_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc403c5112623b565349cb82c540e563.jpg","text":"TemporaryFile(/tmp/multipartBody3994721352238855594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213803225,"filename":"image_31122025_21_05_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929899","file1":"1401929897","file0":"1401929895","file4":"1401929903","file5":"1401929906","file3":"1401929901"},"map_files_photo_id_array":[{"photo_id":"1401929906","filename":"file5"},{"photo_id":"1401929899","filename":"file2"},{"photo_id":"1401929903","filename":"file4"},{"photo_id":"1401929897","filename":"file1"},{"photo_id":"1401929895","filename":"file0"},{"photo_id":"1401929901","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929897":["hashtag1","hashtag2"]},{"1401929901":["hashtag1","hashtag2"]},{"1401929903":["hashtag1","hashtag2"]},{"1401929906":["hashtag1","hashtag2"]},{"1401929899":["hashtag1","hashtag2"]},{"1401929895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929897, 1401929901, 1401929903, 1401929906, 1401929899, 1401929895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.828059911727905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:43:02.525805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/05/image_31122025_21_06_05_10641.jpg', '/home/pi/Desktop/images/31122025/21/06/image_31122025_21_06_15_9974.jpg', '/home/pi/Desktop/images/31122025/21/06/image_31122025_21_06_25_9727.jpg', '/home/pi/Desktop/images/31122025/21/06/image_31122025_21_06_45_10587.jpg', '/home/pi/Desktop/images/31122025/21/06/image_31122025_21_06_55_9705.jpg', '/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_14_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/05/image_31122025_21_06_05_10641.jpg
/home/pi/Desktop/images/31122025/21/06/image_31122025_21_06_15_9974.jpg
/home/pi/Desktop/images/31122025/21/06/image_31122025_21_06_25_9727.jpg
/home/pi/Desktop/images/31122025/21/06/image_31122025_21_06_45_10587.jpg
/home/pi/Desktop/images/31122025/21/06/image_31122025_21_06_55_9705.jpg
/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_14_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929909","1401929912","1401929911","1401929914","1401929908","1401929910"],"photo_ids_order":["1401929908","1401929909","1401929910","1401929911","1401929912","1401929914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/081e27ca7ddeb8ac963ca8efa8985b37.jpg","text":"TemporaryFile(/tmp/multipartBody8404106341356247192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213843179,"filename":"image_31122025_21_06_15_9974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7a79dc64fc2b3172d22943ece6b0ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8544480777374173774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213843179,"filename":"image_31122025_21_06_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75e19c5e6d91f181dc7f2d499dd0dbf2.jpg","text":"TemporaryFile(/tmp/multipartBody8053425587744505471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213843179,"filename":"image_31122025_21_06_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27df311567d70f6ac0ff2990a5dd3f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6564354830276728531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213843179,"filename":"image_31122025_21_08_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eeb6bcdb0ab1920edf951d39cfc2ede6.jpg","text":"TemporaryFile(/tmp/multipartBody3736668269356470387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213843179,"filename":"image_31122025_21_06_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdb04a4ed47dff7b0fb120b7fbd4b6f9.jpg","text":"TemporaryFile(/tmp/multipartBody6591188490459165277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213843179,"filename":"image_31122025_21_06_25_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929910","file1":"1401929909","file0":"1401929908","file4":"1401929912","file5":"1401929914","file3":"1401929911"},"map_files_photo_id_array":[{"photo_id":"1401929914","filename":"file5"},{"photo_id":"1401929910","filename":"file2"},{"photo_id":"1401929912","filename":"file4"},{"photo_id":"1401929909","filename":"file1"},{"photo_id":"1401929908","filename":"file0"},{"photo_id":"1401929911","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929909":["hashtag1","hashtag2"]},{"1401929912":["hashtag1","hashtag2"]},{"1401929911":["hashtag1","hashtag2"]},{"1401929914":["hashtag1","hashtag2"]},{"1401929908":["hashtag1","hashtag2"]},{"1401929910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929909, 1401929912, 1401929911, 1401929914, 1401929908, 1401929910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39290928840637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:43:41.854806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_32_1691.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_33_1586.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_35_1615.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_37_1878.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_39_1767.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_42_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_32_1691.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_33_1586.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_35_1615.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_37_1878.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_39_1767.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_42_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929921","1401929924","1401929923","1401929922","1401929925","1401929919"],"photo_ids_order":["1401929919","1401929921","1401929922","1401929923","1401929924","1401929925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37aa2e15bd2335cefd1d3a8f01a82939.jpg","text":"TemporaryFile(/tmp/multipartBody8102827285001642350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213883746,"filename":"image_03112025_20_31_33_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee054f05d58ccd89d184a8bfcfae4890.jpg","text":"TemporaryFile(/tmp/multipartBody2401295223004504531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213883746,"filename":"image_03112025_20_31_39_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ada759510e69d9d01bf87b19e460806d.jpg","text":"TemporaryFile(/tmp/multipartBody7184735874569149402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213883746,"filename":"image_03112025_20_31_37_1878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b33df1454df7c3fe87db5d553b55cde1.jpg","text":"TemporaryFile(/tmp/multipartBody4000194143766614829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213883746,"filename":"image_03112025_20_31_35_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f6fa1fc306afa40448e0f28274c90b4.jpg","text":"TemporaryFile(/tmp/multipartBody2494422423122056240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213883746,"filename":"image_03112025_20_31_42_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52d04e51e0c810eb02c8e124ad6c06ee.jpg","text":"TemporaryFile(/tmp/multipartBody5877484836663214951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213883746,"filename":"image_03112025_20_31_32_1691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929922","file1":"1401929921","file0":"1401929919","file4":"1401929924","file5":"1401929925","file3":"1401929923"},"map_files_photo_id_array":[{"photo_id":"1401929925","filename":"file5"},{"photo_id":"1401929922","filename":"file2"},{"photo_id":"1401929924","filename":"file4"},{"photo_id":"1401929921","filename":"file1"},{"photo_id":"1401929919","filename":"file0"},{"photo_id":"1401929923","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929921":["hashtag1","hashtag2"]},{"1401929924":["hashtag1","hashtag2"]},{"1401929923":["hashtag1","hashtag2"]},{"1401929922":["hashtag1","hashtag2"]},{"1401929925":["hashtag1","hashtag2"]},{"1401929919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929921, 1401929924, 1401929923, 1401929922, 1401929925, 1401929919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24363994598389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:44:22.068616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_25_10646.jpg', '/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_35_9663.jpg', '/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_45_9823.jpg', '/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_54_9718.jpg', '/home/pi/Desktop/images/31122025/21/09/image_31122025_21_09_15_9687.jpg', '/home/pi/Desktop/images/31122025/21/09/image_31122025_21_09_45_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_25_10646.jpg
/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_35_9663.jpg
/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_45_9823.jpg
/home/pi/Desktop/images/31122025/21/08/image_31122025_21_08_54_9718.jpg
/home/pi/Desktop/images/31122025/21/09/image_31122025_21_09_15_9687.jpg
/home/pi/Desktop/images/31122025/21/09/image_31122025_21_09_45_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929928","1401929930","1401929932","1401929935","1401929940","1401929937"],"photo_ids_order":["1401929928","1401929930","1401929932","1401929935","1401929937","1401929940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f834e7ac4d22cfa490e65cff8dc39389.jpg","text":"TemporaryFile(/tmp/multipartBody7025652152001576022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213922657,"filename":"image_31122025_21_08_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3504e2aa4d9a8229e8699fff2e256fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1104699517073143902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213922657,"filename":"image_31122025_21_08_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/885c07dd3c8756ffb7992c6f8844182a.jpg","text":"TemporaryFile(/tmp/multipartBody4240748251678940656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213922657,"filename":"image_31122025_21_08_45_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5d9d3a3ef3c7868eb9de5964d7e33dae.jpg","text":"TemporaryFile(/tmp/multipartBody5500793476528015117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213922657,"filename":"image_31122025_21_08_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ffd7e4db15cfef74ea7910b35789631f.jpg","text":"TemporaryFile(/tmp/multipartBody8964994942435100963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213922657,"filename":"image_31122025_21_09_45_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4ac011b130f4be26fdd9a6d074a4c64.jpg","text":"TemporaryFile(/tmp/multipartBody3014364717264670385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213922657,"filename":"image_31122025_21_09_15_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929932","file1":"1401929930","file0":"1401929928","file4":"1401929937","file5":"1401929940","file3":"1401929935"},"map_files_photo_id_array":[{"photo_id":"1401929940","filename":"file5"},{"photo_id":"1401929932","filename":"file2"},{"photo_id":"1401929937","filename":"file4"},{"photo_id":"1401929930","filename":"file1"},{"photo_id":"1401929928","filename":"file0"},{"photo_id":"1401929935","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929928":["hashtag1","hashtag2"]},{"1401929930":["hashtag1","hashtag2"]},{"1401929932":["hashtag1","hashtag2"]},{"1401929935":["hashtag1","hashtag2"]},{"1401929940":["hashtag1","hashtag2"]},{"1401929937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929928, 1401929930, 1401929932, 1401929935, 1401929940, 1401929937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38972783088684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:45:02.774109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/09/image_31122025_21_09_55_9751.jpg', '/home/pi/Desktop/images/31122025/21/09/image_31122025_21_10_04_9655.jpg', '/home/pi/Desktop/images/31122025/21/10/image_31122025_21_10_25_9743.jpg', '/home/pi/Desktop/images/31122025/21/10/image_31122025_21_10_44_9725.jpg', '/home/pi/Desktop/images/31122025/21/10/image_31122025_21_11_05_9637.jpg', '/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_14_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/09/image_31122025_21_09_55_9751.jpg
/home/pi/Desktop/images/31122025/21/09/image_31122025_21_10_04_9655.jpg
/home/pi/Desktop/images/31122025/21/10/image_31122025_21_10_25_9743.jpg
/home/pi/Desktop/images/31122025/21/10/image_31122025_21_10_44_9725.jpg
/home/pi/Desktop/images/31122025/21/10/image_31122025_21_11_05_9637.jpg
/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_14_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929945","1401929948","1401929944","1401929941","1401929943","1401929946"],"photo_ids_order":["1401929941","1401929943","1401929944","1401929945","1401929946","1401929948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ade6329d701d8aca9d3761c7a4e75d58.jpg","text":"TemporaryFile(/tmp/multipartBody2463697844753541032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213963417,"filename":"image_31122025_21_10_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d80ea5ec9f8e4aff59cb671767fc79a1.jpg","text":"TemporaryFile(/tmp/multipartBody2081726114169857841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213963417,"filename":"image_31122025_21_11_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/095b20aba18d9370bed171bfa69a6b7a.jpg","text":"TemporaryFile(/tmp/multipartBody4189470622950523755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213963417,"filename":"image_31122025_21_10_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b0dae4b8eed2de0693c63ed44dacfa1.jpg","text":"TemporaryFile(/tmp/multipartBody889382282895416691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213963417,"filename":"image_31122025_21_09_55_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59bda8cbdf3641b8068d93decd91fa01.jpg","text":"TemporaryFile(/tmp/multipartBody3584621637178108605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213963417,"filename":"image_31122025_21_10_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5bbe6fc4e07181592a937e46c75e221.jpg","text":"TemporaryFile(/tmp/multipartBody3510759172808116570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767213963417,"filename":"image_31122025_21_11_05_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929944","file1":"1401929943","file0":"1401929941","file4":"1401929946","file5":"1401929948","file3":"1401929945"},"map_files_photo_id_array":[{"photo_id":"1401929948","filename":"file5"},{"photo_id":"1401929944","filename":"file2"},{"photo_id":"1401929946","filename":"file4"},{"photo_id":"1401929943","filename":"file1"},{"photo_id":"1401929941","filename":"file0"},{"photo_id":"1401929945","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929945":["hashtag1","hashtag2"]},{"1401929948":["hashtag1","hashtag2"]},{"1401929944":["hashtag1","hashtag2"]},{"1401929941":["hashtag1","hashtag2"]},{"1401929943":["hashtag1","hashtag2"]},{"1401929946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929945, 1401929948, 1401929944, 1401929941, 1401929943, 1401929946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54730439186096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:45:42.198292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_45_2759.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_48_2664.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_50_2590.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_54_3681.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_57_2683.jpg', '/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_59_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_45_2759.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_48_2664.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_50_2590.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_54_3681.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_57_2683.jpg
/home/pi/Desktop/images/03112025/20/31/image_03112025_20_31_59_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929957","1401929956","1401929959","1401929953","1401929955","1401929958"],"photo_ids_order":["1401929953","1401929955","1401929956","1401929957","1401929958","1401929959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e216d64c2cd63751d0ed259dce68250.jpg","text":"TemporaryFile(/tmp/multipartBody6750193728789880912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214004125,"filename":"image_03112025_20_31_54_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15c8803cc18927c89059945ed7bc4c98.jpg","text":"TemporaryFile(/tmp/multipartBody4664294565461105325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214004125,"filename":"image_03112025_20_31_50_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bebb78b66ae1e03470efc416837bc03.jpg","text":"TemporaryFile(/tmp/multipartBody7193275113489395277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214004125,"filename":"image_03112025_20_31_59_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72f66f772c56242a100ebbfddd67908f.jpg","text":"TemporaryFile(/tmp/multipartBody7863877831655773620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214004125,"filename":"image_03112025_20_31_45_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/087b04275edd5b57b427c2c7b1752630.jpg","text":"TemporaryFile(/tmp/multipartBody942925515897558973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214004125,"filename":"image_03112025_20_31_48_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11d8b2c06a2c76358a5680f1e876d607.jpg","text":"TemporaryFile(/tmp/multipartBody799591402748730751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214004125,"filename":"image_03112025_20_31_57_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929956","file1":"1401929955","file0":"1401929953","file4":"1401929958","file5":"1401929959","file3":"1401929957"},"map_files_photo_id_array":[{"photo_id":"1401929959","filename":"file5"},{"photo_id":"1401929956","filename":"file2"},{"photo_id":"1401929958","filename":"file4"},{"photo_id":"1401929955","filename":"file1"},{"photo_id":"1401929953","filename":"file0"},{"photo_id":"1401929957","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929957":["hashtag1","hashtag2"]},{"1401929956":["hashtag1","hashtag2"]},{"1401929959":["hashtag1","hashtag2"]},{"1401929953":["hashtag1","hashtag2"]},{"1401929955":["hashtag1","hashtag2"]},{"1401929958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929957, 1401929956, 1401929959, 1401929953, 1401929955, 1401929958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07151985168457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:46:22.279552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_25_10661.jpg', '/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_35_9586.jpg', '/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_44_9685.jpg', '/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_55_10724.jpg', '/home/pi/Desktop/images/31122025/21/11/image_31122025_21_12_05_9714.jpg', '/home/pi/Desktop/images/31122025/21/12/image_31122025_21_12_14_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_25_10661.jpg
/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_35_9586.jpg
/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_44_9685.jpg
/home/pi/Desktop/images/31122025/21/11/image_31122025_21_11_55_10724.jpg
/home/pi/Desktop/images/31122025/21/11/image_31122025_21_12_05_9714.jpg
/home/pi/Desktop/images/31122025/21/12/image_31122025_21_12_14_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929963","1401929960","1401929971","1401929965","1401929967","1401929961"],"photo_ids_order":["1401929960","1401929961","1401929963","1401929965","1401929967","1401929971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8a47a6f1e9c1400bca7d6914f8922b9.jpg","text":"TemporaryFile(/tmp/multipartBody1183423319839421232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214042842,"filename":"image_31122025_21_11_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f0e20133766c16aa4eb76dce722f5e6.jpg","text":"TemporaryFile(/tmp/multipartBody526914512258040000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214042842,"filename":"image_31122025_21_11_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6d8886d713efe2ba350a6a569471522.jpg","text":"TemporaryFile(/tmp/multipartBody4299727344188883831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214042842,"filename":"image_31122025_21_12_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b7c8fdc554f536ddb802b8d631e3b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8291570097375560713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214042842,"filename":"image_31122025_21_11_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0aba026df0b3e1f819ee9c80dbc413b.jpg","text":"TemporaryFile(/tmp/multipartBody8707858614579932276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214042842,"filename":"image_31122025_21_12_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4be011bd126cf6239374554bfe2168a.jpg","text":"TemporaryFile(/tmp/multipartBody1191552015057123546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214042842,"filename":"image_31122025_21_11_35_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929963","file1":"1401929961","file0":"1401929960","file4":"1401929967","file5":"1401929971","file3":"1401929965"},"map_files_photo_id_array":[{"photo_id":"1401929971","filename":"file5"},{"photo_id":"1401929963","filename":"file2"},{"photo_id":"1401929967","filename":"file4"},{"photo_id":"1401929961","filename":"file1"},{"photo_id":"1401929960","filename":"file0"},{"photo_id":"1401929965","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929963":["hashtag1","hashtag2"]},{"1401929960":["hashtag1","hashtag2"]},{"1401929971":["hashtag1","hashtag2"]},{"1401929965":["hashtag1","hashtag2"]},{"1401929967":["hashtag1","hashtag2"]},{"1401929961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929963, 1401929960, 1401929971, 1401929965, 1401929967, 1401929961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3007607460022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:47:03.274154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/12/image_31122025_21_12_35_9686.jpg', '/home/pi/Desktop/images/31122025/21/12/image_31122025_21_12_44_9681.jpg', '/home/pi/Desktop/images/31122025/21/12/image_31122025_21_13_05_10723.jpg', '/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_15_9691.jpg', '/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_25_9766.jpg', '/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_34_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/12/image_31122025_21_12_35_9686.jpg
/home/pi/Desktop/images/31122025/21/12/image_31122025_21_12_44_9681.jpg
/home/pi/Desktop/images/31122025/21/12/image_31122025_21_13_05_10723.jpg
/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_15_9691.jpg
/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_25_9766.jpg
/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_34_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929981","1401929978","1401929980","1401929983","1401929979","1401929976"],"photo_ids_order":["1401929976","1401929978","1401929979","1401929980","1401929981","1401929983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c9e297d5ccda09d189357eb739b2703.jpg","text":"TemporaryFile(/tmp/multipartBody2399302638402503845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214083940,"filename":"image_31122025_21_13_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6e2b4790d531feaad36edd791a8c76e.jpg","text":"TemporaryFile(/tmp/multipartBody8880169098399785233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214083940,"filename":"image_31122025_21_12_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba7c2fda2e3ffaa22d2b04b056f7573f.jpg","text":"TemporaryFile(/tmp/multipartBody7828438199819406627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214083940,"filename":"image_31122025_21_13_15_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c533ef16a2848349dbebcc7d1f381500.jpg","text":"TemporaryFile(/tmp/multipartBody446666820568029393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214083940,"filename":"image_31122025_21_13_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baebff4353e9792848275d46cffaeb5c.jpg","text":"TemporaryFile(/tmp/multipartBody4390462065372451363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214083940,"filename":"image_31122025_21_13_05_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc4891cdfe3a38ef602797af731b9964.jpg","text":"TemporaryFile(/tmp/multipartBody5105557805916717050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214083940,"filename":"image_31122025_21_12_35_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929979","file1":"1401929978","file0":"1401929976","file4":"1401929981","file5":"1401929983","file3":"1401929980"},"map_files_photo_id_array":[{"photo_id":"1401929983","filename":"file5"},{"photo_id":"1401929979","filename":"file2"},{"photo_id":"1401929981","filename":"file4"},{"photo_id":"1401929978","filename":"file1"},{"photo_id":"1401929976","filename":"file0"},{"photo_id":"1401929980","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401929981":["hashtag1","hashtag2"]},{"1401929978":["hashtag1","hashtag2"]},{"1401929980":["hashtag1","hashtag2"]},{"1401929983":["hashtag1","hashtag2"]},{"1401929979":["hashtag1","hashtag2"]},{"1401929976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401929981, 1401929978, 1401929980, 1401929983, 1401929979, 1401929976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.975083351135254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:47:42.665648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_03_3685.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_06_2673.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_08_2697.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_16_7401.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_17_1521.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_19_1846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_03_3685.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_06_2673.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_08_2697.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_16_7401.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_17_1521.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_19_1846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401929996","1401929990","1401929993","1401929992","1401929994","1401929988"],"photo_ids_order":["1401929988","1401929990","1401929992","1401929993","1401929994","1401929996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/900a752f56909b37ba6611a63aebff95.jpg","text":"TemporaryFile(/tmp/multipartBody8681190976598880794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214124596,"filename":"image_03112025_20_32_19_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa98d5e9d94a7dbfc006ce7a44336693.jpg","text":"TemporaryFile(/tmp/multipartBody4861525011333697975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214124596,"filename":"image_03112025_20_32_06_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb7c0204868e25b7d084d9332d609b4e.jpg","text":"TemporaryFile(/tmp/multipartBody5637189265982978341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214124596,"filename":"image_03112025_20_32_16_7401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/375e0987cac02ad6561c7fe4c5cdadea.jpg","text":"TemporaryFile(/tmp/multipartBody7286824630245662112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214124596,"filename":"image_03112025_20_32_08_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e01fffd0da0e8a8233b46d698ae765a7.jpg","text":"TemporaryFile(/tmp/multipartBody3119578492988196764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214124596,"filename":"image_03112025_20_32_17_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb3f19defd1ef005e8d1cab0b6139a94.jpg","text":"TemporaryFile(/tmp/multipartBody8307877685287622766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214124596,"filename":"image_03112025_20_32_03_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401929992","file1":"1401929990","file0":"1401929988","file4":"1401929994","file5":"1401929996","file3":"1401929993"},"map_files_photo_id_array":[{"photo_id":"1401929996","filename":"file5"},{"photo_id":"1401929992","filename":"file2"},{"photo_id":"1401929994","filename":"file4"},{"photo_id":"1401929990","filename":"file1"},{"photo_id":"1401929988","filename":"file0"},{"photo_id":"1401929993","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401929996":["hashtag1","hashtag2"]},{"1401929990":["hashtag1","hashtag2"]},{"1401929993":["hashtag1","hashtag2"]},{"1401929992":["hashtag1","hashtag2"]},{"1401929994":["hashtag1","hashtag2"]},{"1401929988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401929996, 1401929990, 1401929993, 1401929992, 1401929994, 1401929988)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.525965452194214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:48:39.897224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_21_1571.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_36_15317.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_51_13130.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_54_3206.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_56_1701.jpg', '/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_57_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_21_1571.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_36_15317.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_51_13130.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_54_3206.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_56_1701.jpg
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_57_1620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930006","1401930009","1401930002","1401930008","1401930007","1401930004"],"photo_ids_order":["1401930002","1401930004","1401930006","1401930007","1401930008","1401930009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5a2d967a8c65ed09319be6d1667cfc0.jpg","text":"TemporaryFile(/tmp/multipartBody5899537190644924228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214181763,"filename":"image_03112025_20_32_51_13130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a19bc44327ec3dfa4158e16af573079f.jpg","text":"TemporaryFile(/tmp/multipartBody8461975547431024167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214181763,"filename":"image_03112025_20_32_57_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8921e9f56ba1db424faf896bbe983d5.jpg","text":"TemporaryFile(/tmp/multipartBody2691905286299795803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214181763,"filename":"image_03112025_20_32_21_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c1d3dab3a23d480ba277a2eecccd7bd.jpg","text":"TemporaryFile(/tmp/multipartBody6472196807939305183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214181763,"filename":"image_03112025_20_32_56_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ed821324269773da1791624221c9980.jpg","text":"TemporaryFile(/tmp/multipartBody4068078702652342459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214181763,"filename":"image_03112025_20_32_54_3206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fd701a09b6b236b736753dd85c64ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2510447410472909650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214181763,"filename":"image_03112025_20_32_36_15317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930006","file1":"1401930004","file0":"1401930002","file4":"1401930008","file5":"1401930009","file3":"1401930007"},"map_files_photo_id_array":[{"photo_id":"1401930009","filename":"file5"},{"photo_id":"1401930006","filename":"file2"},{"photo_id":"1401930008","filename":"file4"},{"photo_id":"1401930004","filename":"file1"},{"photo_id":"1401930002","filename":"file0"},{"photo_id":"1401930007","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401930006":["hashtag1","hashtag2"]},{"1401930009":["hashtag1","hashtag2"]},{"1401930002":["hashtag1","hashtag2"]},{"1401930008":["hashtag1","hashtag2"]},{"1401930007":["hashtag1","hashtag2"]},{"1401930004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401930006, 1401930009, 1401930002, 1401930008, 1401930007, 1401930004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34721374511719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:49:22.092805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_45_10855.jpg', '/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_55_9707.jpg', '/home/pi/Desktop/images/31122025/21/13/image_31122025_21_14_05_9684.jpg', '/home/pi/Desktop/images/31122025/21/14/image_31122025_21_14_24_9685.jpg', '/home/pi/Desktop/images/31122025/21/14/image_31122025_21_14_55_10661.jpg', '/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_05_10083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_45_10855.jpg
/home/pi/Desktop/images/31122025/21/13/image_31122025_21_13_55_9707.jpg
/home/pi/Desktop/images/31122025/21/13/image_31122025_21_14_05_9684.jpg
/home/pi/Desktop/images/31122025/21/14/image_31122025_21_14_24_9685.jpg
/home/pi/Desktop/images/31122025/21/14/image_31122025_21_14_55_10661.jpg
/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_05_10083.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930018","1401930012","1401930021","1401930014","1401930016","1401930010"],"photo_ids_order":["1401930010","1401930012","1401930014","1401930016","1401930018","1401930021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8c90c3492c2ac965f967bc756b7fecb1.jpg","text":"TemporaryFile(/tmp/multipartBody1039453767966789150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214222657,"filename":"image_31122025_21_14_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31507507e167e4656474a62e46d9bbe4.jpg","text":"TemporaryFile(/tmp/multipartBody4076782949287347796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214222657,"filename":"image_31122025_21_13_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d32c620a51ff63b53497098ead4f1860.jpg","text":"TemporaryFile(/tmp/multipartBody6342871745070931553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214222657,"filename":"image_31122025_21_15_05_10083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d95741aebba0dd22cc63ad1d16065cd9.jpg","text":"TemporaryFile(/tmp/multipartBody518542037217748174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214222657,"filename":"image_31122025_21_14_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51bf1a367a0a18d716f653055d8dbfd6.jpg","text":"TemporaryFile(/tmp/multipartBody1674939491762043804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214222657,"filename":"image_31122025_21_14_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a17a7604c676bf5295a15c64a28d7fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6538289218368787810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214222657,"filename":"image_31122025_21_13_45_10855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930014","file1":"1401930012","file0":"1401930010","file4":"1401930018","file5":"1401930021","file3":"1401930016"},"map_files_photo_id_array":[{"photo_id":"1401930021","filename":"file5"},{"photo_id":"1401930014","filename":"file2"},{"photo_id":"1401930018","filename":"file4"},{"photo_id":"1401930012","filename":"file1"},{"photo_id":"1401930010","filename":"file0"},{"photo_id":"1401930016","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930018":["hashtag1","hashtag2"]},{"1401930012":["hashtag1","hashtag2"]},{"1401930021":["hashtag1","hashtag2"]},{"1401930014":["hashtag1","hashtag2"]},{"1401930016":["hashtag1","hashtag2"]},{"1401930010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930018, 1401930012, 1401930021, 1401930014, 1401930016, 1401930010)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.444814682006836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:50:12.310555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_59_1650.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_01_1562.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_02_1743.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_04_1543.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_06_1682.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_07_1573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/32/image_03112025_20_32_59_1650.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_01_1562.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_02_1743.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_04_1543.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_06_1682.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_07_1573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930030","1401930024","1401930032","1401930026","1401930034","1401930028"],"photo_ids_order":["1401930024","1401930026","1401930028","1401930030","1401930032","1401930034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0cfbb5c7fd0764726f8c297e11338a9.jpg","text":"TemporaryFile(/tmp/multipartBody3976226049898701247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214279182,"filename":"image_03112025_20_33_04_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bab9765a4d27be05687f45b4b7428d67.jpg","text":"TemporaryFile(/tmp/multipartBody4375903285530577052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214279182,"filename":"image_03112025_20_32_59_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce75251bd2cefd34754f86774a4942e8.jpg","text":"TemporaryFile(/tmp/multipartBody6883893562115520054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214279182,"filename":"image_03112025_20_33_06_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c5160874c41bc2a8d9d4e180cc6f7e0.jpg","text":"TemporaryFile(/tmp/multipartBody1340617730387306201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214279182,"filename":"image_03112025_20_33_01_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/059e88005caa2e7163ee73043141c23c.jpg","text":"TemporaryFile(/tmp/multipartBody9009506681480133507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214279182,"filename":"image_03112025_20_33_07_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40a1f2c4a89d82211f62abb55bf79f7c.jpg","text":"TemporaryFile(/tmp/multipartBody2637105336122816984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214279182,"filename":"image_03112025_20_33_02_1743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930028","file1":"1401930026","file0":"1401930024","file4":"1401930032","file5":"1401930034","file3":"1401930030"},"map_files_photo_id_array":[{"photo_id":"1401930034","filename":"file5"},{"photo_id":"1401930028","filename":"file2"},{"photo_id":"1401930032","filename":"file4"},{"photo_id":"1401930026","filename":"file1"},{"photo_id":"1401930024","filename":"file0"},{"photo_id":"1401930030","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401930030":["hashtag1","hashtag2"]},{"1401930024":["hashtag1","hashtag2"]},{"1401930032":["hashtag1","hashtag2"]},{"1401930026":["hashtag1","hashtag2"]},{"1401930034":["hashtag1","hashtag2"]},{"1401930028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401930030, 1401930024, 1401930032, 1401930026, 1401930034, 1401930028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.08493900299072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:51:04.716108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_15_9679.jpg', '/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_35_10728.jpg', '/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_45_9806.jpg', '/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_55_9862.jpg', '/home/pi/Desktop/images/31122025/21/15/image_31122025_21_16_05_9734.jpg', '/home/pi/Desktop/images/31122025/21/16/image_31122025_21_16_24_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_15_9679.jpg
/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_35_10728.jpg
/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_45_9806.jpg
/home/pi/Desktop/images/31122025/21/15/image_31122025_21_15_55_9862.jpg
/home/pi/Desktop/images/31122025/21/15/image_31122025_21_16_05_9734.jpg
/home/pi/Desktop/images/31122025/21/16/image_31122025_21_16_24_9976.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401930045","1401930039","1401930041","1401930038","1401930043","1401930040"],"photo_ids_order":["1401930038","1401930039","1401930040","1401930041","1401930043","1401930045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bc5720f68d6c28a8d375d12c1ff6c9d.jpg","text":"TemporaryFile(/tmp/multipartBody7613165445726430260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214328083,"filename":"image_31122025_21_16_24_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fe4c52dd84b7c1ef83aaed5aca19c11.jpg","text":"TemporaryFile(/tmp/multipartBody5567004184745461654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214328083,"filename":"image_31122025_21_15_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cead50b41d86e45d3004b57ea4d8c10.jpg","text":"TemporaryFile(/tmp/multipartBody411430006747615734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214328083,"filename":"image_31122025_21_15_55_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1274bfb991b5022707d2a622725857dd.jpg","text":"TemporaryFile(/tmp/multipartBody7257318713220754516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214328083,"filename":"image_31122025_21_15_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf5ecd9d4d69b8b83e5d19ffcf7af663.jpg","text":"TemporaryFile(/tmp/multipartBody2893475109948002255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214328083,"filename":"image_31122025_21_16_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9ceca3b9bad53a38839e6fe971a94ca.jpg","text":"TemporaryFile(/tmp/multipartBody4363605313801819659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214328083,"filename":"image_31122025_21_15_45_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930040","file1":"1401930039","file0":"1401930038","file4":"1401930043","file5":"1401930045","file3":"1401930041"},"map_files_photo_id_array":[{"photo_id":"1401930045","filename":"file5"},{"photo_id":"1401930040","filename":"file2"},{"photo_id":"1401930043","filename":"file4"},{"photo_id":"1401930039","filename":"file1"},{"photo_id":"1401930038","filename":"file0"},{"photo_id":"1401930041","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930045":["hashtag1","hashtag2"]},{"1401930039":["hashtag1","hashtag2"]},{"1401930041":["hashtag1","hashtag2"]},{"1401930038":["hashtag1","hashtag2"]},{"1401930043":["hashtag1","hashtag2"]},{"1401930040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930045, 1401930039, 1401930041, 1401930038, 1401930043, 1401930040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.760586738586426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:52:02.573764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/16/image_31122025_21_16_35_10642.jpg', '/home/pi/Desktop/images/31122025/21/16/image_31122025_21_16_45_10056.jpg', '/home/pi/Desktop/images/31122025/21/16/image_31122025_21_16_55_9628.jpg', '/home/pi/Desktop/images/31122025/21/16/image_31122025_21_17_04_9635.jpg', '/home/pi/Desktop/images/31122025/21/17/image_31122025_21_17_15_10670.jpg', '/home/pi/Desktop/images/31122025/21/17/image_31122025_21_17_35_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/16/image_31122025_21_16_35_10642.jpg
/home/pi/Desktop/images/31122025/21/16/image_31122025_21_16_45_10056.jpg
/home/pi/Desktop/images/31122025/21/16/image_31122025_21_16_55_9628.jpg
/home/pi/Desktop/images/31122025/21/16/image_31122025_21_17_04_9635.jpg
/home/pi/Desktop/images/31122025/21/17/image_31122025_21_17_15_10670.jpg
/home/pi/Desktop/images/31122025/21/17/image_31122025_21_17_35_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930054","1401930051","1401930053","1401930056","1401930058","1401930052"],"photo_ids_order":["1401930051","1401930052","1401930053","1401930054","1401930056","1401930058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73a4afc25bc93c6277ead0b2c76ec553.jpg","text":"TemporaryFile(/tmp/multipartBody2159535047415175296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214385946,"filename":"image_31122025_21_17_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a5e66523f00e4b66131ee837b04e945.jpg","text":"TemporaryFile(/tmp/multipartBody9002006959181837755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214385946,"filename":"image_31122025_21_16_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ad73f09413f34b9cda13c689d4f36e9e.jpg","text":"TemporaryFile(/tmp/multipartBody2436623260326884550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214385946,"filename":"image_31122025_21_16_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/236d43b88509a38c9ae6a043b57b35ec.jpg","text":"TemporaryFile(/tmp/multipartBody459078627290803198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214385946,"filename":"image_31122025_21_17_15_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64ed49a43f44e2e13267b13f54be2f49.jpg","text":"TemporaryFile(/tmp/multipartBody8205265656956471012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214385946,"filename":"image_31122025_21_17_35_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ea4b2329a499e964d596ced95579408.jpg","text":"TemporaryFile(/tmp/multipartBody7280594506908577426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214385946,"filename":"image_31122025_21_16_45_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930053","file1":"1401930052","file0":"1401930051","file4":"1401930056","file5":"1401930058","file3":"1401930054"},"map_files_photo_id_array":[{"photo_id":"1401930058","filename":"file5"},{"photo_id":"1401930053","filename":"file2"},{"photo_id":"1401930056","filename":"file4"},{"photo_id":"1401930052","filename":"file1"},{"photo_id":"1401930051","filename":"file0"},{"photo_id":"1401930054","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930054":["hashtag1","hashtag2"]},{"1401930051":["hashtag1","hashtag2"]},{"1401930053":["hashtag1","hashtag2"]},{"1401930056":["hashtag1","hashtag2"]},{"1401930058":["hashtag1","hashtag2"]},{"1401930052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930054, 1401930051, 1401930053, 1401930056, 1401930058, 1401930052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90677094459534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:52:42.294709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_09_1620.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_10_1604.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_17_6651.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_19_1606.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_20_1581.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_22_1778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_09_1620.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_10_1604.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_17_6651.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_19_1606.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_20_1581.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_22_1778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930069","1401930063","1401930068","1401930070","1401930067","1401930066"],"photo_ids_order":["1401930063","1401930066","1401930067","1401930068","1401930069","1401930070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f261f0f7de75d3dfa88dfdd16da614e7.jpg","text":"TemporaryFile(/tmp/multipartBody9173702801811882670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214424152,"filename":"image_03112025_20_33_20_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1cf236f014cab24b61293667443c499.jpg","text":"TemporaryFile(/tmp/multipartBody6683487904040731809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214424152,"filename":"image_03112025_20_33_09_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/260de885019744945954eea192630fe4.jpg","text":"TemporaryFile(/tmp/multipartBody6069758431163064637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214424152,"filename":"image_03112025_20_33_19_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90aebf523225bf5535e1537b1abb9434.jpg","text":"TemporaryFile(/tmp/multipartBody8480836846127458133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214424152,"filename":"image_03112025_20_33_22_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90b45c293113b5fdef2fbca3ac17b988.jpg","text":"TemporaryFile(/tmp/multipartBody2459170709884702494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214424152,"filename":"image_03112025_20_33_17_6651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2c20c3e29c35b21333a3a4fbca12b242.jpg","text":"TemporaryFile(/tmp/multipartBody1004397529015551177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214424152,"filename":"image_03112025_20_33_10_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930067","file1":"1401930066","file0":"1401930063","file4":"1401930069","file5":"1401930070","file3":"1401930068"},"map_files_photo_id_array":[{"photo_id":"1401930070","filename":"file5"},{"photo_id":"1401930067","filename":"file2"},{"photo_id":"1401930069","filename":"file4"},{"photo_id":"1401930066","filename":"file1"},{"photo_id":"1401930063","filename":"file0"},{"photo_id":"1401930068","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401930069":["hashtag1","hashtag2"]},{"1401930063":["hashtag1","hashtag2"]},{"1401930068":["hashtag1","hashtag2"]},{"1401930070":["hashtag1","hashtag2"]},{"1401930067":["hashtag1","hashtag2"]},{"1401930066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401930069, 1401930063, 1401930068, 1401930070, 1401930067, 1401930066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88674354553223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:53:22.523731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/17/image_31122025_21_17_55_10825.jpg', '/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_14_9646.jpg', '/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_24_9771.jpg', '/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_35_10644.jpg', '/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_45_9788.jpg', '/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_54_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/17/image_31122025_21_17_55_10825.jpg
/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_14_9646.jpg
/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_24_9771.jpg
/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_35_10644.jpg
/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_45_9788.jpg
/home/pi/Desktop/images/31122025/21/18/image_31122025_21_18_54_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930081","1401930078","1401930080","1401930074","1401930076","1401930072"],"photo_ids_order":["1401930072","1401930074","1401930076","1401930078","1401930080","1401930081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ba16bfb8d336e396d7f5520e08ee6a4.jpg","text":"TemporaryFile(/tmp/multipartBody5832477373594451653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214463087,"filename":"image_31122025_21_18_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aede5a5b65a8d3ca3ca2ebcb0184fef9.jpg","text":"TemporaryFile(/tmp/multipartBody9093750692422446647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214463087,"filename":"image_31122025_21_18_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6d339f1b2a40ea59cb6579fee67def5b.jpg","text":"TemporaryFile(/tmp/multipartBody6412325397042532500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214463087,"filename":"image_31122025_21_18_45_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5de142f6bc435d9e090d45fc5f851538.jpg","text":"TemporaryFile(/tmp/multipartBody1845737941900669710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214463087,"filename":"image_31122025_21_18_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9fb8a01461369f9c604eb31025c5208c.jpg","text":"TemporaryFile(/tmp/multipartBody3130438165026325399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214463087,"filename":"image_31122025_21_18_24_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cbb1d65dfbc598a17f8ce9f61caa9dc.jpg","text":"TemporaryFile(/tmp/multipartBody6187331296360660454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214463087,"filename":"image_31122025_21_17_55_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930076","file1":"1401930074","file0":"1401930072","file4":"1401930080","file5":"1401930081","file3":"1401930078"},"map_files_photo_id_array":[{"photo_id":"1401930081","filename":"file5"},{"photo_id":"1401930076","filename":"file2"},{"photo_id":"1401930080","filename":"file4"},{"photo_id":"1401930074","filename":"file1"},{"photo_id":"1401930072","filename":"file0"},{"photo_id":"1401930078","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930081":["hashtag1","hashtag2"]},{"1401930078":["hashtag1","hashtag2"]},{"1401930080":["hashtag1","hashtag2"]},{"1401930074":["hashtag1","hashtag2"]},{"1401930076":["hashtag1","hashtag2"]},{"1401930072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930081, 1401930078, 1401930080, 1401930074, 1401930076, 1401930072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83899116516113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:54:03.433114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/18/image_31122025_21_19_04_9758.jpg', '/home/pi/Desktop/images/31122025/21/19/image_31122025_21_19_15_10828.jpg', '/home/pi/Desktop/images/31122025/21/19/image_31122025_21_19_25_9700.jpg', '/home/pi/Desktop/images/31122025/21/19/image_31122025_21_19_45_10671.jpg', '/home/pi/Desktop/images/31122025/21/19/image_31122025_21_19_55_9958.jpg', '/home/pi/Desktop/images/31122025/21/19/image_31122025_21_20_05_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/18/image_31122025_21_19_04_9758.jpg
/home/pi/Desktop/images/31122025/21/19/image_31122025_21_19_15_10828.jpg
/home/pi/Desktop/images/31122025/21/19/image_31122025_21_19_25_9700.jpg
/home/pi/Desktop/images/31122025/21/19/image_31122025_21_19_45_10671.jpg
/home/pi/Desktop/images/31122025/21/19/image_31122025_21_19_55_9958.jpg
/home/pi/Desktop/images/31122025/21/19/image_31122025_21_20_05_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930086","1401930089","1401930088","1401930085","1401930084","1401930087"],"photo_ids_order":["1401930084","1401930085","1401930086","1401930087","1401930088","1401930089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35977f885bea0dadf2eb1b85dc135e03.jpg","text":"TemporaryFile(/tmp/multipartBody6696564613058796103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214504083,"filename":"image_31122025_21_19_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de9d048cba06b86f143c64558784c45c.jpg","text":"TemporaryFile(/tmp/multipartBody4243919383808911666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214504083,"filename":"image_31122025_21_20_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/950a85cd5a8ef01c7704d5f08ad8e36c.jpg","text":"TemporaryFile(/tmp/multipartBody1033439399691120523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214504083,"filename":"image_31122025_21_19_55_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/606be13b8503f5fd973ef6c9a961160d.jpg","text":"TemporaryFile(/tmp/multipartBody2182414579452065676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214504083,"filename":"image_31122025_21_19_15_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a00ff8fc07e0d23e93dbfc6ff9e350d0.jpg","text":"TemporaryFile(/tmp/multipartBody1661835235863259718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214504083,"filename":"image_31122025_21_19_04_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98b19a64af15e0e4b5eb7aa148ee8ca5.jpg","text":"TemporaryFile(/tmp/multipartBody2311521331717509515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214504083,"filename":"image_31122025_21_19_45_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930086","file1":"1401930085","file0":"1401930084","file4":"1401930088","file5":"1401930089","file3":"1401930087"},"map_files_photo_id_array":[{"photo_id":"1401930089","filename":"file5"},{"photo_id":"1401930086","filename":"file2"},{"photo_id":"1401930088","filename":"file4"},{"photo_id":"1401930085","filename":"file1"},{"photo_id":"1401930084","filename":"file0"},{"photo_id":"1401930087","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930086":["hashtag1","hashtag2"]},{"1401930089":["hashtag1","hashtag2"]},{"1401930088":["hashtag1","hashtag2"]},{"1401930085":["hashtag1","hashtag2"]},{"1401930084":["hashtag1","hashtag2"]},{"1401930087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930086, 1401930089, 1401930088, 1401930085, 1401930084, 1401930087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62413740158081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:54:42.765733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_24_1631.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_25_1715.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_27_1691.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_29_1786.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_31_1773.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_32_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_24_1631.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_25_1715.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_27_1691.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_29_1786.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_31_1773.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_32_1620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930096","1401930105","1401930101","1401930107","1401930099","1401930103"],"photo_ids_order":["1401930096","1401930099","1401930101","1401930103","1401930105","1401930107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/abba185469ac97b082998ca46a96be0f.jpg","text":"TemporaryFile(/tmp/multipartBody5442286741166076854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214544671,"filename":"image_03112025_20_33_24_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65083d66666f02305d678095db9c5912.jpg","text":"TemporaryFile(/tmp/multipartBody735323572074325871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214544671,"filename":"image_03112025_20_33_31_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5306bffcdd72a8db0ce6c7d01462bdc4.jpg","text":"TemporaryFile(/tmp/multipartBody4092693745732476851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214544671,"filename":"image_03112025_20_33_27_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03dd9caa055a8464680dde5f301b6e6a.jpg","text":"TemporaryFile(/tmp/multipartBody2118349524925533193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214544671,"filename":"image_03112025_20_33_32_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f4b8c32e7c6fbac0645e0893d33b0967.jpg","text":"TemporaryFile(/tmp/multipartBody7717477233249134981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214544671,"filename":"image_03112025_20_33_25_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ddc3b12010bed8ccbc4ed3a68544a443.jpg","text":"TemporaryFile(/tmp/multipartBody3924865307910996334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214544671,"filename":"image_03112025_20_33_29_1786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930101","file1":"1401930099","file0":"1401930096","file4":"1401930105","file5":"1401930107","file3":"1401930103"},"map_files_photo_id_array":[{"photo_id":"1401930107","filename":"file5"},{"photo_id":"1401930101","filename":"file2"},{"photo_id":"1401930105","filename":"file4"},{"photo_id":"1401930099","filename":"file1"},{"photo_id":"1401930096","filename":"file0"},{"photo_id":"1401930103","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401930096":["hashtag1","hashtag2"]},{"1401930105":["hashtag1","hashtag2"]},{"1401930101":["hashtag1","hashtag2"]},{"1401930107":["hashtag1","hashtag2"]},{"1401930099":["hashtag1","hashtag2"]},{"1401930103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401930096, 1401930105, 1401930101, 1401930107, 1401930099, 1401930103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95098662376404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 21:55:21.966995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_15_9837.jpg', '/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_24_9707.jpg', '/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_35_10767.jpg', '/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_45_9687.jpg', '/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_55_10086.jpg', '/home/pi/Desktop/images/31122025/21/20/image_31122025_21_21_05_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_15_9837.jpg
/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_24_9707.jpg
/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_35_10767.jpg
/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_45_9687.jpg
/home/pi/Desktop/images/31122025/21/20/image_31122025_21_20_55_10086.jpg
/home/pi/Desktop/images/31122025/21/20/image_31122025_21_21_05_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930114","1401930108","1401930116","1401930110","1401930118","1401930112"],"photo_ids_order":["1401930108","1401930110","1401930112","1401930114","1401930116","1401930118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f31d49cb4e63c0fda2236b99cb63f113.jpg","text":"TemporaryFile(/tmp/multipartBody9105264567053906358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214582561,"filename":"image_31122025_21_20_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c50e07a02218a8d54b15993b179d9800.jpg","text":"TemporaryFile(/tmp/multipartBody5164788810954209826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214582561,"filename":"image_31122025_21_20_15_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00f06f086e6d9d5693aab3d9931580f2.jpg","text":"TemporaryFile(/tmp/multipartBody1784667926663904796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214582561,"filename":"image_31122025_21_20_55_10086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/907356fff3a3bbb62fcd6670c4ef725e.jpg","text":"TemporaryFile(/tmp/multipartBody9169757417584043259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214582561,"filename":"image_31122025_21_20_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/181a95fafcd1f3a9ffdd3eae50201aff.jpg","text":"TemporaryFile(/tmp/multipartBody5897593050445783739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214582561,"filename":"image_31122025_21_21_05_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/81160b072520e477ad3f338475bd3002.jpg","text":"TemporaryFile(/tmp/multipartBody2905630708435024048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214582561,"filename":"image_31122025_21_20_35_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930112","file1":"1401930110","file0":"1401930108","file4":"1401930116","file5":"1401930118","file3":"1401930114"},"map_files_photo_id_array":[{"photo_id":"1401930118","filename":"file5"},{"photo_id":"1401930112","filename":"file2"},{"photo_id":"1401930116","filename":"file4"},{"photo_id":"1401930110","filename":"file1"},{"photo_id":"1401930108","filename":"file0"},{"photo_id":"1401930114","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930114":["hashtag1","hashtag2"]},{"1401930108":["hashtag1","hashtag2"]},{"1401930116":["hashtag1","hashtag2"]},{"1401930110":["hashtag1","hashtag2"]},{"1401930118":["hashtag1","hashtag2"]},{"1401930112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930114, 1401930108, 1401930116, 1401930110, 1401930118, 1401930112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33587074279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:56:02.626817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/21/image_31122025_21_21_14_9607.jpg', '/home/pi/Desktop/images/31122025/21/21/image_31122025_21_21_35_9808.jpg', '/home/pi/Desktop/images/31122025/21/21/image_31122025_21_21_44_9625.jpg', '/home/pi/Desktop/images/31122025/21/21/image_31122025_21_21_55_10628.jpg', '/home/pi/Desktop/images/31122025/21/21/image_31122025_21_22_04_9582.jpg', '/home/pi/Desktop/images/31122025/21/22/image_31122025_21_22_15_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/21/image_31122025_21_21_14_9607.jpg
/home/pi/Desktop/images/31122025/21/21/image_31122025_21_21_35_9808.jpg
/home/pi/Desktop/images/31122025/21/21/image_31122025_21_21_44_9625.jpg
/home/pi/Desktop/images/31122025/21/21/image_31122025_21_21_55_10628.jpg
/home/pi/Desktop/images/31122025/21/21/image_31122025_21_22_04_9582.jpg
/home/pi/Desktop/images/31122025/21/22/image_31122025_21_22_15_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930120","1401930123","1401930126","1401930122","1401930124","1401930121"],"photo_ids_order":["1401930120","1401930121","1401930122","1401930123","1401930124","1401930126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a728481789eba45fd631e7101f79a0e.jpg","text":"TemporaryFile(/tmp/multipartBody896801221365319081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214623235,"filename":"image_31122025_21_21_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba62ea31cd1d2a8e220fed1c49986c09.jpg","text":"TemporaryFile(/tmp/multipartBody6221997099573817618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214623235,"filename":"image_31122025_21_21_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33da9bfa48388081951327436dfccfce.jpg","text":"TemporaryFile(/tmp/multipartBody454428670680867354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214623235,"filename":"image_31122025_21_22_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f367ff1da4493d92b797a9f31d5c77f5.jpg","text":"TemporaryFile(/tmp/multipartBody6384868781449744658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214623235,"filename":"image_31122025_21_21_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5eccd95e3c48120d45bb5211f32f2a9f.jpg","text":"TemporaryFile(/tmp/multipartBody6127494552046617125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214623235,"filename":"image_31122025_21_22_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a063d8fbb52a51a0ae064095dca4e110.jpg","text":"TemporaryFile(/tmp/multipartBody459181968652013456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214623235,"filename":"image_31122025_21_21_35_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930122","file1":"1401930121","file0":"1401930120","file4":"1401930124","file5":"1401930126","file3":"1401930123"},"map_files_photo_id_array":[{"photo_id":"1401930126","filename":"file5"},{"photo_id":"1401930122","filename":"file2"},{"photo_id":"1401930124","filename":"file4"},{"photo_id":"1401930121","filename":"file1"},{"photo_id":"1401930120","filename":"file0"},{"photo_id":"1401930123","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930120":["hashtag1","hashtag2"]},{"1401930123":["hashtag1","hashtag2"]},{"1401930126":["hashtag1","hashtag2"]},{"1401930122":["hashtag1","hashtag2"]},{"1401930124":["hashtag1","hashtag2"]},{"1401930121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930120, 1401930123, 1401930126, 1401930122, 1401930124, 1401930121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.337289333343506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:56:42.143450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_36_3575.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_54_18596.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_15_20528.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_21_6063.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_35_14355.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_37_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_36_3575.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_54_18596.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_15_20528.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_21_6063.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_35_14355.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_37_1621.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.7677583694458008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:57:03.074708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/22/image_31122025_21_22_25_9666.jpg', '/home/pi/Desktop/images/31122025/21/22/image_31122025_21_22_44_9713.jpg', '/home/pi/Desktop/images/31122025/21/22/image_31122025_21_22_55_10690.jpg', '/home/pi/Desktop/images/31122025/21/22/image_31122025_21_23_05_9714.jpg', '/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_14_9735.jpg', '/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_25_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/22/image_31122025_21_22_25_9666.jpg
/home/pi/Desktop/images/31122025/21/22/image_31122025_21_22_44_9713.jpg
/home/pi/Desktop/images/31122025/21/22/image_31122025_21_22_55_10690.jpg
/home/pi/Desktop/images/31122025/21/22/image_31122025_21_23_05_9714.jpg
/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_14_9735.jpg
/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_25_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930141","1401930144","1401930138","1401930140","1401930142","1401930139"],"photo_ids_order":["1401930138","1401930139","1401930140","1401930141","1401930142","1401930144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3be9f4d721ba13d77a8aeeb7ceb4907b.jpg","text":"TemporaryFile(/tmp/multipartBody1223885814443736301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214683728,"filename":"image_31122025_21_23_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b99eab5657804e3a3f918102b6d84f55.jpg","text":"TemporaryFile(/tmp/multipartBody7003647329709340143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214683728,"filename":"image_31122025_21_23_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50c5a9c090388e8814759740a1faf4fb.jpg","text":"TemporaryFile(/tmp/multipartBody3918231826102863215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214683728,"filename":"image_31122025_21_22_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f02a10692041775489515e078523e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8078395034902701230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214683728,"filename":"image_31122025_21_22_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57cc0cf44179a98b203d2af2942e5955.jpg","text":"TemporaryFile(/tmp/multipartBody8936211735364563062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214683728,"filename":"image_31122025_21_23_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4322ff1c8661c4b3010e78dbdc5c58c4.jpg","text":"TemporaryFile(/tmp/multipartBody4209923010926679632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214683728,"filename":"image_31122025_21_22_44_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930140","file1":"1401930139","file0":"1401930138","file4":"1401930142","file5":"1401930144","file3":"1401930141"},"map_files_photo_id_array":[{"photo_id":"1401930144","filename":"file5"},{"photo_id":"1401930140","filename":"file2"},{"photo_id":"1401930142","filename":"file4"},{"photo_id":"1401930139","filename":"file1"},{"photo_id":"1401930138","filename":"file0"},{"photo_id":"1401930141","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930141":["hashtag1","hashtag2"]},{"1401930144":["hashtag1","hashtag2"]},{"1401930138":["hashtag1","hashtag2"]},{"1401930140":["hashtag1","hashtag2"]},{"1401930142":["hashtag1","hashtag2"]},{"1401930139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930141, 1401930144, 1401930138, 1401930140, 1401930142, 1401930139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65261244773865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:57:42.285208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_36_3575.jpg', '/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_54_18596.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_15_20528.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_21_6063.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_35_14355.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_37_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_36_3575.jpg
/home/pi/Desktop/images/03112025/20/33/image_03112025_20_33_54_18596.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_15_20528.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_21_6063.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_35_14355.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_37_1621.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930153","1401930156","1401930150","1401930152","1401930155","1401930154"],"photo_ids_order":["1401930150","1401930152","1401930153","1401930154","1401930155","1401930156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a1c721b43e94037c455a025b7c097e8.jpg","text":"TemporaryFile(/tmp/multipartBody697711841577717277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214724030,"filename":"image_03112025_20_34_15_20528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bb393303b4f11ee9db1095dfc3f0413.jpg","text":"TemporaryFile(/tmp/multipartBody8054335189389537970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214724030,"filename":"image_03112025_20_34_37_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13e89df55707545458fb83da2c60a20d.jpg","text":"TemporaryFile(/tmp/multipartBody4861742486363693767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214724030,"filename":"image_03112025_20_33_36_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3f2aa0bdb7157c9902c824ceb330085.jpg","text":"TemporaryFile(/tmp/multipartBody1941336431322666124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214724030,"filename":"image_03112025_20_33_54_18596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/25046e9433df56d11650c3d24af8a7fa.jpg","text":"TemporaryFile(/tmp/multipartBody8619248350861469322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214724030,"filename":"image_03112025_20_34_35_14355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/963fb9ed3f6350ceb0e59fa766713389.jpg","text":"TemporaryFile(/tmp/multipartBody3499571233609596406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214724030,"filename":"image_03112025_20_34_21_6063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930153","file1":"1401930152","file0":"1401930150","file4":"1401930155","file5":"1401930156","file3":"1401930154"},"map_files_photo_id_array":[{"photo_id":"1401930156","filename":"file5"},{"photo_id":"1401930153","filename":"file2"},{"photo_id":"1401930155","filename":"file4"},{"photo_id":"1401930152","filename":"file1"},{"photo_id":"1401930150","filename":"file0"},{"photo_id":"1401930154","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401930153":["hashtag1","hashtag2"]},{"1401930156":["hashtag1","hashtag2"]},{"1401930150":["hashtag1","hashtag2"]},{"1401930152":["hashtag1","hashtag2"]},{"1401930155":["hashtag1","hashtag2"]},{"1401930154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401930153, 1401930156, 1401930150, 1401930152, 1401930155, 1401930154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7360897064209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 21:59:03.547273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_35_9728.jpg', '/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_44_9631.jpg', '/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_54_9929.jpg', '/home/pi/Desktop/images/31122025/21/23/image_31122025_21_24_05_10594.jpg', '/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_14_9657.jpg', '/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_25_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_35_9728.jpg
/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_44_9631.jpg
/home/pi/Desktop/images/31122025/21/23/image_31122025_21_23_54_9929.jpg
/home/pi/Desktop/images/31122025/21/23/image_31122025_21_24_05_10594.jpg
/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_14_9657.jpg
/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_25_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401930522","1401930593","1401930668","1401930559","1401930631","1401930480"],"photo_ids_order":["1401930480","1401930522","1401930559","1401930593","1401930631","1401930668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0468dc41032197ddcccd0bbb3d4dbbe.jpg","text":"TemporaryFile(/tmp/multipartBody9063152877628799810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214804345,"filename":"image_31122025_21_23_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6794e81ed786e5a17e1e5dfe2de5539.jpg","text":"TemporaryFile(/tmp/multipartBody1270994431753953958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214804345,"filename":"image_31122025_21_24_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fe807f552f94556f3e0f2f902f2f5b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7312005415234209773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214804345,"filename":"image_31122025_21_24_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a44beffa0a5bd238e5c6c148345edfbc.jpg","text":"TemporaryFile(/tmp/multipartBody8692698203528586264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214804345,"filename":"image_31122025_21_23_54_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37227defd872c2833b4b448da76fbc47.jpg","text":"TemporaryFile(/tmp/multipartBody7836618572902592376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214804345,"filename":"image_31122025_21_24_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bf625bbd678d1e602b97e7741ab2aa8.jpg","text":"TemporaryFile(/tmp/multipartBody2749935779344774921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214804345,"filename":"image_31122025_21_23_35_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401930559","file1":"1401930522","file0":"1401930480","file4":"1401930631","file5":"1401930668","file3":"1401930593"},"map_files_photo_id_array":[{"photo_id":"1401930668","filename":"file5"},{"photo_id":"1401930559","filename":"file2"},{"photo_id":"1401930631","filename":"file4"},{"photo_id":"1401930522","filename":"file1"},{"photo_id":"1401930480","filename":"file0"},{"photo_id":"1401930593","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401930522":["hashtag1","hashtag2"]},{"1401930593":["hashtag1","hashtag2"]},{"1401930668":["hashtag1","hashtag2"]},{"1401930559":["hashtag1","hashtag2"]},{"1401930631":["hashtag1","hashtag2"]},{"1401930480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401930522, 1401930593, 1401930668, 1401930559, 1401930631, 1401930480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43512153625488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 21:59:42.591036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_39_1708.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_40_1568.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_42_1523.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_43_1734.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_45_1592.jpg', '/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_49_3478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_39_1708.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_40_1568.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_42_1523.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_43_1734.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_45_1592.jpg
/home/pi/Desktop/images/03112025/20/34/image_03112025_20_34_49_3478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401931199","1401931125","1401931049","1401930887","1401930968","1401931275"],"photo_ids_order":["1401930887","1401930968","1401931049","1401931125","1401931199","1401931275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a5f8157a01c43035a4422b923f0176c.jpg","text":"TemporaryFile(/tmp/multipartBody1042144748064006008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214844480,"filename":"image_03112025_20_34_45_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6650eb0d9fe1ce94a74c98caa29ef478.jpg","text":"TemporaryFile(/tmp/multipartBody9071762847918567386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214844480,"filename":"image_03112025_20_34_43_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d393a5267aaacd8dfbad52165c3708ac.jpg","text":"TemporaryFile(/tmp/multipartBody6289655574297319266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214844480,"filename":"image_03112025_20_34_42_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78acbb04977b97d2a87906ef4405dd28.jpg","text":"TemporaryFile(/tmp/multipartBody6629319424579299591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214844480,"filename":"image_03112025_20_34_39_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f76d665ccae3255360a6df69a6f238ff.jpg","text":"TemporaryFile(/tmp/multipartBody5437733901130094650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214844480,"filename":"image_03112025_20_34_40_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1920a532722bbbae2de549c0e9e1c06e.jpg","text":"TemporaryFile(/tmp/multipartBody9155500059684364132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214844480,"filename":"image_03112025_20_34_49_3478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401931049","file1":"1401930968","file0":"1401930887","file4":"1401931199","file5":"1401931275","file3":"1401931125"},"map_files_photo_id_array":[{"photo_id":"1401931275","filename":"file5"},{"photo_id":"1401931049","filename":"file2"},{"photo_id":"1401931199","filename":"file4"},{"photo_id":"1401930968","filename":"file1"},{"photo_id":"1401930887","filename":"file0"},{"photo_id":"1401931125","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401931199":["hashtag1","hashtag2"]},{"1401931125":["hashtag1","hashtag2"]},{"1401931049":["hashtag1","hashtag2"]},{"1401930887":["hashtag1","hashtag2"]},{"1401930968":["hashtag1","hashtag2"]},{"1401931275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401931199, 1401931125, 1401931049, 1401930887, 1401930968, 1401931275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86707639694214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:00:22.772485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_35_9670.jpg', '/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_45_9727.jpg', '/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_55_10660.jpg', '/home/pi/Desktop/images/31122025/21/24/image_31122025_21_25_05_9734.jpg', '/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_15_9747.jpg', '/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_24_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_35_9670.jpg
/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_45_9727.jpg
/home/pi/Desktop/images/31122025/21/24/image_31122025_21_24_55_10660.jpg
/home/pi/Desktop/images/31122025/21/24/image_31122025_21_25_05_9734.jpg
/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_15_9747.jpg
/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_24_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401932045","1401931753","1401931543","1401931965","1401931647","1401931854"],"photo_ids_order":["1401931543","1401931647","1401931753","1401931854","1401931965","1401932045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/136238243434938e1809e8d5953c054c.jpg","text":"TemporaryFile(/tmp/multipartBody593682875172036931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214883366,"filename":"image_31122025_21_25_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14266d9d9e5f7cb4393594fbdc081587.jpg","text":"TemporaryFile(/tmp/multipartBody2207526921788197629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214883366,"filename":"image_31122025_21_24_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/454d01cce79bdcd6c315d5a485a408c2.jpg","text":"TemporaryFile(/tmp/multipartBody5138000909362444181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214883366,"filename":"image_31122025_21_24_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d462c603be2206dc27c21e96a8da597.jpg","text":"TemporaryFile(/tmp/multipartBody2709572514449155335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214883366,"filename":"image_31122025_21_25_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4b36a33192ee165affc7d0ea98ce221.jpg","text":"TemporaryFile(/tmp/multipartBody7371882857384761041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214883366,"filename":"image_31122025_21_24_45_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e81e1c31c02cd5e238469c19f114699.jpg","text":"TemporaryFile(/tmp/multipartBody2632391132982968839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214883366,"filename":"image_31122025_21_25_05_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401931753","file1":"1401931647","file0":"1401931543","file4":"1401931965","file5":"1401932045","file3":"1401931854"},"map_files_photo_id_array":[{"photo_id":"1401932045","filename":"file5"},{"photo_id":"1401931753","filename":"file2"},{"photo_id":"1401931965","filename":"file4"},{"photo_id":"1401931647","filename":"file1"},{"photo_id":"1401931543","filename":"file0"},{"photo_id":"1401931854","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401932045":["hashtag1","hashtag2"]},{"1401931753":["hashtag1","hashtag2"]},{"1401931543":["hashtag1","hashtag2"]},{"1401931965":["hashtag1","hashtag2"]},{"1401931647":["hashtag1","hashtag2"]},{"1401931854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401932045, 1401931753, 1401931543, 1401931965, 1401931647, 1401931854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52665638923645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:01:02.578767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_35_10671.jpg', '/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_45_9835.jpg', '/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_55_9726.jpg', '/home/pi/Desktop/images/31122025/21/25/image_31122025_21_26_04_9685.jpg', '/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_15_10767.jpg', '/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_25_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_35_10671.jpg
/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_45_9835.jpg
/home/pi/Desktop/images/31122025/21/25/image_31122025_21_25_55_9726.jpg
/home/pi/Desktop/images/31122025/21/25/image_31122025_21_26_04_9685.jpg
/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_15_10767.jpg
/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_25_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401932374","1401932452","1401932410","1401932337","1401932316","1401932238"],"photo_ids_order":["1401932238","1401932316","1401932337","1401932374","1401932410","1401932452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/063e8923cbdbd7393ce119c6f70b1e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1547843696628849111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214923275,"filename":"image_31122025_21_26_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bae9c838c212d7dd83ec59ab7f4a6723.jpg","text":"TemporaryFile(/tmp/multipartBody5538115767000826984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214923275,"filename":"image_31122025_21_26_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31e89da69a57c4b645b90df13e771284.jpg","text":"TemporaryFile(/tmp/multipartBody572683997342603782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214923275,"filename":"image_31122025_21_26_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20018b7e77f4a59546d40b7a4717d470.jpg","text":"TemporaryFile(/tmp/multipartBody1584020573120939480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214923275,"filename":"image_31122025_21_25_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21e78a7ae3dca5d7983f2211dbce6cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6189344724463939570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214923275,"filename":"image_31122025_21_25_45_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44b1c17b58d42defefb60da72890cbf1.jpg","text":"TemporaryFile(/tmp/multipartBody801699778310052075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214923275,"filename":"image_31122025_21_25_35_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401932337","file1":"1401932316","file0":"1401932238","file4":"1401932410","file5":"1401932452","file3":"1401932374"},"map_files_photo_id_array":[{"photo_id":"1401932452","filename":"file5"},{"photo_id":"1401932337","filename":"file2"},{"photo_id":"1401932410","filename":"file4"},{"photo_id":"1401932316","filename":"file1"},{"photo_id":"1401932238","filename":"file0"},{"photo_id":"1401932374","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401932374":["hashtag1","hashtag2"]},{"1401932452":["hashtag1","hashtag2"]},{"1401932410":["hashtag1","hashtag2"]},{"1401932337":["hashtag1","hashtag2"]},{"1401932316":["hashtag1","hashtag2"]},{"1401932238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401932374, 1401932452, 1401932410, 1401932337, 1401932316, 1401932238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12387943267822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:02:02.731213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_34_9702.jpg', '/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_45_10612.jpg', '/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_55_9898.jpg', '/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_15_10625.jpg', '/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_25_9937.jpg', '/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_35_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_34_9702.jpg
/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_45_10612.jpg
/home/pi/Desktop/images/31122025/21/26/image_31122025_21_26_55_9898.jpg
/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_15_10625.jpg
/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_25_9937.jpg
/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_35_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401932983","1401932944","1401932731","1401933030","1401932904","1401932814"],"photo_ids_order":["1401932731","1401932814","1401932904","1401932944","1401932983","1401933030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62c3bc08d7830dacfe9bee9b5e510db2.jpg","text":"TemporaryFile(/tmp/multipartBody8219221340270353967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214983657,"filename":"image_31122025_21_27_25_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51715ac2423cf018f5eb1f03b720a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody1205946045665240017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214983657,"filename":"image_31122025_21_27_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93e11bf1b72f3f292f8092bd2d15aea7.jpg","text":"TemporaryFile(/tmp/multipartBody6735593400961629899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214983657,"filename":"image_31122025_21_26_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7e0e644bbac1dfd692c49729214876b.jpg","text":"TemporaryFile(/tmp/multipartBody4236718501734541368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214983657,"filename":"image_31122025_21_27_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78106bd9704470f39f312c00d817e773.jpg","text":"TemporaryFile(/tmp/multipartBody8360619060022046304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214983657,"filename":"image_31122025_21_26_55_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b818467580d2df9638eb73be35db6a40.jpg","text":"TemporaryFile(/tmp/multipartBody8558506924161761386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767214983657,"filename":"image_31122025_21_26_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401932904","file1":"1401932814","file0":"1401932731","file4":"1401932983","file5":"1401933030","file3":"1401932944"},"map_files_photo_id_array":[{"photo_id":"1401933030","filename":"file5"},{"photo_id":"1401932904","filename":"file2"},{"photo_id":"1401932983","filename":"file4"},{"photo_id":"1401932814","filename":"file1"},{"photo_id":"1401932731","filename":"file0"},{"photo_id":"1401932944","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401932983":["hashtag1","hashtag2"]},{"1401932944":["hashtag1","hashtag2"]},{"1401932731":["hashtag1","hashtag2"]},{"1401933030":["hashtag1","hashtag2"]},{"1401932904":["hashtag1","hashtag2"]},{"1401932814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401932983, 1401932944, 1401932731, 1401933030, 1401932904, 1401932814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95296120643616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:03:03.094437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_44_9707.jpg', '/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_55_10572.jpg', '/home/pi/Desktop/images/31122025/21/27/image_31122025_21_28_05_9675.jpg', '/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_14_9809.jpg', '/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_25_10646.jpg', '/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_35_9885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_44_9707.jpg
/home/pi/Desktop/images/31122025/21/27/image_31122025_21_27_55_10572.jpg
/home/pi/Desktop/images/31122025/21/27/image_31122025_21_28_05_9675.jpg
/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_14_9809.jpg
/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_25_10646.jpg
/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_35_9885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401933401","1401933415","1401933316","1401933405","1401933449","1401933359"],"photo_ids_order":["1401933316","1401933359","1401933401","1401933405","1401933415","1401933449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eeccaa0ff97db8f970733454903b1f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3283341305481119835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215044987,"filename":"image_31122025_21_28_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76b8bfbba3d52106d406c61ef93a42fa.jpg","text":"TemporaryFile(/tmp/multipartBody4638380491409763464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215044987,"filename":"image_31122025_21_28_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc2ffc3ffd1b7904911dea1d1f94b258.jpg","text":"TemporaryFile(/tmp/multipartBody2271558763293297727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215044987,"filename":"image_31122025_21_27_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e759db4da7452ef6e9b464ba8cfec9dd.jpg","text":"TemporaryFile(/tmp/multipartBody8889927561848237811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215044987,"filename":"image_31122025_21_28_14_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/feff2265f381e1ae90abb3365da2d4e9.jpg","text":"TemporaryFile(/tmp/multipartBody4660965188380382337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215044987,"filename":"image_31122025_21_28_35_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02201f46c818c596aeeeec63c10aa1fb.jpg","text":"TemporaryFile(/tmp/multipartBody99995941015879178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215044987,"filename":"image_31122025_21_27_55_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401933401","file1":"1401933359","file0":"1401933316","file4":"1401933415","file5":"1401933449","file3":"1401933405"},"map_files_photo_id_array":[{"photo_id":"1401933449","filename":"file5"},{"photo_id":"1401933401","filename":"file2"},{"photo_id":"1401933415","filename":"file4"},{"photo_id":"1401933359","filename":"file1"},{"photo_id":"1401933316","filename":"file0"},{"photo_id":"1401933405","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401933401":["hashtag1","hashtag2"]},{"1401933415":["hashtag1","hashtag2"]},{"1401933316":["hashtag1","hashtag2"]},{"1401933405":["hashtag1","hashtag2"]},{"1401933449":["hashtag1","hashtag2"]},{"1401933359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401933401, 1401933415, 1401933316, 1401933405, 1401933449, 1401933359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35326552391052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:04:03.252281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_45_9733.jpg', '/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_54_9759.jpg', '/home/pi/Desktop/images/31122025/21/28/image_31122025_21_29_05_10611.jpg', '/home/pi/Desktop/images/31122025/21/29/image_31122025_21_29_15_9634.jpg', '/home/pi/Desktop/images/31122025/21/29/image_31122025_21_29_24_9661.jpg', '/home/pi/Desktop/images/31122025/21/29/image_31122025_21_29_45_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_45_9733.jpg
/home/pi/Desktop/images/31122025/21/28/image_31122025_21_28_54_9759.jpg
/home/pi/Desktop/images/31122025/21/28/image_31122025_21_29_05_10611.jpg
/home/pi/Desktop/images/31122025/21/29/image_31122025_21_29_15_9634.jpg
/home/pi/Desktop/images/31122025/21/29/image_31122025_21_29_24_9661.jpg
/home/pi/Desktop/images/31122025/21/29/image_31122025_21_29_45_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401933481","1401933478","1401933475","1401933477","1401933479","1401933476"],"photo_ids_order":["1401933475","1401933476","1401933477","1401933478","1401933479","1401933481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0008eb24bcfb6b264a4d9187de6ec73.jpg","text":"TemporaryFile(/tmp/multipartBody4175578086696070561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215103978,"filename":"image_31122025_21_29_45_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9eb218cf87fed825e359d82765d86ada.jpg","text":"TemporaryFile(/tmp/multipartBody8470980620028462660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215103978,"filename":"image_31122025_21_29_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e24b77df92105859dfef3f2c528308dc.jpg","text":"TemporaryFile(/tmp/multipartBody9097119118780673785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215103978,"filename":"image_31122025_21_28_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05aa7c22ada1d72db625c74fa736bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody7200373825608332610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215103978,"filename":"image_31122025_21_29_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7ba09e269e05e00698d96f4e8148d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1457963800320414027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215103978,"filename":"image_31122025_21_29_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed73d3fc7351b806707714236bfb94cd.jpg","text":"TemporaryFile(/tmp/multipartBody4614143474330317490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215103978,"filename":"image_31122025_21_28_54_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401933477","file1":"1401933476","file0":"1401933475","file4":"1401933479","file5":"1401933481","file3":"1401933478"},"map_files_photo_id_array":[{"photo_id":"1401933481","filename":"file5"},{"photo_id":"1401933477","filename":"file2"},{"photo_id":"1401933479","filename":"file4"},{"photo_id":"1401933476","filename":"file1"},{"photo_id":"1401933475","filename":"file0"},{"photo_id":"1401933478","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401933481":["hashtag1","hashtag2"]},{"1401933478":["hashtag1","hashtag2"]},{"1401933475":["hashtag1","hashtag2"]},{"1401933477":["hashtag1","hashtag2"]},{"1401933479":["hashtag1","hashtag2"]},{"1401933476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401933481, 1401933478, 1401933475, 1401933477, 1401933479, 1401933476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.138354539871216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:04:42.446531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/35/image_03112025_20_35_12_23508.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_07_3018.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_10_3629.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_13_2740.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_18_4980.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_20_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/35/image_03112025_20_35_12_23508.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_07_3018.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_10_3629.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_13_2740.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_18_4980.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_20_1675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401933490","1401933492","1401933495","1401933489","1401933486","1401933491"],"photo_ids_order":["1401933486","1401933489","1401933490","1401933491","1401933492","1401933495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2096f2e40f3cc28be4ee24179cb7b543.jpg","text":"TemporaryFile(/tmp/multipartBody7240480303545280869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215144446,"filename":"image_03112025_20_36_10_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/786907aa07730a6edd103372883731a3.jpg","text":"TemporaryFile(/tmp/multipartBody1774902591459234315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215144446,"filename":"image_03112025_20_36_18_4980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21ffb8124b41a6b40613f3c4d0dd3da9.jpg","text":"TemporaryFile(/tmp/multipartBody7620287736956220722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215144446,"filename":"image_03112025_20_36_20_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67d85ff1b52cb41d7eda0f933e7be494.jpg","text":"TemporaryFile(/tmp/multipartBody8495381559236607990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215144446,"filename":"image_03112025_20_36_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31e35e163571243e2ab74ff343301b05.jpg","text":"TemporaryFile(/tmp/multipartBody122621728582345410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215144446,"filename":"image_03112025_20_35_12_23508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2200101d67a8e9b1079454f8a31fb424.jpg","text":"TemporaryFile(/tmp/multipartBody4176904717929290403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215144446,"filename":"image_03112025_20_36_13_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401933490","file1":"1401933489","file0":"1401933486","file4":"1401933492","file5":"1401933495","file3":"1401933491"},"map_files_photo_id_array":[{"photo_id":"1401933495","filename":"file5"},{"photo_id":"1401933490","filename":"file2"},{"photo_id":"1401933492","filename":"file4"},{"photo_id":"1401933489","filename":"file1"},{"photo_id":"1401933486","filename":"file0"},{"photo_id":"1401933491","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401933490":["hashtag1","hashtag2"]},{"1401933492":["hashtag1","hashtag2"]},{"1401933495":["hashtag1","hashtag2"]},{"1401933489":["hashtag1","hashtag2"]},{"1401933486":["hashtag1","hashtag2"]},{"1401933491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401933490, 1401933492, 1401933495, 1401933489, 1401933486, 1401933491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.526395320892334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:05:32.610993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_23_2710.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_28_3215.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_31_2624.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_35_3682.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_37_2706.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_44_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_23_2710.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_28_3215.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_31_2624.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_35_3682.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_37_2706.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_44_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401933506","1401933499","1401933508","1401933507","1401933501","1401933504"],"photo_ids_order":["1401933499","1401933501","1401933504","1401933506","1401933507","1401933508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a41b3ab3a6f0c0588a9c94d31fa38ea4.jpg","text":"TemporaryFile(/tmp/multipartBody2621479283964297790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215194482,"filename":"image_03112025_20_36_35_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df92fdf5d143404b43dcaf52221b0159.jpg","text":"TemporaryFile(/tmp/multipartBody6589788595240489857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215194482,"filename":"image_03112025_20_36_23_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f40e16c1811c0b94362594d18ce8a32.jpg","text":"TemporaryFile(/tmp/multipartBody3089773770176941125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215194482,"filename":"image_03112025_20_36_44_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e96aedbb81f615099e80baf9e7fad80.jpg","text":"TemporaryFile(/tmp/multipartBody2733058467032170816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215194482,"filename":"image_03112025_20_36_37_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1953ef6ae53abbfcd098f62d76b217d2.jpg","text":"TemporaryFile(/tmp/multipartBody7912788520418216244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215194482,"filename":"image_03112025_20_36_28_3215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dad56f3082357c28434431b592eddf1.jpg","text":"TemporaryFile(/tmp/multipartBody3695018569783929654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215194482,"filename":"image_03112025_20_36_31_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401933504","file1":"1401933501","file0":"1401933499","file4":"1401933507","file5":"1401933508","file3":"1401933506"},"map_files_photo_id_array":[{"photo_id":"1401933508","filename":"file5"},{"photo_id":"1401933504","filename":"file2"},{"photo_id":"1401933507","filename":"file4"},{"photo_id":"1401933501","filename":"file1"},{"photo_id":"1401933499","filename":"file0"},{"photo_id":"1401933506","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401933506":["hashtag1","hashtag2"]},{"1401933499":["hashtag1","hashtag2"]},{"1401933508":["hashtag1","hashtag2"]},{"1401933507":["hashtag1","hashtag2"]},{"1401933501":["hashtag1","hashtag2"]},{"1401933504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401933506, 1401933499, 1401933508, 1401933507, 1401933501, 1401933504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33538103103638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:06:12.748619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_47_2961.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_49_2846.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_52_2725.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_58_5405.jpg', '/home/pi/Desktop/images/03112025/20/36/image_03112025_20_37_00_2944.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_04_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_47_2961.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_49_2846.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_52_2725.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_36_58_5405.jpg
/home/pi/Desktop/images/03112025/20/36/image_03112025_20_37_00_2944.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_04_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401933886","1401933512","1401933509","1401933631","1401933535","1401933510"],"photo_ids_order":["1401933509","1401933510","1401933512","1401933535","1401933631","1401933886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/84982d16c29a7113700268e2902fd85a.jpg","text":"TemporaryFile(/tmp/multipartBody8856795462467282771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215234532,"filename":"image_03112025_20_37_04_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73799efcc55659c8f41c23c9cbfb198d.jpg","text":"TemporaryFile(/tmp/multipartBody1179092194693164093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215234532,"filename":"image_03112025_20_36_52_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b462f876aa3b579d95aef989e119269f.jpg","text":"TemporaryFile(/tmp/multipartBody2188563790860735762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215234532,"filename":"image_03112025_20_36_47_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c34b5fd7b533811d916ea86b042e861f.jpg","text":"TemporaryFile(/tmp/multipartBody5344119481693889476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215234532,"filename":"image_03112025_20_37_00_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/791b940723719ca6107c61f204e3f3dc.jpg","text":"TemporaryFile(/tmp/multipartBody907447607011858102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215234532,"filename":"image_03112025_20_36_58_5405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48d63d62c7545b2838b3e63abe08a67f.jpg","text":"TemporaryFile(/tmp/multipartBody1790208682488689098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215234532,"filename":"image_03112025_20_36_49_2846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401933512","file1":"1401933510","file0":"1401933509","file4":"1401933631","file5":"1401933886","file3":"1401933535"},"map_files_photo_id_array":[{"photo_id":"1401933886","filename":"file5"},{"photo_id":"1401933512","filename":"file2"},{"photo_id":"1401933631","filename":"file4"},{"photo_id":"1401933510","filename":"file1"},{"photo_id":"1401933509","filename":"file0"},{"photo_id":"1401933535","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401933886":["hashtag1","hashtag2"]},{"1401933512":["hashtag1","hashtag2"]},{"1401933509":["hashtag1","hashtag2"]},{"1401933631":["hashtag1","hashtag2"]},{"1401933535":["hashtag1","hashtag2"]},{"1401933510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401933886, 1401933512, 1401933509, 1401933631, 1401933535, 1401933510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.50247621536255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:07:02.467190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/29/image_31122025_21_29_54_9525.jpg', '/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_15_10057.jpg', '/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_26_10742.jpg', '/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_35_9629.jpg', '/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_45_9806.jpg', '/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_56_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/29/image_31122025_21_29_54_9525.jpg
/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_15_10057.jpg
/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_26_10742.jpg
/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_35_9629.jpg
/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_45_9806.jpg
/home/pi/Desktop/images/31122025/21/30/image_31122025_21_30_56_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401934273","1401934402","1401934405","1401934401","1401934403","1401934363"],"photo_ids_order":["1401934273","1401934363","1401934401","1401934402","1401934403","1401934405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cb215e76cc22b77332494277573f10c.jpg","text":"TemporaryFile(/tmp/multipartBody8996243386410210656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215283111,"filename":"image_31122025_21_29_54_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c62fb290a6b2ac1e454a8de1dda179e.jpg","text":"TemporaryFile(/tmp/multipartBody568723945470667627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215283111,"filename":"image_31122025_21_30_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d36fba9805ddf2e875a10a3026b3b792.jpg","text":"TemporaryFile(/tmp/multipartBody4753666362671363021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215283111,"filename":"image_31122025_21_30_56_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ddcc04281ab5b982b3933d43cae8ce6.jpg","text":"TemporaryFile(/tmp/multipartBody8139834511496665797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215283111,"filename":"image_31122025_21_30_26_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c736f9fc5100749a5ded53b2dfdedf8.jpg","text":"TemporaryFile(/tmp/multipartBody5217347927432455329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215283111,"filename":"image_31122025_21_30_45_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b014b23daacf4a66ded13e83873f0041.jpg","text":"TemporaryFile(/tmp/multipartBody3122696519617297611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215283111,"filename":"image_31122025_21_30_15_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401934401","file1":"1401934363","file0":"1401934273","file4":"1401934403","file5":"1401934405","file3":"1401934402"},"map_files_photo_id_array":[{"photo_id":"1401934405","filename":"file5"},{"photo_id":"1401934401","filename":"file2"},{"photo_id":"1401934403","filename":"file4"},{"photo_id":"1401934363","filename":"file1"},{"photo_id":"1401934273","filename":"file0"},{"photo_id":"1401934402","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401934273":["hashtag1","hashtag2"]},{"1401934402":["hashtag1","hashtag2"]},{"1401934405":["hashtag1","hashtag2"]},{"1401934401":["hashtag1","hashtag2"]},{"1401934403":["hashtag1","hashtag2"]},{"1401934363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401934273, 1401934402, 1401934405, 1401934401, 1401934403, 1401934363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08425712585449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:07:41.913358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_10_2770.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_18_7617.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_19_1598.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_21_1736.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_23_1722.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_25_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_10_2770.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_18_7617.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_19_1598.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_21_1736.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_23_1722.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_25_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401934810","1401935046","1401935150","1401934602","1401934916","1401934700"],"photo_ids_order":["1401934602","1401934700","1401934810","1401934916","1401935046","1401935150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbaa089ca9a1305007c236a4dc9adf31.jpg","text":"TemporaryFile(/tmp/multipartBody2771731877212789057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215323791,"filename":"image_03112025_20_37_19_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e9be2e1c4dbe5096023abaaa2a83027.jpg","text":"TemporaryFile(/tmp/multipartBody1907694654012410394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215323791,"filename":"image_03112025_20_37_23_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23a056fbb7aaee531e739951f501015a.jpg","text":"TemporaryFile(/tmp/multipartBody1993469806123549360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215323791,"filename":"image_03112025_20_37_25_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4dd5b141340f3346cad6517a00ad1c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1000536617504523970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215323791,"filename":"image_03112025_20_37_10_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0771cb81b5f9c9093968a83069db9c6a.jpg","text":"TemporaryFile(/tmp/multipartBody9114960334723821673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215323791,"filename":"image_03112025_20_37_21_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f19495d64ec5741760deb675fec91ff.jpg","text":"TemporaryFile(/tmp/multipartBody4336073657216917287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215323791,"filename":"image_03112025_20_37_18_7617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401934810","file1":"1401934700","file0":"1401934602","file4":"1401935046","file5":"1401935150","file3":"1401934916"},"map_files_photo_id_array":[{"photo_id":"1401935150","filename":"file5"},{"photo_id":"1401934810","filename":"file2"},{"photo_id":"1401935046","filename":"file4"},{"photo_id":"1401934700","filename":"file1"},{"photo_id":"1401934602","filename":"file0"},{"photo_id":"1401934916","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401934810":["hashtag1","hashtag2"]},{"1401935046":["hashtag1","hashtag2"]},{"1401935150":["hashtag1","hashtag2"]},{"1401934602":["hashtag1","hashtag2"]},{"1401934916":["hashtag1","hashtag2"]},{"1401934700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401934810, 1401935046, 1401935150, 1401934602, 1401934916, 1401934700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8912239074707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:08:22.119743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_15_9600.jpg', '/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_25_9945.jpg', '/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_36_10754.jpg', '/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_45_9718.jpg', '/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_55_9776.jpg', '/home/pi/Desktop/images/31122025/21/31/image_31122025_21_32_05_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_15_9600.jpg
/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_25_9945.jpg
/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_36_10754.jpg
/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_45_9718.jpg
/home/pi/Desktop/images/31122025/21/31/image_31122025_21_31_55_9776.jpg
/home/pi/Desktop/images/31122025/21/31/image_31122025_21_32_05_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401935427","1401935508","1401935232","1401935489","1401935281","1401935434"],"photo_ids_order":["1401935232","1401935281","1401935427","1401935434","1401935489","1401935508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/042e8488f0f2800a39c4ad3f9abb6050.jpg","text":"TemporaryFile(/tmp/multipartBody6743169212284000679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215362710,"filename":"image_31122025_21_31_36_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47a3f555f38fcabcf937b4c82673987f.jpg","text":"TemporaryFile(/tmp/multipartBody5186971681150691689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215362710,"filename":"image_31122025_21_32_05_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72381e51f832db79814cf7096522ff09.jpg","text":"TemporaryFile(/tmp/multipartBody5644396108553679329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215362710,"filename":"image_31122025_21_31_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a840ab95c8745ec02ff041cca7a8900.jpg","text":"TemporaryFile(/tmp/multipartBody62399840168163111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215362710,"filename":"image_31122025_21_31_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/591089db11fd156dd818d7a233fe02b2.jpg","text":"TemporaryFile(/tmp/multipartBody6731076509123633765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215362710,"filename":"image_31122025_21_31_25_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73be486bcba93866762ec81fa3e434f3.jpg","text":"TemporaryFile(/tmp/multipartBody7611547488986457540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215362710,"filename":"image_31122025_21_31_45_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401935427","file1":"1401935281","file0":"1401935232","file4":"1401935489","file5":"1401935508","file3":"1401935434"},"map_files_photo_id_array":[{"photo_id":"1401935508","filename":"file5"},{"photo_id":"1401935427","filename":"file2"},{"photo_id":"1401935489","filename":"file4"},{"photo_id":"1401935281","filename":"file1"},{"photo_id":"1401935232","filename":"file0"},{"photo_id":"1401935434","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401935427":["hashtag1","hashtag2"]},{"1401935508":["hashtag1","hashtag2"]},{"1401935232":["hashtag1","hashtag2"]},{"1401935489":["hashtag1","hashtag2"]},{"1401935281":["hashtag1","hashtag2"]},{"1401935434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401935427, 1401935508, 1401935232, 1401935489, 1401935281, 1401935434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.733633279800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:09:02.917309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/32/image_31122025_21_32_16_10666.jpg', '/home/pi/Desktop/images/31122025/21/32/image_31122025_21_32_35_9579.jpg', '/home/pi/Desktop/images/31122025/21/32/image_31122025_21_32_46_10860.jpg', '/home/pi/Desktop/images/31122025/21/32/image_31122025_21_32_55_9718.jpg', '/home/pi/Desktop/images/31122025/21/32/image_31122025_21_33_05_9595.jpg', '/home/pi/Desktop/images/31122025/21/33/image_31122025_21_33_25_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/32/image_31122025_21_32_16_10666.jpg
/home/pi/Desktop/images/31122025/21/32/image_31122025_21_32_35_9579.jpg
/home/pi/Desktop/images/31122025/21/32/image_31122025_21_32_46_10860.jpg
/home/pi/Desktop/images/31122025/21/32/image_31122025_21_32_55_9718.jpg
/home/pi/Desktop/images/31122025/21/32/image_31122025_21_33_05_9595.jpg
/home/pi/Desktop/images/31122025/21/33/image_31122025_21_33_25_9893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401935823","1401935628","1401936038","1401936110","1401935890","1401935959"],"photo_ids_order":["1401935628","1401935823","1401935890","1401935959","1401936038","1401936110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c353fa978343e51eb86d677e41f0870a.jpg","text":"TemporaryFile(/tmp/multipartBody5336776602012156265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215403563,"filename":"image_31122025_21_32_35_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3c8ee09e9381fcf05631bc62b2b3074.jpg","text":"TemporaryFile(/tmp/multipartBody301802176332678595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215403563,"filename":"image_31122025_21_32_16_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/13a6496d8eeab76eec8f0570e8b92f63.jpg","text":"TemporaryFile(/tmp/multipartBody103236686349427465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215403563,"filename":"image_31122025_21_33_05_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01602f11b5b05ee45f80f96707486ed2.jpg","text":"TemporaryFile(/tmp/multipartBody7980412135286658167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215403563,"filename":"image_31122025_21_33_25_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07b61df61540eadb46d4f921541e1b82.jpg","text":"TemporaryFile(/tmp/multipartBody2963801029983596926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215403563,"filename":"image_31122025_21_32_46_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/144b33ac5644c359437967c7a55449cc.jpg","text":"TemporaryFile(/tmp/multipartBody5737764677214639603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215403563,"filename":"image_31122025_21_32_55_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401935890","file1":"1401935823","file0":"1401935628","file4":"1401936038","file5":"1401936110","file3":"1401935959"},"map_files_photo_id_array":[{"photo_id":"1401936110","filename":"file5"},{"photo_id":"1401935890","filename":"file2"},{"photo_id":"1401936038","filename":"file4"},{"photo_id":"1401935823","filename":"file1"},{"photo_id":"1401935628","filename":"file0"},{"photo_id":"1401935959","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401935823":["hashtag1","hashtag2"]},{"1401935628":["hashtag1","hashtag2"]},{"1401936038":["hashtag1","hashtag2"]},{"1401936110":["hashtag1","hashtag2"]},{"1401935890":["hashtag1","hashtag2"]},{"1401935959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401935823, 1401935628, 1401936038, 1401936110, 1401935890, 1401935959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.75980257987976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:10:02.929896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/33/image_31122025_21_33_45_9675.jpg', '/home/pi/Desktop/images/31122025/21/33/image_31122025_21_33_56_10760.jpg', '/home/pi/Desktop/images/31122025/21/33/image_31122025_21_34_05_9642.jpg', '/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_15_10174.jpg', '/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_25_9960.jpg', '/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_35_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/33/image_31122025_21_33_45_9675.jpg
/home/pi/Desktop/images/31122025/21/33/image_31122025_21_33_56_10760.jpg
/home/pi/Desktop/images/31122025/21/33/image_31122025_21_34_05_9642.jpg
/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_15_10174.jpg
/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_25_9960.jpg
/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_35_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401936624","1401936680","1401936683","1401936574","1401936661","1401936681"],"photo_ids_order":["1401936574","1401936624","1401936661","1401936680","1401936681","1401936683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5085ea47f0342a42de98b1634e9b5210.jpg","text":"TemporaryFile(/tmp/multipartBody7242328109921595930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215463531,"filename":"image_31122025_21_33_56_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e52a89e031954a816d6f62167fafc9e7.jpg","text":"TemporaryFile(/tmp/multipartBody6164208433106847788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215463531,"filename":"image_31122025_21_34_15_10174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b0e5a1a506d0f537a16f1267acb27b2.jpg","text":"TemporaryFile(/tmp/multipartBody225129006272414581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215463531,"filename":"image_31122025_21_34_35_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9aec24c7d593dd144c70d66a649b0a43.jpg","text":"TemporaryFile(/tmp/multipartBody3584357584828889495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215463531,"filename":"image_31122025_21_33_45_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83b2f74eb328a82c87de2550cfe172fa.jpg","text":"TemporaryFile(/tmp/multipartBody726443018873181957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215463531,"filename":"image_31122025_21_34_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4db1b0452dc2663dffefc49f4c63dad.jpg","text":"TemporaryFile(/tmp/multipartBody2846066995857548570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215463531,"filename":"image_31122025_21_34_25_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401936661","file1":"1401936624","file0":"1401936574","file4":"1401936681","file5":"1401936683","file3":"1401936680"},"map_files_photo_id_array":[{"photo_id":"1401936683","filename":"file5"},{"photo_id":"1401936661","filename":"file2"},{"photo_id":"1401936681","filename":"file4"},{"photo_id":"1401936624","filename":"file1"},{"photo_id":"1401936574","filename":"file0"},{"photo_id":"1401936680","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401936624":["hashtag1","hashtag2"]},{"1401936680":["hashtag1","hashtag2"]},{"1401936683":["hashtag1","hashtag2"]},{"1401936574":["hashtag1","hashtag2"]},{"1401936661":["hashtag1","hashtag2"]},{"1401936681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401936624, 1401936680, 1401936683, 1401936574, 1401936661, 1401936681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68707823753357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:10:42.357906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_28_2698.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_31_2743.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_35_3710.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_37_2676.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_40_2656.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_44_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_28_2698.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_31_2743.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_35_3710.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_37_2676.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_40_2656.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_44_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401936794","1401936689","1401936708","1401936941","1401936745","1401936858"],"photo_ids_order":["1401936689","1401936708","1401936745","1401936794","1401936858","1401936941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/83f36ebffbf27548a2d91f201ba79b7b.jpg","text":"TemporaryFile(/tmp/multipartBody2575186390663994604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215504134,"filename":"image_03112025_20_37_37_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc6ea7b6e1a13d2c354562bc40040550.jpg","text":"TemporaryFile(/tmp/multipartBody458931155558124657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215504134,"filename":"image_03112025_20_37_28_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2e8e09d094da250c75941abeafcef24e.jpg","text":"TemporaryFile(/tmp/multipartBody276030018235969978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215504134,"filename":"image_03112025_20_37_31_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fff15243a9d27a79e82235a1757780b.jpg","text":"TemporaryFile(/tmp/multipartBody6360390267393855870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215504134,"filename":"image_03112025_20_37_44_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/618a4328ee6c84050d529ef52141c0cf.jpg","text":"TemporaryFile(/tmp/multipartBody2968602649471290521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215504134,"filename":"image_03112025_20_37_35_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5c4a64a648cd26e789967b861212a05.jpg","text":"TemporaryFile(/tmp/multipartBody8494699400101366966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215504134,"filename":"image_03112025_20_37_40_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401936745","file1":"1401936708","file0":"1401936689","file4":"1401936858","file5":"1401936941","file3":"1401936794"},"map_files_photo_id_array":[{"photo_id":"1401936941","filename":"file5"},{"photo_id":"1401936745","filename":"file2"},{"photo_id":"1401936858","filename":"file4"},{"photo_id":"1401936708","filename":"file1"},{"photo_id":"1401936689","filename":"file0"},{"photo_id":"1401936794","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401936794":["hashtag1","hashtag2"]},{"1401936689":["hashtag1","hashtag2"]},{"1401936708":["hashtag1","hashtag2"]},{"1401936941":["hashtag1","hashtag2"]},{"1401936745":["hashtag1","hashtag2"]},{"1401936858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401936794, 1401936689, 1401936708, 1401936941, 1401936745, 1401936858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64419102668762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:11:32.754428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_46_2823.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_49_2752.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_52_2994.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_55_2638.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_58_2862.jpg', '/home/pi/Desktop/images/03112025/20/37/image_03112025_20_38_01_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_46_2823.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_49_2752.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_52_2994.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_55_2638.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_37_58_2862.jpg
/home/pi/Desktop/images/03112025/20/37/image_03112025_20_38_01_3622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401937302","1401937203","1401937373","1401937205","1401937243","1401937411"],"photo_ids_order":["1401937203","1401937205","1401937243","1401937302","1401937373","1401937411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d5df50c7edca5367a1d06c689920480b.jpg","text":"TemporaryFile(/tmp/multipartBody5024271661099481186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215554744,"filename":"image_03112025_20_37_55_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4ea5a5bdefaef8eec26b10c3037f8b8.jpg","text":"TemporaryFile(/tmp/multipartBody9183849060817163961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215554744,"filename":"image_03112025_20_37_46_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42d8c3c981b672f8f8e1f3e1b494a0ff.jpg","text":"TemporaryFile(/tmp/multipartBody7173547024750736394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215554744,"filename":"image_03112025_20_37_58_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ea377029fa37e4e152bdf97981ea3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4772873355880734688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215554744,"filename":"image_03112025_20_37_49_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f4942ce92b3ee682e26c70426cf37ea.jpg","text":"TemporaryFile(/tmp/multipartBody3470585156620154725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215554744,"filename":"image_03112025_20_37_52_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49f516034d8468c6f1a6134639b81007.jpg","text":"TemporaryFile(/tmp/multipartBody8661127413855658799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215554744,"filename":"image_03112025_20_38_01_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401937243","file1":"1401937205","file0":"1401937203","file4":"1401937373","file5":"1401937411","file3":"1401937302"},"map_files_photo_id_array":[{"photo_id":"1401937411","filename":"file5"},{"photo_id":"1401937243","filename":"file2"},{"photo_id":"1401937373","filename":"file4"},{"photo_id":"1401937205","filename":"file1"},{"photo_id":"1401937203","filename":"file0"},{"photo_id":"1401937302","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401937302":["hashtag1","hashtag2"]},{"1401937203":["hashtag1","hashtag2"]},{"1401937373":["hashtag1","hashtag2"]},{"1401937205":["hashtag1","hashtag2"]},{"1401937243":["hashtag1","hashtag2"]},{"1401937411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401937302, 1401937203, 1401937373, 1401937205, 1401937243, 1401937411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.480477809906006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:12:12.760590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_04_2659.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_07_2857.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_11_3690.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_13_2610.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_16_2654.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_19_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_04_2659.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_07_2857.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_11_3690.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_13_2610.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_16_2654.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_19_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401937577","1401937721","1401937792","1401937944","1401937866","1401937617"],"photo_ids_order":["1401937577","1401937617","1401937721","1401937792","1401937866","1401937944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5284e59ff9a94087f18e94f10205e35.jpg","text":"TemporaryFile(/tmp/multipartBody2681543599366727271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215594525,"filename":"image_03112025_20_38_04_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbd5b3910f28fa9c99358cde01aa0019.jpg","text":"TemporaryFile(/tmp/multipartBody2566321218528384119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215594525,"filename":"image_03112025_20_38_11_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2570cb41cb9d424c66f3024b063e53b0.jpg","text":"TemporaryFile(/tmp/multipartBody2700952545974671500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215594525,"filename":"image_03112025_20_38_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea84bef8858d490b6faded2dcd780f89.jpg","text":"TemporaryFile(/tmp/multipartBody1617288766522398345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215594525,"filename":"image_03112025_20_38_19_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dff329d8db4ce5ec903d2250a8ec25e4.jpg","text":"TemporaryFile(/tmp/multipartBody8291175444421723788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215594525,"filename":"image_03112025_20_38_16_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/101b487b98db01e7c3d1e655f11865b4.jpg","text":"TemporaryFile(/tmp/multipartBody7110292508033619527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215594525,"filename":"image_03112025_20_38_07_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401937721","file1":"1401937617","file0":"1401937577","file4":"1401937866","file5":"1401937944","file3":"1401937792"},"map_files_photo_id_array":[{"photo_id":"1401937944","filename":"file5"},{"photo_id":"1401937721","filename":"file2"},{"photo_id":"1401937866","filename":"file4"},{"photo_id":"1401937617","filename":"file1"},{"photo_id":"1401937577","filename":"file0"},{"photo_id":"1401937792","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401937577":["hashtag1","hashtag2"]},{"1401937721":["hashtag1","hashtag2"]},{"1401937792":["hashtag1","hashtag2"]},{"1401937944":["hashtag1","hashtag2"]},{"1401937866":["hashtag1","hashtag2"]},{"1401937617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401937577, 1401937721, 1401937792, 1401937944, 1401937866, 1401937617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.649022817611694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:13:02.565610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_45_9708.jpg', '/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_55_10056.jpg', '/home/pi/Desktop/images/31122025/21/34/image_31122025_21_35_06_10590.jpg', '/home/pi/Desktop/images/31122025/21/35/image_31122025_21_35_15_9790.jpg', '/home/pi/Desktop/images/31122025/21/35/image_31122025_21_35_25_9697.jpg', '/home/pi/Desktop/images/31122025/21/35/image_31122025_21_35_36_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_45_9708.jpg
/home/pi/Desktop/images/31122025/21/34/image_31122025_21_34_55_10056.jpg
/home/pi/Desktop/images/31122025/21/34/image_31122025_21_35_06_10590.jpg
/home/pi/Desktop/images/31122025/21/35/image_31122025_21_35_15_9790.jpg
/home/pi/Desktop/images/31122025/21/35/image_31122025_21_35_25_9697.jpg
/home/pi/Desktop/images/31122025/21/35/image_31122025_21_35_36_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401938584","1401938539","1401938503","1401938457","1401938288","1401938384"],"photo_ids_order":["1401938288","1401938384","1401938457","1401938503","1401938539","1401938584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7ba632d70e006832d46a87a6d873d49.jpg","text":"TemporaryFile(/tmp/multipartBody4087901094555646812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215643268,"filename":"image_31122025_21_35_36_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64e3f40c5233ec4dbc0e199c841d3ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3182855390127380709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215643268,"filename":"image_31122025_21_35_25_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15a55f8de09e4245952b206a01ff109d.jpg","text":"TemporaryFile(/tmp/multipartBody2925037762189010750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215643268,"filename":"image_31122025_21_35_15_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7dec1fcf29281682b2805af17822d201.jpg","text":"TemporaryFile(/tmp/multipartBody3275794629641885181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215643268,"filename":"image_31122025_21_35_06_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8495bc263ad1706c9c8dae194ca48b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5558773161927100232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215643268,"filename":"image_31122025_21_34_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36e84c1ca8877dcf347e7ef220ac7ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1037711646781188194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215643268,"filename":"image_31122025_21_34_55_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401938457","file1":"1401938384","file0":"1401938288","file4":"1401938539","file5":"1401938584","file3":"1401938503"},"map_files_photo_id_array":[{"photo_id":"1401938584","filename":"file5"},{"photo_id":"1401938457","filename":"file2"},{"photo_id":"1401938539","filename":"file4"},{"photo_id":"1401938384","filename":"file1"},{"photo_id":"1401938288","filename":"file0"},{"photo_id":"1401938503","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401938584":["hashtag1","hashtag2"]},{"1401938539":["hashtag1","hashtag2"]},{"1401938503":["hashtag1","hashtag2"]},{"1401938457":["hashtag1","hashtag2"]},{"1401938288":["hashtag1","hashtag2"]},{"1401938384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401938584, 1401938539, 1401938503, 1401938457, 1401938288, 1401938384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.704405069351196 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:14:02.934026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/35/image_31122025_21_35_56_10661.jpg', '/home/pi/Desktop/images/31122025/21/35/image_31122025_21_36_05_9697.jpg', '/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_15_9673.jpg', '/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_25_9831.jpg', '/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_35_9857.jpg', '/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_45_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/35/image_31122025_21_35_56_10661.jpg
/home/pi/Desktop/images/31122025/21/35/image_31122025_21_36_05_9697.jpg
/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_15_9673.jpg
/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_25_9831.jpg
/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_35_9857.jpg
/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_45_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401939757","1401939448","1401939699","1401939585","1401939296","1401939734"],"photo_ids_order":["1401939296","1401939448","1401939585","1401939699","1401939734","1401939757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45eff69986e6b19d4478b3e172a5a531.jpg","text":"TemporaryFile(/tmp/multipartBody4431108068543266431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215703636,"filename":"image_31122025_21_36_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d88038ccd9c0c82b036516d049e5b31a.jpg","text":"TemporaryFile(/tmp/multipartBody8763608706816242663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215703636,"filename":"image_31122025_21_36_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92b548882051969f777a547bed830f79.jpg","text":"TemporaryFile(/tmp/multipartBody5860070186547115125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215703636,"filename":"image_31122025_21_36_25_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/29df0fe26c977d5b63a45dc160746d3d.jpg","text":"TemporaryFile(/tmp/multipartBody7028738752110837688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215703636,"filename":"image_31122025_21_36_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eb61780c22f505040411f2727e7bcac1.jpg","text":"TemporaryFile(/tmp/multipartBody3225061031558136567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215703636,"filename":"image_31122025_21_35_56_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/427754ebcfe56e20cad602176f9c34a5.jpg","text":"TemporaryFile(/tmp/multipartBody930148661573728497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215703636,"filename":"image_31122025_21_36_35_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401939585","file1":"1401939448","file0":"1401939296","file4":"1401939734","file5":"1401939757","file3":"1401939699"},"map_files_photo_id_array":[{"photo_id":"1401939757","filename":"file5"},{"photo_id":"1401939585","filename":"file2"},{"photo_id":"1401939734","filename":"file4"},{"photo_id":"1401939448","filename":"file1"},{"photo_id":"1401939296","filename":"file0"},{"photo_id":"1401939699","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401939757":["hashtag1","hashtag2"]},{"1401939448":["hashtag1","hashtag2"]},{"1401939699":["hashtag1","hashtag2"]},{"1401939585":["hashtag1","hashtag2"]},{"1401939296":["hashtag1","hashtag2"]},{"1401939734":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401939757, 1401939448, 1401939699, 1401939585, 1401939296, 1401939734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40979838371277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:14:42.240554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_22_2754.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_25_2722.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_31_2668.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_34_2638.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_40_2676.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_43_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_22_2754.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_25_2722.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_31_2668.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_34_2638.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_40_2676.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_43_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401939922","1401940249","1401940141","1401940105","1401940182","1401940233"],"photo_ids_order":["1401939922","1401940105","1401940141","1401940182","1401940233","1401940249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbb1519ee6220f5ae39627a4d91c5f8f.jpg","text":"TemporaryFile(/tmp/multipartBody717734551177141154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215744115,"filename":"image_03112025_20_38_22_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9857fe56e69c77b69c0aedd126ba884.jpg","text":"TemporaryFile(/tmp/multipartBody4916796345173588410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215744115,"filename":"image_03112025_20_38_43_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/de9bcf008d3953b391f3abcb1dc6691d.jpg","text":"TemporaryFile(/tmp/multipartBody7400058259648703026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215744115,"filename":"image_03112025_20_38_31_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3eec94c31ee15ce3d732a178ff037f6.jpg","text":"TemporaryFile(/tmp/multipartBody1269818070209823601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215744115,"filename":"image_03112025_20_38_25_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aad5f53cff3b75739a68ffdba9d195f2.jpg","text":"TemporaryFile(/tmp/multipartBody2376993484926522327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215744115,"filename":"image_03112025_20_38_34_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db124d80349dc3bfc9520b6b92ae1c61.jpg","text":"TemporaryFile(/tmp/multipartBody2227845417191738131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215744115,"filename":"image_03112025_20_38_40_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401940141","file1":"1401940105","file0":"1401939922","file4":"1401940233","file5":"1401940249","file3":"1401940182"},"map_files_photo_id_array":[{"photo_id":"1401940249","filename":"file5"},{"photo_id":"1401940141","filename":"file2"},{"photo_id":"1401940233","filename":"file4"},{"photo_id":"1401940105","filename":"file1"},{"photo_id":"1401939922","filename":"file0"},{"photo_id":"1401940182","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401939922":["hashtag1","hashtag2"]},{"1401940249":["hashtag1","hashtag2"]},{"1401940141":["hashtag1","hashtag2"]},{"1401940105":["hashtag1","hashtag2"]},{"1401940182":["hashtag1","hashtag2"]},{"1401940233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401939922, 1401940249, 1401940141, 1401940105, 1401940182, 1401940233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04440379142761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:15:32.477578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_46_3599.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_49_2653.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_52_3635.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_55_2710.jpg', '/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_58_2616.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_01_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_46_3599.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_49_2653.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_52_3635.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_55_2710.jpg
/home/pi/Desktop/images/03112025/20/38/image_03112025_20_38_58_2616.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_01_2750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401940381","1401940380","1401940377","1401940382","1401940379","1401940364"],"photo_ids_order":["1401940364","1401940377","1401940379","1401940380","1401940381","1401940382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9e186a490c50d2af9b9a78fb0f867dd.jpg","text":"TemporaryFile(/tmp/multipartBody5602726057663136798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215794361,"filename":"image_03112025_20_38_58_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11fa160a5362a4281ff71477e7404b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6816309813152255971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215794361,"filename":"image_03112025_20_38_55_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a12ebe107442e5b4e2dd8ad44583456.jpg","text":"TemporaryFile(/tmp/multipartBody47699905096311541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215794361,"filename":"image_03112025_20_38_49_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/129550a16e48c64b9c5785c8d927444b.jpg","text":"TemporaryFile(/tmp/multipartBody2129183888942755624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215794361,"filename":"image_03112025_20_39_01_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a77ad3930154a9013889860631f5ddd6.jpg","text":"TemporaryFile(/tmp/multipartBody8960873146338896578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215794361,"filename":"image_03112025_20_38_52_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f915b7f1275745a543716260e38a3bf.jpg","text":"TemporaryFile(/tmp/multipartBody2878236280486395889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215794361,"filename":"image_03112025_20_38_46_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401940379","file1":"1401940377","file0":"1401940364","file4":"1401940381","file5":"1401940382","file3":"1401940380"},"map_files_photo_id_array":[{"photo_id":"1401940382","filename":"file5"},{"photo_id":"1401940379","filename":"file2"},{"photo_id":"1401940381","filename":"file4"},{"photo_id":"1401940377","filename":"file1"},{"photo_id":"1401940364","filename":"file0"},{"photo_id":"1401940380","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401940381":["hashtag1","hashtag2"]},{"1401940380":["hashtag1","hashtag2"]},{"1401940377":["hashtag1","hashtag2"]},{"1401940382":["hashtag1","hashtag2"]},{"1401940379":["hashtag1","hashtag2"]},{"1401940364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401940381, 1401940380, 1401940377, 1401940382, 1401940379, 1401940364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.372045040130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:16:22.661342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_55_9609.jpg', '/home/pi/Desktop/images/31122025/21/36/image_31122025_21_37_06_10646.jpg', '/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_15_9600.jpg', '/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_25_9741.jpg', '/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_35_9737.jpg', '/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_46_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/36/image_31122025_21_36_55_9609.jpg
/home/pi/Desktop/images/31122025/21/36/image_31122025_21_37_06_10646.jpg
/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_15_9600.jpg
/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_25_9741.jpg
/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_35_9737.jpg
/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_46_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401940390","1401940384","1401940389","1401940383","1401940385","1401940388"],"photo_ids_order":["1401940383","1401940384","1401940385","1401940388","1401940389","1401940390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/280ebbbc427938cd8fb65b44fa12659b.jpg","text":"TemporaryFile(/tmp/multipartBody5470525896999616865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215843255,"filename":"image_31122025_21_37_46_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/942b7d0f78246ffe668b08dfa6386cea.jpg","text":"TemporaryFile(/tmp/multipartBody7402993479889462130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215843255,"filename":"image_31122025_21_37_06_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/465d78fee88490c6c0b5715626174a8c.jpg","text":"TemporaryFile(/tmp/multipartBody476413928838027880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215843255,"filename":"image_31122025_21_37_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c758edbafe1240300d33c46970db570.jpg","text":"TemporaryFile(/tmp/multipartBody8665364958660232113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215843255,"filename":"image_31122025_21_36_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c88283653d63b71a38d4496220f122eb.jpg","text":"TemporaryFile(/tmp/multipartBody172909464389971688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215843255,"filename":"image_31122025_21_37_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38495c639d41b71f4e41d8b7560195bf.jpg","text":"TemporaryFile(/tmp/multipartBody6418936238896756313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215843255,"filename":"image_31122025_21_37_25_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401940385","file1":"1401940384","file0":"1401940383","file4":"1401940389","file5":"1401940390","file3":"1401940388"},"map_files_photo_id_array":[{"photo_id":"1401940390","filename":"file5"},{"photo_id":"1401940385","filename":"file2"},{"photo_id":"1401940389","filename":"file4"},{"photo_id":"1401940384","filename":"file1"},{"photo_id":"1401940383","filename":"file0"},{"photo_id":"1401940388","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401940390":["hashtag1","hashtag2"]},{"1401940384":["hashtag1","hashtag2"]},{"1401940389":["hashtag1","hashtag2"]},{"1401940383":["hashtag1","hashtag2"]},{"1401940385":["hashtag1","hashtag2"]},{"1401940388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401940390, 1401940384, 1401940389, 1401940383, 1401940385, 1401940388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.382776498794556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:17:11.879414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_04_3814.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_07_2618.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_10_2766.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_16_3714.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_19_2591.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_28_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_04_3814.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_07_2618.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_10_2766.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_16_3714.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_19_2591.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_28_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401941152","1401941113","1401941020","1401940888","1401940614","1401940736"],"photo_ids_order":["1401940614","1401940736","1401940888","1401941020","1401941113","1401941152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/643490104d7ae61bb34f70cc9e7d6f37.jpg","text":"TemporaryFile(/tmp/multipartBody1185087741235079701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215893636,"filename":"image_03112025_20_39_28_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a3d0c314118550e791d3c5ad1cd6dda3.jpg","text":"TemporaryFile(/tmp/multipartBody5735399488014871698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215893636,"filename":"image_03112025_20_39_19_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10321f876c2d763dccae6cd5e34184c1.jpg","text":"TemporaryFile(/tmp/multipartBody2887651172522498175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215893636,"filename":"image_03112025_20_39_16_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6daee64bb1d5962e109ba445bc1ebe6f.jpg","text":"TemporaryFile(/tmp/multipartBody1411502831402308875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215893636,"filename":"image_03112025_20_39_10_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7990dc346d2b4e992b0b043d8a06b717.jpg","text":"TemporaryFile(/tmp/multipartBody8226063491605365751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215893636,"filename":"image_03112025_20_39_04_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0692bdc880fb8cd4f5ea1399d538b098.jpg","text":"TemporaryFile(/tmp/multipartBody6079166571537628924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215893636,"filename":"image_03112025_20_39_07_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401940888","file1":"1401940736","file0":"1401940614","file4":"1401941113","file5":"1401941152","file3":"1401941020"},"map_files_photo_id_array":[{"photo_id":"1401941152","filename":"file5"},{"photo_id":"1401940888","filename":"file2"},{"photo_id":"1401941113","filename":"file4"},{"photo_id":"1401940736","filename":"file1"},{"photo_id":"1401940614","filename":"file0"},{"photo_id":"1401941020","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401941152":["hashtag1","hashtag2"]},{"1401941113":["hashtag1","hashtag2"]},{"1401941020":["hashtag1","hashtag2"]},{"1401940888":["hashtag1","hashtag2"]},{"1401940614":["hashtag1","hashtag2"]},{"1401940736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401941152, 1401941113, 1401941020, 1401940888, 1401940614, 1401940736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43984127044678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:18:02.493683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_55_9761.jpg', '/home/pi/Desktop/images/31122025/21/37/image_31122025_21_38_05_9623.jpg', '/home/pi/Desktop/images/31122025/21/38/image_31122025_21_38_25_9593.jpg', '/home/pi/Desktop/images/31122025/21/38/image_31122025_21_38_35_9723.jpg', '/home/pi/Desktop/images/31122025/21/38/image_31122025_21_38_46_10787.jpg', '/home/pi/Desktop/images/31122025/21/38/image_31122025_21_38_56_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/37/image_31122025_21_37_55_9761.jpg
/home/pi/Desktop/images/31122025/21/37/image_31122025_21_38_05_9623.jpg
/home/pi/Desktop/images/31122025/21/38/image_31122025_21_38_25_9593.jpg
/home/pi/Desktop/images/31122025/21/38/image_31122025_21_38_35_9723.jpg
/home/pi/Desktop/images/31122025/21/38/image_31122025_21_38_46_10787.jpg
/home/pi/Desktop/images/31122025/21/38/image_31122025_21_38_56_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401941491","1401941572","1401941574","1401941571","1401941570","1401941531"],"photo_ids_order":["1401941491","1401941531","1401941570","1401941571","1401941572","1401941574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2f4e27055f2050f43b334c8ff7b5d2c0.jpg","text":"TemporaryFile(/tmp/multipartBody4449802732228700620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215943123,"filename":"image_31122025_21_37_55_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2e10211e1539f239a2a2650c95ad0a5.jpg","text":"TemporaryFile(/tmp/multipartBody433383240886436527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215943123,"filename":"image_31122025_21_38_46_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/37c6b7660bbb5155c8bbde18a4d30181.jpg","text":"TemporaryFile(/tmp/multipartBody5003500004001610666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215943123,"filename":"image_31122025_21_38_56_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fde5b65ff4095fddce55aa9556cb6abd.jpg","text":"TemporaryFile(/tmp/multipartBody6698895908011319897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215943123,"filename":"image_31122025_21_38_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9110aff0335092aa68c0dad203a36a55.jpg","text":"TemporaryFile(/tmp/multipartBody3206113685963789442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215943123,"filename":"image_31122025_21_38_25_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/906b5b7b4cda79f645f2eff343e0d0ee.jpg","text":"TemporaryFile(/tmp/multipartBody8840131694988627174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215943123,"filename":"image_31122025_21_38_05_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401941570","file1":"1401941531","file0":"1401941491","file4":"1401941572","file5":"1401941574","file3":"1401941571"},"map_files_photo_id_array":[{"photo_id":"1401941574","filename":"file5"},{"photo_id":"1401941570","filename":"file2"},{"photo_id":"1401941572","filename":"file4"},{"photo_id":"1401941531","filename":"file1"},{"photo_id":"1401941491","filename":"file0"},{"photo_id":"1401941571","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401941491":["hashtag1","hashtag2"]},{"1401941572":["hashtag1","hashtag2"]},{"1401941574":["hashtag1","hashtag2"]},{"1401941571":["hashtag1","hashtag2"]},{"1401941570":["hashtag1","hashtag2"]},{"1401941531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401941491, 1401941572, 1401941574, 1401941571, 1401941570, 1401941531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67432427406311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:18:42.066831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_31_2696.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_34_3680.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_37_2784.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_40_2648.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_42_2731.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_46_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_31_2696.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_34_3680.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_37_2784.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_40_2648.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_42_2731.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_46_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401941698","1401941740","1401941775","1401941658","1401941579","1401941621"],"photo_ids_order":["1401941579","1401941621","1401941658","1401941698","1401941740","1401941775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8146c036996b7542d2fa727823ff00e5.jpg","text":"TemporaryFile(/tmp/multipartBody7413301510299996571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215983953,"filename":"image_03112025_20_39_40_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40fac9124af4375f7ea1d23a7e579d76.jpg","text":"TemporaryFile(/tmp/multipartBody4682775386494458860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215983953,"filename":"image_03112025_20_39_42_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39505e2516c63a916c8eebdd79302bab.jpg","text":"TemporaryFile(/tmp/multipartBody1150612682654711758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215983953,"filename":"image_03112025_20_39_46_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3e25f484337c3d2bc7f7d89763c647d.jpg","text":"TemporaryFile(/tmp/multipartBody8635077545078364994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215983953,"filename":"image_03112025_20_39_37_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ab853abdb2a63c31e1e4ae507b551a0.jpg","text":"TemporaryFile(/tmp/multipartBody132129698641682381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215983953,"filename":"image_03112025_20_39_31_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/950ccf0b0c4e739fb8e7ad22bf3c177d.jpg","text":"TemporaryFile(/tmp/multipartBody3329042012474659811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767215983953,"filename":"image_03112025_20_39_34_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401941658","file1":"1401941621","file0":"1401941579","file4":"1401941740","file5":"1401941775","file3":"1401941698"},"map_files_photo_id_array":[{"photo_id":"1401941775","filename":"file5"},{"photo_id":"1401941658","filename":"file2"},{"photo_id":"1401941740","filename":"file4"},{"photo_id":"1401941621","filename":"file1"},{"photo_id":"1401941579","filename":"file0"},{"photo_id":"1401941698","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401941698":["hashtag1","hashtag2"]},{"1401941740":["hashtag1","hashtag2"]},{"1401941775":["hashtag1","hashtag2"]},{"1401941658":["hashtag1","hashtag2"]},{"1401941579":["hashtag1","hashtag2"]},{"1401941621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401941698, 1401941740, 1401941775, 1401941658, 1401941579, 1401941621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95489478111267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:19:22.242026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/38/image_31122025_21_39_05_9797.jpg', '/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_15_9703.jpg', '/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_26_10694.jpg', '/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_35_9691.jpg', '/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_45_9701.jpg', '/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_56_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/38/image_31122025_21_39_05_9797.jpg
/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_15_9703.jpg
/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_26_10694.jpg
/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_35_9691.jpg
/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_45_9701.jpg
/home/pi/Desktop/images/31122025/21/39/image_31122025_21_39_56_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401941983","1401941935","1401942059","1401942140","1401942097","1401942178"],"photo_ids_order":["1401941935","1401941983","1401942059","1401942097","1401942140","1401942178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f396337a7bf86b532c88e1857419795.jpg","text":"TemporaryFile(/tmp/multipartBody6632852749653414506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216022866,"filename":"image_31122025_21_39_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5725e1ba5eb0333723f98f4747d5f09a.jpg","text":"TemporaryFile(/tmp/multipartBody3698904773435609334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216022866,"filename":"image_31122025_21_39_05_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1efdb8ecf471c90719a231eed4e62a50.jpg","text":"TemporaryFile(/tmp/multipartBody7043857111985182386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216022866,"filename":"image_31122025_21_39_26_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/12e4a12adbff70be9474304e3b70da09.jpg","text":"TemporaryFile(/tmp/multipartBody4798309289871920055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216022866,"filename":"image_31122025_21_39_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eba9e8490be853b6374475323e29fc13.jpg","text":"TemporaryFile(/tmp/multipartBody6031229565702825384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216022866,"filename":"image_31122025_21_39_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eab9d7d855e5f0dd37dda3c827a09306.jpg","text":"TemporaryFile(/tmp/multipartBody1669462225225913510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216022866,"filename":"image_31122025_21_39_56_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401942059","file1":"1401941983","file0":"1401941935","file4":"1401942140","file5":"1401942178","file3":"1401942097"},"map_files_photo_id_array":[{"photo_id":"1401942178","filename":"file5"},{"photo_id":"1401942059","filename":"file2"},{"photo_id":"1401942140","filename":"file4"},{"photo_id":"1401941983","filename":"file1"},{"photo_id":"1401941935","filename":"file0"},{"photo_id":"1401942097","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401941983":["hashtag1","hashtag2"]},{"1401941935":["hashtag1","hashtag2"]},{"1401942059":["hashtag1","hashtag2"]},{"1401942140":["hashtag1","hashtag2"]},{"1401942097":["hashtag1","hashtag2"]},{"1401942178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401941983, 1401941935, 1401942059, 1401942140, 1401942097, 1401942178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.640681743621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:20:02.749227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/39/image_31122025_21_40_05_9555.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_15_9603.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_26_10667.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_35_9859.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_45_9631.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_56_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/39/image_31122025_21_40_05_9555.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_15_9603.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_26_10667.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_35_9859.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_45_9631.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_56_10646.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.556776762008667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:20:12.286383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_49_2822.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_52_2740.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_55_3614.jpg', '/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_58_3084.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_04_5291.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_05_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_49_2822.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_52_2740.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_55_3614.jpg
/home/pi/Desktop/images/03112025/20/39/image_03112025_20_39_58_3084.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_04_5291.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_05_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401942436","1401942434","1401942437","1401942419","1401942382","1401942439"],"photo_ids_order":["1401942382","1401942419","1401942434","1401942436","1401942437","1401942439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7f59d936f1254083fb5de61eaa5430b.jpg","text":"TemporaryFile(/tmp/multipartBody3884195839280682162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216074044,"filename":"image_03112025_20_39_58_3084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91a2bdd8deb534873a35a38613644522.jpg","text":"TemporaryFile(/tmp/multipartBody7939542671900032588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216074044,"filename":"image_03112025_20_39_55_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfeb6588be6fa126cae7635ec1c2007b.jpg","text":"TemporaryFile(/tmp/multipartBody2416798821956277577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216074044,"filename":"image_03112025_20_40_04_5291.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6d604c3975a8264b3ef5dc8293d8f4c.jpg","text":"TemporaryFile(/tmp/multipartBody2516212702579602662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216074044,"filename":"image_03112025_20_39_52_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef276948019e534864fdfac975030d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2399122563475306159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216074044,"filename":"image_03112025_20_39_49_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eaab4b6ec5f40c02d888b3ad768a43f8.jpg","text":"TemporaryFile(/tmp/multipartBody8566087272030165113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216074044,"filename":"image_03112025_20_40_05_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401942434","file1":"1401942419","file0":"1401942382","file4":"1401942437","file5":"1401942439","file3":"1401942436"},"map_files_photo_id_array":[{"photo_id":"1401942439","filename":"file5"},{"photo_id":"1401942434","filename":"file2"},{"photo_id":"1401942437","filename":"file4"},{"photo_id":"1401942419","filename":"file1"},{"photo_id":"1401942382","filename":"file0"},{"photo_id":"1401942436","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401942436":["hashtag1","hashtag2"]},{"1401942434":["hashtag1","hashtag2"]},{"1401942437":["hashtag1","hashtag2"]},{"1401942419":["hashtag1","hashtag2"]},{"1401942382":["hashtag1","hashtag2"]},{"1401942439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401942436, 1401942434, 1401942437, 1401942419, 1401942382, 1401942439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.488067388534546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:21:03.029877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/39/image_31122025_21_40_05_9555.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_15_9603.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_26_10667.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_35_9859.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_45_9631.jpg', '/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_56_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/39/image_31122025_21_40_05_9555.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_15_9603.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_26_10667.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_35_9859.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_45_9631.jpg
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_40_56_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401942628","1401942591","1401942600","1401942599","1401942563","1401942598"],"photo_ids_order":["1401942563","1401942591","1401942598","1401942599","1401942600","1401942628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f41e1085b995d34f37fc4cd84eed18f4.jpg","text":"TemporaryFile(/tmp/multipartBody4895293243368200543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216123680,"filename":"image_31122025_21_40_56_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed112066790597f5809f113aa96e0ed6.jpg","text":"TemporaryFile(/tmp/multipartBody5234038868949712648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216123680,"filename":"image_31122025_21_40_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/590a250961cd114060dbd849ce19af54.jpg","text":"TemporaryFile(/tmp/multipartBody2248819166318758608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216123680,"filename":"image_31122025_21_40_45_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca08f66adfa9322b8e327163c8327ffd.jpg","text":"TemporaryFile(/tmp/multipartBody1253329112878513782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216123680,"filename":"image_31122025_21_40_35_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec873ad6647f678ffbd966ebcac7bf63.jpg","text":"TemporaryFile(/tmp/multipartBody941860236043301289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216123680,"filename":"image_31122025_21_40_05_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/35f581dabd156816065d52e8f3440b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7825739203710076715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216123680,"filename":"image_31122025_21_40_26_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401942598","file1":"1401942591","file0":"1401942563","file4":"1401942600","file5":"1401942628","file3":"1401942599"},"map_files_photo_id_array":[{"photo_id":"1401942628","filename":"file5"},{"photo_id":"1401942598","filename":"file2"},{"photo_id":"1401942600","filename":"file4"},{"photo_id":"1401942591","filename":"file1"},{"photo_id":"1401942563","filename":"file0"},{"photo_id":"1401942599","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401942628":["hashtag1","hashtag2"]},{"1401942591":["hashtag1","hashtag2"]},{"1401942600":["hashtag1","hashtag2"]},{"1401942599":["hashtag1","hashtag2"]},{"1401942563":["hashtag1","hashtag2"]},{"1401942598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401942628, 1401942591, 1401942600, 1401942599, 1401942563, 1401942598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35022783279419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:21:42.463655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_07_1582.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_09_2610.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_13_3529.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_16_2700.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_22_2648.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_25_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_07_1582.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_09_2610.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_13_3529.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_16_2700.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_22_2648.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_25_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401942712","1401942715","1401942714","1401942717","1401942713","1401942716"],"photo_ids_order":["1401942712","1401942713","1401942714","1401942715","1401942716","1401942717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/75ff6e81068aa14f6a3ea187d8f55d85.jpg","text":"TemporaryFile(/tmp/multipartBody2551549083783823989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216164339,"filename":"image_03112025_20_40_07_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b99281dec521b94cbdc55b0d03424372.jpg","text":"TemporaryFile(/tmp/multipartBody2666314812843501747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216164339,"filename":"image_03112025_20_40_16_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef953d75b6d55c284ae5ee5882d38418.jpg","text":"TemporaryFile(/tmp/multipartBody6694246061650250815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216164339,"filename":"image_03112025_20_40_13_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1efc265fb60e101b125852ab29af9fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2050275640051120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216164339,"filename":"image_03112025_20_40_25_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e66d37df0c79414f100f55a2d566cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8499109529996745166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216164339,"filename":"image_03112025_20_40_09_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3ff5e28a28236a8adc0b9456a98ac92.jpg","text":"TemporaryFile(/tmp/multipartBody2002881841282061303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216164339,"filename":"image_03112025_20_40_22_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401942714","file1":"1401942713","file0":"1401942712","file4":"1401942716","file5":"1401942717","file3":"1401942715"},"map_files_photo_id_array":[{"photo_id":"1401942717","filename":"file5"},{"photo_id":"1401942714","filename":"file2"},{"photo_id":"1401942716","filename":"file4"},{"photo_id":"1401942713","filename":"file1"},{"photo_id":"1401942712","filename":"file0"},{"photo_id":"1401942715","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401942712":["hashtag1","hashtag2"]},{"1401942715":["hashtag1","hashtag2"]},{"1401942714":["hashtag1","hashtag2"]},{"1401942717":["hashtag1","hashtag2"]},{"1401942713":["hashtag1","hashtag2"]},{"1401942716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401942712, 1401942715, 1401942714, 1401942717, 1401942713, 1401942716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09237504005432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:22:22.665778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/40/image_31122025_21_41_05_9759.jpg', '/home/pi/Desktop/images/31122025/21/41/image_31122025_21_41_15_9655.jpg', '/home/pi/Desktop/images/31122025/21/41/image_31122025_21_41_25_9762.jpg', '/home/pi/Desktop/images/31122025/21/41/image_31122025_21_41_35_10615.jpg', '/home/pi/Desktop/images/31122025/21/41/image_31122025_21_41_55_9776.jpg', '/home/pi/Desktop/images/31122025/21/41/image_31122025_21_42_05_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/40/image_31122025_21_41_05_9759.jpg
/home/pi/Desktop/images/31122025/21/41/image_31122025_21_41_15_9655.jpg
/home/pi/Desktop/images/31122025/21/41/image_31122025_21_41_25_9762.jpg
/home/pi/Desktop/images/31122025/21/41/image_31122025_21_41_35_10615.jpg
/home/pi/Desktop/images/31122025/21/41/image_31122025_21_41_55_9776.jpg
/home/pi/Desktop/images/31122025/21/41/image_31122025_21_42_05_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401942721","1401942722","1401942719","1401943228","1401942940","1401942829"],"photo_ids_order":["1401942719","1401942721","1401942722","1401942829","1401942940","1401943228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/336c4e9311228576dd2e5c0fee49bfad.jpg","text":"TemporaryFile(/tmp/multipartBody6098798322266886603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216203256,"filename":"image_31122025_21_41_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/141997c2ce68e124024c26f7bb1d54f6.jpg","text":"TemporaryFile(/tmp/multipartBody5169819510763075013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216203256,"filename":"image_31122025_21_41_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/403008e5f7db21e53ccefbe2b9566264.jpg","text":"TemporaryFile(/tmp/multipartBody7523271090784113982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216203256,"filename":"image_31122025_21_41_05_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/152cc15d14b42feb424168f97b86b596.jpg","text":"TemporaryFile(/tmp/multipartBody1615640877704539783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216203256,"filename":"image_31122025_21_42_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1180589c2e01e5d464e3d6fef660f7e.jpg","text":"TemporaryFile(/tmp/multipartBody5724121170337118835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216203256,"filename":"image_31122025_21_41_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8175614129df7990a412a541649c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody5988938144823676779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216203256,"filename":"image_31122025_21_41_35_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401942722","file1":"1401942721","file0":"1401942719","file4":"1401942940","file5":"1401943228","file3":"1401942829"},"map_files_photo_id_array":[{"photo_id":"1401943228","filename":"file5"},{"photo_id":"1401942722","filename":"file2"},{"photo_id":"1401942940","filename":"file4"},{"photo_id":"1401942721","filename":"file1"},{"photo_id":"1401942719","filename":"file0"},{"photo_id":"1401942829","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401942721":["hashtag1","hashtag2"]},{"1401942722":["hashtag1","hashtag2"]},{"1401942719":["hashtag1","hashtag2"]},{"1401943228":["hashtag1","hashtag2"]},{"1401942940":["hashtag1","hashtag2"]},{"1401942829":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401942721, 1401942722, 1401942719, 1401943228, 1401942940, 1401942829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.286206007003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:23:12.819481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_28_3536.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_31_2789.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_34_2574.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_37_3719.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_40_2562.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_42_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_28_3536.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_31_2789.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_34_2574.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_37_3719.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_40_2562.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_42_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401943691","1401943352","1401943646","1401943526","1401943582","1401943426"],"photo_ids_order":["1401943352","1401943426","1401943526","1401943582","1401943646","1401943691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dfeca76f67cf31192fbf56d6c1fb3a5e.jpg","text":"TemporaryFile(/tmp/multipartBody8809001029824007909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216254586,"filename":"image_03112025_20_40_42_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7b48e0de4bb528afedb72f1a2a3089e.jpg","text":"TemporaryFile(/tmp/multipartBody1046383202641692934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216254586,"filename":"image_03112025_20_40_28_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03f56b3929e53db541429faa89cbc9b8.jpg","text":"TemporaryFile(/tmp/multipartBody3673298093002708939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216254586,"filename":"image_03112025_20_40_40_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3a1e2faad0c8fc6f3feeb2838aaece8.jpg","text":"TemporaryFile(/tmp/multipartBody472462314815165714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216254586,"filename":"image_03112025_20_40_34_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2805360596377520eb94f98b2cf6c7e.jpg","text":"TemporaryFile(/tmp/multipartBody4482509988006028904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216254586,"filename":"image_03112025_20_40_37_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b603c828da9112d2bd245fb945d7ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7291465431406258600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216254586,"filename":"image_03112025_20_40_31_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401943526","file1":"1401943426","file0":"1401943352","file4":"1401943646","file5":"1401943691","file3":"1401943582"},"map_files_photo_id_array":[{"photo_id":"1401943691","filename":"file5"},{"photo_id":"1401943526","filename":"file2"},{"photo_id":"1401943646","filename":"file4"},{"photo_id":"1401943426","filename":"file1"},{"photo_id":"1401943352","filename":"file0"},{"photo_id":"1401943582","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401943691":["hashtag1","hashtag2"]},{"1401943352":["hashtag1","hashtag2"]},{"1401943646":["hashtag1","hashtag2"]},{"1401943526":["hashtag1","hashtag2"]},{"1401943582":["hashtag1","hashtag2"]},{"1401943426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401943691, 1401943352, 1401943646, 1401943526, 1401943582, 1401943426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.459744691848755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:24:02.727245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_15_9699.jpg', '/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_25_9843.jpg', '/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_36_10814.jpg', '/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_45_9599.jpg', '/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_55_9833.jpg', '/home/pi/Desktop/images/31122025/21/42/image_31122025_21_43_05_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_15_9699.jpg
/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_25_9843.jpg
/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_36_10814.jpg
/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_45_9599.jpg
/home/pi/Desktop/images/31122025/21/42/image_31122025_21_42_55_9833.jpg
/home/pi/Desktop/images/31122025/21/42/image_31122025_21_43_05_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401943836","1401943833","1401943835","1401943844","1401943882","1401943834"],"photo_ids_order":["1401943833","1401943834","1401943835","1401943836","1401943844","1401943882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bbfa7169f78ebdeff20e103e444a5e5.jpg","text":"TemporaryFile(/tmp/multipartBody700492113624054926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216303406,"filename":"image_31122025_21_42_45_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/534f3271b7b9dda2eaddedf4fb265c29.jpg","text":"TemporaryFile(/tmp/multipartBody2549433719685333280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216303406,"filename":"image_31122025_21_42_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9379a8f66ae62732978ddf24bbc0bb53.jpg","text":"TemporaryFile(/tmp/multipartBody1573565764171094166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216303406,"filename":"image_31122025_21_42_36_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/042bc6afd160580df773e03df31a0abb.jpg","text":"TemporaryFile(/tmp/multipartBody320950576581580296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216303406,"filename":"image_31122025_21_42_55_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb9effd8ed8f44853556ae3459d34ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2345534291888958336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216303406,"filename":"image_31122025_21_43_05_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62569b8523bd8cadd85b8984f05f75c0.jpg","text":"TemporaryFile(/tmp/multipartBody5718389916995755640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216303406,"filename":"image_31122025_21_42_25_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401943835","file1":"1401943834","file0":"1401943833","file4":"1401943844","file5":"1401943882","file3":"1401943836"},"map_files_photo_id_array":[{"photo_id":"1401943882","filename":"file5"},{"photo_id":"1401943835","filename":"file2"},{"photo_id":"1401943844","filename":"file4"},{"photo_id":"1401943834","filename":"file1"},{"photo_id":"1401943833","filename":"file0"},{"photo_id":"1401943836","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401943836":["hashtag1","hashtag2"]},{"1401943833":["hashtag1","hashtag2"]},{"1401943835":["hashtag1","hashtag2"]},{"1401943844":["hashtag1","hashtag2"]},{"1401943882":["hashtag1","hashtag2"]},{"1401943834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401943836, 1401943833, 1401943835, 1401943844, 1401943882, 1401943834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.175971269607544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:25:02.906374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/43/image_31122025_21_43_16_10719.jpg', '/home/pi/Desktop/images/31122025/21/43/image_31122025_21_43_36_10532.jpg', '/home/pi/Desktop/images/31122025/21/43/image_31122025_21_43_45_9646.jpg', '/home/pi/Desktop/images/31122025/21/43/image_31122025_21_43_55_9633.jpg', '/home/pi/Desktop/images/31122025/21/43/image_31122025_21_44_06_10555.jpg', '/home/pi/Desktop/images/31122025/21/44/image_31122025_21_44_15_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/43/image_31122025_21_43_16_10719.jpg
/home/pi/Desktop/images/31122025/21/43/image_31122025_21_43_36_10532.jpg
/home/pi/Desktop/images/31122025/21/43/image_31122025_21_43_45_9646.jpg
/home/pi/Desktop/images/31122025/21/43/image_31122025_21_43_55_9633.jpg
/home/pi/Desktop/images/31122025/21/43/image_31122025_21_44_06_10555.jpg
/home/pi/Desktop/images/31122025/21/44/image_31122025_21_44_15_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401944294","1401944210","1401944368","1401944410","1401944250","1401944331"],"photo_ids_order":["1401944210","1401944250","1401944294","1401944331","1401944368","1401944410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f549f20d074ca45cda7fd51d33de4d81.jpg","text":"TemporaryFile(/tmp/multipartBody6770121497795214624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216363548,"filename":"image_31122025_21_43_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67b66fda3ea46b78d1ac4cc966cd54bf.jpg","text":"TemporaryFile(/tmp/multipartBody1300737123652865506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216363548,"filename":"image_31122025_21_43_16_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aebe0912125e07febe667d2151176358.jpg","text":"TemporaryFile(/tmp/multipartBody5317044804027080648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216363548,"filename":"image_31122025_21_44_06_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f7dd060c7fb12d67f5f887a58b2d577d.jpg","text":"TemporaryFile(/tmp/multipartBody9098098134261901366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216363548,"filename":"image_31122025_21_44_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1300a89331a7d8a0734ff92e6bcb3bff.jpg","text":"TemporaryFile(/tmp/multipartBody5563964893120177647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216363548,"filename":"image_31122025_21_43_36_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/790e016dd781de322cc2f655d25e86fd.jpg","text":"TemporaryFile(/tmp/multipartBody610770264874223399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216363548,"filename":"image_31122025_21_43_55_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401944294","file1":"1401944250","file0":"1401944210","file4":"1401944368","file5":"1401944410","file3":"1401944331"},"map_files_photo_id_array":[{"photo_id":"1401944410","filename":"file5"},{"photo_id":"1401944294","filename":"file2"},{"photo_id":"1401944368","filename":"file4"},{"photo_id":"1401944250","filename":"file1"},{"photo_id":"1401944210","filename":"file0"},{"photo_id":"1401944331","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401944294":["hashtag1","hashtag2"]},{"1401944210":["hashtag1","hashtag2"]},{"1401944368":["hashtag1","hashtag2"]},{"1401944410":["hashtag1","hashtag2"]},{"1401944250":["hashtag1","hashtag2"]},{"1401944331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401944294, 1401944210, 1401944368, 1401944410, 1401944250, 1401944331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37186932563782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:25:42.268235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_51_2546.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_55_3664.jpg', '/home/pi/Desktop/images/03112025/20/40/image_03112025_20_41_00_2730.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_09_2703.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_13_3763.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_16_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_51_2546.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_40_55_3664.jpg
/home/pi/Desktop/images/03112025/20/40/image_03112025_20_41_00_2730.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_09_2703.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_13_3763.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_16_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401944532","1401944535","1401944537","1401944533","1401944536","1401944530"],"photo_ids_order":["1401944530","1401944532","1401944533","1401944535","1401944536","1401944537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bd637be9b65fe83ca15aa5e398f51487.jpg","text":"TemporaryFile(/tmp/multipartBody7247956983495743013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216404191,"filename":"image_03112025_20_40_55_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ea36562f85eef25f30808b539258189.jpg","text":"TemporaryFile(/tmp/multipartBody7927266057300135515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216404191,"filename":"image_03112025_20_41_09_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f41862ed942d24f1d107c2b6ca57cea9.jpg","text":"TemporaryFile(/tmp/multipartBody8482745712389857050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216404191,"filename":"image_03112025_20_41_16_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9e1db80472dbdc6a1d571436d48d89a.jpg","text":"TemporaryFile(/tmp/multipartBody4886996307667197782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216404191,"filename":"image_03112025_20_41_00_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/985adfffd5b6d017a16546d0a914c084.jpg","text":"TemporaryFile(/tmp/multipartBody6343781218707349327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216404191,"filename":"image_03112025_20_41_13_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/60686f2208194aad4611f12bbb4ad51e.jpg","text":"TemporaryFile(/tmp/multipartBody6541315057634174375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216404191,"filename":"image_03112025_20_40_51_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401944533","file1":"1401944532","file0":"1401944530","file4":"1401944536","file5":"1401944537","file3":"1401944535"},"map_files_photo_id_array":[{"photo_id":"1401944537","filename":"file5"},{"photo_id":"1401944533","filename":"file2"},{"photo_id":"1401944536","filename":"file4"},{"photo_id":"1401944532","filename":"file1"},{"photo_id":"1401944530","filename":"file0"},{"photo_id":"1401944535","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401944532":["hashtag1","hashtag2"]},{"1401944535":["hashtag1","hashtag2"]},{"1401944537":["hashtag1","hashtag2"]},{"1401944533":["hashtag1","hashtag2"]},{"1401944536":["hashtag1","hashtag2"]},{"1401944530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401944532, 1401944535, 1401944537, 1401944533, 1401944536, 1401944530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.3956503868103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:26:32.410232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_18_2577.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_22_3590.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_25_2675.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_27_2644.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_31_3642.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_37_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_18_2577.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_22_3590.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_25_2675.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_27_2644.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_31_3642.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_37_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401944709","1401944765","1401944846","1401944719","1401944713","1401944707"],"photo_ids_order":["1401944707","1401944709","1401944713","1401944719","1401944765","1401944846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8c773a8335db37f661f2b4d8c868080.jpg","text":"TemporaryFile(/tmp/multipartBody4968792952386113554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216455752,"filename":"image_03112025_20_41_22_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66de4885f209cc1f92f45e99dc7c5c52.jpg","text":"TemporaryFile(/tmp/multipartBody471740654216770006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216455752,"filename":"image_03112025_20_41_31_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02d0d9b0f3ba7e2ab9c682d1ce4279c5.jpg","text":"TemporaryFile(/tmp/multipartBody6388271293642991369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216455752,"filename":"image_03112025_20_41_37_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/509faac39eaad84ec28c73142b9a051a.jpg","text":"TemporaryFile(/tmp/multipartBody4153616992142087460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216455752,"filename":"image_03112025_20_41_27_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28889eb40ff68922c5573eb2aa62fa06.jpg","text":"TemporaryFile(/tmp/multipartBody8623657595537176300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216455752,"filename":"image_03112025_20_41_25_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2ab99dfaa45722f87a736c956e24b4f.jpg","text":"TemporaryFile(/tmp/multipartBody6133144311842913826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216455752,"filename":"image_03112025_20_41_18_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401944713","file1":"1401944709","file0":"1401944707","file4":"1401944765","file5":"1401944846","file3":"1401944719"},"map_files_photo_id_array":[{"photo_id":"1401944846","filename":"file5"},{"photo_id":"1401944713","filename":"file2"},{"photo_id":"1401944765","filename":"file4"},{"photo_id":"1401944709","filename":"file1"},{"photo_id":"1401944707","filename":"file0"},{"photo_id":"1401944719","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401944709":["hashtag1","hashtag2"]},{"1401944765":["hashtag1","hashtag2"]},{"1401944846":["hashtag1","hashtag2"]},{"1401944719":["hashtag1","hashtag2"]},{"1401944713":["hashtag1","hashtag2"]},{"1401944707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401944709, 1401944765, 1401944846, 1401944719, 1401944713, 1401944707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.300631284713745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:27:22.677946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/44/image_31122025_21_44_35_9859.jpg', '/home/pi/Desktop/images/31122025/21/44/image_31122025_21_44_46_10669.jpg', '/home/pi/Desktop/images/31122025/21/44/image_31122025_21_44_55_9719.jpg', '/home/pi/Desktop/images/31122025/21/44/image_31122025_21_45_05_9668.jpg', '/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_16_10710.jpg', '/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_25_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/44/image_31122025_21_44_35_9859.jpg
/home/pi/Desktop/images/31122025/21/44/image_31122025_21_44_46_10669.jpg
/home/pi/Desktop/images/31122025/21/44/image_31122025_21_44_55_9719.jpg
/home/pi/Desktop/images/31122025/21/44/image_31122025_21_45_05_9668.jpg
/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_16_10710.jpg
/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_25_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401945176","1401945098","1401945257","1401945059","1401945139","1401945216"],"photo_ids_order":["1401945059","1401945098","1401945139","1401945176","1401945216","1401945257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c905c62936c482f994034ae9d3e58e5.jpg","text":"TemporaryFile(/tmp/multipartBody2816759363278725125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216503273,"filename":"image_31122025_21_45_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00ff15b1d2cd9a2b6bb8d65e45a1db09.jpg","text":"TemporaryFile(/tmp/multipartBody1084513413466086642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216503273,"filename":"image_31122025_21_44_46_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab3b66564d751fd13ed0eb8d62c5e427.jpg","text":"TemporaryFile(/tmp/multipartBody212943580247035794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216503273,"filename":"image_31122025_21_45_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc3bad49006bdd76ce9a98be5e242245.jpg","text":"TemporaryFile(/tmp/multipartBody4236367164895310107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216503273,"filename":"image_31122025_21_44_35_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d3c7833c57961104c9fc9bcfc3740de.jpg","text":"TemporaryFile(/tmp/multipartBody6089106467670341118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216503273,"filename":"image_31122025_21_44_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cef3489fb8f2111237b00b5cbfd2b44a.jpg","text":"TemporaryFile(/tmp/multipartBody5158572557672000797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216503273,"filename":"image_31122025_21_45_16_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401945139","file1":"1401945098","file0":"1401945059","file4":"1401945216","file5":"1401945257","file3":"1401945176"},"map_files_photo_id_array":[{"photo_id":"1401945257","filename":"file5"},{"photo_id":"1401945139","filename":"file2"},{"photo_id":"1401945216","filename":"file4"},{"photo_id":"1401945098","filename":"file1"},{"photo_id":"1401945059","filename":"file0"},{"photo_id":"1401945176","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401945176":["hashtag1","hashtag2"]},{"1401945098":["hashtag1","hashtag2"]},{"1401945257":["hashtag1","hashtag2"]},{"1401945059":["hashtag1","hashtag2"]},{"1401945139":["hashtag1","hashtag2"]},{"1401945216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401945176, 1401945098, 1401945257, 1401945059, 1401945139, 1401945216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67320775985718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:28:03.277074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_35_9630.jpg', '/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_45_9799.jpg', '/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_55_10646.jpg', '/home/pi/Desktop/images/31122025/21/45/image_31122025_21_46_05_9533.jpg', '/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_15_9876.jpg', '/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_26_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_35_9630.jpg
/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_45_9799.jpg
/home/pi/Desktop/images/31122025/21/45/image_31122025_21_45_55_10646.jpg
/home/pi/Desktop/images/31122025/21/45/image_31122025_21_46_05_9533.jpg
/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_15_9876.jpg
/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_26_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401945335","1401945338","1401945340","1401945337","1401945342","1401945339"],"photo_ids_order":["1401945335","1401945337","1401945338","1401945339","1401945340","1401945342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/030d290347def110593b60a2cf9c5610.jpg","text":"TemporaryFile(/tmp/multipartBody6791729730177233941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216543906,"filename":"image_31122025_21_45_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a83f65cd9933a5201dbd85fcb7d2a884.jpg","text":"TemporaryFile(/tmp/multipartBody199976536388293897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216543906,"filename":"image_31122025_21_45_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2875dd6586666744f78882e0ead74c7a.jpg","text":"TemporaryFile(/tmp/multipartBody8107613468211521282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216543906,"filename":"image_31122025_21_46_15_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/805fe2fbca42d723608ddf11969ce047.jpg","text":"TemporaryFile(/tmp/multipartBody3552669199581468858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216543906,"filename":"image_31122025_21_45_45_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6596f6a1c5ecb5fa31d35e00bdce6915.jpg","text":"TemporaryFile(/tmp/multipartBody4553715024118451549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216543906,"filename":"image_31122025_21_46_26_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ce172c594924944370d3469bbc602158.jpg","text":"TemporaryFile(/tmp/multipartBody310188290790494244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216543906,"filename":"image_31122025_21_46_05_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401945338","file1":"1401945337","file0":"1401945335","file4":"1401945340","file5":"1401945342","file3":"1401945339"},"map_files_photo_id_array":[{"photo_id":"1401945342","filename":"file5"},{"photo_id":"1401945338","filename":"file2"},{"photo_id":"1401945340","filename":"file4"},{"photo_id":"1401945337","filename":"file1"},{"photo_id":"1401945335","filename":"file0"},{"photo_id":"1401945339","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401945335":["hashtag1","hashtag2"]},{"1401945338":["hashtag1","hashtag2"]},{"1401945340":["hashtag1","hashtag2"]},{"1401945337":["hashtag1","hashtag2"]},{"1401945342":["hashtag1","hashtag2"]},{"1401945339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401945335, 1401945338, 1401945340, 1401945337, 1401945342, 1401945339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48168158531189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:28:42.820949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_40_2560.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_46_3714.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_52_5879.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_53_1530.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_55_1720.jpg', '/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_58_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_40_2560.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_46_3714.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_52_5879.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_53_1530.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_55_1720.jpg
/home/pi/Desktop/images/03112025/20/41/image_03112025_20_41_58_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401945683","1401945763","1401945720","1401945642","1401945504","1401945581"],"photo_ids_order":["1401945504","1401945581","1401945642","1401945683","1401945720","1401945763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4431188d1dd271de3a418bb5494eb607.jpg","text":"TemporaryFile(/tmp/multipartBody6574380062340354262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216584709,"filename":"image_03112025_20_41_53_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a38ba74fb01e2f53031f1b16c2c1816.jpg","text":"TemporaryFile(/tmp/multipartBody2215415041013936506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216584709,"filename":"image_03112025_20_41_58_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3db7e1f75081f5b96dfda62be4589092.jpg","text":"TemporaryFile(/tmp/multipartBody2551530783024316799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216584709,"filename":"image_03112025_20_41_55_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbd27b1ff17e9dc5729e95f0f974c6ba.jpg","text":"TemporaryFile(/tmp/multipartBody5027455710056479978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216584709,"filename":"image_03112025_20_41_52_5879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8526d861ee7b417b5c6f952d71a45cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5016163666042831705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216584709,"filename":"image_03112025_20_41_40_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c77e7d8560a1dc8184f5cad4fb02c093.jpg","text":"TemporaryFile(/tmp/multipartBody4475923978818444698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216584709,"filename":"image_03112025_20_41_46_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401945642","file1":"1401945581","file0":"1401945504","file4":"1401945720","file5":"1401945763","file3":"1401945683"},"map_files_photo_id_array":[{"photo_id":"1401945763","filename":"file5"},{"photo_id":"1401945642","filename":"file2"},{"photo_id":"1401945720","filename":"file4"},{"photo_id":"1401945581","filename":"file1"},{"photo_id":"1401945504","filename":"file0"},{"photo_id":"1401945683","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401945683":["hashtag1","hashtag2"]},{"1401945763":["hashtag1","hashtag2"]},{"1401945720":["hashtag1","hashtag2"]},{"1401945642":["hashtag1","hashtag2"]},{"1401945504":["hashtag1","hashtag2"]},{"1401945581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401945683, 1401945763, 1401945720, 1401945642, 1401945504, 1401945581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21150541305542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:29:21.970931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_35_9583.jpg', '/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_45_9766.jpg', '/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_56_10902.jpg', '/home/pi/Desktop/images/31122025/21/46/image_31122025_21_47_06_9825.jpg', '/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_15_9681.jpg', '/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_25_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_35_9583.jpg
/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_45_9766.jpg
/home/pi/Desktop/images/31122025/21/46/image_31122025_21_46_56_10902.jpg
/home/pi/Desktop/images/31122025/21/46/image_31122025_21_47_06_9825.jpg
/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_15_9681.jpg
/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_25_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401946144","1401946459","1401946228","1401946386","1401946071","1401946314"],"photo_ids_order":["1401946071","1401946144","1401946228","1401946314","1401946386","1401946459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4a904fb6e5745413a0c13470e5321fb.jpg","text":"TemporaryFile(/tmp/multipartBody6296045424010109220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216622564,"filename":"image_31122025_21_46_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71b7d9d48f92030f4cffa203a373e0bd.jpg","text":"TemporaryFile(/tmp/multipartBody1824856937494641023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216622564,"filename":"image_31122025_21_47_25_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a421a8dd4fef1474237ec4e027dcc27.jpg","text":"TemporaryFile(/tmp/multipartBody5029128143401194635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216622564,"filename":"image_31122025_21_46_56_10902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0bfb731b33f032c4ac74d989700e89eb.jpg","text":"TemporaryFile(/tmp/multipartBody422071340893861923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216622564,"filename":"image_31122025_21_47_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11cf3f04448e8b9316eae943a119f21b.jpg","text":"TemporaryFile(/tmp/multipartBody2256339488013107688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216622564,"filename":"image_31122025_21_46_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/785594d67ca575f09205ddbc529e8b46.jpg","text":"TemporaryFile(/tmp/multipartBody6024609536856822222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216622564,"filename":"image_31122025_21_47_06_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401946228","file1":"1401946144","file0":"1401946071","file4":"1401946386","file5":"1401946459","file3":"1401946314"},"map_files_photo_id_array":[{"photo_id":"1401946459","filename":"file5"},{"photo_id":"1401946228","filename":"file2"},{"photo_id":"1401946386","filename":"file4"},{"photo_id":"1401946144","filename":"file1"},{"photo_id":"1401946071","filename":"file0"},{"photo_id":"1401946314","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401946144":["hashtag1","hashtag2"]},{"1401946459":["hashtag1","hashtag2"]},{"1401946228":["hashtag1","hashtag2"]},{"1401946386":["hashtag1","hashtag2"]},{"1401946071":["hashtag1","hashtag2"]},{"1401946314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401946144, 1401946459, 1401946228, 1401946386, 1401946071, 1401946314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18141531944275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:30:02.577794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_35_9891.jpg', '/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_46_10783.jpg', '/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_55_9583.jpg', '/home/pi/Desktop/images/31122025/21/47/image_31122025_21_48_05_9560.jpg', '/home/pi/Desktop/images/31122025/21/48/image_31122025_21_48_26_10224.jpg', '/home/pi/Desktop/images/31122025/21/48/image_31122025_21_48_36_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_35_9891.jpg
/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_46_10783.jpg
/home/pi/Desktop/images/31122025/21/47/image_31122025_21_47_55_9583.jpg
/home/pi/Desktop/images/31122025/21/47/image_31122025_21_48_05_9560.jpg
/home/pi/Desktop/images/31122025/21/48/image_31122025_21_48_26_10224.jpg
/home/pi/Desktop/images/31122025/21/48/image_31122025_21_48_36_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401946870","1401946773","1401946695","1401946737","1401946959","1401946814"],"photo_ids_order":["1401946695","1401946737","1401946773","1401946814","1401946870","1401946959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5238cb20edcd366090c9333ca33cf5c1.jpg","text":"TemporaryFile(/tmp/multipartBody1607194749102331153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216663245,"filename":"image_31122025_21_48_26_10224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be2d495bfb89881930c32ada4cb742ed.jpg","text":"TemporaryFile(/tmp/multipartBody3821698009461888001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216663245,"filename":"image_31122025_21_47_55_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9593343e9a93d87ad217efe6a151dd14.jpg","text":"TemporaryFile(/tmp/multipartBody373786890985279574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216663245,"filename":"image_31122025_21_47_35_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b041d6c09727738c98d4c3ce41bfb98.jpg","text":"TemporaryFile(/tmp/multipartBody2916838919110850274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216663245,"filename":"image_31122025_21_47_46_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a7fb5d0ff2cda201e76e458946d0319.jpg","text":"TemporaryFile(/tmp/multipartBody1357860183372440578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216663245,"filename":"image_31122025_21_48_36_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f6509cf98f2559880fb46609be85dca.jpg","text":"TemporaryFile(/tmp/multipartBody8533585674026638377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216663245,"filename":"image_31122025_21_48_05_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401946773","file1":"1401946737","file0":"1401946695","file4":"1401946870","file5":"1401946959","file3":"1401946814"},"map_files_photo_id_array":[{"photo_id":"1401946959","filename":"file5"},{"photo_id":"1401946773","filename":"file2"},{"photo_id":"1401946870","filename":"file4"},{"photo_id":"1401946737","filename":"file1"},{"photo_id":"1401946695","filename":"file0"},{"photo_id":"1401946814","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401946870":["hashtag1","hashtag2"]},{"1401946773":["hashtag1","hashtag2"]},{"1401946695":["hashtag1","hashtag2"]},{"1401946737":["hashtag1","hashtag2"]},{"1401946959":["hashtag1","hashtag2"]},{"1401946814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401946870, 1401946773, 1401946695, 1401946737, 1401946959, 1401946814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36985540390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:30:42.160115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_01_3127.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_04_3153.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_07_2707.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_09_2728.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_13_3644.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_16_2893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_01_3127.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_04_3153.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_07_2707.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_09_2728.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_13_3644.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_16_2893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401948004","1401947659","1401947473","1401947818","1401947301","1401947168"],"photo_ids_order":["1401947168","1401947301","1401947473","1401947659","1401947818","1401948004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b35db4e34150d9fb3e262137144d416b.jpg","text":"TemporaryFile(/tmp/multipartBody3543687260730480115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216704043,"filename":"image_03112025_20_42_16_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2405402f37903033858b65518d4ce990.jpg","text":"TemporaryFile(/tmp/multipartBody3432543848521650189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216704043,"filename":"image_03112025_20_42_09_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77f10a46b748afa08116567210ae2e65.jpg","text":"TemporaryFile(/tmp/multipartBody2002138573514435511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216704043,"filename":"image_03112025_20_42_07_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f409540905b9727b675be3d6ce5def14.jpg","text":"TemporaryFile(/tmp/multipartBody3160356087580949420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216704043,"filename":"image_03112025_20_42_13_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/91221e96f0b68bac2d71f5d6718611e3.jpg","text":"TemporaryFile(/tmp/multipartBody8240223859854343605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216704043,"filename":"image_03112025_20_42_04_3153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/067cd5ceb348713b9576ce8be1af6b66.jpg","text":"TemporaryFile(/tmp/multipartBody1667783763790312757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216704043,"filename":"image_03112025_20_42_01_3127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401947473","file1":"1401947301","file0":"1401947168","file4":"1401947818","file5":"1401948004","file3":"1401947659"},"map_files_photo_id_array":[{"photo_id":"1401948004","filename":"file5"},{"photo_id":"1401947473","filename":"file2"},{"photo_id":"1401947818","filename":"file4"},{"photo_id":"1401947301","filename":"file1"},{"photo_id":"1401947168","filename":"file0"},{"photo_id":"1401947659","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401948004":["hashtag1","hashtag2"]},{"1401947659":["hashtag1","hashtag2"]},{"1401947473":["hashtag1","hashtag2"]},{"1401947818":["hashtag1","hashtag2"]},{"1401947301":["hashtag1","hashtag2"]},{"1401947168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401948004, 1401947659, 1401947473, 1401947818, 1401947301, 1401947168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83672785758972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:31:22.446216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/48/image_31122025_21_48_45_9696.jpg', '/home/pi/Desktop/images/31122025/21/48/image_31122025_21_48_56_10597.jpg', '/home/pi/Desktop/images/31122025/21/48/image_31122025_21_49_06_9708.jpg', '/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_15_9361.jpg', '/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_25_10621.jpg', '/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_35_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/48/image_31122025_21_48_45_9696.jpg
/home/pi/Desktop/images/31122025/21/48/image_31122025_21_48_56_10597.jpg
/home/pi/Desktop/images/31122025/21/48/image_31122025_21_49_06_9708.jpg
/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_15_9361.jpg
/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_25_10621.jpg
/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_35_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401948678","1401948813","1401948636","1401948716","1401948754","1401948562"],"photo_ids_order":["1401948562","1401948636","1401948678","1401948716","1401948754","1401948813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28d1728a118a19601c235f9ec81c880d.jpg","text":"TemporaryFile(/tmp/multipartBody4762282754196744351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216743038,"filename":"image_31122025_21_49_06_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8397a3c4affb41dd94373bcecc205d89.jpg","text":"TemporaryFile(/tmp/multipartBody2934303034441412302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216743038,"filename":"image_31122025_21_49_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/00c033d116a9e6119ecf1b8615fa77e3.jpg","text":"TemporaryFile(/tmp/multipartBody3177733820780595297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216743038,"filename":"image_31122025_21_48_56_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/294e455a023a75a45d989d4912f61e86.jpg","text":"TemporaryFile(/tmp/multipartBody3517506697801785843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216743038,"filename":"image_31122025_21_49_15_9361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e65854b739a888410a70e4ad53ab1a40.jpg","text":"TemporaryFile(/tmp/multipartBody8589506745248952946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216743038,"filename":"image_31122025_21_49_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fa4b1b3a2d18fe7b6d408b4367871bf.jpg","text":"TemporaryFile(/tmp/multipartBody535110030088021720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216743038,"filename":"image_31122025_21_48_45_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401948678","file1":"1401948636","file0":"1401948562","file4":"1401948754","file5":"1401948813","file3":"1401948716"},"map_files_photo_id_array":[{"photo_id":"1401948813","filename":"file5"},{"photo_id":"1401948678","filename":"file2"},{"photo_id":"1401948754","filename":"file4"},{"photo_id":"1401948636","filename":"file1"},{"photo_id":"1401948562","filename":"file0"},{"photo_id":"1401948716","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401948678":["hashtag1","hashtag2"]},{"1401948813":["hashtag1","hashtag2"]},{"1401948636":["hashtag1","hashtag2"]},{"1401948716":["hashtag1","hashtag2"]},{"1401948754":["hashtag1","hashtag2"]},{"1401948562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401948678, 1401948813, 1401948636, 1401948716, 1401948754, 1401948562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1801221370697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:32:03.025546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_45_9619.jpg', '/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_56_10672.jpg', '/home/pi/Desktop/images/31122025/21/49/image_31122025_21_50_05_9608.jpg', '/home/pi/Desktop/images/31122025/21/50/image_31122025_21_50_15_9710.jpg', '/home/pi/Desktop/images/31122025/21/50/image_31122025_21_50_25_10278.jpg', '/home/pi/Desktop/images/31122025/21/50/image_31122025_21_50_36_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_45_9619.jpg
/home/pi/Desktop/images/31122025/21/49/image_31122025_21_49_56_10672.jpg
/home/pi/Desktop/images/31122025/21/49/image_31122025_21_50_05_9608.jpg
/home/pi/Desktop/images/31122025/21/50/image_31122025_21_50_15_9710.jpg
/home/pi/Desktop/images/31122025/21/50/image_31122025_21_50_25_10278.jpg
/home/pi/Desktop/images/31122025/21/50/image_31122025_21_50_36_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401949632","1401949515","1401949162","1401949420","1401949279","1401949351"],"photo_ids_order":["1401949162","1401949279","1401949351","1401949420","1401949515","1401949632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49fea49dc2d72756287565f90bb6751c.jpg","text":"TemporaryFile(/tmp/multipartBody5946980165083958197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216783683,"filename":"image_31122025_21_50_36_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7ce28c7cb7b2df2ef1da809cba3d19ea.jpg","text":"TemporaryFile(/tmp/multipartBody3325133881038934138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216783683,"filename":"image_31122025_21_50_25_10278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/93c6fd9c681cc1fe10a3730b55e74d31.jpg","text":"TemporaryFile(/tmp/multipartBody2184184621006744659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216783683,"filename":"image_31122025_21_49_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4ef3a5a0f7ef72b4c5d1bda1f2facb8.jpg","text":"TemporaryFile(/tmp/multipartBody7396885102553210817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216783683,"filename":"image_31122025_21_50_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3212d1282eb493d55661d905c836ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6252695292893694662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216783683,"filename":"image_31122025_21_49_56_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e91f1abd76a1a3fd7144f311efd6cc26.jpg","text":"TemporaryFile(/tmp/multipartBody1787710560483766999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216783683,"filename":"image_31122025_21_50_05_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401949351","file1":"1401949279","file0":"1401949162","file4":"1401949515","file5":"1401949632","file3":"1401949420"},"map_files_photo_id_array":[{"photo_id":"1401949632","filename":"file5"},{"photo_id":"1401949351","filename":"file2"},{"photo_id":"1401949515","filename":"file4"},{"photo_id":"1401949279","filename":"file1"},{"photo_id":"1401949162","filename":"file0"},{"photo_id":"1401949420","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401949632":["hashtag1","hashtag2"]},{"1401949515":["hashtag1","hashtag2"]},{"1401949162":["hashtag1","hashtag2"]},{"1401949420":["hashtag1","hashtag2"]},{"1401949279":["hashtag1","hashtag2"]},{"1401949351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401949632, 1401949515, 1401949162, 1401949420, 1401949279, 1401949351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.084113359451294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:32:42.583971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_19_2674.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_21_2691.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_25_3716.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_28_2672.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_30_2602.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_34_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_19_2674.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_21_2691.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_25_3716.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_28_2672.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_30_2602.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_34_3574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401950602","1401950487","1401950753","1401950222","1401950353","1401950065"],"photo_ids_order":["1401950065","1401950222","1401950353","1401950487","1401950602","1401950753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d51822bf691ef4778c406882f90d540b.jpg","text":"TemporaryFile(/tmp/multipartBody5320356799823638055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216824468,"filename":"image_03112025_20_42_30_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dac9b75e90b83bd0f36f9a877196273e.jpg","text":"TemporaryFile(/tmp/multipartBody7575435619182935897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216824468,"filename":"image_03112025_20_42_28_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2774219f461b7282a7aa4db570d7212c.jpg","text":"TemporaryFile(/tmp/multipartBody2371171084536345622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216824468,"filename":"image_03112025_20_42_34_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e700b869b19fbecbf5096a6528909b6f.jpg","text":"TemporaryFile(/tmp/multipartBody5277990758807182581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216824468,"filename":"image_03112025_20_42_21_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/834f4d2d422bcd7cd471c4ab407f6d85.jpg","text":"TemporaryFile(/tmp/multipartBody8553301021225007417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216824468,"filename":"image_03112025_20_42_25_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/748ce03de1655ba023abbe63a4a084b4.jpg","text":"TemporaryFile(/tmp/multipartBody2346475393057754523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216824468,"filename":"image_03112025_20_42_19_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401950353","file1":"1401950222","file0":"1401950065","file4":"1401950602","file5":"1401950753","file3":"1401950487"},"map_files_photo_id_array":[{"photo_id":"1401950753","filename":"file5"},{"photo_id":"1401950353","filename":"file2"},{"photo_id":"1401950602","filename":"file4"},{"photo_id":"1401950222","filename":"file1"},{"photo_id":"1401950065","filename":"file0"},{"photo_id":"1401950487","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401950602":["hashtag1","hashtag2"]},{"1401950487":["hashtag1","hashtag2"]},{"1401950753":["hashtag1","hashtag2"]},{"1401950222":["hashtag1","hashtag2"]},{"1401950353":["hashtag1","hashtag2"]},{"1401950065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401950602, 1401950487, 1401950753, 1401950222, 1401950353, 1401950065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37804698944092 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:33:32.713924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_37_2599.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_43_3816.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_46_2623.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_48_2627.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_52_3632.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_55_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_37_2599.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_43_3816.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_46_2623.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_48_2627.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_52_3632.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_55_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401951695","1401951599","1401951728","1401951602","1401951574","1401951523"],"photo_ids_order":["1401951523","1401951574","1401951599","1401951602","1401951695","1401951728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4f852168f7b0d50151ede5d1c10bf66a.jpg","text":"TemporaryFile(/tmp/multipartBody4308844451849299765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216874596,"filename":"image_03112025_20_42_52_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc32e6b071404a46b02ce7747b59379b.jpg","text":"TemporaryFile(/tmp/multipartBody6736388691638767658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216874596,"filename":"image_03112025_20_42_46_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d73564027ce4114a4c903912feedd9e.jpg","text":"TemporaryFile(/tmp/multipartBody8511461399303939766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216874596,"filename":"image_03112025_20_42_55_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/383dcf1b14ba610d61994459b95365bc.jpg","text":"TemporaryFile(/tmp/multipartBody2418549744783002528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216874596,"filename":"image_03112025_20_42_48_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8e1414493c9847edd76b2d968aae97a.jpg","text":"TemporaryFile(/tmp/multipartBody6190096687485632017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216874596,"filename":"image_03112025_20_42_43_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f66af345eb1a7e5ef770ac0c5c1853c.jpg","text":"TemporaryFile(/tmp/multipartBody526441336431730543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216874596,"filename":"image_03112025_20_42_37_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401951599","file1":"1401951574","file0":"1401951523","file4":"1401951695","file5":"1401951728","file3":"1401951602"},"map_files_photo_id_array":[{"photo_id":"1401951728","filename":"file5"},{"photo_id":"1401951599","filename":"file2"},{"photo_id":"1401951695","filename":"file4"},{"photo_id":"1401951574","filename":"file1"},{"photo_id":"1401951523","filename":"file0"},{"photo_id":"1401951602","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401951695":["hashtag1","hashtag2"]},{"1401951599":["hashtag1","hashtag2"]},{"1401951728":["hashtag1","hashtag2"]},{"1401951602":["hashtag1","hashtag2"]},{"1401951574":["hashtag1","hashtag2"]},{"1401951523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401951695, 1401951599, 1401951728, 1401951602, 1401951574, 1401951523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.262171268463135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:34:11.869148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_57_2566.jpg', '/home/pi/Desktop/images/03112025/20/42/image_03112025_20_43_01_3939.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_04_2600.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_06_2653.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_13_3679.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_16_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_42_57_2566.jpg
/home/pi/Desktop/images/03112025/20/42/image_03112025_20_43_01_3939.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_04_2600.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_06_2653.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_13_3679.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_16_2812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401952580","1401952184","1401952076","1401952322","1401952441","1401952531"],"photo_ids_order":["1401952076","1401952184","1401952322","1401952441","1401952531","1401952580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/913fdb9ae64ae7b5cd7eed006b2f6f4c.jpg","text":"TemporaryFile(/tmp/multipartBody2257487302020989618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216913638,"filename":"image_03112025_20_43_16_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/055750b5738b8997910b641e361686dd.jpg","text":"TemporaryFile(/tmp/multipartBody3115421489344919449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216913638,"filename":"image_03112025_20_43_01_3939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3d38d2198f7f3e789a4f3f13d78343d0.jpg","text":"TemporaryFile(/tmp/multipartBody6447471922070581045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216913638,"filename":"image_03112025_20_42_57_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c718268044ba41e50eb01dd874c581a1.jpg","text":"TemporaryFile(/tmp/multipartBody4750419275334658796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216913638,"filename":"image_03112025_20_43_04_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2af2aa6ce5562f11f58a3fabddb041f.jpg","text":"TemporaryFile(/tmp/multipartBody8061613616168390797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216913638,"filename":"image_03112025_20_43_06_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/206bdad1e6acecd09a5373bef43f2bdd.jpg","text":"TemporaryFile(/tmp/multipartBody1905184878200863360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216913638,"filename":"image_03112025_20_43_13_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401952322","file1":"1401952184","file0":"1401952076","file4":"1401952531","file5":"1401952580","file3":"1401952441"},"map_files_photo_id_array":[{"photo_id":"1401952580","filename":"file5"},{"photo_id":"1401952322","filename":"file2"},{"photo_id":"1401952531","filename":"file4"},{"photo_id":"1401952184","filename":"file1"},{"photo_id":"1401952076","filename":"file0"},{"photo_id":"1401952441","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401952580":["hashtag1","hashtag2"]},{"1401952184":["hashtag1","hashtag2"]},{"1401952076":["hashtag1","hashtag2"]},{"1401952322":["hashtag1","hashtag2"]},{"1401952441":["hashtag1","hashtag2"]},{"1401952531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401952580, 1401952184, 1401952076, 1401952322, 1401952441, 1401952531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91915845870972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:35:02.675535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/50/image_31122025_21_50_56_9669.jpg', '/home/pi/Desktop/images/31122025/21/50/image_31122025_21_51_05_9687.jpg', '/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_15_9818.jpg', '/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_25_9937.jpg', '/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_36_10560.jpg', '/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_45_9526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/50/image_31122025_21_50_56_9669.jpg
/home/pi/Desktop/images/31122025/21/50/image_31122025_21_51_05_9687.jpg
/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_15_9818.jpg
/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_25_9937.jpg
/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_36_10560.jpg
/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_45_9526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401952833","1401952853","1401952856","1401952840","1401952854","1401952803"],"photo_ids_order":["1401952803","1401952833","1401952840","1401952853","1401952854","1401952856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8139af69dcac57899ac7cfac27438550.jpg","text":"TemporaryFile(/tmp/multipartBody8185128158990205406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216963313,"filename":"image_31122025_21_51_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c84afacac7af177bbd512cad9a486d76.jpg","text":"TemporaryFile(/tmp/multipartBody3256952991887373471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216963313,"filename":"image_31122025_21_51_25_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f601ce760c98e4483378d4bda2014fa5.jpg","text":"TemporaryFile(/tmp/multipartBody3749781966744371551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216963313,"filename":"image_31122025_21_51_45_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b29bf148815bd0a6f47bd89d1fca703.jpg","text":"TemporaryFile(/tmp/multipartBody845012360104719691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216963313,"filename":"image_31122025_21_51_15_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9deb5a6040170e23c0d87ab22e06781.jpg","text":"TemporaryFile(/tmp/multipartBody6992089415703261062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216963313,"filename":"image_31122025_21_51_36_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ec897e6568e9ec00f267681d65995a8.jpg","text":"TemporaryFile(/tmp/multipartBody5764653235013062133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767216963313,"filename":"image_31122025_21_50_56_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401952840","file1":"1401952833","file0":"1401952803","file4":"1401952854","file5":"1401952856","file3":"1401952853"},"map_files_photo_id_array":[{"photo_id":"1401952856","filename":"file5"},{"photo_id":"1401952840","filename":"file2"},{"photo_id":"1401952854","filename":"file4"},{"photo_id":"1401952833","filename":"file1"},{"photo_id":"1401952803","filename":"file0"},{"photo_id":"1401952853","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401952833":["hashtag1","hashtag2"]},{"1401952853":["hashtag1","hashtag2"]},{"1401952856":["hashtag1","hashtag2"]},{"1401952840":["hashtag1","hashtag2"]},{"1401952854":["hashtag1","hashtag2"]},{"1401952803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401952833, 1401952853, 1401952856, 1401952840, 1401952854, 1401952803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.520869970321655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:35:41.975882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_18_2830.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_22_3582.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_25_2831.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_28_2665.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_30_2780.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_34_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_18_2830.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_22_3582.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_25_2831.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_28_2665.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_30_2780.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_34_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401952865","1401952868","1401952864","1401952867","1401952866","1401952863"],"photo_ids_order":["1401952863","1401952864","1401952865","1401952866","1401952867","1401952868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/11573ec673cf36862bffe460cce11e42.jpg","text":"TemporaryFile(/tmp/multipartBody8596837876987827179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217003745,"filename":"image_03112025_20_43_25_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8b92f99427caad850a29d1ac7b71c63.jpg","text":"TemporaryFile(/tmp/multipartBody6612880659884134913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217003745,"filename":"image_03112025_20_43_34_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b0ad66beb6eedcf3fdd336f52583ea33.jpg","text":"TemporaryFile(/tmp/multipartBody7963624011393640212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217003745,"filename":"image_03112025_20_43_22_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c1ad1e572949642c2b5515abfee8f712.jpg","text":"TemporaryFile(/tmp/multipartBody4112856294032160312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217003745,"filename":"image_03112025_20_43_30_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18ec94fb82a9c34644be9b316baf9bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7969840860939674232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217003745,"filename":"image_03112025_20_43_28_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4dc48f9d88d807c9064c915c2c9c6d24.jpg","text":"TemporaryFile(/tmp/multipartBody5660749419479214201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217003745,"filename":"image_03112025_20_43_18_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401952865","file1":"1401952864","file0":"1401952863","file4":"1401952867","file5":"1401952868","file3":"1401952866"},"map_files_photo_id_array":[{"photo_id":"1401952868","filename":"file5"},{"photo_id":"1401952865","filename":"file2"},{"photo_id":"1401952867","filename":"file4"},{"photo_id":"1401952864","filename":"file1"},{"photo_id":"1401952863","filename":"file0"},{"photo_id":"1401952866","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401952865":["hashtag1","hashtag2"]},{"1401952868":["hashtag1","hashtag2"]},{"1401952864":["hashtag1","hashtag2"]},{"1401952867":["hashtag1","hashtag2"]},{"1401952866":["hashtag1","hashtag2"]},{"1401952863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401952865, 1401952868, 1401952864, 1401952867, 1401952866, 1401952863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21706485748291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:36:22.251266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_55_9802.jpg', '/home/pi/Desktop/images/31122025/21/51/image_31122025_21_52_05_9899.jpg', '/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_15_9931.jpg', '/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_25_10157.jpg', '/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_36_10663.jpg', '/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_55_9802.jpg
/home/pi/Desktop/images/31122025/21/51/image_31122025_21_52_05_9899.jpg
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_15_9931.jpg
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_25_10157.jpg
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_36_10663.jpg
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_45_9756.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4884166717529297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:36:32.266482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_36_2575.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_39_2694.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_43_3616.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_45_2542.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_49_3630.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_52_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_36_2575.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_39_2694.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_43_3616.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_45_2542.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_49_3630.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_52_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401952883","1401952882","1401952884","1401952881","1401952875","1401952878"],"photo_ids_order":["1401952875","1401952878","1401952881","1401952882","1401952883","1401952884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4efd1d6b8bbbe67ff40202f439a84124.jpg","text":"TemporaryFile(/tmp/multipartBody8665950720306291442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217054226,"filename":"image_03112025_20_43_49_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f65e986b9a45af4585d66982e24a0577.jpg","text":"TemporaryFile(/tmp/multipartBody803687118920771471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217054226,"filename":"image_03112025_20_43_45_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bb6157b33577895278cba771c308d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4744376074232335748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217054226,"filename":"image_03112025_20_43_52_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c4b655b937a91929294cbe6214dd598.jpg","text":"TemporaryFile(/tmp/multipartBody488066982058016850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217054226,"filename":"image_03112025_20_43_43_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e98eae63865d68e22e595949c77b7d1.jpg","text":"TemporaryFile(/tmp/multipartBody1581434372201379300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217054226,"filename":"image_03112025_20_43_36_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d06aace2c0bc01dd0cf85c9053f54b29.jpg","text":"TemporaryFile(/tmp/multipartBody2503516134733638288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217054226,"filename":"image_03112025_20_43_39_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401952881","file1":"1401952878","file0":"1401952875","file4":"1401952883","file5":"1401952884","file3":"1401952882"},"map_files_photo_id_array":[{"photo_id":"1401952884","filename":"file5"},{"photo_id":"1401952881","filename":"file2"},{"photo_id":"1401952883","filename":"file4"},{"photo_id":"1401952878","filename":"file1"},{"photo_id":"1401952875","filename":"file0"},{"photo_id":"1401952882","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401952883":["hashtag1","hashtag2"]},{"1401952882":["hashtag1","hashtag2"]},{"1401952884":["hashtag1","hashtag2"]},{"1401952881":["hashtag1","hashtag2"]},{"1401952875":["hashtag1","hashtag2"]},{"1401952878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401952883, 1401952882, 1401952884, 1401952881, 1401952875, 1401952878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4716579914093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:37:12.336431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_54_2726.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_57_2680.jpg', '/home/pi/Desktop/images/03112025/20/43/image_03112025_20_44_01_3675.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_04_2765.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_06_2696.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_10_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_54_2726.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_43_57_2680.jpg
/home/pi/Desktop/images/03112025/20/43/image_03112025_20_44_01_3675.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_04_2765.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_06_2696.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_10_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401953012","1401953120","1401953374","1401953233","1401953376","1401953346"],"photo_ids_order":["1401953012","1401953120","1401953233","1401953346","1401953374","1401953376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2b92ea386b838cf7ab7c8cd9dcd6f81.jpg","text":"TemporaryFile(/tmp/multipartBody1023279329838293448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217094099,"filename":"image_03112025_20_43_54_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3cc00bb74c2c261cacc7810171c474b.jpg","text":"TemporaryFile(/tmp/multipartBody2954526572999524539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217094099,"filename":"image_03112025_20_43_57_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7f6c43f96bccf8d4530b1a8bc1e3e23.jpg","text":"TemporaryFile(/tmp/multipartBody8973961894140571135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217094099,"filename":"image_03112025_20_44_06_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/940140c22e696565d50ac6fe2e3ed0b1.jpg","text":"TemporaryFile(/tmp/multipartBody1152817019611979970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217094099,"filename":"image_03112025_20_44_01_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acc18b29207bee0742ff582690754743.jpg","text":"TemporaryFile(/tmp/multipartBody1105449421347089881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217094099,"filename":"image_03112025_20_44_10_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/619d475324a39ea6b6ed4481d1c3d433.jpg","text":"TemporaryFile(/tmp/multipartBody3806781366176869045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217094099,"filename":"image_03112025_20_44_04_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401953233","file1":"1401953120","file0":"1401953012","file4":"1401953374","file5":"1401953376","file3":"1401953346"},"map_files_photo_id_array":[{"photo_id":"1401953376","filename":"file5"},{"photo_id":"1401953233","filename":"file2"},{"photo_id":"1401953374","filename":"file4"},{"photo_id":"1401953120","filename":"file1"},{"photo_id":"1401953012","filename":"file0"},{"photo_id":"1401953346","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401953012":["hashtag1","hashtag2"]},{"1401953120":["hashtag1","hashtag2"]},{"1401953374":["hashtag1","hashtag2"]},{"1401953233":["hashtag1","hashtag2"]},{"1401953376":["hashtag1","hashtag2"]},{"1401953346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401953012, 1401953120, 1401953374, 1401953233, 1401953376, 1401953346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63119149208069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:38:03.170554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_55_9802.jpg', '/home/pi/Desktop/images/31122025/21/51/image_31122025_21_52_05_9899.jpg', '/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_15_9931.jpg', '/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_25_10157.jpg', '/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_36_10663.jpg', '/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/51/image_31122025_21_51_55_9802.jpg
/home/pi/Desktop/images/31122025/21/51/image_31122025_21_52_05_9899.jpg
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_15_9931.jpg
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_25_10157.jpg
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_36_10663.jpg
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_45_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401953759","1401953720","1401953644","1401953871","1401953832","1401953795"],"photo_ids_order":["1401953644","1401953720","1401953759","1401953795","1401953832","1401953871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6321f446ea46e3efd9f2038c794aad5.jpg","text":"TemporaryFile(/tmp/multipartBody7176204025652338300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217143812,"filename":"image_31122025_21_52_15_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7d7dbb1434634b3ed4480a7cbfe03ad.jpg","text":"TemporaryFile(/tmp/multipartBody4850145159001656303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217143812,"filename":"image_31122025_21_52_05_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42a0b95e6ebc65afe2562c06dbb76b48.jpg","text":"TemporaryFile(/tmp/multipartBody3948040181750754573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217143812,"filename":"image_31122025_21_51_55_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64a2c35479535d86d2a11f1e31e1dbb8.jpg","text":"TemporaryFile(/tmp/multipartBody4681642846949824537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217143812,"filename":"image_31122025_21_52_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/710c5f1a26e9974f3c39a24c42f169be.jpg","text":"TemporaryFile(/tmp/multipartBody8256288298656295865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217143812,"filename":"image_31122025_21_52_36_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e21d4183c594317df77080f609ddd19b.jpg","text":"TemporaryFile(/tmp/multipartBody2709049662198761200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217143812,"filename":"image_31122025_21_52_25_10157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401953759","file1":"1401953720","file0":"1401953644","file4":"1401953832","file5":"1401953871","file3":"1401953795"},"map_files_photo_id_array":[{"photo_id":"1401953871","filename":"file5"},{"photo_id":"1401953759","filename":"file2"},{"photo_id":"1401953832","filename":"file4"},{"photo_id":"1401953720","filename":"file1"},{"photo_id":"1401953644","filename":"file0"},{"photo_id":"1401953795","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401953759":["hashtag1","hashtag2"]},{"1401953720":["hashtag1","hashtag2"]},{"1401953644":["hashtag1","hashtag2"]},{"1401953871":["hashtag1","hashtag2"]},{"1401953832":["hashtag1","hashtag2"]},{"1401953795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401953759, 1401953720, 1401953644, 1401953871, 1401953832, 1401953795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40157103538513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:39:02.898120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_55_9489.jpg', '/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_16_9821.jpg', '/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_25_9644.jpg', '/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_35_9690.jpg', '/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_46_10779.jpg', '/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_55_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/52/image_31122025_21_52_55_9489.jpg
/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_16_9821.jpg
/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_25_9644.jpg
/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_35_9690.jpg
/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_46_10779.jpg
/home/pi/Desktop/images/31122025/21/53/image_31122025_21_53_55_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401954298","1401954145","1401954223","1401954183","1401954336","1401954260"],"photo_ids_order":["1401954145","1401954183","1401954223","1401954260","1401954298","1401954336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dc563535c23d881df85299e12269552.jpg","text":"TemporaryFile(/tmp/multipartBody1059846038441278150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217203620,"filename":"image_31122025_21_53_46_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6c1cfb6b3578cc37080825a3da4266f4.jpg","text":"TemporaryFile(/tmp/multipartBody1271508204984639712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217203620,"filename":"image_31122025_21_52_55_9489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6afe913bb7b10961f4668d83dbcbad25.jpg","text":"TemporaryFile(/tmp/multipartBody850342594817226846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217203620,"filename":"image_31122025_21_53_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fff7849345044753ef6597928585ad9.jpg","text":"TemporaryFile(/tmp/multipartBody7353102179896584093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217203620,"filename":"image_31122025_21_53_16_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cb19621a02d5ad304507148be26d2cd4.jpg","text":"TemporaryFile(/tmp/multipartBody1142512589478403343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217203620,"filename":"image_31122025_21_53_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b0e353ec2db32c4e9a04b8a2ddefdd4.jpg","text":"TemporaryFile(/tmp/multipartBody7601038471886871601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217203620,"filename":"image_31122025_21_53_35_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401954223","file1":"1401954183","file0":"1401954145","file4":"1401954298","file5":"1401954336","file3":"1401954260"},"map_files_photo_id_array":[{"photo_id":"1401954336","filename":"file5"},{"photo_id":"1401954223","filename":"file2"},{"photo_id":"1401954298","filename":"file4"},{"photo_id":"1401954183","filename":"file1"},{"photo_id":"1401954145","filename":"file0"},{"photo_id":"1401954260","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401954298":["hashtag1","hashtag2"]},{"1401954145":["hashtag1","hashtag2"]},{"1401954223":["hashtag1","hashtag2"]},{"1401954183":["hashtag1","hashtag2"]},{"1401954336":["hashtag1","hashtag2"]},{"1401954260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401954298, 1401954145, 1401954223, 1401954183, 1401954336, 1401954260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46380686759949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:39:42.093130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_13_3005.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_15_2560.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_18_2731.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_22_3679.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_25_2684.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_27_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_13_3005.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_15_2560.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_18_2731.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_22_3679.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_25_2684.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_27_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401954592","1401954565","1401954526","1401954663","1401954485","1401954626"],"photo_ids_order":["1401954485","1401954526","1401954565","1401954592","1401954626","1401954663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7af4f6d9c9c0f3600cc82f35e69ac67f.jpg","text":"TemporaryFile(/tmp/multipartBody1301812126695336517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217244021,"filename":"image_03112025_20_44_22_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/21e1f1e7e7cfb09df42e1b525cc31c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3174468446098083805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217244021,"filename":"image_03112025_20_44_18_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1efb8da1671b410e72b4b0fa56557497.jpg","text":"TemporaryFile(/tmp/multipartBody7411321620408434742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217244021,"filename":"image_03112025_20_44_15_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/14368c806253a87c8e39eb1e19020d80.jpg","text":"TemporaryFile(/tmp/multipartBody6136105070981849406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217244021,"filename":"image_03112025_20_44_27_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2a69c7c1dc10982e23322325e95aaa9.jpg","text":"TemporaryFile(/tmp/multipartBody769180307573755669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217244021,"filename":"image_03112025_20_44_13_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/587adec4c047b4d6b7240348c73f3ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1533585415949650244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217244021,"filename":"image_03112025_20_44_25_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401954565","file1":"1401954526","file0":"1401954485","file4":"1401954626","file5":"1401954663","file3":"1401954592"},"map_files_photo_id_array":[{"photo_id":"1401954663","filename":"file5"},{"photo_id":"1401954565","filename":"file2"},{"photo_id":"1401954626","filename":"file4"},{"photo_id":"1401954526","filename":"file1"},{"photo_id":"1401954485","filename":"file0"},{"photo_id":"1401954592","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401954592":["hashtag1","hashtag2"]},{"1401954565":["hashtag1","hashtag2"]},{"1401954526":["hashtag1","hashtag2"]},{"1401954663":["hashtag1","hashtag2"]},{"1401954485":["hashtag1","hashtag2"]},{"1401954626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401954592, 1401954565, 1401954526, 1401954663, 1401954485, 1401954626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6936137676239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:40:22.254633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/53/image_31122025_21_54_05_9687.jpg', '/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_16_10683.jpg', '/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_25_9584.jpg', '/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_35_9692.jpg', '/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_45_9775.jpg', '/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_56_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/53/image_31122025_21_54_05_9687.jpg
/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_16_10683.jpg
/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_25_9584.jpg
/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_35_9692.jpg
/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_45_9775.jpg
/home/pi/Desktop/images/31122025/21/54/image_31122025_21_54_56_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401955078","1401954982","1401954910","1401955274","1401955192","1401954836"],"photo_ids_order":["1401954836","1401954910","1401954982","1401955078","1401955192","1401955274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f71bc74492d60a1480e60e44fdfb622b.jpg","text":"TemporaryFile(/tmp/multipartBody8471041014325545934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217282845,"filename":"image_31122025_21_54_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b6b5a15d39d16938c2543a8006a80ba5.jpg","text":"TemporaryFile(/tmp/multipartBody8512498944254750934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217282845,"filename":"image_31122025_21_54_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a1801bb3525eef3b2d6d46f44f60208.jpg","text":"TemporaryFile(/tmp/multipartBody1280234096922421324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217282845,"filename":"image_31122025_21_54_16_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/455a0b8b5657c5175e0d4efc479c8dc4.jpg","text":"TemporaryFile(/tmp/multipartBody989237555112539271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217282845,"filename":"image_31122025_21_54_56_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39b92276471943bbb15dda77f4eabc25.jpg","text":"TemporaryFile(/tmp/multipartBody1178908919085031291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217282845,"filename":"image_31122025_21_54_45_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8810edc7d5a7e888fae942ffa72eca3.jpg","text":"TemporaryFile(/tmp/multipartBody1286237407322676064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217282845,"filename":"image_31122025_21_54_05_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401954982","file1":"1401954910","file0":"1401954836","file4":"1401955192","file5":"1401955274","file3":"1401955078"},"map_files_photo_id_array":[{"photo_id":"1401955274","filename":"file5"},{"photo_id":"1401954982","filename":"file2"},{"photo_id":"1401955192","filename":"file4"},{"photo_id":"1401954910","filename":"file1"},{"photo_id":"1401954836","filename":"file0"},{"photo_id":"1401955078","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401955078":["hashtag1","hashtag2"]},{"1401954982":["hashtag1","hashtag2"]},{"1401954910":["hashtag1","hashtag2"]},{"1401955274":["hashtag1","hashtag2"]},{"1401955192":["hashtag1","hashtag2"]},{"1401954836":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401955078, 1401954982, 1401954910, 1401955274, 1401955192, 1401954836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69234275817871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:41:03.132469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/54/image_31122025_21_55_05_9602.jpg', '/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_16_10628.jpg', '/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_25_9637.jpg', '/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_35_9656.jpg', '/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_46_10674.jpg', '/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_55_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/54/image_31122025_21_55_05_9602.jpg
/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_16_10628.jpg
/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_25_9637.jpg
/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_35_9656.jpg
/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_46_10674.jpg
/home/pi/Desktop/images/31122025/21/55/image_31122025_21_55_55_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401955950","1401956192","1401955836","1401956306","1401956071","1401955696"],"photo_ids_order":["1401955696","1401955836","1401955950","1401956071","1401956192","1401956306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e58e6e2ad968db86fca1db92394ab3d.jpg","text":"TemporaryFile(/tmp/multipartBody332263190305945181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217323807,"filename":"image_31122025_21_55_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49092d6bf2eb37401de8c55ab6e25dc3.jpg","text":"TemporaryFile(/tmp/multipartBody350203200358303047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217323807,"filename":"image_31122025_21_55_46_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0959d188be162dd016c24b7c1a0a380.jpg","text":"TemporaryFile(/tmp/multipartBody3291245492615874076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217323807,"filename":"image_31122025_21_55_16_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9402d59b9d130228466e7c11238fa3e3.jpg","text":"TemporaryFile(/tmp/multipartBody8224534329311241590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217323807,"filename":"image_31122025_21_55_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0db826391c36e7c74df578c5889fc2b1.jpg","text":"TemporaryFile(/tmp/multipartBody7577696040428772673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217323807,"filename":"image_31122025_21_55_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f64b0bfdb87495c9050f194f93467bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3048421453586918720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217323807,"filename":"image_31122025_21_55_05_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401955950","file1":"1401955836","file0":"1401955696","file4":"1401956192","file5":"1401956306","file3":"1401956071"},"map_files_photo_id_array":[{"photo_id":"1401956306","filename":"file5"},{"photo_id":"1401955950","filename":"file2"},{"photo_id":"1401956192","filename":"file4"},{"photo_id":"1401955836","filename":"file1"},{"photo_id":"1401955696","filename":"file0"},{"photo_id":"1401956071","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401955950":["hashtag1","hashtag2"]},{"1401956192":["hashtag1","hashtag2"]},{"1401955836":["hashtag1","hashtag2"]},{"1401956306":["hashtag1","hashtag2"]},{"1401956071":["hashtag1","hashtag2"]},{"1401955696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401955950, 1401956192, 1401955836, 1401956306, 1401956071, 1401955696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42688059806824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:41:42.477569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_31_3358.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_33_2721.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_36_2789.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_40_3793.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_43_2721.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_45_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_31_3358.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_33_2721.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_36_2789.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_40_3793.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_43_2721.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_45_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401957114","1401957284","1401957003","1401956753","1401956869","1401957195"],"photo_ids_order":["1401956753","1401956869","1401957003","1401957114","1401957195","1401957284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0075f94fd67e7e51a2eb9d1bdae44b42.jpg","text":"TemporaryFile(/tmp/multipartBody1961990953745333177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217364382,"filename":"image_03112025_20_44_40_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b717c514a39332b1af0489c02fac5428.jpg","text":"TemporaryFile(/tmp/multipartBody6698757796930949006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217364382,"filename":"image_03112025_20_44_45_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/01074f9eb7731db436ac79f47b36e77c.jpg","text":"TemporaryFile(/tmp/multipartBody3040851799654022426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217364382,"filename":"image_03112025_20_44_36_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/370904d7d6b3ae9b214ff5a4d2ded152.jpg","text":"TemporaryFile(/tmp/multipartBody739273745592578272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217364382,"filename":"image_03112025_20_44_31_3358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f87c5fe362a6f2885e5b7c4a5206662.jpg","text":"TemporaryFile(/tmp/multipartBody7602973897836343436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217364382,"filename":"image_03112025_20_44_33_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0150186c2f3d12d45e2fb6e42fb1a480.jpg","text":"TemporaryFile(/tmp/multipartBody2998009758549846429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217364382,"filename":"image_03112025_20_44_43_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401957003","file1":"1401956869","file0":"1401956753","file4":"1401957195","file5":"1401957284","file3":"1401957114"},"map_files_photo_id_array":[{"photo_id":"1401957284","filename":"file5"},{"photo_id":"1401957003","filename":"file2"},{"photo_id":"1401957195","filename":"file4"},{"photo_id":"1401956869","filename":"file1"},{"photo_id":"1401956753","filename":"file0"},{"photo_id":"1401957114","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401957114":["hashtag1","hashtag2"]},{"1401957284":["hashtag1","hashtag2"]},{"1401957003":["hashtag1","hashtag2"]},{"1401956753":["hashtag1","hashtag2"]},{"1401956869":["hashtag1","hashtag2"]},{"1401957195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401957114, 1401957284, 1401957003, 1401956753, 1401956869, 1401957195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.252737045288086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:42:22.774736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/55/image_31122025_21_56_05_9561.jpg', '/home/pi/Desktop/images/31122025/21/56/image_31122025_21_56_16_10651.jpg', '/home/pi/Desktop/images/31122025/21/56/image_31122025_21_56_35_9750.jpg', '/home/pi/Desktop/images/31122025/21/56/image_31122025_21_56_46_10624.jpg', '/home/pi/Desktop/images/31122025/21/56/image_31122025_21_56_56_9855.jpg', '/home/pi/Desktop/images/31122025/21/56/image_31122025_21_57_05_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/55/image_31122025_21_56_05_9561.jpg
/home/pi/Desktop/images/31122025/21/56/image_31122025_21_56_16_10651.jpg
/home/pi/Desktop/images/31122025/21/56/image_31122025_21_56_35_9750.jpg
/home/pi/Desktop/images/31122025/21/56/image_31122025_21_56_46_10624.jpg
/home/pi/Desktop/images/31122025/21/56/image_31122025_21_56_56_9855.jpg
/home/pi/Desktop/images/31122025/21/56/image_31122025_21_57_05_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401958614","1401958172","1401957695","1401958389","1401958281","1401958035"],"photo_ids_order":["1401957695","1401958035","1401958172","1401958281","1401958389","1401958614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7638576af1202253374d79396a8f833b.jpg","text":"TemporaryFile(/tmp/multipartBody168278095461864841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217403367,"filename":"image_31122025_21_57_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b26c9c6371712863eb56ee4db4431581.jpg","text":"TemporaryFile(/tmp/multipartBody1506684212149559660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217403367,"filename":"image_31122025_21_56_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2726d12e546451c4b1dfdb053a0234a.jpg","text":"TemporaryFile(/tmp/multipartBody6095217998678714698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217403367,"filename":"image_31122025_21_56_05_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f715af51417570203aac7ce0904aa0a8.jpg","text":"TemporaryFile(/tmp/multipartBody4654146358238019772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217403367,"filename":"image_31122025_21_56_56_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a55782b0f2c907234a601230524dfce.jpg","text":"TemporaryFile(/tmp/multipartBody3602587650648697200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217403367,"filename":"image_31122025_21_56_46_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0584579974c76b67f6ebc03c830d197e.jpg","text":"TemporaryFile(/tmp/multipartBody2215036017842102351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217403367,"filename":"image_31122025_21_56_16_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401958172","file1":"1401958035","file0":"1401957695","file4":"1401958389","file5":"1401958614","file3":"1401958281"},"map_files_photo_id_array":[{"photo_id":"1401958614","filename":"file5"},{"photo_id":"1401958172","filename":"file2"},{"photo_id":"1401958389","filename":"file4"},{"photo_id":"1401958035","filename":"file1"},{"photo_id":"1401957695","filename":"file0"},{"photo_id":"1401958281","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401958614":["hashtag1","hashtag2"]},{"1401958172":["hashtag1","hashtag2"]},{"1401957695":["hashtag1","hashtag2"]},{"1401958389":["hashtag1","hashtag2"]},{"1401958281":["hashtag1","hashtag2"]},{"1401958035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401958614, 1401958172, 1401957695, 1401958389, 1401958281, 1401958035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.51991677284241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:43:21.876714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_15_9579.jpg', '/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_26_10687.jpg', '/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_35_9623.jpg', '/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_45_9730.jpg', '/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_56_10720.jpg', '/home/pi/Desktop/images/31122025/21/57/image_31122025_21_58_05_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_15_9579.jpg
/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_26_10687.jpg
/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_35_9623.jpg
/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_45_9730.jpg
/home/pi/Desktop/images/31122025/21/57/image_31122025_21_57_56_10720.jpg
/home/pi/Desktop/images/31122025/21/57/image_31122025_21_58_05_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401959207","1401959092","1401959047","1401959131","1401959005","1401958959"],"photo_ids_order":["1401958959","1401959005","1401959047","1401959092","1401959131","1401959207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c9ebd77601b36b4e636ccaea75c794a.jpg","text":"TemporaryFile(/tmp/multipartBody1647364932004895919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217462473,"filename":"image_31122025_21_58_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bdbf95103ff5d1a00e480649775dfe19.jpg","text":"TemporaryFile(/tmp/multipartBody2941548204918602735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217462473,"filename":"image_31122025_21_57_45_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f05d170288ccaf681ea92b253be99e48.jpg","text":"TemporaryFile(/tmp/multipartBody8318434019557646207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217462473,"filename":"image_31122025_21_57_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/236f925f4942dc3f85b67bb8cd57f4c7.jpg","text":"TemporaryFile(/tmp/multipartBody5287550399051175709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217462473,"filename":"image_31122025_21_57_56_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5bc1f5b0a50acc2e995fea9d42b93ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1329261089293148179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217462473,"filename":"image_31122025_21_57_26_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39ad2f5dd6c828323c960791d026c062.jpg","text":"TemporaryFile(/tmp/multipartBody2134652724978378634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217462473,"filename":"image_31122025_21_57_15_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401959047","file1":"1401959005","file0":"1401958959","file4":"1401959131","file5":"1401959207","file3":"1401959092"},"map_files_photo_id_array":[{"photo_id":"1401959207","filename":"file5"},{"photo_id":"1401959047","filename":"file2"},{"photo_id":"1401959131","filename":"file4"},{"photo_id":"1401959005","filename":"file1"},{"photo_id":"1401958959","filename":"file0"},{"photo_id":"1401959092","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401959207":["hashtag1","hashtag2"]},{"1401959092":["hashtag1","hashtag2"]},{"1401959047":["hashtag1","hashtag2"]},{"1401959131":["hashtag1","hashtag2"]},{"1401959005":["hashtag1","hashtag2"]},{"1401958959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401959207, 1401959092, 1401959047, 1401959131, 1401959005, 1401958959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5308735370636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:44:02.866067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_15_9651.jpg', '/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_25_9893.jpg', '/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_36_10633.jpg', '/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_45_9618.jpg', '/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_56_10581.jpg', '/home/pi/Desktop/images/31122025/21/58/image_31122025_21_59_05_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_15_9651.jpg
/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_25_9893.jpg
/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_36_10633.jpg
/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_45_9618.jpg
/home/pi/Desktop/images/31122025/21/58/image_31122025_21_58_56_10581.jpg
/home/pi/Desktop/images/31122025/21/58/image_31122025_21_59_05_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401959333","1401959330","1401959332","1401959311","1401959335","1401959334"],"photo_ids_order":["1401959311","1401959330","1401959332","1401959333","1401959334","1401959335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55e3158dd6151c83c0083c000bd7556f.jpg","text":"TemporaryFile(/tmp/multipartBody688788867037512346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217503585,"filename":"image_31122025_21_58_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b1ed7c724dc81c1dbdcfbc2d347db06.jpg","text":"TemporaryFile(/tmp/multipartBody1666015711346760905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217503585,"filename":"image_31122025_21_58_25_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39adedde9d4e92d13d2df199e1ad938a.jpg","text":"TemporaryFile(/tmp/multipartBody941219986536466567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217503585,"filename":"image_31122025_21_58_36_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab365c71e28f5299c4968b8563433853.jpg","text":"TemporaryFile(/tmp/multipartBody3731411186651116217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217503585,"filename":"image_31122025_21_58_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/332bca2669f5db7722d64f52cabd84ac.jpg","text":"TemporaryFile(/tmp/multipartBody9121028227352425877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217503585,"filename":"image_31122025_21_59_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92a760a306844dde30d2bb1cb756e73b.jpg","text":"TemporaryFile(/tmp/multipartBody8192783530436562957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217503585,"filename":"image_31122025_21_58_56_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401959332","file1":"1401959330","file0":"1401959311","file4":"1401959334","file5":"1401959335","file3":"1401959333"},"map_files_photo_id_array":[{"photo_id":"1401959335","filename":"file5"},{"photo_id":"1401959332","filename":"file2"},{"photo_id":"1401959334","filename":"file4"},{"photo_id":"1401959330","filename":"file1"},{"photo_id":"1401959311","filename":"file0"},{"photo_id":"1401959333","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401959333":["hashtag1","hashtag2"]},{"1401959330":["hashtag1","hashtag2"]},{"1401959332":["hashtag1","hashtag2"]},{"1401959311":["hashtag1","hashtag2"]},{"1401959335":["hashtag1","hashtag2"]},{"1401959334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401959333, 1401959330, 1401959332, 1401959311, 1401959335, 1401959334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5510835647583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:44:42.271315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_48_2774.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_52_3591.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_54_2730.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_57_2575.jpg', '/home/pi/Desktop/images/03112025/20/44/image_03112025_20_45_01_3658.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_03_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_48_2774.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_52_3591.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_54_2730.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_44_57_2575.jpg
/home/pi/Desktop/images/03112025/20/44/image_03112025_20_45_01_3658.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_03_2789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401959395","1401959356","1401959344","1401959431","1401959347","1401959349"],"photo_ids_order":["1401959344","1401959347","1401959349","1401959356","1401959395","1401959431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/271179f0060357a6a78083fa1f86d7e8.jpg","text":"TemporaryFile(/tmp/multipartBody2226583162619948322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217544160,"filename":"image_03112025_20_45_01_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/009c730b4a519b6a2b210a3ddb6c417a.jpg","text":"TemporaryFile(/tmp/multipartBody3693151448218409374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217544160,"filename":"image_03112025_20_44_57_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/151896a55c8b02d0d759ed6d45f19954.jpg","text":"TemporaryFile(/tmp/multipartBody4284093879036179847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217544160,"filename":"image_03112025_20_44_48_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a5ff7279c96dcf94d916c91ac3a5ac5.jpg","text":"TemporaryFile(/tmp/multipartBody142153788437976925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217544160,"filename":"image_03112025_20_45_03_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e3d5c9557f431652a22145ba3ac7629.jpg","text":"TemporaryFile(/tmp/multipartBody2196211161796536722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217544160,"filename":"image_03112025_20_44_52_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18e8268537d087d33b52fce39fbce4b5.jpg","text":"TemporaryFile(/tmp/multipartBody7226853356706678857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217544160,"filename":"image_03112025_20_44_54_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401959349","file1":"1401959347","file0":"1401959344","file4":"1401959395","file5":"1401959431","file3":"1401959356"},"map_files_photo_id_array":[{"photo_id":"1401959431","filename":"file5"},{"photo_id":"1401959349","filename":"file2"},{"photo_id":"1401959395","filename":"file4"},{"photo_id":"1401959347","filename":"file1"},{"photo_id":"1401959344","filename":"file0"},{"photo_id":"1401959356","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401959395":["hashtag1","hashtag2"]},{"1401959356":["hashtag1","hashtag2"]},{"1401959344":["hashtag1","hashtag2"]},{"1401959431":["hashtag1","hashtag2"]},{"1401959347":["hashtag1","hashtag2"]},{"1401959349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401959395, 1401959356, 1401959344, 1401959431, 1401959347, 1401959349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96817898750305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:45:22.430606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_15_9683.jpg', '/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_25_9803.jpg', '/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_36_10821.jpg', '/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_45_9705.jpg', '/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_55_9614.jpg', '/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_15_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_15_9683.jpg
/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_25_9803.jpg
/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_36_10821.jpg
/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_45_9705.jpg
/home/pi/Desktop/images/31122025/21/59/image_31122025_21_59_55_9614.jpg
/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_15_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401959738","1401959807","1401959947","1401959880","1401959664","1401960025"],"photo_ids_order":["1401959664","1401959738","1401959807","1401959880","1401959947","1401960025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8238a576acebe81a0e5bc76f41c0d35a.jpg","text":"TemporaryFile(/tmp/multipartBody3082933799222600676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217583038,"filename":"image_31122025_21_59_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71e4dfc68eb3a1875965e6131ae2b265.jpg","text":"TemporaryFile(/tmp/multipartBody7528412734349678833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217583038,"filename":"image_31122025_21_59_36_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd5333759d23ed0963ad5fafb9591348.jpg","text":"TemporaryFile(/tmp/multipartBody7501947745565891751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217583038,"filename":"image_31122025_21_59_55_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/95e8b7564075d722d887d5ec7f3727d2.jpg","text":"TemporaryFile(/tmp/multipartBody9038293272931050502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217583038,"filename":"image_31122025_21_59_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9880535b6622958b2df3e7c18f9ce850.jpg","text":"TemporaryFile(/tmp/multipartBody3322267615177573288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217583038,"filename":"image_31122025_21_59_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a20f4baa59e077fc8d7e10e7fcf177ac.jpg","text":"TemporaryFile(/tmp/multipartBody8366909307725614186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217583038,"filename":"image_31122025_22_00_15_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401959807","file1":"1401959738","file0":"1401959664","file4":"1401959947","file5":"1401960025","file3":"1401959880"},"map_files_photo_id_array":[{"photo_id":"1401960025","filename":"file5"},{"photo_id":"1401959807","filename":"file2"},{"photo_id":"1401959947","filename":"file4"},{"photo_id":"1401959738","filename":"file1"},{"photo_id":"1401959664","filename":"file0"},{"photo_id":"1401959880","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401959738":["hashtag1","hashtag2"]},{"1401959807":["hashtag1","hashtag2"]},{"1401959947":["hashtag1","hashtag2"]},{"1401959880":["hashtag1","hashtag2"]},{"1401959664":["hashtag1","hashtag2"]},{"1401960025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401959738, 1401959807, 1401959947, 1401959880, 1401959664, 1401960025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33008432388306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:46:03.200983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_25_10718.jpg', '/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_35_9727.jpg', '/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_45_9720.jpg', '/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_55_9880.jpg', '/home/pi/Desktop/images/31122025/22/00/image_31122025_22_01_05_10631.jpg', '/home/pi/Desktop/images/31122025/22/01/image_31122025_22_01_26_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_25_10718.jpg
/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_35_9727.jpg
/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_45_9720.jpg
/home/pi/Desktop/images/31122025/22/00/image_31122025_22_00_55_9880.jpg
/home/pi/Desktop/images/31122025/22/00/image_31122025_22_01_05_10631.jpg
/home/pi/Desktop/images/31122025/22/01/image_31122025_22_01_26_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960443","1401960314","1401960244","1401960445","1401960183","1401960423"],"photo_ids_order":["1401960183","1401960244","1401960314","1401960423","1401960443","1401960445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/568c9e21682dfb2deeac66ae11282e63.jpg","text":"TemporaryFile(/tmp/multipartBody5454803129980555092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217623809,"filename":"image_31122025_22_01_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3242bb03a0c47ebb5e828c5c885c7d49.jpg","text":"TemporaryFile(/tmp/multipartBody1266149066446661518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217623809,"filename":"image_31122025_22_00_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/67f712ff4df11a8e396be8aefde3eee0.jpg","text":"TemporaryFile(/tmp/multipartBody4825619191093734026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217623809,"filename":"image_31122025_22_00_35_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b6d9da35f521d4a8469effb87b07de8.jpg","text":"TemporaryFile(/tmp/multipartBody791322300974927906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217623809,"filename":"image_31122025_22_01_26_10430.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbca254f2d63fd6ff29ec4ddef56b1b2.jpg","text":"TemporaryFile(/tmp/multipartBody6336816896206746743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217623809,"filename":"image_31122025_22_00_25_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc819e7b186cc6051e16796e1e32d6e4.jpg","text":"TemporaryFile(/tmp/multipartBody4390574673063241680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217623809,"filename":"image_31122025_22_00_55_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960314","file1":"1401960244","file0":"1401960183","file4":"1401960443","file5":"1401960445","file3":"1401960423"},"map_files_photo_id_array":[{"photo_id":"1401960445","filename":"file5"},{"photo_id":"1401960314","filename":"file2"},{"photo_id":"1401960443","filename":"file4"},{"photo_id":"1401960244","filename":"file1"},{"photo_id":"1401960183","filename":"file0"},{"photo_id":"1401960423","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960443":["hashtag1","hashtag2"]},{"1401960314":["hashtag1","hashtag2"]},{"1401960244":["hashtag1","hashtag2"]},{"1401960445":["hashtag1","hashtag2"]},{"1401960183":["hashtag1","hashtag2"]},{"1401960423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960443, 1401960314, 1401960244, 1401960445, 1401960183, 1401960423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.89360284805298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:47:03.581462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/01/image_31122025_22_01_35_9702.jpg', '/home/pi/Desktop/images/31122025/22/01/image_31122025_22_01_45_9645.jpg', '/home/pi/Desktop/images/31122025/22/01/image_31122025_22_01_56_10729.jpg', '/home/pi/Desktop/images/31122025/22/01/image_31122025_22_02_05_9798.jpg', '/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_15_9759.jpg', '/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_25_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/01/image_31122025_22_01_35_9702.jpg
/home/pi/Desktop/images/31122025/22/01/image_31122025_22_01_45_9645.jpg
/home/pi/Desktop/images/31122025/22/01/image_31122025_22_01_56_10729.jpg
/home/pi/Desktop/images/31122025/22/01/image_31122025_22_02_05_9798.jpg
/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_15_9759.jpg
/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_25_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960755","1401960707","1401960748","1401960730","1401960684","1401960698"],"photo_ids_order":["1401960684","1401960698","1401960707","1401960730","1401960748","1401960755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6b6ab92dff2bca836afa426df0b80a5.jpg","text":"TemporaryFile(/tmp/multipartBody8713297849633762504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217684224,"filename":"image_31122025_22_02_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51fa8f147e130da47f084490f339feb1.jpg","text":"TemporaryFile(/tmp/multipartBody6026913918136997934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217684224,"filename":"image_31122025_22_01_56_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/303831aff28aa9fb42ebac802aae179e.jpg","text":"TemporaryFile(/tmp/multipartBody7141782155123134747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217684224,"filename":"image_31122025_22_02_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fa9691c9b773908f4181f1a56100c77.jpg","text":"TemporaryFile(/tmp/multipartBody5063545174739532610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217684224,"filename":"image_31122025_22_02_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d45d888184432e18f71bb0b6efd0975c.jpg","text":"TemporaryFile(/tmp/multipartBody7873824869866246801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217684224,"filename":"image_31122025_22_01_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cf03c2b5954aaf3aeee061fb80a2dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1250720023980753772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217684224,"filename":"image_31122025_22_01_45_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960707","file1":"1401960698","file0":"1401960684","file4":"1401960748","file5":"1401960755","file3":"1401960730"},"map_files_photo_id_array":[{"photo_id":"1401960755","filename":"file5"},{"photo_id":"1401960707","filename":"file2"},{"photo_id":"1401960748","filename":"file4"},{"photo_id":"1401960698","filename":"file1"},{"photo_id":"1401960684","filename":"file0"},{"photo_id":"1401960730","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960755":["hashtag1","hashtag2"]},{"1401960707":["hashtag1","hashtag2"]},{"1401960748":["hashtag1","hashtag2"]},{"1401960730":["hashtag1","hashtag2"]},{"1401960684":["hashtag1","hashtag2"]},{"1401960698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960755, 1401960707, 1401960748, 1401960730, 1401960684, 1401960698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87285399436951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:47:42.969358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_06_2872.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_09_2751.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_13_3613.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_15_2590.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_19_3580.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_21_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_06_2872.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_09_2751.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_13_3613.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_15_2590.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_19_3580.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_21_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960764","1401960763","1401960766","1401960760","1401960762","1401960765"],"photo_ids_order":["1401960760","1401960762","1401960763","1401960764","1401960765","1401960766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b05854697556bcb85e9e4267ed58eb2.jpg","text":"TemporaryFile(/tmp/multipartBody4923402429735284644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217724841,"filename":"image_03112025_20_45_15_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f94d0fdf2f1214999b61b031c530da3a.jpg","text":"TemporaryFile(/tmp/multipartBody5695681395714987851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217724841,"filename":"image_03112025_20_45_13_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c523229220f4b655e87158597bf8d484.jpg","text":"TemporaryFile(/tmp/multipartBody7677572478405172374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217724841,"filename":"image_03112025_20_45_21_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5cf317f1dcba8ab097df2df5bc3ab916.jpg","text":"TemporaryFile(/tmp/multipartBody8139331878486393550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217724841,"filename":"image_03112025_20_45_06_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d5fdbb4fcfe68456459974c8374f800.jpg","text":"TemporaryFile(/tmp/multipartBody253504833314089910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217724841,"filename":"image_03112025_20_45_09_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e6c04952b1f1b50cca3a5273f6ca244b.jpg","text":"TemporaryFile(/tmp/multipartBody4936597869946637866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217724841,"filename":"image_03112025_20_45_19_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960763","file1":"1401960762","file0":"1401960760","file4":"1401960765","file5":"1401960766","file3":"1401960764"},"map_files_photo_id_array":[{"photo_id":"1401960766","filename":"file5"},{"photo_id":"1401960763","filename":"file2"},{"photo_id":"1401960765","filename":"file4"},{"photo_id":"1401960762","filename":"file1"},{"photo_id":"1401960760","filename":"file0"},{"photo_id":"1401960764","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960764":["hashtag1","hashtag2"]},{"1401960763":["hashtag1","hashtag2"]},{"1401960766":["hashtag1","hashtag2"]},{"1401960760":["hashtag1","hashtag2"]},{"1401960762":["hashtag1","hashtag2"]},{"1401960765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960764, 1401960763, 1401960766, 1401960760, 1401960762, 1401960765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.022916316986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:48:22.164197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_35_9806.jpg', '/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_45_10672.jpg', '/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_55_9746.jpg', '/home/pi/Desktop/images/31122025/22/02/image_31122025_22_03_06_10533.jpg', '/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_15_9657.jpg', '/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_25_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_35_9806.jpg
/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_45_10672.jpg
/home/pi/Desktop/images/31122025/22/02/image_31122025_22_02_55_9746.jpg
/home/pi/Desktop/images/31122025/22/02/image_31122025_22_03_06_10533.jpg
/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_15_9657.jpg
/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_25_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960779","1401960770","1401960776","1401960772","1401960774","1401960768"],"photo_ids_order":["1401960768","1401960770","1401960772","1401960774","1401960776","1401960779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/231e9d7ea8c7748f8352ebdc77b39203.jpg","text":"TemporaryFile(/tmp/multipartBody4552861883790287913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217762762,"filename":"image_31122025_22_03_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1e4ebcf7c65f051a38963a82adaf21dd.jpg","text":"TemporaryFile(/tmp/multipartBody926279219740455270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217762762,"filename":"image_31122025_22_02_45_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05b07b89f136bb32b07aa0646c748466.jpg","text":"TemporaryFile(/tmp/multipartBody2110161773507393267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217762762,"filename":"image_31122025_22_03_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ec20b1376228ef63ff3215b0f943aa6.jpg","text":"TemporaryFile(/tmp/multipartBody4056207082959984376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217762762,"filename":"image_31122025_22_02_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2ca0707b1fe1680030b302b33718c09.jpg","text":"TemporaryFile(/tmp/multipartBody2209434609522682847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217762762,"filename":"image_31122025_22_03_06_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/328b70cb0fbe44bc6c9659b51ca24515.jpg","text":"TemporaryFile(/tmp/multipartBody5468529895949791254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217762762,"filename":"image_31122025_22_02_35_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960772","file1":"1401960770","file0":"1401960768","file4":"1401960776","file5":"1401960779","file3":"1401960774"},"map_files_photo_id_array":[{"photo_id":"1401960779","filename":"file5"},{"photo_id":"1401960772","filename":"file2"},{"photo_id":"1401960776","filename":"file4"},{"photo_id":"1401960770","filename":"file1"},{"photo_id":"1401960768","filename":"file0"},{"photo_id":"1401960774","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960779":["hashtag1","hashtag2"]},{"1401960770":["hashtag1","hashtag2"]},{"1401960776":["hashtag1","hashtag2"]},{"1401960772":["hashtag1","hashtag2"]},{"1401960774":["hashtag1","hashtag2"]},{"1401960768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960779, 1401960770, 1401960776, 1401960772, 1401960774, 1401960768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96486735343933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:49:03.250002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_35_9798.jpg', '/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_45_10682.jpg', '/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_55_9680.jpg', '/home/pi/Desktop/images/31122025/22/03/image_31122025_22_04_06_10565.jpg', '/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_15_9701.jpg', '/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_25_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_35_9798.jpg
/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_45_10682.jpg
/home/pi/Desktop/images/31122025/22/03/image_31122025_22_03_55_9680.jpg
/home/pi/Desktop/images/31122025/22/03/image_31122025_22_04_06_10565.jpg
/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_15_9701.jpg
/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_25_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960782","1401960784","1401960787","1401960786","1401960789","1401960783"],"photo_ids_order":["1401960782","1401960783","1401960784","1401960786","1401960787","1401960789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51dc955a93e8c000ca2d9c8fb9c985d5.jpg","text":"TemporaryFile(/tmp/multipartBody5320510385910762171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217804005,"filename":"image_31122025_22_03_35_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/480d80fc4776589f6ee723adfdd4a1f8.jpg","text":"TemporaryFile(/tmp/multipartBody4729809634804148318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217804005,"filename":"image_31122025_22_03_55_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31afee9ebe88ce854b7614704474c846.jpg","text":"TemporaryFile(/tmp/multipartBody4049248275904087705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217804005,"filename":"image_31122025_22_04_15_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/169b9320804e03e0ac1f040aa4371b72.jpg","text":"TemporaryFile(/tmp/multipartBody2997790125230990488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217804005,"filename":"image_31122025_22_04_06_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f4bd77d21fc712cfcb2b07f4789b26f.jpg","text":"TemporaryFile(/tmp/multipartBody2956324208777058467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217804005,"filename":"image_31122025_22_04_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c677178740030604db36f07104cfe2c.jpg","text":"TemporaryFile(/tmp/multipartBody6958908715892323915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217804005,"filename":"image_31122025_22_03_45_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960784","file1":"1401960783","file0":"1401960782","file4":"1401960787","file5":"1401960789","file3":"1401960786"},"map_files_photo_id_array":[{"photo_id":"1401960789","filename":"file5"},{"photo_id":"1401960784","filename":"file2"},{"photo_id":"1401960787","filename":"file4"},{"photo_id":"1401960783","filename":"file1"},{"photo_id":"1401960782","filename":"file0"},{"photo_id":"1401960786","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960782":["hashtag1","hashtag2"]},{"1401960784":["hashtag1","hashtag2"]},{"1401960787":["hashtag1","hashtag2"]},{"1401960786":["hashtag1","hashtag2"]},{"1401960789":["hashtag1","hashtag2"]},{"1401960783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960782, 1401960784, 1401960787, 1401960786, 1401960789, 1401960783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.727360248565674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:49:42.348433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_24_2810.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_27_2651.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_30_3566.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_33_2578.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_36_3153.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_40_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_24_2810.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_27_2651.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_30_3566.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_33_2578.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_36_3153.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_40_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960801","1401960800","1401960799","1401960795","1401960798","1401960797"],"photo_ids_order":["1401960795","1401960797","1401960798","1401960799","1401960800","1401960801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32f5e59873a757bb3d5097f4cffee678.jpg","text":"TemporaryFile(/tmp/multipartBody66482820797886957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217844255,"filename":"image_03112025_20_45_40_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7aa5e8dfcd1e94bc6fe4469ac680e65b.jpg","text":"TemporaryFile(/tmp/multipartBody7271903305024014779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217844255,"filename":"image_03112025_20_45_36_3153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4ae113aa5da588459a7592bdd3b0d08.jpg","text":"TemporaryFile(/tmp/multipartBody6346703562557383046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217844255,"filename":"image_03112025_20_45_33_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/482a7302c71396789914f5c1fe246c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6097626367920942480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217844255,"filename":"image_03112025_20_45_24_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/acd6863d717ad7ebea9c2e8fa7a0c09e.jpg","text":"TemporaryFile(/tmp/multipartBody6953898170461539572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217844255,"filename":"image_03112025_20_45_30_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6dacc60b0f3b9db0d21c83edc417b675.jpg","text":"TemporaryFile(/tmp/multipartBody6105801177465719154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217844255,"filename":"image_03112025_20_45_27_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960798","file1":"1401960797","file0":"1401960795","file4":"1401960800","file5":"1401960801","file3":"1401960799"},"map_files_photo_id_array":[{"photo_id":"1401960801","filename":"file5"},{"photo_id":"1401960798","filename":"file2"},{"photo_id":"1401960800","filename":"file4"},{"photo_id":"1401960797","filename":"file1"},{"photo_id":"1401960795","filename":"file0"},{"photo_id":"1401960799","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960801":["hashtag1","hashtag2"]},{"1401960800":["hashtag1","hashtag2"]},{"1401960799":["hashtag1","hashtag2"]},{"1401960795":["hashtag1","hashtag2"]},{"1401960798":["hashtag1","hashtag2"]},{"1401960797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960801, 1401960800, 1401960799, 1401960795, 1401960798, 1401960797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55677604675293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:50:22.514794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_36_10573.jpg', '/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_45_9743.jpg', '/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_55_9694.jpg', '/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_14_10057.jpg', '/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_25_10779.jpg', '/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_35_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_36_10573.jpg
/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_45_9743.jpg
/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_55_9694.jpg
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_14_10057.jpg
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_25_10779.jpg
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_35_9680.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5299725532531738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:50:32.616677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_42_2600.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_45_2747.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_49_3652.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_52_2800.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_54_2820.jpg', '/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_57_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_42_2600.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_45_2747.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_49_3652.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_52_2800.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_54_2820.jpg
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_45_57_2552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960821","1401960815","1401960820","1401960808","1401960811","1401960822"],"photo_ids_order":["1401960808","1401960811","1401960815","1401960820","1401960821","1401960822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd1cbd41a2c24ee53bbcb2e4d0307f17.jpg","text":"TemporaryFile(/tmp/multipartBody278565917149163081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217894537,"filename":"image_03112025_20_45_54_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7ebbbaf6963ba6917003e48dc86fbe6.jpg","text":"TemporaryFile(/tmp/multipartBody5460505268516675290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217894537,"filename":"image_03112025_20_45_49_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06a66e4b4de0a411c429b94fb7e1b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody2183556956897045958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217894537,"filename":"image_03112025_20_45_52_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2ac312f5b8ef5f494861260d1c860154.jpg","text":"TemporaryFile(/tmp/multipartBody2457755456714277611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217894537,"filename":"image_03112025_20_45_42_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb02b7cba0aad8db2d8806d4ec6b3782.jpg","text":"TemporaryFile(/tmp/multipartBody4466139763850285195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217894537,"filename":"image_03112025_20_45_45_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68f3db7695200801ba80e2b8e808fc0e.jpg","text":"TemporaryFile(/tmp/multipartBody9089185733340628171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217894537,"filename":"image_03112025_20_45_57_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960815","file1":"1401960811","file0":"1401960808","file4":"1401960821","file5":"1401960822","file3":"1401960820"},"map_files_photo_id_array":[{"photo_id":"1401960822","filename":"file5"},{"photo_id":"1401960815","filename":"file2"},{"photo_id":"1401960821","filename":"file4"},{"photo_id":"1401960811","filename":"file1"},{"photo_id":"1401960808","filename":"file0"},{"photo_id":"1401960820","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960821":["hashtag1","hashtag2"]},{"1401960815":["hashtag1","hashtag2"]},{"1401960820":["hashtag1","hashtag2"]},{"1401960808":["hashtag1","hashtag2"]},{"1401960811":["hashtag1","hashtag2"]},{"1401960822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960821, 1401960815, 1401960820, 1401960808, 1401960811, 1401960822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11340570449829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:51:12.764549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/45/image_03112025_20_46_01_3609.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_03_2525.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_06_2675.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_09_3655.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_12_2900.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_15_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/45/image_03112025_20_46_01_3609.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_03_2525.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_06_2675.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_09_3655.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_12_2900.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_15_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960830","1401960824","1401960832","1401960826","1401960823","1401960828"],"photo_ids_order":["1401960823","1401960824","1401960826","1401960828","1401960830","1401960832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bb17e5c2dcd98b8c67dc3b7a79ea2152.jpg","text":"TemporaryFile(/tmp/multipartBody2883892367767728091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217934559,"filename":"image_03112025_20_46_12_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fbb00bb2a12c471c5791a4d14e7dc60.jpg","text":"TemporaryFile(/tmp/multipartBody2433306883675708787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217934559,"filename":"image_03112025_20_46_03_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d7098785aa3f6177a3232af83a18da3.jpg","text":"TemporaryFile(/tmp/multipartBody4010500227291824280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217934559,"filename":"image_03112025_20_46_15_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5941b1dcc5c66cfdae6f33a62d254389.jpg","text":"TemporaryFile(/tmp/multipartBody327539319214694161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217934559,"filename":"image_03112025_20_46_06_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd243d9bbf2251817618e58d796e6829.jpg","text":"TemporaryFile(/tmp/multipartBody7470236698653132534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217934559,"filename":"image_03112025_20_46_01_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b63e6d3b9248a72d33d5da7503106cd0.jpg","text":"TemporaryFile(/tmp/multipartBody463970932145073726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217934559,"filename":"image_03112025_20_46_09_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960826","file1":"1401960824","file0":"1401960823","file4":"1401960830","file5":"1401960832","file3":"1401960828"},"map_files_photo_id_array":[{"photo_id":"1401960832","filename":"file5"},{"photo_id":"1401960826","filename":"file2"},{"photo_id":"1401960830","filename":"file4"},{"photo_id":"1401960824","filename":"file1"},{"photo_id":"1401960823","filename":"file0"},{"photo_id":"1401960828","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960830":["hashtag1","hashtag2"]},{"1401960824":["hashtag1","hashtag2"]},{"1401960832":["hashtag1","hashtag2"]},{"1401960826":["hashtag1","hashtag2"]},{"1401960823":["hashtag1","hashtag2"]},{"1401960828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960830, 1401960824, 1401960832, 1401960826, 1401960823, 1401960828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.921278953552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:52:02.332336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_36_10573.jpg', '/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_45_9743.jpg', '/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_55_9694.jpg', '/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_14_10057.jpg', '/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_25_10779.jpg', '/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_35_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_36_10573.jpg
/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_45_9743.jpg
/home/pi/Desktop/images/31122025/22/04/image_31122025_22_04_55_9694.jpg
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_14_10057.jpg
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_25_10779.jpg
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_35_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960842","1401960839","1401960838","1401960835","1401960840","1401960837"],"photo_ids_order":["1401960835","1401960837","1401960838","1401960839","1401960840","1401960842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6878d8d7773aeb6134cc2c62a287bd59.jpg","text":"TemporaryFile(/tmp/multipartBody7480037049704588738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217982962,"filename":"image_31122025_22_05_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cba39e1fe76d8731f8d26748b174be9c.jpg","text":"TemporaryFile(/tmp/multipartBody3338306247199890155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217982962,"filename":"image_31122025_22_05_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f47af661245e16e32405938666cd7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3272335475948676462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217982962,"filename":"image_31122025_22_04_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd84aecea2a33ce81181b87fdcb229c6.jpg","text":"TemporaryFile(/tmp/multipartBody4455446851247735364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217982962,"filename":"image_31122025_22_04_36_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd1f177405a775f5a6ba28044faa5612.jpg","text":"TemporaryFile(/tmp/multipartBody2503470056896762938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217982962,"filename":"image_31122025_22_05_25_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c49f2752292950547e5a08f65c0de5d9.jpg","text":"TemporaryFile(/tmp/multipartBody1555714741455993409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767217982962,"filename":"image_31122025_22_04_45_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960838","file1":"1401960837","file0":"1401960835","file4":"1401960840","file5":"1401960842","file3":"1401960839"},"map_files_photo_id_array":[{"photo_id":"1401960842","filename":"file5"},{"photo_id":"1401960838","filename":"file2"},{"photo_id":"1401960840","filename":"file4"},{"photo_id":"1401960837","filename":"file1"},{"photo_id":"1401960835","filename":"file0"},{"photo_id":"1401960839","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960842":["hashtag1","hashtag2"]},{"1401960839":["hashtag1","hashtag2"]},{"1401960838":["hashtag1","hashtag2"]},{"1401960835":["hashtag1","hashtag2"]},{"1401960840":["hashtag1","hashtag2"]},{"1401960837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960842, 1401960839, 1401960838, 1401960835, 1401960840, 1401960837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09375500679016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:52:41.947582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_18_2718.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_21_3590.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_24_2529.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_28_3636.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_30_2577.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_34_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_18_2718.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_21_3590.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_24_2529.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_28_3636.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_30_2577.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_34_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960851","1401960848","1401960850","1401960853","1401960855","1401960852"],"photo_ids_order":["1401960848","1401960850","1401960851","1401960852","1401960853","1401960855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/162f9d8e8b6b3e6621c6444de6cc55e1.jpg","text":"TemporaryFile(/tmp/multipartBody836210488079289207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218023843,"filename":"image_03112025_20_46_24_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eaeb42e429114f2a29b70f854023f967.jpg","text":"TemporaryFile(/tmp/multipartBody3824617518209958704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218023843,"filename":"image_03112025_20_46_18_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b2b3236f66f54d8713525f2e69cdc046.jpg","text":"TemporaryFile(/tmp/multipartBody6069909972564795496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218023843,"filename":"image_03112025_20_46_21_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79c57c1ed87238ee1b0b09643fc8e914.jpg","text":"TemporaryFile(/tmp/multipartBody3527722256804772984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218023843,"filename":"image_03112025_20_46_30_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3216e5429f699920ec14866238f15ee0.jpg","text":"TemporaryFile(/tmp/multipartBody14037427237973377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218023843,"filename":"image_03112025_20_46_34_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/53ec07e22133547892eb447dbee08c61.jpg","text":"TemporaryFile(/tmp/multipartBody5710904135446906516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218023843,"filename":"image_03112025_20_46_28_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960851","file1":"1401960850","file0":"1401960848","file4":"1401960853","file5":"1401960855","file3":"1401960852"},"map_files_photo_id_array":[{"photo_id":"1401960855","filename":"file5"},{"photo_id":"1401960851","filename":"file2"},{"photo_id":"1401960853","filename":"file4"},{"photo_id":"1401960850","filename":"file1"},{"photo_id":"1401960848","filename":"file0"},{"photo_id":"1401960852","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960851":["hashtag1","hashtag2"]},{"1401960848":["hashtag1","hashtag2"]},{"1401960850":["hashtag1","hashtag2"]},{"1401960853":["hashtag1","hashtag2"]},{"1401960855":["hashtag1","hashtag2"]},{"1401960852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960851, 1401960848, 1401960850, 1401960853, 1401960855, 1401960852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.867456674575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:53:22.120058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_44_9721.jpg', '/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_54_9768.jpg', '/home/pi/Desktop/images/31122025/22/05/image_31122025_22_06_05_10761.jpg', '/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_15_9685.jpg', '/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_24_9711.jpg', '/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_35_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_44_9721.jpg
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_05_54_9768.jpg
/home/pi/Desktop/images/31122025/22/05/image_31122025_22_06_05_10761.jpg
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_15_9685.jpg
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_24_9711.jpg
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_35_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960872","1401960863","1401960857","1401960865","1401960859","1401960861"],"photo_ids_order":["1401960857","1401960859","1401960861","1401960863","1401960865","1401960872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dd00649f0c4e9ceb3f39e7ed7cdab671.jpg","text":"TemporaryFile(/tmp/multipartBody5855013489125942804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218062713,"filename":"image_31122025_22_06_35_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e54c182b54acbcc6bc1d10ee623614b.jpg","text":"TemporaryFile(/tmp/multipartBody5959341382943045036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218062713,"filename":"image_31122025_22_06_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dc9c0b92317ebda667dd4d8f3a81ccc6.jpg","text":"TemporaryFile(/tmp/multipartBody7710116774231519315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218062713,"filename":"image_31122025_22_05_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/386a80ba38ea3c3aefb162ce3766ef0b.jpg","text":"TemporaryFile(/tmp/multipartBody464992286087953588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218062713,"filename":"image_31122025_22_06_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/74de969cde0c9bccfd8fa75efb143e0e.jpg","text":"TemporaryFile(/tmp/multipartBody7241147754931176876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218062713,"filename":"image_31122025_22_05_54_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/356110070b94c030090c4cc0f2274cb9.jpg","text":"TemporaryFile(/tmp/multipartBody5800453950961137947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218062713,"filename":"image_31122025_22_06_05_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960861","file1":"1401960859","file0":"1401960857","file4":"1401960865","file5":"1401960872","file3":"1401960863"},"map_files_photo_id_array":[{"photo_id":"1401960872","filename":"file5"},{"photo_id":"1401960861","filename":"file2"},{"photo_id":"1401960865","filename":"file4"},{"photo_id":"1401960859","filename":"file1"},{"photo_id":"1401960857","filename":"file0"},{"photo_id":"1401960863","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960872":["hashtag1","hashtag2"]},{"1401960863":["hashtag1","hashtag2"]},{"1401960857":["hashtag1","hashtag2"]},{"1401960865":["hashtag1","hashtag2"]},{"1401960859":["hashtag1","hashtag2"]},{"1401960861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960872, 1401960863, 1401960857, 1401960865, 1401960859, 1401960861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.199949979782104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:54:02.700071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_45_9638.jpg', '/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_54_9800.jpg', '/home/pi/Desktop/images/31122025/22/06/image_31122025_22_07_05_10720.jpg', '/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_15_9692.jpg', '/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_24_9584.jpg', '/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_35_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_45_9638.jpg
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_54_9800.jpg
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_07_05_10720.jpg
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_15_9692.jpg
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_24_9584.jpg
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_35_10776.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5523421764373779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:54:12.399113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_36_2690.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_39_2776.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_42_2571.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_45_3698.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_48_2805.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_51_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_36_2690.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_39_2776.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_42_2571.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_45_3698.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_48_2805.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_51_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960878","1401960887","1401960881","1401960883","1401960885","1401960876"],"photo_ids_order":["1401960876","1401960878","1401960881","1401960883","1401960885","1401960887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/72a9236e7fbda7f0eab2337d66b31547.jpg","text":"TemporaryFile(/tmp/multipartBody8224928500573129792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218114162,"filename":"image_03112025_20_46_39_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fcd9af40536a5fbc517a249d2c94dda5.jpg","text":"TemporaryFile(/tmp/multipartBody883837161574339242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218114162,"filename":"image_03112025_20_46_51_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3fb2f8f6acabb2acd79f3296cf6a2ec.jpg","text":"TemporaryFile(/tmp/multipartBody1175719804863195517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218114162,"filename":"image_03112025_20_46_42_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52e71efe0d3a59536e522bc3737912b5.jpg","text":"TemporaryFile(/tmp/multipartBody6701841686829585573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218114162,"filename":"image_03112025_20_46_45_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a0a10dbc7ac2c2684b58acbb66b1ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2928566427031625039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218114162,"filename":"image_03112025_20_46_48_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a626e2646f41c109de78266cff9f1e15.jpg","text":"TemporaryFile(/tmp/multipartBody6034404632238744633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218114162,"filename":"image_03112025_20_46_36_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960881","file1":"1401960878","file0":"1401960876","file4":"1401960885","file5":"1401960887","file3":"1401960883"},"map_files_photo_id_array":[{"photo_id":"1401960887","filename":"file5"},{"photo_id":"1401960881","filename":"file2"},{"photo_id":"1401960885","filename":"file4"},{"photo_id":"1401960878","filename":"file1"},{"photo_id":"1401960876","filename":"file0"},{"photo_id":"1401960883","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960878":["hashtag1","hashtag2"]},{"1401960887":["hashtag1","hashtag2"]},{"1401960881":["hashtag1","hashtag2"]},{"1401960883":["hashtag1","hashtag2"]},{"1401960885":["hashtag1","hashtag2"]},{"1401960876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960878, 1401960887, 1401960881, 1401960883, 1401960885, 1401960876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37861084938049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:55:03.218409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_45_9638.jpg', '/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_54_9800.jpg', '/home/pi/Desktop/images/31122025/22/06/image_31122025_22_07_05_10720.jpg', '/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_15_9692.jpg', '/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_24_9584.jpg', '/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_35_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_45_9638.jpg
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_06_54_9800.jpg
/home/pi/Desktop/images/31122025/22/06/image_31122025_22_07_05_10720.jpg
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_15_9692.jpg
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_24_9584.jpg
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_35_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960899","1401960893","1401960892","1401960895","1401960894","1401960897"],"photo_ids_order":["1401960892","1401960893","1401960894","1401960895","1401960897","1401960899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73f352e9968c27bf7d237072a27b8a09.jpg","text":"TemporaryFile(/tmp/multipartBody858776893483300804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218163861,"filename":"image_31122025_22_07_35_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/42ceb137d0dbf508508cb34b3d340cb0.jpg","text":"TemporaryFile(/tmp/multipartBody5621421039888737060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218163861,"filename":"image_31122025_22_06_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7afa20e4fbd6eae9fa0823054565b476.jpg","text":"TemporaryFile(/tmp/multipartBody1867403678847514275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218163861,"filename":"image_31122025_22_06_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5f77c92de89322b6eaad88c95f171f61.jpg","text":"TemporaryFile(/tmp/multipartBody5955598182628747110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218163861,"filename":"image_31122025_22_07_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/952e9b7746a113409d56462a8922996b.jpg","text":"TemporaryFile(/tmp/multipartBody4813438148286937848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218163861,"filename":"image_31122025_22_07_05_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/711ec3c99e5c1cd26bb7520b2438e953.jpg","text":"TemporaryFile(/tmp/multipartBody2710380867196896456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218163861,"filename":"image_31122025_22_07_24_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960894","file1":"1401960893","file0":"1401960892","file4":"1401960897","file5":"1401960899","file3":"1401960895"},"map_files_photo_id_array":[{"photo_id":"1401960899","filename":"file5"},{"photo_id":"1401960894","filename":"file2"},{"photo_id":"1401960897","filename":"file4"},{"photo_id":"1401960893","filename":"file1"},{"photo_id":"1401960892","filename":"file0"},{"photo_id":"1401960895","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960899":["hashtag1","hashtag2"]},{"1401960893":["hashtag1","hashtag2"]},{"1401960892":["hashtag1","hashtag2"]},{"1401960895":["hashtag1","hashtag2"]},{"1401960894":["hashtag1","hashtag2"]},{"1401960897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960899, 1401960893, 1401960892, 1401960895, 1401960894, 1401960897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40956211090088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:55:42.481266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_54_3667.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_57_2566.jpg', '/home/pi/Desktop/images/03112025/20/46/image_03112025_20_47_00_2759.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_04_3732.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_06_2662.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_09_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_54_3667.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_46_57_2566.jpg
/home/pi/Desktop/images/03112025/20/46/image_03112025_20_47_00_2759.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_04_3732.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_06_2662.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_09_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960909","1401960905","1401960908","1401960907","1401960904","1401960906"],"photo_ids_order":["1401960904","1401960905","1401960906","1401960907","1401960908","1401960909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c80b096c83e891a5e5f50dd7663e6cad.jpg","text":"TemporaryFile(/tmp/multipartBody3176835544850100541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218204242,"filename":"image_03112025_20_47_09_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/890d9a2c5a3b4ed8438c4f9fd6b42961.jpg","text":"TemporaryFile(/tmp/multipartBody7830775428095134337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218204242,"filename":"image_03112025_20_46_57_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/86b984bdc661c00a801b29f67fea3131.jpg","text":"TemporaryFile(/tmp/multipartBody5230559022119741454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218204242,"filename":"image_03112025_20_47_06_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07413a00f5eded82f5a2e5a0633c682b.jpg","text":"TemporaryFile(/tmp/multipartBody1939350580336473199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218204242,"filename":"image_03112025_20_47_04_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9368d04b1dfb80a0f01c60c2cfdfff1.jpg","text":"TemporaryFile(/tmp/multipartBody1112298657016733400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218204242,"filename":"image_03112025_20_46_54_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73538fd3aeb3a17115ee628ab6f29bc9.jpg","text":"TemporaryFile(/tmp/multipartBody8456569166532182535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218204242,"filename":"image_03112025_20_47_00_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960906","file1":"1401960905","file0":"1401960904","file4":"1401960908","file5":"1401960909","file3":"1401960907"},"map_files_photo_id_array":[{"photo_id":"1401960909","filename":"file5"},{"photo_id":"1401960906","filename":"file2"},{"photo_id":"1401960908","filename":"file4"},{"photo_id":"1401960905","filename":"file1"},{"photo_id":"1401960904","filename":"file0"},{"photo_id":"1401960907","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960909":["hashtag1","hashtag2"]},{"1401960905":["hashtag1","hashtag2"]},{"1401960908":["hashtag1","hashtag2"]},{"1401960907":["hashtag1","hashtag2"]},{"1401960904":["hashtag1","hashtag2"]},{"1401960906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960909, 1401960905, 1401960908, 1401960907, 1401960904, 1401960906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84450936317444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 22:56:22.740269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_45_9794.jpg', '/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_55_10048.jpg', '/home/pi/Desktop/images/31122025/22/07/image_31122025_22_08_05_9570.jpg', '/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_14_9745.jpg', '/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_25_10803.jpg', '/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_35_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_45_9794.jpg
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_07_55_10048.jpg
/home/pi/Desktop/images/31122025/22/07/image_31122025_22_08_05_9570.jpg
/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_14_9745.jpg
/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_25_10803.jpg
/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_35_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960915","1401960923","1401960917","1401960911","1401960919","1401960913"],"photo_ids_order":["1401960911","1401960913","1401960915","1401960917","1401960919","1401960923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dae1b1aec103205fbd66ed3c843a5d55.jpg","text":"TemporaryFile(/tmp/multipartBody437077855835044534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218243330,"filename":"image_31122025_22_08_05_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0df6ee1db6bbe5280cfcd149ae143f9c.jpg","text":"TemporaryFile(/tmp/multipartBody556241590346859951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218243330,"filename":"image_31122025_22_08_35_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/eeae6e38ba7d2bdcf74591e57698d5cb.jpg","text":"TemporaryFile(/tmp/multipartBody6241603158228819633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218243330,"filename":"image_31122025_22_08_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38c33142945d15c7f88c949c1e4a8056.jpg","text":"TemporaryFile(/tmp/multipartBody3473534267653102988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218243330,"filename":"image_31122025_22_07_45_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b78e84d2068eecc41e7a6acbe9b497c.jpg","text":"TemporaryFile(/tmp/multipartBody1164123599010213124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218243330,"filename":"image_31122025_22_08_25_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b8af5caf3b151e597d61c4c9fc071bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3684760183640449433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218243330,"filename":"image_31122025_22_07_55_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960915","file1":"1401960913","file0":"1401960911","file4":"1401960919","file5":"1401960923","file3":"1401960917"},"map_files_photo_id_array":[{"photo_id":"1401960923","filename":"file5"},{"photo_id":"1401960915","filename":"file2"},{"photo_id":"1401960919","filename":"file4"},{"photo_id":"1401960913","filename":"file1"},{"photo_id":"1401960911","filename":"file0"},{"photo_id":"1401960917","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960915":["hashtag1","hashtag2"]},{"1401960923":["hashtag1","hashtag2"]},{"1401960917":["hashtag1","hashtag2"]},{"1401960911":["hashtag1","hashtag2"]},{"1401960919":["hashtag1","hashtag2"]},{"1401960913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960915, 1401960923, 1401960917, 1401960911, 1401960919, 1401960913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5185546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:57:02.798482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_44_9589.jpg', '/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_55_10730.jpg', '/home/pi/Desktop/images/31122025/22/08/image_31122025_22_09_05_9763.jpg', '/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_15_9640.jpg', '/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_24_9705.jpg', '/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_35_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_44_9589.jpg
/home/pi/Desktop/images/31122025/22/08/image_31122025_22_08_55_10730.jpg
/home/pi/Desktop/images/31122025/22/08/image_31122025_22_09_05_9763.jpg
/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_15_9640.jpg
/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_24_9705.jpg
/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_35_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960932","1401960929","1401960925","1401960928","1401960930","1401960927"],"photo_ids_order":["1401960925","1401960927","1401960928","1401960929","1401960930","1401960932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea0d14019caa87f0bbbcea4ff56807e7.jpg","text":"TemporaryFile(/tmp/multipartBody2956539113562576247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218283571,"filename":"image_31122025_22_09_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ed39b075f5f92cd27755b76fa48c8a29.jpg","text":"TemporaryFile(/tmp/multipartBody3277312305530040233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218283571,"filename":"image_31122025_22_09_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/02ad92aace1df91ca83e2e4af1172d84.jpg","text":"TemporaryFile(/tmp/multipartBody1860000986368897596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218283571,"filename":"image_31122025_22_08_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b3234333ded89bd145155608d9e031f.jpg","text":"TemporaryFile(/tmp/multipartBody5466248395794223517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218283571,"filename":"image_31122025_22_09_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae3250ea3ceab03bcbed6a96cdd342d8.jpg","text":"TemporaryFile(/tmp/multipartBody2731825461028360934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218283571,"filename":"image_31122025_22_09_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9d866b0cb0179267c4083f6c07a1afa.jpg","text":"TemporaryFile(/tmp/multipartBody1965342322704945981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218283571,"filename":"image_31122025_22_08_55_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960928","file1":"1401960927","file0":"1401960925","file4":"1401960930","file5":"1401960932","file3":"1401960929"},"map_files_photo_id_array":[{"photo_id":"1401960932","filename":"file5"},{"photo_id":"1401960928","filename":"file2"},{"photo_id":"1401960930","filename":"file4"},{"photo_id":"1401960927","filename":"file1"},{"photo_id":"1401960925","filename":"file0"},{"photo_id":"1401960929","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960932":["hashtag1","hashtag2"]},{"1401960929":["hashtag1","hashtag2"]},{"1401960925":["hashtag1","hashtag2"]},{"1401960928":["hashtag1","hashtag2"]},{"1401960930":["hashtag1","hashtag2"]},{"1401960927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960932, 1401960929, 1401960925, 1401960928, 1401960930, 1401960927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57614541053772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:57:41.929869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_12_3528.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_15_2821.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_18_2549.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_21_3647.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_24_2756.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_27_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_12_3528.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_15_2821.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_18_2549.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_21_3647.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_24_2756.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_27_2743.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960941","1401960943","1401960937","1401960940","1401960942","1401960939"],"photo_ids_order":["1401960937","1401960939","1401960940","1401960941","1401960942","1401960943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/845a6e90b85847fa1750891ef1e3e74d.jpg","text":"TemporaryFile(/tmp/multipartBody8046134316983199909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218323827,"filename":"image_03112025_20_47_21_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a2a3ea1feb349ad91b3d7629273eef92.jpg","text":"TemporaryFile(/tmp/multipartBody915229803988266526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218323827,"filename":"image_03112025_20_47_27_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9d241b255c82f59860803820f4ac0a5.jpg","text":"TemporaryFile(/tmp/multipartBody3941307229973450149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218323827,"filename":"image_03112025_20_47_12_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab6f13ff9466cf96073c875fa2b2a068.jpg","text":"TemporaryFile(/tmp/multipartBody1024662377319885978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218323827,"filename":"image_03112025_20_47_18_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ba1bce874eac01d8d837013ccc1b0cc.jpg","text":"TemporaryFile(/tmp/multipartBody4734723415483281306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218323827,"filename":"image_03112025_20_47_24_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ae552b1a4e76bd387a3ad458c595c70.jpg","text":"TemporaryFile(/tmp/multipartBody1696946823302315211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218323827,"filename":"image_03112025_20_47_15_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960940","file1":"1401960939","file0":"1401960937","file4":"1401960942","file5":"1401960943","file3":"1401960941"},"map_files_photo_id_array":[{"photo_id":"1401960943","filename":"file5"},{"photo_id":"1401960940","filename":"file2"},{"photo_id":"1401960942","filename":"file4"},{"photo_id":"1401960939","filename":"file1"},{"photo_id":"1401960937","filename":"file0"},{"photo_id":"1401960941","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960941":["hashtag1","hashtag2"]},{"1401960943":["hashtag1","hashtag2"]},{"1401960937":["hashtag1","hashtag2"]},{"1401960940":["hashtag1","hashtag2"]},{"1401960942":["hashtag1","hashtag2"]},{"1401960939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960941, 1401960943, 1401960937, 1401960940, 1401960942, 1401960939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.557122468948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 22:59:03.218980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_45_9641.jpg', '/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_54_9685.jpg', '/home/pi/Desktop/images/31122025/22/11/image_31122025_22_11_25_10865.jpg', '/home/pi/Desktop/images/31122025/22/11/image_31122025_22_11_34_9721.jpg', '/home/pi/Desktop/images/31122025/22/11/image_31122025_22_11_44_9642.jpg', '/home/pi/Desktop/images/31122025/22/11/image_31122025_22_11_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_45_9641.jpg
/home/pi/Desktop/images/31122025/22/09/image_31122025_22_09_54_9685.jpg
/home/pi/Desktop/images/31122025/22/11/image_31122025_22_11_25_10865.jpg
/home/pi/Desktop/images/31122025/22/11/image_31122025_22_11_34_9721.jpg
/home/pi/Desktop/images/31122025/22/11/image_31122025_22_11_44_9642.jpg
/home/pi/Desktop/images/31122025/22/11/image_31122025_22_11_55_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960959","1401960947","1401960955","1401960957","1401960951","1401960945"],"photo_ids_order":["1401960945","1401960947","1401960951","1401960955","1401960957","1401960959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cf05ec8e12198b87cf99adf95add2fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8393679429946113327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218403971,"filename":"image_31122025_22_11_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/458ea2bf762a73351ca16d5d4eb353ef.jpg","text":"TemporaryFile(/tmp/multipartBody3676272649995686903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218403971,"filename":"image_31122025_22_09_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31a0d4d06a209fc6be0558dbea6330cb.jpg","text":"TemporaryFile(/tmp/multipartBody8629441719851525349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218403971,"filename":"image_31122025_22_11_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3e8496b25f27707a81973260016c7bbd.jpg","text":"TemporaryFile(/tmp/multipartBody8747679684890152382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218403971,"filename":"image_31122025_22_11_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/51e7aaab88cfff999489107b037d7a49.jpg","text":"TemporaryFile(/tmp/multipartBody2191357475309866455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218403971,"filename":"image_31122025_22_11_25_10865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8d65dcd69c8e7fcc6747acded63f8342.jpg","text":"TemporaryFile(/tmp/multipartBody2359782118843646628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218403971,"filename":"image_31122025_22_09_45_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960951","file1":"1401960947","file0":"1401960945","file4":"1401960957","file5":"1401960959","file3":"1401960955"},"map_files_photo_id_array":[{"photo_id":"1401960959","filename":"file5"},{"photo_id":"1401960951","filename":"file2"},{"photo_id":"1401960957","filename":"file4"},{"photo_id":"1401960947","filename":"file1"},{"photo_id":"1401960945","filename":"file0"},{"photo_id":"1401960955","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401960959":["hashtag1","hashtag2"]},{"1401960947":["hashtag1","hashtag2"]},{"1401960955":["hashtag1","hashtag2"]},{"1401960957":["hashtag1","hashtag2"]},{"1401960951":["hashtag1","hashtag2"]},{"1401960945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401960959, 1401960947, 1401960955, 1401960957, 1401960951, 1401960945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.686065435409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 22:59:42.369303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_31_3703.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_33_2578.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_36_2682.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_42_2551.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_45_2715.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_48_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_31_3703.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_33_2578.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_36_2682.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_42_2551.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_45_2715.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_48_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401960977","1401960971","1401960973","1401960967","1401960975","1401960969"],"photo_ids_order":["1401960967","1401960969","1401960971","1401960973","1401960975","1401960977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61d6ea0f5260298e76f04f04deb05634.jpg","text":"TemporaryFile(/tmp/multipartBody3528708482754422095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218444257,"filename":"image_03112025_20_47_48_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e4adb5ee2da729a602c6129c97a1e885.jpg","text":"TemporaryFile(/tmp/multipartBody5717873196189181357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218444257,"filename":"image_03112025_20_47_36_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/487ab432bd2f2693a0a21fb654cfbe70.jpg","text":"TemporaryFile(/tmp/multipartBody3780961582083401198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218444257,"filename":"image_03112025_20_47_42_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f3dce63be89476dd871086bcb4348dc9.jpg","text":"TemporaryFile(/tmp/multipartBody6149236330854020295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218444257,"filename":"image_03112025_20_47_31_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1c3b641ea768d8cfd5eb887866d0154.jpg","text":"TemporaryFile(/tmp/multipartBody4339592688398129928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218444257,"filename":"image_03112025_20_47_45_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4048e1be90266fc0a6deb394424e16cb.jpg","text":"TemporaryFile(/tmp/multipartBody11279744558298405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218444257,"filename":"image_03112025_20_47_33_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401960971","file1":"1401960969","file0":"1401960967","file4":"1401960975","file5":"1401960977","file3":"1401960973"},"map_files_photo_id_array":[{"photo_id":"1401960977","filename":"file5"},{"photo_id":"1401960971","filename":"file2"},{"photo_id":"1401960975","filename":"file4"},{"photo_id":"1401960969","filename":"file1"},{"photo_id":"1401960967","filename":"file0"},{"photo_id":"1401960973","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401960977":["hashtag1","hashtag2"]},{"1401960971":["hashtag1","hashtag2"]},{"1401960973":["hashtag1","hashtag2"]},{"1401960967":["hashtag1","hashtag2"]},{"1401960975":["hashtag1","hashtag2"]},{"1401960969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401960977, 1401960971, 1401960973, 1401960967, 1401960975, 1401960969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71459770202637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:00:22.516922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/11/image_31122025_22_12_05_9886.jpg', '/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_14_9687.jpg', '/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_24_9622.jpg', '/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_35_10747.jpg', '/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_44_9754.jpg', '/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_54_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/11/image_31122025_22_12_05_9886.jpg
/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_14_9687.jpg
/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_24_9622.jpg
/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_35_10747.jpg
/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_44_9754.jpg
/home/pi/Desktop/images/31122025/22/12/image_31122025_22_12_54_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401961073","1401961154","1401961115","1401961192","1401961320","1401961239"],"photo_ids_order":["1401961073","1401961115","1401961154","1401961192","1401961239","1401961320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6551334573decedc50177f19901835d0.jpg","text":"TemporaryFile(/tmp/multipartBody485120743911655793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218483107,"filename":"image_31122025_22_12_05_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66c38793905aa933e1665a6008ce5fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3686176205218177171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218483107,"filename":"image_31122025_22_12_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9e1806806c2e96e7c13e50fdf0096be1.jpg","text":"TemporaryFile(/tmp/multipartBody1368464206750866272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218483107,"filename":"image_31122025_22_12_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9f03ff5f6e9f86eb2cadcd5cf027d627.jpg","text":"TemporaryFile(/tmp/multipartBody4995097584658703333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218483107,"filename":"image_31122025_22_12_35_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18a387f24851e9f6b70882fab80a36f1.jpg","text":"TemporaryFile(/tmp/multipartBody6806566328213808627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218483107,"filename":"image_31122025_22_12_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c91ac87341452253e176f8d30696e1f4.jpg","text":"TemporaryFile(/tmp/multipartBody6396491134942372104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218483107,"filename":"image_31122025_22_12_44_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401961154","file1":"1401961115","file0":"1401961073","file4":"1401961239","file5":"1401961320","file3":"1401961192"},"map_files_photo_id_array":[{"photo_id":"1401961320","filename":"file5"},{"photo_id":"1401961154","filename":"file2"},{"photo_id":"1401961239","filename":"file4"},{"photo_id":"1401961115","filename":"file1"},{"photo_id":"1401961073","filename":"file0"},{"photo_id":"1401961192","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401961073":["hashtag1","hashtag2"]},{"1401961154":["hashtag1","hashtag2"]},{"1401961115":["hashtag1","hashtag2"]},{"1401961192":["hashtag1","hashtag2"]},{"1401961320":["hashtag1","hashtag2"]},{"1401961239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401961073, 1401961154, 1401961115, 1401961192, 1401961320, 1401961239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46912097930908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:01:03.421680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/12/image_31122025_22_13_04_9779.jpg', '/home/pi/Desktop/images/31122025/22/13/image_31122025_22_13_15_10695.jpg', '/home/pi/Desktop/images/31122025/22/13/image_31122025_22_13_24_9784.jpg', '/home/pi/Desktop/images/31122025/22/13/image_31122025_22_13_45_10804.jpg', '/home/pi/Desktop/images/31122025/22/13/image_31122025_22_13_54_9754.jpg', '/home/pi/Desktop/images/31122025/22/13/image_31122025_22_14_04_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/12/image_31122025_22_13_04_9779.jpg
/home/pi/Desktop/images/31122025/22/13/image_31122025_22_13_15_10695.jpg
/home/pi/Desktop/images/31122025/22/13/image_31122025_22_13_24_9784.jpg
/home/pi/Desktop/images/31122025/22/13/image_31122025_22_13_45_10804.jpg
/home/pi/Desktop/images/31122025/22/13/image_31122025_22_13_54_9754.jpg
/home/pi/Desktop/images/31122025/22/13/image_31122025_22_14_04_9538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401962015","1401961610","1401961936","1401961758","1401961839","1401961685"],"photo_ids_order":["1401961610","1401961685","1401961758","1401961839","1401961936","1401962015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bcaecc878f925f1f6bea1e5b23120426.jpg","text":"TemporaryFile(/tmp/multipartBody2579162200217022988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218524107,"filename":"image_31122025_22_14_04_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3efae52f7bea895ee20ece8614451f0.jpg","text":"TemporaryFile(/tmp/multipartBody6499384940580727020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218524107,"filename":"image_31122025_22_13_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2806fd711ed43258b76f49afc1ed765c.jpg","text":"TemporaryFile(/tmp/multipartBody5688215896914744686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218524107,"filename":"image_31122025_22_13_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/18c726c7d85845d10e8c3dd257937ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6166975549834263162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218524107,"filename":"image_31122025_22_13_24_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1a19423fb815b5e55861674915d68d0.jpg","text":"TemporaryFile(/tmp/multipartBody8786743585271949675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218524107,"filename":"image_31122025_22_13_45_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4769dd21bc462391fb6b81c8601ef6de.jpg","text":"TemporaryFile(/tmp/multipartBody123236485831411896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218524107,"filename":"image_31122025_22_13_15_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401961758","file1":"1401961685","file0":"1401961610","file4":"1401961936","file5":"1401962015","file3":"1401961839"},"map_files_photo_id_array":[{"photo_id":"1401962015","filename":"file5"},{"photo_id":"1401961758","filename":"file2"},{"photo_id":"1401961936","filename":"file4"},{"photo_id":"1401961685","filename":"file1"},{"photo_id":"1401961610","filename":"file0"},{"photo_id":"1401961839","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401962015":["hashtag1","hashtag2"]},{"1401961610":["hashtag1","hashtag2"]},{"1401961936":["hashtag1","hashtag2"]},{"1401961758":["hashtag1","hashtag2"]},{"1401961839":["hashtag1","hashtag2"]},{"1401961685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401962015, 1401961610, 1401961936, 1401961758, 1401961839, 1401961685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33600091934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:02:02.609391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_15_10759.jpg', '/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_24_9723.jpg', '/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_34_9740.jpg', '/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_44_9737.jpg', '/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_55_10660.jpg', '/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_14_10058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_15_10759.jpg
/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_24_9723.jpg
/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_34_9740.jpg
/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_44_9737.jpg
/home/pi/Desktop/images/31122025/22/14/image_31122025_22_14_55_10660.jpg
/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_14_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401962581","1401962302","1401962358","1401962660","1401962507","1401962435"],"photo_ids_order":["1401962302","1401962358","1401962435","1401962507","1401962581","1401962660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10856e5a93ed72d4dfbaee40ad1b15ae.jpg","text":"TemporaryFile(/tmp/multipartBody1993978047754890044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218584188,"filename":"image_31122025_22_14_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0ad92ecfe1719a82217d99a996509b10.jpg","text":"TemporaryFile(/tmp/multipartBody4162779088141045548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218584188,"filename":"image_31122025_22_14_15_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a121c020875e6205b75ee78de2f00a75.jpg","text":"TemporaryFile(/tmp/multipartBody8138779908704270524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218584188,"filename":"image_31122025_22_14_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/973bfcda31193a39edf1dafcd50c92de.jpg","text":"TemporaryFile(/tmp/multipartBody2405410333307047542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218584188,"filename":"image_31122025_22_15_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ab89f20171f23871bd214d3512382d9.jpg","text":"TemporaryFile(/tmp/multipartBody2417257242994463985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218584188,"filename":"image_31122025_22_14_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50642ccc0dec150f5e5d0f46392ade59.jpg","text":"TemporaryFile(/tmp/multipartBody1134278615253358186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218584188,"filename":"image_31122025_22_14_34_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401962435","file1":"1401962358","file0":"1401962302","file4":"1401962581","file5":"1401962660","file3":"1401962507"},"map_files_photo_id_array":[{"photo_id":"1401962660","filename":"file5"},{"photo_id":"1401962435","filename":"file2"},{"photo_id":"1401962581","filename":"file4"},{"photo_id":"1401962358","filename":"file1"},{"photo_id":"1401962302","filename":"file0"},{"photo_id":"1401962507","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401962581":["hashtag1","hashtag2"]},{"1401962302":["hashtag1","hashtag2"]},{"1401962358":["hashtag1","hashtag2"]},{"1401962660":["hashtag1","hashtag2"]},{"1401962507":["hashtag1","hashtag2"]},{"1401962435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401962581, 1401962302, 1401962358, 1401962660, 1401962507, 1401962435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14283108711243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:03:03.036171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_25_10725.jpg', '/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_34_9689.jpg', '/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_44_9660.jpg', '/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_55_10720.jpg', '/home/pi/Desktop/images/31122025/22/15/image_31122025_22_16_04_9671.jpg', '/home/pi/Desktop/images/31122025/22/16/image_31122025_22_16_25_10794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_25_10725.jpg
/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_34_9689.jpg
/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_44_9660.jpg
/home/pi/Desktop/images/31122025/22/15/image_31122025_22_15_55_10720.jpg
/home/pi/Desktop/images/31122025/22/15/image_31122025_22_16_04_9671.jpg
/home/pi/Desktop/images/31122025/22/16/image_31122025_22_16_25_10794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401962941","1401962905","1401962898","1401962897","1401962948","1401962861"],"photo_ids_order":["1401962861","1401962897","1401962898","1401962905","1401962941","1401962948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/347c4efc7b863b697c89af58e0ec31bd.jpg","text":"TemporaryFile(/tmp/multipartBody6242856722107358630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218643893,"filename":"image_31122025_22_16_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f21ecc95ffa0f066fc52e4ade5f79a60.jpg","text":"TemporaryFile(/tmp/multipartBody8725433867405186718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218643893,"filename":"image_31122025_22_15_55_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07b063ff25095816b4feda153c6e0230.jpg","text":"TemporaryFile(/tmp/multipartBody4797004854254107803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218643893,"filename":"image_31122025_22_15_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20e6419128729ca97e6437a1f4ac3025.jpg","text":"TemporaryFile(/tmp/multipartBody7728080029521582348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218643893,"filename":"image_31122025_22_15_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ed7c6e40daf09f4bc33424589cb1b3d.jpg","text":"TemporaryFile(/tmp/multipartBody3007989830791969410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218643893,"filename":"image_31122025_22_16_25_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/391c3d3567bff42f16ec8a012a5684a8.jpg","text":"TemporaryFile(/tmp/multipartBody4272373229525926689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218643893,"filename":"image_31122025_22_15_25_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401962898","file1":"1401962897","file0":"1401962861","file4":"1401962941","file5":"1401962948","file3":"1401962905"},"map_files_photo_id_array":[{"photo_id":"1401962948","filename":"file5"},{"photo_id":"1401962898","filename":"file2"},{"photo_id":"1401962941","filename":"file4"},{"photo_id":"1401962897","filename":"file1"},{"photo_id":"1401962861","filename":"file0"},{"photo_id":"1401962905","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401962941":["hashtag1","hashtag2"]},{"1401962905":["hashtag1","hashtag2"]},{"1401962898":["hashtag1","hashtag2"]},{"1401962897":["hashtag1","hashtag2"]},{"1401962948":["hashtag1","hashtag2"]},{"1401962861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401962941, 1401962905, 1401962898, 1401962897, 1401962948, 1401962861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7926242351532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:03:42.306323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_51_2702.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_54_2623.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_57_3617.jpg', '/home/pi/Desktop/images/03112025/20/47/image_03112025_20_48_00_2624.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_03_2730.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_06_3759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_51_2702.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_54_2623.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_47_57_3617.jpg
/home/pi/Desktop/images/03112025/20/47/image_03112025_20_48_00_2624.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_03_2730.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_06_3759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401963180","1401963069","1401963146","1401963215","1401963224","1401963107"],"photo_ids_order":["1401963069","1401963107","1401963146","1401963180","1401963215","1401963224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5a9c18cd96278751938273abcba3a43d.jpg","text":"TemporaryFile(/tmp/multipartBody4319537686229061990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218684228,"filename":"image_03112025_20_48_00_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b96f76a5fbee59a2b02ae2c1849eccf5.jpg","text":"TemporaryFile(/tmp/multipartBody2190962584210798604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218684228,"filename":"image_03112025_20_47_51_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/210e6d18e85ff832c78266e3c2dc48c5.jpg","text":"TemporaryFile(/tmp/multipartBody2157135074324216780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218684228,"filename":"image_03112025_20_47_57_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5b9315683340a855d78043250e24055.jpg","text":"TemporaryFile(/tmp/multipartBody1445773240397689175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218684228,"filename":"image_03112025_20_48_03_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b3f47e53b42f0a6204b834f9b8b0625d.jpg","text":"TemporaryFile(/tmp/multipartBody5086090578162754308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218684228,"filename":"image_03112025_20_48_06_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3c891899a0c7783572ef1148239ffe9.jpg","text":"TemporaryFile(/tmp/multipartBody7901538008801669486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218684228,"filename":"image_03112025_20_47_54_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401963146","file1":"1401963107","file0":"1401963069","file4":"1401963215","file5":"1401963224","file3":"1401963180"},"map_files_photo_id_array":[{"photo_id":"1401963224","filename":"file5"},{"photo_id":"1401963146","filename":"file2"},{"photo_id":"1401963215","filename":"file4"},{"photo_id":"1401963107","filename":"file1"},{"photo_id":"1401963069","filename":"file0"},{"photo_id":"1401963180","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401963180":["hashtag1","hashtag2"]},{"1401963069":["hashtag1","hashtag2"]},{"1401963146":["hashtag1","hashtag2"]},{"1401963215":["hashtag1","hashtag2"]},{"1401963224":["hashtag1","hashtag2"]},{"1401963107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401963180, 1401963069, 1401963146, 1401963215, 1401963224, 1401963107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69210743904114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:04:22.474543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/16/image_31122025_22_16_34_9597.jpg', '/home/pi/Desktop/images/31122025/22/16/image_31122025_22_16_44_9629.jpg', '/home/pi/Desktop/images/31122025/22/16/image_31122025_22_16_55_10679.jpg', '/home/pi/Desktop/images/31122025/22/16/image_31122025_22_17_04_9590.jpg', '/home/pi/Desktop/images/31122025/22/17/image_31122025_22_17_14_9657.jpg', '/home/pi/Desktop/images/31122025/22/17/image_31122025_22_17_24_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/16/image_31122025_22_16_34_9597.jpg
/home/pi/Desktop/images/31122025/22/16/image_31122025_22_16_44_9629.jpg
/home/pi/Desktop/images/31122025/22/16/image_31122025_22_16_55_10679.jpg
/home/pi/Desktop/images/31122025/22/16/image_31122025_22_17_04_9590.jpg
/home/pi/Desktop/images/31122025/22/17/image_31122025_22_17_14_9657.jpg
/home/pi/Desktop/images/31122025/22/17/image_31122025_22_17_24_9944.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401963316","1401963318","1401963314","1401963292","1401963305","1401963274"],"photo_ids_order":["1401963274","1401963292","1401963305","1401963314","1401963316","1401963318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd9a00fe41a9742db6eb0dc45ccd19f3.jpg","text":"TemporaryFile(/tmp/multipartBody2654114734260139830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218723103,"filename":"image_31122025_22_17_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e9de14016005b397f5f763c110d7ea59.jpg","text":"TemporaryFile(/tmp/multipartBody6685648655305037996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218723103,"filename":"image_31122025_22_17_24_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/902d9dbc38097ca1d90e276c0b6f1d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3287442456740698885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218723103,"filename":"image_31122025_22_17_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9fc2427eae38702eef54e9a4d8137d6.jpg","text":"TemporaryFile(/tmp/multipartBody7086609061074633727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218723103,"filename":"image_31122025_22_16_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/442122286e5d0cf22f979ba32b1b3f97.jpg","text":"TemporaryFile(/tmp/multipartBody408905413723363567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218723103,"filename":"image_31122025_22_16_55_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/45f98f6023ff7773ef59735e605f081c.jpg","text":"TemporaryFile(/tmp/multipartBody9191547995609460222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218723103,"filename":"image_31122025_22_16_34_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401963305","file1":"1401963292","file0":"1401963274","file4":"1401963316","file5":"1401963318","file3":"1401963314"},"map_files_photo_id_array":[{"photo_id":"1401963318","filename":"file5"},{"photo_id":"1401963305","filename":"file2"},{"photo_id":"1401963316","filename":"file4"},{"photo_id":"1401963292","filename":"file1"},{"photo_id":"1401963274","filename":"file0"},{"photo_id":"1401963314","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401963316":["hashtag1","hashtag2"]},{"1401963318":["hashtag1","hashtag2"]},{"1401963314":["hashtag1","hashtag2"]},{"1401963292":["hashtag1","hashtag2"]},{"1401963305":["hashtag1","hashtag2"]},{"1401963274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401963316, 1401963318, 1401963314, 1401963292, 1401963305, 1401963274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76751089096069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:05:03.276897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/17/image_31122025_22_17_35_10670.jpg', '/home/pi/Desktop/images/31122025/22/17/image_31122025_22_17_44_9671.jpg', '/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_14_9666.jpg', '/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_25_10744.jpg', '/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_35_9734.jpg', '/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_44_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/17/image_31122025_22_17_35_10670.jpg
/home/pi/Desktop/images/31122025/22/17/image_31122025_22_17_44_9671.jpg
/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_14_9666.jpg
/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_25_10744.jpg
/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_35_9734.jpg
/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_44_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401963319","1401963406","1401963514","1401963705","1401963611","1401963320"],"photo_ids_order":["1401963319","1401963320","1401963406","1401963514","1401963611","1401963705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c58336c481c8f47f989ea1ac843f78eb.jpg","text":"TemporaryFile(/tmp/multipartBody7112842489616913651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218763920,"filename":"image_31122025_22_17_35_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/707dcd28b04f335b4921b3d7b9883553.jpg","text":"TemporaryFile(/tmp/multipartBody1567218843384856373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218763920,"filename":"image_31122025_22_18_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15512c95ba02af60a7a852b05edf1f56.jpg","text":"TemporaryFile(/tmp/multipartBody3218086382762086060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218763920,"filename":"image_31122025_22_18_25_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b7599d8ba01cd6fb7933476716850be.jpg","text":"TemporaryFile(/tmp/multipartBody5572514065565129732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218763920,"filename":"image_31122025_22_18_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c02ccc5726e2c29e69a2efea6b4e3a9d.jpg","text":"TemporaryFile(/tmp/multipartBody3012215266556151356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218763920,"filename":"image_31122025_22_18_35_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fb2f3e427eb587ba2557731be4300603.jpg","text":"TemporaryFile(/tmp/multipartBody8474336305954182979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218763920,"filename":"image_31122025_22_17_44_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401963406","file1":"1401963320","file0":"1401963319","file4":"1401963611","file5":"1401963705","file3":"1401963514"},"map_files_photo_id_array":[{"photo_id":"1401963705","filename":"file5"},{"photo_id":"1401963406","filename":"file2"},{"photo_id":"1401963611","filename":"file4"},{"photo_id":"1401963320","filename":"file1"},{"photo_id":"1401963319","filename":"file0"},{"photo_id":"1401963514","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401963319":["hashtag1","hashtag2"]},{"1401963406":["hashtag1","hashtag2"]},{"1401963514":["hashtag1","hashtag2"]},{"1401963705":["hashtag1","hashtag2"]},{"1401963611":["hashtag1","hashtag2"]},{"1401963320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401963319, 1401963406, 1401963514, 1401963705, 1401963611, 1401963320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1145281791687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:05:42.590094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_09_2616.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_12_2608.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_15_3601.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_18_2837.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_21_2776.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_24_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_09_2616.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_12_2608.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_15_3601.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_18_2837.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_21_2776.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_24_2815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964059","1401964062","1401964056","1401964061","1401964058","1401964060"],"photo_ids_order":["1401964056","1401964058","1401964059","1401964060","1401964061","1401964062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/32173ed846394b49b1a22cf70fc2b9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8347838522900198523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218804510,"filename":"image_03112025_20_48_15_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/337530a3d6ef687c2cfa755ea6fb6264.jpg","text":"TemporaryFile(/tmp/multipartBody1867343466537457598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218804510,"filename":"image_03112025_20_48_24_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28331e37232230298d17761f7a73bea7.jpg","text":"TemporaryFile(/tmp/multipartBody7526485942840074359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218804510,"filename":"image_03112025_20_48_09_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33a50101002d5e12002244103d374a5f.jpg","text":"TemporaryFile(/tmp/multipartBody3394386841541318142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218804510,"filename":"image_03112025_20_48_21_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/653f00d6f89be1c49ff43f3e3aef5efa.jpg","text":"TemporaryFile(/tmp/multipartBody4681772877065554806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218804510,"filename":"image_03112025_20_48_12_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40e2333fc91c8be8d80432380d9d17fa.jpg","text":"TemporaryFile(/tmp/multipartBody2892787515173370453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218804510,"filename":"image_03112025_20_48_18_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964059","file1":"1401964058","file0":"1401964056","file4":"1401964061","file5":"1401964062","file3":"1401964060"},"map_files_photo_id_array":[{"photo_id":"1401964062","filename":"file5"},{"photo_id":"1401964059","filename":"file2"},{"photo_id":"1401964061","filename":"file4"},{"photo_id":"1401964058","filename":"file1"},{"photo_id":"1401964056","filename":"file0"},{"photo_id":"1401964060","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964059":["hashtag1","hashtag2"]},{"1401964062":["hashtag1","hashtag2"]},{"1401964056":["hashtag1","hashtag2"]},{"1401964061":["hashtag1","hashtag2"]},{"1401964058":["hashtag1","hashtag2"]},{"1401964060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964059, 1401964062, 1401964056, 1401964061, 1401964058, 1401964060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39790391921997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:06:22.760154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_55_10616.jpg', '/home/pi/Desktop/images/31122025/22/18/image_31122025_22_19_04_9565.jpg', '/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_14_9748.jpg', '/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_25_10602.jpg', '/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_35_9854.jpg', '/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_44_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/18/image_31122025_22_18_55_10616.jpg
/home/pi/Desktop/images/31122025/22/18/image_31122025_22_19_04_9565.jpg
/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_14_9748.jpg
/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_25_10602.jpg
/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_35_9854.jpg
/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_44_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964298","1401964286","1401964169","1401964256","1401964252","1401964324"],"photo_ids_order":["1401964169","1401964252","1401964256","1401964286","1401964298","1401964324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0a9b4940984b3becca6d4408b1ab4698.jpg","text":"TemporaryFile(/tmp/multipartBody3539869123716936801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218843352,"filename":"image_31122025_22_19_35_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/dcb8155e8b23a0b4d83e2a3939e8a63d.jpg","text":"TemporaryFile(/tmp/multipartBody95673803816577365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218843352,"filename":"image_31122025_22_19_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c511134a9c17befb23204e656e02d1ab.jpg","text":"TemporaryFile(/tmp/multipartBody4363077535773555409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218843352,"filename":"image_31122025_22_18_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2f66294caf058f1076fe5c6bbd481a4.jpg","text":"TemporaryFile(/tmp/multipartBody6927059244094709897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218843352,"filename":"image_31122025_22_19_14_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8cc6f7bef47ea510ce3f26b3ca57632.jpg","text":"TemporaryFile(/tmp/multipartBody1430560590177553848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218843352,"filename":"image_31122025_22_19_04_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab4617f7758f8277b52b8f9c03b632bb.jpg","text":"TemporaryFile(/tmp/multipartBody3425357217850390981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218843352,"filename":"image_31122025_22_19_44_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964256","file1":"1401964252","file0":"1401964169","file4":"1401964298","file5":"1401964324","file3":"1401964286"},"map_files_photo_id_array":[{"photo_id":"1401964324","filename":"file5"},{"photo_id":"1401964256","filename":"file2"},{"photo_id":"1401964298","filename":"file4"},{"photo_id":"1401964252","filename":"file1"},{"photo_id":"1401964169","filename":"file0"},{"photo_id":"1401964286","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964298":["hashtag1","hashtag2"]},{"1401964286":["hashtag1","hashtag2"]},{"1401964169":["hashtag1","hashtag2"]},{"1401964256":["hashtag1","hashtag2"]},{"1401964252":["hashtag1","hashtag2"]},{"1401964324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964298, 1401964286, 1401964169, 1401964256, 1401964252, 1401964324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.110724449157715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:07:02.608514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_54_9567.jpg', '/home/pi/Desktop/images/31122025/22/20/image_31122025_22_20_14_10055.jpg', '/home/pi/Desktop/images/31122025/22/20/image_31122025_22_20_25_10635.jpg', '/home/pi/Desktop/images/31122025/22/20/image_31122025_22_20_34_9624.jpg', '/home/pi/Desktop/images/31122025/22/20/image_31122025_22_20_55_9643.jpg', '/home/pi/Desktop/images/31122025/22/21/image_31122025_22_21_14_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/19/image_31122025_22_19_54_9567.jpg
/home/pi/Desktop/images/31122025/22/20/image_31122025_22_20_14_10055.jpg
/home/pi/Desktop/images/31122025/22/20/image_31122025_22_20_25_10635.jpg
/home/pi/Desktop/images/31122025/22/20/image_31122025_22_20_34_9624.jpg
/home/pi/Desktop/images/31122025/22/20/image_31122025_22_20_55_9643.jpg
/home/pi/Desktop/images/31122025/22/21/image_31122025_22_21_14_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964356","1401964358","1401964363","1401964360","1401964354","1401964357"],"photo_ids_order":["1401964354","1401964356","1401964357","1401964358","1401964360","1401964363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fa7ea35cf3c21e24f49a19baa621bf1.jpg","text":"TemporaryFile(/tmp/multipartBody2673578686004057789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218883294,"filename":"image_31122025_22_20_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03a7a13d6b1e0f5b7c60f336a3fadeab.jpg","text":"TemporaryFile(/tmp/multipartBody6047056163293461877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218883294,"filename":"image_31122025_22_20_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66c50daa92212ca1b2d98230747db869.jpg","text":"TemporaryFile(/tmp/multipartBody8083850780450524233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218883294,"filename":"image_31122025_22_21_14_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1ef5b732160e5513d88dd7d18fdf959.jpg","text":"TemporaryFile(/tmp/multipartBody8815539391664706702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218883294,"filename":"image_31122025_22_20_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76e3504abb49c2d651adab41b5899b64.jpg","text":"TemporaryFile(/tmp/multipartBody2299825700583158978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218883294,"filename":"image_31122025_22_19_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6be842f8d2be61f62ab816c6d6542856.jpg","text":"TemporaryFile(/tmp/multipartBody7087569766211701934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218883294,"filename":"image_31122025_22_20_25_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964357","file1":"1401964356","file0":"1401964354","file4":"1401964360","file5":"1401964363","file3":"1401964358"},"map_files_photo_id_array":[{"photo_id":"1401964363","filename":"file5"},{"photo_id":"1401964357","filename":"file2"},{"photo_id":"1401964360","filename":"file4"},{"photo_id":"1401964356","filename":"file1"},{"photo_id":"1401964354","filename":"file0"},{"photo_id":"1401964358","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964356":["hashtag1","hashtag2"]},{"1401964358":["hashtag1","hashtag2"]},{"1401964363":["hashtag1","hashtag2"]},{"1401964360":["hashtag1","hashtag2"]},{"1401964354":["hashtag1","hashtag2"]},{"1401964357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964356, 1401964358, 1401964363, 1401964360, 1401964354, 1401964357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94779944419861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:07:42.123488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_27_3642.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_30_2615.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_33_2680.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_36_3515.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_39_2644.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_42_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_27_3642.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_30_2615.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_33_2680.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_36_3515.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_39_2644.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_42_3676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964374","1401964371","1401964368","1401964370","1401964372","1401964369"],"photo_ids_order":["1401964368","1401964369","1401964370","1401964371","1401964372","1401964374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fe9dd38b8d5d55b278686c551ada9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1056287483269802140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218924025,"filename":"image_03112025_20_48_42_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0518d26b9a17e94a6fcc311a6f81cbbe.jpg","text":"TemporaryFile(/tmp/multipartBody6897249711368179211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218924025,"filename":"image_03112025_20_48_36_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1a3bf95cb4a575933f07fa0749481d1.jpg","text":"TemporaryFile(/tmp/multipartBody3689889225625251186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218924025,"filename":"image_03112025_20_48_27_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/15546150d94b511d0032777564e6a42d.jpg","text":"TemporaryFile(/tmp/multipartBody339337289001257096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218924025,"filename":"image_03112025_20_48_33_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4b70000c677e599d1d5386d0f39523be.jpg","text":"TemporaryFile(/tmp/multipartBody4664845240067229751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218924025,"filename":"image_03112025_20_48_39_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ab8b3185a20b7b45c57e0dc3fce660a.jpg","text":"TemporaryFile(/tmp/multipartBody9218885790906143663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218924025,"filename":"image_03112025_20_48_30_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964370","file1":"1401964369","file0":"1401964368","file4":"1401964372","file5":"1401964374","file3":"1401964371"},"map_files_photo_id_array":[{"photo_id":"1401964374","filename":"file5"},{"photo_id":"1401964370","filename":"file2"},{"photo_id":"1401964372","filename":"file4"},{"photo_id":"1401964369","filename":"file1"},{"photo_id":"1401964368","filename":"file0"},{"photo_id":"1401964371","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964374":["hashtag1","hashtag2"]},{"1401964371":["hashtag1","hashtag2"]},{"1401964368":["hashtag1","hashtag2"]},{"1401964370":["hashtag1","hashtag2"]},{"1401964372":["hashtag1","hashtag2"]},{"1401964369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964374, 1401964371, 1401964368, 1401964370, 1401964372, 1401964369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02311658859253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:08:22.283459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/21/image_31122025_22_21_25_10657.jpg', '/home/pi/Desktop/images/31122025/22/21/image_31122025_22_21_35_9669.jpg', '/home/pi/Desktop/images/31122025/22/21/image_31122025_22_21_44_9781.jpg', '/home/pi/Desktop/images/31122025/22/21/image_31122025_22_22_05_9718.jpg', '/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_14_9679.jpg', '/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_25_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/21/image_31122025_22_21_25_10657.jpg
/home/pi/Desktop/images/31122025/22/21/image_31122025_22_21_35_9669.jpg
/home/pi/Desktop/images/31122025/22/21/image_31122025_22_21_44_9781.jpg
/home/pi/Desktop/images/31122025/22/21/image_31122025_22_22_05_9718.jpg
/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_14_9679.jpg
/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_25_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964377","1401964386","1401964391","1401964379","1401964382","1401964384"],"photo_ids_order":["1401964377","1401964379","1401964382","1401964384","1401964386","1401964391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/440ae92f30f99da1402272d8a80063f7.jpg","text":"TemporaryFile(/tmp/multipartBody5149854129561987513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218962880,"filename":"image_31122025_22_21_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a71651806b43a5b777ffca964e65fa5a.jpg","text":"TemporaryFile(/tmp/multipartBody988546707249028009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218962880,"filename":"image_31122025_22_22_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df901379c226ed0c8f90a3e0790f8388.jpg","text":"TemporaryFile(/tmp/multipartBody5701580093983607873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218962880,"filename":"image_31122025_22_22_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9ec37b5f979edd8011da4779e81d2279.jpg","text":"TemporaryFile(/tmp/multipartBody6699570156325567044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218962880,"filename":"image_31122025_22_21_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9b9b142a3a3b8ba7507a851792c41e76.jpg","text":"TemporaryFile(/tmp/multipartBody3155412378309175996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218962880,"filename":"image_31122025_22_21_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2faf6f1996197c0f42f8158363bf2856.jpg","text":"TemporaryFile(/tmp/multipartBody7937165062486205526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767218962880,"filename":"image_31122025_22_22_05_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964382","file1":"1401964379","file0":"1401964377","file4":"1401964386","file5":"1401964391","file3":"1401964384"},"map_files_photo_id_array":[{"photo_id":"1401964391","filename":"file5"},{"photo_id":"1401964382","filename":"file2"},{"photo_id":"1401964386","filename":"file4"},{"photo_id":"1401964379","filename":"file1"},{"photo_id":"1401964377","filename":"file0"},{"photo_id":"1401964384","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964377":["hashtag1","hashtag2"]},{"1401964386":["hashtag1","hashtag2"]},{"1401964391":["hashtag1","hashtag2"]},{"1401964379":["hashtag1","hashtag2"]},{"1401964382":["hashtag1","hashtag2"]},{"1401964384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964377, 1401964386, 1401964391, 1401964379, 1401964382, 1401964384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76096987724304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:09:03.432265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_35_9549.jpg', '/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_44_9662.jpg', '/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_55_10818.jpg', '/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_14_9683.jpg', '/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_24_9863.jpg', '/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_35_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_35_9549.jpg
/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_44_9662.jpg
/home/pi/Desktop/images/31122025/22/22/image_31122025_22_22_55_10818.jpg
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_14_9683.jpg
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_24_9863.jpg
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_35_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964395","1401964398","1401964394","1401964396","1401964400","1401964392"],"photo_ids_order":["1401964392","1401964394","1401964395","1401964396","1401964398","1401964400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/388a30f0c29ee7dd3cc9fc750ef51a07.jpg","text":"TemporaryFile(/tmp/multipartBody3882207759713618924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219004180,"filename":"image_31122025_22_22_55_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05d60b7b6a2c40cacc5e37ebb813aa36.jpg","text":"TemporaryFile(/tmp/multipartBody998880332423293453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219004180,"filename":"image_31122025_22_23_24_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b76ee02779022ac0d18fc89bfb7ba133.jpg","text":"TemporaryFile(/tmp/multipartBody3231465474596465390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219004180,"filename":"image_31122025_22_22_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07168c4201a4661b99d0c33488276726.jpg","text":"TemporaryFile(/tmp/multipartBody4107447336168164878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219004180,"filename":"image_31122025_22_23_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9396d8083ee3ebf90ec96a939054a533.jpg","text":"TemporaryFile(/tmp/multipartBody8364394565726006120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219004180,"filename":"image_31122025_22_23_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa5dcc632c49d3dff0a8c2538b95af50.jpg","text":"TemporaryFile(/tmp/multipartBody2677976119731712833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219004180,"filename":"image_31122025_22_22_35_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964395","file1":"1401964394","file0":"1401964392","file4":"1401964398","file5":"1401964400","file3":"1401964396"},"map_files_photo_id_array":[{"photo_id":"1401964400","filename":"file5"},{"photo_id":"1401964395","filename":"file2"},{"photo_id":"1401964398","filename":"file4"},{"photo_id":"1401964394","filename":"file1"},{"photo_id":"1401964392","filename":"file0"},{"photo_id":"1401964396","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964395":["hashtag1","hashtag2"]},{"1401964398":["hashtag1","hashtag2"]},{"1401964394":["hashtag1","hashtag2"]},{"1401964396":["hashtag1","hashtag2"]},{"1401964400":["hashtag1","hashtag2"]},{"1401964392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964395, 1401964398, 1401964394, 1401964396, 1401964400, 1401964392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22155523300171 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:10:03.056810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_45_9692.jpg', '/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_54_9686.jpg', '/home/pi/Desktop/images/31122025/22/23/image_31122025_22_24_05_10578.jpg', '/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_15_9861.jpg', '/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_24_9779.jpg', '/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_35_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_45_9692.jpg
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_54_9686.jpg
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_24_05_10578.jpg
/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_15_9861.jpg
/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_24_9779.jpg
/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_35_10693.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5160188674926758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:10:12.590544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_45_2675.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_48_2584.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_51_3649.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_54_2622.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_57_2743.jpg', '/home/pi/Desktop/images/03112025/20/48/image_03112025_20_49_00_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_45_2675.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_48_2584.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_51_3649.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_54_2622.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_48_57_2743.jpg
/home/pi/Desktop/images/03112025/20/48/image_03112025_20_49_00_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964411","1401964413","1401964416","1401964418","1401964420","1401964423"],"photo_ids_order":["1401964411","1401964413","1401964416","1401964418","1401964420","1401964423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9cab55c0daf68db0c58358ecc995e235.jpg","text":"TemporaryFile(/tmp/multipartBody8233356865976403607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219074339,"filename":"image_03112025_20_48_45_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ba196a24c25c7c63761d5ca66a82e097.jpg","text":"TemporaryFile(/tmp/multipartBody6542316581959763804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219074339,"filename":"image_03112025_20_48_48_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9540b87c6f072c39e5f117fe23abf0b9.jpg","text":"TemporaryFile(/tmp/multipartBody4902433030354521756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219074339,"filename":"image_03112025_20_48_51_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f5c99c0d2e2e69b67ce134d9a3ee799.jpg","text":"TemporaryFile(/tmp/multipartBody4428627867326484859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219074339,"filename":"image_03112025_20_48_54_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c220249f63d209f728d174d0a771d961.jpg","text":"TemporaryFile(/tmp/multipartBody2924885789024970165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219074339,"filename":"image_03112025_20_48_57_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df05942432a5e3ef2fae189fd0bff61f.jpg","text":"TemporaryFile(/tmp/multipartBody5070666270816773092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219074339,"filename":"image_03112025_20_49_00_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964416","file1":"1401964413","file0":"1401964411","file4":"1401964420","file5":"1401964423","file3":"1401964418"},"map_files_photo_id_array":[{"photo_id":"1401964423","filename":"file5"},{"photo_id":"1401964416","filename":"file2"},{"photo_id":"1401964420","filename":"file4"},{"photo_id":"1401964413","filename":"file1"},{"photo_id":"1401964411","filename":"file0"},{"photo_id":"1401964418","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964411":["hashtag1","hashtag2"]},{"1401964413":["hashtag1","hashtag2"]},{"1401964416":["hashtag1","hashtag2"]},{"1401964418":["hashtag1","hashtag2"]},{"1401964420":["hashtag1","hashtag2"]},{"1401964423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964411, 1401964413, 1401964416, 1401964418, 1401964420, 1401964423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35368275642395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:11:02.476324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_45_9692.jpg', '/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_54_9686.jpg', '/home/pi/Desktop/images/31122025/22/23/image_31122025_22_24_05_10578.jpg', '/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_15_9861.jpg', '/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_24_9779.jpg', '/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_35_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_45_9692.jpg
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_23_54_9686.jpg
/home/pi/Desktop/images/31122025/22/23/image_31122025_22_24_05_10578.jpg
/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_15_9861.jpg
/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_24_9779.jpg
/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_35_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964431","1401964433","1401964430","1401964432","1401964435","1401964429"],"photo_ids_order":["1401964429","1401964430","1401964431","1401964432","1401964433","1401964435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cf8ea8e188d7ded233bf67be2af013b.jpg","text":"TemporaryFile(/tmp/multipartBody1284108910800370291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219123179,"filename":"image_31122025_22_24_05_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/36991e16c9ea019044bba4452d813b51.jpg","text":"TemporaryFile(/tmp/multipartBody4940445190996946497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219123179,"filename":"image_31122025_22_24_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fadb71e27ea01964c43520c2bdd2dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody1627109996858852364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219123179,"filename":"image_31122025_22_23_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2d4d1ff38f085dcd5b3adad2d308842.jpg","text":"TemporaryFile(/tmp/multipartBody8272082554662811384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219123179,"filename":"image_31122025_22_24_15_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9250a8ac8dff5410a97b8db461639a94.jpg","text":"TemporaryFile(/tmp/multipartBody2509825253091389383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219123179,"filename":"image_31122025_22_24_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31e159965624df50a4141ad123fc9a40.jpg","text":"TemporaryFile(/tmp/multipartBody7674272940596839122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219123179,"filename":"image_31122025_22_23_45_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964431","file1":"1401964430","file0":"1401964429","file4":"1401964433","file5":"1401964435","file3":"1401964432"},"map_files_photo_id_array":[{"photo_id":"1401964435","filename":"file5"},{"photo_id":"1401964431","filename":"file2"},{"photo_id":"1401964433","filename":"file4"},{"photo_id":"1401964430","filename":"file1"},{"photo_id":"1401964429","filename":"file0"},{"photo_id":"1401964432","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964431":["hashtag1","hashtag2"]},{"1401964433":["hashtag1","hashtag2"]},{"1401964430":["hashtag1","hashtag2"]},{"1401964432":["hashtag1","hashtag2"]},{"1401964435":["hashtag1","hashtag2"]},{"1401964429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964431, 1401964433, 1401964430, 1401964432, 1401964435, 1401964429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86343765258789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:11:41.855442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_03_2560.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_09_3704.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_12_2824.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_15_2572.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_18_3603.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_21_2828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_03_2560.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_09_3704.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_12_2824.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_15_2572.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_18_3603.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_21_2828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964443","1401964440","1401964442","1401964445","1401964444","1401964447"],"photo_ids_order":["1401964440","1401964442","1401964443","1401964444","1401964445","1401964447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3485fe0e33bf2b1a3ff3342f98f51204.jpg","text":"TemporaryFile(/tmp/multipartBody1054995904466124224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219164978,"filename":"image_03112025_20_49_12_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/152eeaaaa19fdc04d32671aec72da9ac.jpg","text":"TemporaryFile(/tmp/multipartBody3149505935334297864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219164978,"filename":"image_03112025_20_49_03_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5cf2390a8e7df310ccd6c26b11709c0.jpg","text":"TemporaryFile(/tmp/multipartBody2943246327975748601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219164978,"filename":"image_03112025_20_49_09_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/afe8d294a28209cc182402cfbce457ac.jpg","text":"TemporaryFile(/tmp/multipartBody5592316692393457784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219164978,"filename":"image_03112025_20_49_18_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/405bffc07d65ac50076cda6a16c1e9c3.jpg","text":"TemporaryFile(/tmp/multipartBody6443805476410416171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219164978,"filename":"image_03112025_20_49_15_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d62a0d40cb80208537e5a93a7d14ab12.jpg","text":"TemporaryFile(/tmp/multipartBody3100091198103151670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219164978,"filename":"image_03112025_20_49_21_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964443","file1":"1401964442","file0":"1401964440","file4":"1401964445","file5":"1401964447","file3":"1401964444"},"map_files_photo_id_array":[{"photo_id":"1401964447","filename":"file5"},{"photo_id":"1401964443","filename":"file2"},{"photo_id":"1401964445","filename":"file4"},{"photo_id":"1401964442","filename":"file1"},{"photo_id":"1401964440","filename":"file0"},{"photo_id":"1401964444","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964443":["hashtag1","hashtag2"]},{"1401964440":["hashtag1","hashtag2"]},{"1401964442":["hashtag1","hashtag2"]},{"1401964445":["hashtag1","hashtag2"]},{"1401964444":["hashtag1","hashtag2"]},{"1401964447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964443, 1401964440, 1401964442, 1401964445, 1401964444, 1401964447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8691565990448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:12:22.033379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_45_9590.jpg', '/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_54_9638.jpg', '/home/pi/Desktop/images/31122025/22/25/image_31122025_22_25_14_10057.jpg', '/home/pi/Desktop/images/31122025/22/25/image_31122025_22_25_24_10710.jpg', '/home/pi/Desktop/images/31122025/22/25/image_31122025_22_25_34_9742.jpg', '/home/pi/Desktop/images/31122025/22/25/image_31122025_22_25_55_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_45_9590.jpg
/home/pi/Desktop/images/31122025/22/24/image_31122025_22_24_54_9638.jpg
/home/pi/Desktop/images/31122025/22/25/image_31122025_22_25_14_10057.jpg
/home/pi/Desktop/images/31122025/22/25/image_31122025_22_25_24_10710.jpg
/home/pi/Desktop/images/31122025/22/25/image_31122025_22_25_34_9742.jpg
/home/pi/Desktop/images/31122025/22/25/image_31122025_22_25_55_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964455","1401964449","1401964451","1401964460","1401964457","1401964453"],"photo_ids_order":["1401964449","1401964451","1401964453","1401964455","1401964457","1401964460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ededd683a2c1a82f010cc3037750c20d.jpg","text":"TemporaryFile(/tmp/multipartBody2804187992815349490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219202629,"filename":"image_31122025_22_25_24_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e2da1fe40c19faccd1cfb4a9aaddf19.jpg","text":"TemporaryFile(/tmp/multipartBody633550703322330081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219202629,"filename":"image_31122025_22_24_45_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/66e7269608d5329447ee8db3000bcd15.jpg","text":"TemporaryFile(/tmp/multipartBody478182312400862657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219202629,"filename":"image_31122025_22_24_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41d7eba541c2f5d6b8411f169b6b7157.jpg","text":"TemporaryFile(/tmp/multipartBody5736517829656525597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219202629,"filename":"image_31122025_22_25_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57c90513d2f3bf2d69dd5a109e11726c.jpg","text":"TemporaryFile(/tmp/multipartBody4776975475330470959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219202629,"filename":"image_31122025_22_25_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a9110d152b8711e2ad52aba5544a6cc.jpg","text":"TemporaryFile(/tmp/multipartBody7678916437108267270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219202629,"filename":"image_31122025_22_25_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964453","file1":"1401964451","file0":"1401964449","file4":"1401964457","file5":"1401964460","file3":"1401964455"},"map_files_photo_id_array":[{"photo_id":"1401964460","filename":"file5"},{"photo_id":"1401964453","filename":"file2"},{"photo_id":"1401964457","filename":"file4"},{"photo_id":"1401964451","filename":"file1"},{"photo_id":"1401964449","filename":"file0"},{"photo_id":"1401964455","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964455":["hashtag1","hashtag2"]},{"1401964449":["hashtag1","hashtag2"]},{"1401964451":["hashtag1","hashtag2"]},{"1401964460":["hashtag1","hashtag2"]},{"1401964457":["hashtag1","hashtag2"]},{"1401964453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964455, 1401964449, 1401964451, 1401964460, 1401964457, 1401964453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5194878578186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:13:02.814960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/25/image_31122025_22_26_04_9712.jpg', '/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_14_9642.jpg', '/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_25_10737.jpg', '/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_34_9714.jpg', '/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_44_9641.jpg', '/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_55_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/25/image_31122025_22_26_04_9712.jpg
/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_14_9642.jpg
/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_25_10737.jpg
/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_34_9714.jpg
/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_44_9641.jpg
/home/pi/Desktop/images/31122025/22/26/image_31122025_22_26_55_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964467","1401964461","1401964464","1401964463","1401964462","1401964465"],"photo_ids_order":["1401964461","1401964462","1401964463","1401964464","1401964465","1401964467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38897427829bdada99b6575545529e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3785317604687384502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219243455,"filename":"image_31122025_22_26_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9677e09d46098361e91d42dc544bba9.jpg","text":"TemporaryFile(/tmp/multipartBody3174355833461676727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219243455,"filename":"image_31122025_22_26_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/955bf633f9d8a5c5b5b5d9114eb57c3e.jpg","text":"TemporaryFile(/tmp/multipartBody4973091254650003144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219243455,"filename":"image_31122025_22_26_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c56a0b07d92bbfa1614eaa7294b7733e.jpg","text":"TemporaryFile(/tmp/multipartBody714478687963702432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219243455,"filename":"image_31122025_22_26_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1dfe1b2887ada046edd7a9fbbe51f7e.jpg","text":"TemporaryFile(/tmp/multipartBody6740187213100474764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219243455,"filename":"image_31122025_22_26_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ef513d1ed110338c74e0076a061d2a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2245315737503763441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219243455,"filename":"image_31122025_22_26_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964463","file1":"1401964462","file0":"1401964461","file4":"1401964465","file5":"1401964467","file3":"1401964464"},"map_files_photo_id_array":[{"photo_id":"1401964467","filename":"file5"},{"photo_id":"1401964463","filename":"file2"},{"photo_id":"1401964465","filename":"file4"},{"photo_id":"1401964462","filename":"file1"},{"photo_id":"1401964461","filename":"file0"},{"photo_id":"1401964464","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964467":["hashtag1","hashtag2"]},{"1401964461":["hashtag1","hashtag2"]},{"1401964464":["hashtag1","hashtag2"]},{"1401964463":["hashtag1","hashtag2"]},{"1401964462":["hashtag1","hashtag2"]},{"1401964465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964467, 1401964461, 1401964464, 1401964463, 1401964462, 1401964465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52617049217224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:13:42.179289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_24_2625.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_27_2889.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_39_2798.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_42_3671.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_45_2701.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_48_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_24_2625.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_27_2889.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_39_2798.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_42_3671.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_45_2701.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_48_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964473","1401964476","1401964472","1401964475","1401964477","1401964474"],"photo_ids_order":["1401964472","1401964473","1401964474","1401964475","1401964476","1401964477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2891226905c96ba814a3a4b14fe53672.jpg","text":"TemporaryFile(/tmp/multipartBody745822669434626091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219284074,"filename":"image_03112025_20_49_27_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3904d929293827b6613839a64e3dedce.jpg","text":"TemporaryFile(/tmp/multipartBody4980880327277325869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219284074,"filename":"image_03112025_20_49_45_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/97a56c203ade6fad55b17a80d7cc3230.jpg","text":"TemporaryFile(/tmp/multipartBody7966858286180444977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219284074,"filename":"image_03112025_20_49_24_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f26fdac3e1203928d0203bc2cea455b3.jpg","text":"TemporaryFile(/tmp/multipartBody5268369338527672062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219284074,"filename":"image_03112025_20_49_42_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a0de975b261aa503c19fdd51850a2b1b.jpg","text":"TemporaryFile(/tmp/multipartBody9120178540635341389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219284074,"filename":"image_03112025_20_49_48_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d9559f0e63f1184d9394881a0521dfb.jpg","text":"TemporaryFile(/tmp/multipartBody7617387225541121252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219284074,"filename":"image_03112025_20_49_39_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964474","file1":"1401964473","file0":"1401964472","file4":"1401964476","file5":"1401964477","file3":"1401964475"},"map_files_photo_id_array":[{"photo_id":"1401964477","filename":"file5"},{"photo_id":"1401964474","filename":"file2"},{"photo_id":"1401964476","filename":"file4"},{"photo_id":"1401964473","filename":"file1"},{"photo_id":"1401964472","filename":"file0"},{"photo_id":"1401964475","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964473":["hashtag1","hashtag2"]},{"1401964476":["hashtag1","hashtag2"]},{"1401964472":["hashtag1","hashtag2"]},{"1401964475":["hashtag1","hashtag2"]},{"1401964477":["hashtag1","hashtag2"]},{"1401964474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964473, 1401964476, 1401964472, 1401964475, 1401964477, 1401964474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09195923805237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:14:22.405045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/26/image_31122025_22_27_04_9725.jpg', '/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_14_9876.jpg', '/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_24_9855.jpg', '/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_34_9647.jpg', '/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_44_10693.jpg', '/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_54_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/26/image_31122025_22_27_04_9725.jpg
/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_14_9876.jpg
/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_24_9855.jpg
/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_34_9647.jpg
/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_44_10693.jpg
/home/pi/Desktop/images/31122025/22/27/image_31122025_22_27_54_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964488","1401964482","1401964479","1401964484","1401964492","1401964486"],"photo_ids_order":["1401964479","1401964482","1401964484","1401964486","1401964488","1401964492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/392329326b6cf548166c31c60213bec8.jpg","text":"TemporaryFile(/tmp/multipartBody4146688345927373349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219322997,"filename":"image_31122025_22_27_44_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0fb335b7988f1bf3baaf69ad0d9e0128.jpg","text":"TemporaryFile(/tmp/multipartBody8977564575124490603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219322997,"filename":"image_31122025_22_27_14_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b7d15bb875e90ad85b3942a9a92173a8.jpg","text":"TemporaryFile(/tmp/multipartBody2130709937712336505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219322997,"filename":"image_31122025_22_27_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3b3470f841a1717082b3b2b07b6c2351.jpg","text":"TemporaryFile(/tmp/multipartBody8587352341692237347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219322997,"filename":"image_31122025_22_27_24_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b78395429ca163c6a113ee58b42f02a1.jpg","text":"TemporaryFile(/tmp/multipartBody2453350364914619186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219322997,"filename":"image_31122025_22_27_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e9d79ccbca5668163823d645041dff7.jpg","text":"TemporaryFile(/tmp/multipartBody4364933962248553066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219322997,"filename":"image_31122025_22_27_34_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964484","file1":"1401964482","file0":"1401964479","file4":"1401964488","file5":"1401964492","file3":"1401964486"},"map_files_photo_id_array":[{"photo_id":"1401964492","filename":"file5"},{"photo_id":"1401964484","filename":"file2"},{"photo_id":"1401964488","filename":"file4"},{"photo_id":"1401964482","filename":"file1"},{"photo_id":"1401964479","filename":"file0"},{"photo_id":"1401964486","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964488":["hashtag1","hashtag2"]},{"1401964482":["hashtag1","hashtag2"]},{"1401964479":["hashtag1","hashtag2"]},{"1401964484":["hashtag1","hashtag2"]},{"1401964492":["hashtag1","hashtag2"]},{"1401964486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964488, 1401964482, 1401964479, 1401964484, 1401964492, 1401964486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25406622886658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:15:03.257202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/27/image_31122025_22_28_05_10561.jpg', '/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_14_9838.jpg', '/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_24_9563.jpg', '/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_35_10636.jpg', '/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_44_9528.jpg', '/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_54_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/27/image_31122025_22_28_05_10561.jpg
/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_14_9838.jpg
/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_24_9563.jpg
/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_35_10636.jpg
/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_44_9528.jpg
/home/pi/Desktop/images/31122025/22/28/image_31122025_22_28_54_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964497","1401964496","1401964499","1401964495","1401964498","1401964501"],"photo_ids_order":["1401964495","1401964496","1401964497","1401964498","1401964499","1401964501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/10f7aa82857d598bea384f6dd180aa6c.jpg","text":"TemporaryFile(/tmp/multipartBody3413100321075685269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219363896,"filename":"image_31122025_22_28_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c612f9a99c015b89cd5ab2f3ff96bfdb.jpg","text":"TemporaryFile(/tmp/multipartBody7926298649717031121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219363896,"filename":"image_31122025_22_28_14_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b4648cbbc46cd6474d932f29fb05adaf.jpg","text":"TemporaryFile(/tmp/multipartBody4104641760775328449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219363896,"filename":"image_31122025_22_28_44_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0f3023a6d1100706a4f10c0d94aa07c2.jpg","text":"TemporaryFile(/tmp/multipartBody4445068990986506489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219363896,"filename":"image_31122025_22_28_05_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a9a6fb323010389f8729ceb51c8dba3.jpg","text":"TemporaryFile(/tmp/multipartBody4919392548059187884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219363896,"filename":"image_31122025_22_28_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a86080e11e2ae00643597f2ddfba319.jpg","text":"TemporaryFile(/tmp/multipartBody4353105922754602960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219363896,"filename":"image_31122025_22_28_54_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964497","file1":"1401964496","file0":"1401964495","file4":"1401964499","file5":"1401964501","file3":"1401964498"},"map_files_photo_id_array":[{"photo_id":"1401964501","filename":"file5"},{"photo_id":"1401964497","filename":"file2"},{"photo_id":"1401964499","filename":"file4"},{"photo_id":"1401964496","filename":"file1"},{"photo_id":"1401964495","filename":"file0"},{"photo_id":"1401964498","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964497":["hashtag1","hashtag2"]},{"1401964496":["hashtag1","hashtag2"]},{"1401964499":["hashtag1","hashtag2"]},{"1401964495":["hashtag1","hashtag2"]},{"1401964498":["hashtag1","hashtag2"]},{"1401964501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964497, 1401964496, 1401964499, 1401964495, 1401964498, 1401964501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.457651138305664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:15:42.664967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_51_3782.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_54_2669.jpg', '/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_57_2697.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_03_3555.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_06_3213.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_09_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_51_3782.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_54_2669.jpg
/home/pi/Desktop/images/03112025/20/49/image_03112025_20_49_57_2697.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_03_3555.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_06_3213.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_09_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964510","1401964512","1401964509","1401964511","1401964508","1401964513"],"photo_ids_order":["1401964508","1401964509","1401964510","1401964511","1401964512","1401964513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/48bcb37e99d633a3c48de577c2e411fe.jpg","text":"TemporaryFile(/tmp/multipartBody3524396202393256104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219404566,"filename":"image_03112025_20_49_57_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bbdde33c857d190dae5910690620a694.jpg","text":"TemporaryFile(/tmp/multipartBody4555261817688606224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219404566,"filename":"image_03112025_20_50_06_3213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ebaf18e9c959db9a1aa565d59532c591.jpg","text":"TemporaryFile(/tmp/multipartBody2023994634604096017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219404566,"filename":"image_03112025_20_49_54_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a1918523730b4cc266a76972b3b98792.jpg","text":"TemporaryFile(/tmp/multipartBody5733464817169835591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219404566,"filename":"image_03112025_20_50_03_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fecbc1caeb8dafbafac9ff57c481f125.jpg","text":"TemporaryFile(/tmp/multipartBody2791528606143915581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219404566,"filename":"image_03112025_20_49_51_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/985b98ec802516decd80d7ea5800c2c1.jpg","text":"TemporaryFile(/tmp/multipartBody6745553125455213874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219404566,"filename":"image_03112025_20_50_09_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964510","file1":"1401964509","file0":"1401964508","file4":"1401964512","file5":"1401964513","file3":"1401964511"},"map_files_photo_id_array":[{"photo_id":"1401964513","filename":"file5"},{"photo_id":"1401964510","filename":"file2"},{"photo_id":"1401964512","filename":"file4"},{"photo_id":"1401964509","filename":"file1"},{"photo_id":"1401964508","filename":"file0"},{"photo_id":"1401964511","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964510":["hashtag1","hashtag2"]},{"1401964512":["hashtag1","hashtag2"]},{"1401964509":["hashtag1","hashtag2"]},{"1401964511":["hashtag1","hashtag2"]},{"1401964508":["hashtag1","hashtag2"]},{"1401964513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964510, 1401964512, 1401964509, 1401964511, 1401964508, 1401964513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67383360862732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:16:22.814864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/28/image_31122025_22_29_04_9711.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_14_10661.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_24_9732.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_34_9659.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_45_10748.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_54_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/28/image_31122025_22_29_04_9711.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_14_10661.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_24_9732.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_34_9659.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_45_10748.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_54_9780.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5235650539398193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:16:32.895294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_14_2708.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_18_3607.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_21_2551.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_24_3672.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_27_2676.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_30_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_14_2708.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_18_3607.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_21_2551.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_24_3672.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_27_2676.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_30_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964527","1401964529","1401964520","1401964523","1401964526","1401964528"],"photo_ids_order":["1401964520","1401964523","1401964526","1401964527","1401964528","1401964529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca3380b9bdd9a8e322b796589dc81c86.jpg","text":"TemporaryFile(/tmp/multipartBody3102704267049559907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219454794,"filename":"image_03112025_20_50_24_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/be75a691a3453b4f9bef69fcf2a549f1.jpg","text":"TemporaryFile(/tmp/multipartBody1793174621464134164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219454794,"filename":"image_03112025_20_50_30_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a037c6b43757e9cc77d57f258c64394b.jpg","text":"TemporaryFile(/tmp/multipartBody6109973111440696904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219454794,"filename":"image_03112025_20_50_14_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/33185e7b2fb969953bd959ed8deaeefc.jpg","text":"TemporaryFile(/tmp/multipartBody6238361152614845981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219454794,"filename":"image_03112025_20_50_18_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc21e9a30496ebc1fc988fa040bf75c8.jpg","text":"TemporaryFile(/tmp/multipartBody4069399449039367992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219454794,"filename":"image_03112025_20_50_21_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/862e461b2c3cdd7d424a62bce5a9f9a0.jpg","text":"TemporaryFile(/tmp/multipartBody5030031824991586470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219454794,"filename":"image_03112025_20_50_27_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964526","file1":"1401964523","file0":"1401964520","file4":"1401964528","file5":"1401964529","file3":"1401964527"},"map_files_photo_id_array":[{"photo_id":"1401964529","filename":"file5"},{"photo_id":"1401964526","filename":"file2"},{"photo_id":"1401964528","filename":"file4"},{"photo_id":"1401964523","filename":"file1"},{"photo_id":"1401964520","filename":"file0"},{"photo_id":"1401964527","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964527":["hashtag1","hashtag2"]},{"1401964529":["hashtag1","hashtag2"]},{"1401964520":["hashtag1","hashtag2"]},{"1401964523":["hashtag1","hashtag2"]},{"1401964526":["hashtag1","hashtag2"]},{"1401964528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964527, 1401964529, 1401964520, 1401964523, 1401964526, 1401964528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.232378005981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:17:11.985499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_33_3629.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_36_2764.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_39_2564.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_42_3652.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_48_2634.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_51_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_33_3629.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_36_2764.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_39_2564.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_42_3652.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_48_2634.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_51_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964536","1401964530","1401964532","1401964538","1401964531","1401964534"],"photo_ids_order":["1401964530","1401964531","1401964532","1401964534","1401964536","1401964538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a074519c88344ed2e4b6dce41dca72c8.jpg","text":"TemporaryFile(/tmp/multipartBody1761515175651236562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219493758,"filename":"image_03112025_20_50_48_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d2030d2e2c9bfae922f8efa5223a0046.jpg","text":"TemporaryFile(/tmp/multipartBody3438310897035164416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219493758,"filename":"image_03112025_20_50_33_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fded4f11d67045f5edaa49e7b612d76.jpg","text":"TemporaryFile(/tmp/multipartBody5955991426407182306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219493758,"filename":"image_03112025_20_50_39_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec425644e49f47b4f3c8aa7ce85f9c4b.jpg","text":"TemporaryFile(/tmp/multipartBody5558771821706753926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219493758,"filename":"image_03112025_20_50_51_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ccb0d1ededc480182f18a9a3795740f7.jpg","text":"TemporaryFile(/tmp/multipartBody7250241233945028157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219493758,"filename":"image_03112025_20_50_36_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/adb19b2503d555168531ef8cf84e71ea.jpg","text":"TemporaryFile(/tmp/multipartBody1677261733827246038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219493758,"filename":"image_03112025_20_50_42_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964532","file1":"1401964531","file0":"1401964530","file4":"1401964536","file5":"1401964538","file3":"1401964534"},"map_files_photo_id_array":[{"photo_id":"1401964538","filename":"file5"},{"photo_id":"1401964532","filename":"file2"},{"photo_id":"1401964536","filename":"file4"},{"photo_id":"1401964531","filename":"file1"},{"photo_id":"1401964530","filename":"file0"},{"photo_id":"1401964534","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964536":["hashtag1","hashtag2"]},{"1401964530":["hashtag1","hashtag2"]},{"1401964532":["hashtag1","hashtag2"]},{"1401964538":["hashtag1","hashtag2"]},{"1401964531":["hashtag1","hashtag2"]},{"1401964534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964536, 1401964530, 1401964532, 1401964538, 1401964531, 1401964534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07566976547241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:18:02.770099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/28/image_31122025_22_29_04_9711.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_14_10661.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_24_9732.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_34_9659.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_45_10748.jpg', '/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_54_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/28/image_31122025_22_29_04_9711.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_14_10661.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_24_9732.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_34_9659.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_45_10748.jpg
/home/pi/Desktop/images/31122025/22/29/image_31122025_22_29_54_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964548","1401964542","1401964545","1401964544","1401964543","1401964546"],"photo_ids_order":["1401964542","1401964543","1401964544","1401964545","1401964546","1401964548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8dd58bbfee54894f39d110386c51feee.jpg","text":"TemporaryFile(/tmp/multipartBody4508549227257529428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219543394,"filename":"image_31122025_22_29_54_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f2163ede1d56dcae16a9c49fee18d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3283056596064609306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219543394,"filename":"image_31122025_22_29_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bf375c5844db698b5b0c92a78cf3db1e.jpg","text":"TemporaryFile(/tmp/multipartBody3510508069524838992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219543394,"filename":"image_31122025_22_29_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78b1481ec9254528ce1f49458061f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody3045823973878618015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219543394,"filename":"image_31122025_22_29_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d29e79377ce34740c903c7b9cedb6080.jpg","text":"TemporaryFile(/tmp/multipartBody6354626144938218434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219543394,"filename":"image_31122025_22_29_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/811d393ab47d84e9b6f8834877e98814.jpg","text":"TemporaryFile(/tmp/multipartBody1737631749309254412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219543394,"filename":"image_31122025_22_29_45_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964544","file1":"1401964543","file0":"1401964542","file4":"1401964546","file5":"1401964548","file3":"1401964545"},"map_files_photo_id_array":[{"photo_id":"1401964548","filename":"file5"},{"photo_id":"1401964544","filename":"file2"},{"photo_id":"1401964546","filename":"file4"},{"photo_id":"1401964543","filename":"file1"},{"photo_id":"1401964542","filename":"file0"},{"photo_id":"1401964545","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964548":["hashtag1","hashtag2"]},{"1401964542":["hashtag1","hashtag2"]},{"1401964545":["hashtag1","hashtag2"]},{"1401964544":["hashtag1","hashtag2"]},{"1401964543":["hashtag1","hashtag2"]},{"1401964546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964548, 1401964542, 1401964545, 1401964544, 1401964543, 1401964546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2642662525177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:18:42.427606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_54_2576.jpg', '/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_56_2617.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_03_2686.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_06_2847.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_09_3589.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_12_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_54_2576.jpg
/home/pi/Desktop/images/03112025/20/50/image_03112025_20_50_56_2617.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_03_2686.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_06_2847.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_09_3589.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_12_2819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964554","1401964557","1401964553","1401964556","1401964558","1401964555"],"photo_ids_order":["1401964553","1401964554","1401964555","1401964556","1401964557","1401964558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c8b14d5b57afe4ba498bb08070def4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7453723456892928196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219584324,"filename":"image_03112025_20_50_56_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77c794831e581af0b0fca210ac8e6226.jpg","text":"TemporaryFile(/tmp/multipartBody733725989432104173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219584324,"filename":"image_03112025_20_51_09_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e53419ab65cebe00183551ce38f28d27.jpg","text":"TemporaryFile(/tmp/multipartBody4338829231720899536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219584324,"filename":"image_03112025_20_50_54_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa38213fa18023e2d3c2f5b4cff6a229.jpg","text":"TemporaryFile(/tmp/multipartBody7069954194815974780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219584324,"filename":"image_03112025_20_51_06_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c832a10457d640ca08329ebf79c919e4.jpg","text":"TemporaryFile(/tmp/multipartBody7044304318357920031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219584324,"filename":"image_03112025_20_51_12_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b5dab10002ffc8a285a81cc78a188db.jpg","text":"TemporaryFile(/tmp/multipartBody1736457440740156605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219584324,"filename":"image_03112025_20_51_03_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964555","file1":"1401964554","file0":"1401964553","file4":"1401964557","file5":"1401964558","file3":"1401964556"},"map_files_photo_id_array":[{"photo_id":"1401964558","filename":"file5"},{"photo_id":"1401964555","filename":"file2"},{"photo_id":"1401964557","filename":"file4"},{"photo_id":"1401964554","filename":"file1"},{"photo_id":"1401964553","filename":"file0"},{"photo_id":"1401964556","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964554":["hashtag1","hashtag2"]},{"1401964557":["hashtag1","hashtag2"]},{"1401964553":["hashtag1","hashtag2"]},{"1401964556":["hashtag1","hashtag2"]},{"1401964558":["hashtag1","hashtag2"]},{"1401964555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964554, 1401964557, 1401964553, 1401964556, 1401964558, 1401964555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.403576135635376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:19:22.560233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_14_10055.jpg', '/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_25_10754.jpg', '/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_34_9846.jpg', '/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_44_9619.jpg', '/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_55_10656.jpg', '/home/pi/Desktop/images/31122025/22/30/image_31122025_22_31_04_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_14_10055.jpg
/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_25_10754.jpg
/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_34_9846.jpg
/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_44_9619.jpg
/home/pi/Desktop/images/31122025/22/30/image_31122025_22_30_55_10656.jpg
/home/pi/Desktop/images/31122025/22/30/image_31122025_22_31_04_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964569","1401964563","1401964571","1401964565","1401964561","1401964567"],"photo_ids_order":["1401964561","1401964563","1401964565","1401964567","1401964569","1401964571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc82bc4521f7be3df313bae28c090ccc.jpg","text":"TemporaryFile(/tmp/multipartBody3245010628113595517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219623160,"filename":"image_31122025_22_30_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bc6f7a927e945330aa705eda4ae07d82.jpg","text":"TemporaryFile(/tmp/multipartBody5869340340430126461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219623160,"filename":"image_31122025_22_30_25_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/273fdbc4d470e27d4e4c6c45af30269c.jpg","text":"TemporaryFile(/tmp/multipartBody2149098486548557940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219623160,"filename":"image_31122025_22_31_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7710e6b3d47a65ff7503882ba8af7092.jpg","text":"TemporaryFile(/tmp/multipartBody2391720060299532566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219623160,"filename":"image_31122025_22_30_34_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7e14d2e1cb0b92f05e24a18c2a72464.jpg","text":"TemporaryFile(/tmp/multipartBody35293622023320577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219623160,"filename":"image_31122025_22_30_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/06308ab8612fff329ccf3492bc923aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2964352108110360675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219623160,"filename":"image_31122025_22_30_44_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964565","file1":"1401964563","file0":"1401964561","file4":"1401964569","file5":"1401964571","file3":"1401964567"},"map_files_photo_id_array":[{"photo_id":"1401964571","filename":"file5"},{"photo_id":"1401964565","filename":"file2"},{"photo_id":"1401964569","filename":"file4"},{"photo_id":"1401964563","filename":"file1"},{"photo_id":"1401964561","filename":"file0"},{"photo_id":"1401964567","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964569":["hashtag1","hashtag2"]},{"1401964563":["hashtag1","hashtag2"]},{"1401964571":["hashtag1","hashtag2"]},{"1401964565":["hashtag1","hashtag2"]},{"1401964561":["hashtag1","hashtag2"]},{"1401964567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964569, 1401964563, 1401964571, 1401964565, 1401964561, 1401964567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25960969924927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:20:03.110470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_14_9679.jpg', '/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_25_10766.jpg', '/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_34_9619.jpg', '/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_44_9817.jpg', '/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_54_9587.jpg', '/home/pi/Desktop/images/31122025/22/31/image_31122025_22_32_05_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_14_9679.jpg
/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_25_10766.jpg
/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_34_9619.jpg
/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_44_9817.jpg
/home/pi/Desktop/images/31122025/22/31/image_31122025_22_31_54_9587.jpg
/home/pi/Desktop/images/31122025/22/31/image_31122025_22_32_05_10787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964572","1401964577","1401964580","1401964574","1401964576","1401964573"],"photo_ids_order":["1401964572","1401964573","1401964574","1401964576","1401964577","1401964580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/768b4b7f49e84713394365f917dbd6aa.jpg","text":"TemporaryFile(/tmp/multipartBody4985575862154426739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219663723,"filename":"image_31122025_22_31_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e446fbc24c75083c82102bb521aeb3fd.jpg","text":"TemporaryFile(/tmp/multipartBody2111910584565010107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219663723,"filename":"image_31122025_22_31_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca24a64d16698d3bc50c3e12c7de70aa.jpg","text":"TemporaryFile(/tmp/multipartBody6596032945997124701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219663723,"filename":"image_31122025_22_32_05_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/79352b59b014e3656160b25fc9596714.jpg","text":"TemporaryFile(/tmp/multipartBody7973373623886767529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219663723,"filename":"image_31122025_22_31_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/27583f5661c65ba7dfa9bb51ee581457.jpg","text":"TemporaryFile(/tmp/multipartBody70414778507926387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219663723,"filename":"image_31122025_22_31_44_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b50a3417a1e9c0692f43d611479e9e53.jpg","text":"TemporaryFile(/tmp/multipartBody6805053783547503938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219663723,"filename":"image_31122025_22_31_25_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964574","file1":"1401964573","file0":"1401964572","file4":"1401964577","file5":"1401964580","file3":"1401964576"},"map_files_photo_id_array":[{"photo_id":"1401964580","filename":"file5"},{"photo_id":"1401964574","filename":"file2"},{"photo_id":"1401964577","filename":"file4"},{"photo_id":"1401964573","filename":"file1"},{"photo_id":"1401964572","filename":"file0"},{"photo_id":"1401964576","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964572":["hashtag1","hashtag2"]},{"1401964577":["hashtag1","hashtag2"]},{"1401964580":["hashtag1","hashtag2"]},{"1401964574":["hashtag1","hashtag2"]},{"1401964576":["hashtag1","hashtag2"]},{"1401964573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964572, 1401964577, 1401964580, 1401964574, 1401964576, 1401964573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.248464584350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:20:42.839785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_15_2713.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_17_2653.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_21_3580.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_24_2680.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_26_2812.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_30_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_15_2713.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_17_2653.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_21_3580.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_24_2680.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_26_2812.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_30_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964593","1401964587","1401964592","1401964594","1401964591","1401964590"],"photo_ids_order":["1401964587","1401964590","1401964591","1401964592","1401964593","1401964594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea05639fbc42aba66b7e24974bfb447d.jpg","text":"TemporaryFile(/tmp/multipartBody6010283930395506831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219704742,"filename":"image_03112025_20_51_26_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b263c66d7f115c23b36e1bfa8b7f330.jpg","text":"TemporaryFile(/tmp/multipartBody8103177249081272155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219704742,"filename":"image_03112025_20_51_15_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7b7f53e99dce6657e1c50aac7f95a556.jpg","text":"TemporaryFile(/tmp/multipartBody5030316037756913761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219704742,"filename":"image_03112025_20_51_24_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a51babd7a8af7874baaf477c3379f25.jpg","text":"TemporaryFile(/tmp/multipartBody449376835151321315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219704742,"filename":"image_03112025_20_51_30_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/52442ec5d505b430ded946f6f7e01426.jpg","text":"TemporaryFile(/tmp/multipartBody5991263141491426990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219704742,"filename":"image_03112025_20_51_21_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c6a1738f3011c1caee3a1bbbd87c9e2.jpg","text":"TemporaryFile(/tmp/multipartBody4595299667404821955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219704742,"filename":"image_03112025_20_51_17_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964591","file1":"1401964590","file0":"1401964587","file4":"1401964593","file5":"1401964594","file3":"1401964592"},"map_files_photo_id_array":[{"photo_id":"1401964594","filename":"file5"},{"photo_id":"1401964591","filename":"file2"},{"photo_id":"1401964593","filename":"file4"},{"photo_id":"1401964590","filename":"file1"},{"photo_id":"1401964587","filename":"file0"},{"photo_id":"1401964592","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964593":["hashtag1","hashtag2"]},{"1401964587":["hashtag1","hashtag2"]},{"1401964592":["hashtag1","hashtag2"]},{"1401964594":["hashtag1","hashtag2"]},{"1401964591":["hashtag1","hashtag2"]},{"1401964590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964593, 1401964587, 1401964592, 1401964594, 1401964591, 1401964590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.136507511138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:21:22.025632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_14_9732.jpg', '/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_24_9764.jpg', '/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_34_9825.jpg', '/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_45_10572.jpg', '/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_54_9640.jpg', '/home/pi/Desktop/images/31122025/22/32/image_31122025_22_33_05_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_14_9732.jpg
/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_24_9764.jpg
/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_34_9825.jpg
/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_45_10572.jpg
/home/pi/Desktop/images/31122025/22/32/image_31122025_22_32_54_9640.jpg
/home/pi/Desktop/images/31122025/22/32/image_31122025_22_33_05_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964603","1401964596","1401964605","1401964608","1401964601","1401964599"],"photo_ids_order":["1401964596","1401964599","1401964601","1401964603","1401964605","1401964608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c6e7fad3e8554c2608add612bfc486ce.jpg","text":"TemporaryFile(/tmp/multipartBody5549990018746997493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219742655,"filename":"image_31122025_22_32_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3617373ceab09f12aa14b1f589552f42.jpg","text":"TemporaryFile(/tmp/multipartBody1641685142857774094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219742655,"filename":"image_31122025_22_32_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/262676a1f6814b1f27e1f5a932408e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3978939997512044352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219742655,"filename":"image_31122025_22_32_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/832f50cc49d82a16b51f92d62daebced.jpg","text":"TemporaryFile(/tmp/multipartBody150641470470359746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219742655,"filename":"image_31122025_22_33_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0243ab71a7453441faba63c5641b6b60.jpg","text":"TemporaryFile(/tmp/multipartBody4666265509486460294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219742655,"filename":"image_31122025_22_32_34_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6138a05e27f12a00d1fe30d73d61bea1.jpg","text":"TemporaryFile(/tmp/multipartBody3929542588325835133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219742655,"filename":"image_31122025_22_32_24_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964601","file1":"1401964599","file0":"1401964596","file4":"1401964605","file5":"1401964608","file3":"1401964603"},"map_files_photo_id_array":[{"photo_id":"1401964608","filename":"file5"},{"photo_id":"1401964601","filename":"file2"},{"photo_id":"1401964605","filename":"file4"},{"photo_id":"1401964599","filename":"file1"},{"photo_id":"1401964596","filename":"file0"},{"photo_id":"1401964603","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964603":["hashtag1","hashtag2"]},{"1401964596":["hashtag1","hashtag2"]},{"1401964605":["hashtag1","hashtag2"]},{"1401964608":["hashtag1","hashtag2"]},{"1401964601":["hashtag1","hashtag2"]},{"1401964599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964603, 1401964596, 1401964605, 1401964608, 1401964601, 1401964599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.589791774749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:22:02.739187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_15_9800.jpg', '/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_24_9621.jpg', '/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_34_9627.jpg', '/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_45_10702.jpg', '/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_54_9736.jpg', '/home/pi/Desktop/images/31122025/22/33/image_31122025_22_34_04_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_15_9800.jpg
/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_24_9621.jpg
/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_34_9627.jpg
/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_45_10702.jpg
/home/pi/Desktop/images/31122025/22/33/image_31122025_22_33_54_9736.jpg
/home/pi/Desktop/images/31122025/22/33/image_31122025_22_34_04_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964611","1401964614","1401964613","1401964616","1401964610","1401964612"],"photo_ids_order":["1401964610","1401964611","1401964612","1401964613","1401964614","1401964616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e20821e964f95429200e6a6dd240ebe3.jpg","text":"TemporaryFile(/tmp/multipartBody6757220621728495332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219783361,"filename":"image_31122025_22_33_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/941e9951976eb627472e959425affdf0.jpg","text":"TemporaryFile(/tmp/multipartBody5150616905480551732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219783361,"filename":"image_31122025_22_33_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b707336dac7c1a732442fc84d5634235.jpg","text":"TemporaryFile(/tmp/multipartBody5079854945712928074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219783361,"filename":"image_31122025_22_33_45_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/39d56d598a8f744598ce0ee1a9c71f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6192653462970926352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219783361,"filename":"image_31122025_22_34_04_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/556e489d0f171d9765ea742ebff185b7.jpg","text":"TemporaryFile(/tmp/multipartBody3995192287871053288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219783361,"filename":"image_31122025_22_33_15_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/44bf0c9160f6e784a23eb388087bedde.jpg","text":"TemporaryFile(/tmp/multipartBody14274453817646993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219783361,"filename":"image_31122025_22_33_34_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964612","file1":"1401964611","file0":"1401964610","file4":"1401964614","file5":"1401964616","file3":"1401964613"},"map_files_photo_id_array":[{"photo_id":"1401964616","filename":"file5"},{"photo_id":"1401964612","filename":"file2"},{"photo_id":"1401964614","filename":"file4"},{"photo_id":"1401964611","filename":"file1"},{"photo_id":"1401964610","filename":"file0"},{"photo_id":"1401964613","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964611":["hashtag1","hashtag2"]},{"1401964614":["hashtag1","hashtag2"]},{"1401964613":["hashtag1","hashtag2"]},{"1401964616":["hashtag1","hashtag2"]},{"1401964610":["hashtag1","hashtag2"]},{"1401964612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964611, 1401964614, 1401964613, 1401964616, 1401964610, 1401964612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31894850730896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:22:42.274600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_33_2737.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_36_2811.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_38_2722.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_42_3506.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_45_2663.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_47_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_33_2737.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_36_2811.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_38_2722.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_42_3506.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_45_2663.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_47_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964629","1401964626","1401964628","1401964622","1401964625","1401964627"],"photo_ids_order":["1401964622","1401964625","1401964626","1401964627","1401964628","1401964629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9534aba8db187657c62be5263d55e27f.jpg","text":"TemporaryFile(/tmp/multipartBody3619045004256058377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219824156,"filename":"image_03112025_20_51_47_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d6578096af8dc0c4cfd5cc5fd594b19.jpg","text":"TemporaryFile(/tmp/multipartBody1148213889487516223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219824156,"filename":"image_03112025_20_51_38_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2cb8ce96f636becf1d43f3b9dee8da28.jpg","text":"TemporaryFile(/tmp/multipartBody33990177973363218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219824156,"filename":"image_03112025_20_51_45_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/112ea1625f36b7954a46a001aed0a066.jpg","text":"TemporaryFile(/tmp/multipartBody8173126090596985306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219824156,"filename":"image_03112025_20_51_33_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9186dbb10099efb59af1e2fa63eac286.jpg","text":"TemporaryFile(/tmp/multipartBody958512632723745679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219824156,"filename":"image_03112025_20_51_36_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/643810c748e3c6a72d40e3ce63eaa537.jpg","text":"TemporaryFile(/tmp/multipartBody7102888660819840236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219824156,"filename":"image_03112025_20_51_42_3506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964626","file1":"1401964625","file0":"1401964622","file4":"1401964628","file5":"1401964629","file3":"1401964627"},"map_files_photo_id_array":[{"photo_id":"1401964629","filename":"file5"},{"photo_id":"1401964626","filename":"file2"},{"photo_id":"1401964628","filename":"file4"},{"photo_id":"1401964625","filename":"file1"},{"photo_id":"1401964622","filename":"file0"},{"photo_id":"1401964627","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964629":["hashtag1","hashtag2"]},{"1401964626":["hashtag1","hashtag2"]},{"1401964628":["hashtag1","hashtag2"]},{"1401964622":["hashtag1","hashtag2"]},{"1401964625":["hashtag1","hashtag2"]},{"1401964627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964629, 1401964626, 1401964628, 1401964622, 1401964625, 1401964627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.958284854888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:23:22.505772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_15_10577.jpg', '/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_24_9677.jpg', '/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_34_9855.jpg', '/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_44_9692.jpg', '/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_55_10678.jpg', '/home/pi/Desktop/images/31122025/22/36/image_31122025_22_36_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_15_10577.jpg
/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_24_9677.jpg
/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_34_9855.jpg
/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_44_9692.jpg
/home/pi/Desktop/images/31122025/22/34/image_31122025_22_34_55_10678.jpg
/home/pi/Desktop/images/31122025/22/36/image_31122025_22_36_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964635","1401964632","1401964643","1401964639","1401964630","1401964636"],"photo_ids_order":["1401964630","1401964632","1401964635","1401964636","1401964639","1401964643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d038e6e343846206857dd4881efff1c7.jpg","text":"TemporaryFile(/tmp/multipartBody5187674365631317986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219863104,"filename":"image_31122025_22_34_34_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fab427daef7a594d348bd94e64a1e75f.jpg","text":"TemporaryFile(/tmp/multipartBody6428680413238993212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219863104,"filename":"image_31122025_22_34_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/08ec3455e6ed7209094c8efba9b3c4f5.jpg","text":"TemporaryFile(/tmp/multipartBody2627882649247895851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219863104,"filename":"image_31122025_22_36_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff21c6621b56e4b95f7a7efa2b98150a.jpg","text":"TemporaryFile(/tmp/multipartBody7777031104714563782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219863104,"filename":"image_31122025_22_34_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f879603b78b1cfc63ea2eb556edab6a0.jpg","text":"TemporaryFile(/tmp/multipartBody3052908722554704654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219863104,"filename":"image_31122025_22_34_15_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d4832f43640a7e9ba9a26643d48b615.jpg","text":"TemporaryFile(/tmp/multipartBody6957577107096588544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219863104,"filename":"image_31122025_22_34_44_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964635","file1":"1401964632","file0":"1401964630","file4":"1401964639","file5":"1401964643","file3":"1401964636"},"map_files_photo_id_array":[{"photo_id":"1401964643","filename":"file5"},{"photo_id":"1401964635","filename":"file2"},{"photo_id":"1401964639","filename":"file4"},{"photo_id":"1401964632","filename":"file1"},{"photo_id":"1401964630","filename":"file0"},{"photo_id":"1401964636","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964635":["hashtag1","hashtag2"]},{"1401964632":["hashtag1","hashtag2"]},{"1401964643":["hashtag1","hashtag2"]},{"1401964639":["hashtag1","hashtag2"]},{"1401964630":["hashtag1","hashtag2"]},{"1401964636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964635, 1401964632, 1401964643, 1401964639, 1401964630, 1401964636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45349955558777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:24:03.253172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/36/image_31122025_22_36_34_9664.jpg', '/home/pi/Desktop/images/31122025/22/36/image_31122025_22_36_45_10547.jpg', '/home/pi/Desktop/images/31122025/22/36/image_31122025_22_36_54_9806.jpg', '/home/pi/Desktop/images/31122025/22/36/image_31122025_22_37_04_9548.jpg', '/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_14_10581.jpg', '/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_24_9913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/36/image_31122025_22_36_34_9664.jpg
/home/pi/Desktop/images/31122025/22/36/image_31122025_22_36_45_10547.jpg
/home/pi/Desktop/images/31122025/22/36/image_31122025_22_36_54_9806.jpg
/home/pi/Desktop/images/31122025/22/36/image_31122025_22_37_04_9548.jpg
/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_14_10581.jpg
/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_24_9913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964653","1401964650","1401964658","1401964652","1401964655","1401964649"],"photo_ids_order":["1401964649","1401964650","1401964652","1401964653","1401964655","1401964658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/896d80a05f05fc44c1c803e7fee66952.jpg","text":"TemporaryFile(/tmp/multipartBody4082029831623905673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219903979,"filename":"image_31122025_22_37_04_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31724e0c89069223340c30bda69d57b8.jpg","text":"TemporaryFile(/tmp/multipartBody2692760451646330830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219903979,"filename":"image_31122025_22_36_45_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3b15c98969584e0e10ccda786057235.jpg","text":"TemporaryFile(/tmp/multipartBody4465760930041640524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219903979,"filename":"image_31122025_22_37_24_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/baf65813371b3954a0f7ccaa053d3d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5076282442921199405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219903979,"filename":"image_31122025_22_36_54_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/31b4aa6a0612eb0d3328eeb3da8d574e.jpg","text":"TemporaryFile(/tmp/multipartBody9057908504872588928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219903979,"filename":"image_31122025_22_37_14_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a5905c434e9e89eab6a51514e7b58ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3310963073064577044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219903979,"filename":"image_31122025_22_36_34_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964652","file1":"1401964650","file0":"1401964649","file4":"1401964655","file5":"1401964658","file3":"1401964653"},"map_files_photo_id_array":[{"photo_id":"1401964658","filename":"file5"},{"photo_id":"1401964652","filename":"file2"},{"photo_id":"1401964655","filename":"file4"},{"photo_id":"1401964650","filename":"file1"},{"photo_id":"1401964649","filename":"file0"},{"photo_id":"1401964653","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964653":["hashtag1","hashtag2"]},{"1401964650":["hashtag1","hashtag2"]},{"1401964658":["hashtag1","hashtag2"]},{"1401964652":["hashtag1","hashtag2"]},{"1401964655":["hashtag1","hashtag2"]},{"1401964649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964653, 1401964650, 1401964658, 1401964652, 1401964655, 1401964649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93488836288452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:24:42.701441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_51_3701.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_54_2551.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_57_3610.jpg', '/home/pi/Desktop/images/03112025/20/51/image_03112025_20_52_00_2645.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_02_2668.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_06_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_51_3701.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_54_2551.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_51_57_3610.jpg
/home/pi/Desktop/images/03112025/20/51/image_03112025_20_52_00_2645.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_02_2668.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_06_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964668","1401964670","1401964664","1401964667","1401964669","1401964666"],"photo_ids_order":["1401964664","1401964666","1401964667","1401964668","1401964669","1401964670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/03407c72670d001bfa76e17019abd617.jpg","text":"TemporaryFile(/tmp/multipartBody2813310584428144173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219944576,"filename":"image_03112025_20_52_00_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/56bedb49749234664106445c5affdba7.jpg","text":"TemporaryFile(/tmp/multipartBody1442649653950522038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219944576,"filename":"image_03112025_20_52_06_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/174059d3b79a47d9d0d15e38f90c3c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1278473562855502589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219944576,"filename":"image_03112025_20_51_51_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/099f68ffac9950d1efc0f075e3f722b1.jpg","text":"TemporaryFile(/tmp/multipartBody7020906404988296410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219944576,"filename":"image_03112025_20_51_57_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/541552469567b07204a93a49928a1ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5615789859815720318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219944576,"filename":"image_03112025_20_52_02_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c99d2a6485963f389ed0dac6fe489fc.jpg","text":"TemporaryFile(/tmp/multipartBody3423376651467978707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219944576,"filename":"image_03112025_20_51_54_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964667","file1":"1401964666","file0":"1401964664","file4":"1401964669","file5":"1401964670","file3":"1401964668"},"map_files_photo_id_array":[{"photo_id":"1401964670","filename":"file5"},{"photo_id":"1401964667","filename":"file2"},{"photo_id":"1401964669","filename":"file4"},{"photo_id":"1401964666","filename":"file1"},{"photo_id":"1401964664","filename":"file0"},{"photo_id":"1401964668","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964668":["hashtag1","hashtag2"]},{"1401964670":["hashtag1","hashtag2"]},{"1401964664":["hashtag1","hashtag2"]},{"1401964667":["hashtag1","hashtag2"]},{"1401964669":["hashtag1","hashtag2"]},{"1401964666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964668, 1401964670, 1401964664, 1401964667, 1401964669, 1401964666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24345874786377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:25:21.900667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_34_9747.jpg', '/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_44_9693.jpg', '/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_54_10637.jpg', '/home/pi/Desktop/images/31122025/22/37/image_31122025_22_38_04_9528.jpg', '/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_15_10618.jpg', '/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_24_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_34_9747.jpg
/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_44_9693.jpg
/home/pi/Desktop/images/31122025/22/37/image_31122025_22_37_54_10637.jpg
/home/pi/Desktop/images/31122025/22/37/image_31122025_22_38_04_9528.jpg
/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_15_10618.jpg
/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_24_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964680","1401964677","1401964682","1401964673","1401964675","1401964684"],"photo_ids_order":["1401964673","1401964675","1401964677","1401964680","1401964682","1401964684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4c5207bcc06b7293a59a36cea967c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5232115748945327292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219982535,"filename":"image_31122025_22_38_04_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3599ea72e240f47e72527ddbe01bbe85.jpg","text":"TemporaryFile(/tmp/multipartBody460948474114191342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219982535,"filename":"image_31122025_22_37_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e98cd48d9b53c7dc0ee2b20a1a984cf0.jpg","text":"TemporaryFile(/tmp/multipartBody2591914212099919164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219982535,"filename":"image_31122025_22_38_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/49f0720baab88c8b0e391aa59fcfa391.jpg","text":"TemporaryFile(/tmp/multipartBody2751986148362007499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219982535,"filename":"image_31122025_22_37_34_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7edacd5ede801748808a7d030f03c9c3.jpg","text":"TemporaryFile(/tmp/multipartBody4262196739695416929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219982535,"filename":"image_31122025_22_37_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/275d13196d11848cb4923530ada92700.jpg","text":"TemporaryFile(/tmp/multipartBody2198931779677156238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767219982535,"filename":"image_31122025_22_38_24_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964677","file1":"1401964675","file0":"1401964673","file4":"1401964682","file5":"1401964684","file3":"1401964680"},"map_files_photo_id_array":[{"photo_id":"1401964684","filename":"file5"},{"photo_id":"1401964677","filename":"file2"},{"photo_id":"1401964682","filename":"file4"},{"photo_id":"1401964675","filename":"file1"},{"photo_id":"1401964673","filename":"file0"},{"photo_id":"1401964680","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964680":["hashtag1","hashtag2"]},{"1401964677":["hashtag1","hashtag2"]},{"1401964682":["hashtag1","hashtag2"]},{"1401964673":["hashtag1","hashtag2"]},{"1401964675":["hashtag1","hashtag2"]},{"1401964684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964680, 1401964677, 1401964682, 1401964673, 1401964675, 1401964684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.363832235336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:26:02.536995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_34_9628.jpg', '/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_44_10618.jpg', '/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_54_9550.jpg', '/home/pi/Desktop/images/31122025/22/38/image_31122025_22_39_04_9788.jpg', '/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_14_10620.jpg', '/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_34_9628.jpg
/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_44_10618.jpg
/home/pi/Desktop/images/31122025/22/38/image_31122025_22_38_54_9550.jpg
/home/pi/Desktop/images/31122025/22/38/image_31122025_22_39_04_9788.jpg
/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_14_10620.jpg
/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964686","1401964691","1401964685","1401964688","1401964687","1401964690"],"photo_ids_order":["1401964685","1401964686","1401964687","1401964688","1401964690","1401964691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/55ba8db2dd54c0e2b441c200b1758e50.jpg","text":"TemporaryFile(/tmp/multipartBody3614540439291479984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220023160,"filename":"image_31122025_22_38_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1fb252dcc1d6a8fb13e5f8e12fb50016.jpg","text":"TemporaryFile(/tmp/multipartBody7014183428073702783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220023160,"filename":"image_31122025_22_39_24_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fc2c03de8658b5916baa561b56c72692.jpg","text":"TemporaryFile(/tmp/multipartBody7276486819482774315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220023160,"filename":"image_31122025_22_38_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1b8421cb863d5d932b2e76cd114edc20.jpg","text":"TemporaryFile(/tmp/multipartBody3928355257964865394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220023160,"filename":"image_31122025_22_39_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38fcebf872d949fdb1efdabd9fcb5142.jpg","text":"TemporaryFile(/tmp/multipartBody5122770124611995293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220023160,"filename":"image_31122025_22_38_54_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a34be7cd0cfbc6f6c409ea4889e0385e.jpg","text":"TemporaryFile(/tmp/multipartBody4883899776713328482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220023160,"filename":"image_31122025_22_39_14_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964687","file1":"1401964686","file0":"1401964685","file4":"1401964690","file5":"1401964691","file3":"1401964688"},"map_files_photo_id_array":[{"photo_id":"1401964691","filename":"file5"},{"photo_id":"1401964687","filename":"file2"},{"photo_id":"1401964690","filename":"file4"},{"photo_id":"1401964686","filename":"file1"},{"photo_id":"1401964685","filename":"file0"},{"photo_id":"1401964688","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964686":["hashtag1","hashtag2"]},{"1401964691":["hashtag1","hashtag2"]},{"1401964685":["hashtag1","hashtag2"]},{"1401964688":["hashtag1","hashtag2"]},{"1401964687":["hashtag1","hashtag2"]},{"1401964690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964686, 1401964691, 1401964685, 1401964688, 1401964687, 1401964690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03292417526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:26:42.202619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_09_2680.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_11_2572.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_14_2808.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_18_3540.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_21_2904.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_23_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_09_2680.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_11_2572.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_14_2808.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_18_3540.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_21_2904.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_23_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964702","1401964710","1401964704","1401964706","1401964708","1401964698"],"photo_ids_order":["1401964698","1401964702","1401964704","1401964706","1401964708","1401964710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5ebac242bd902cbf8487cbf0fe4b59b.jpg","text":"TemporaryFile(/tmp/multipartBody4702553782319988445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220064117,"filename":"image_03112025_20_52_11_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/032ac40f3754cd070b94755c996823d7.jpg","text":"TemporaryFile(/tmp/multipartBody5242477833984327468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220064117,"filename":"image_03112025_20_52_23_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/78ccfacafd74c4d3c901b4cfe0ee7753.jpg","text":"TemporaryFile(/tmp/multipartBody1923451745621327957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220064117,"filename":"image_03112025_20_52_14_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7e3dfd097b650c4405e8753bd681ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5745709805882479163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220064117,"filename":"image_03112025_20_52_18_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cafc18f12498bde545412bf2108d1c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1063604988556462453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220064117,"filename":"image_03112025_20_52_21_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/706ebef92723ff9b45c0af69f1ce2604.jpg","text":"TemporaryFile(/tmp/multipartBody3202042345404062440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220064117,"filename":"image_03112025_20_52_09_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964704","file1":"1401964702","file0":"1401964698","file4":"1401964708","file5":"1401964710","file3":"1401964706"},"map_files_photo_id_array":[{"photo_id":"1401964710","filename":"file5"},{"photo_id":"1401964704","filename":"file2"},{"photo_id":"1401964708","filename":"file4"},{"photo_id":"1401964702","filename":"file1"},{"photo_id":"1401964698","filename":"file0"},{"photo_id":"1401964706","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964702":["hashtag1","hashtag2"]},{"1401964710":["hashtag1","hashtag2"]},{"1401964704":["hashtag1","hashtag2"]},{"1401964706":["hashtag1","hashtag2"]},{"1401964708":["hashtag1","hashtag2"]},{"1401964698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964702, 1401964710, 1401964704, 1401964706, 1401964708, 1401964698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1948184967041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:27:22.379446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_34_9637.jpg', '/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_45_10635.jpg', '/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_54_9603.jpg', '/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_14_10054.jpg', '/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_25_10784.jpg', '/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_35_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_34_9637.jpg
/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_45_10635.jpg
/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_54_9603.jpg
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_14_10054.jpg
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_25_10784.jpg
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_35_9594.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5290937423706055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:27:32.352499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_26_2887.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_30_3664.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_32_2602.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_36_3562.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_39_2576.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_41_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_26_2887.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_30_3664.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_32_2602.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_36_3562.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_39_2576.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_41_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964728","1401964725","1401964727","1401964721","1401964718","1401964729"],"photo_ids_order":["1401964718","1401964721","1401964725","1401964727","1401964728","1401964729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f20f8911094ed24ffd0c0702fbb9d3af.jpg","text":"TemporaryFile(/tmp/multipartBody4962141879897950347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220114257,"filename":"image_03112025_20_52_39_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9bb2f97345adf4f9d67146728fdcc374.jpg","text":"TemporaryFile(/tmp/multipartBody117776560539420939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220114257,"filename":"image_03112025_20_52_32_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/40d9174df1f2fb2fd24f2bcf47b306e2.jpg","text":"TemporaryFile(/tmp/multipartBody889700501874112664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220114257,"filename":"image_03112025_20_52_36_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/db402185c5683a33b6c1cc3f21e1e280.jpg","text":"TemporaryFile(/tmp/multipartBody8374951077245927717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220114257,"filename":"image_03112025_20_52_30_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/555129e8f78b258fd9d688fca45f26cc.jpg","text":"TemporaryFile(/tmp/multipartBody5181857434330657460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220114257,"filename":"image_03112025_20_52_26_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98d56f0787aadbb739b1c0296ddc3750.jpg","text":"TemporaryFile(/tmp/multipartBody7832705850978669223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220114257,"filename":"image_03112025_20_52_41_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964725","file1":"1401964721","file0":"1401964718","file4":"1401964728","file5":"1401964729","file3":"1401964727"},"map_files_photo_id_array":[{"photo_id":"1401964729","filename":"file5"},{"photo_id":"1401964725","filename":"file2"},{"photo_id":"1401964728","filename":"file4"},{"photo_id":"1401964721","filename":"file1"},{"photo_id":"1401964718","filename":"file0"},{"photo_id":"1401964727","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964728":["hashtag1","hashtag2"]},{"1401964725":["hashtag1","hashtag2"]},{"1401964727":["hashtag1","hashtag2"]},{"1401964721":["hashtag1","hashtag2"]},{"1401964718":["hashtag1","hashtag2"]},{"1401964729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964728, 1401964725, 1401964727, 1401964721, 1401964718, 1401964729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76406002044678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:28:22.664098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_34_9637.jpg', '/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_45_10635.jpg', '/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_54_9603.jpg', '/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_14_10054.jpg', '/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_25_10784.jpg', '/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_35_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_34_9637.jpg
/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_45_10635.jpg
/home/pi/Desktop/images/31122025/22/39/image_31122025_22_39_54_9603.jpg
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_14_10054.jpg
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_25_10784.jpg
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_35_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964737","1401964731","1401964739","1401964733","1401964741","1401964735"],"photo_ids_order":["1401964731","1401964733","1401964735","1401964737","1401964739","1401964741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9cb09734ee4fdecbf744c553a826473.jpg","text":"TemporaryFile(/tmp/multipartBody3620165293403055199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220163258,"filename":"image_31122025_22_40_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c68fa188ae39669ccc966885d105d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3816499663469731013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220163258,"filename":"image_31122025_22_39_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e031837cc34b0ce843472333c04932ed.jpg","text":"TemporaryFile(/tmp/multipartBody3483603313122254271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220163258,"filename":"image_31122025_22_40_25_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6474a5d031c7dc17e72da7ee085643c0.jpg","text":"TemporaryFile(/tmp/multipartBody3913052672204148859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220163258,"filename":"image_31122025_22_39_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c86208aa0e5830201cc6e656e53078b2.jpg","text":"TemporaryFile(/tmp/multipartBody5977373134844822134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220163258,"filename":"image_31122025_22_40_35_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96c0624de9cb43527ac65449616bfa3d.jpg","text":"TemporaryFile(/tmp/multipartBody385040249152550845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220163258,"filename":"image_31122025_22_39_54_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964735","file1":"1401964733","file0":"1401964731","file4":"1401964739","file5":"1401964741","file3":"1401964737"},"map_files_photo_id_array":[{"photo_id":"1401964741","filename":"file5"},{"photo_id":"1401964735","filename":"file2"},{"photo_id":"1401964739","filename":"file4"},{"photo_id":"1401964733","filename":"file1"},{"photo_id":"1401964731","filename":"file0"},{"photo_id":"1401964737","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964737":["hashtag1","hashtag2"]},{"1401964731":["hashtag1","hashtag2"]},{"1401964739":["hashtag1","hashtag2"]},{"1401964733":["hashtag1","hashtag2"]},{"1401964741":["hashtag1","hashtag2"]},{"1401964735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964737, 1401964731, 1401964739, 1401964733, 1401964741, 1401964735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04098081588745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:29:03.816412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_44_9612.jpg', '/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_55_10742.jpg', '/home/pi/Desktop/images/31122025/22/40/image_31122025_22_41_05_9676.jpg', '/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_14_9709.jpg', '/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_25_10680.jpg', '/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_35_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_44_9612.jpg
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_40_55_10742.jpg
/home/pi/Desktop/images/31122025/22/40/image_31122025_22_41_05_9676.jpg
/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_14_9709.jpg
/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_25_10680.jpg
/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_35_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964746","1401964749","1401964751","1401964742","1401964744","1401964747"],"photo_ids_order":["1401964742","1401964744","1401964746","1401964747","1401964749","1401964751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/daa0537f90f017b84094772f00fb23f5.jpg","text":"TemporaryFile(/tmp/multipartBody56493917947323763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220204642,"filename":"image_31122025_22_41_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b4ab54091e5cd69d2041336237d8937.jpg","text":"TemporaryFile(/tmp/multipartBody7534143631838927758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220204642,"filename":"image_31122025_22_41_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/742553b23f55b28eb1f997b9ed3f73c6.jpg","text":"TemporaryFile(/tmp/multipartBody4635046506361099694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220204642,"filename":"image_31122025_22_41_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ff5af9a631eca6b4d6d461e9a063d95e.jpg","text":"TemporaryFile(/tmp/multipartBody2185709515987602657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220204642,"filename":"image_31122025_22_40_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/87547257fa5b2619c1b57908461b8244.jpg","text":"TemporaryFile(/tmp/multipartBody1829000900768525260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220204642,"filename":"image_31122025_22_40_55_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/faf71b03337861b04c97ec3f78730fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3560060065486072280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220204642,"filename":"image_31122025_22_41_14_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964746","file1":"1401964744","file0":"1401964742","file4":"1401964749","file5":"1401964751","file3":"1401964747"},"map_files_photo_id_array":[{"photo_id":"1401964751","filename":"file5"},{"photo_id":"1401964746","filename":"file2"},{"photo_id":"1401964749","filename":"file4"},{"photo_id":"1401964744","filename":"file1"},{"photo_id":"1401964742","filename":"file0"},{"photo_id":"1401964747","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964746":["hashtag1","hashtag2"]},{"1401964749":["hashtag1","hashtag2"]},{"1401964751":["hashtag1","hashtag2"]},{"1401964742":["hashtag1","hashtag2"]},{"1401964744":["hashtag1","hashtag2"]},{"1401964747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964746, 1401964749, 1401964751, 1401964742, 1401964744, 1401964747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49679780006409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:29:42.742923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_44_2888.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_48_3668.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_50_2623.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_54_3654.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_57_2622.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_53_00_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_44_2888.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_48_3668.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_50_2623.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_54_3654.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_57_2622.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_53_00_2860.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.8190903663635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:30:02.365490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_44_9693.jpg', '/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_55_10727.jpg', '/home/pi/Desktop/images/31122025/22/41/image_31122025_22_42_05_9694.jpg', '/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_14_9640.jpg', '/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_25_10734.jpg', '/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_35_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_44_9693.jpg
/home/pi/Desktop/images/31122025/22/41/image_31122025_22_41_55_10727.jpg
/home/pi/Desktop/images/31122025/22/41/image_31122025_22_42_05_9694.jpg
/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_14_9640.jpg
/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_25_10734.jpg
/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_35_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964770","1401964764","1401964767","1401964763","1401964766","1401964765"],"photo_ids_order":["1401964763","1401964764","1401964765","1401964766","1401964767","1401964770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e1165dd5698360f96f9543d114deaf41.jpg","text":"TemporaryFile(/tmp/multipartBody7624350178149712508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220262998,"filename":"image_31122025_22_42_35_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec5ae8f05b762f84b040a0779175fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody3593238167964053498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220262998,"filename":"image_31122025_22_41_55_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b936ba260f8905cf0a02ffb462a30cb.jpg","text":"TemporaryFile(/tmp/multipartBody855995516144905480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220262998,"filename":"image_31122025_22_42_25_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/aa1cea4007a80b219e3179c3ef999f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3767086728335958877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220262998,"filename":"image_31122025_22_41_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0c55cee920fef09c5580812399ebf6ed.jpg","text":"TemporaryFile(/tmp/multipartBody2692192243845874850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220262998,"filename":"image_31122025_22_42_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6ca372972cf37609614d47e5d449fd0c.jpg","text":"TemporaryFile(/tmp/multipartBody6621865539341762041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220262998,"filename":"image_31122025_22_42_05_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964765","file1":"1401964764","file0":"1401964763","file4":"1401964767","file5":"1401964770","file3":"1401964766"},"map_files_photo_id_array":[{"photo_id":"1401964770","filename":"file5"},{"photo_id":"1401964765","filename":"file2"},{"photo_id":"1401964767","filename":"file4"},{"photo_id":"1401964764","filename":"file1"},{"photo_id":"1401964763","filename":"file0"},{"photo_id":"1401964766","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964770":["hashtag1","hashtag2"]},{"1401964764":["hashtag1","hashtag2"]},{"1401964767":["hashtag1","hashtag2"]},{"1401964763":["hashtag1","hashtag2"]},{"1401964766":["hashtag1","hashtag2"]},{"1401964765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964770, 1401964764, 1401964767, 1401964763, 1401964766, 1401964765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76147675514221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:30:41.924816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_44_2888.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_48_3668.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_50_2623.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_54_3654.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_57_2622.jpg', '/home/pi/Desktop/images/03112025/20/52/image_03112025_20_53_00_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_44_2888.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_48_3668.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_50_2623.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_54_3654.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_52_57_2622.jpg
/home/pi/Desktop/images/03112025/20/52/image_03112025_20_53_00_2860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964779","1401964781","1401964780","1401964783","1401964777","1401964782"],"photo_ids_order":["1401964777","1401964779","1401964780","1401964781","1401964782","1401964783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0dd5ca070ec6d6fafdfba633d464077.jpg","text":"TemporaryFile(/tmp/multipartBody85771375613915271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220303722,"filename":"image_03112025_20_52_48_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6e3fc437683adefe05174f9af430130c.jpg","text":"TemporaryFile(/tmp/multipartBody3149427341814297617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220303722,"filename":"image_03112025_20_52_54_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b101c238c22bf8fca30b43e23ff07d1e.jpg","text":"TemporaryFile(/tmp/multipartBody2977479085902169540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220303722,"filename":"image_03112025_20_52_50_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a96f62a9380db3cd4f27c6a78ae0a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody3696251289271010555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220303722,"filename":"image_03112025_20_53_00_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a02daff6e8d45d659da1e06f3a824fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2887625178512341202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220303722,"filename":"image_03112025_20_52_44_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a94d3f2aa72396e40c78dc82a62d3ce5.jpg","text":"TemporaryFile(/tmp/multipartBody3536167103018523325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220303722,"filename":"image_03112025_20_52_57_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964780","file1":"1401964779","file0":"1401964777","file4":"1401964782","file5":"1401964783","file3":"1401964781"},"map_files_photo_id_array":[{"photo_id":"1401964783","filename":"file5"},{"photo_id":"1401964780","filename":"file2"},{"photo_id":"1401964782","filename":"file4"},{"photo_id":"1401964779","filename":"file1"},{"photo_id":"1401964777","filename":"file0"},{"photo_id":"1401964781","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964779":["hashtag1","hashtag2"]},{"1401964781":["hashtag1","hashtag2"]},{"1401964780":["hashtag1","hashtag2"]},{"1401964783":["hashtag1","hashtag2"]},{"1401964777":["hashtag1","hashtag2"]},{"1401964782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964779, 1401964781, 1401964780, 1401964783, 1401964777, 1401964782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12824320793152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:31:22.174333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_44_9658.jpg', '/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_55_10565.jpg', '/home/pi/Desktop/images/31122025/22/42/image_31122025_22_43_05_9731.jpg', '/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_14_9738.jpg', '/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_25_10725.jpg', '/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_35_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_44_9658.jpg
/home/pi/Desktop/images/31122025/22/42/image_31122025_22_42_55_10565.jpg
/home/pi/Desktop/images/31122025/22/42/image_31122025_22_43_05_9731.jpg
/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_14_9738.jpg
/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_25_10725.jpg
/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_35_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964794","1401964788","1401964790","1401964784","1401964792","1401964786"],"photo_ids_order":["1401964784","1401964786","1401964788","1401964790","1401964792","1401964794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a514be85ca19109dc3546756542f9ac.jpg","text":"TemporaryFile(/tmp/multipartBody6189198822075140027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220342770,"filename":"image_31122025_22_43_35_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1c863a995fff7a3090b57f7b7e74ee9d.jpg","text":"TemporaryFile(/tmp/multipartBody8943537641612107907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220342770,"filename":"image_31122025_22_43_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a501b3e6652c7dd9174cb52876cddea7.jpg","text":"TemporaryFile(/tmp/multipartBody6130245936530686266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220342770,"filename":"image_31122025_22_43_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c1afa3a7391e8530e4d56b73fbaef84.jpg","text":"TemporaryFile(/tmp/multipartBody6033013030773143057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220342770,"filename":"image_31122025_22_42_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/73cac581c7721f15b29669f37b0d8c15.jpg","text":"TemporaryFile(/tmp/multipartBody9185467328320437107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220342770,"filename":"image_31122025_22_43_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3bbafbafc39d0977147f1cbd2ef68cec.jpg","text":"TemporaryFile(/tmp/multipartBody345656423938637382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220342770,"filename":"image_31122025_22_42_55_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964788","file1":"1401964786","file0":"1401964784","file4":"1401964792","file5":"1401964794","file3":"1401964790"},"map_files_photo_id_array":[{"photo_id":"1401964794","filename":"file5"},{"photo_id":"1401964788","filename":"file2"},{"photo_id":"1401964792","filename":"file4"},{"photo_id":"1401964786","filename":"file1"},{"photo_id":"1401964784","filename":"file0"},{"photo_id":"1401964790","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964794":["hashtag1","hashtag2"]},{"1401964788":["hashtag1","hashtag2"]},{"1401964790":["hashtag1","hashtag2"]},{"1401964784":["hashtag1","hashtag2"]},{"1401964792":["hashtag1","hashtag2"]},{"1401964786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964794, 1401964788, 1401964790, 1401964784, 1401964792, 1401964786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09814500808716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:32:02.833239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_45_9915.jpg', '/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_55_9677.jpg', '/home/pi/Desktop/images/31122025/22/43/image_31122025_22_44_04_9664.jpg', '/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_15_10648.jpg', '/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_25_9653.jpg', '/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_34_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_45_9915.jpg
/home/pi/Desktop/images/31122025/22/43/image_31122025_22_43_55_9677.jpg
/home/pi/Desktop/images/31122025/22/43/image_31122025_22_44_04_9664.jpg
/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_15_10648.jpg
/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_25_9653.jpg
/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_34_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964801","1401964800","1401964803","1401964796","1401964798","1401964797"],"photo_ids_order":["1401964796","1401964797","1401964798","1401964800","1401964801","1401964803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/59c1c3aa11f81dfa1714d24b24062df1.jpg","text":"TemporaryFile(/tmp/multipartBody66099944984520740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220383489,"filename":"image_31122025_22_44_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d0a2f188bce15809397d3a6ea6f3a2a2.jpg","text":"TemporaryFile(/tmp/multipartBody1069170737734885467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220383489,"filename":"image_31122025_22_44_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9a89b55bd62f02075360e9f9caa9be8.jpg","text":"TemporaryFile(/tmp/multipartBody7101830033801430564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220383489,"filename":"image_31122025_22_44_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/98aacaa4dcb33f3da5fc5b2e2481bdfe.jpg","text":"TemporaryFile(/tmp/multipartBody1957818626571146210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220383489,"filename":"image_31122025_22_43_45_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8b46351d5344771a101a344a2e06621a.jpg","text":"TemporaryFile(/tmp/multipartBody6250455054025218010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220383489,"filename":"image_31122025_22_44_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/63aef13188b9a919923bf404eae541e2.jpg","text":"TemporaryFile(/tmp/multipartBody1759379695627550839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220383489,"filename":"image_31122025_22_43_55_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964798","file1":"1401964797","file0":"1401964796","file4":"1401964801","file5":"1401964803","file3":"1401964800"},"map_files_photo_id_array":[{"photo_id":"1401964803","filename":"file5"},{"photo_id":"1401964798","filename":"file2"},{"photo_id":"1401964801","filename":"file4"},{"photo_id":"1401964797","filename":"file1"},{"photo_id":"1401964796","filename":"file0"},{"photo_id":"1401964800","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964801":["hashtag1","hashtag2"]},{"1401964800":["hashtag1","hashtag2"]},{"1401964803":["hashtag1","hashtag2"]},{"1401964796":["hashtag1","hashtag2"]},{"1401964798":["hashtag1","hashtag2"]},{"1401964797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964801, 1401964800, 1401964803, 1401964796, 1401964798, 1401964797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06447243690491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:32:42.400100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_02_2787.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_06_3615.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_09_2709.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_11_2591.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_15_3636.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_17_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_02_2787.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_06_3615.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_09_2709.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_11_2591.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_15_3636.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_17_2529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964815","1401964812","1401964811","1401964808","1401964810","1401964813"],"photo_ids_order":["1401964808","1401964810","1401964811","1401964812","1401964813","1401964815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9d44d693d99c8faaa98738c25747727c.jpg","text":"TemporaryFile(/tmp/multipartBody8048084946721959324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220424303,"filename":"image_03112025_20_53_17_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a26957776a59cd1d9df3e46b24cd5c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1308990138349968149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220424303,"filename":"image_03112025_20_53_11_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e7be0e8b2e0f36a10baeed520b5f1c09.jpg","text":"TemporaryFile(/tmp/multipartBody413590602118327008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220424303,"filename":"image_03112025_20_53_09_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5088bce4016d8b1d22878eba2a85f8aa.jpg","text":"TemporaryFile(/tmp/multipartBody5932974872521399314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220424303,"filename":"image_03112025_20_53_02_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cc29288d30a2030ad874a36c8081bc11.jpg","text":"TemporaryFile(/tmp/multipartBody2824689921043511628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220424303,"filename":"image_03112025_20_53_06_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5e89aa80c9ee065df4241f9802519303.jpg","text":"TemporaryFile(/tmp/multipartBody8998290771226128027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220424303,"filename":"image_03112025_20_53_15_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964811","file1":"1401964810","file0":"1401964808","file4":"1401964813","file5":"1401964815","file3":"1401964812"},"map_files_photo_id_array":[{"photo_id":"1401964815","filename":"file5"},{"photo_id":"1401964811","filename":"file2"},{"photo_id":"1401964813","filename":"file4"},{"photo_id":"1401964810","filename":"file1"},{"photo_id":"1401964808","filename":"file0"},{"photo_id":"1401964812","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964815":["hashtag1","hashtag2"]},{"1401964812":["hashtag1","hashtag2"]},{"1401964811":["hashtag1","hashtag2"]},{"1401964808":["hashtag1","hashtag2"]},{"1401964810":["hashtag1","hashtag2"]},{"1401964813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964815, 1401964812, 1401964811, 1401964808, 1401964810, 1401964813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.553678035736084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:33:22.533329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_45_10648.jpg', '/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_55_9748.jpg', '/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_14_10056.jpg', '/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_25_10834.jpg', '/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_35_9688.jpg', '/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_45_10648.jpg
/home/pi/Desktop/images/31122025/22/44/image_31122025_22_44_55_9748.jpg
/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_14_10056.jpg
/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_25_10834.jpg
/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_35_9688.jpg
/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_44_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964824","1401964818","1401964826","1401964820","1401964822","1401964828"],"photo_ids_order":["1401964818","1401964820","1401964822","1401964824","1401964826","1401964828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b73b049d08c404a8c0fbd431688d83a3.jpg","text":"TemporaryFile(/tmp/multipartBody5778817884096102264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220463128,"filename":"image_31122025_22_45_25_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4f3ee8458c0895dcaf10ae608d7608f.jpg","text":"TemporaryFile(/tmp/multipartBody8736654858072266637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220463128,"filename":"image_31122025_22_44_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c4dd6fbd12886b176299e43c48fff53a.jpg","text":"TemporaryFile(/tmp/multipartBody4688411203890908404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220463128,"filename":"image_31122025_22_45_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/020165b9de30790395d302983df2fff5.jpg","text":"TemporaryFile(/tmp/multipartBody3147668963262241134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220463128,"filename":"image_31122025_22_44_55_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bf039df19af7372916976ef693a65a9.jpg","text":"TemporaryFile(/tmp/multipartBody4096978160730215678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220463128,"filename":"image_31122025_22_45_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/20adace74fbeb507721825cb96565f56.jpg","text":"TemporaryFile(/tmp/multipartBody878220633974159852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220463128,"filename":"image_31122025_22_45_44_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964822","file1":"1401964820","file0":"1401964818","file4":"1401964826","file5":"1401964828","file3":"1401964824"},"map_files_photo_id_array":[{"photo_id":"1401964828","filename":"file5"},{"photo_id":"1401964822","filename":"file2"},{"photo_id":"1401964826","filename":"file4"},{"photo_id":"1401964820","filename":"file1"},{"photo_id":"1401964818","filename":"file0"},{"photo_id":"1401964824","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964824":["hashtag1","hashtag2"]},{"1401964818":["hashtag1","hashtag2"]},{"1401964826":["hashtag1","hashtag2"]},{"1401964820":["hashtag1","hashtag2"]},{"1401964822":["hashtag1","hashtag2"]},{"1401964828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964824, 1401964818, 1401964826, 1401964820, 1401964822, 1401964828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50651955604553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:34:03.305163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_54_9724.jpg', '/home/pi/Desktop/images/31122025/22/45/image_31122025_22_46_05_10752.jpg', '/home/pi/Desktop/images/31122025/22/46/image_31122025_22_46_14_9696.jpg', '/home/pi/Desktop/images/31122025/22/46/image_31122025_22_46_24_9606.jpg', '/home/pi/Desktop/images/31122025/22/46/image_31122025_22_46_35_10540.jpg', '/home/pi/Desktop/images/31122025/22/46/image_31122025_22_46_54_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/45/image_31122025_22_45_54_9724.jpg
/home/pi/Desktop/images/31122025/22/45/image_31122025_22_46_05_10752.jpg
/home/pi/Desktop/images/31122025/22/46/image_31122025_22_46_14_9696.jpg
/home/pi/Desktop/images/31122025/22/46/image_31122025_22_46_24_9606.jpg
/home/pi/Desktop/images/31122025/22/46/image_31122025_22_46_35_10540.jpg
/home/pi/Desktop/images/31122025/22/46/image_31122025_22_46_54_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964833","1401964830","1401964832","1401964835","1401964829","1401964831"],"photo_ids_order":["1401964829","1401964830","1401964831","1401964832","1401964833","1401964835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/71e039eb0d6ce3af0aedb3187b394d9d.jpg","text":"TemporaryFile(/tmp/multipartBody6441144792448737313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220503965,"filename":"image_31122025_22_46_35_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5e911cb9914b90ee15cc5c055d93ad4.jpg","text":"TemporaryFile(/tmp/multipartBody5449666361383073469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220503965,"filename":"image_31122025_22_46_05_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/92578d20ebdb70e3d1a7cf4d06251400.jpg","text":"TemporaryFile(/tmp/multipartBody6381578905137390401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220503965,"filename":"image_31122025_22_46_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a22bee7ddab03c1b2ac6964d4251e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8404227620771202896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220503965,"filename":"image_31122025_22_46_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f9f7423ec82da53772c3193352a93eb0.jpg","text":"TemporaryFile(/tmp/multipartBody360098171313025389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220503965,"filename":"image_31122025_22_45_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c8409c188e4889f4991f1ab5accdfa6.jpg","text":"TemporaryFile(/tmp/multipartBody6041520090002838038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220503965,"filename":"image_31122025_22_46_14_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964831","file1":"1401964830","file0":"1401964829","file4":"1401964833","file5":"1401964835","file3":"1401964832"},"map_files_photo_id_array":[{"photo_id":"1401964835","filename":"file5"},{"photo_id":"1401964831","filename":"file2"},{"photo_id":"1401964833","filename":"file4"},{"photo_id":"1401964830","filename":"file1"},{"photo_id":"1401964829","filename":"file0"},{"photo_id":"1401964832","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964833":["hashtag1","hashtag2"]},{"1401964830":["hashtag1","hashtag2"]},{"1401964832":["hashtag1","hashtag2"]},{"1401964835":["hashtag1","hashtag2"]},{"1401964829":["hashtag1","hashtag2"]},{"1401964831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964833, 1401964830, 1401964832, 1401964835, 1401964829, 1401964831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.420249223709106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:34:42.714077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_20_2862.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_23_2769.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_27_3860.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_30_2637.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_39_9678.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_42_3032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_20_2862.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_23_2769.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_27_3860.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_30_2637.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_39_9678.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_42_3032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964845","1401964848","1401964844","1401964847","1401964841","1401964846"],"photo_ids_order":["1401964841","1401964844","1401964845","1401964846","1401964847","1401964848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5784f61383fb3f60631753b809b4b3e5.jpg","text":"TemporaryFile(/tmp/multipartBody557524785738685204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220544574,"filename":"image_03112025_20_53_27_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/078b4f4845ab202bf32b869e048e7e3f.jpg","text":"TemporaryFile(/tmp/multipartBody6184134682739543167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220544574,"filename":"image_03112025_20_53_42_3032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e3041f08a91cd915b95c28ec7b52c303.jpg","text":"TemporaryFile(/tmp/multipartBody1328185643354295342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220544574,"filename":"image_03112025_20_53_23_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d1805283ca014828dd0ce0b077154cf6.jpg","text":"TemporaryFile(/tmp/multipartBody3342982138350765383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220544574,"filename":"image_03112025_20_53_39_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e5b611ad0f2b9764883b4e56ef8ce1b.jpg","text":"TemporaryFile(/tmp/multipartBody7244792278841873193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220544574,"filename":"image_03112025_20_53_20_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/77bd81e6d86f901c0fd11f98ff1fd23c.jpg","text":"TemporaryFile(/tmp/multipartBody4309345112300211835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220544574,"filename":"image_03112025_20_53_30_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964845","file1":"1401964844","file0":"1401964841","file4":"1401964847","file5":"1401964848","file3":"1401964846"},"map_files_photo_id_array":[{"photo_id":"1401964848","filename":"file5"},{"photo_id":"1401964845","filename":"file2"},{"photo_id":"1401964847","filename":"file4"},{"photo_id":"1401964844","filename":"file1"},{"photo_id":"1401964841","filename":"file0"},{"photo_id":"1401964846","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964845":["hashtag1","hashtag2"]},{"1401964848":["hashtag1","hashtag2"]},{"1401964844":["hashtag1","hashtag2"]},{"1401964847":["hashtag1","hashtag2"]},{"1401964841":["hashtag1","hashtag2"]},{"1401964846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964845, 1401964848, 1401964844, 1401964847, 1401964841, 1401964846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07142400741577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:35:21.850534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/46/image_31122025_22_47_05_10650.jpg', '/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_14_9721.jpg', '/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_24_9764.jpg', '/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_35_10601.jpg', '/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_44_9673.jpg', '/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_54_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/46/image_31122025_22_47_05_10650.jpg
/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_14_9721.jpg
/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_24_9764.jpg
/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_35_10601.jpg
/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_44_9673.jpg
/home/pi/Desktop/images/31122025/22/47/image_31122025_22_47_54_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964851","1401964857","1401964853","1401964861","1401964855","1401964849"],"photo_ids_order":["1401964849","1401964851","1401964853","1401964855","1401964857","1401964861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/720188e8895a5e3c3e86b59d03bf7baf.jpg","text":"TemporaryFile(/tmp/multipartBody227874982631102838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220582447,"filename":"image_31122025_22_47_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f139c8257808ae42b36b2d433b8a793.jpg","text":"TemporaryFile(/tmp/multipartBody1968905839734994840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220582447,"filename":"image_31122025_22_47_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c7987147cbb7dada9952483c900360bd.jpg","text":"TemporaryFile(/tmp/multipartBody2321811731924892147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220582447,"filename":"image_31122025_22_47_24_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/57d4ce341b69594931535afe9342f124.jpg","text":"TemporaryFile(/tmp/multipartBody3360956606925990368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220582447,"filename":"image_31122025_22_47_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e0e171cd63edcbd08e4f3ecb20420a53.jpg","text":"TemporaryFile(/tmp/multipartBody6637771720964903296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220582447,"filename":"image_31122025_22_47_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ca88ce07431997e3b57711f30549df34.jpg","text":"TemporaryFile(/tmp/multipartBody2085307434183800126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220582447,"filename":"image_31122025_22_47_05_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964853","file1":"1401964851","file0":"1401964849","file4":"1401964857","file5":"1401964861","file3":"1401964855"},"map_files_photo_id_array":[{"photo_id":"1401964861","filename":"file5"},{"photo_id":"1401964853","filename":"file2"},{"photo_id":"1401964857","filename":"file4"},{"photo_id":"1401964851","filename":"file1"},{"photo_id":"1401964849","filename":"file0"},{"photo_id":"1401964855","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964851":["hashtag1","hashtag2"]},{"1401964857":["hashtag1","hashtag2"]},{"1401964853":["hashtag1","hashtag2"]},{"1401964861":["hashtag1","hashtag2"]},{"1401964855":["hashtag1","hashtag2"]},{"1401964849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964851, 1401964857, 1401964853, 1401964861, 1401964855, 1401964849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80460476875305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:36:02.641369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/47/image_31122025_22_48_05_10634.jpg', '/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_15_9802.jpg', '/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_24_9549.jpg', '/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_35_10641.jpg', '/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_44_9670.jpg', '/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/47/image_31122025_22_48_05_10634.jpg
/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_15_9802.jpg
/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_24_9549.jpg
/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_35_10641.jpg
/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_44_9670.jpg
/home/pi/Desktop/images/31122025/22/48/image_31122025_22_48_54_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964863","1401964866","1401964869","1401964865","1401964867","1401964864"],"photo_ids_order":["1401964863","1401964864","1401964865","1401964866","1401964867","1401964869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6695dc4f36545c730515bcaffcddf63b.jpg","text":"TemporaryFile(/tmp/multipartBody744649354636847967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220623276,"filename":"image_31122025_22_48_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cee4acb10a40fa00520513e81581c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody8542874829170758428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220623276,"filename":"image_31122025_22_48_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3fa21471dea6f425090fae07999cc30d.jpg","text":"TemporaryFile(/tmp/multipartBody1307451588481794250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220623276,"filename":"image_31122025_22_48_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/62252cebb9db84fbeca004f6980dcd84.jpg","text":"TemporaryFile(/tmp/multipartBody8408759215952155590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220623276,"filename":"image_31122025_22_48_24_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a6abe44066035c2e1e324a40532b3aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3981936314910071761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220623276,"filename":"image_31122025_22_48_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/61ec611a20d23e97cce5e95e0e315196.jpg","text":"TemporaryFile(/tmp/multipartBody7927307153378155889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220623276,"filename":"image_31122025_22_48_15_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964865","file1":"1401964864","file0":"1401964863","file4":"1401964867","file5":"1401964869","file3":"1401964866"},"map_files_photo_id_array":[{"photo_id":"1401964869","filename":"file5"},{"photo_id":"1401964865","filename":"file2"},{"photo_id":"1401964867","filename":"file4"},{"photo_id":"1401964864","filename":"file1"},{"photo_id":"1401964863","filename":"file0"},{"photo_id":"1401964866","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964863":["hashtag1","hashtag2"]},{"1401964866":["hashtag1","hashtag2"]},{"1401964869":["hashtag1","hashtag2"]},{"1401964865":["hashtag1","hashtag2"]},{"1401964867":["hashtag1","hashtag2"]},{"1401964864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964863, 1401964866, 1401964869, 1401964865, 1401964867, 1401964864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45343089103699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:36:42.184067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_44_1513.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_46_1701.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_47_1608.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_49_1515.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_51_1871.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_53_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_44_1513.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_46_1701.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_47_1608.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_49_1515.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_51_1871.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_53_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964878","1401964880","1401964874","1401964877","1401964879","1401964882"],"photo_ids_order":["1401964874","1401964877","1401964878","1401964879","1401964880","1401964882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1bc72a48fc1541a95f76e8793e6b3845.jpg","text":"TemporaryFile(/tmp/multipartBody114143945534379240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220664065,"filename":"image_03112025_20_53_47_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/949f22fb63d80fbd05a72ba159301933.jpg","text":"TemporaryFile(/tmp/multipartBody1540662240880226524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220664065,"filename":"image_03112025_20_53_51_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fd4b1af3d0114f0cc72e2782da7f4fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6219352249890191141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220664065,"filename":"image_03112025_20_53_44_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a6c59ba26c45440d87aed2f40ffca96.jpg","text":"TemporaryFile(/tmp/multipartBody1323119671205773706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220664065,"filename":"image_03112025_20_53_46_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f8d0be65762ea366775c5b690fc6dbeb.jpg","text":"TemporaryFile(/tmp/multipartBody3256071417392159052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220664065,"filename":"image_03112025_20_53_49_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/940a82d75eaa322159d6b2a8aeeeb361.jpg","text":"TemporaryFile(/tmp/multipartBody2386144239152595366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220664065,"filename":"image_03112025_20_53_53_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964878","file1":"1401964877","file0":"1401964874","file4":"1401964880","file5":"1401964882","file3":"1401964879"},"map_files_photo_id_array":[{"photo_id":"1401964882","filename":"file5"},{"photo_id":"1401964878","filename":"file2"},{"photo_id":"1401964880","filename":"file4"},{"photo_id":"1401964877","filename":"file1"},{"photo_id":"1401964874","filename":"file0"},{"photo_id":"1401964879","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964878":["hashtag1","hashtag2"]},{"1401964880":["hashtag1","hashtag2"]},{"1401964874":["hashtag1","hashtag2"]},{"1401964877":["hashtag1","hashtag2"]},{"1401964879":["hashtag1","hashtag2"]},{"1401964882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964878, 1401964880, 1401964874, 1401964877, 1401964879, 1401964882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51047396659851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:37:22.325586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/48/image_31122025_22_49_05_10821.jpg', '/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_14_9597.jpg', '/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_25_10532.jpg', '/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_35_9690.jpg', '/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_44_9667.jpg', '/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_54_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/48/image_31122025_22_49_05_10821.jpg
/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_14_9597.jpg
/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_25_10532.jpg
/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_35_9690.jpg
/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_44_9667.jpg
/home/pi/Desktop/images/31122025/22/49/image_31122025_22_49_54_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964890","1401964884","1401964893","1401964886","1401964888","1401964896"],"photo_ids_order":["1401964884","1401964886","1401964888","1401964890","1401964893","1401964896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/383184208a6b508925b59e8a688e68c5.jpg","text":"TemporaryFile(/tmp/multipartBody1218045707475913636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220702921,"filename":"image_31122025_22_49_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d08d5707f992694a37c50b737ab96a62.jpg","text":"TemporaryFile(/tmp/multipartBody1688014292142333451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220702921,"filename":"image_31122025_22_49_05_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df645a69e2a6b7a970d631dbf9289476.jpg","text":"TemporaryFile(/tmp/multipartBody3743256635615537538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220702921,"filename":"image_31122025_22_49_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7f0b3d50bc3524d18d996aa79565334b.jpg","text":"TemporaryFile(/tmp/multipartBody1228120487943585203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220702921,"filename":"image_31122025_22_49_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/edb2e43fd518b0bb1f7e3103f8e3a9b8.jpg","text":"TemporaryFile(/tmp/multipartBody5677352331268769779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220702921,"filename":"image_31122025_22_49_25_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6062a93eb58a91857419411993dcbdca.jpg","text":"TemporaryFile(/tmp/multipartBody2620693896006888010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220702921,"filename":"image_31122025_22_49_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964888","file1":"1401964886","file0":"1401964884","file4":"1401964893","file5":"1401964896","file3":"1401964890"},"map_files_photo_id_array":[{"photo_id":"1401964896","filename":"file5"},{"photo_id":"1401964888","filename":"file2"},{"photo_id":"1401964893","filename":"file4"},{"photo_id":"1401964886","filename":"file1"},{"photo_id":"1401964884","filename":"file0"},{"photo_id":"1401964890","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964890":["hashtag1","hashtag2"]},{"1401964884":["hashtag1","hashtag2"]},{"1401964893":["hashtag1","hashtag2"]},{"1401964886":["hashtag1","hashtag2"]},{"1401964888":["hashtag1","hashtag2"]},{"1401964896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964890, 1401964884, 1401964893, 1401964886, 1401964888, 1401964896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64994502067566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:38:03.011696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_15_10055.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_25_10637.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_35_9738.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_45_9755.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_55_10746.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_51_05_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_15_10055.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_25_10637.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_35_9738.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_45_9755.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_55_10746.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_51_05_9699.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.515143632888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:38:12.644015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_57_3570.jpg', '/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_59_2585.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_02_2693.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_06_3761.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_09_2718.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_11_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_57_3570.jpg
/home/pi/Desktop/images/03112025/20/53/image_03112025_20_53_59_2585.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_02_2693.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_06_3761.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_09_2718.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_11_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964909","1401964900","1401964902","1401964910","1401964907","1401964904"],"photo_ids_order":["1401964900","1401964902","1401964904","1401964907","1401964909","1401964910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1a08b33eb54f7d9e0d8e2f66c6b4c010.jpg","text":"TemporaryFile(/tmp/multipartBody6281340321056083022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220754361,"filename":"image_03112025_20_54_09_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fbe31a7cfa637f5bb75b28eb37b1b86e.jpg","text":"TemporaryFile(/tmp/multipartBody2551984404513596236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220754361,"filename":"image_03112025_20_53_57_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/17533eb43e3e09b12b94f61005084987.jpg","text":"TemporaryFile(/tmp/multipartBody4184390429969973995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220754361,"filename":"image_03112025_20_53_59_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/50e4e17c6234841a207fc2dcadecc1ba.jpg","text":"TemporaryFile(/tmp/multipartBody5256297405676802372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220754361,"filename":"image_03112025_20_54_11_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/38b2cfde51bd1045446ca187adf737ee.jpg","text":"TemporaryFile(/tmp/multipartBody6884759345862399603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220754361,"filename":"image_03112025_20_54_06_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/849a84d13ca3f39c0a0e3455656f5179.jpg","text":"TemporaryFile(/tmp/multipartBody8467955055358841348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220754361,"filename":"image_03112025_20_54_02_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964904","file1":"1401964902","file0":"1401964900","file4":"1401964909","file5":"1401964910","file3":"1401964907"},"map_files_photo_id_array":[{"photo_id":"1401964910","filename":"file5"},{"photo_id":"1401964904","filename":"file2"},{"photo_id":"1401964909","filename":"file4"},{"photo_id":"1401964902","filename":"file1"},{"photo_id":"1401964900","filename":"file0"},{"photo_id":"1401964907","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964909":["hashtag1","hashtag2"]},{"1401964900":["hashtag1","hashtag2"]},{"1401964902":["hashtag1","hashtag2"]},{"1401964910":["hashtag1","hashtag2"]},{"1401964907":["hashtag1","hashtag2"]},{"1401964904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964909, 1401964900, 1401964902, 1401964910, 1401964907, 1401964904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70313334465027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:39:03.702950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_15_10055.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_25_10637.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_35_9738.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_45_9755.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_55_10746.jpg', '/home/pi/Desktop/images/31122025/22/50/image_31122025_22_51_05_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_15_10055.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_25_10637.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_35_9738.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_45_9755.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_50_55_10746.jpg
/home/pi/Desktop/images/31122025/22/50/image_31122025_22_51_05_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964920","1401964917","1401964919","1401964922","1401964921","1401964924"],"photo_ids_order":["1401964917","1401964919","1401964920","1401964921","1401964922","1401964924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7cf2e7acdf3ff072d175ce8c16489ec9.jpg","text":"TemporaryFile(/tmp/multipartBody5171387983224701637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220804523,"filename":"image_31122025_22_50_35_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b898ef776f855e4dae3aea06099796c.jpg","text":"TemporaryFile(/tmp/multipartBody9011301655377368358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220804523,"filename":"image_31122025_22_50_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c5dee3aaf9302aa4bd937c25e18553ae.jpg","text":"TemporaryFile(/tmp/multipartBody5071999351282653934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220804523,"filename":"image_31122025_22_50_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b299181ff889627d0e820403f53605b3.jpg","text":"TemporaryFile(/tmp/multipartBody6142574881049715945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220804523,"filename":"image_31122025_22_50_55_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23096ff55e1b80ca8270ff9a56584fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8228108471046169174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220804523,"filename":"image_31122025_22_50_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5b43600d1bfa633a89ed2975108ba379.jpg","text":"TemporaryFile(/tmp/multipartBody8493750402208024959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220804523,"filename":"image_31122025_22_51_05_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964920","file1":"1401964919","file0":"1401964917","file4":"1401964922","file5":"1401964924","file3":"1401964921"},"map_files_photo_id_array":[{"photo_id":"1401964924","filename":"file5"},{"photo_id":"1401964920","filename":"file2"},{"photo_id":"1401964922","filename":"file4"},{"photo_id":"1401964919","filename":"file1"},{"photo_id":"1401964917","filename":"file0"},{"photo_id":"1401964921","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964920":["hashtag1","hashtag2"]},{"1401964917":["hashtag1","hashtag2"]},{"1401964919":["hashtag1","hashtag2"]},{"1401964922":["hashtag1","hashtag2"]},{"1401964921":["hashtag1","hashtag2"]},{"1401964924":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964920, 1401964917, 1401964919, 1401964922, 1401964921, 1401964924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72711229324341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:39:42.825238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_15_3740.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_18_2711.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_20_2588.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_24_3536.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_26_2693.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_29_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_15_3740.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_18_2711.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_20_2588.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_24_3536.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_26_2693.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_29_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964932","1401964935","1401964929","1401964931","1401964934","1401964933"],"photo_ids_order":["1401964929","1401964931","1401964932","1401964933","1401964934","1401964935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/263a8983a0bf272808f55e3f16fda906.jpg","text":"TemporaryFile(/tmp/multipartBody4884342301197504196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220844675,"filename":"image_03112025_20_54_20_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ac69c1ff9d3d3562cdacff5f5e29e77c.jpg","text":"TemporaryFile(/tmp/multipartBody489174837235172976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220844675,"filename":"image_03112025_20_54_29_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab1fee95e627ee80763332017e5e5ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8406951167861831679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220844675,"filename":"image_03112025_20_54_15_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/05d9592736eee8abe44ab71fbb9b3734.jpg","text":"TemporaryFile(/tmp/multipartBody8704101625225794804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220844675,"filename":"image_03112025_20_54_18_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9d24834cfae60134e63fc3560751b87.jpg","text":"TemporaryFile(/tmp/multipartBody5463245444430696043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220844675,"filename":"image_03112025_20_54_26_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4c837f8fa552ae33ae70aa5d302798d9.jpg","text":"TemporaryFile(/tmp/multipartBody8018165520763121650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220844675,"filename":"image_03112025_20_54_24_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964932","file1":"1401964931","file0":"1401964929","file4":"1401964934","file5":"1401964935","file3":"1401964933"},"map_files_photo_id_array":[{"photo_id":"1401964935","filename":"file5"},{"photo_id":"1401964932","filename":"file2"},{"photo_id":"1401964934","filename":"file4"},{"photo_id":"1401964931","filename":"file1"},{"photo_id":"1401964929","filename":"file0"},{"photo_id":"1401964933","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964932":["hashtag1","hashtag2"]},{"1401964935":["hashtag1","hashtag2"]},{"1401964929":["hashtag1","hashtag2"]},{"1401964931":["hashtag1","hashtag2"]},{"1401964934":["hashtag1","hashtag2"]},{"1401964933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964932, 1401964935, 1401964929, 1401964931, 1401964934, 1401964933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78941345214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:40:21.976951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_15_9698.jpg', '/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_25_9696.jpg', '/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_35_10742.jpg', '/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_45_9661.jpg', '/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_55_9721.jpg', '/home/pi/Desktop/images/31122025/22/51/image_31122025_22_52_05_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_15_9698.jpg
/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_25_9696.jpg
/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_35_10742.jpg
/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_45_9661.jpg
/home/pi/Desktop/images/31122025/22/51/image_31122025_22_51_55_9721.jpg
/home/pi/Desktop/images/31122025/22/51/image_31122025_22_52_05_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964944","1401964938","1401964949","1401964946","1401964940","1401964942"],"photo_ids_order":["1401964938","1401964940","1401964942","1401964944","1401964946","1401964949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/43734dca622496f837c0e421ba5100fc.jpg","text":"TemporaryFile(/tmp/multipartBody2971165051979112996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220882617,"filename":"image_31122025_22_51_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e174a53f6ce45648dee4625e4c5a9711.jpg","text":"TemporaryFile(/tmp/multipartBody4504993976264616509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220882617,"filename":"image_31122025_22_51_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dabbf022db08a6e0b9431a3d7cf652a.jpg","text":"TemporaryFile(/tmp/multipartBody2246999348582419009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220882617,"filename":"image_31122025_22_52_05_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c0a7cb2a6c3d388aec77cb9a6f8b5a86.jpg","text":"TemporaryFile(/tmp/multipartBody1174450670507456387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220882617,"filename":"image_31122025_22_51_55_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7c1bdf11c19dcd61a5b1530947468959.jpg","text":"TemporaryFile(/tmp/multipartBody519053430692898446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220882617,"filename":"image_31122025_22_51_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a646aff5ea5fc284f9d81beb08c5cfb2.jpg","text":"TemporaryFile(/tmp/multipartBody2352532772618135270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220882617,"filename":"image_31122025_22_51_35_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964942","file1":"1401964940","file0":"1401964938","file4":"1401964946","file5":"1401964949","file3":"1401964944"},"map_files_photo_id_array":[{"photo_id":"1401964949","filename":"file5"},{"photo_id":"1401964942","filename":"file2"},{"photo_id":"1401964946","filename":"file4"},{"photo_id":"1401964940","filename":"file1"},{"photo_id":"1401964938","filename":"file0"},{"photo_id":"1401964944","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964944":["hashtag1","hashtag2"]},{"1401964938":["hashtag1","hashtag2"]},{"1401964949":["hashtag1","hashtag2"]},{"1401964946":["hashtag1","hashtag2"]},{"1401964940":["hashtag1","hashtag2"]},{"1401964942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964944, 1401964938, 1401964949, 1401964946, 1401964940, 1401964942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.942769289016724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:41:02.926917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_15_9718.jpg', '/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_25_9600.jpg', '/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_35_10645.jpg', '/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_45_9674.jpg', '/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_55_9877.jpg', '/home/pi/Desktop/images/31122025/22/52/image_31122025_22_53_05_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_15_9718.jpg
/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_25_9600.jpg
/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_35_10645.jpg
/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_45_9674.jpg
/home/pi/Desktop/images/31122025/22/52/image_31122025_22_52_55_9877.jpg
/home/pi/Desktop/images/31122025/22/52/image_31122025_22_53_05_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964953","1401964956","1401964955","1401964958","1401964951","1401964954"],"photo_ids_order":["1401964951","1401964953","1401964954","1401964955","1401964956","1401964958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5442d6232b3fc24ce9860eb438aaeb97.jpg","text":"TemporaryFile(/tmp/multipartBody4034776724928346105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220923562,"filename":"image_31122025_22_52_25_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2753c0ad76aed176fb713db59ba96d48.jpg","text":"TemporaryFile(/tmp/multipartBody5399881587807881810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220923562,"filename":"image_31122025_22_52_55_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/387e41f939e9eeda325d3beabda513a9.jpg","text":"TemporaryFile(/tmp/multipartBody344603113615007785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220923562,"filename":"image_31122025_22_52_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/76adbdbfafae4f94ad6d45da6a68a221.jpg","text":"TemporaryFile(/tmp/multipartBody5560007949085504309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220923562,"filename":"image_31122025_22_53_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/840f22f224ee1e446aa93bba7a199c78.jpg","text":"TemporaryFile(/tmp/multipartBody5785688603562806728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220923562,"filename":"image_31122025_22_52_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a45f69ddc4ae1b2a4ab7e3920799de39.jpg","text":"TemporaryFile(/tmp/multipartBody8014723546425126232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220923562,"filename":"image_31122025_22_52_35_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964954","file1":"1401964953","file0":"1401964951","file4":"1401964956","file5":"1401964958","file3":"1401964955"},"map_files_photo_id_array":[{"photo_id":"1401964958","filename":"file5"},{"photo_id":"1401964954","filename":"file2"},{"photo_id":"1401964956","filename":"file4"},{"photo_id":"1401964953","filename":"file1"},{"photo_id":"1401964951","filename":"file0"},{"photo_id":"1401964955","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964953":["hashtag1","hashtag2"]},{"1401964956":["hashtag1","hashtag2"]},{"1401964955":["hashtag1","hashtag2"]},{"1401964958":["hashtag1","hashtag2"]},{"1401964951":["hashtag1","hashtag2"]},{"1401964954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964953, 1401964956, 1401964955, 1401964958, 1401964951, 1401964954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08501720428467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:41:42.113476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_33_3568.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_35_2690.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_38_2498.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_44_2569.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_47_3309.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_50_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_33_3568.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_35_2690.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_38_2498.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_44_2569.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_47_3309.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_50_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964965","1401964968","1401964967","1401964970","1401964972","1401964969"],"photo_ids_order":["1401964965","1401964967","1401964968","1401964969","1401964970","1401964972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f0850d81455fe4b5118ae7d9dd0fde73.jpg","text":"TemporaryFile(/tmp/multipartBody794065360578903521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220964018,"filename":"image_03112025_20_54_33_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6b12260ca697fa8064302b716845dba5.jpg","text":"TemporaryFile(/tmp/multipartBody2017850532139111981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220964018,"filename":"image_03112025_20_54_38_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cd773f93de481f2a6586b566a58aa5f2.jpg","text":"TemporaryFile(/tmp/multipartBody1510688785642557830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220964018,"filename":"image_03112025_20_54_35_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4e7764bcd351e9e92fdb39955b7ff6a.jpg","text":"TemporaryFile(/tmp/multipartBody4821673734215517931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220964018,"filename":"image_03112025_20_54_47_3309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d777cc6cd8d95effb232496f0bcccbe.jpg","text":"TemporaryFile(/tmp/multipartBody7347161565842894516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220964018,"filename":"image_03112025_20_54_50_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8912f94b34aa4e0df0e05fe6b3828d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2180334447242576279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767220964018,"filename":"image_03112025_20_54_44_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964968","file1":"1401964967","file0":"1401964965","file4":"1401964970","file5":"1401964972","file3":"1401964969"},"map_files_photo_id_array":[{"photo_id":"1401964972","filename":"file5"},{"photo_id":"1401964968","filename":"file2"},{"photo_id":"1401964970","filename":"file4"},{"photo_id":"1401964967","filename":"file1"},{"photo_id":"1401964965","filename":"file0"},{"photo_id":"1401964969","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401964965":["hashtag1","hashtag2"]},{"1401964968":["hashtag1","hashtag2"]},{"1401964967":["hashtag1","hashtag2"]},{"1401964970":["hashtag1","hashtag2"]},{"1401964972":["hashtag1","hashtag2"]},{"1401964969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401964965, 1401964968, 1401964967, 1401964970, 1401964972, 1401964969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31272268295288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:42:22.276408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/53/image_31122025_22_53_25_9690.jpg', '/home/pi/Desktop/images/31122025/22/53/image_31122025_22_53_35_9748.jpg', '/home/pi/Desktop/images/31122025/22/53/image_31122025_22_53_45_10667.jpg', '/home/pi/Desktop/images/31122025/22/53/image_31122025_22_53_55_9849.jpg', '/home/pi/Desktop/images/31122025/22/53/image_31122025_22_54_05_9687.jpg', '/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_15_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/53/image_31122025_22_53_25_9690.jpg
/home/pi/Desktop/images/31122025/22/53/image_31122025_22_53_35_9748.jpg
/home/pi/Desktop/images/31122025/22/53/image_31122025_22_53_45_10667.jpg
/home/pi/Desktop/images/31122025/22/53/image_31122025_22_53_55_9849.jpg
/home/pi/Desktop/images/31122025/22/53/image_31122025_22_54_05_9687.jpg
/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_15_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964974","1401964985","1401964982","1401964976","1401964978","1401964980"],"photo_ids_order":["1401964974","1401964976","1401964978","1401964980","1401964982","1401964985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ae35a5499b8897fc692286e04e48a07f.jpg","text":"TemporaryFile(/tmp/multipartBody7050954625789250185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221002873,"filename":"image_31122025_22_53_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c45d9753ac1cd4f7d431e8e683b572f1.jpg","text":"TemporaryFile(/tmp/multipartBody2509298998279622389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221002873,"filename":"image_31122025_22_54_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6f97ce7d0093b3c8ad7778c87d15e4ce.jpg","text":"TemporaryFile(/tmp/multipartBody8600992626917506397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221002873,"filename":"image_31122025_22_54_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0d6202523ebf806ea1388d26a9dcab74.jpg","text":"TemporaryFile(/tmp/multipartBody5960087265575546797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221002873,"filename":"image_31122025_22_53_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64d0811ba3e37779d062d877d88dee7e.jpg","text":"TemporaryFile(/tmp/multipartBody4763894975200875860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221002873,"filename":"image_31122025_22_53_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/28f42441440d3ca9ea8ca71e43ab367d.jpg","text":"TemporaryFile(/tmp/multipartBody798179051153189722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221002873,"filename":"image_31122025_22_53_55_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964978","file1":"1401964976","file0":"1401964974","file4":"1401964982","file5":"1401964985","file3":"1401964980"},"map_files_photo_id_array":[{"photo_id":"1401964985","filename":"file5"},{"photo_id":"1401964978","filename":"file2"},{"photo_id":"1401964982","filename":"file4"},{"photo_id":"1401964976","filename":"file1"},{"photo_id":"1401964974","filename":"file0"},{"photo_id":"1401964980","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964974":["hashtag1","hashtag2"]},{"1401964985":["hashtag1","hashtag2"]},{"1401964982":["hashtag1","hashtag2"]},{"1401964976":["hashtag1","hashtag2"]},{"1401964978":["hashtag1","hashtag2"]},{"1401964980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964974, 1401964985, 1401964982, 1401964976, 1401964978, 1401964980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39655566215515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:43:03.202966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_25_9757.jpg', '/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_35_9800.jpg', '/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_45_9640.jpg', '/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_55_10690.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_14_10039.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_25_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_25_9757.jpg
/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_35_9800.jpg
/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_45_9640.jpg
/home/pi/Desktop/images/31122025/22/54/image_31122025_22_54_55_10690.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_14_10039.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_25_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401964992","1401964991","1401964988","1401964993","1401964987","1401964989"],"photo_ids_order":["1401964987","1401964988","1401964989","1401964991","1401964992","1401964993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2731e36f6fba5563cd7f6bb18ea93e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4954332092692234898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221043903,"filename":"image_31122025_22_56_14_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d6c4d9c861d7c8c1cc97cca1fa1a85b1.jpg","text":"TemporaryFile(/tmp/multipartBody2028442787608929852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221043903,"filename":"image_31122025_22_54_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7d040983f1a8f337a395adc6c89254ad.jpg","text":"TemporaryFile(/tmp/multipartBody3060350121431838780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221043903,"filename":"image_31122025_22_54_35_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d96b9bec80c58b0d4b34f6a43d01283c.jpg","text":"TemporaryFile(/tmp/multipartBody6811029541461341494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221043903,"filename":"image_31122025_22_56_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a9fb03d096fe5342fb13b077bc0ba226.jpg","text":"TemporaryFile(/tmp/multipartBody2116553367765461588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221043903,"filename":"image_31122025_22_54_25_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e46149b74f9f8da7fa577b0f2c1fe100.jpg","text":"TemporaryFile(/tmp/multipartBody766629914469214262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221043903,"filename":"image_31122025_22_54_45_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401964989","file1":"1401964988","file0":"1401964987","file4":"1401964992","file5":"1401964993","file3":"1401964991"},"map_files_photo_id_array":[{"photo_id":"1401964993","filename":"file5"},{"photo_id":"1401964989","filename":"file2"},{"photo_id":"1401964992","filename":"file4"},{"photo_id":"1401964988","filename":"file1"},{"photo_id":"1401964987","filename":"file0"},{"photo_id":"1401964991","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401964992":["hashtag1","hashtag2"]},{"1401964991":["hashtag1","hashtag2"]},{"1401964988":["hashtag1","hashtag2"]},{"1401964993":["hashtag1","hashtag2"]},{"1401964987":["hashtag1","hashtag2"]},{"1401964989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401964992, 1401964991, 1401964988, 1401964993, 1401964987, 1401964989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83313226699829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:43:42.491245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_54_3584.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_56_2755.jpg', '/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_59_2651.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_02_2764.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_06_3720.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_08_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_54_3584.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_56_2755.jpg
/home/pi/Desktop/images/03112025/20/54/image_03112025_20_54_59_2651.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_02_2764.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_06_3720.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_08_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965007","1401965009","1401965000","1401965003","1401965011","1401965005"],"photo_ids_order":["1401965000","1401965003","1401965005","1401965007","1401965009","1401965011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a36e82eef8624f739e5c547d648e5c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8752208543196478547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221084380,"filename":"image_03112025_20_55_02_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b37098b0a7bc49be70b1b63a18da17b4.jpg","text":"TemporaryFile(/tmp/multipartBody7778904465152133454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221084380,"filename":"image_03112025_20_55_06_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/555992b50994a35e3fe42239b17b9be8.jpg","text":"TemporaryFile(/tmp/multipartBody3552302450273552061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221084380,"filename":"image_03112025_20_54_54_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8075ef791a3a55350527bcf5fc892ba.jpg","text":"TemporaryFile(/tmp/multipartBody846527360011373533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221084380,"filename":"image_03112025_20_54_56_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f579d0f65ad7a4ac7f2bded8449ccb3.jpg","text":"TemporaryFile(/tmp/multipartBody2240618969987393992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221084380,"filename":"image_03112025_20_55_08_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fee2e3fb9a12610a186beb24f513e191.jpg","text":"TemporaryFile(/tmp/multipartBody4801904056754307180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221084380,"filename":"image_03112025_20_54_59_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965005","file1":"1401965003","file0":"1401965000","file4":"1401965009","file5":"1401965011","file3":"1401965007"},"map_files_photo_id_array":[{"photo_id":"1401965011","filename":"file5"},{"photo_id":"1401965005","filename":"file2"},{"photo_id":"1401965009","filename":"file4"},{"photo_id":"1401965003","filename":"file1"},{"photo_id":"1401965000","filename":"file0"},{"photo_id":"1401965007","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965007":["hashtag1","hashtag2"]},{"1401965009":["hashtag1","hashtag2"]},{"1401965000":["hashtag1","hashtag2"]},{"1401965003":["hashtag1","hashtag2"]},{"1401965011":["hashtag1","hashtag2"]},{"1401965005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965007, 1401965009, 1401965000, 1401965003, 1401965011, 1401965005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91405177116394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:44:22.867295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_34_9630.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_44_9769.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_55_10774.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_57_05_9652.jpg', '/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_14_9618.jpg', '/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_25_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_34_9630.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_44_9769.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_55_10774.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_57_05_9652.jpg
/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_14_9618.jpg
/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_25_10725.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.49417877197265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:44:32.761554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_11_2505.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_14_3590.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_17_2553.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_21_3659.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_23_2584.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_26_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_11_2505.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_14_3590.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_17_2553.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_21_3659.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_23_2584.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_26_2784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965031","1401965028","1401965033","1401965032","1401965020","1401965023"],"photo_ids_order":["1401965020","1401965023","1401965028","1401965031","1401965032","1401965033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2a3f31045805632975cbe0757f71da04.jpg","text":"TemporaryFile(/tmp/multipartBody3519709824616262013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221134587,"filename":"image_03112025_20_55_21_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6a5e3650dd12b577ce8b13d60b1b45ad.jpg","text":"TemporaryFile(/tmp/multipartBody3951964405525097264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221134587,"filename":"image_03112025_20_55_17_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/54c9765135d2216a412f9907cdad48d8.jpg","text":"TemporaryFile(/tmp/multipartBody7033353897795527415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221134587,"filename":"image_03112025_20_55_26_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d20e8855e75337cadc2c7d473448434.jpg","text":"TemporaryFile(/tmp/multipartBody5238236102960630690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221134587,"filename":"image_03112025_20_55_23_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e2e2e67e40c6ddc8df1764d32d3d8a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4253732926067636434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221134587,"filename":"image_03112025_20_55_11_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ec8946220053a225be5c7001a2b92b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8944785103384740589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221134587,"filename":"image_03112025_20_55_14_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965028","file1":"1401965023","file0":"1401965020","file4":"1401965032","file5":"1401965033","file3":"1401965031"},"map_files_photo_id_array":[{"photo_id":"1401965033","filename":"file5"},{"photo_id":"1401965028","filename":"file2"},{"photo_id":"1401965032","filename":"file4"},{"photo_id":"1401965023","filename":"file1"},{"photo_id":"1401965020","filename":"file0"},{"photo_id":"1401965031","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965031":["hashtag1","hashtag2"]},{"1401965028":["hashtag1","hashtag2"]},{"1401965033":["hashtag1","hashtag2"]},{"1401965032":["hashtag1","hashtag2"]},{"1401965020":["hashtag1","hashtag2"]},{"1401965023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965031, 1401965028, 1401965033, 1401965032, 1401965020, 1401965023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.421021938323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:45:11.786777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_30_3655.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_32_2287.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_35_3379.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_38_2599.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_53_14832.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_54_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_30_3655.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_32_2287.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_35_3379.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_38_2599.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_53_14832.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_54_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965040","1401965034","1401965042","1401965036","1401965035","1401965038"],"photo_ids_order":["1401965034","1401965035","1401965036","1401965038","1401965040","1401965042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c9f0b4b59bb488392bf2de2d06bf49d.jpg","text":"TemporaryFile(/tmp/multipartBody3243494028750937966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221173498,"filename":"image_03112025_20_55_53_14832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/975e120f71349d2d95f5867f6ce4f872.jpg","text":"TemporaryFile(/tmp/multipartBody3041731265825602756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221173498,"filename":"image_03112025_20_55_30_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e38eb213a41139d9561a4e78c7eacee3.jpg","text":"TemporaryFile(/tmp/multipartBody3432835884926222625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221173498,"filename":"image_03112025_20_55_54_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/cbd530b6c2c4a41c4815493a9bb1afc8.jpg","text":"TemporaryFile(/tmp/multipartBody2458267120489770019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221173498,"filename":"image_03112025_20_55_35_3379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3f7e855f7d9d35b9f30c403ab188289b.jpg","text":"TemporaryFile(/tmp/multipartBody8652048616753312776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221173498,"filename":"image_03112025_20_55_32_2287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e23a0f031a0bb699594908547c1c5e81.jpg","text":"TemporaryFile(/tmp/multipartBody183689225637245692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221173498,"filename":"image_03112025_20_55_38_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965036","file1":"1401965035","file0":"1401965034","file4":"1401965040","file5":"1401965042","file3":"1401965038"},"map_files_photo_id_array":[{"photo_id":"1401965042","filename":"file5"},{"photo_id":"1401965036","filename":"file2"},{"photo_id":"1401965040","filename":"file4"},{"photo_id":"1401965035","filename":"file1"},{"photo_id":"1401965034","filename":"file0"},{"photo_id":"1401965038","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965040":["hashtag1","hashtag2"]},{"1401965034":["hashtag1","hashtag2"]},{"1401965042":["hashtag1","hashtag2"]},{"1401965036":["hashtag1","hashtag2"]},{"1401965035":["hashtag1","hashtag2"]},{"1401965038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965040, 1401965034, 1401965042, 1401965036, 1401965035, 1401965038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2319598197937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:46:02.669093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_34_9630.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_44_9769.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_55_10774.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_57_05_9652.jpg', '/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_14_9618.jpg', '/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_25_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_34_9630.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_44_9769.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_55_10774.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_57_05_9652.jpg
/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_14_9618.jpg
/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_25_10725.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5358963012695312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:46:12.131887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_56_1820.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_58_1504.jpg', '/home/pi/Desktop/images/03112025/20/55/image_03112025_20_56_00_1939.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_05_1650.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_06_1644.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_08_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_56_1820.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_55_58_1504.jpg
/home/pi/Desktop/images/03112025/20/55/image_03112025_20_56_00_1939.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_05_1650.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_06_1644.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_08_1697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965052","1401965054","1401965057","1401965059","1401965050","1401965061"],"photo_ids_order":["1401965050","1401965052","1401965054","1401965057","1401965059","1401965061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/215a2a89ee6ed31070580fc5acdc30b5.jpg","text":"TemporaryFile(/tmp/multipartBody6187991562312705763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221233836,"filename":"image_03112025_20_55_58_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d7f836cf71ad05c49785a6f1be5847d6.jpg","text":"TemporaryFile(/tmp/multipartBody2345886445112423567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221233836,"filename":"image_03112025_20_56_00_1939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e99790f364f6963acd38cbdf9427b319.jpg","text":"TemporaryFile(/tmp/multipartBody5255551278836320107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221233836,"filename":"image_03112025_20_56_05_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/90e98f80bd64734d8fe3ea3c2ebe85a2.jpg","text":"TemporaryFile(/tmp/multipartBody8190264078373097281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221233836,"filename":"image_03112025_20_56_06_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d4d406f3ee355b844a336496373110bc.jpg","text":"TemporaryFile(/tmp/multipartBody932248802987046869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221233836,"filename":"image_03112025_20_55_56_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46eb120d0cae461d731ff67e1b872e37.jpg","text":"TemporaryFile(/tmp/multipartBody8227275660164338596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221233836,"filename":"image_03112025_20_56_08_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965054","file1":"1401965052","file0":"1401965050","file4":"1401965059","file5":"1401965061","file3":"1401965057"},"map_files_photo_id_array":[{"photo_id":"1401965061","filename":"file5"},{"photo_id":"1401965054","filename":"file2"},{"photo_id":"1401965059","filename":"file4"},{"photo_id":"1401965052","filename":"file1"},{"photo_id":"1401965050","filename":"file0"},{"photo_id":"1401965057","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965052":["hashtag1","hashtag2"]},{"1401965054":["hashtag1","hashtag2"]},{"1401965057":["hashtag1","hashtag2"]},{"1401965059":["hashtag1","hashtag2"]},{"1401965050":["hashtag1","hashtag2"]},{"1401965061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965052, 1401965054, 1401965057, 1401965059, 1401965050, 1401965061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.768359422683716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:47:03.180679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_34_9630.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_44_9769.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_55_10774.jpg', '/home/pi/Desktop/images/31122025/22/56/image_31122025_22_57_05_9652.jpg', '/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_14_9618.jpg', '/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_25_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_34_9630.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_44_9769.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_56_55_10774.jpg
/home/pi/Desktop/images/31122025/22/56/image_31122025_22_57_05_9652.jpg
/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_14_9618.jpg
/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_25_10725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965067","1401965066","1401965065","1401965068","1401965070","1401965064"],"photo_ids_order":["1401965064","1401965065","1401965066","1401965067","1401965068","1401965070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ab3eb3f63c959752eeeb94b626e10a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3938769869448861950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221283831,"filename":"image_31122025_22_57_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ea01a679c0083604b37cf32c1fe2a536.jpg","text":"TemporaryFile(/tmp/multipartBody5052376050644893189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221283831,"filename":"image_31122025_22_56_55_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4e5f3bad408a329b161f709ca9c2c7f1.jpg","text":"TemporaryFile(/tmp/multipartBody4492643550889659792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221283831,"filename":"image_31122025_22_56_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c86f7b1698129c4e380ed10e7b9aaffc.jpg","text":"TemporaryFile(/tmp/multipartBody7619337023477502001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221283831,"filename":"image_31122025_22_57_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d3e17f224c790d883bc31287d04a552d.jpg","text":"TemporaryFile(/tmp/multipartBody5984510245340399305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221283831,"filename":"image_31122025_22_57_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/846152204cd1849ce8ff84fda070eb9d.jpg","text":"TemporaryFile(/tmp/multipartBody6204668252883311979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221283831,"filename":"image_31122025_22_56_34_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965066","file1":"1401965065","file0":"1401965064","file4":"1401965068","file5":"1401965070","file3":"1401965067"},"map_files_photo_id_array":[{"photo_id":"1401965070","filename":"file5"},{"photo_id":"1401965066","filename":"file2"},{"photo_id":"1401965068","filename":"file4"},{"photo_id":"1401965065","filename":"file1"},{"photo_id":"1401965064","filename":"file0"},{"photo_id":"1401965067","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401965067":["hashtag1","hashtag2"]},{"1401965066":["hashtag1","hashtag2"]},{"1401965065":["hashtag1","hashtag2"]},{"1401965068":["hashtag1","hashtag2"]},{"1401965070":["hashtag1","hashtag2"]},{"1401965064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401965067, 1401965066, 1401965065, 1401965068, 1401965070, 1401965064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2646369934082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:47:42.453159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_12_3520.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_14_2647.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_17_2624.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_21_3601.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_23_2666.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_26_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_12_3520.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_14_2647.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_17_2624.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_21_3601.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_23_2666.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_26_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965081","1401965083","1401965077","1401965080","1401965082","1401965079"],"photo_ids_order":["1401965077","1401965079","1401965080","1401965081","1401965082","1401965083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0cd370c55c2b50ad371eebc68af41997.jpg","text":"TemporaryFile(/tmp/multipartBody1077849550676073139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221324390,"filename":"image_03112025_20_56_21_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/07c96da06cfe35406b8c607f46b76587.jpg","text":"TemporaryFile(/tmp/multipartBody1347347262288052548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221324390,"filename":"image_03112025_20_56_26_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3ebf41ad1b6fefe9157208b1bbb5cef1.jpg","text":"TemporaryFile(/tmp/multipartBody327268718983523615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221324390,"filename":"image_03112025_20_56_12_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/23ec64af7d522680562bb857cdc84dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8997830495261592108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221324390,"filename":"image_03112025_20_56_17_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1f5cd91f7f5d556b9b5a778cd7b3583f.jpg","text":"TemporaryFile(/tmp/multipartBody8469279772932233107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221324390,"filename":"image_03112025_20_56_23_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2b1bfa8dc89bdc2b560a5de3da61efb0.jpg","text":"TemporaryFile(/tmp/multipartBody6573590357496739515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221324390,"filename":"image_03112025_20_56_14_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965080","file1":"1401965079","file0":"1401965077","file4":"1401965082","file5":"1401965083","file3":"1401965081"},"map_files_photo_id_array":[{"photo_id":"1401965083","filename":"file5"},{"photo_id":"1401965080","filename":"file2"},{"photo_id":"1401965082","filename":"file4"},{"photo_id":"1401965079","filename":"file1"},{"photo_id":"1401965077","filename":"file0"},{"photo_id":"1401965081","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965081":["hashtag1","hashtag2"]},{"1401965083":["hashtag1","hashtag2"]},{"1401965077":["hashtag1","hashtag2"]},{"1401965080":["hashtag1","hashtag2"]},{"1401965082":["hashtag1","hashtag2"]},{"1401965079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965081, 1401965083, 1401965077, 1401965080, 1401965082, 1401965079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.276909828186035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:48:22.626647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_44_9792.jpg', '/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_54_9770.jpg', '/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_15_9837.jpg', '/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_24_9701.jpg', '/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_35_10706.jpg', '/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_45_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_44_9792.jpg
/home/pi/Desktop/images/31122025/22/57/image_31122025_22_57_54_9770.jpg
/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_15_9837.jpg
/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_24_9701.jpg
/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_35_10706.jpg
/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_45_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965093","1401965087","1401965095","1401965089","1401965091","1401965085"],"photo_ids_order":["1401965085","1401965087","1401965089","1401965091","1401965093","1401965095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6bae5371e6256f5ffcd8c3852574cfe0.jpg","text":"TemporaryFile(/tmp/multipartBody6341359156450079880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221363230,"filename":"image_31122025_22_58_35_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3a82ecc7a1e9947b618f73ce8a7aa9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4882219507976013193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221363230,"filename":"image_31122025_22_57_54_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70872874211f078f7034104adb1b4f32.jpg","text":"TemporaryFile(/tmp/multipartBody6451424685542531724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221363230,"filename":"image_31122025_22_58_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9058ecfb29d03026b61d03002dbc87fd.jpg","text":"TemporaryFile(/tmp/multipartBody4043304235390152490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221363230,"filename":"image_31122025_22_58_15_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9eddb9bbe64afecd402a3b55549760dd.jpg","text":"TemporaryFile(/tmp/multipartBody3986330481787208694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221363230,"filename":"image_31122025_22_58_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/898d1073cefe01bf773ecd59b336dc20.jpg","text":"TemporaryFile(/tmp/multipartBody5891212975870702424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221363230,"filename":"image_31122025_22_57_44_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965089","file1":"1401965087","file0":"1401965085","file4":"1401965093","file5":"1401965095","file3":"1401965091"},"map_files_photo_id_array":[{"photo_id":"1401965095","filename":"file5"},{"photo_id":"1401965089","filename":"file2"},{"photo_id":"1401965093","filename":"file4"},{"photo_id":"1401965087","filename":"file1"},{"photo_id":"1401965085","filename":"file0"},{"photo_id":"1401965091","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401965093":["hashtag1","hashtag2"]},{"1401965087":["hashtag1","hashtag2"]},{"1401965095":["hashtag1","hashtag2"]},{"1401965089":["hashtag1","hashtag2"]},{"1401965091":["hashtag1","hashtag2"]},{"1401965085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401965093, 1401965087, 1401965095, 1401965089, 1401965091, 1401965085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69492483139038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:49:03.651759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_54_9662.jpg', '/home/pi/Desktop/images/31122025/22/58/image_31122025_22_59_05_10566.jpg', '/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_15_9613.jpg', '/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_24_9727.jpg', '/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_34_9793.jpg', '/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_45_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/58/image_31122025_22_58_54_9662.jpg
/home/pi/Desktop/images/31122025/22/58/image_31122025_22_59_05_10566.jpg
/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_15_9613.jpg
/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_24_9727.jpg
/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_34_9793.jpg
/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_45_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965100","1401965099","1401965105","1401965098","1401965102","1401965097"],"photo_ids_order":["1401965097","1401965098","1401965099","1401965100","1401965102","1401965105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/805bc2e4e57d5613c9492badbf55dc19.jpg","text":"TemporaryFile(/tmp/multipartBody2206341725557084306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221404466,"filename":"image_31122025_22_59_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a519418a7168533e37bf88b98664b65.jpg","text":"TemporaryFile(/tmp/multipartBody3402059847447654269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221404466,"filename":"image_31122025_22_59_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/1393af834ce5f991aeaae98720ef5166.jpg","text":"TemporaryFile(/tmp/multipartBody4459391597531998857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221404466,"filename":"image_31122025_22_59_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9913e6f8f487e51bf93f6765794f6589.jpg","text":"TemporaryFile(/tmp/multipartBody2368999673574815453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221404466,"filename":"image_31122025_22_59_05_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/967a79734ff0ef580a267fd954971792.jpg","text":"TemporaryFile(/tmp/multipartBody6365373131505902347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221404466,"filename":"image_31122025_22_59_34_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e947acc02222fb63a62656915c3fd24d.jpg","text":"TemporaryFile(/tmp/multipartBody5300345704795626856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221404466,"filename":"image_31122025_22_58_54_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965099","file1":"1401965098","file0":"1401965097","file4":"1401965102","file5":"1401965105","file3":"1401965100"},"map_files_photo_id_array":[{"photo_id":"1401965105","filename":"file5"},{"photo_id":"1401965099","filename":"file2"},{"photo_id":"1401965102","filename":"file4"},{"photo_id":"1401965098","filename":"file1"},{"photo_id":"1401965097","filename":"file0"},{"photo_id":"1401965100","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401965100":["hashtag1","hashtag2"]},{"1401965099":["hashtag1","hashtag2"]},{"1401965105":["hashtag1","hashtag2"]},{"1401965098":["hashtag1","hashtag2"]},{"1401965102":["hashtag1","hashtag2"]},{"1401965097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401965100, 1401965099, 1401965105, 1401965098, 1401965102, 1401965097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15341782569885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:49:42.864137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_29_2861.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_32_3660.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_35_2670.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_38_2686.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_42_3758.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_44_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_29_2861.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_32_3660.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_35_2670.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_38_2686.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_42_3758.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_44_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965112","1401965115","1401965111","1401965114","1401965113","1401965110"],"photo_ids_order":["1401965110","1401965111","1401965112","1401965113","1401965114","1401965115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a07787f0e8ffe49c604f4a8ae61b5524.jpg","text":"TemporaryFile(/tmp/multipartBody513283496910877997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221444701,"filename":"image_03112025_20_56_35_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c37cd619c94f0c151a3a7c358ac6c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody3035330580245216070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221444701,"filename":"image_03112025_20_56_44_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/503b28a05a9c9b4327dd8cf78d66d916.jpg","text":"TemporaryFile(/tmp/multipartBody6003755063002520232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221444701,"filename":"image_03112025_20_56_32_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/725c8d744eb9fa835f4db7927424ec6d.jpg","text":"TemporaryFile(/tmp/multipartBody7897347837386775890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221444701,"filename":"image_03112025_20_56_42_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/093a8bc556f8b185ad5b45434555e059.jpg","text":"TemporaryFile(/tmp/multipartBody7099788159280046252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221444701,"filename":"image_03112025_20_56_38_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4d410e6ecd5ec7be70ba03373decf0e0.jpg","text":"TemporaryFile(/tmp/multipartBody3609623671703299202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221444701,"filename":"image_03112025_20_56_29_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965112","file1":"1401965111","file0":"1401965110","file4":"1401965114","file5":"1401965115","file3":"1401965113"},"map_files_photo_id_array":[{"photo_id":"1401965115","filename":"file5"},{"photo_id":"1401965112","filename":"file2"},{"photo_id":"1401965114","filename":"file4"},{"photo_id":"1401965111","filename":"file1"},{"photo_id":"1401965110","filename":"file0"},{"photo_id":"1401965113","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965112":["hashtag1","hashtag2"]},{"1401965115":["hashtag1","hashtag2"]},{"1401965111":["hashtag1","hashtag2"]},{"1401965114":["hashtag1","hashtag2"]},{"1401965113":["hashtag1","hashtag2"]},{"1401965110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965112, 1401965115, 1401965111, 1401965114, 1401965113, 1401965110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88211250305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:50:32.092905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_47_2626.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_51_3767.jpg', '/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_53_2545.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_02_2612.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_06_3550.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_08_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_47_2626.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_51_3767.jpg
/home/pi/Desktop/images/03112025/20/56/image_03112025_20_56_53_2545.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_02_2612.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_06_3550.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_08_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965130","1401965121","1401965123","1401965126","1401965128","1401965119"],"photo_ids_order":["1401965119","1401965121","1401965123","1401965126","1401965128","1401965130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fdab85081a51d742fcbeff20b8506c21.jpg","text":"TemporaryFile(/tmp/multipartBody4788682487022069650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221493977,"filename":"image_03112025_20_57_08_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/46a4a52cd88e4eb82fdd2f3f884e970c.jpg","text":"TemporaryFile(/tmp/multipartBody8017103226608176567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221493977,"filename":"image_03112025_20_56_51_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41f8c4832ba04a13442067d91282b9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7129458628874231211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221493977,"filename":"image_03112025_20_56_53_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/2d2a927c7099cb7cc4623cd929a82771.jpg","text":"TemporaryFile(/tmp/multipartBody2751987647602871769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221493977,"filename":"image_03112025_20_57_02_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8f1bb543a6f47cefaba056fdcec1fcad.jpg","text":"TemporaryFile(/tmp/multipartBody6194736501110802784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221493977,"filename":"image_03112025_20_57_06_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0e9b38ae62071f8991cb7dadebc32214.jpg","text":"TemporaryFile(/tmp/multipartBody490739211834838639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221493977,"filename":"image_03112025_20_56_47_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965123","file1":"1401965121","file0":"1401965119","file4":"1401965128","file5":"1401965130","file3":"1401965126"},"map_files_photo_id_array":[{"photo_id":"1401965130","filename":"file5"},{"photo_id":"1401965123","filename":"file2"},{"photo_id":"1401965128","filename":"file4"},{"photo_id":"1401965121","filename":"file1"},{"photo_id":"1401965119","filename":"file0"},{"photo_id":"1401965126","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965130":["hashtag1","hashtag2"]},{"1401965121":["hashtag1","hashtag2"]},{"1401965123":["hashtag1","hashtag2"]},{"1401965126":["hashtag1","hashtag2"]},{"1401965128":["hashtag1","hashtag2"]},{"1401965119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965130, 1401965121, 1401965123, 1401965126, 1401965128, 1401965119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67013692855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:51:12.134980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_11_2782.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_14_2815.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_17_2817.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_20_3632.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_23_2772.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_26_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_11_2782.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_14_2815.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_17_2817.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_20_3632.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_23_2772.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_26_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965145","1401965141","1401965135","1401965138","1401965143","1401965137"],"photo_ids_order":["1401965135","1401965137","1401965138","1401965141","1401965143","1401965145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f5d71591f32307b82c19375143771e72.jpg","text":"TemporaryFile(/tmp/multipartBody5968263301324200155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221533875,"filename":"image_03112025_20_57_26_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c82ad4415cf68d66c20a33740ca6a91c.jpg","text":"TemporaryFile(/tmp/multipartBody1981412095360552515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221533875,"filename":"image_03112025_20_57_20_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a7dab527efb0f2daa3eb2232299eed26.jpg","text":"TemporaryFile(/tmp/multipartBody4490382802839645270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221533875,"filename":"image_03112025_20_57_11_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b9d48ea77edbb9596c4419e651b6e0d8.jpg","text":"TemporaryFile(/tmp/multipartBody9000255108670786478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221533875,"filename":"image_03112025_20_57_17_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e5cf7eb03dd76285a9c066c8f3bf5586.jpg","text":"TemporaryFile(/tmp/multipartBody9150872481520104778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221533875,"filename":"image_03112025_20_57_23_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3da75adf5c1e0db32ac2317c29f009fa.jpg","text":"TemporaryFile(/tmp/multipartBody4540051024980587656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221533875,"filename":"image_03112025_20_57_14_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965138","file1":"1401965137","file0":"1401965135","file4":"1401965143","file5":"1401965145","file3":"1401965141"},"map_files_photo_id_array":[{"photo_id":"1401965145","filename":"file5"},{"photo_id":"1401965138","filename":"file2"},{"photo_id":"1401965143","filename":"file4"},{"photo_id":"1401965137","filename":"file1"},{"photo_id":"1401965135","filename":"file0"},{"photo_id":"1401965141","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965145":["hashtag1","hashtag2"]},{"1401965141":["hashtag1","hashtag2"]},{"1401965135":["hashtag1","hashtag2"]},{"1401965138":["hashtag1","hashtag2"]},{"1401965143":["hashtag1","hashtag2"]},{"1401965137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965145, 1401965141, 1401965135, 1401965138, 1401965143, 1401965137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98120903968811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:52:02.940096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_55_9733.jpg', '/home/pi/Desktop/images/31122025/22/59/image_31122025_23_00_04_9595.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_15_10630.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_25_9769.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_34_9658.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_45_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_55_9733.jpg
/home/pi/Desktop/images/31122025/22/59/image_31122025_23_00_04_9595.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_15_10630.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_25_9769.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_34_9658.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_45_10634.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5188570022583008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:52:12.374477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_29_3673.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_32_2818.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_38_2660.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_41_2649.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_44_3724.jpg', '/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_47_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_29_3673.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_32_2818.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_38_2660.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_41_2649.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_44_3724.jpg
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_47_2894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965151","1401965153","1401965162","1401965156","1401965158","1401965160"],"photo_ids_order":["1401965151","1401965153","1401965156","1401965158","1401965160","1401965162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d9bdfff54e6755120be3fb3eeac65752.jpg","text":"TemporaryFile(/tmp/multipartBody3362255879278255531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221594073,"filename":"image_03112025_20_57_29_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9c7d03bceba9408bcb3f87d1e7ac908.jpg","text":"TemporaryFile(/tmp/multipartBody2553767396752328415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221594073,"filename":"image_03112025_20_57_32_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/199e4484f981ff70076ca4a6fee37bb1.jpg","text":"TemporaryFile(/tmp/multipartBody2097387984384231267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221594073,"filename":"image_03112025_20_57_47_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c9e605d824e543eb68459ba95e8953cd.jpg","text":"TemporaryFile(/tmp/multipartBody4779588222102158106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221594073,"filename":"image_03112025_20_57_38_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/264fc7ab41ce29da2c8cb1801d087365.jpg","text":"TemporaryFile(/tmp/multipartBody1488997509303734110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221594073,"filename":"image_03112025_20_57_41_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/6de01cdedabbc961b56fa88d18ec8ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1838108170474138204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221594073,"filename":"image_03112025_20_57_44_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965156","file1":"1401965153","file0":"1401965151","file4":"1401965160","file5":"1401965162","file3":"1401965158"},"map_files_photo_id_array":[{"photo_id":"1401965162","filename":"file5"},{"photo_id":"1401965156","filename":"file2"},{"photo_id":"1401965160","filename":"file4"},{"photo_id":"1401965153","filename":"file1"},{"photo_id":"1401965151","filename":"file0"},{"photo_id":"1401965158","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965151":["hashtag1","hashtag2"]},{"1401965153":["hashtag1","hashtag2"]},{"1401965162":["hashtag1","hashtag2"]},{"1401965156":["hashtag1","hashtag2"]},{"1401965158":["hashtag1","hashtag2"]},{"1401965160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965151, 1401965153, 1401965162, 1401965156, 1401965158, 1401965160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.032007455825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:53:03.184007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_55_9733.jpg', '/home/pi/Desktop/images/31122025/22/59/image_31122025_23_00_04_9595.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_15_10630.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_25_9769.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_34_9658.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_45_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/22/59/image_31122025_22_59_55_9733.jpg
/home/pi/Desktop/images/31122025/22/59/image_31122025_23_00_04_9595.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_15_10630.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_25_9769.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_34_9658.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_45_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965166","1401965171","1401965165","1401965168","1401965167","1401965169"],"photo_ids_order":["1401965165","1401965166","1401965167","1401965168","1401965169","1401965171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c95d28e4c15c43ce4a3d8d04883416f5.jpg","text":"TemporaryFile(/tmp/multipartBody3133280581567456592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221643829,"filename":"image_31122025_23_00_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4457b3d0587d8d8e916381d703a136c6.jpg","text":"TemporaryFile(/tmp/multipartBody178347516980475574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221643829,"filename":"image_31122025_23_00_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/47f6af930c3b53a942013aa2d3f75b58.jpg","text":"TemporaryFile(/tmp/multipartBody4356021010140611356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221643829,"filename":"image_31122025_22_59_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5caea53d6d41ec6e4c28cef03826dd76.jpg","text":"TemporaryFile(/tmp/multipartBody7451583733189784510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221643829,"filename":"image_31122025_23_00_25_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8a7d397fe9e600044ef09bd0334963c8.jpg","text":"TemporaryFile(/tmp/multipartBody2780631809015733045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221643829,"filename":"image_31122025_23_00_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7fceefd028b4a44ec4a4f92da5583750.jpg","text":"TemporaryFile(/tmp/multipartBody8304649064708332050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221643829,"filename":"image_31122025_23_00_34_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965167","file1":"1401965166","file0":"1401965165","file4":"1401965169","file5":"1401965171","file3":"1401965168"},"map_files_photo_id_array":[{"photo_id":"1401965171","filename":"file5"},{"photo_id":"1401965167","filename":"file2"},{"photo_id":"1401965169","filename":"file4"},{"photo_id":"1401965166","filename":"file1"},{"photo_id":"1401965165","filename":"file0"},{"photo_id":"1401965168","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401965166":["hashtag1","hashtag2"]},{"1401965171":["hashtag1","hashtag2"]},{"1401965165":["hashtag1","hashtag2"]},{"1401965168":["hashtag1","hashtag2"]},{"1401965167":["hashtag1","hashtag2"]},{"1401965169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401965166, 1401965171, 1401965165, 1401965168, 1401965167, 1401965169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59936833381653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:53:42.532089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_59_2632.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_03_3697.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_08_2563.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_11_3674.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_17_2549.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_20_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/57/image_03112025_20_57_59_2632.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_03_3697.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_08_2563.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_11_3674.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_17_2549.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_20_3695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965183","1401965182","1401965185","1401965181","1401965184","1401965178"],"photo_ids_order":["1401965178","1401965181","1401965182","1401965183","1401965184","1401965185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9eeb0d03b888b8d22a4e7185f821d3e6.jpg","text":"TemporaryFile(/tmp/multipartBody6708205616090397644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221684364,"filename":"image_03112025_20_58_11_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/301337247fae59f0f2061043b3b97abe.jpg","text":"TemporaryFile(/tmp/multipartBody5063017063246027037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221684364,"filename":"image_03112025_20_58_08_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/58d8c74780ad267eaba91979d65103d6.jpg","text":"TemporaryFile(/tmp/multipartBody3066530062838718293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221684364,"filename":"image_03112025_20_58_20_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/fa60689e18e353e535daf35e3fcd0e0f.jpg","text":"TemporaryFile(/tmp/multipartBody599691007815110450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221684364,"filename":"image_03112025_20_58_03_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/3dfc2c57af3cd8c5dc5e89415a864b27.jpg","text":"TemporaryFile(/tmp/multipartBody4417049418404160020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221684364,"filename":"image_03112025_20_58_17_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f1c9067ee459a0c7397ca806cc0852a7.jpg","text":"TemporaryFile(/tmp/multipartBody1657050332591124229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221684364,"filename":"image_03112025_20_57_59_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965182","file1":"1401965181","file0":"1401965178","file4":"1401965184","file5":"1401965185","file3":"1401965183"},"map_files_photo_id_array":[{"photo_id":"1401965185","filename":"file5"},{"photo_id":"1401965182","filename":"file2"},{"photo_id":"1401965184","filename":"file4"},{"photo_id":"1401965181","filename":"file1"},{"photo_id":"1401965178","filename":"file0"},{"photo_id":"1401965183","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965183":["hashtag1","hashtag2"]},{"1401965182":["hashtag1","hashtag2"]},{"1401965185":["hashtag1","hashtag2"]},{"1401965181":["hashtag1","hashtag2"]},{"1401965184":["hashtag1","hashtag2"]},{"1401965178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965183, 1401965182, 1401965185, 1401965181, 1401965184, 1401965178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07953190803528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:54:22.737277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_54_9601.jpg', '/home/pi/Desktop/images/31122025/23/00/image_31122025_23_01_04_9891.jpg', '/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_15_10703.jpg', '/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_25_9830.jpg', '/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_35_9705.jpg', '/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_44_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_00_54_9601.jpg
/home/pi/Desktop/images/31122025/23/00/image_31122025_23_01_04_9891.jpg
/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_15_10703.jpg
/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_25_9830.jpg
/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_35_9705.jpg
/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_44_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965195","1401965189","1401965197","1401965191","1401965193","1401965187"],"photo_ids_order":["1401965187","1401965189","1401965191","1401965193","1401965195","1401965197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/5ad1b5a0828cca13901c44c6208be150.jpg","text":"TemporaryFile(/tmp/multipartBody9023074412466198194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221723377,"filename":"image_31122025_23_01_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4bd2db1b836676f086b7ce49c1e89fe4.jpg","text":"TemporaryFile(/tmp/multipartBody1138355486948439920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221723377,"filename":"image_31122025_23_01_04_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/9c9738430180b52a57fe23a221d2059a.jpg","text":"TemporaryFile(/tmp/multipartBody7531567057835096855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221723377,"filename":"image_31122025_23_01_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/e52cde4a95463cb9fd4fa483f73bc542.jpg","text":"TemporaryFile(/tmp/multipartBody9083160791295172033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221723377,"filename":"image_31122025_23_01_15_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/41464dc2cd973db20008a5853b5a56d9.jpg","text":"TemporaryFile(/tmp/multipartBody2303709743614976745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221723377,"filename":"image_31122025_23_01_25_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/268dc72fe1f7ca81f631e0a571c0dc65.jpg","text":"TemporaryFile(/tmp/multipartBody3150448440426698940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221723377,"filename":"image_31122025_23_00_54_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965191","file1":"1401965189","file0":"1401965187","file4":"1401965195","file5":"1401965197","file3":"1401965193"},"map_files_photo_id_array":[{"photo_id":"1401965197","filename":"file5"},{"photo_id":"1401965191","filename":"file2"},{"photo_id":"1401965195","filename":"file4"},{"photo_id":"1401965189","filename":"file1"},{"photo_id":"1401965187","filename":"file0"},{"photo_id":"1401965193","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401965195":["hashtag1","hashtag2"]},{"1401965189":["hashtag1","hashtag2"]},{"1401965197":["hashtag1","hashtag2"]},{"1401965191":["hashtag1","hashtag2"]},{"1401965193":["hashtag1","hashtag2"]},{"1401965187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401965195, 1401965189, 1401965197, 1401965191, 1401965193, 1401965187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.974952697753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:55:02.602285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_55_10533.jpg', '/home/pi/Desktop/images/31122025/23/01/image_31122025_23_02_04_9591.jpg', '/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_14_9723.jpg', '/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_25_10802.jpg', '/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_35_9630.jpg', '/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_44_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/23/01/image_31122025_23_01_55_10533.jpg
/home/pi/Desktop/images/31122025/23/01/image_31122025_23_02_04_9591.jpg
/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_14_9723.jpg
/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_25_10802.jpg
/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_35_9630.jpg
/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_44_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965202","1401965201","1401965204","1401965200","1401965203","1401965206"],"photo_ids_order":["1401965200","1401965201","1401965202","1401965203","1401965204","1401965206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/df7f66e2cc6908b67d329b6ac1a0945d.jpg","text":"TemporaryFile(/tmp/multipartBody562105212065797743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221763262,"filename":"image_31122025_23_02_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8a7235b901ebaa6c4438ed1cf5d7c12.jpg","text":"TemporaryFile(/tmp/multipartBody7881077041237453064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221763262,"filename":"image_31122025_23_02_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/b1a3072ca3247abdef54fb1dc48ec053.jpg","text":"TemporaryFile(/tmp/multipartBody5757893339083499365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221763262,"filename":"image_31122025_23_02_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/251490163dd8d6712fdfd6be26ecdc15.jpg","text":"TemporaryFile(/tmp/multipartBody7357560029806041590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221763262,"filename":"image_31122025_23_01_55_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/0b0fa4fec37f983c3457e006f6113889.jpg","text":"TemporaryFile(/tmp/multipartBody5337717261625262695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221763262,"filename":"image_31122025_23_02_25_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/ee742c5cfbd6d291b391f38ac2ef1dfc.jpg","text":"TemporaryFile(/tmp/multipartBody6102119310043823490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221763262,"filename":"image_31122025_23_02_44_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965202","file1":"1401965201","file0":"1401965200","file4":"1401965204","file5":"1401965206","file3":"1401965203"},"map_files_photo_id_array":[{"photo_id":"1401965206","filename":"file5"},{"photo_id":"1401965202","filename":"file2"},{"photo_id":"1401965204","filename":"file4"},{"photo_id":"1401965201","filename":"file1"},{"photo_id":"1401965200","filename":"file0"},{"photo_id":"1401965203","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401965202":["hashtag1","hashtag2"]},{"1401965201":["hashtag1","hashtag2"]},{"1401965204":["hashtag1","hashtag2"]},{"1401965200":["hashtag1","hashtag2"]},{"1401965203":["hashtag1","hashtag2"]},{"1401965206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401965202, 1401965201, 1401965204, 1401965200, 1401965203, 1401965206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26230764389038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:55:41.989820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_23_2816.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_26_2764.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_29_2793.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_32_3595.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_41_3800.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_44_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_23_2816.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_26_2764.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_29_2793.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_32_3595.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_41_3800.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_44_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965217","1401965211","1401965214","1401965216","1401965213","1401965215"],"photo_ids_order":["1401965211","1401965213","1401965214","1401965215","1401965216","1401965217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a8f1f2e049a8f972ead36c635469f0a1.jpg","text":"TemporaryFile(/tmp/multipartBody6664097571065330642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221803868,"filename":"image_03112025_20_58_44_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/4fde0bc9e9cfc71f17e3d4fa3e3f1acb.jpg","text":"TemporaryFile(/tmp/multipartBody3161670230996070791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221803868,"filename":"image_03112025_20_58_23_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/588a5f33fed49274236381ed530a2c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4502825358737267239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221803868,"filename":"image_03112025_20_58_29_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/70abbbfb33c47ffcb4687370005eb7c6.jpg","text":"TemporaryFile(/tmp/multipartBody2215151930215803863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221803868,"filename":"image_03112025_20_58_41_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/64d8365622bd4571155e72845152e973.jpg","text":"TemporaryFile(/tmp/multipartBody4163963342658588783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221803868,"filename":"image_03112025_20_58_26_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/c144ed8253a84d12180cc7f75ade1828.jpg","text":"TemporaryFile(/tmp/multipartBody3574249659773435693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221803868,"filename":"image_03112025_20_58_32_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965214","file1":"1401965213","file0":"1401965211","file4":"1401965216","file5":"1401965217","file3":"1401965215"},"map_files_photo_id_array":[{"photo_id":"1401965217","filename":"file5"},{"photo_id":"1401965214","filename":"file2"},{"photo_id":"1401965216","filename":"file4"},{"photo_id":"1401965213","filename":"file1"},{"photo_id":"1401965211","filename":"file0"},{"photo_id":"1401965215","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965217":["hashtag1","hashtag2"]},{"1401965211":["hashtag1","hashtag2"]},{"1401965214":["hashtag1","hashtag2"]},{"1401965216":["hashtag1","hashtag2"]},{"1401965213":["hashtag1","hashtag2"]},{"1401965215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965217, 1401965211, 1401965214, 1401965216, 1401965213, 1401965215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.518657207489014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2025-12-31 23:56:22.185760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_54_9795.jpg', '/home/pi/Desktop/images/31122025/23/02/image_31122025_23_03_05_10572.jpg', '/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_14_9692.jpg', '/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_24_9839.jpg', '/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_35_10578.jpg', '/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_45_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/23/02/image_31122025_23_02_54_9795.jpg
/home/pi/Desktop/images/31122025/23/02/image_31122025_23_03_05_10572.jpg
/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_14_9692.jpg
/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_24_9839.jpg
/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_35_10578.jpg
/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_45_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965223","1401965225","1401965219","1401965230","1401965221","1401965218"],"photo_ids_order":["1401965218","1401965219","1401965221","1401965223","1401965225","1401965230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/65edf2daca361383e24726bd544ca567.jpg","text":"TemporaryFile(/tmp/multipartBody8441356915382536501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221842817,"filename":"image_31122025_23_03_24_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/8e4152a68a70bb5cca9e18269e20d61b.jpg","text":"TemporaryFile(/tmp/multipartBody5571062989772038210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221842817,"filename":"image_31122025_23_03_35_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96c139f6f68e6ee6ba58fccde316b098.jpg","text":"TemporaryFile(/tmp/multipartBody6697020065023504090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221842817,"filename":"image_31122025_23_03_05_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/d18a4a10ddd300200bb980598e7b250f.jpg","text":"TemporaryFile(/tmp/multipartBody6488958964546160214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221842817,"filename":"image_31122025_23_03_45_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/328621ea102aa0ee2692d06a4fe51cd6.jpg","text":"TemporaryFile(/tmp/multipartBody6868115159351699166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221842817,"filename":"image_31122025_23_03_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/68021010422e9027b9ace5ad2b79c9d3.jpg","text":"TemporaryFile(/tmp/multipartBody7468119893014255356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221842817,"filename":"image_31122025_23_02_54_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965221","file1":"1401965219","file0":"1401965218","file4":"1401965225","file5":"1401965230","file3":"1401965223"},"map_files_photo_id_array":[{"photo_id":"1401965230","filename":"file5"},{"photo_id":"1401965221","filename":"file2"},{"photo_id":"1401965225","filename":"file4"},{"photo_id":"1401965219","filename":"file1"},{"photo_id":"1401965218","filename":"file0"},{"photo_id":"1401965223","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401965223":["hashtag1","hashtag2"]},{"1401965225":["hashtag1","hashtag2"]},{"1401965219":["hashtag1","hashtag2"]},{"1401965230":["hashtag1","hashtag2"]},{"1401965221":["hashtag1","hashtag2"]},{"1401965218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401965223, 1401965225, 1401965219, 1401965230, 1401965221, 1401965218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.379695653915405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-31 23:57:02.923918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
  port_id : 29831294
  datou_current_id : 4291930
in upload_from_sqlite, uploading in 29831294
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_54_9689.jpg', '/home/pi/Desktop/images/31122025/23/03/image_31122025_23_04_05_10533.jpg', '/home/pi/Desktop/images/31122025/23/04/image_31122025_23_04_14_9561.jpg', '/home/pi/Desktop/images/31122025/23/04/image_31122025_23_04_24_9650.jpg', '/home/pi/Desktop/images/31122025/23/04/image_31122025_23_04_35_10693.jpg', '/home/pi/Desktop/images/31122025/23/04/image_31122025_23_04_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4291930&datou=0
/home/pi/Desktop/images/31122025/23/03/image_31122025_23_03_54_9689.jpg
/home/pi/Desktop/images/31122025/23/03/image_31122025_23_04_05_10533.jpg
/home/pi/Desktop/images/31122025/23/04/image_31122025_23_04_14_9561.jpg
/home/pi/Desktop/images/31122025/23/04/image_31122025_23_04_24_9650.jpg
/home/pi/Desktop/images/31122025/23/04/image_31122025_23_04_35_10693.jpg
/home/pi/Desktop/images/31122025/23/04/image_31122025_23_04_44_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965247","1401965243","1401965245","1401965239","1401965241","1401965235"],"photo_ids_order":["1401965235","1401965239","1401965241","1401965243","1401965245","1401965247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/a387af400a87684523dceec1e23bbd20.jpg","text":"TemporaryFile(/tmp/multipartBody8743035168215414719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221883589,"filename":"image_31122025_23_04_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/7a05824d87095c3dcb517a7dcbba49b1.jpg","text":"TemporaryFile(/tmp/multipartBody2397207007315881243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221883589,"filename":"image_31122025_23_04_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/473181a5c07d95771b3788acf38ba041.jpg","text":"TemporaryFile(/tmp/multipartBody8886004876413493450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221883589,"filename":"image_31122025_23_04_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/f15ec64c8eb52961ea3b8c2423eac1c5.jpg","text":"TemporaryFile(/tmp/multipartBody4379822839550654974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221883589,"filename":"image_31122025_23_04_05_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/96d125ebb65fc199e20c5afb787289ac.jpg","text":"TemporaryFile(/tmp/multipartBody2622604819004623632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221883589,"filename":"image_31122025_23_04_14_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/31/bfb3d9e425465b77ca7487a3f3d68da7.jpg","text":"TemporaryFile(/tmp/multipartBody6716431300931929485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767221883589,"filename":"image_31122025_23_03_54_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965241","file1":"1401965239","file0":"1401965235","file4":"1401965245","file5":"1401965247","file3":"1401965243"},"map_files_photo_id_array":[{"photo_id":"1401965247","filename":"file5"},{"photo_id":"1401965241","filename":"file2"},{"photo_id":"1401965245","filename":"file4"},{"photo_id":"1401965239","filename":"file1"},{"photo_id":"1401965235","filename":"file0"},{"photo_id":"1401965243","filename":"file3"}],"portfolio_id":29831294,"hashtag_by_photo_ids":[{"1401965247":["hashtag1","hashtag2"]},{"1401965243":["hashtag1","hashtag2"]},{"1401965245":["hashtag1","hashtag2"]},{"1401965239":["hashtag1","hashtag2"]},{"1401965241":["hashtag1","hashtag2"]},{"1401965235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29831294 used, photo_id : ArrayBuffer(1401965247, 1401965243, 1401965245, 1401965239, 1401965241, 1401965235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11228632926941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2025-12-31 23:57:42.453138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251022 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_47_2539.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_50_3661.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_53_2586.jpg', '/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_56_3664.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_05_3787.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_08_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_47_2539.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_50_3661.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_53_2586.jpg
/home/pi/Desktop/images/03112025/20/58/image_03112025_20_58_56_3664.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_05_3787.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_08_2723.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 1.742208480834961 secondes ---
